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
689 ENABLE_EXPENSIVE_CHECKS
705 LLVM_ENUM_ASM_PRINTERS
706 LLVM_ENUM_ASM_PARSERS
707 LLVM_ENUM_DISASSEMBLERS
755 HAVE_LINK_VERSION_SCRIPT
758 CONVENIENCE_LTDL_TRUE
759 CONVENIENCE_LTDL_FALSE
762 NO_MISSING_FIELD_INITIALIZERS
763 COVERED_SWITCH_DEFAULT
784 ENABLE_VISIBILITY_INLINES_HIDDEN
790 ac_precious_vars='build_alias
801 ac_subdirs_all='tools/polly'
803 # Initialize some variables set by options.
805 ac_init_version=false
806 # The variables have the same names as the options, with
807 # dashes changed to underlines.
815 program_transform_name=s,x,x,
823 # Installation directory options.
824 # These are left unexpanded so users can "make install exec_prefix=/foo"
825 # and all the variables that are supposed to be based on exec_prefix
826 # by default will actually change.
827 # Use braces instead of parens because sh, perl, etc. also accept them.
828 # (The list follows the same order as the GNU Coding Standards.)
829 bindir='${exec_prefix}/bin'
830 sbindir='${exec_prefix}/sbin'
831 libexecdir='${exec_prefix}/libexec'
832 datarootdir='${prefix}/share'
833 datadir='${datarootdir}'
834 sysconfdir='${prefix}/etc'
835 sharedstatedir='${prefix}/com'
836 localstatedir='${prefix}/var'
837 includedir='${prefix}/include'
838 oldincludedir='/usr/include'
839 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
840 infodir='${datarootdir}/info'
845 libdir='${exec_prefix}/lib'
846 localedir='${datarootdir}/locale'
847 mandir='${datarootdir}/man'
853 # If the previous option needs an argument, assign it.
854 if test -n "$ac_prev"; then
855 eval $ac_prev=\$ac_option
861 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
865 # Accept the important Cygnus configure options, so we can diagnose typos.
867 case $ac_dashdash$ac_option in
871 -bindir | --bindir | --bindi | --bind | --bin | --bi)
873 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
876 -build | --build | --buil | --bui | --bu)
877 ac_prev=build_alias ;;
878 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
879 build_alias=$ac_optarg ;;
881 -cache-file | --cache-file | --cache-fil | --cache-fi \
882 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
883 ac_prev=cache_file ;;
884 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
885 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
886 cache_file=$ac_optarg ;;
889 cache_file=config.cache ;;
891 -datadir | --datadir | --datadi | --datad)
893 -datadir=* | --datadir=* | --datadi=* | --datad=*)
894 datadir=$ac_optarg ;;
896 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
897 | --dataroo | --dataro | --datar)
898 ac_prev=datarootdir ;;
899 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
900 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
901 datarootdir=$ac_optarg ;;
903 -disable-* | --disable-*)
904 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
905 # Reject names that are not valid shell variable names.
906 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
907 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
908 { (exit 1); exit 1; }; }
909 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
910 eval enable_$ac_feature=no ;;
912 -docdir | --docdir | --docdi | --doc | --do)
914 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
917 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
919 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
922 -enable-* | --enable-*)
923 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
924 # Reject names that are not valid shell variable names.
925 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
926 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
927 { (exit 1); exit 1; }; }
928 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
929 eval enable_$ac_feature=\$ac_optarg ;;
931 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
932 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
933 | --exec | --exe | --ex)
934 ac_prev=exec_prefix ;;
935 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
936 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
937 | --exec=* | --exe=* | --ex=*)
938 exec_prefix=$ac_optarg ;;
940 -gas | --gas | --ga | --g)
941 # Obsolete; use --with-gas.
944 -help | --help | --hel | --he | -h)
946 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
947 ac_init_help=recursive ;;
948 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
949 ac_init_help=short ;;
951 -host | --host | --hos | --ho)
952 ac_prev=host_alias ;;
953 -host=* | --host=* | --hos=* | --ho=*)
954 host_alias=$ac_optarg ;;
956 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
958 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
960 htmldir=$ac_optarg ;;
962 -includedir | --includedir | --includedi | --included | --include \
963 | --includ | --inclu | --incl | --inc)
964 ac_prev=includedir ;;
965 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
966 | --includ=* | --inclu=* | --incl=* | --inc=*)
967 includedir=$ac_optarg ;;
969 -infodir | --infodir | --infodi | --infod | --info | --inf)
971 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
972 infodir=$ac_optarg ;;
974 -libdir | --libdir | --libdi | --libd)
976 -libdir=* | --libdir=* | --libdi=* | --libd=*)
979 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
980 | --libexe | --libex | --libe)
981 ac_prev=libexecdir ;;
982 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
983 | --libexe=* | --libex=* | --libe=*)
984 libexecdir=$ac_optarg ;;
986 -localedir | --localedir | --localedi | --localed | --locale)
988 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
989 localedir=$ac_optarg ;;
991 -localstatedir | --localstatedir | --localstatedi | --localstated \
992 | --localstate | --localstat | --localsta | --localst | --locals)
993 ac_prev=localstatedir ;;
994 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
995 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
996 localstatedir=$ac_optarg ;;
998 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1000 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1001 mandir=$ac_optarg ;;
1003 -nfp | --nfp | --nf)
1004 # Obsolete; use --without-fp.
1007 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1008 | --no-cr | --no-c | -n)
1011 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1012 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1015 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1016 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1017 | --oldin | --oldi | --old | --ol | --o)
1018 ac_prev=oldincludedir ;;
1019 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1020 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1021 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1022 oldincludedir=$ac_optarg ;;
1024 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1026 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1027 prefix=$ac_optarg ;;
1029 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1030 | --program-pre | --program-pr | --program-p)
1031 ac_prev=program_prefix ;;
1032 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1033 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1034 program_prefix=$ac_optarg ;;
1036 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1037 | --program-suf | --program-su | --program-s)
1038 ac_prev=program_suffix ;;
1039 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1040 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1041 program_suffix=$ac_optarg ;;
1043 -program-transform-name | --program-transform-name \
1044 | --program-transform-nam | --program-transform-na \
1045 | --program-transform-n | --program-transform- \
1046 | --program-transform | --program-transfor \
1047 | --program-transfo | --program-transf \
1048 | --program-trans | --program-tran \
1049 | --progr-tra | --program-tr | --program-t)
1050 ac_prev=program_transform_name ;;
1051 -program-transform-name=* | --program-transform-name=* \
1052 | --program-transform-nam=* | --program-transform-na=* \
1053 | --program-transform-n=* | --program-transform-=* \
1054 | --program-transform=* | --program-transfor=* \
1055 | --program-transfo=* | --program-transf=* \
1056 | --program-trans=* | --program-tran=* \
1057 | --progr-tra=* | --program-tr=* | --program-t=*)
1058 program_transform_name=$ac_optarg ;;
1060 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1062 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1063 pdfdir=$ac_optarg ;;
1065 -psdir | --psdir | --psdi | --psd | --ps)
1067 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1070 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1071 | -silent | --silent | --silen | --sile | --sil)
1074 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1076 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1078 sbindir=$ac_optarg ;;
1080 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1081 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1082 | --sharedst | --shareds | --shared | --share | --shar \
1084 ac_prev=sharedstatedir ;;
1085 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1086 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1087 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1089 sharedstatedir=$ac_optarg ;;
1091 -site | --site | --sit)
1093 -site=* | --site=* | --sit=*)
1096 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1098 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1099 srcdir=$ac_optarg ;;
1101 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1102 | --syscon | --sysco | --sysc | --sys | --sy)
1103 ac_prev=sysconfdir ;;
1104 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1105 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1106 sysconfdir=$ac_optarg ;;
1108 -target | --target | --targe | --targ | --tar | --ta | --t)
1109 ac_prev=target_alias ;;
1110 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1111 target_alias=$ac_optarg ;;
1113 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1116 -version | --version | --versio | --versi | --vers | -V)
1117 ac_init_version=: ;;
1120 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1121 # Reject names that are not valid shell variable names.
1122 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1123 { echo "$as_me: error: invalid package name: $ac_package" >&2
1124 { (exit 1); exit 1; }; }
1125 ac_package=`echo $ac_package| sed 's/-/_/g'`
1126 eval with_$ac_package=\$ac_optarg ;;
1128 -without-* | --without-*)
1129 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1130 # Reject names that are not valid shell variable names.
1131 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1132 { echo "$as_me: error: invalid package name: $ac_package" >&2
1133 { (exit 1); exit 1; }; }
1134 ac_package=`echo $ac_package | sed 's/-/_/g'`
1135 eval with_$ac_package=no ;;
1138 # Obsolete; use --with-x.
1141 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1142 | --x-incl | --x-inc | --x-in | --x-i)
1143 ac_prev=x_includes ;;
1144 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1145 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1146 x_includes=$ac_optarg ;;
1148 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1149 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1150 ac_prev=x_libraries ;;
1151 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1152 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1153 x_libraries=$ac_optarg ;;
1155 -*) { echo "$as_me: error: unrecognized option: $ac_option
1156 Try \`$0 --help' for more information." >&2
1157 { (exit 1); exit 1; }; }
1161 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1162 # Reject names that are not valid shell variable names.
1163 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1164 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1165 { (exit 1); exit 1; }; }
1166 eval $ac_envvar=\$ac_optarg
1167 export $ac_envvar ;;
1170 # FIXME: should be removed in autoconf 3.0.
1171 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1172 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1173 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1174 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1180 if test -n "$ac_prev"; then
1181 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1182 { echo "$as_me: error: missing argument to $ac_option" >&2
1183 { (exit 1); exit 1; }; }
1186 # Be sure to have absolute directory names.
1187 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1188 datadir sysconfdir sharedstatedir localstatedir includedir \
1189 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1190 libdir localedir mandir
1192 eval ac_val=\$$ac_var
1194 [\\/$]* | ?:[\\/]* ) continue;;
1195 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1197 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1198 { (exit 1); exit 1; }; }
1201 # There might be people who depend on the old broken behavior: `$host'
1202 # used to hold the argument of --host etc.
1203 # FIXME: To remove some day.
1206 target=$target_alias
1208 # FIXME: To remove some day.
1209 if test "x$host_alias" != x; then
1210 if test "x$build_alias" = x; then
1211 cross_compiling=maybe
1212 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1213 If a cross compiler is detected then cross compile mode will be used." >&2
1214 elif test "x$build_alias" != "x$host_alias"; then
1220 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1222 test "$silent" = yes && exec 6>/dev/null
1225 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1226 ac_ls_di=`ls -di .` &&
1227 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1228 { echo "$as_me: error: Working directory cannot be determined" >&2
1229 { (exit 1); exit 1; }; }
1230 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1231 { echo "$as_me: error: pwd does not report name of working directory" >&2
1232 { (exit 1); exit 1; }; }
1235 # Find the source files, if location was not specified.
1236 if test -z "$srcdir"; then
1237 ac_srcdir_defaulted=yes
1238 # Try the directory containing this script, then the parent directory.
1239 ac_confdir=`$as_dirname -- "$0" ||
1240 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1241 X"$0" : 'X\(//\)[^/]' \| \
1242 X"$0" : 'X\(//\)$' \| \
1243 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1245 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1263 if test ! -r "$srcdir/$ac_unique_file"; then
1267 ac_srcdir_defaulted=no
1269 if test ! -r "$srcdir/$ac_unique_file"; then
1270 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1271 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1272 { (exit 1); exit 1; }; }
1274 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1276 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1277 { (exit 1); exit 1; }; }
1279 # When building in place, set srcdir=.
1280 if test "$ac_abs_confdir" = "$ac_pwd"; then
1283 # Remove unnecessary trailing slashes from srcdir.
1284 # Double slashes in file names in object file debugging info
1285 # mess up M-x gdb in Emacs.
1287 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1289 for ac_var in $ac_precious_vars; do
1290 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1291 eval ac_env_${ac_var}_value=\$${ac_var}
1292 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1293 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1297 # Report the --help message.
1299 if test "$ac_init_help" = "long"; then
1300 # Omit some internal or obsolete options to make the list less imposing.
1301 # This message is too long to be a string in the A/UX 3.1 sh.
1303 \`configure' configures [SAMPLE] [x.xx] to adapt to many kinds of systems.
1305 Usage: $0 [OPTION]... [VAR=VALUE]...
1307 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1308 VAR=VALUE. See below for descriptions of some of the useful variables.
1310 Defaults for the options are specified in brackets.
1313 -h, --help display this help and exit
1314 --help=short display options specific to this package
1315 --help=recursive display the short help of all the included packages
1316 -V, --version display version information and exit
1317 -q, --quiet, --silent do not print \`checking...' messages
1318 --cache-file=FILE cache test results in FILE [disabled]
1319 -C, --config-cache alias for \`--cache-file=config.cache'
1320 -n, --no-create do not create output files
1321 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1323 Installation directories:
1324 --prefix=PREFIX install architecture-independent files in PREFIX
1325 [$ac_default_prefix]
1326 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1329 By default, \`make install' will install all the files in
1330 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1331 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1332 for instance \`--prefix=\$HOME'.
1334 For better control, use the options below.
1336 Fine tuning of the installation directories:
1337 --bindir=DIR user executables [EPREFIX/bin]
1338 --sbindir=DIR system admin executables [EPREFIX/sbin]
1339 --libexecdir=DIR program executables [EPREFIX/libexec]
1340 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1341 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1342 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1343 --libdir=DIR object code libraries [EPREFIX/lib]
1344 --includedir=DIR C header files [PREFIX/include]
1345 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1346 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1347 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1348 --infodir=DIR info documentation [DATAROOTDIR/info]
1349 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1350 --mandir=DIR man documentation [DATAROOTDIR/man]
1351 --docdir=DIR documentation root [DATAROOTDIR/doc/--sample--]
1352 --htmldir=DIR html documentation [DOCDIR]
1353 --dvidir=DIR dvi documentation [DOCDIR]
1354 --pdfdir=DIR pdf documentation [DOCDIR]
1355 --psdir=DIR ps documentation [DOCDIR]
1361 --build=BUILD configure for building on BUILD [guessed]
1362 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1363 --target=TARGET configure for building compilers for TARGET [HOST]
1367 if test -n "$ac_init_help"; then
1368 case $ac_init_help in
1369 short | recursive ) echo "Configuration of [SAMPLE] [x.xx]:";;
1374 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1375 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1376 --enable-polly Use polly if available (default is YES)
1377 --enable-libcpp Use libc++ if available (default is NO)
1378 --enable-optimized Compile with optimizations enabled (default is NO)
1379 --enable-profiling Compile with profiling enabled (default is NO)
1380 --enable-assertions Compile with assertion checks enabled (default is
1382 --enable-expensive-checks
1383 Compile with expensive debug checks enabled (default
1385 --enable-debug-runtime Build runtime libs with debug symbols (default is
1387 --enable-debug-symbols Build compiler with debug symbols (default is NO if
1388 optimization is on and YES if it's off)
1389 --enable-jit Enable Just In Time Compiling (default is YES)
1390 --enable-docs Build documents (default is YES)
1391 --enable-doxygen Build doxygen documentation (default is NO)
1392 --enable-threads Use threads if available (default is YES)
1393 --enable-pthreads Use pthreads if available (default is YES)
1394 --enable-pic Build LLVM with Position Independent Code (default
1396 --enable-shared Build a shared library and link tools against it
1398 --enable-embed-stdcxx Build a shared library with embedded libstdc++ for
1399 Win32 DLL (default is YES)
1400 --enable-timestamps Enable embedding timestamp information in build
1402 --enable-targets Build specific host targets: all or
1403 target1,target2,... Valid targets are: host, x86,
1404 x86_64, sparc, powerpc, arm, mips, spu, hexagon,
1405 xcore, msp430, ptx, cbe, and cpp (default=all)
1406 --enable-bindings Build specific language bindings:
1407 all,auto,none,{binding-name} (default=auto)
1408 --enable-libffi Check for the presence of libffi (default is NO)
1409 --enable-ltdl-install install libltdl
1412 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1413 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1414 --with-llvmsrc Location of LLVM Source Code
1415 --with-llvmobj Location of LLVM Object Code
1416 --with-optimize-option Select the compiler options to use for optimized
1418 --with-extra-options Specify additional options to compile LLVM with
1419 --with-extra-ld-options Specify additional options to link LLVM with
1420 --with-ocaml-libdir Specify install location for ocaml bindings (default
1422 --with-clang-resource-dir
1423 Relative directory from the Clang binary for
1425 --with-c-include-dirs Colon separated list of directories clang will
1427 --with-gcc-toolchain Directory where gcc is installed.
1428 --with-binutils-include Specify path to binutils/include/ containing
1429 plugin-api.h file for gold plugin.
1430 --with-bug-report-url Specify the URL where bug reports should be
1431 submitted (default=http://llvm.org/bugs/)
1432 --with-tclinclude directory where tcl headers are
1433 --with-udis86=<path> Use udis86 external x86 disassembler library
1434 --with-oprofile=<prefix>
1435 Tell OProfile >= 0.9.4 how to symbolize JIT output
1437 Some influential environment variables:
1438 CC C compiler command
1439 CFLAGS C compiler flags
1440 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1441 nonstandard directory <lib dir>
1442 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1443 you have headers in a nonstandard directory <include dir>
1444 CXX C++ compiler command
1445 CXXFLAGS C++ compiler flags
1448 Use these variables to override the choices made by `configure' or to help
1449 it to find libraries and programs with nonstandard names/locations.
1451 Report bugs to <bugs@yourdomain>.
1456 if test "$ac_init_help" = "recursive"; then
1457 # If there are subdirs, report their specific --help.
1458 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1459 test -d "$ac_dir" || continue
1463 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1465 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1466 # A ".." for each directory in $ac_dir_suffix.
1467 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1468 case $ac_top_builddir_sub in
1469 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1470 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1473 ac_abs_top_builddir=$ac_pwd
1474 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1475 # for backward compatibility:
1476 ac_top_builddir=$ac_top_build_prefix
1479 .) # We are building in place.
1481 ac_top_srcdir=$ac_top_builddir_sub
1482 ac_abs_top_srcdir=$ac_pwd ;;
1483 [\\/]* | ?:[\\/]* ) # Absolute name.
1484 ac_srcdir=$srcdir$ac_dir_suffix;
1485 ac_top_srcdir=$srcdir
1486 ac_abs_top_srcdir=$srcdir ;;
1488 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1489 ac_top_srcdir=$ac_top_build_prefix$srcdir
1490 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1492 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1494 cd "$ac_dir" || { ac_status=$?; continue; }
1495 # Check for guested configure.
1496 if test -f "$ac_srcdir/configure.gnu"; then
1498 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1499 elif test -f "$ac_srcdir/configure"; then
1501 $SHELL "$ac_srcdir/configure" --help=recursive
1503 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1505 cd "$ac_pwd" || { ac_status=$?; break; }
1509 test -n "$ac_init_help" && exit $ac_status
1510 if $ac_init_version; then
1512 [SAMPLE] configure [x.xx]
1513 generated by GNU Autoconf 2.60
1515 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1516 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1517 This configure script is free software; the Free Software Foundation
1518 gives unlimited permission to copy, distribute and modify it.
1522 cat >config.log <<_ACEOF
1523 This file contains any messages produced by compilers while
1524 running configure, to aid debugging if configure makes a mistake.
1526 It was created by [SAMPLE] $as_me [x.xx], which was
1527 generated by GNU Autoconf 2.60. Invocation command line was
1539 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1540 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1541 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1542 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1543 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1545 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1546 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1548 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1549 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1550 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1551 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1552 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1553 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1554 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1562 test -z "$as_dir" && as_dir=.
1563 echo "PATH: $as_dir"
1579 # Keep a trace of the command line.
1580 # Strip out --no-create and --no-recursion so they do not pile up.
1581 # Strip out --silent because we don't want to record it for future runs.
1582 # Also quote any args containing shell meta-characters.
1583 # Make two passes to allow for proper duplicate-argument suppression.
1587 ac_must_keep_next=false
1593 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1594 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1595 | -silent | --silent | --silen | --sile | --sil)
1598 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1601 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1603 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1604 if test $ac_must_keep_next = true; then
1605 ac_must_keep_next=false # Got value, back to normal.
1608 *=* | --config-cache | -C | -disable-* | --disable-* \
1609 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1610 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1611 | -with-* | --with-* | -without-* | --without-* | --x)
1612 case "$ac_configure_args0 " in
1613 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1616 -* ) ac_must_keep_next=true ;;
1619 ac_configure_args="$ac_configure_args '$ac_arg'"
1624 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1625 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1627 # When interrupted or exit'd, cleanup temporary files, and complete
1628 # config.log. We remove comments because anyway the quotes in there
1629 # would cause problems or look ugly.
1630 # WARNING: Use '\'' to represent an apostrophe within the trap.
1631 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1632 trap 'exit_status=$?
1633 # Save into config.log some information that might help in debugging.
1638 ## ---------------- ##
1639 ## Cache variables. ##
1640 ## ---------------- ##
1643 # The following way of writing the cache mishandles newlines in values,
1645 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1646 eval ac_val=\$$ac_var
1650 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1651 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1654 _ | IFS | as_nl) ;; #(
1655 *) $as_unset $ac_var ;;
1660 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1661 *${as_nl}ac_space=\ *)
1663 "s/'\''/'\''\\\\'\'''\''/g;
1664 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1667 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1675 ## ----------------- ##
1676 ## Output variables. ##
1677 ## ----------------- ##
1680 for ac_var in $ac_subst_vars
1682 eval ac_val=\$$ac_var
1684 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1686 echo "$ac_var='\''$ac_val'\''"
1690 if test -n "$ac_subst_files"; then
1692 ## ------------------- ##
1693 ## File substitutions. ##
1694 ## ------------------- ##
1697 for ac_var in $ac_subst_files
1699 eval ac_val=\$$ac_var
1701 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1703 echo "$ac_var='\''$ac_val'\''"
1708 if test -s confdefs.h; then
1718 test "$ac_signal" != 0 &&
1719 echo "$as_me: caught signal $ac_signal"
1720 echo "$as_me: exit $exit_status"
1722 rm -f core *.core core.conftest.* &&
1723 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1726 for ac_signal in 1 2 13 15; do
1727 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1731 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1732 rm -f -r conftest* confdefs.h
1734 # Predefined preprocessor variables.
1736 cat >>confdefs.h <<_ACEOF
1737 #define PACKAGE_NAME "$PACKAGE_NAME"
1741 cat >>confdefs.h <<_ACEOF
1742 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1746 cat >>confdefs.h <<_ACEOF
1747 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1751 cat >>confdefs.h <<_ACEOF
1752 #define PACKAGE_STRING "$PACKAGE_STRING"
1756 cat >>confdefs.h <<_ACEOF
1757 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1761 # Let the site file select an alternate cache file if it wants to.
1762 # Prefer explicitly selected file to automatically selected ones.
1763 if test -n "$CONFIG_SITE"; then
1764 set x "$CONFIG_SITE"
1765 elif test "x$prefix" != xNONE; then
1766 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1768 set x "$ac_default_prefix/share/config.site" \
1769 "$ac_default_prefix/etc/config.site"
1774 if test -r "$ac_site_file"; then
1775 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1776 echo "$as_me: loading site script $ac_site_file" >&6;}
1777 sed 's/^/| /' "$ac_site_file" >&5
1782 if test -r "$cache_file"; then
1783 # Some versions of bash will fail to source /dev/null (special
1784 # files actually), so we avoid doing that.
1785 if test -f "$cache_file"; then
1786 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1787 echo "$as_me: loading cache $cache_file" >&6;}
1789 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1790 *) . "./$cache_file";;
1794 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1795 echo "$as_me: creating cache $cache_file" >&6;}
1799 # Check that the precious variables saved in the cache have kept the same
1801 ac_cache_corrupted=false
1802 for ac_var in $ac_precious_vars; do
1803 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1804 eval ac_new_set=\$ac_env_${ac_var}_set
1805 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1806 eval ac_new_val=\$ac_env_${ac_var}_value
1807 case $ac_old_set,$ac_new_set in
1809 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1810 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1811 ac_cache_corrupted=: ;;
1813 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1814 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1815 ac_cache_corrupted=: ;;
1818 if test "x$ac_old_val" != "x$ac_new_val"; then
1819 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1820 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1821 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1822 echo "$as_me: former value: $ac_old_val" >&2;}
1823 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1824 echo "$as_me: current value: $ac_new_val" >&2;}
1825 ac_cache_corrupted=:
1828 # Pass precious variables to config.status.
1829 if test "$ac_new_set" = set; then
1831 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1832 *) ac_arg=$ac_var=$ac_new_val ;;
1834 case " $ac_configure_args " in
1835 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1836 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1840 if $ac_cache_corrupted; then
1841 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1842 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1843 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1844 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1845 { (exit 1); exit 1; }; }
1873 ac_cpp='$CPP $CPPFLAGS'
1874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1880 LLVM_SRC_ROOT="../.."
1881 LLVM_OBJ_ROOT="../.."
1883 LLVM_ABS_SRC_ROOT="`cd $srcdir ; cd $LLVM_SRC_ROOT ; pwd`"
1884 LLVM_ABS_OBJ_ROOT="`cd $LLVM_OBJ_ROOT ; pwd`"
1887 # Check whether --with-llvmsrc was given.
1888 if test "${with_llvmsrc+set}" = set; then
1889 withval=$with_llvmsrc; llvm_src="$withval"
1891 llvm_src="$LLVM_ABS_SRC_ROOT"
1897 # Check whether --with-llvmobj was given.
1898 if test "${with_llvmobj+set}" = set; then
1899 withval=$with_llvmobj; llvm_obj="$withval"
1901 llvm_obj="$LLVM_ABS_OBJ_ROOT"
1906 ac_config_commands="$ac_config_commands setup"
1910 { echo "$as_me:$LINENO: checking llvm-config" >&5
1911 echo $ECHO_N "checking llvm-config... $ECHO_C" >&6; }
1912 llvm_config_path="`ls -1 $llvm_obj/*/bin/llvm-config 2> /dev/null | head -1`"
1913 if ! test -f "$llvm_config_path" ; then
1914 llvm_config_path="no"
1916 { echo "$as_me:$LINENO: result: $llvm_config_path" >&5
1917 echo "${ECHO_T}$llvm_config_path" >&6; }
1919 { echo "$as_me:$LINENO: checking LLVM package version" >&5
1920 echo $ECHO_N "checking LLVM package version... $ECHO_C" >&6; }
1921 if test "$llvm_config_path" != no ; then
1922 llvm_package_version=`$llvm_config_path --version`
1924 llvm_package_version="unknown";
1926 { echo "$as_me:$LINENO: result: $llvm_package_version" >&5
1927 echo "${ECHO_T}$llvm_package_version" >&6; }
1928 LLVM_VERSION=$llvm_package_version
1934 for ac_dir in autoconf "$srcdir"/autoconf; do
1935 if test -f "$ac_dir/install-sh"; then
1937 ac_install_sh="$ac_aux_dir/install-sh -c"
1939 elif test -f "$ac_dir/install.sh"; then
1941 ac_install_sh="$ac_aux_dir/install.sh -c"
1943 elif test -f "$ac_dir/shtool"; then
1945 ac_install_sh="$ac_aux_dir/shtool install -c"
1949 if test -z "$ac_aux_dir"; then
1950 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
1951 echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
1952 { (exit 1); exit 1; }; }
1955 # These three variables are undocumented and unsupported,
1956 # and are intended to be withdrawn in a future Autoconf release.
1957 # They can cause serious problems if a builder's source tree is in a directory
1958 # whose full name contains unusual characters.
1959 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1960 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1961 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1967 ac_cpp='$CPP $CPPFLAGS'
1968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1971 if test -n "$ac_tool_prefix"; then
1972 for ac_prog in clang llvm-gcc gcc
1974 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1975 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1976 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1978 if test "${ac_cv_prog_CC+set}" = set; then
1979 echo $ECHO_N "(cached) $ECHO_C" >&6
1981 if test -n "$CC"; then
1982 ac_cv_prog_CC="$CC" # Let the user override the test.
1984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1988 test -z "$as_dir" && as_dir=.
1989 for ac_exec_ext in '' $ac_executable_extensions; do
1990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1991 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2002 if test -n "$CC"; then
2003 { echo "$as_me:$LINENO: result: $CC" >&5
2004 echo "${ECHO_T}$CC" >&6; }
2006 { echo "$as_me:$LINENO: result: no" >&5
2007 echo "${ECHO_T}no" >&6; }
2011 test -n "$CC" && break
2014 if test -z "$CC"; then
2016 for ac_prog in clang llvm-gcc gcc
2018 # Extract the first word of "$ac_prog", so it can be a program name with args.
2019 set dummy $ac_prog; ac_word=$2
2020 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2022 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2023 echo $ECHO_N "(cached) $ECHO_C" >&6
2025 if test -n "$ac_ct_CC"; then
2026 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2032 test -z "$as_dir" && as_dir=.
2033 for ac_exec_ext in '' $ac_executable_extensions; do
2034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2035 ac_cv_prog_ac_ct_CC="$ac_prog"
2036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2045 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2046 if test -n "$ac_ct_CC"; then
2047 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2048 echo "${ECHO_T}$ac_ct_CC" >&6; }
2050 { echo "$as_me:$LINENO: result: no" >&5
2051 echo "${ECHO_T}no" >&6; }
2055 test -n "$ac_ct_CC" && break
2058 if test "x$ac_ct_CC" = x; then
2061 case $cross_compiling:$ac_tool_warned in
2063 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2064 whose name does not start with the host triplet. If you think this
2065 configuration is useful to you, please write to autoconf@gnu.org." >&5
2066 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2067 whose name does not start with the host triplet. If you think this
2068 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2069 ac_tool_warned=yes ;;
2076 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2077 See \`config.log' for more details." >&5
2078 echo "$as_me: error: no acceptable C compiler found in \$PATH
2079 See \`config.log' for more details." >&2;}
2080 { (exit 1); exit 1; }; }
2082 # Provide some information about the compiler.
2083 echo "$as_me:$LINENO: checking for C compiler version" >&5
2084 ac_compiler=`set X $ac_compile; echo $2`
2085 { (ac_try="$ac_compiler --version >&5"
2087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2088 *) ac_try_echo=$ac_try;;
2090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2091 (eval "$ac_compiler --version >&5") 2>&5
2093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2094 (exit $ac_status); }
2095 { (ac_try="$ac_compiler -v >&5"
2097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2098 *) ac_try_echo=$ac_try;;
2100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2101 (eval "$ac_compiler -v >&5") 2>&5
2103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2104 (exit $ac_status); }
2105 { (ac_try="$ac_compiler -V >&5"
2107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2108 *) ac_try_echo=$ac_try;;
2110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2111 (eval "$ac_compiler -V >&5") 2>&5
2113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2114 (exit $ac_status); }
2116 cat >conftest.$ac_ext <<_ACEOF
2119 cat confdefs.h >>conftest.$ac_ext
2120 cat >>conftest.$ac_ext <<_ACEOF
2121 /* end confdefs.h. */
2131 ac_clean_files_save=$ac_clean_files
2132 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2133 # Try to create an executable without -o first, disregard a.out.
2134 # It will help us diagnose broken compilers, and finding out an intuition
2136 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2137 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2138 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2140 # List of possible output files, starting from the most likely.
2141 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2142 # only as a last resort. b.out is created by i960 compilers.
2143 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2145 # The IRIX 6 linker writes into existing files which may not be
2146 # executable, retaining their permissions. Remove them first so a
2147 # subsequent execution test works.
2149 for ac_file in $ac_files
2152 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2153 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2158 if { (ac_try="$ac_link_default"
2160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2161 *) ac_try_echo=$ac_try;;
2163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2164 (eval "$ac_link_default") 2>&5
2166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2167 (exit $ac_status); }; then
2168 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2169 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2170 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2171 # so that the user can short-circuit this test for compilers unknown to
2173 for ac_file in $ac_files
2175 test -f "$ac_file" || continue
2177 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2180 # We found the default executable, but exeext='' is most
2184 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2186 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2188 # We set ac_cv_exeext here because the later test for it is not
2189 # safe: cross compilers may not add the suffix if given an `-o'
2190 # argument, so we may need to know it at that point already.
2191 # Even if this section looks crufty: it has the advantage of
2198 test "$ac_cv_exeext" = no && ac_cv_exeext=
2201 echo "$as_me: failed program was:" >&5
2202 sed 's/^/| /' conftest.$ac_ext >&5
2204 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2205 See \`config.log' for more details." >&5
2206 echo "$as_me: error: C compiler cannot create executables
2207 See \`config.log' for more details." >&2;}
2208 { (exit 77); exit 77; }; }
2211 ac_exeext=$ac_cv_exeext
2212 { echo "$as_me:$LINENO: result: $ac_file" >&5
2213 echo "${ECHO_T}$ac_file" >&6; }
2215 # Check that the compiler produces executables we can run. If not, either
2216 # the compiler is broken, or we cross compile.
2217 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2218 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2219 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2220 # If not cross compiling, check that we can run a simple program.
2221 if test "$cross_compiling" != yes; then
2222 if { ac_try='./$ac_file'
2223 { (case "(($ac_try" in
2224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2225 *) ac_try_echo=$ac_try;;
2227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2228 (eval "$ac_try") 2>&5
2230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2231 (exit $ac_status); }; }; then
2234 if test "$cross_compiling" = maybe; then
2237 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2238 If you meant to cross compile, use \`--host'.
2239 See \`config.log' for more details." >&5
2240 echo "$as_me: error: cannot run C compiled programs.
2241 If you meant to cross compile, use \`--host'.
2242 See \`config.log' for more details." >&2;}
2243 { (exit 1); exit 1; }; }
2247 { echo "$as_me:$LINENO: result: yes" >&5
2248 echo "${ECHO_T}yes" >&6; }
2250 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2251 ac_clean_files=$ac_clean_files_save
2252 # Check that the compiler produces executables we can run. If not, either
2253 # the compiler is broken, or we cross compile.
2254 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2255 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2256 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2257 echo "${ECHO_T}$cross_compiling" >&6; }
2259 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2260 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2261 if { (ac_try="$ac_link"
2263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2264 *) ac_try_echo=$ac_try;;
2266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2267 (eval "$ac_link") 2>&5
2269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2270 (exit $ac_status); }; then
2271 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2272 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2273 # work properly (i.e., refer to `conftest.exe'), while it won't with
2275 for ac_file in conftest.exe conftest conftest.*; do
2276 test -f "$ac_file" || continue
2278 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2279 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2285 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2286 See \`config.log' for more details." >&5
2287 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2288 See \`config.log' for more details." >&2;}
2289 { (exit 1); exit 1; }; }
2292 rm -f conftest$ac_cv_exeext
2293 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2294 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2296 rm -f conftest.$ac_ext
2297 EXEEXT=$ac_cv_exeext
2299 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2300 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2301 if test "${ac_cv_objext+set}" = set; then
2302 echo $ECHO_N "(cached) $ECHO_C" >&6
2304 cat >conftest.$ac_ext <<_ACEOF
2307 cat confdefs.h >>conftest.$ac_ext
2308 cat >>conftest.$ac_ext <<_ACEOF
2309 /* end confdefs.h. */
2319 rm -f conftest.o conftest.obj
2320 if { (ac_try="$ac_compile"
2322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2323 *) ac_try_echo=$ac_try;;
2325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2326 (eval "$ac_compile") 2>&5
2328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2329 (exit $ac_status); }; then
2330 for ac_file in conftest.o conftest.obj conftest.*; do
2331 test -f "$ac_file" || continue;
2333 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2334 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2339 echo "$as_me: failed program was:" >&5
2340 sed 's/^/| /' conftest.$ac_ext >&5
2342 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2343 See \`config.log' for more details." >&5
2344 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2345 See \`config.log' for more details." >&2;}
2346 { (exit 1); exit 1; }; }
2349 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2351 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2352 echo "${ECHO_T}$ac_cv_objext" >&6; }
2353 OBJEXT=$ac_cv_objext
2355 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2356 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2357 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2358 echo $ECHO_N "(cached) $ECHO_C" >&6
2360 cat >conftest.$ac_ext <<_ACEOF
2363 cat confdefs.h >>conftest.$ac_ext
2364 cat >>conftest.$ac_ext <<_ACEOF
2365 /* end confdefs.h. */
2378 rm -f conftest.$ac_objext
2379 if { (ac_try="$ac_compile"
2381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2382 *) ac_try_echo=$ac_try;;
2384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2385 (eval "$ac_compile") 2>conftest.er1
2387 grep -v '^ *+' conftest.er1 >conftest.err
2389 cat conftest.err >&5
2390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391 (exit $ac_status); } &&
2392 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2393 { (case "(($ac_try" in
2394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2395 *) ac_try_echo=$ac_try;;
2397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2398 (eval "$ac_try") 2>&5
2400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2401 (exit $ac_status); }; } &&
2402 { ac_try='test -s conftest.$ac_objext'
2403 { (case "(($ac_try" in
2404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2405 *) ac_try_echo=$ac_try;;
2407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2408 (eval "$ac_try") 2>&5
2410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2411 (exit $ac_status); }; }; then
2414 echo "$as_me: failed program was:" >&5
2415 sed 's/^/| /' conftest.$ac_ext >&5
2420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2421 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2424 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2425 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2426 GCC=`test $ac_compiler_gnu = yes && echo yes`
2427 ac_test_CFLAGS=${CFLAGS+set}
2428 ac_save_CFLAGS=$CFLAGS
2429 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2430 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2431 if test "${ac_cv_prog_cc_g+set}" = set; then
2432 echo $ECHO_N "(cached) $ECHO_C" >&6
2434 ac_save_c_werror_flag=$ac_c_werror_flag
2435 ac_c_werror_flag=yes
2438 cat >conftest.$ac_ext <<_ACEOF
2441 cat confdefs.h >>conftest.$ac_ext
2442 cat >>conftest.$ac_ext <<_ACEOF
2443 /* end confdefs.h. */
2453 rm -f conftest.$ac_objext
2454 if { (ac_try="$ac_compile"
2456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2457 *) ac_try_echo=$ac_try;;
2459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2460 (eval "$ac_compile") 2>conftest.er1
2462 grep -v '^ *+' conftest.er1 >conftest.err
2464 cat conftest.err >&5
2465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2466 (exit $ac_status); } &&
2467 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2468 { (case "(($ac_try" in
2469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2470 *) ac_try_echo=$ac_try;;
2472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2473 (eval "$ac_try") 2>&5
2475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2476 (exit $ac_status); }; } &&
2477 { ac_try='test -s conftest.$ac_objext'
2478 { (case "(($ac_try" in
2479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2480 *) ac_try_echo=$ac_try;;
2482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2483 (eval "$ac_try") 2>&5
2485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486 (exit $ac_status); }; }; then
2489 echo "$as_me: failed program was:" >&5
2490 sed 's/^/| /' conftest.$ac_ext >&5
2493 cat >conftest.$ac_ext <<_ACEOF
2496 cat confdefs.h >>conftest.$ac_ext
2497 cat >>conftest.$ac_ext <<_ACEOF
2498 /* end confdefs.h. */
2508 rm -f conftest.$ac_objext
2509 if { (ac_try="$ac_compile"
2511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2512 *) ac_try_echo=$ac_try;;
2514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2515 (eval "$ac_compile") 2>conftest.er1
2517 grep -v '^ *+' conftest.er1 >conftest.err
2519 cat conftest.err >&5
2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521 (exit $ac_status); } &&
2522 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2523 { (case "(($ac_try" in
2524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2525 *) ac_try_echo=$ac_try;;
2527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2528 (eval "$ac_try") 2>&5
2530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2531 (exit $ac_status); }; } &&
2532 { ac_try='test -s conftest.$ac_objext'
2533 { (case "(($ac_try" in
2534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2535 *) ac_try_echo=$ac_try;;
2537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2538 (eval "$ac_try") 2>&5
2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541 (exit $ac_status); }; }; then
2544 echo "$as_me: failed program was:" >&5
2545 sed 's/^/| /' conftest.$ac_ext >&5
2547 ac_c_werror_flag=$ac_save_c_werror_flag
2549 cat >conftest.$ac_ext <<_ACEOF
2552 cat confdefs.h >>conftest.$ac_ext
2553 cat >>conftest.$ac_ext <<_ACEOF
2554 /* end confdefs.h. */
2564 rm -f conftest.$ac_objext
2565 if { (ac_try="$ac_compile"
2567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2568 *) ac_try_echo=$ac_try;;
2570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2571 (eval "$ac_compile") 2>conftest.er1
2573 grep -v '^ *+' conftest.er1 >conftest.err
2575 cat conftest.err >&5
2576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2577 (exit $ac_status); } &&
2578 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2579 { (case "(($ac_try" in
2580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2581 *) ac_try_echo=$ac_try;;
2583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2584 (eval "$ac_try") 2>&5
2586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587 (exit $ac_status); }; } &&
2588 { ac_try='test -s conftest.$ac_objext'
2589 { (case "(($ac_try" in
2590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2591 *) ac_try_echo=$ac_try;;
2593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2594 (eval "$ac_try") 2>&5
2596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2597 (exit $ac_status); }; }; then
2600 echo "$as_me: failed program was:" >&5
2601 sed 's/^/| /' conftest.$ac_ext >&5
2606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2613 ac_c_werror_flag=$ac_save_c_werror_flag
2615 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2616 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2617 if test "$ac_test_CFLAGS" = set; then
2618 CFLAGS=$ac_save_CFLAGS
2619 elif test $ac_cv_prog_cc_g = yes; then
2620 if test "$GCC" = yes; then
2626 if test "$GCC" = yes; then
2632 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2633 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2634 if test "${ac_cv_prog_cc_c89+set}" = set; then
2635 echo $ECHO_N "(cached) $ECHO_C" >&6
2637 ac_cv_prog_cc_c89=no
2639 cat >conftest.$ac_ext <<_ACEOF
2642 cat confdefs.h >>conftest.$ac_ext
2643 cat >>conftest.$ac_ext <<_ACEOF
2644 /* end confdefs.h. */
2647 #include <sys/types.h>
2648 #include <sys/stat.h>
2649 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2650 struct buf { int x; };
2651 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2652 static char *e (p, i)
2658 static char *f (char * (*g) (char **, int), char **p, ...)
2663 s = g (p, va_arg (v,int));
2668 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2669 function prototypes and stuff, but not '\xHH' hex character constants.
2670 These don't provoke an error unfortunately, instead are silently treated
2671 as 'x'. The following induces an error, until -std is added to get
2672 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2673 array size at least. It's necessary to write '\x00'==0 to get something
2674 that's true only with -std. */
2675 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2677 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2678 inside strings and character constants. */
2680 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2682 int test (int i, double x);
2683 struct s1 {int (*f) (int a);};
2684 struct s2 {int (*f) (double a);};
2685 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2691 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2696 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2697 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2699 CC="$ac_save_CC $ac_arg"
2700 rm -f conftest.$ac_objext
2701 if { (ac_try="$ac_compile"
2703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2704 *) ac_try_echo=$ac_try;;
2706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2707 (eval "$ac_compile") 2>conftest.er1
2709 grep -v '^ *+' conftest.er1 >conftest.err
2711 cat conftest.err >&5
2712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713 (exit $ac_status); } &&
2714 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2715 { (case "(($ac_try" in
2716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2717 *) ac_try_echo=$ac_try;;
2719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2720 (eval "$ac_try") 2>&5
2722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2723 (exit $ac_status); }; } &&
2724 { ac_try='test -s conftest.$ac_objext'
2725 { (case "(($ac_try" in
2726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2727 *) ac_try_echo=$ac_try;;
2729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2730 (eval "$ac_try") 2>&5
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); }; }; then
2734 ac_cv_prog_cc_c89=$ac_arg
2736 echo "$as_me: failed program was:" >&5
2737 sed 's/^/| /' conftest.$ac_ext >&5
2742 rm -f core conftest.err conftest.$ac_objext
2743 test "x$ac_cv_prog_cc_c89" != "xno" && break
2745 rm -f conftest.$ac_ext
2750 case "x$ac_cv_prog_cc_c89" in
2752 { echo "$as_me:$LINENO: result: none needed" >&5
2753 echo "${ECHO_T}none needed" >&6; } ;;
2755 { echo "$as_me:$LINENO: result: unsupported" >&5
2756 echo "${ECHO_T}unsupported" >&6; } ;;
2758 CC="$CC $ac_cv_prog_cc_c89"
2759 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2760 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2765 ac_cpp='$CPP $CPPFLAGS'
2766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2771 ac_cpp='$CXXCPP $CPPFLAGS'
2772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2775 if test -z "$CXX"; then
2776 if test -n "$CCC"; then
2779 if test -n "$ac_tool_prefix"; then
2780 for ac_prog in clang++ llvm-g++ g++
2782 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2783 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2784 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2786 if test "${ac_cv_prog_CXX+set}" = set; then
2787 echo $ECHO_N "(cached) $ECHO_C" >&6
2789 if test -n "$CXX"; then
2790 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2796 test -z "$as_dir" && as_dir=.
2797 for ac_exec_ext in '' $ac_executable_extensions; do
2798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2799 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2810 if test -n "$CXX"; then
2811 { echo "$as_me:$LINENO: result: $CXX" >&5
2812 echo "${ECHO_T}$CXX" >&6; }
2814 { echo "$as_me:$LINENO: result: no" >&5
2815 echo "${ECHO_T}no" >&6; }
2819 test -n "$CXX" && break
2822 if test -z "$CXX"; then
2824 for ac_prog in clang++ llvm-g++ g++
2826 # Extract the first word of "$ac_prog", so it can be a program name with args.
2827 set dummy $ac_prog; ac_word=$2
2828 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2830 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2831 echo $ECHO_N "(cached) $ECHO_C" >&6
2833 if test -n "$ac_ct_CXX"; then
2834 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2840 test -z "$as_dir" && as_dir=.
2841 for ac_exec_ext in '' $ac_executable_extensions; do
2842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2843 ac_cv_prog_ac_ct_CXX="$ac_prog"
2844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2853 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2854 if test -n "$ac_ct_CXX"; then
2855 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2856 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2858 { echo "$as_me:$LINENO: result: no" >&5
2859 echo "${ECHO_T}no" >&6; }
2863 test -n "$ac_ct_CXX" && break
2866 if test "x$ac_ct_CXX" = x; then
2869 case $cross_compiling:$ac_tool_warned in
2871 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2872 whose name does not start with the host triplet. If you think this
2873 configuration is useful to you, please write to autoconf@gnu.org." >&5
2874 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2875 whose name does not start with the host triplet. If you think this
2876 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2877 ac_tool_warned=yes ;;
2885 # Provide some information about the compiler.
2886 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2887 ac_compiler=`set X $ac_compile; echo $2`
2888 { (ac_try="$ac_compiler --version >&5"
2890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2891 *) ac_try_echo=$ac_try;;
2893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2894 (eval "$ac_compiler --version >&5") 2>&5
2896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2897 (exit $ac_status); }
2898 { (ac_try="$ac_compiler -v >&5"
2900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2901 *) ac_try_echo=$ac_try;;
2903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2904 (eval "$ac_compiler -v >&5") 2>&5
2906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2907 (exit $ac_status); }
2908 { (ac_try="$ac_compiler -V >&5"
2910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2911 *) ac_try_echo=$ac_try;;
2913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2914 (eval "$ac_compiler -V >&5") 2>&5
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); }
2919 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2920 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
2921 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2922 echo $ECHO_N "(cached) $ECHO_C" >&6
2924 cat >conftest.$ac_ext <<_ACEOF
2927 cat confdefs.h >>conftest.$ac_ext
2928 cat >>conftest.$ac_ext <<_ACEOF
2929 /* end confdefs.h. */
2942 rm -f conftest.$ac_objext
2943 if { (ac_try="$ac_compile"
2945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2946 *) ac_try_echo=$ac_try;;
2948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2949 (eval "$ac_compile") 2>conftest.er1
2951 grep -v '^ *+' conftest.er1 >conftest.err
2953 cat conftest.err >&5
2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955 (exit $ac_status); } &&
2956 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2957 { (case "(($ac_try" in
2958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2959 *) ac_try_echo=$ac_try;;
2961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2962 (eval "$ac_try") 2>&5
2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965 (exit $ac_status); }; } &&
2966 { ac_try='test -s conftest.$ac_objext'
2967 { (case "(($ac_try" in
2968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2969 *) ac_try_echo=$ac_try;;
2971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2972 (eval "$ac_try") 2>&5
2974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975 (exit $ac_status); }; }; then
2978 echo "$as_me: failed program was:" >&5
2979 sed 's/^/| /' conftest.$ac_ext >&5
2984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2985 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2988 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2989 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
2990 GXX=`test $ac_compiler_gnu = yes && echo yes`
2991 ac_test_CXXFLAGS=${CXXFLAGS+set}
2992 ac_save_CXXFLAGS=$CXXFLAGS
2993 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2994 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
2995 if test "${ac_cv_prog_cxx_g+set}" = set; then
2996 echo $ECHO_N "(cached) $ECHO_C" >&6
2998 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2999 ac_cxx_werror_flag=yes
3002 cat >conftest.$ac_ext <<_ACEOF
3005 cat confdefs.h >>conftest.$ac_ext
3006 cat >>conftest.$ac_ext <<_ACEOF
3007 /* end confdefs.h. */
3017 rm -f conftest.$ac_objext
3018 if { (ac_try="$ac_compile"
3020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3021 *) ac_try_echo=$ac_try;;
3023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3024 (eval "$ac_compile") 2>conftest.er1
3026 grep -v '^ *+' conftest.er1 >conftest.err
3028 cat conftest.err >&5
3029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3030 (exit $ac_status); } &&
3031 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3032 { (case "(($ac_try" in
3033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3034 *) ac_try_echo=$ac_try;;
3036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3037 (eval "$ac_try") 2>&5
3039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3040 (exit $ac_status); }; } &&
3041 { ac_try='test -s conftest.$ac_objext'
3042 { (case "(($ac_try" in
3043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3044 *) ac_try_echo=$ac_try;;
3046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3047 (eval "$ac_try") 2>&5
3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); }; }; then
3051 ac_cv_prog_cxx_g=yes
3053 echo "$as_me: failed program was:" >&5
3054 sed 's/^/| /' conftest.$ac_ext >&5
3057 cat >conftest.$ac_ext <<_ACEOF
3060 cat confdefs.h >>conftest.$ac_ext
3061 cat >>conftest.$ac_ext <<_ACEOF
3062 /* end confdefs.h. */
3072 rm -f conftest.$ac_objext
3073 if { (ac_try="$ac_compile"
3075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3076 *) ac_try_echo=$ac_try;;
3078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3079 (eval "$ac_compile") 2>conftest.er1
3081 grep -v '^ *+' conftest.er1 >conftest.err
3083 cat conftest.err >&5
3084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085 (exit $ac_status); } &&
3086 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3087 { (case "(($ac_try" in
3088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3089 *) ac_try_echo=$ac_try;;
3091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3092 (eval "$ac_try") 2>&5
3094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3095 (exit $ac_status); }; } &&
3096 { ac_try='test -s conftest.$ac_objext'
3097 { (case "(($ac_try" in
3098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3099 *) ac_try_echo=$ac_try;;
3101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3102 (eval "$ac_try") 2>&5
3104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105 (exit $ac_status); }; }; then
3108 echo "$as_me: failed program was:" >&5
3109 sed 's/^/| /' conftest.$ac_ext >&5
3111 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3113 cat >conftest.$ac_ext <<_ACEOF
3116 cat confdefs.h >>conftest.$ac_ext
3117 cat >>conftest.$ac_ext <<_ACEOF
3118 /* end confdefs.h. */
3128 rm -f conftest.$ac_objext
3129 if { (ac_try="$ac_compile"
3131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3132 *) ac_try_echo=$ac_try;;
3134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3135 (eval "$ac_compile") 2>conftest.er1
3137 grep -v '^ *+' conftest.er1 >conftest.err
3139 cat conftest.err >&5
3140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3141 (exit $ac_status); } &&
3142 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3143 { (case "(($ac_try" in
3144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3145 *) ac_try_echo=$ac_try;;
3147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3148 (eval "$ac_try") 2>&5
3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); }; } &&
3152 { ac_try='test -s conftest.$ac_objext'
3153 { (case "(($ac_try" in
3154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3155 *) ac_try_echo=$ac_try;;
3157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3158 (eval "$ac_try") 2>&5
3160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161 (exit $ac_status); }; }; then
3162 ac_cv_prog_cxx_g=yes
3164 echo "$as_me: failed program was:" >&5
3165 sed 's/^/| /' conftest.$ac_ext >&5
3170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3177 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3179 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3180 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3181 if test "$ac_test_CXXFLAGS" = set; then
3182 CXXFLAGS=$ac_save_CXXFLAGS
3183 elif test $ac_cv_prog_cxx_g = yes; then
3184 if test "$GXX" = yes; then
3190 if test "$GXX" = yes; then
3197 ac_cpp='$CPP $CPPFLAGS'
3198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3203 ac_cpp='$CPP $CPPFLAGS'
3204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3207 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3208 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3209 # On Suns, sometimes $CPP names a directory.
3210 if test -n "$CPP" && test -d "$CPP"; then
3213 if test -z "$CPP"; then
3214 if test "${ac_cv_prog_CPP+set}" = set; then
3215 echo $ECHO_N "(cached) $ECHO_C" >&6
3217 # Double quotes because CPP needs to be expanded
3218 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3221 for ac_c_preproc_warn_flag in '' yes
3223 # Use a header file that comes with gcc, so configuring glibc
3224 # with a fresh cross-compiler works.
3225 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3226 # <limits.h> exists even on freestanding compilers.
3227 # On the NeXT, cc -E runs the code through the compiler's parser,
3228 # not just through cpp. "Syntax error" is here to catch this case.
3229 cat >conftest.$ac_ext <<_ACEOF
3232 cat confdefs.h >>conftest.$ac_ext
3233 cat >>conftest.$ac_ext <<_ACEOF
3234 /* end confdefs.h. */
3236 # include <limits.h>
3238 # include <assert.h>
3242 if { (ac_try="$ac_cpp conftest.$ac_ext"
3244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3245 *) ac_try_echo=$ac_try;;
3247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3248 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3250 grep -v '^ *+' conftest.er1 >conftest.err
3252 cat conftest.err >&5
3253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3254 (exit $ac_status); } >/dev/null; then
3255 if test -s conftest.err; then
3256 ac_cpp_err=$ac_c_preproc_warn_flag
3257 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3264 if test -z "$ac_cpp_err"; then
3267 echo "$as_me: failed program was:" >&5
3268 sed 's/^/| /' conftest.$ac_ext >&5
3270 # Broken: fails on valid input.
3274 rm -f conftest.err conftest.$ac_ext
3276 # OK, works on sane cases. Now check whether nonexistent headers
3277 # can be detected and how.
3278 cat >conftest.$ac_ext <<_ACEOF
3281 cat confdefs.h >>conftest.$ac_ext
3282 cat >>conftest.$ac_ext <<_ACEOF
3283 /* end confdefs.h. */
3284 #include <ac_nonexistent.h>
3286 if { (ac_try="$ac_cpp conftest.$ac_ext"
3288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3289 *) ac_try_echo=$ac_try;;
3291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3292 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3294 grep -v '^ *+' conftest.er1 >conftest.err
3296 cat conftest.err >&5
3297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298 (exit $ac_status); } >/dev/null; then
3299 if test -s conftest.err; then
3300 ac_cpp_err=$ac_c_preproc_warn_flag
3301 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3308 if test -z "$ac_cpp_err"; then
3309 # Broken: success on invalid input.
3312 echo "$as_me: failed program was:" >&5
3313 sed 's/^/| /' conftest.$ac_ext >&5
3315 # Passes both tests.
3320 rm -f conftest.err conftest.$ac_ext
3323 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3324 rm -f conftest.err conftest.$ac_ext
3325 if $ac_preproc_ok; then
3337 { echo "$as_me:$LINENO: result: $CPP" >&5
3338 echo "${ECHO_T}$CPP" >&6; }
3340 for ac_c_preproc_warn_flag in '' yes
3342 # Use a header file that comes with gcc, so configuring glibc
3343 # with a fresh cross-compiler works.
3344 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3345 # <limits.h> exists even on freestanding compilers.
3346 # On the NeXT, cc -E runs the code through the compiler's parser,
3347 # not just through cpp. "Syntax error" is here to catch this case.
3348 cat >conftest.$ac_ext <<_ACEOF
3351 cat confdefs.h >>conftest.$ac_ext
3352 cat >>conftest.$ac_ext <<_ACEOF
3353 /* end confdefs.h. */
3355 # include <limits.h>
3357 # include <assert.h>
3361 if { (ac_try="$ac_cpp conftest.$ac_ext"
3363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3364 *) ac_try_echo=$ac_try;;
3366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3367 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3369 grep -v '^ *+' conftest.er1 >conftest.err
3371 cat conftest.err >&5
3372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3373 (exit $ac_status); } >/dev/null; then
3374 if test -s conftest.err; then
3375 ac_cpp_err=$ac_c_preproc_warn_flag
3376 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3383 if test -z "$ac_cpp_err"; then
3386 echo "$as_me: failed program was:" >&5
3387 sed 's/^/| /' conftest.$ac_ext >&5
3389 # Broken: fails on valid input.
3393 rm -f conftest.err conftest.$ac_ext
3395 # OK, works on sane cases. Now check whether nonexistent headers
3396 # can be detected and how.
3397 cat >conftest.$ac_ext <<_ACEOF
3400 cat confdefs.h >>conftest.$ac_ext
3401 cat >>conftest.$ac_ext <<_ACEOF
3402 /* end confdefs.h. */
3403 #include <ac_nonexistent.h>
3405 if { (ac_try="$ac_cpp conftest.$ac_ext"
3407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3408 *) ac_try_echo=$ac_try;;
3410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3411 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3413 grep -v '^ *+' conftest.er1 >conftest.err
3415 cat conftest.err >&5
3416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3417 (exit $ac_status); } >/dev/null; then
3418 if test -s conftest.err; then
3419 ac_cpp_err=$ac_c_preproc_warn_flag
3420 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3427 if test -z "$ac_cpp_err"; then
3428 # Broken: success on invalid input.
3431 echo "$as_me: failed program was:" >&5
3432 sed 's/^/| /' conftest.$ac_ext >&5
3434 # Passes both tests.
3439 rm -f conftest.err conftest.$ac_ext
3442 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3443 rm -f conftest.err conftest.$ac_ext
3444 if $ac_preproc_ok; then
3447 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3448 See \`config.log' for more details." >&5
3449 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3450 See \`config.log' for more details." >&2;}
3451 { (exit 1); exit 1; }; }
3455 ac_cpp='$CPP $CPPFLAGS'
3456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3463 # Check whether --enable-polly was given.
3464 if test "${enable_polly+set}" = set; then
3465 enableval=$enable_polly;
3470 case "$enableval" in
3475 default) ENABLE_POLLY=1
3477 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-polly. Use \"yes\" or \"no\"" >&5
3478 echo "$as_me: error: Invalid setting for --enable-polly. Use \"yes\" or \"no\"" >&2;}
3479 { (exit 1); exit 1; }; } ;;
3483 if (test -d ${srcdir}/tools/polly) && (test $ENABLE_POLLY -eq 1) ; then
3486 subdirs="$subdirs tools/polly"
3491 # Make sure we can run config.sub.
3492 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3493 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3494 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3495 { (exit 1); exit 1; }; }
3497 { echo "$as_me:$LINENO: checking build system type" >&5
3498 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3499 if test "${ac_cv_build+set}" = set; then
3500 echo $ECHO_N "(cached) $ECHO_C" >&6
3502 ac_build_alias=$build_alias
3503 test "x$ac_build_alias" = x &&
3504 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3505 test "x$ac_build_alias" = x &&
3506 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3507 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3508 { (exit 1); exit 1; }; }
3509 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3510 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3511 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3512 { (exit 1); exit 1; }; }
3515 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3516 echo "${ECHO_T}$ac_cv_build" >&6; }
3517 case $ac_cv_build in
3519 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3520 echo "$as_me: error: invalid value of canonical build" >&2;}
3521 { (exit 1); exit 1; }; };;
3524 ac_save_IFS=$IFS; IFS='-'
3530 # Remember, the first character of IFS is used to create $*,
3531 # except with old shells:
3534 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3537 { echo "$as_me:$LINENO: checking host system type" >&5
3538 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3539 if test "${ac_cv_host+set}" = set; then
3540 echo $ECHO_N "(cached) $ECHO_C" >&6
3542 if test "x$host_alias" = x; then
3543 ac_cv_host=$ac_cv_build
3545 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3546 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3547 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3548 { (exit 1); exit 1; }; }
3552 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3553 echo "${ECHO_T}$ac_cv_host" >&6; }
3556 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3557 echo "$as_me: error: invalid value of canonical host" >&2;}
3558 { (exit 1); exit 1; }; };;
3561 ac_save_IFS=$IFS; IFS='-'
3567 # Remember, the first character of IFS is used to create $*,
3568 # except with old shells:
3571 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3574 { echo "$as_me:$LINENO: checking target system type" >&5
3575 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
3576 if test "${ac_cv_target+set}" = set; then
3577 echo $ECHO_N "(cached) $ECHO_C" >&6
3579 if test "x$target_alias" = x; then
3580 ac_cv_target=$ac_cv_host
3582 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3583 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
3584 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
3585 { (exit 1); exit 1; }; }
3589 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
3590 echo "${ECHO_T}$ac_cv_target" >&6; }
3591 case $ac_cv_target in
3593 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
3594 echo "$as_me: error: invalid value of canonical target" >&2;}
3595 { (exit 1); exit 1; }; };;
3597 target=$ac_cv_target
3598 ac_save_IFS=$IFS; IFS='-'
3604 # Remember, the first character of IFS is used to create $*,
3605 # except with old shells:
3608 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3611 # The aliases save the names the user supplied, while $host etc.
3612 # will get canonicalized.
3613 test -n "$target_alias" &&
3614 test "$program_prefix$program_suffix$program_transform_name" = \
3616 program_prefix=${target_alias}-
3618 { echo "$as_me:$LINENO: checking type of operating system we're going to host on" >&5
3619 echo $ECHO_N "checking type of operating system we're going to host on... $ECHO_C" >&6; }
3620 if test "${llvm_cv_os_type+set}" = set; then
3621 echo $ECHO_N "(cached) $ECHO_C" >&6
3625 llvm_cv_link_all_option="-Wl,--whole-archive"
3626 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
3627 llvm_cv_os_type="AIX"
3628 llvm_cv_platform_type="Unix" ;;
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="IRIX"
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="Cygwin"
3638 llvm_cv_platform_type="Unix" ;;
3640 llvm_cv_link_all_option="-Wl,-all_load"
3641 llvm_cv_no_link_all_option="-Wl,-noall_load"
3642 llvm_cv_os_type="Darwin"
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="Minix"
3648 llvm_cv_platform_type="Unix" ;;
3649 *-*-freebsd* | *-*-kfreebsd-gnu)
3650 llvm_cv_link_all_option="-Wl,--whole-archive"
3651 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
3652 llvm_cv_os_type="FreeBSD"
3653 llvm_cv_platform_type="Unix" ;;
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="OpenBSD"
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="NetBSD"
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="DragonFly"
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="HP-UX"
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="Interix"
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="Linux"
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="GNU"
3688 llvm_cv_platform_type="Unix" ;;
3690 llvm_cv_link_all_option="-Wl,-z,allextract"
3691 llvm_cv_no_link_all_option="-Wl,-z,defaultextract"
3692 llvm_cv_os_type="SunOS"
3693 llvm_cv_platform_type="Unix" ;;
3695 llvm_cv_link_all_option="-Wl,-z,allextract"
3696 llvm_cv_link_all_option="-Wl,-z,defaultextract"
3697 llvm_cv_os_type="AuroraUX"
3698 llvm_cv_platform_type="Unix" ;;
3700 llvm_cv_link_all_option="-Wl,--whole-archive"
3701 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
3702 llvm_cv_os_type="Win32"
3703 llvm_cv_platform_type="Win32" ;;
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="MingW"
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="Haiku"
3713 llvm_cv_platform_type="Unix" ;;
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="Freestanding"
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=""
3726 llvm_cv_no_link_all_option=""
3727 llvm_cv_os_type="Unknown"
3728 llvm_cv_platform_type="Unknown" ;;
3731 { echo "$as_me:$LINENO: result: $llvm_cv_os_type" >&5
3732 echo "${ECHO_T}$llvm_cv_os_type" >&6; }
3734 { echo "$as_me:$LINENO: checking type of operating system we're going to target" >&5
3735 echo $ECHO_N "checking type of operating system we're going to target... $ECHO_C" >&6; }
3736 if test "${llvm_cv_target_os_type+set}" = set; then
3737 echo $ECHO_N "(cached) $ECHO_C" >&6
3741 llvm_cv_target_os_type="AIX" ;;
3743 llvm_cv_target_os_type="IRIX" ;;
3745 llvm_cv_target_os_type="Cygwin" ;;
3747 llvm_cv_target_os_type="Darwin" ;;
3749 llvm_cv_target_os_type="Minix" ;;
3750 *-*-freebsd* | *-*-kfreebsd-gnu)
3751 llvm_cv_target_os_type="FreeBSD" ;;
3753 llvm_cv_target_os_type="OpenBSD" ;;
3755 llvm_cv_target_os_type="NetBSD" ;;
3757 llvm_cv_target_os_type="DragonFly" ;;
3759 llvm_cv_target_os_type="HP-UX" ;;
3761 llvm_cv_target_os_type="Interix" ;;
3763 llvm_cv_target_os_type="Linux" ;;
3765 llvm_cv_target_os_type="GNU" ;;
3767 llvm_cv_target_os_type="SunOS" ;;
3769 llvm_cv_target_os_type="AuroraUX" ;;
3771 llvm_cv_target_os_type="Win32" ;;
3773 llvm_cv_target_os_type="MingW" ;;
3775 llvm_cv_target_os_type="Haiku" ;;
3777 llvm_cv_target_os_type="RTEMS" ;;
3779 llvm_cv_target_os_type="NativeClient" ;;
3781 llvm_cv_target_os_type="Freestanding" ;;
3783 llvm_cv_target_os_type="Unknown" ;;
3786 { echo "$as_me:$LINENO: result: $llvm_cv_target_os_type" >&5
3787 echo "${ECHO_T}$llvm_cv_target_os_type" >&6; }
3789 if test "$llvm_cv_os_type" = "Unknown" ; then
3790 { { echo "$as_me:$LINENO: error: Operating system is unknown, configure can't continue" >&5
3791 echo "$as_me: error: Operating system is unknown, configure can't continue" >&2;}
3792 { (exit 1); exit 1; }; }
3797 HOST_OS=$llvm_cv_os_type
3799 TARGET_OS=$llvm_cv_target_os_type
3802 LINKALL=$llvm_cv_link_all_option
3804 NOLINKALL=$llvm_cv_no_link_all_option
3807 case $llvm_cv_platform_type in
3810 cat >>confdefs.h <<\_ACEOF
3811 #define LLVM_ON_UNIX 1
3821 cat >>confdefs.h <<\_ACEOF
3822 #define LLVM_ON_WIN32 1
3832 { echo "$as_me:$LINENO: checking target architecture" >&5
3833 echo $ECHO_N "checking target architecture... $ECHO_C" >&6; }
3834 if test "${llvm_cv_target_arch+set}" = set; then
3835 echo $ECHO_N "(cached) $ECHO_C" >&6
3838 i?86-*) llvm_cv_target_arch="x86" ;;
3839 amd64-* | x86_64-*) llvm_cv_target_arch="x86_64" ;;
3840 sparc*-*) llvm_cv_target_arch="Sparc" ;;
3841 powerpc*-*) llvm_cv_target_arch="PowerPC" ;;
3842 arm*-*) llvm_cv_target_arch="ARM" ;;
3843 mips-*) llvm_cv_target_arch="Mips" ;;
3844 xcore-*) llvm_cv_target_arch="XCore" ;;
3845 msp430-*) llvm_cv_target_arch="MSP430" ;;
3846 hexagon-*) llvm_cv_target_arch="Hexagon" ;;
3847 mblaze-*) llvm_cv_target_arch="MBlaze" ;;
3848 ptx-*) llvm_cv_target_arch="PTX" ;;
3849 *) llvm_cv_target_arch="Unknown" ;;
3852 { echo "$as_me:$LINENO: result: $llvm_cv_target_arch" >&5
3853 echo "${ECHO_T}$llvm_cv_target_arch" >&6; }
3855 if test "$llvm_cv_target_arch" = "Unknown" ; then
3856 { echo "$as_me:$LINENO: WARNING: Configuring LLVM for an unknown target archicture" >&5
3857 echo "$as_me: WARNING: Configuring LLVM for an unknown target archicture" >&2;}
3860 # Determine the LLVM native architecture for the target
3861 case "$llvm_cv_target_arch" in
3862 x86) LLVM_NATIVE_ARCH="X86" ;;
3863 x86_64) LLVM_NATIVE_ARCH="X86" ;;
3864 *) LLVM_NATIVE_ARCH="$llvm_cv_target_arch" ;;
3867 ARCH=$llvm_cv_target_arch
3872 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3873 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3874 if test "${ac_cv_path_GREP+set}" = set; then
3875 echo $ECHO_N "(cached) $ECHO_C" >&6
3877 # Extract the first word of "grep ggrep" to use in msg output
3878 if test -z "$GREP"; then
3879 set dummy grep ggrep; ac_prog_name=$2
3880 if test "${ac_cv_path_GREP+set}" = set; then
3881 echo $ECHO_N "(cached) $ECHO_C" >&6
3883 ac_path_GREP_found=false
3884 # Loop through the user's path and test for each of PROGNAME-LIST
3885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3886 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3889 test -z "$as_dir" && as_dir=.
3890 for ac_prog in grep ggrep; do
3891 for ac_exec_ext in '' $ac_executable_extensions; do
3892 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3893 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
3894 # Check for GNU ac_path_GREP and select it if it is found.
3895 # Check for GNU $ac_path_GREP
3896 case `"$ac_path_GREP" --version 2>&1` in
3898 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3901 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3904 cat "conftest.in" "conftest.in" >"conftest.tmp"
3905 mv "conftest.tmp" "conftest.in"
3906 cp "conftest.in" "conftest.nl"
3907 echo 'GREP' >> "conftest.nl"
3908 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3909 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3910 ac_count=`expr $ac_count + 1`
3911 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3912 # Best one so far, save it but keep looking for a better one
3913 ac_cv_path_GREP="$ac_path_GREP"
3914 ac_path_GREP_max=$ac_count
3916 # 10*(2^10) chars as input seems more than enough
3917 test $ac_count -gt 10 && break
3919 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3923 $ac_path_GREP_found && break 3
3933 GREP="$ac_cv_path_GREP"
3934 if test -z "$GREP"; then
3935 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3936 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3937 { (exit 1); exit 1; }; }
3941 ac_cv_path_GREP=$GREP
3946 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3947 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3948 GREP="$ac_cv_path_GREP"
3951 { echo "$as_me:$LINENO: checking for egrep" >&5
3952 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3953 if test "${ac_cv_path_EGREP+set}" = set; then
3954 echo $ECHO_N "(cached) $ECHO_C" >&6
3956 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3957 then ac_cv_path_EGREP="$GREP -E"
3959 # Extract the first word of "egrep" to use in msg output
3960 if test -z "$EGREP"; then
3961 set dummy egrep; ac_prog_name=$2
3962 if test "${ac_cv_path_EGREP+set}" = set; then
3963 echo $ECHO_N "(cached) $ECHO_C" >&6
3965 ac_path_EGREP_found=false
3966 # Loop through the user's path and test for each of PROGNAME-LIST
3967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3968 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3971 test -z "$as_dir" && as_dir=.
3972 for ac_prog in egrep; do
3973 for ac_exec_ext in '' $ac_executable_extensions; do
3974 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3975 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
3976 # Check for GNU ac_path_EGREP and select it if it is found.
3977 # Check for GNU $ac_path_EGREP
3978 case `"$ac_path_EGREP" --version 2>&1` in
3980 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3983 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3986 cat "conftest.in" "conftest.in" >"conftest.tmp"
3987 mv "conftest.tmp" "conftest.in"
3988 cp "conftest.in" "conftest.nl"
3989 echo 'EGREP' >> "conftest.nl"
3990 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3991 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3992 ac_count=`expr $ac_count + 1`
3993 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3994 # Best one so far, save it but keep looking for a better one
3995 ac_cv_path_EGREP="$ac_path_EGREP"
3996 ac_path_EGREP_max=$ac_count
3998 # 10*(2^10) chars as input seems more than enough
3999 test $ac_count -gt 10 && break
4001 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4005 $ac_path_EGREP_found && break 3
4015 EGREP="$ac_cv_path_EGREP"
4016 if test -z "$EGREP"; then
4017 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4018 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4019 { (exit 1); exit 1; }; }
4023 ac_cv_path_EGREP=$EGREP
4029 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4030 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4031 EGREP="$ac_cv_path_EGREP"
4034 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4035 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4036 if test "${ac_cv_header_stdc+set}" = set; then
4037 echo $ECHO_N "(cached) $ECHO_C" >&6
4039 cat >conftest.$ac_ext <<_ACEOF
4042 cat confdefs.h >>conftest.$ac_ext
4043 cat >>conftest.$ac_ext <<_ACEOF
4044 /* end confdefs.h. */
4058 rm -f conftest.$ac_objext
4059 if { (ac_try="$ac_compile"
4061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4062 *) ac_try_echo=$ac_try;;
4064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4065 (eval "$ac_compile") 2>conftest.er1
4067 grep -v '^ *+' conftest.er1 >conftest.err
4069 cat conftest.err >&5
4070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4071 (exit $ac_status); } &&
4072 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4073 { (case "(($ac_try" in
4074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4075 *) ac_try_echo=$ac_try;;
4077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4078 (eval "$ac_try") 2>&5
4080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4081 (exit $ac_status); }; } &&
4082 { ac_try='test -s conftest.$ac_objext'
4083 { (case "(($ac_try" in
4084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4085 *) ac_try_echo=$ac_try;;
4087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4088 (eval "$ac_try") 2>&5
4090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4091 (exit $ac_status); }; }; then
4092 ac_cv_header_stdc=yes
4094 echo "$as_me: failed program was:" >&5
4095 sed 's/^/| /' conftest.$ac_ext >&5
4097 ac_cv_header_stdc=no
4100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4102 if test $ac_cv_header_stdc = yes; then
4103 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4104 cat >conftest.$ac_ext <<_ACEOF
4107 cat confdefs.h >>conftest.$ac_ext
4108 cat >>conftest.$ac_ext <<_ACEOF
4109 /* end confdefs.h. */
4113 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4114 $EGREP "memchr" >/dev/null 2>&1; then
4117 ac_cv_header_stdc=no
4123 if test $ac_cv_header_stdc = yes; then
4124 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4125 cat >conftest.$ac_ext <<_ACEOF
4128 cat confdefs.h >>conftest.$ac_ext
4129 cat >>conftest.$ac_ext <<_ACEOF
4130 /* end confdefs.h. */
4134 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4135 $EGREP "free" >/dev/null 2>&1; then
4138 ac_cv_header_stdc=no
4144 if test $ac_cv_header_stdc = yes; then
4145 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4146 if test "$cross_compiling" = yes; then
4149 cat >conftest.$ac_ext <<_ACEOF
4152 cat confdefs.h >>conftest.$ac_ext
4153 cat >>conftest.$ac_ext <<_ACEOF
4154 /* end confdefs.h. */
4157 #if ((' ' & 0x0FF) == 0x020)
4158 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4159 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4161 # define ISLOWER(c) \
4162 (('a' <= (c) && (c) <= 'i') \
4163 || ('j' <= (c) && (c) <= 'r') \
4164 || ('s' <= (c) && (c) <= 'z'))
4165 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4168 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4173 for (i = 0; i < 256; i++)
4174 if (XOR (islower (i), ISLOWER (i))
4175 || toupper (i) != TOUPPER (i))
4180 rm -f conftest$ac_exeext
4181 if { (ac_try="$ac_link"
4183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4184 *) ac_try_echo=$ac_try;;
4186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4187 (eval "$ac_link") 2>&5
4189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4190 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4191 { (case "(($ac_try" in
4192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4193 *) ac_try_echo=$ac_try;;
4195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4196 (eval "$ac_try") 2>&5
4198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4199 (exit $ac_status); }; }; then
4202 echo "$as_me: program exited with status $ac_status" >&5
4203 echo "$as_me: failed program was:" >&5
4204 sed 's/^/| /' conftest.$ac_ext >&5
4207 ac_cv_header_stdc=no
4209 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4215 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4216 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4217 if test $ac_cv_header_stdc = yes; then
4219 cat >>confdefs.h <<\_ACEOF
4220 #define STDC_HEADERS 1
4225 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4235 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4236 inttypes.h stdint.h unistd.h
4238 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4239 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4241 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4242 echo $ECHO_N "(cached) $ECHO_C" >&6
4244 cat >conftest.$ac_ext <<_ACEOF
4247 cat confdefs.h >>conftest.$ac_ext
4248 cat >>conftest.$ac_ext <<_ACEOF
4249 /* end confdefs.h. */
4250 $ac_includes_default
4252 #include <$ac_header>
4254 rm -f conftest.$ac_objext
4255 if { (ac_try="$ac_compile"
4257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4258 *) ac_try_echo=$ac_try;;
4260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4261 (eval "$ac_compile") 2>conftest.er1
4263 grep -v '^ *+' conftest.er1 >conftest.err
4265 cat conftest.err >&5
4266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4267 (exit $ac_status); } &&
4268 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4269 { (case "(($ac_try" in
4270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4271 *) ac_try_echo=$ac_try;;
4273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4274 (eval "$ac_try") 2>&5
4276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4277 (exit $ac_status); }; } &&
4278 { ac_try='test -s conftest.$ac_objext'
4279 { (case "(($ac_try" in
4280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4281 *) ac_try_echo=$ac_try;;
4283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4284 (eval "$ac_try") 2>&5
4286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4287 (exit $ac_status); }; }; then
4288 eval "$as_ac_Header=yes"
4290 echo "$as_me: failed program was:" >&5
4291 sed 's/^/| /' conftest.$ac_ext >&5
4293 eval "$as_ac_Header=no"
4296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4298 ac_res=`eval echo '${'$as_ac_Header'}'`
4299 { echo "$as_me:$LINENO: result: $ac_res" >&5
4300 echo "${ECHO_T}$ac_res" >&6; }
4301 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4302 cat >>confdefs.h <<_ACEOF
4303 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4311 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4312 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
4313 if test "${ac_cv_c_bigendian+set}" = set; then
4314 echo $ECHO_N "(cached) $ECHO_C" >&6
4316 # See if sys/param.h defines the BYTE_ORDER macro.
4317 cat >conftest.$ac_ext <<_ACEOF
4320 cat confdefs.h >>conftest.$ac_ext
4321 cat >>conftest.$ac_ext <<_ACEOF
4322 /* end confdefs.h. */
4323 #include <sys/types.h>
4324 #include <sys/param.h>
4329 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4337 rm -f conftest.$ac_objext
4338 if { (ac_try="$ac_compile"
4340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4341 *) ac_try_echo=$ac_try;;
4343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4344 (eval "$ac_compile") 2>conftest.er1
4346 grep -v '^ *+' conftest.er1 >conftest.err
4348 cat conftest.err >&5
4349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4350 (exit $ac_status); } &&
4351 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4352 { (case "(($ac_try" in
4353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4354 *) ac_try_echo=$ac_try;;
4356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4357 (eval "$ac_try") 2>&5
4359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4360 (exit $ac_status); }; } &&
4361 { ac_try='test -s conftest.$ac_objext'
4362 { (case "(($ac_try" in
4363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4364 *) ac_try_echo=$ac_try;;
4366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4367 (eval "$ac_try") 2>&5
4369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4370 (exit $ac_status); }; }; then
4371 # It does; now see whether it defined to BIG_ENDIAN or not.
4372 cat >conftest.$ac_ext <<_ACEOF
4375 cat confdefs.h >>conftest.$ac_ext
4376 cat >>conftest.$ac_ext <<_ACEOF
4377 /* end confdefs.h. */
4378 #include <sys/types.h>
4379 #include <sys/param.h>
4384 #if BYTE_ORDER != BIG_ENDIAN
4392 rm -f conftest.$ac_objext
4393 if { (ac_try="$ac_compile"
4395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4396 *) ac_try_echo=$ac_try;;
4398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4399 (eval "$ac_compile") 2>conftest.er1
4401 grep -v '^ *+' conftest.er1 >conftest.err
4403 cat conftest.err >&5
4404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4405 (exit $ac_status); } &&
4406 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4407 { (case "(($ac_try" in
4408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4409 *) ac_try_echo=$ac_try;;
4411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4412 (eval "$ac_try") 2>&5
4414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4415 (exit $ac_status); }; } &&
4416 { ac_try='test -s conftest.$ac_objext'
4417 { (case "(($ac_try" in
4418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4419 *) ac_try_echo=$ac_try;;
4421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4422 (eval "$ac_try") 2>&5
4424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4425 (exit $ac_status); }; }; then
4426 ac_cv_c_bigendian=yes
4428 echo "$as_me: failed program was:" >&5
4429 sed 's/^/| /' conftest.$ac_ext >&5
4431 ac_cv_c_bigendian=no
4434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4436 echo "$as_me: failed program was:" >&5
4437 sed 's/^/| /' conftest.$ac_ext >&5
4439 # It does not; compile a test program.
4440 if test "$cross_compiling" = yes; then
4441 # try to guess the endianness by grepping values into an object file
4442 ac_cv_c_bigendian=unknown
4443 cat >conftest.$ac_ext <<_ACEOF
4446 cat confdefs.h >>conftest.$ac_ext
4447 cat >>conftest.$ac_ext <<_ACEOF
4448 /* end confdefs.h. */
4449 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4450 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4451 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4452 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4453 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4454 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4458 _ascii (); _ebcdic ();
4463 rm -f conftest.$ac_objext
4464 if { (ac_try="$ac_compile"
4466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4467 *) ac_try_echo=$ac_try;;
4469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4470 (eval "$ac_compile") 2>conftest.er1
4472 grep -v '^ *+' conftest.er1 >conftest.err
4474 cat conftest.err >&5
4475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4476 (exit $ac_status); } &&
4477 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4478 { (case "(($ac_try" in
4479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4480 *) ac_try_echo=$ac_try;;
4482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4483 (eval "$ac_try") 2>&5
4485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4486 (exit $ac_status); }; } &&
4487 { ac_try='test -s conftest.$ac_objext'
4488 { (case "(($ac_try" in
4489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4490 *) ac_try_echo=$ac_try;;
4492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4493 (eval "$ac_try") 2>&5
4495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4496 (exit $ac_status); }; }; then
4497 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4498 ac_cv_c_bigendian=yes
4500 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4501 if test "$ac_cv_c_bigendian" = unknown; then
4502 ac_cv_c_bigendian=no
4504 # finding both strings is unlikely to happen, but who knows?
4505 ac_cv_c_bigendian=unknown
4509 echo "$as_me: failed program was:" >&5
4510 sed 's/^/| /' conftest.$ac_ext >&5
4515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4517 cat >conftest.$ac_ext <<_ACEOF
4520 cat confdefs.h >>conftest.$ac_ext
4521 cat >>conftest.$ac_ext <<_ACEOF
4522 /* end confdefs.h. */
4523 $ac_includes_default
4528 /* Are we little or big endian? From Harbison&Steele. */
4532 char c[sizeof (long int)];
4535 return u.c[sizeof (long int) - 1] == 1;
4541 rm -f conftest$ac_exeext
4542 if { (ac_try="$ac_link"
4544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4545 *) ac_try_echo=$ac_try;;
4547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4548 (eval "$ac_link") 2>&5
4550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4551 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4552 { (case "(($ac_try" in
4553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4554 *) ac_try_echo=$ac_try;;
4556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4557 (eval "$ac_try") 2>&5
4559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4560 (exit $ac_status); }; }; then
4561 ac_cv_c_bigendian=no
4563 echo "$as_me: program exited with status $ac_status" >&5
4564 echo "$as_me: failed program was:" >&5
4565 sed 's/^/| /' conftest.$ac_ext >&5
4568 ac_cv_c_bigendian=yes
4570 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4578 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4579 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
4580 case $ac_cv_c_bigendian in
4588 { { echo "$as_me:$LINENO: error: unknown endianness
4589 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4590 echo "$as_me: error: unknown endianness
4591 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4592 { (exit 1); exit 1; }; } ;;
4596 if test "$cross_compiling" = yes; then
4597 LLVM_CROSS_COMPILING=1
4600 { echo "$as_me:$LINENO: checking for executable suffix on build platform" >&5
4601 echo $ECHO_N "checking for executable suffix on build platform... $ECHO_C" >&6; }
4602 if test "${ac_cv_build_exeext+set}" = set; then
4603 echo $ECHO_N "(cached) $ECHO_C" >&6
4605 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
4606 ac_cv_build_exeext=.exe
4608 ac_build_prefix=${build_alias}-
4610 # Extract the first word of "${ac_build_prefix}gcc", so it can be a program name with args.
4611 set dummy ${ac_build_prefix}gcc; ac_word=$2
4612 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4614 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4615 echo $ECHO_N "(cached) $ECHO_C" >&6
4617 if test -n "$BUILD_CC"; then
4618 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4624 test -z "$as_dir" && as_dir=.
4625 for ac_exec_ext in '' $ac_executable_extensions; do
4626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4627 ac_cv_prog_BUILD_CC="${ac_build_prefix}gcc"
4628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4637 BUILD_CC=$ac_cv_prog_BUILD_CC
4638 if test -n "$BUILD_CC"; then
4639 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4640 echo "${ECHO_T}$BUILD_CC" >&6; }
4642 { echo "$as_me:$LINENO: result: no" >&5
4643 echo "${ECHO_T}no" >&6; }
4647 if test -z "$BUILD_CC"; then
4648 # Extract the first word of "gcc", so it can be a program name with args.
4649 set dummy gcc; ac_word=$2
4650 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4652 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4653 echo $ECHO_N "(cached) $ECHO_C" >&6
4655 if test -n "$BUILD_CC"; then
4656 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4662 test -z "$as_dir" && as_dir=.
4663 for ac_exec_ext in '' $ac_executable_extensions; do
4664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4665 ac_cv_prog_BUILD_CC="gcc"
4666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4675 BUILD_CC=$ac_cv_prog_BUILD_CC
4676 if test -n "$BUILD_CC"; then
4677 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4678 echo "${ECHO_T}$BUILD_CC" >&6; }
4680 { echo "$as_me:$LINENO: result: no" >&5
4681 echo "${ECHO_T}no" >&6; }
4685 if test -z "$BUILD_CC"; then
4686 # Extract the first word of "cc", so it can be a program name with args.
4687 set dummy cc; ac_word=$2
4688 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4690 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4691 echo $ECHO_N "(cached) $ECHO_C" >&6
4693 if test -n "$BUILD_CC"; then
4694 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4701 test -z "$as_dir" && as_dir=.
4702 for ac_exec_ext in '' $ac_executable_extensions; do
4703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4704 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4705 ac_prog_rejected=yes
4708 ac_cv_prog_BUILD_CC="cc"
4709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4716 if test $ac_prog_rejected = yes; then
4717 # We found a bogon in the path, so make sure we never use it.
4718 set dummy $ac_cv_prog_BUILD_CC
4720 if test $# != 0; then
4721 # We chose a different compiler from the bogus one.
4722 # However, it has the same basename, so the bogon will be chosen
4723 # first if we set BUILD_CC to just the basename; use the full file name.
4725 ac_cv_prog_BUILD_CC="$as_dir/$ac_word${1+' '}$@"
4730 BUILD_CC=$ac_cv_prog_BUILD_CC
4731 if test -n "$BUILD_CC"; then
4732 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4733 echo "${ECHO_T}$BUILD_CC" >&6; }
4735 { echo "$as_me:$LINENO: result: no" >&5
4736 echo "${ECHO_T}no" >&6; }
4742 test -z "$BUILD_CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
4743 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
4744 { (exit 1); exit 1; }; }
4745 ac_build_link='${BUILD_CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4747 echo 'int main () { return 0; }' > conftest.$ac_ext
4749 if { (eval echo "$as_me:$LINENO: \"$ac_build_link\"") >&5
4750 (eval $ac_build_link) 2>&5
4752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4753 (exit $ac_status); }; then
4754 for file in conftest.*; do
4756 *.c | *.o | *.obj | *.dSYM) ;;
4757 *) ac_cv_build_exeext=`echo $file | sed -e s/conftest//` ;;
4761 { { echo "$as_me:$LINENO: error: installation or configuration problem: compiler cannot create executables." >&5
4762 echo "$as_me: error: installation or configuration problem: compiler cannot create executables." >&2;}
4763 { (exit 1); exit 1; }; }
4766 test x"${ac_cv_build_exeext}" = x && ac_cv_build_exeext=blank
4771 test x"${ac_cv_build_exeext}" != xblank && BUILD_EXEEXT=${ac_cv_build_exeext}
4772 { echo "$as_me:$LINENO: result: ${ac_cv_build_exeext}" >&5
4773 echo "${ECHO_T}${ac_cv_build_exeext}" >&6; }
4774 ac_build_exeext=$BUILD_EXEEXT
4776 ac_build_prefix=${build_alias}-
4777 # Extract the first word of "${ac_build_prefix}g++", so it can be a program name with args.
4778 set dummy ${ac_build_prefix}g++; ac_word=$2
4779 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4781 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
4782 echo $ECHO_N "(cached) $ECHO_C" >&6
4784 if test -n "$BUILD_CXX"; then
4785 ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
4787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4791 test -z "$as_dir" && as_dir=.
4792 for ac_exec_ext in '' $ac_executable_extensions; do
4793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4794 ac_cv_prog_BUILD_CXX="${ac_build_prefix}g++"
4795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4804 BUILD_CXX=$ac_cv_prog_BUILD_CXX
4805 if test -n "$BUILD_CXX"; then
4806 { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
4807 echo "${ECHO_T}$BUILD_CXX" >&6; }
4809 { echo "$as_me:$LINENO: result: no" >&5
4810 echo "${ECHO_T}no" >&6; }
4814 if test -z "$BUILD_CXX"; then
4815 # Extract the first word of "g++", so it can be a program name with args.
4816 set dummy g++; ac_word=$2
4817 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4819 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
4820 echo $ECHO_N "(cached) $ECHO_C" >&6
4822 if test -n "$BUILD_CXX"; then
4823 ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
4825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4829 test -z "$as_dir" && as_dir=.
4830 for ac_exec_ext in '' $ac_executable_extensions; do
4831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4832 ac_cv_prog_BUILD_CXX="g++"
4833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4842 BUILD_CXX=$ac_cv_prog_BUILD_CXX
4843 if test -n "$BUILD_CXX"; then
4844 { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
4845 echo "${ECHO_T}$BUILD_CXX" >&6; }
4847 { echo "$as_me:$LINENO: result: no" >&5
4848 echo "${ECHO_T}no" >&6; }
4852 if test -z "$BUILD_CXX"; then
4853 # Extract the first word of "c++", so it can be a program name with args.
4854 set dummy c++; ac_word=$2
4855 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4857 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
4858 echo $ECHO_N "(cached) $ECHO_C" >&6
4860 if test -n "$BUILD_CXX"; then
4861 ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
4864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4868 test -z "$as_dir" && as_dir=.
4869 for ac_exec_ext in '' $ac_executable_extensions; do
4870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4871 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/c++"; then
4872 ac_prog_rejected=yes
4875 ac_cv_prog_BUILD_CXX="c++"
4876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4883 if test $ac_prog_rejected = yes; then
4884 # We found a bogon in the path, so make sure we never use it.
4885 set dummy $ac_cv_prog_BUILD_CXX
4887 if test $# != 0; then
4888 # We chose a different compiler from the bogus one.
4889 # However, it has the same basename, so the bogon will be chosen
4890 # first if we set BUILD_CXX to just the basename; use the full file name.
4892 ac_cv_prog_BUILD_CXX="$as_dir/$ac_word${1+' '}$@"
4897 BUILD_CXX=$ac_cv_prog_BUILD_CXX
4898 if test -n "$BUILD_CXX"; then
4899 { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
4900 echo "${ECHO_T}$BUILD_CXX" >&6; }
4902 { echo "$as_me:$LINENO: result: no" >&5
4903 echo "${ECHO_T}no" >&6; }
4910 LLVM_CROSS_COMPILING=0
4914 if test -d ".svn" -o -d "${srcdir}/.svn" -o -d ".git" -o -d "${srcdir}/.git"; then
4925 # Check whether --enable-libcpp was given.
4926 if test "${enable_libcpp+set}" = set; then
4927 enableval=$enable_libcpp;
4932 case "$enableval" in
4933 yes) ENABLE_LIBCPP=1
4937 default) ENABLE_LIBCPP=0
4939 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-libcpp. Use \"yes\" or \"no\"" >&5
4940 echo "$as_me: error: Invalid setting for --enable-libcpp. Use \"yes\" or \"no\"" >&2;}
4941 { (exit 1); exit 1; }; } ;;
4944 # Check whether --enable-optimized was given.
4945 if test "${enable_optimized+set}" = set; then
4946 enableval=$enable_optimized;
4951 if test ${enableval} = "no" ; then
4955 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
4959 # Check whether --enable-profiling was given.
4960 if test "${enable_profiling+set}" = set; then
4961 enableval=$enable_profiling;
4966 if test ${enableval} = "no" ; then
4970 ENABLE_PROFILING=ENABLE_PROFILING=1
4974 # Check whether --enable-assertions was given.
4975 if test "${enable_assertions+set}" = set; then
4976 enableval=$enable_assertions;
4981 if test ${enableval} = "yes" ; then
4985 DISABLE_ASSERTIONS=DISABLE_ASSERTIONS=1
4989 # Check whether --enable-expensive-checks was given.
4990 if test "${enable_expensive_checks+set}" = set; then
4991 enableval=$enable_expensive_checks;
4996 if test ${enableval} = "yes" ; then
4997 ENABLE_EXPENSIVE_CHECKS=ENABLE_EXPENSIVE_CHECKS=1
4999 EXPENSIVE_CHECKS=yes
5002 ENABLE_EXPENSIVE_CHECKS=
5008 # Check whether --enable-debug-runtime was given.
5009 if test "${enable_debug_runtime+set}" = set; then
5010 enableval=$enable_debug_runtime;
5015 if test ${enableval} = "no" ; then
5019 DEBUG_RUNTIME=DEBUG_RUNTIME=1
5023 # Check whether --enable-debug-symbols was given.
5024 if test "${enable_debug_symbols+set}" = set; then
5025 enableval=$enable_debug_symbols;
5030 if test ${enableval} = "no" ; then
5034 DEBUG_SYMBOLS=DEBUG_SYMBOLS=1
5038 # Check whether --enable-jit was given.
5039 if test "${enable_jit+set}" = set; then
5040 enableval=$enable_jit;
5045 if test ${enableval} = "no"
5050 case "$llvm_cv_target_arch" in
5051 x86) TARGET_HAS_JIT=1
5053 Sparc) TARGET_HAS_JIT=0
5055 PowerPC) TARGET_HAS_JIT=1
5057 x86_64) TARGET_HAS_JIT=1
5059 ARM) TARGET_HAS_JIT=1
5061 Mips) TARGET_HAS_JIT=1
5063 XCore) TARGET_HAS_JIT=0
5065 MSP430) TARGET_HAS_JIT=0
5067 Hexagon) TARGET_HAS_JIT=0
5069 MBlaze) TARGET_HAS_JIT=0
5071 PTX) TARGET_HAS_JIT=0
5078 # Check whether --enable-docs was given.
5079 if test "${enable_docs+set}" = set; then
5080 enableval=$enable_docs;
5085 case "$enableval" in
5090 default) ENABLE_DOCS=1
5092 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-docs. Use \"yes\" or \"no\"" >&5
5093 echo "$as_me: error: Invalid setting for --enable-docs. Use \"yes\" or \"no\"" >&2;}
5094 { (exit 1); exit 1; }; } ;;
5097 # Check whether --enable-doxygen was given.
5098 if test "${enable_doxygen+set}" = set; then
5099 enableval=$enable_doxygen;
5104 case "$enableval" in
5105 yes) ENABLE_DOXYGEN=1
5107 no) ENABLE_DOXYGEN=0
5109 default) ENABLE_DOXYGEN=0
5111 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&5
5112 echo "$as_me: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&2;}
5113 { (exit 1); exit 1; }; } ;;
5116 # Check whether --enable-threads was given.
5117 if test "${enable_threads+set}" = set; then
5118 enableval=$enable_threads;
5123 case "$enableval" in
5124 yes) ENABLE_THREADS=1
5126 no) ENABLE_THREADS=0
5128 default) ENABLE_THREADS=1
5130 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&5
5131 echo "$as_me: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&2;}
5132 { (exit 1); exit 1; }; } ;;
5135 cat >>confdefs.h <<_ACEOF
5136 #define ENABLE_THREADS $ENABLE_THREADS
5140 # Check whether --enable-pthreads was given.
5141 if test "${enable_pthreads+set}" = set; then
5142 enableval=$enable_pthreads;
5147 case "$enableval" in
5148 yes) ENABLE_PTHREADS=1
5150 no) ENABLE_PTHREADS=0
5152 default) ENABLE_PTHREADS=1
5154 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-pthreads. Use \"yes\" or \"no\"" >&5
5155 echo "$as_me: error: Invalid setting for --enable-pthreads. Use \"yes\" or \"no\"" >&2;}
5156 { (exit 1); exit 1; }; } ;;
5159 # Check whether --enable-pic was given.
5160 if test "${enable_pic+set}" = set; then
5161 enableval=$enable_pic;
5166 case "$enableval" in
5171 default) ENABLE_PIC=1
5173 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-pic. Use \"yes\" or \"no\"" >&5
5174 echo "$as_me: error: Invalid setting for --enable-pic. Use \"yes\" or \"no\"" >&2;}
5175 { (exit 1); exit 1; }; } ;;
5178 cat >>confdefs.h <<_ACEOF
5179 #define ENABLE_PIC $ENABLE_PIC
5183 # Check whether --enable-shared was given.
5184 if test "${enable_shared+set}" = set; then
5185 enableval=$enable_shared;
5190 case "$enableval" in
5191 yes) ENABLE_SHARED=1
5195 default) ENABLE_SHARED=0
5197 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-shared. Use \"yes\" or \"no\"" >&5
5198 echo "$as_me: error: Invalid setting for --enable-shared. Use \"yes\" or \"no\"" >&2;}
5199 { (exit 1); exit 1; }; } ;;
5202 # Check whether --enable-embed-stdcxx was given.
5203 if test "${enable_embed_stdcxx+set}" = set; then
5204 enableval=$enable_embed_stdcxx;
5209 case "$enableval" in
5210 yes) ENABLE_EMBED_STDCXX=1
5212 no) ENABLE_EMBED_STDCXX=0
5214 default) ENABLE_EMBED_STDCXX=1
5216 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-embed-stdcxx. Use \"yes\" or \"no\"" >&5
5217 echo "$as_me: error: Invalid setting for --enable-embed-stdcxx. Use \"yes\" or \"no\"" >&2;}
5218 { (exit 1); exit 1; }; } ;;
5221 # Check whether --enable-timestamps was given.
5222 if test "${enable_timestamps+set}" = set; then
5223 enableval=$enable_timestamps;
5228 case "$enableval" in
5229 yes) ENABLE_TIMESTAMPS=1
5231 no) ENABLE_TIMESTAMPS=0
5233 default) ENABLE_TIMESTAMPS=1
5235 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-timestamps. Use \"yes\" or \"no\"" >&5
5236 echo "$as_me: error: Invalid setting for --enable-timestamps. Use \"yes\" or \"no\"" >&2;}
5237 { (exit 1); exit 1; }; } ;;
5240 cat >>confdefs.h <<_ACEOF
5241 #define ENABLE_TIMESTAMPS $ENABLE_TIMESTAMPS
5246 # Check whether --enable-targets was given.
5247 if test "${enable_targets+set}" = set; then
5248 enableval=$enable_targets;
5253 if test "$enableval" = host-only ; then
5256 case "$enableval" in
5257 all) TARGETS_TO_BUILD="X86 Sparc PowerPC ARM Mips CellSPU XCore MSP430 Hexagon CppBackend MBlaze PTX" ;;
5258 *)for a_target in `echo $enableval|sed -e 's/,/ /g' ` ; do
5260 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
5261 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
5262 sparc) TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;;
5263 powerpc) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
5264 arm) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
5265 mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
5266 spu) TARGETS_TO_BUILD="CellSPU $TARGETS_TO_BUILD" ;;
5267 xcore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;;
5268 msp430) TARGETS_TO_BUILD="MSP430 $TARGETS_TO_BUILD" ;;
5269 hexagon) TARGETS_TO_BUILD="Hexagon $TARGETS_TO_BUILD" ;;
5270 cpp) TARGETS_TO_BUILD="CppBackend $TARGETS_TO_BUILD" ;;
5271 mblaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;;
5272 ptx) TARGETS_TO_BUILD="PTX $TARGETS_TO_BUILD" ;;
5273 host) case "$llvm_cv_target_arch" in
5274 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
5275 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
5276 Sparc) TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;;
5277 PowerPC) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
5278 ARM) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
5279 Mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
5280 MBlaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;;
5281 CellSPU|SPU) TARGETS_TO_BUILD="CellSPU $TARGETS_TO_BUILD" ;;
5282 XCore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;;
5283 MSP430) TARGETS_TO_BUILD="MSP430 $TARGETS_TO_BUILD" ;;
5284 Hexagon) TARGETS_TO_BUILD="Hexagon $TARGETS_TO_BUILD" ;;
5285 PTX) TARGETS_TO_BUILD="PTX $TARGETS_TO_BUILD" ;;
5286 *) { { echo "$as_me:$LINENO: error: Can not set target to build" >&5
5287 echo "$as_me: error: Can not set target to build" >&2;}
5288 { (exit 1); exit 1; }; } ;;
5290 *) { { echo "$as_me:$LINENO: error: Unrecognized target $a_target" >&5
5291 echo "$as_me: error: Unrecognized target $a_target" >&2;}
5292 { (exit 1); exit 1; }; } ;;
5297 TARGETS_TO_BUILD=$TARGETS_TO_BUILD
5300 # Determine whether we are building LLVM support for the native architecture.
5301 # If so, define LLVM_NATIVE_ARCH to that LLVM target.
5302 for a_target in $TARGETS_TO_BUILD; do
5303 if test "$a_target" = "$LLVM_NATIVE_ARCH"; then
5305 cat >>confdefs.h <<_ACEOF
5306 #define LLVM_NATIVE_ARCH $LLVM_NATIVE_ARCH
5309 LLVM_NATIVE_TARGET="LLVMInitialize${LLVM_NATIVE_ARCH}Target"
5310 LLVM_NATIVE_TARGETINFO="LLVMInitialize${LLVM_NATIVE_ARCH}TargetInfo"
5311 LLVM_NATIVE_TARGETMC="LLVMInitialize${LLVM_NATIVE_ARCH}TargetMC"
5312 LLVM_NATIVE_ASMPRINTER="LLVMInitialize${LLVM_NATIVE_ARCH}AsmPrinter"
5313 if test -f ${srcdir}/lib/Target/${LLVM_NATIVE_ARCH}/AsmParser/Makefile ; then
5314 LLVM_NATIVE_ASMPARSER="LLVMInitialize${LLVM_NATIVE_ARCH}AsmParser"
5316 if test -f ${srcdir}/lib/Target/${LLVM_NATIVE_ARCH}/Disassembler/Makefile ; then
5317 LLVM_NATIVE_DISASSEMBLER="LLVMInitialize${LLVM_NATIVE_ARCH}Disassembler"
5320 cat >>confdefs.h <<_ACEOF
5321 #define LLVM_NATIVE_TARGET $LLVM_NATIVE_TARGET
5325 cat >>confdefs.h <<_ACEOF
5326 #define LLVM_NATIVE_TARGETINFO $LLVM_NATIVE_TARGETINFO
5330 cat >>confdefs.h <<_ACEOF
5331 #define LLVM_NATIVE_TARGETMC $LLVM_NATIVE_TARGETMC
5335 cat >>confdefs.h <<_ACEOF
5336 #define LLVM_NATIVE_ASMPRINTER $LLVM_NATIVE_ASMPRINTER
5339 if test -f ${srcdir}/lib/Target/${LLVM_NATIVE_ARCH}/AsmParser/Makefile ; then
5341 cat >>confdefs.h <<_ACEOF
5342 #define LLVM_NATIVE_ASMPARSER $LLVM_NATIVE_ASMPARSER
5346 if test -f ${srcdir}/lib/Target/${LLVM_NATIVE_ARCH}/Disassembler/Makefile ; then
5348 cat >>confdefs.h <<_ACEOF
5349 #define LLVM_NATIVE_DISASSEMBLER $LLVM_NATIVE_DISASSEMBLER
5356 # Build the LLVM_TARGET and LLVM_... macros for Targets.def and the individual
5357 # target feature def files.
5358 LLVM_ENUM_TARGETS=""
5359 LLVM_ENUM_ASM_PRINTERS=""
5360 LLVM_ENUM_ASM_PARSERS=""
5361 LLVM_ENUM_DISASSEMBLERS=""
5362 for target_to_build in $TARGETS_TO_BUILD; do
5363 LLVM_ENUM_TARGETS="LLVM_TARGET($target_to_build) $LLVM_ENUM_TARGETS"
5364 if test -f ${srcdir}/lib/Target/${target_to_build}/*AsmPrinter.cpp ; then
5365 LLVM_ENUM_ASM_PRINTERS="LLVM_ASM_PRINTER($target_to_build) $LLVM_ENUM_ASM_PRINTERS";
5367 if test -f ${srcdir}/lib/Target/${target_to_build}/AsmParser/Makefile ; then
5368 LLVM_ENUM_ASM_PARSERS="LLVM_ASM_PARSER($target_to_build) $LLVM_ENUM_ASM_PARSERS";
5370 if test -f ${srcdir}/lib/Target/${target_to_build}/Disassembler/Makefile ; then
5371 LLVM_ENUM_DISASSEMBLERS="LLVM_DISASSEMBLER($target_to_build) $LLVM_ENUM_DISASSEMBLERS";
5380 # Check whether --with-optimize-option was given.
5381 if test "${with_optimize_option+set}" = set; then
5382 withval=$with_optimize_option;
5387 { echo "$as_me:$LINENO: checking optimization flags" >&5
5388 echo $ECHO_N "checking optimization flags... $ECHO_C" >&6; }
5391 case "$llvm_cv_os_type" in
5392 FreeBSD) optimize_option=-O2 ;;
5393 MingW) optimize_option=-O2 ;;
5394 *) optimize_option=-O3 ;;
5396 *) optimize_option="$withval" ;;
5398 OPTIMIZE_OPTION=$optimize_option
5400 { echo "$as_me:$LINENO: result: $optimize_option" >&5
5401 echo "${ECHO_T}$optimize_option" >&6; }
5404 # Check whether --with-extra-options was given.
5405 if test "${with_extra_options+set}" = set; then
5406 withval=$with_extra_options;
5412 default) EXTRA_OPTIONS= ;;
5413 *) EXTRA_OPTIONS=$withval ;;
5415 EXTRA_OPTIONS=$EXTRA_OPTIONS
5419 # Check whether --with-extra-ld-options was given.
5420 if test "${with_extra_ld_options+set}" = set; then
5421 withval=$with_extra_ld_options;
5427 default) EXTRA_LD_OPTIONS= ;;
5428 *) EXTRA_LD_OPTIONS=$withval ;;
5430 EXTRA_LD_OPTIONS=$EXTRA_LD_OPTIONS
5433 # Check whether --enable-bindings was given.
5434 if test "${enable_bindings+set}" = set; then
5435 enableval=$enable_bindings;
5440 BINDINGS_TO_BUILD=""
5441 case "$enableval" in
5442 yes | default | auto) BINDINGS_TO_BUILD="auto" ;;
5443 all ) BINDINGS_TO_BUILD="ocaml" ;;
5444 none | no) BINDINGS_TO_BUILD="" ;;
5445 *)for a_binding in `echo $enableval|sed -e 's/,/ /g' ` ; do
5446 case "$a_binding" in
5447 ocaml) BINDINGS_TO_BUILD="ocaml $BINDINGS_TO_BUILD" ;;
5448 *) { { echo "$as_me:$LINENO: error: Unrecognized binding $a_binding" >&5
5449 echo "$as_me: error: Unrecognized binding $a_binding" >&2;}
5450 { (exit 1); exit 1; }; } ;;
5457 # Check whether --with-ocaml-libdir was given.
5458 if test "${with_ocaml_libdir+set}" = set; then
5459 withval=$with_ocaml_libdir;
5465 auto) with_ocaml_libdir="$withval" ;;
5466 /* | [A-Za-z]:[\\/]*) with_ocaml_libdir="$withval" ;;
5467 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-ocaml-libdir. Provide full path" >&5
5468 echo "$as_me: error: Invalid path for --with-ocaml-libdir. Provide full path" >&2;}
5469 { (exit 1); exit 1; }; } ;;
5473 # Check whether --with-clang-resource-dir was given.
5474 if test "${with_clang_resource_dir+set}" = set; then
5475 withval=$with_clang_resource_dir;
5481 cat >>confdefs.h <<_ACEOF
5482 #define CLANG_RESOURCE_DIR "$withval"
5487 # Check whether --with-c-include-dirs was given.
5488 if test "${with_c_include_dirs+set}" = set; then
5489 withval=$with_c_include_dirs;
5495 cat >>confdefs.h <<_ACEOF
5496 #define C_INCLUDE_DIRS "$withval"
5500 # Clang normally uses the system c++ headers and libraries. With this option,
5501 # clang will use the ones provided by a gcc installation instead. This option should
5502 # be passed the same value that was used with --prefix when configuring gcc.
5504 # Check whether --with-gcc-toolchain was given.
5505 if test "${with_gcc_toolchain+set}" = set; then
5506 withval=$with_gcc_toolchain;
5512 cat >>confdefs.h <<_ACEOF
5513 #define GCC_INSTALL_PREFIX "$withval"
5518 # Check whether --with-binutils-include was given.
5519 if test "${with_binutils_include+set}" = set; then
5520 withval=$with_binutils_include;
5526 default) WITH_BINUTILS_INCDIR=default ;;
5527 /* | [A-Za-z]:[\\/]*) WITH_BINUTILS_INCDIR=$withval ;;
5528 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-binutils-include. Provide full path" >&5
5529 echo "$as_me: error: Invalid path for --with-binutils-include. Provide full path" >&2;}
5530 { (exit 1); exit 1; }; } ;;
5532 if test "x$WITH_BINUTILS_INCDIR" != xdefault ; then
5533 BINUTILS_INCDIR=$WITH_BINUTILS_INCDIR
5535 if test ! -f "$WITH_BINUTILS_INCDIR/plugin-api.h"; then
5536 echo "$WITH_BINUTILS_INCDIR/plugin-api.h"
5537 { { echo "$as_me:$LINENO: error: Invalid path to directory containing plugin-api.h." >&5
5538 echo "$as_me: error: Invalid path to directory containing plugin-api.h." >&2;}
5539 { (exit 1); exit 1; }; };
5544 # Check whether --with-bug-report-url was given.
5545 if test "${with_bug_report_url+set}" = set; then
5546 withval=$with_bug_report_url;
5548 withval="http://llvm.org/bugs/"
5552 cat >>confdefs.h <<_ACEOF
5553 #define BUG_REPORT_URL "$withval"
5557 # Check whether --enable-libffi was given.
5558 if test "${enable_libffi+set}" = set; then
5559 enableval=$enable_libffi; case "$enableval" in
5560 yes) llvm_cv_enable_libffi="yes" ;;
5561 no) llvm_cv_enable_libffi="no" ;;
5562 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-libffi. Use \"yes\" or \"no\"" >&5
5563 echo "$as_me: error: Invalid setting for --enable-libffi. Use \"yes\" or \"no\"" >&2;}
5564 { (exit 1); exit 1; }; } ;;
5567 llvm_cv_enable_libffi=no
5572 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5573 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
5574 if test "${lt_cv_path_NM+set}" = set; then
5575 echo $ECHO_N "(cached) $ECHO_C" >&6
5577 if test -n "$NM"; then
5578 # Let the user override the test.
5581 lt_nm_to_check="${ac_tool_prefix}nm"
5582 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5583 lt_nm_to_check="$lt_nm_to_check nm"
5585 for lt_tmp_nm in $lt_nm_to_check; do
5586 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5587 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5589 test -z "$ac_dir" && ac_dir=.
5590 tmp_nm="$ac_dir/$lt_tmp_nm"
5591 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5592 # Check to see if the nm accepts a BSD-compat flag.
5593 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5594 # nm: unknown option "B" ignored
5595 # Tru64's nm complains that /dev/null is an invalid object file
5596 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5597 */dev/null* | *'Invalid file or object type'*)
5598 lt_cv_path_NM="$tmp_nm -B"
5602 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5604 lt_cv_path_NM="$tmp_nm -p"
5608 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5609 continue # so that we can try to find one that supports BSD flags
5618 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
5621 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5622 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
5627 { echo "$as_me:$LINENO: checking for GNU make" >&5
5628 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6; }
5629 if test "${llvm_cv_gnu_make_command+set}" = set; then
5630 echo $ECHO_N "(cached) $ECHO_C" >&6
5632 llvm_cv_gnu_make_command=''
5633 for a in "$MAKE" make gmake gnumake ; do
5634 if test -z "$a" ; then continue ; fi ;
5635 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null )
5637 llvm_cv_gnu_make_command=$a ;
5642 { echo "$as_me:$LINENO: result: $llvm_cv_gnu_make_command" >&5
5643 echo "${ECHO_T}$llvm_cv_gnu_make_command" >&6; }
5644 if test "x$llvm_cv_gnu_make_command" != "x" ; then
5648 { echo "$as_me:$LINENO: result: \"Not found\"" >&5
5649 echo "${ECHO_T}\"Not found\"" >&6; };
5653 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5654 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5656 if test "$LN_S" = "ln -s"; then
5657 { echo "$as_me:$LINENO: result: yes" >&5
5658 echo "${ECHO_T}yes" >&6; }
5660 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5661 echo "${ECHO_T}no, using $LN_S" >&6; }
5664 # Extract the first word of "cmp", so it can be a program name with args.
5665 set dummy cmp; ac_word=$2
5666 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5668 if test "${ac_cv_path_CMP+set}" = set; then
5669 echo $ECHO_N "(cached) $ECHO_C" >&6
5673 ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
5676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5680 test -z "$as_dir" && as_dir=.
5681 for ac_exec_ext in '' $ac_executable_extensions; do
5682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5683 ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
5684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5691 test -z "$ac_cv_path_CMP" && ac_cv_path_CMP="cmp"
5696 if test -n "$CMP"; then
5697 { echo "$as_me:$LINENO: result: $CMP" >&5
5698 echo "${ECHO_T}$CMP" >&6; }
5700 { echo "$as_me:$LINENO: result: no" >&5
5701 echo "${ECHO_T}no" >&6; }
5705 # Extract the first word of "cp", so it can be a program name with args.
5706 set dummy cp; ac_word=$2
5707 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5709 if test "${ac_cv_path_CP+set}" = set; then
5710 echo $ECHO_N "(cached) $ECHO_C" >&6
5714 ac_cv_path_CP="$CP" # Let the user override the test with a path.
5717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5721 test -z "$as_dir" && as_dir=.
5722 for ac_exec_ext in '' $ac_executable_extensions; do
5723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5724 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
5725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5732 test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
5737 if test -n "$CP"; then
5738 { echo "$as_me:$LINENO: result: $CP" >&5
5739 echo "${ECHO_T}$CP" >&6; }
5741 { echo "$as_me:$LINENO: result: no" >&5
5742 echo "${ECHO_T}no" >&6; }
5746 # Extract the first word of "date", so it can be a program name with args.
5747 set dummy date; ac_word=$2
5748 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5750 if test "${ac_cv_path_DATE+set}" = set; then
5751 echo $ECHO_N "(cached) $ECHO_C" >&6
5755 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
5758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5762 test -z "$as_dir" && as_dir=.
5763 for ac_exec_ext in '' $ac_executable_extensions; do
5764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5765 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
5766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5773 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE="date"
5777 DATE=$ac_cv_path_DATE
5778 if test -n "$DATE"; then
5779 { echo "$as_me:$LINENO: result: $DATE" >&5
5780 echo "${ECHO_T}$DATE" >&6; }
5782 { echo "$as_me:$LINENO: result: no" >&5
5783 echo "${ECHO_T}no" >&6; }
5787 # Extract the first word of "find", so it can be a program name with args.
5788 set dummy find; ac_word=$2
5789 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5791 if test "${ac_cv_path_FIND+set}" = set; then
5792 echo $ECHO_N "(cached) $ECHO_C" >&6
5796 ac_cv_path_FIND="$FIND" # Let the user override the test with a path.
5799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5803 test -z "$as_dir" && as_dir=.
5804 for ac_exec_ext in '' $ac_executable_extensions; do
5805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5806 ac_cv_path_FIND="$as_dir/$ac_word$ac_exec_ext"
5807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5814 test -z "$ac_cv_path_FIND" && ac_cv_path_FIND="find"
5818 FIND=$ac_cv_path_FIND
5819 if test -n "$FIND"; then
5820 { echo "$as_me:$LINENO: result: $FIND" >&5
5821 echo "${ECHO_T}$FIND" >&6; }
5823 { echo "$as_me:$LINENO: result: no" >&5
5824 echo "${ECHO_T}no" >&6; }
5828 # Extract the first word of "grep", so it can be a program name with args.
5829 set dummy grep; ac_word=$2
5830 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5832 if test "${ac_cv_path_GREP+set}" = set; then
5833 echo $ECHO_N "(cached) $ECHO_C" >&6
5837 ac_cv_path_GREP="$GREP" # Let the user override the test with a path.
5840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5844 test -z "$as_dir" && as_dir=.
5845 for ac_exec_ext in '' $ac_executable_extensions; do
5846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5847 ac_cv_path_GREP="$as_dir/$ac_word$ac_exec_ext"
5848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5855 test -z "$ac_cv_path_GREP" && ac_cv_path_GREP="grep"
5859 GREP=$ac_cv_path_GREP
5860 if test -n "$GREP"; then
5861 { echo "$as_me:$LINENO: result: $GREP" >&5
5862 echo "${ECHO_T}$GREP" >&6; }
5864 { echo "$as_me:$LINENO: result: no" >&5
5865 echo "${ECHO_T}no" >&6; }
5869 # Extract the first word of "mkdir", so it can be a program name with args.
5870 set dummy mkdir; ac_word=$2
5871 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5873 if test "${ac_cv_path_MKDIR+set}" = set; then
5874 echo $ECHO_N "(cached) $ECHO_C" >&6
5878 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
5881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5885 test -z "$as_dir" && as_dir=.
5886 for ac_exec_ext in '' $ac_executable_extensions; do
5887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5888 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
5889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5896 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR="mkdir"
5900 MKDIR=$ac_cv_path_MKDIR
5901 if test -n "$MKDIR"; then
5902 { echo "$as_me:$LINENO: result: $MKDIR" >&5
5903 echo "${ECHO_T}$MKDIR" >&6; }
5905 { echo "$as_me:$LINENO: result: no" >&5
5906 echo "${ECHO_T}no" >&6; }
5910 # Extract the first word of "mv", so it can be a program name with args.
5911 set dummy mv; ac_word=$2
5912 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5914 if test "${ac_cv_path_MV+set}" = set; then
5915 echo $ECHO_N "(cached) $ECHO_C" >&6
5919 ac_cv_path_MV="$MV" # Let the user override the test with a path.
5922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5926 test -z "$as_dir" && as_dir=.
5927 for ac_exec_ext in '' $ac_executable_extensions; do
5928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5929 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
5930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5937 test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
5942 if test -n "$MV"; then
5943 { echo "$as_me:$LINENO: result: $MV" >&5
5944 echo "${ECHO_T}$MV" >&6; }
5946 { echo "$as_me:$LINENO: result: no" >&5
5947 echo "${ECHO_T}no" >&6; }
5951 if test -n "$ac_tool_prefix"; then
5952 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5953 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5954 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5956 if test "${ac_cv_prog_RANLIB+set}" = set; then
5957 echo $ECHO_N "(cached) $ECHO_C" >&6
5959 if test -n "$RANLIB"; then
5960 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5966 test -z "$as_dir" && as_dir=.
5967 for ac_exec_ext in '' $ac_executable_extensions; do
5968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5969 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5979 RANLIB=$ac_cv_prog_RANLIB
5980 if test -n "$RANLIB"; then
5981 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5982 echo "${ECHO_T}$RANLIB" >&6; }
5984 { echo "$as_me:$LINENO: result: no" >&5
5985 echo "${ECHO_T}no" >&6; }
5990 if test -z "$ac_cv_prog_RANLIB"; then
5991 ac_ct_RANLIB=$RANLIB
5992 # Extract the first word of "ranlib", so it can be a program name with args.
5993 set dummy ranlib; ac_word=$2
5994 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5996 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5997 echo $ECHO_N "(cached) $ECHO_C" >&6
5999 if test -n "$ac_ct_RANLIB"; then
6000 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6006 test -z "$as_dir" && as_dir=.
6007 for ac_exec_ext in '' $ac_executable_extensions; do
6008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6009 ac_cv_prog_ac_ct_RANLIB="ranlib"
6010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6019 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6020 if test -n "$ac_ct_RANLIB"; then
6021 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6022 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6024 { echo "$as_me:$LINENO: result: no" >&5
6025 echo "${ECHO_T}no" >&6; }
6028 if test "x$ac_ct_RANLIB" = x; then
6031 case $cross_compiling:$ac_tool_warned in
6033 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6034 whose name does not start with the host triplet. If you think this
6035 configuration is useful to you, please write to autoconf@gnu.org." >&5
6036 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6037 whose name does not start with the host triplet. If you think this
6038 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6039 ac_tool_warned=yes ;;
6041 RANLIB=$ac_ct_RANLIB
6044 RANLIB="$ac_cv_prog_RANLIB"
6047 if test -n "$ac_tool_prefix"; then
6048 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6049 set dummy ${ac_tool_prefix}ar; 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_AR+set}" = set; then
6053 echo $ECHO_N "(cached) $ECHO_C" >&6
6055 if test -n "$AR"; then
6056 ac_cv_prog_AR="$AR" # 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_AR="${ac_tool_prefix}ar"
6066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6076 if test -n "$AR"; then
6077 { echo "$as_me:$LINENO: result: $AR" >&5
6078 echo "${ECHO_T}$AR" >&6; }
6080 { echo "$as_me:$LINENO: result: no" >&5
6081 echo "${ECHO_T}no" >&6; }
6086 if test -z "$ac_cv_prog_AR"; then
6088 # Extract the first word of "ar", so it can be a program name with args.
6089 set dummy ar; ac_word=$2
6090 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6092 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6093 echo $ECHO_N "(cached) $ECHO_C" >&6
6095 if test -n "$ac_ct_AR"; then
6096 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6102 test -z "$as_dir" && as_dir=.
6103 for ac_exec_ext in '' $ac_executable_extensions; do
6104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6105 ac_cv_prog_ac_ct_AR="ar"
6106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6115 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6116 if test -n "$ac_ct_AR"; then
6117 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6118 echo "${ECHO_T}$ac_ct_AR" >&6; }
6120 { echo "$as_me:$LINENO: result: no" >&5
6121 echo "${ECHO_T}no" >&6; }
6124 if test "x$ac_ct_AR" = x; then
6127 case $cross_compiling:$ac_tool_warned in
6129 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6130 whose name does not start with the host triplet. If you think this
6131 configuration is useful to you, please write to autoconf@gnu.org." >&5
6132 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6133 whose name does not start with the host triplet. If you think this
6134 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6135 ac_tool_warned=yes ;;
6143 # Extract the first word of "rm", so it can be a program name with args.
6144 set dummy rm; ac_word=$2
6145 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6147 if test "${ac_cv_path_RM+set}" = set; then
6148 echo $ECHO_N "(cached) $ECHO_C" >&6
6152 ac_cv_path_RM="$RM" # Let the user override the test with a path.
6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6159 test -z "$as_dir" && as_dir=.
6160 for ac_exec_ext in '' $ac_executable_extensions; do
6161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6162 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
6163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6170 test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
6175 if test -n "$RM"; then
6176 { echo "$as_me:$LINENO: result: $RM" >&5
6177 echo "${ECHO_T}$RM" >&6; }
6179 { echo "$as_me:$LINENO: result: no" >&5
6180 echo "${ECHO_T}no" >&6; }
6184 # Extract the first word of "sed", so it can be a program name with args.
6185 set dummy sed; ac_word=$2
6186 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6188 if test "${ac_cv_path_SED+set}" = set; then
6189 echo $ECHO_N "(cached) $ECHO_C" >&6
6193 ac_cv_path_SED="$SED" # Let the user override the test with a path.
6196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6200 test -z "$as_dir" && as_dir=.
6201 for ac_exec_ext in '' $ac_executable_extensions; do
6202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6203 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
6204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6211 test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed"
6216 if test -n "$SED"; then
6217 { echo "$as_me:$LINENO: result: $SED" >&5
6218 echo "${ECHO_T}$SED" >&6; }
6220 { echo "$as_me:$LINENO: result: no" >&5
6221 echo "${ECHO_T}no" >&6; }
6225 # Extract the first word of "tar", so it can be a program name with args.
6226 set dummy tar; ac_word=$2
6227 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6229 if test "${ac_cv_path_TAR+set}" = set; then
6230 echo $ECHO_N "(cached) $ECHO_C" >&6
6234 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
6237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6241 test -z "$as_dir" && as_dir=.
6242 for ac_exec_ext in '' $ac_executable_extensions; do
6243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6244 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
6245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6252 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="gtar"
6257 if test -n "$TAR"; then
6258 { echo "$as_me:$LINENO: result: $TAR" >&5
6259 echo "${ECHO_T}$TAR" >&6; }
6261 { echo "$as_me:$LINENO: result: no" >&5
6262 echo "${ECHO_T}no" >&6; }
6266 # Extract the first word of "pwd", so it can be a program name with args.
6267 set dummy pwd; ac_word=$2
6268 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6270 if test "${ac_cv_path_BINPWD+set}" = set; then
6271 echo $ECHO_N "(cached) $ECHO_C" >&6
6275 ac_cv_path_BINPWD="$BINPWD" # Let the user override the test with a path.
6278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6282 test -z "$as_dir" && as_dir=.
6283 for ac_exec_ext in '' $ac_executable_extensions; do
6284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6285 ac_cv_path_BINPWD="$as_dir/$ac_word$ac_exec_ext"
6286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6293 test -z "$ac_cv_path_BINPWD" && ac_cv_path_BINPWD="pwd"
6297 BINPWD=$ac_cv_path_BINPWD
6298 if test -n "$BINPWD"; then
6299 { echo "$as_me:$LINENO: result: $BINPWD" >&5
6300 echo "${ECHO_T}$BINPWD" >&6; }
6302 { echo "$as_me:$LINENO: result: no" >&5
6303 echo "${ECHO_T}no" >&6; }
6308 # Extract the first word of "Graphviz", so it can be a program name with args.
6309 set dummy Graphviz; ac_word=$2
6310 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6312 if test "${ac_cv_path_GRAPHVIZ+set}" = set; then
6313 echo $ECHO_N "(cached) $ECHO_C" >&6
6317 ac_cv_path_GRAPHVIZ="$GRAPHVIZ" # Let the user override the test with a path.
6320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6324 test -z "$as_dir" && as_dir=.
6325 for ac_exec_ext in '' $ac_executable_extensions; do
6326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6327 ac_cv_path_GRAPHVIZ="$as_dir/$ac_word$ac_exec_ext"
6328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6335 test -z "$ac_cv_path_GRAPHVIZ" && ac_cv_path_GRAPHVIZ="echo Graphviz"
6339 GRAPHVIZ=$ac_cv_path_GRAPHVIZ
6340 if test -n "$GRAPHVIZ"; then
6341 { echo "$as_me:$LINENO: result: $GRAPHVIZ" >&5
6342 echo "${ECHO_T}$GRAPHVIZ" >&6; }
6344 { echo "$as_me:$LINENO: result: no" >&5
6345 echo "${ECHO_T}no" >&6; }
6349 if test "$GRAPHVIZ" != "echo Graphviz" ; then
6351 cat >>confdefs.h <<\_ACEOF
6352 #define HAVE_GRAPHVIZ 1
6355 if test "$llvm_cv_os_type" = "MingW" ; then
6356 GRAPHVIZ=`echo $GRAPHVIZ | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
6359 cat >>confdefs.h <<_ACEOF
6360 #define LLVM_PATH_GRAPHVIZ "$GRAPHVIZ${EXEEXT}"
6364 # Extract the first word of "dot", so it can be a program name with args.
6365 set dummy dot; 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_DOT+set}" = set; then
6369 echo $ECHO_N "(cached) $ECHO_C" >&6
6373 ac_cv_path_DOT="$DOT" # 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_DOT="$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_DOT" && ac_cv_path_DOT="echo dot"
6396 if test -n "$DOT"; then
6397 { echo "$as_me:$LINENO: result: $DOT" >&5
6398 echo "${ECHO_T}$DOT" >&6; }
6400 { echo "$as_me:$LINENO: result: no" >&5
6401 echo "${ECHO_T}no" >&6; }
6405 if test "$DOT" != "echo dot" ; then
6407 cat >>confdefs.h <<\_ACEOF
6411 if test "$llvm_cv_os_type" = "MingW" ; then
6412 DOT=`echo $DOT | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
6415 cat >>confdefs.h <<_ACEOF
6416 #define LLVM_PATH_DOT "$DOT${EXEEXT}"
6420 # Extract the first word of "fdp", so it can be a program name with args.
6421 set dummy fdp; 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_FDP+set}" = set; then
6425 echo $ECHO_N "(cached) $ECHO_C" >&6
6429 ac_cv_path_FDP="$FDP" # 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_FDP="$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_FDP" && ac_cv_path_FDP="echo fdp"
6452 if test -n "$FDP"; then
6453 { echo "$as_me:$LINENO: result: $FDP" >&5
6454 echo "${ECHO_T}$FDP" >&6; }
6456 { echo "$as_me:$LINENO: result: no" >&5
6457 echo "${ECHO_T}no" >&6; }
6461 if test "$FDP" != "echo fdp" ; then
6463 cat >>confdefs.h <<\_ACEOF
6467 if test "$llvm_cv_os_type" = "MingW" ; then
6468 FDP=`echo $FDP | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
6471 cat >>confdefs.h <<_ACEOF
6472 #define LLVM_PATH_FDP "$FDP${EXEEXT}"
6476 # Extract the first word of "neato", so it can be a program name with args.
6477 set dummy neato; 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_NEATO+set}" = set; then
6481 echo $ECHO_N "(cached) $ECHO_C" >&6
6485 ac_cv_path_NEATO="$NEATO" # 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_NEATO="$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_NEATO" && ac_cv_path_NEATO="echo neato"
6507 NEATO=$ac_cv_path_NEATO
6508 if test -n "$NEATO"; then
6509 { echo "$as_me:$LINENO: result: $NEATO" >&5
6510 echo "${ECHO_T}$NEATO" >&6; }
6512 { echo "$as_me:$LINENO: result: no" >&5
6513 echo "${ECHO_T}no" >&6; }
6517 if test "$NEATO" != "echo neato" ; then
6519 cat >>confdefs.h <<\_ACEOF
6520 #define HAVE_NEATO 1
6523 if test "$llvm_cv_os_type" = "MingW" ; then
6524 NEATO=`echo $NEATO | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
6527 cat >>confdefs.h <<_ACEOF
6528 #define LLVM_PATH_NEATO "$NEATO${EXEEXT}"
6532 # Extract the first word of "twopi", so it can be a program name with args.
6533 set dummy twopi; 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_TWOPI+set}" = set; then
6537 echo $ECHO_N "(cached) $ECHO_C" >&6
6541 ac_cv_path_TWOPI="$TWOPI" # 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_TWOPI="$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_TWOPI" && ac_cv_path_TWOPI="echo twopi"
6563 TWOPI=$ac_cv_path_TWOPI
6564 if test -n "$TWOPI"; then
6565 { echo "$as_me:$LINENO: result: $TWOPI" >&5
6566 echo "${ECHO_T}$TWOPI" >&6; }
6568 { echo "$as_me:$LINENO: result: no" >&5
6569 echo "${ECHO_T}no" >&6; }
6573 if test "$TWOPI" != "echo twopi" ; then
6575 cat >>confdefs.h <<\_ACEOF
6576 #define HAVE_TWOPI 1
6579 if test "$llvm_cv_os_type" = "MingW" ; then
6580 TWOPI=`echo $TWOPI | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
6583 cat >>confdefs.h <<_ACEOF
6584 #define LLVM_PATH_TWOPI "$TWOPI${EXEEXT}"
6588 # Extract the first word of "circo", so it can be a program name with args.
6589 set dummy circo; 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_CIRCO+set}" = set; then
6593 echo $ECHO_N "(cached) $ECHO_C" >&6
6597 ac_cv_path_CIRCO="$CIRCO" # 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_CIRCO="$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_CIRCO" && ac_cv_path_CIRCO="echo circo"
6619 CIRCO=$ac_cv_path_CIRCO
6620 if test -n "$CIRCO"; then
6621 { echo "$as_me:$LINENO: result: $CIRCO" >&5
6622 echo "${ECHO_T}$CIRCO" >&6; }
6624 { echo "$as_me:$LINENO: result: no" >&5
6625 echo "${ECHO_T}no" >&6; }
6629 if test "$CIRCO" != "echo circo" ; then
6631 cat >>confdefs.h <<\_ACEOF
6632 #define HAVE_CIRCO 1
6635 if test "$llvm_cv_os_type" = "MingW" ; then
6636 CIRCO=`echo $CIRCO | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
6639 cat >>confdefs.h <<_ACEOF
6640 #define LLVM_PATH_CIRCO "$CIRCO${EXEEXT}"
6644 for ac_prog in gv gsview32
6646 # Extract the first word of "$ac_prog", so it can be a program name with args.
6647 set dummy $ac_prog; ac_word=$2
6648 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6650 if test "${ac_cv_path_GV+set}" = set; then
6651 echo $ECHO_N "(cached) $ECHO_C" >&6
6655 ac_cv_path_GV="$GV" # Let the user override the test with a path.
6658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6662 test -z "$as_dir" && as_dir=.
6663 for ac_exec_ext in '' $ac_executable_extensions; do
6664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6665 ac_cv_path_GV="$as_dir/$ac_word$ac_exec_ext"
6666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6677 if test -n "$GV"; then
6678 { echo "$as_me:$LINENO: result: $GV" >&5
6679 echo "${ECHO_T}$GV" >&6; }
6681 { echo "$as_me:$LINENO: result: no" >&5
6682 echo "${ECHO_T}no" >&6; }
6686 test -n "$GV" && break
6688 test -n "$GV" || GV="echo gv"
6690 if test "$GV" != "echo gv" ; then
6692 cat >>confdefs.h <<\_ACEOF
6696 if test "$llvm_cv_os_type" = "MingW" ; then
6697 GV=`echo $GV | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
6700 cat >>confdefs.h <<_ACEOF
6701 #define LLVM_PATH_GV "$GV${EXEEXT}"
6705 # Extract the first word of "dotty", so it can be a program name with args.
6706 set dummy dotty; ac_word=$2
6707 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6709 if test "${ac_cv_path_DOTTY+set}" = set; then
6710 echo $ECHO_N "(cached) $ECHO_C" >&6
6714 ac_cv_path_DOTTY="$DOTTY" # Let the user override the test with a path.
6717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6721 test -z "$as_dir" && as_dir=.
6722 for ac_exec_ext in '' $ac_executable_extensions; do
6723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6724 ac_cv_path_DOTTY="$as_dir/$ac_word$ac_exec_ext"
6725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6732 test -z "$ac_cv_path_DOTTY" && ac_cv_path_DOTTY="echo dotty"
6736 DOTTY=$ac_cv_path_DOTTY
6737 if test -n "$DOTTY"; then
6738 { echo "$as_me:$LINENO: result: $DOTTY" >&5
6739 echo "${ECHO_T}$DOTTY" >&6; }
6741 { echo "$as_me:$LINENO: result: no" >&5
6742 echo "${ECHO_T}no" >&6; }
6746 if test "$DOTTY" != "echo dotty" ; then
6748 cat >>confdefs.h <<\_ACEOF
6749 #define HAVE_DOTTY 1
6752 if test "$llvm_cv_os_type" = "MingW" ; then
6753 DOTTY=`echo $DOTTY | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
6756 cat >>confdefs.h <<_ACEOF
6757 #define LLVM_PATH_DOTTY "$DOTTY${EXEEXT}"
6761 # Extract the first word of "xdot.py", so it can be a program name with args.
6762 set dummy xdot.py; 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_XDOT_PY+set}" = set; then
6766 echo $ECHO_N "(cached) $ECHO_C" >&6
6770 ac_cv_path_XDOT_PY="$XDOT_PY" # 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_XDOT_PY="$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_XDOT_PY" && ac_cv_path_XDOT_PY="echo xdot.py"
6792 XDOT_PY=$ac_cv_path_XDOT_PY
6793 if test -n "$XDOT_PY"; then
6794 { echo "$as_me:$LINENO: result: $XDOT_PY" >&5
6795 echo "${ECHO_T}$XDOT_PY" >&6; }
6797 { echo "$as_me:$LINENO: result: no" >&5
6798 echo "${ECHO_T}no" >&6; }
6802 if test "$XDOT_PY" != "echo xdot.py" ; then
6804 cat >>confdefs.h <<\_ACEOF
6805 #define HAVE_XDOT_PY 1
6808 if test "$llvm_cv_os_type" = "MingW" ; then
6809 XDOT_PY=`echo $XDOT_PY | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
6812 cat >>confdefs.h <<_ACEOF
6813 #define LLVM_PATH_XDOT_PY "$XDOT_PY${EXEEXT}"
6818 # Find a good install program. We prefer a C program (faster),
6819 # so one script is as good as another. But avoid the broken or
6820 # incompatible versions:
6821 # SysV /etc/install, /usr/sbin/install
6822 # SunOS /usr/etc/install
6823 # IRIX /sbin/install
6825 # AmigaOS /C/install, which installs bootblocks on floppy discs
6826 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6827 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6828 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6829 # OS/2's system install, which has a completely different semantic
6830 # ./install, which can be erroneously created by make from ./install.sh.
6831 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6832 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6833 if test -z "$INSTALL"; then
6834 if test "${ac_cv_path_install+set}" = set; then
6835 echo $ECHO_N "(cached) $ECHO_C" >&6
6837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6841 test -z "$as_dir" && as_dir=.
6842 # Account for people who put trailing slashes in PATH elements.
6844 ./ | .// | /cC/* | \
6845 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6846 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6849 # OSF1 and SCO ODT 3.0 have their own names for install.
6850 # Don't use installbsd from OSF since it installs stuff as root
6852 for ac_prog in ginstall scoinst install; do
6853 for ac_exec_ext in '' $ac_executable_extensions; do
6854 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
6855 if test $ac_prog = install &&
6856 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6857 # AIX install. It has an incompatible calling convention.
6859 elif test $ac_prog = install &&
6860 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6861 # program-specific install script used by HP pwplus--don't use.
6864 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6877 if test "${ac_cv_path_install+set}" = set; then
6878 INSTALL=$ac_cv_path_install
6880 # As a last resort, use the slow shell script. Don't cache a
6881 # value for INSTALL within a source directory, because that will
6882 # break other packages using the cache if that directory is
6883 # removed, or if the value is a relative name.
6884 INSTALL=$ac_install_sh
6887 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6888 echo "${ECHO_T}$INSTALL" >&6; }
6890 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6891 # It thinks the first close brace ends the variable substitution.
6892 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6894 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6896 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6899 [\\/$]* | ?:[\\/]* ) ;;
6900 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6903 # Extract the first word of "bzip2", so it can be a program name with args.
6904 set dummy bzip2; ac_word=$2
6905 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6907 if test "${ac_cv_path_BZIP2+set}" = set; then
6908 echo $ECHO_N "(cached) $ECHO_C" >&6
6912 ac_cv_path_BZIP2="$BZIP2" # Let the user override the test with a path.
6915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6919 test -z "$as_dir" && as_dir=.
6920 for ac_exec_ext in '' $ac_executable_extensions; do
6921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6922 ac_cv_path_BZIP2="$as_dir/$ac_word$ac_exec_ext"
6923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6933 BZIP2=$ac_cv_path_BZIP2
6934 if test -n "$BZIP2"; then
6935 { echo "$as_me:$LINENO: result: $BZIP2" >&5
6936 echo "${ECHO_T}$BZIP2" >&6; }
6938 { echo "$as_me:$LINENO: result: no" >&5
6939 echo "${ECHO_T}no" >&6; }
6943 # Extract the first word of "cat", so it can be a program name with args.
6944 set dummy cat; ac_word=$2
6945 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6947 if test "${ac_cv_path_CAT+set}" = set; then
6948 echo $ECHO_N "(cached) $ECHO_C" >&6
6952 ac_cv_path_CAT="$CAT" # Let the user override the test with a path.
6955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6959 test -z "$as_dir" && as_dir=.
6960 for ac_exec_ext in '' $ac_executable_extensions; do
6961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6962 ac_cv_path_CAT="$as_dir/$ac_word$ac_exec_ext"
6963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6974 if test -n "$CAT"; then
6975 { echo "$as_me:$LINENO: result: $CAT" >&5
6976 echo "${ECHO_T}$CAT" >&6; }
6978 { echo "$as_me:$LINENO: result: no" >&5
6979 echo "${ECHO_T}no" >&6; }
6983 # Extract the first word of "doxygen", so it can be a program name with args.
6984 set dummy doxygen; ac_word=$2
6985 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6987 if test "${ac_cv_path_DOXYGEN+set}" = set; then
6988 echo $ECHO_N "(cached) $ECHO_C" >&6
6992 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
6995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6999 test -z "$as_dir" && as_dir=.
7000 for ac_exec_ext in '' $ac_executable_extensions; do
7001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7002 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
7003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7013 DOXYGEN=$ac_cv_path_DOXYGEN
7014 if test -n "$DOXYGEN"; then
7015 { echo "$as_me:$LINENO: result: $DOXYGEN" >&5
7016 echo "${ECHO_T}$DOXYGEN" >&6; }
7018 { echo "$as_me:$LINENO: result: no" >&5
7019 echo "${ECHO_T}no" >&6; }
7023 # Extract the first word of "groff", so it can be a program name with args.
7024 set dummy groff; ac_word=$2
7025 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7027 if test "${ac_cv_path_GROFF+set}" = set; then
7028 echo $ECHO_N "(cached) $ECHO_C" >&6
7032 ac_cv_path_GROFF="$GROFF" # Let the user override the test with a path.
7035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7039 test -z "$as_dir" && as_dir=.
7040 for ac_exec_ext in '' $ac_executable_extensions; do
7041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7042 ac_cv_path_GROFF="$as_dir/$ac_word$ac_exec_ext"
7043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7053 GROFF=$ac_cv_path_GROFF
7054 if test -n "$GROFF"; then
7055 { echo "$as_me:$LINENO: result: $GROFF" >&5
7056 echo "${ECHO_T}$GROFF" >&6; }
7058 { echo "$as_me:$LINENO: result: no" >&5
7059 echo "${ECHO_T}no" >&6; }
7063 # Extract the first word of "gzip", so it can be a program name with args.
7064 set dummy gzip; ac_word=$2
7065 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7067 if test "${ac_cv_path_GZIPBIN+set}" = set; then
7068 echo $ECHO_N "(cached) $ECHO_C" >&6
7072 ac_cv_path_GZIPBIN="$GZIPBIN" # Let the user override the test with a path.
7075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7079 test -z "$as_dir" && as_dir=.
7080 for ac_exec_ext in '' $ac_executable_extensions; do
7081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7082 ac_cv_path_GZIPBIN="$as_dir/$ac_word$ac_exec_ext"
7083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7093 GZIPBIN=$ac_cv_path_GZIPBIN
7094 if test -n "$GZIPBIN"; then
7095 { echo "$as_me:$LINENO: result: $GZIPBIN" >&5
7096 echo "${ECHO_T}$GZIPBIN" >&6; }
7098 { echo "$as_me:$LINENO: result: no" >&5
7099 echo "${ECHO_T}no" >&6; }
7103 # Extract the first word of "pod2html", so it can be a program name with args.
7104 set dummy pod2html; ac_word=$2
7105 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7107 if test "${ac_cv_path_POD2HTML+set}" = set; then
7108 echo $ECHO_N "(cached) $ECHO_C" >&6
7112 ac_cv_path_POD2HTML="$POD2HTML" # Let the user override the test with a path.
7115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7119 test -z "$as_dir" && as_dir=.
7120 for ac_exec_ext in '' $ac_executable_extensions; do
7121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7122 ac_cv_path_POD2HTML="$as_dir/$ac_word$ac_exec_ext"
7123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7133 POD2HTML=$ac_cv_path_POD2HTML
7134 if test -n "$POD2HTML"; then
7135 { echo "$as_me:$LINENO: result: $POD2HTML" >&5
7136 echo "${ECHO_T}$POD2HTML" >&6; }
7138 { echo "$as_me:$LINENO: result: no" >&5
7139 echo "${ECHO_T}no" >&6; }
7143 # Extract the first word of "pod2man", so it can be a program name with args.
7144 set dummy pod2man; ac_word=$2
7145 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7147 if test "${ac_cv_path_POD2MAN+set}" = set; then
7148 echo $ECHO_N "(cached) $ECHO_C" >&6
7152 ac_cv_path_POD2MAN="$POD2MAN" # Let the user override the test with a path.
7155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7159 test -z "$as_dir" && as_dir=.
7160 for ac_exec_ext in '' $ac_executable_extensions; do
7161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7162 ac_cv_path_POD2MAN="$as_dir/$ac_word$ac_exec_ext"
7163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7173 POD2MAN=$ac_cv_path_POD2MAN
7174 if test -n "$POD2MAN"; then
7175 { echo "$as_me:$LINENO: result: $POD2MAN" >&5
7176 echo "${ECHO_T}$POD2MAN" >&6; }
7178 { echo "$as_me:$LINENO: result: no" >&5
7179 echo "${ECHO_T}no" >&6; }
7183 # Extract the first word of "pdfroff", so it can be a program name with args.
7184 set dummy pdfroff; ac_word=$2
7185 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7187 if test "${ac_cv_path_PDFROFF+set}" = set; then
7188 echo $ECHO_N "(cached) $ECHO_C" >&6
7192 ac_cv_path_PDFROFF="$PDFROFF" # Let the user override the test with a path.
7195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7199 test -z "$as_dir" && as_dir=.
7200 for ac_exec_ext in '' $ac_executable_extensions; do
7201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7202 ac_cv_path_PDFROFF="$as_dir/$ac_word$ac_exec_ext"
7203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7213 PDFROFF=$ac_cv_path_PDFROFF
7214 if test -n "$PDFROFF"; then
7215 { echo "$as_me:$LINENO: result: $PDFROFF" >&5
7216 echo "${ECHO_T}$PDFROFF" >&6; }
7218 { echo "$as_me:$LINENO: result: no" >&5
7219 echo "${ECHO_T}no" >&6; }
7223 # Extract the first word of "runtest", so it can be a program name with args.
7224 set dummy runtest; ac_word=$2
7225 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7227 if test "${ac_cv_path_RUNTEST+set}" = set; then
7228 echo $ECHO_N "(cached) $ECHO_C" >&6
7232 ac_cv_path_RUNTEST="$RUNTEST" # Let the user override the test with a path.
7235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7239 test -z "$as_dir" && as_dir=.
7240 for ac_exec_ext in '' $ac_executable_extensions; do
7241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7242 ac_cv_path_RUNTEST="$as_dir/$ac_word$ac_exec_ext"
7243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7253 RUNTEST=$ac_cv_path_RUNTEST
7254 if test -n "$RUNTEST"; then
7255 { echo "$as_me:$LINENO: result: $RUNTEST" >&5
7256 echo "${ECHO_T}$RUNTEST" >&6; }
7258 { echo "$as_me:$LINENO: result: no" >&5
7259 echo "${ECHO_T}no" >&6; }
7265 { echo "$as_me:$LINENO: checking for the tclsh program in tclinclude directory" >&5
7266 echo $ECHO_N "checking for the tclsh program in tclinclude directory... $ECHO_C" >&6; }
7268 # Check whether --with-tclinclude was given.
7269 if test "${with_tclinclude+set}" = set; then
7270 withval=$with_tclinclude; with_tclinclude=${withval}
7275 if test "${ac_cv_path_tclsh+set}" = set; then
7276 echo $ECHO_N "(cached) $ECHO_C" >&6
7279 if test x"${with_tclinclude}" != x ; then
7280 if test -f ${with_tclinclude}/tclsh ; then
7281 ac_cv_path_tclsh=`(cd ${with_tclinclude}; pwd)`
7282 elif test -f ${with_tclinclude}/src/tclsh ; then
7283 ac_cv_path_tclsh=`(cd ${with_tclinclude}/src; pwd)`
7285 { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain tclsh" >&5
7286 echo "$as_me: error: ${with_tclinclude} directory doesn't contain tclsh" >&2;}
7287 { (exit 1); exit 1; }; }
7293 if test x"${ac_cv_path_tclsh}" = x ; then
7294 { echo "$as_me:$LINENO: result: none" >&5
7295 echo "${ECHO_T}none" >&6; }
7296 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
7298 # Extract the first word of "$ac_prog", so it can be a program name with args.
7299 set dummy $ac_prog; ac_word=$2
7300 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7302 if test "${ac_cv_path_TCLSH+set}" = set; then
7303 echo $ECHO_N "(cached) $ECHO_C" >&6
7307 ac_cv_path_TCLSH="$TCLSH" # Let the user override the test with a path.
7310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7314 test -z "$as_dir" && as_dir=.
7315 for ac_exec_ext in '' $ac_executable_extensions; do
7316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7317 ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext"
7318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7328 TCLSH=$ac_cv_path_TCLSH
7329 if test -n "$TCLSH"; then
7330 { echo "$as_me:$LINENO: result: $TCLSH" >&5
7331 echo "${ECHO_T}$TCLSH" >&6; }
7333 { echo "$as_me:$LINENO: result: no" >&5
7334 echo "${ECHO_T}no" >&6; }
7338 test -n "$TCLSH" && break
7341 if test x"${TCLSH}" = x ; then
7342 ac_cv_path_tclsh='';
7344 ac_cv_path_tclsh="${TCLSH}";
7347 { echo "$as_me:$LINENO: result: ${ac_cv_path_tclsh}" >&5
7348 echo "${ECHO_T}${ac_cv_path_tclsh}" >&6; }
7349 TCLSH="${ac_cv_path_tclsh}"
7353 # Extract the first word of "zip", so it can be a program name with args.
7354 set dummy zip; ac_word=$2
7355 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7357 if test "${ac_cv_path_ZIP+set}" = set; then
7358 echo $ECHO_N "(cached) $ECHO_C" >&6
7362 ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
7365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7369 test -z "$as_dir" && as_dir=.
7370 for ac_exec_ext in '' $ac_executable_extensions; do
7371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7372 ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
7373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7384 if test -n "$ZIP"; then
7385 { echo "$as_me:$LINENO: result: $ZIP" >&5
7386 echo "${ECHO_T}$ZIP" >&6; }
7388 { echo "$as_me:$LINENO: result: no" >&5
7389 echo "${ECHO_T}no" >&6; }
7393 for ac_prog in ocamlc
7395 # Extract the first word of "$ac_prog", so it can be a program name with args.
7396 set dummy $ac_prog; ac_word=$2
7397 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7399 if test "${ac_cv_path_OCAMLC+set}" = set; then
7400 echo $ECHO_N "(cached) $ECHO_C" >&6
7404 ac_cv_path_OCAMLC="$OCAMLC" # Let the user override the test with a path.
7407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7411 test -z "$as_dir" && as_dir=.
7412 for ac_exec_ext in '' $ac_executable_extensions; do
7413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7414 ac_cv_path_OCAMLC="$as_dir/$ac_word$ac_exec_ext"
7415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7425 OCAMLC=$ac_cv_path_OCAMLC
7426 if test -n "$OCAMLC"; then
7427 { echo "$as_me:$LINENO: result: $OCAMLC" >&5
7428 echo "${ECHO_T}$OCAMLC" >&6; }
7430 { echo "$as_me:$LINENO: result: no" >&5
7431 echo "${ECHO_T}no" >&6; }
7435 test -n "$OCAMLC" && break
7438 for ac_prog in ocamlopt
7440 # Extract the first word of "$ac_prog", so it can be a program name with args.
7441 set dummy $ac_prog; ac_word=$2
7442 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7444 if test "${ac_cv_path_OCAMLOPT+set}" = set; then
7445 echo $ECHO_N "(cached) $ECHO_C" >&6
7449 ac_cv_path_OCAMLOPT="$OCAMLOPT" # Let the user override the test with a path.
7452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7456 test -z "$as_dir" && as_dir=.
7457 for ac_exec_ext in '' $ac_executable_extensions; do
7458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7459 ac_cv_path_OCAMLOPT="$as_dir/$ac_word$ac_exec_ext"
7460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7470 OCAMLOPT=$ac_cv_path_OCAMLOPT
7471 if test -n "$OCAMLOPT"; then
7472 { echo "$as_me:$LINENO: result: $OCAMLOPT" >&5
7473 echo "${ECHO_T}$OCAMLOPT" >&6; }
7475 { echo "$as_me:$LINENO: result: no" >&5
7476 echo "${ECHO_T}no" >&6; }
7480 test -n "$OCAMLOPT" && break
7483 for ac_prog in ocamldep
7485 # Extract the first word of "$ac_prog", so it can be a program name with args.
7486 set dummy $ac_prog; ac_word=$2
7487 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7489 if test "${ac_cv_path_OCAMLDEP+set}" = set; then
7490 echo $ECHO_N "(cached) $ECHO_C" >&6
7494 ac_cv_path_OCAMLDEP="$OCAMLDEP" # Let the user override the test with a path.
7497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7501 test -z "$as_dir" && as_dir=.
7502 for ac_exec_ext in '' $ac_executable_extensions; do
7503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7504 ac_cv_path_OCAMLDEP="$as_dir/$ac_word$ac_exec_ext"
7505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7515 OCAMLDEP=$ac_cv_path_OCAMLDEP
7516 if test -n "$OCAMLDEP"; then
7517 { echo "$as_me:$LINENO: result: $OCAMLDEP" >&5
7518 echo "${ECHO_T}$OCAMLDEP" >&6; }
7520 { echo "$as_me:$LINENO: result: no" >&5
7521 echo "${ECHO_T}no" >&6; }
7525 test -n "$OCAMLDEP" && break
7528 for ac_prog in ocamldoc
7530 # Extract the first word of "$ac_prog", so it can be a program name with args.
7531 set dummy $ac_prog; ac_word=$2
7532 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7534 if test "${ac_cv_path_OCAMLDOC+set}" = set; then
7535 echo $ECHO_N "(cached) $ECHO_C" >&6
7539 ac_cv_path_OCAMLDOC="$OCAMLDOC" # Let the user override the test with a path.
7542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7546 test -z "$as_dir" && as_dir=.
7547 for ac_exec_ext in '' $ac_executable_extensions; do
7548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7549 ac_cv_path_OCAMLDOC="$as_dir/$ac_word$ac_exec_ext"
7550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7560 OCAMLDOC=$ac_cv_path_OCAMLDOC
7561 if test -n "$OCAMLDOC"; then
7562 { echo "$as_me:$LINENO: result: $OCAMLDOC" >&5
7563 echo "${ECHO_T}$OCAMLDOC" >&6; }
7565 { echo "$as_me:$LINENO: result: no" >&5
7566 echo "${ECHO_T}no" >&6; }
7570 test -n "$OCAMLDOC" && break
7573 for ac_prog in gas as
7575 # Extract the first word of "$ac_prog", so it can be a program name with args.
7576 set dummy $ac_prog; ac_word=$2
7577 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7579 if test "${ac_cv_path_GAS+set}" = set; then
7580 echo $ECHO_N "(cached) $ECHO_C" >&6
7584 ac_cv_path_GAS="$GAS" # Let the user override the test with a path.
7587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7591 test -z "$as_dir" && as_dir=.
7592 for ac_exec_ext in '' $ac_executable_extensions; do
7593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7594 ac_cv_path_GAS="$as_dir/$ac_word$ac_exec_ext"
7595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7606 if test -n "$GAS"; then
7607 { echo "$as_me:$LINENO: result: $GAS" >&5
7608 echo "${ECHO_T}$GAS" >&6; }
7610 { echo "$as_me:$LINENO: result: no" >&5
7611 echo "${ECHO_T}no" >&6; }
7615 test -n "$GAS" && break
7619 { echo "$as_me:$LINENO: checking for linker version" >&5
7620 echo $ECHO_N "checking for linker version... $ECHO_C" >&6; }
7621 if test "${llvm_cv_link_version+set}" = set; then
7622 echo $ECHO_N "(cached) $ECHO_C" >&6
7625 version_string="$(ld -v 2>&1 | head -1)"
7628 if (echo "$version_string" | grep -q "ld64"); then
7629 llvm_cv_link_version=$(echo "$version_string" | sed -e "s#.*ld64-\([^ ]*\)#\1#")
7631 llvm_cv_link_version=$(echo "$version_string" | sed -e "s#[^0-9]*\([0-9.]*\).*#\1#")
7635 { echo "$as_me:$LINENO: result: $llvm_cv_link_version" >&5
7636 echo "${ECHO_T}$llvm_cv_link_version" >&6; }
7638 cat >>confdefs.h <<_ACEOF
7639 #define HOST_LINK_VERSION "$llvm_cv_link_version"
7644 { echo "$as_me:$LINENO: checking for compiler -Wl,-R<path> option" >&5
7645 echo $ECHO_N "checking for compiler -Wl,-R<path> option... $ECHO_C" >&6; }
7646 if test "${llvm_cv_link_use_r+set}" = set; then
7647 echo $ECHO_N "(cached) $ECHO_C" >&6
7650 ac_cpp='$CPP $CPPFLAGS'
7651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7656 CFLAGS="$CFLAGS -Wl,-R."
7657 cat >conftest.$ac_ext <<_ACEOF
7660 cat confdefs.h >>conftest.$ac_ext
7661 cat >>conftest.$ac_ext <<_ACEOF
7662 /* end confdefs.h. */
7672 rm -f conftest.$ac_objext conftest$ac_exeext
7673 if { (ac_try="$ac_link"
7675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7676 *) ac_try_echo=$ac_try;;
7678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7679 (eval "$ac_link") 2>conftest.er1
7681 grep -v '^ *+' conftest.er1 >conftest.err
7683 cat conftest.err >&5
7684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7685 (exit $ac_status); } &&
7686 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7687 { (case "(($ac_try" in
7688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7689 *) ac_try_echo=$ac_try;;
7691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7692 (eval "$ac_try") 2>&5
7694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7695 (exit $ac_status); }; } &&
7696 { ac_try='test -s conftest$ac_exeext'
7697 { (case "(($ac_try" in
7698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7699 *) ac_try_echo=$ac_try;;
7701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7702 (eval "$ac_try") 2>&5
7704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7705 (exit $ac_status); }; }; then
7706 llvm_cv_link_use_r=yes
7708 echo "$as_me: failed program was:" >&5
7709 sed 's/^/| /' conftest.$ac_ext >&5
7711 llvm_cv_link_use_r=no
7714 rm -f core conftest.err conftest.$ac_objext \
7715 conftest$ac_exeext conftest.$ac_ext
7718 ac_cpp='$CPP $CPPFLAGS'
7719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7725 { echo "$as_me:$LINENO: result: $llvm_cv_link_use_r" >&5
7726 echo "${ECHO_T}$llvm_cv_link_use_r" >&6; }
7727 if test "$llvm_cv_link_use_r" = yes ; then
7729 cat >>confdefs.h <<\_ACEOF
7730 #define HAVE_LINK_R 1
7736 { echo "$as_me:$LINENO: checking for compiler -Wl,-export-dynamic option" >&5
7737 echo $ECHO_N "checking for compiler -Wl,-export-dynamic option... $ECHO_C" >&6; }
7738 if test "${llvm_cv_link_use_export_dynamic+set}" = set; then
7739 echo $ECHO_N "(cached) $ECHO_C" >&6
7742 ac_cpp='$CPP $CPPFLAGS'
7743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7748 CFLAGS="$CFLAGS -Wl,-export-dynamic"
7749 cat >conftest.$ac_ext <<_ACEOF
7752 cat confdefs.h >>conftest.$ac_ext
7753 cat >>conftest.$ac_ext <<_ACEOF
7754 /* end confdefs.h. */
7764 rm -f conftest.$ac_objext conftest$ac_exeext
7765 if { (ac_try="$ac_link"
7767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7768 *) ac_try_echo=$ac_try;;
7770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7771 (eval "$ac_link") 2>conftest.er1
7773 grep -v '^ *+' conftest.er1 >conftest.err
7775 cat conftest.err >&5
7776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7777 (exit $ac_status); } &&
7778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7779 { (case "(($ac_try" in
7780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7781 *) ac_try_echo=$ac_try;;
7783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7784 (eval "$ac_try") 2>&5
7786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7787 (exit $ac_status); }; } &&
7788 { ac_try='test -s conftest$ac_exeext'
7789 { (case "(($ac_try" in
7790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7791 *) ac_try_echo=$ac_try;;
7793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7794 (eval "$ac_try") 2>&5
7796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7797 (exit $ac_status); }; }; then
7798 llvm_cv_link_use_export_dynamic=yes
7800 echo "$as_me: failed program was:" >&5
7801 sed 's/^/| /' conftest.$ac_ext >&5
7803 llvm_cv_link_use_export_dynamic=no
7806 rm -f core conftest.err conftest.$ac_objext \
7807 conftest$ac_exeext conftest.$ac_ext
7810 ac_cpp='$CPP $CPPFLAGS'
7811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7817 { echo "$as_me:$LINENO: result: $llvm_cv_link_use_export_dynamic" >&5
7818 echo "${ECHO_T}$llvm_cv_link_use_export_dynamic" >&6; }
7819 if test "$llvm_cv_link_use_export_dynamic" = yes ; then
7821 cat >>confdefs.h <<\_ACEOF
7822 #define HAVE_LINK_EXPORT_DYNAMIC 1
7828 { echo "$as_me:$LINENO: checking for compiler -Wl,--version-script option" >&5
7829 echo $ECHO_N "checking for compiler -Wl,--version-script option... $ECHO_C" >&6; }
7830 if test "${llvm_cv_link_use_version_script+set}" = set; then
7831 echo $ECHO_N "(cached) $ECHO_C" >&6
7834 ac_cpp='$CPP $CPPFLAGS'
7835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7841 # The following code is from the autoconf manual,
7842 # "11.13: Limitations of Usual Tools".
7843 # Create a temporary directory $tmp in $TMPDIR (default /tmp).
7844 # Use mktemp if possible; otherwise fall back on mkdir,
7845 # with $RANDOM to make collisions less likely.
7849 (umask 077 && mktemp -d "$TMPDIR/fooXXXXXX") 2>/dev/null
7851 test -n "$tmp" && test -d "$tmp"
7853 tmp=$TMPDIR/foo$$-$RANDOM
7854 (umask 077 && mkdir "$tmp")
7857 echo "{" > "$tmp/export.map"
7858 echo " global: main;" >> "$tmp/export.map"
7859 echo " local: *;" >> "$tmp/export.map"
7860 echo "};" >> "$tmp/export.map"
7862 CFLAGS="$CFLAGS -Wl,--version-script=$tmp/export.map"
7863 cat >conftest.$ac_ext <<_ACEOF
7866 cat confdefs.h >>conftest.$ac_ext
7867 cat >>conftest.$ac_ext <<_ACEOF
7868 /* end confdefs.h. */
7878 rm -f conftest.$ac_objext conftest$ac_exeext
7879 if { (ac_try="$ac_link"
7881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7882 *) ac_try_echo=$ac_try;;
7884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7885 (eval "$ac_link") 2>conftest.er1
7887 grep -v '^ *+' conftest.er1 >conftest.err
7889 cat conftest.err >&5
7890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7891 (exit $ac_status); } &&
7892 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7893 { (case "(($ac_try" in
7894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7895 *) ac_try_echo=$ac_try;;
7897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7898 (eval "$ac_try") 2>&5
7900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7901 (exit $ac_status); }; } &&
7902 { ac_try='test -s conftest$ac_exeext'
7903 { (case "(($ac_try" in
7904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7905 *) ac_try_echo=$ac_try;;
7907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7908 (eval "$ac_try") 2>&5
7910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7911 (exit $ac_status); }; }; then
7912 llvm_cv_link_use_version_script=yes
7914 echo "$as_me: failed program was:" >&5
7915 sed 's/^/| /' conftest.$ac_ext >&5
7917 llvm_cv_link_use_version_script=no
7920 rm -f core conftest.err conftest.$ac_objext \
7921 conftest$ac_exeext conftest.$ac_ext
7922 rm "$tmp/export.map"
7926 ac_cpp='$CPP $CPPFLAGS'
7927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7933 { echo "$as_me:$LINENO: result: $llvm_cv_link_use_version_script" >&5
7934 echo "${ECHO_T}$llvm_cv_link_use_version_script" >&6; }
7935 if test "$llvm_cv_link_use_version_script" = yes ; then
7936 HAVE_LINK_VERSION_SCRIPT=1
7943 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7944 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
7945 if test "${ac_cv_c_const+set}" = set; then
7946 echo $ECHO_N "(cached) $ECHO_C" >&6
7948 cat >conftest.$ac_ext <<_ACEOF
7951 cat confdefs.h >>conftest.$ac_ext
7952 cat >>conftest.$ac_ext <<_ACEOF
7953 /* end confdefs.h. */
7958 /* FIXME: Include the comments suggested by Paul. */
7960 /* Ultrix mips cc rejects this. */
7961 typedef int charset[2];
7963 /* SunOS 4.1.1 cc rejects this. */
7964 char const *const *ccp;
7966 /* NEC SVR4.0.2 mips cc rejects this. */
7967 struct point {int x, y;};
7968 static struct point const zero = {0,0};
7969 /* AIX XL C 1.02.0.0 rejects this.
7970 It does not let you subtract one const X* pointer from another in
7971 an arm of an if-expression whose if-part is not a constant
7973 const char *g = "string";
7974 ccp = &g + (g ? g-g : 0);
7975 /* HPUX 7.0 cc rejects these. */
7978 ccp = (char const *const *) p;
7979 { /* SCO 3.2v4 cc rejects this. */
7981 char const *s = 0 ? (char *) 0 : (char const *) 0;
7986 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7988 const int *foo = &x[0];
7991 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7992 typedef const int *iptr;
7996 { /* AIX XL C 1.02.0.0 rejects this saying
7997 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7998 struct s { int j; const int *ap[3]; };
7999 struct s *b; b->j = 5;
8001 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8005 return !x[0] && !zero.x;
8012 rm -f conftest.$ac_objext
8013 if { (ac_try="$ac_compile"
8015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8016 *) ac_try_echo=$ac_try;;
8018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8019 (eval "$ac_compile") 2>conftest.er1
8021 grep -v '^ *+' conftest.er1 >conftest.err
8023 cat conftest.err >&5
8024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8025 (exit $ac_status); } &&
8026 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8027 { (case "(($ac_try" in
8028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8029 *) ac_try_echo=$ac_try;;
8031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8032 (eval "$ac_try") 2>&5
8034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8035 (exit $ac_status); }; } &&
8036 { ac_try='test -s conftest.$ac_objext'
8037 { (case "(($ac_try" in
8038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8039 *) ac_try_echo=$ac_try;;
8041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8042 (eval "$ac_try") 2>&5
8044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8045 (exit $ac_status); }; }; then
8048 echo "$as_me: failed program was:" >&5
8049 sed 's/^/| /' conftest.$ac_ext >&5
8054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8056 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
8057 echo "${ECHO_T}$ac_cv_c_const" >&6; }
8058 if test $ac_cv_c_const = no; then
8060 cat >>confdefs.h <<\_ACEOF
8072 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
8073 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
8074 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
8075 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
8076 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8077 echo $ECHO_N "(cached) $ECHO_C" >&6
8079 cat >conftest.$ac_ext <<_ACEOF
8082 cat confdefs.h >>conftest.$ac_ext
8083 cat >>conftest.$ac_ext <<_ACEOF
8084 /* end confdefs.h. */
8085 #include <sys/types.h>
8097 rm -f conftest.$ac_objext
8098 if { (ac_try="$ac_compile"
8100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8101 *) ac_try_echo=$ac_try;;
8103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8104 (eval "$ac_compile") 2>conftest.er1
8106 grep -v '^ *+' conftest.er1 >conftest.err
8108 cat conftest.err >&5
8109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8110 (exit $ac_status); } &&
8111 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8112 { (case "(($ac_try" in
8113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8114 *) ac_try_echo=$ac_try;;
8116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8117 (eval "$ac_try") 2>&5
8119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8120 (exit $ac_status); }; } &&
8121 { ac_try='test -s conftest.$ac_objext'
8122 { (case "(($ac_try" in
8123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8124 *) ac_try_echo=$ac_try;;
8126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8127 (eval "$ac_try") 2>&5
8129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8130 (exit $ac_status); }; }; then
8131 eval "$as_ac_Header=yes"
8133 echo "$as_me: failed program was:" >&5
8134 sed 's/^/| /' conftest.$ac_ext >&5
8136 eval "$as_ac_Header=no"
8139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8141 ac_res=`eval echo '${'$as_ac_Header'}'`
8142 { echo "$as_me:$LINENO: result: $ac_res" >&5
8143 echo "${ECHO_T}$ac_res" >&6; }
8144 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8145 cat >>confdefs.h <<_ACEOF
8146 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
8149 ac_header_dirent=$ac_hdr; break
8153 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8154 if test $ac_header_dirent = dirent.h; then
8155 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
8156 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
8157 if test "${ac_cv_search_opendir+set}" = set; then
8158 echo $ECHO_N "(cached) $ECHO_C" >&6
8160 ac_func_search_save_LIBS=$LIBS
8161 cat >conftest.$ac_ext <<_ACEOF
8164 cat confdefs.h >>conftest.$ac_ext
8165 cat >>conftest.$ac_ext <<_ACEOF
8166 /* end confdefs.h. */
8168 /* Override any GCC internal prototype to avoid an error.
8169 Use char because int might match the return type of a GCC
8170 builtin and then its argument prototype would still apply. */
8183 for ac_lib in '' dir; do
8184 if test -z "$ac_lib"; then
8185 ac_res="none required"
8188 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8190 rm -f conftest.$ac_objext conftest$ac_exeext
8191 if { (ac_try="$ac_link"
8193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8194 *) ac_try_echo=$ac_try;;
8196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8197 (eval "$ac_link") 2>conftest.er1
8199 grep -v '^ *+' conftest.er1 >conftest.err
8201 cat conftest.err >&5
8202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8203 (exit $ac_status); } &&
8204 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8205 { (case "(($ac_try" in
8206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8207 *) ac_try_echo=$ac_try;;
8209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8210 (eval "$ac_try") 2>&5
8212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8213 (exit $ac_status); }; } &&
8214 { ac_try='test -s conftest$ac_exeext'
8215 { (case "(($ac_try" in
8216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8217 *) ac_try_echo=$ac_try;;
8219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8220 (eval "$ac_try") 2>&5
8222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8223 (exit $ac_status); }; }; then
8224 ac_cv_search_opendir=$ac_res
8226 echo "$as_me: failed program was:" >&5
8227 sed 's/^/| /' conftest.$ac_ext >&5
8232 rm -f core conftest.err conftest.$ac_objext \
8234 if test "${ac_cv_search_opendir+set}" = set; then
8238 if test "${ac_cv_search_opendir+set}" = set; then
8241 ac_cv_search_opendir=no
8244 LIBS=$ac_func_search_save_LIBS
8246 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8247 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
8248 ac_res=$ac_cv_search_opendir
8249 if test "$ac_res" != no; then
8250 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8255 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
8256 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
8257 if test "${ac_cv_search_opendir+set}" = set; then
8258 echo $ECHO_N "(cached) $ECHO_C" >&6
8260 ac_func_search_save_LIBS=$LIBS
8261 cat >conftest.$ac_ext <<_ACEOF
8264 cat confdefs.h >>conftest.$ac_ext
8265 cat >>conftest.$ac_ext <<_ACEOF
8266 /* end confdefs.h. */
8268 /* Override any GCC internal prototype to avoid an error.
8269 Use char because int might match the return type of a GCC
8270 builtin and then its argument prototype would still apply. */
8283 for ac_lib in '' x; do
8284 if test -z "$ac_lib"; then
8285 ac_res="none required"
8288 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8290 rm -f conftest.$ac_objext conftest$ac_exeext
8291 if { (ac_try="$ac_link"
8293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8294 *) ac_try_echo=$ac_try;;
8296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8297 (eval "$ac_link") 2>conftest.er1
8299 grep -v '^ *+' conftest.er1 >conftest.err
8301 cat conftest.err >&5
8302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8303 (exit $ac_status); } &&
8304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8305 { (case "(($ac_try" in
8306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8307 *) ac_try_echo=$ac_try;;
8309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8310 (eval "$ac_try") 2>&5
8312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8313 (exit $ac_status); }; } &&
8314 { ac_try='test -s conftest$ac_exeext'
8315 { (case "(($ac_try" in
8316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8317 *) ac_try_echo=$ac_try;;
8319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8320 (eval "$ac_try") 2>&5
8322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8323 (exit $ac_status); }; }; then
8324 ac_cv_search_opendir=$ac_res
8326 echo "$as_me: failed program was:" >&5
8327 sed 's/^/| /' conftest.$ac_ext >&5
8332 rm -f core conftest.err conftest.$ac_objext \
8334 if test "${ac_cv_search_opendir+set}" = set; then
8338 if test "${ac_cv_search_opendir+set}" = set; then
8341 ac_cv_search_opendir=no
8344 LIBS=$ac_func_search_save_LIBS
8346 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8347 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
8348 ac_res=$ac_cv_search_opendir
8349 if test "$ac_res" != no; then
8350 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8357 for ac_header in dlfcn.h
8359 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8360 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8361 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8363 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8364 echo $ECHO_N "(cached) $ECHO_C" >&6
8366 ac_res=`eval echo '${'$as_ac_Header'}'`
8367 { echo "$as_me:$LINENO: result: $ac_res" >&5
8368 echo "${ECHO_T}$ac_res" >&6; }
8370 # Is the header compilable?
8371 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8372 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8373 cat >conftest.$ac_ext <<_ACEOF
8376 cat confdefs.h >>conftest.$ac_ext
8377 cat >>conftest.$ac_ext <<_ACEOF
8378 /* end confdefs.h. */
8379 $ac_includes_default
8380 #include <$ac_header>
8382 rm -f conftest.$ac_objext
8383 if { (ac_try="$ac_compile"
8385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8386 *) ac_try_echo=$ac_try;;
8388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8389 (eval "$ac_compile") 2>conftest.er1
8391 grep -v '^ *+' conftest.er1 >conftest.err
8393 cat conftest.err >&5
8394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8395 (exit $ac_status); } &&
8396 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8397 { (case "(($ac_try" in
8398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8399 *) ac_try_echo=$ac_try;;
8401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8402 (eval "$ac_try") 2>&5
8404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8405 (exit $ac_status); }; } &&
8406 { ac_try='test -s conftest.$ac_objext'
8407 { (case "(($ac_try" in
8408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8409 *) ac_try_echo=$ac_try;;
8411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8412 (eval "$ac_try") 2>&5
8414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8415 (exit $ac_status); }; }; then
8416 ac_header_compiler=yes
8418 echo "$as_me: failed program was:" >&5
8419 sed 's/^/| /' conftest.$ac_ext >&5
8421 ac_header_compiler=no
8424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8425 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8426 echo "${ECHO_T}$ac_header_compiler" >&6; }
8428 # Is the header present?
8429 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8430 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8431 cat >conftest.$ac_ext <<_ACEOF
8434 cat confdefs.h >>conftest.$ac_ext
8435 cat >>conftest.$ac_ext <<_ACEOF
8436 /* end confdefs.h. */
8437 #include <$ac_header>
8439 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null; then
8452 if test -s conftest.err; then
8453 ac_cpp_err=$ac_c_preproc_warn_flag
8454 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8461 if test -z "$ac_cpp_err"; then
8462 ac_header_preproc=yes
8464 echo "$as_me: failed program was:" >&5
8465 sed 's/^/| /' conftest.$ac_ext >&5
8467 ac_header_preproc=no
8470 rm -f conftest.err conftest.$ac_ext
8471 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8472 echo "${ECHO_T}$ac_header_preproc" >&6; }
8474 # So? What about this header?
8475 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8477 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8478 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8479 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8480 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8481 ac_header_preproc=yes
8484 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8485 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8486 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8487 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8488 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8489 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8490 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8491 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8492 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8493 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8494 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8495 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8497 ## ------------------------------ ##
8498 ## Report this to bugs@yourdomain ##
8499 ## ------------------------------ ##
8501 ) | sed "s/^/$as_me: WARNING: /" >&2
8504 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8505 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8506 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8507 echo $ECHO_N "(cached) $ECHO_C" >&6
8509 eval "$as_ac_Header=\$ac_header_preproc"
8511 ac_res=`eval echo '${'$as_ac_Header'}'`
8512 { echo "$as_me:$LINENO: result: $ac_res" >&5
8513 echo "${ECHO_T}$ac_res" >&6; }
8516 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8517 cat >>confdefs.h <<_ACEOF
8518 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8525 # Check whether --enable-ltdl-install was given.
8526 if test "${enable_ltdl_install+set}" = set; then
8527 enableval=$enable_ltdl_install;
8533 if test x"${enable_ltdl_install-no}" != xno; then
8535 INSTALL_LTDL_FALSE='#'
8537 INSTALL_LTDL_TRUE='#'
8543 if test x"${enable_ltdl_convenience-no}" != xno; then
8544 CONVENIENCE_LTDL_TRUE=
8545 CONVENIENCE_LTDL_FALSE='#'
8547 CONVENIENCE_LTDL_TRUE='#'
8548 CONVENIENCE_LTDL_FALSE=
8552 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8553 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8555 libname_spec='lib$name'
8563 shlibpath_overrides_runpath=unknown
8565 dynamic_linker="$host_os ld.so"
8566 sys_lib_dlsearch_path_spec="/lib /usr/lib"
8567 if test "$GCC" = yes; then
8568 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8569 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
8570 # if the path contains ";" then we assume it to be the separator
8571 # otherwise default to the standard path separator (i.e. ":") - it is
8572 # assumed that no part of a normal pathname contains ";" but that should
8573 # okay in the real world where ";" in dirpaths is itself problematic.
8574 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8576 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8579 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8581 need_lib_prefix=unknown
8582 hardcode_into_libs=no
8584 # when you set need_version to no, make sure it does not cause -set_version
8585 # flags to be left without arguments
8586 need_version=unknown
8591 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8592 shlibpath_var=LIBPATH
8594 # AIX 3 has no versioning support, so we append a major version to the name.
8595 soname_spec='${libname}${release}${shared_ext}$major'
8602 hardcode_into_libs=yes
8603 if test "$host_cpu" = ia64; then
8604 # AIX 5 supports IA64
8605 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8606 shlibpath_var=LD_LIBRARY_PATH
8608 # With GCC up to 2.95.x, collect2 would create an import file
8609 # for dependence libraries. The import file would start with
8610 # the line `#! .'. This would cause the generated library to
8611 # depend on `.', always an invalid library. This was fixed in
8612 # development snapshots of GCC prior to 3.0.
8614 aix4 | aix4.[01] | aix4.[01].*)
8615 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8617 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
8624 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8625 # soname into executable. Probably we can add versioning support to
8626 # collect2, so additional links can be useful in future.
8627 if test "$aix_use_runtimelinking" = yes; then
8628 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8629 # instead of lib<name>.a to let people know that these are not
8630 # typical AIX shared libraries.
8631 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8633 # We preserve .a as extension for shared libraries through AIX4.2
8634 # and later when we are not doing run time linking.
8635 library_names_spec='${libname}${release}.a $libname.a'
8636 soname_spec='${libname}${release}${shared_ext}$major'
8638 shlibpath_var=LIBPATH
8643 library_names_spec='$libname.ixlibrary $libname.a'
8644 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8645 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'
8649 library_names_spec='${libname}${shared_ext}'
8650 dynamic_linker="$host_os ld.so"
8651 shlibpath_var=LIBRARY_PATH
8657 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8658 soname_spec='${libname}${release}${shared_ext}$major'
8659 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
8660 shlibpath_var=LD_LIBRARY_PATH
8661 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8662 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
8663 # the default ld.so.conf also contains /usr/contrib/lib and
8664 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8665 # libtool to hard-code these into programs
8668 cygwin* | mingw* | pw32*)
8669 version_type=windows
8674 case $GCC,$host_os in
8675 yes,cygwin* | yes,mingw* | yes,pw32*)
8676 library_names_spec='$libname.dll.a'
8677 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8678 postinstall_cmds='base_file=`basename \${file}`~
8679 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8680 dldir=$destdir/`dirname \$dlpath`~
8681 test -d \$dldir || mkdir -p \$dldir~
8682 $install_prog $dir/$dlname \$dldir/$dlname~
8683 chmod a+x \$dldir/$dlname'
8684 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8685 dlpath=$dir/\$dldll~
8687 shlibpath_overrides_runpath=yes
8691 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8692 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8693 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
8696 # MinGW DLLs use traditional 'lib' prefix
8697 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8698 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8699 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
8700 # It is most probably a Windows format PATH printed by
8701 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8702 # path with ; separators, and with drive letters. We can handle the
8703 # drive letters (cygwin fileutils understands them), so leave them,
8704 # especially as we might pass files found there to a mingw objdump,
8705 # which wouldn't understand a cygwinified path. Ahh.
8706 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8708 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8712 # pw32 DLLs use 'pw' prefix rather than 'lib'
8713 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8719 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8722 dynamic_linker='Win32 ld.exe'
8723 # FIXME: first we should search . and the directory the executable is in
8727 darwin* | rhapsody*)
8728 dynamic_linker="$host_os dyld"
8732 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8733 soname_spec='${libname}${release}${major}$shared_ext'
8734 shlibpath_overrides_runpath=yes
8735 shlibpath_var=DYLD_LIBRARY_PATH
8736 shrext_cmds='.dylib'
8737 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8738 if test "$GCC" = yes; then
8739 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"`
8741 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
8743 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8750 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8751 soname_spec='${libname}${release}${shared_ext}$major'
8752 shlibpath_var=LD_LIBRARY_PATH
8763 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8764 soname_spec='${libname}${release}${shared_ext}$major'
8765 shlibpath_var=LD_LIBRARY_PATH
8766 shlibpath_overrides_runpath=no
8767 hardcode_into_libs=yes
8768 dynamic_linker='GNU ld.so'
8771 freebsd* | dragonfly*)
8772 # DragonFly does not have aout. When/if they implement a new
8773 # versioning mechanism, adjust this.
8774 if test -x /usr/bin/objformat; then
8775 objformat=`/usr/bin/objformat`
8778 freebsd[123].*) objformat=aout ;;
8782 version_type=freebsd-$objformat
8783 case $version_type in
8785 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8790 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8794 shlibpath_var=LD_LIBRARY_PATH
8797 shlibpath_overrides_runpath=yes
8799 freebsd3.[01]* | freebsdelf3.[01]*)
8800 shlibpath_overrides_runpath=yes
8801 hardcode_into_libs=yes
8803 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
8804 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
8805 shlibpath_overrides_runpath=no
8806 hardcode_into_libs=yes
8808 freebsd*) # from 4.6 on
8809 shlibpath_overrides_runpath=yes
8810 hardcode_into_libs=yes
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 hardcode_into_libs=yes
8825 hpux9* | hpux10* | hpux11*)
8826 # Give a soname corresponding to the major version so that dld.sl refuses to
8827 # link against other versions.
8834 hardcode_into_libs=yes
8835 dynamic_linker="$host_os dld.so"
8836 shlibpath_var=LD_LIBRARY_PATH
8837 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8838 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8839 soname_spec='${libname}${release}${shared_ext}$major'
8840 if test "X$HPUX_IA64_MODE" = X32; then
8841 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8843 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
8845 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8849 hardcode_into_libs=yes
8850 dynamic_linker="$host_os dld.sl"
8851 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
8852 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8853 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8854 soname_spec='${libname}${release}${shared_ext}$major'
8855 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8856 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8860 dynamic_linker="$host_os dld.sl"
8861 shlibpath_var=SHLIB_PATH
8862 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
8863 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8864 soname_spec='${libname}${release}${shared_ext}$major'
8867 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8868 postinstall_cmds='chmod 555 $lib'
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 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
8878 shlibpath_var=LD_LIBRARY_PATH
8879 shlibpath_overrides_runpath=no
8880 hardcode_into_libs=yes
8883 irix5* | irix6* | nonstopux*)
8885 nonstopux*) version_type=nonstopux ;;
8887 if test "$lt_cv_prog_gnu_ld" = yes; then
8895 soname_spec='${libname}${release}${shared_ext}$major'
8896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8898 irix5* | nonstopux*)
8902 case $LD in # libtool.m4 will add one of these switches to LD
8903 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8904 libsuff= shlibsuff= libmagic=32-bit;;
8905 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8906 libsuff=32 shlibsuff=N32 libmagic=N32;;
8907 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8908 libsuff=64 shlibsuff=64 libmagic=64-bit;;
8909 *) libsuff= shlibsuff= libmagic=never-match;;
8913 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
8914 shlibpath_overrides_runpath=no
8915 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8916 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
8917 hardcode_into_libs=yes
8920 # No shared lib support for Linux oldld, aout, or coff.
8921 linux*oldld* | linux*aout* | linux*coff*)
8925 # This must be Linux ELF.
8930 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8931 soname_spec='${libname}${release}${shared_ext}$major'
8932 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8933 shlibpath_var=LD_LIBRARY_PATH
8934 shlibpath_overrides_runpath=no
8935 # This implies no fast_install, which is unacceptable.
8936 # Some rework will be needed to allow for fast_install
8937 # before this can be enabled.
8938 hardcode_into_libs=yes
8940 # Append ld.so.conf contents to the search path
8941 if test -f /etc/ld.so.conf; then
8942 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' ' '`
8943 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8946 # We used to test for /lib/ld.so.1 and disable shared libraries on
8947 # powerpc, because MkLinux only supported shared libraries with the
8948 # GNU dynamic linker. Since this was broken with cross compilers,
8949 # most powerpc-linux boxes support dynamic linking these days and
8950 # people can always --disable-shared, the test was removed, and we
8951 # assume the GNU/Linux dynamic linker is in use.
8952 dynamic_linker='GNU/Linux ld.so'
8959 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8960 soname_spec='${libname}${release}${shared_ext}$major'
8961 shlibpath_var=LD_LIBRARY_PATH
8962 shlibpath_overrides_runpath=no
8963 hardcode_into_libs=yes
8964 dynamic_linker='GNU ld.so'
8971 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8972 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8973 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8974 dynamic_linker='NetBSD (a.out) ld.so'
8976 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8977 soname_spec='${libname}${release}${shared_ext}$major'
8978 dynamic_linker='NetBSD ld.elf_so'
8980 shlibpath_var=LD_LIBRARY_PATH
8981 shlibpath_overrides_runpath=yes
8982 hardcode_into_libs=yes
8987 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8988 shlibpath_var=LD_LIBRARY_PATH
8989 shlibpath_overrides_runpath=yes
8996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8997 soname_spec='${libname}${release}${shared_ext}$major'
8998 shlibpath_var=LD_LIBRARY_PATH
8999 shlibpath_overrides_runpath=yes
9004 sys_lib_dlsearch_path_spec="/usr/lib"
9006 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9008 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9009 *) need_version=no ;;
9011 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9012 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9013 shlibpath_var=LD_LIBRARY_PATH
9014 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9016 openbsd2.[89] | openbsd2.[89].*)
9017 shlibpath_overrides_runpath=no
9020 shlibpath_overrides_runpath=yes
9024 shlibpath_overrides_runpath=yes
9029 libname_spec='$name'
9032 library_names_spec='$libname${shared_ext} $libname.a'
9033 dynamic_linker='OS/2 ld.exe'
9034 shlibpath_var=LIBPATH
9037 osf3* | osf4* | osf5*)
9041 soname_spec='${libname}${release}${shared_ext}$major'
9042 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9043 shlibpath_var=LD_LIBRARY_PATH
9044 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9045 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
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
9056 hardcode_into_libs=yes
9057 # ldd complains unless libraries are executable
9058 postinstall_cmds='chmod +x $lib'
9063 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9064 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9065 shlibpath_var=LD_LIBRARY_PATH
9066 shlibpath_overrides_runpath=yes
9067 if test "$with_gnu_ld" = yes; then
9075 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9076 soname_spec='${libname}${release}${shared_ext}$major'
9077 shlibpath_var=LD_LIBRARY_PATH
9078 case $host_vendor in
9080 shlibpath_overrides_runpath=no
9082 export_dynamic_flag_spec='${wl}-Blargedynsym'
9083 runpath_var=LD_RUN_PATH
9091 shlibpath_overrides_runpath=no
9092 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9098 if test -d /usr/nec ;then
9100 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9101 soname_spec='$libname${shared_ext}.$major'
9102 shlibpath_var=LD_LIBRARY_PATH
9106 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9107 version_type=freebsd-elf
9110 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9111 soname_spec='${libname}${release}${shared_ext}$major'
9112 shlibpath_var=LD_LIBRARY_PATH
9113 hardcode_into_libs=yes
9114 if test "$with_gnu_ld" = yes; then
9115 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9116 shlibpath_overrides_runpath=no
9118 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9119 shlibpath_overrides_runpath=yes
9122 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9126 sys_lib_dlsearch_path_spec='/usr/lib'
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
9140 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9141 echo "${ECHO_T}$dynamic_linker" >&6; }
9142 test "$dynamic_linker" = no && can_build_shared=no
9144 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9145 if test "$GCC" = yes; then
9146 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9150 { echo "$as_me:$LINENO: checking which extension is used for loadable modules" >&5
9151 echo $ECHO_N "checking which extension is used for loadable modules... $ECHO_C" >&6; }
9152 if test "${libltdl_cv_shlibext+set}" = set; then
9153 echo $ECHO_N "(cached) $ECHO_C" >&6
9157 eval libltdl_cv_shlibext=$shrext_cmds
9160 { echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
9161 echo "${ECHO_T}$libltdl_cv_shlibext" >&6; }
9162 if test -n "$libltdl_cv_shlibext"; then
9164 cat >>confdefs.h <<_ACEOF
9165 #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
9171 { echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
9172 echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6; }
9173 if test "${libltdl_cv_shlibpath_var+set}" = set; then
9174 echo $ECHO_N "(cached) $ECHO_C" >&6
9176 libltdl_cv_shlibpath_var="$shlibpath_var"
9178 { echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
9179 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6; }
9180 if test -n "$libltdl_cv_shlibpath_var"; then
9182 cat >>confdefs.h <<_ACEOF
9183 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
9189 { echo "$as_me:$LINENO: checking for the default library search path" >&5
9190 echo $ECHO_N "checking for the default library search path... $ECHO_C" >&6; }
9191 if test "${libltdl_cv_sys_search_path+set}" = set; then
9192 echo $ECHO_N "(cached) $ECHO_C" >&6
9194 libltdl_cv_sys_search_path="$sys_lib_dlsearch_path_spec"
9196 { echo "$as_me:$LINENO: result: $libltdl_cv_sys_search_path" >&5
9197 echo "${ECHO_T}$libltdl_cv_sys_search_path" >&6; }
9198 if test -n "$libltdl_cv_sys_search_path"; then
9200 for dir in $libltdl_cv_sys_search_path; do
9201 if test -z "$sys_search_path"; then
9202 sys_search_path="$dir"
9204 sys_search_path="$sys_search_path$PATH_SEPARATOR$dir"
9208 cat >>confdefs.h <<_ACEOF
9209 #define LTDL_SYSSEARCHPATH "$sys_search_path"
9214 { echo "$as_me:$LINENO: checking for objdir" >&5
9215 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
9216 if test "${libltdl_cv_objdir+set}" = set; then
9217 echo $ECHO_N "(cached) $ECHO_C" >&6
9219 libltdl_cv_objdir="$objdir"
9220 if test -n "$objdir"; then
9223 rm -f .libs 2>/dev/null
9224 mkdir .libs 2>/dev/null
9225 if test -d .libs; then
9226 libltdl_cv_objdir=.libs
9228 # MS-DOS does not allow filenames that begin with a dot.
9229 libltdl_cv_objdir=_libs
9231 rmdir .libs 2>/dev/null
9235 { echo "$as_me:$LINENO: result: $libltdl_cv_objdir" >&5
9236 echo "${ECHO_T}$libltdl_cv_objdir" >&6; }
9238 cat >>confdefs.h <<_ACEOF
9239 #define LTDL_OBJDIR "$libltdl_cv_objdir/"
9247 # Check for command to grab the raw symbol name followed by C symbol from nm.
9248 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
9249 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
9250 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
9251 echo $ECHO_N "(cached) $ECHO_C" >&6
9254 # These are sane defaults that work on at least a few old systems.
9255 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9257 # Character class describing NM global symbol codes.
9258 symcode='[BCDEGRST]'
9260 # Regexp to match symbols that can be accessed directly from C.
9261 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9263 # Transform an extracted symbol line into a proper C declaration
9264 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
9266 # Transform an extracted symbol line into symbol name and symbol address
9267 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'"
9269 # Define system-specific variables.
9274 cygwin* | mingw* | pw32*)
9275 symcode='[ABCDGISTW]'
9277 hpux*) # Its linker distinguishes data from code symbols
9278 if test "$host_cpu" = ia64; then
9279 symcode='[ABCDEGRST]'
9281 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9282 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'"
9285 if test "$host_cpu" = ia64; then
9286 symcode='[ABCDGIRSTW]'
9287 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9288 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'"
9292 symcode='[BCDEGRST]'
9295 symcode='[BCDEGQRST]'
9306 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9314 # Handle CRLF in mingw tool chain
9318 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9322 # If we're using GNU nm, then use its standard symbol codes.
9323 case `$NM -V 2>&1` in
9324 *GNU* | *'with BFD'*)
9325 symcode='[ABCDGIRSTW]' ;;
9328 # Try without a prefix undercore, then with it.
9329 for ac_symprfx in "" "_"; do
9331 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9332 symxfrm="\\1 $ac_symprfx\\2 \\2"
9334 # Write the raw and C identifiers.
9335 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9337 # Check to see that the pipe works correctly.
9341 cat > conftest.$ac_ext <<EOF
9346 void nm_test_func(){}
9350 int main(){nm_test_var='a';nm_test_func();return(0);}
9353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9354 (eval $ac_compile) 2>&5
9356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9357 (exit $ac_status); }; then
9358 # Now try to grab the symbols.
9360 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
9361 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
9363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9364 (exit $ac_status); } && test -s "$nlist"; then
9365 # Try sorting and uniquifying the output.
9366 if sort "$nlist" | uniq > "$nlist"T; then
9367 mv -f "$nlist"T "$nlist"
9372 # Make sure that we snagged all the symbols we need.
9373 if grep ' nm_test_var$' "$nlist" >/dev/null; then
9374 if grep ' nm_test_func$' "$nlist" >/dev/null; then
9375 cat <<EOF > conftest.$ac_ext
9381 # Now generate the symbol file.
9382 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
9384 cat <<EOF >> conftest.$ac_ext
9385 #if defined (__STDC__) && __STDC__
9386 # define lt_ptr_t void *
9388 # define lt_ptr_t char *
9392 /* The mapping between symbol names and symbols. */
9397 lt_preloaded_symbols[] =
9400 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
9401 cat <<\EOF >> conftest.$ac_ext
9409 # Now try linking the two files.
9410 mv conftest.$ac_objext conftstm.$ac_objext
9411 lt_save_LIBS="$LIBS"
9412 lt_save_CFLAGS="$CFLAGS"
9413 LIBS="conftstm.$ac_objext"
9414 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9416 (eval $ac_link) 2>&5
9418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9419 (exit $ac_status); } && test -s conftest${ac_exeext}; then
9422 LIBS="$lt_save_LIBS"
9423 CFLAGS="$lt_save_CFLAGS"
9425 echo "cannot find nm_test_func in $nlist" >&5
9428 echo "cannot find nm_test_var in $nlist" >&5
9431 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9434 echo "$progname: failed program was:" >&5
9435 cat conftest.$ac_ext >&5
9437 rm -f conftest* conftst*
9439 # Do not use the global_symbol_pipe unless it works.
9440 if test "$pipe_works" = yes; then
9443 lt_cv_sys_global_symbol_pipe=
9449 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9450 lt_cv_sys_global_symbol_to_cdecl=
9452 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9453 { echo "$as_me:$LINENO: result: failed" >&5
9454 echo "${ECHO_T}failed" >&6; }
9456 { echo "$as_me:$LINENO: result: ok" >&5
9457 echo "${ECHO_T}ok" >&6; }
9461 { echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
9462 echo $ECHO_N "checking whether libtool supports -dlopen/-dlpreopen... $ECHO_C" >&6; }
9463 if test "${libltdl_cv_preloaded_symbols+set}" = set; then
9464 echo $ECHO_N "(cached) $ECHO_C" >&6
9466 if test -n "$lt_cv_sys_global_symbol_pipe"; then
9467 libltdl_cv_preloaded_symbols=yes
9469 libltdl_cv_preloaded_symbols=no
9473 { echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
9474 echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6; }
9475 if test x"$libltdl_cv_preloaded_symbols" = xyes; then
9477 cat >>confdefs.h <<\_ACEOF
9478 #define HAVE_PRELOADED_SYMBOLS 1
9486 ac_cpp='$CPP $CPPFLAGS'
9487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9492 { echo "$as_me:$LINENO: checking for shl_load" >&5
9493 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9494 if test "${ac_cv_func_shl_load+set}" = set; then
9495 echo $ECHO_N "(cached) $ECHO_C" >&6
9497 cat >conftest.$ac_ext <<_ACEOF
9500 cat confdefs.h >>conftest.$ac_ext
9501 cat >>conftest.$ac_ext <<_ACEOF
9502 /* end confdefs.h. */
9503 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9505 #define shl_load innocuous_shl_load
9507 /* System header to define __stub macros and hopefully few prototypes,
9508 which can conflict with char shl_load (); below.
9509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9510 <limits.h> exists even on freestanding compilers. */
9513 # include <limits.h>
9515 # include <assert.h>
9520 /* Override any GCC internal prototype to avoid an error.
9521 Use char because int might match the return type of a GCC
9522 builtin and then its argument prototype would still apply. */
9527 /* The GNU C library defines this for functions which it implements
9528 to always fail with ENOSYS. Some functions are actually named
9529 something starting with __ and the normal name is an alias. */
9530 #if defined __stub_shl_load || defined __stub___shl_load
9542 rm -f conftest.$ac_objext conftest$ac_exeext
9543 if { (ac_try="$ac_link"
9545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9546 *) ac_try_echo=$ac_try;;
9548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9549 (eval "$ac_link") 2>conftest.er1
9551 grep -v '^ *+' conftest.er1 >conftest.err
9553 cat conftest.err >&5
9554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9555 (exit $ac_status); } &&
9556 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9557 { (case "(($ac_try" in
9558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9559 *) ac_try_echo=$ac_try;;
9561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9562 (eval "$ac_try") 2>&5
9564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9565 (exit $ac_status); }; } &&
9566 { ac_try='test -s conftest$ac_exeext'
9567 { (case "(($ac_try" in
9568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9569 *) ac_try_echo=$ac_try;;
9571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9572 (eval "$ac_try") 2>&5
9574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9575 (exit $ac_status); }; }; then
9576 ac_cv_func_shl_load=yes
9578 echo "$as_me: failed program was:" >&5
9579 sed 's/^/| /' conftest.$ac_ext >&5
9581 ac_cv_func_shl_load=no
9584 rm -f core conftest.err conftest.$ac_objext \
9585 conftest$ac_exeext conftest.$ac_ext
9587 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9588 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9589 if test $ac_cv_func_shl_load = yes; then
9591 cat >>confdefs.h <<\_ACEOF
9592 #define HAVE_SHL_LOAD 1
9596 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9597 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9598 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9599 echo $ECHO_N "(cached) $ECHO_C" >&6
9601 ac_check_lib_save_LIBS=$LIBS
9603 cat >conftest.$ac_ext <<_ACEOF
9606 cat confdefs.h >>conftest.$ac_ext
9607 cat >>conftest.$ac_ext <<_ACEOF
9608 /* end confdefs.h. */
9610 /* Override any GCC internal prototype to avoid an error.
9611 Use char because int might match the return type of a GCC
9612 builtin and then its argument prototype would still apply. */
9625 rm -f conftest.$ac_objext conftest$ac_exeext
9626 if { (ac_try="$ac_link"
9628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9629 *) ac_try_echo=$ac_try;;
9631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9632 (eval "$ac_link") 2>conftest.er1
9634 grep -v '^ *+' conftest.er1 >conftest.err
9636 cat conftest.err >&5
9637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9638 (exit $ac_status); } &&
9639 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9640 { (case "(($ac_try" in
9641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9642 *) ac_try_echo=$ac_try;;
9644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9645 (eval "$ac_try") 2>&5
9647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9648 (exit $ac_status); }; } &&
9649 { ac_try='test -s conftest$ac_exeext'
9650 { (case "(($ac_try" in
9651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9652 *) ac_try_echo=$ac_try;;
9654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9655 (eval "$ac_try") 2>&5
9657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9658 (exit $ac_status); }; }; then
9659 ac_cv_lib_dld_shl_load=yes
9661 echo "$as_me: failed program was:" >&5
9662 sed 's/^/| /' conftest.$ac_ext >&5
9664 ac_cv_lib_dld_shl_load=no
9667 rm -f core conftest.err conftest.$ac_objext \
9668 conftest$ac_exeext conftest.$ac_ext
9669 LIBS=$ac_check_lib_save_LIBS
9671 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9672 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9673 if test $ac_cv_lib_dld_shl_load = yes; then
9675 cat >>confdefs.h <<\_ACEOF
9676 #define HAVE_SHL_LOAD 1
9679 LIBADD_DL="$LIBADD_DL -ldld"
9681 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9682 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9683 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9684 echo $ECHO_N "(cached) $ECHO_C" >&6
9686 ac_check_lib_save_LIBS=$LIBS
9688 cat >conftest.$ac_ext <<_ACEOF
9691 cat confdefs.h >>conftest.$ac_ext
9692 cat >>conftest.$ac_ext <<_ACEOF
9693 /* end confdefs.h. */
9695 /* Override any GCC internal prototype to avoid an error.
9696 Use char because int might match the return type of a GCC
9697 builtin and then its argument prototype would still apply. */
9710 rm -f conftest.$ac_objext conftest$ac_exeext
9711 if { (ac_try="$ac_link"
9713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9714 *) ac_try_echo=$ac_try;;
9716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9717 (eval "$ac_link") 2>conftest.er1
9719 grep -v '^ *+' conftest.er1 >conftest.err
9721 cat conftest.err >&5
9722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9723 (exit $ac_status); } &&
9724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9725 { (case "(($ac_try" in
9726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9727 *) ac_try_echo=$ac_try;;
9729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9730 (eval "$ac_try") 2>&5
9732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9733 (exit $ac_status); }; } &&
9734 { ac_try='test -s conftest$ac_exeext'
9735 { (case "(($ac_try" in
9736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9737 *) ac_try_echo=$ac_try;;
9739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9740 (eval "$ac_try") 2>&5
9742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9743 (exit $ac_status); }; }; then
9744 ac_cv_lib_dl_dlopen=yes
9746 echo "$as_me: failed program was:" >&5
9747 sed 's/^/| /' conftest.$ac_ext >&5
9749 ac_cv_lib_dl_dlopen=no
9752 rm -f core conftest.err conftest.$ac_objext \
9753 conftest$ac_exeext conftest.$ac_ext
9754 LIBS=$ac_check_lib_save_LIBS
9756 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9757 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9758 if test $ac_cv_lib_dl_dlopen = yes; then
9760 cat >>confdefs.h <<\_ACEOF
9761 #define HAVE_LIBDL 1
9764 LIBADD_DL="-ldl" libltdl_cv_lib_dl_dlopen="yes"
9766 cat >conftest.$ac_ext <<_ACEOF
9769 cat confdefs.h >>conftest.$ac_ext
9770 cat >>conftest.$ac_ext <<_ACEOF
9771 /* end confdefs.h. */
9784 rm -f conftest.$ac_objext conftest$ac_exeext
9785 if { (ac_try="$ac_link"
9787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9788 *) ac_try_echo=$ac_try;;
9790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9791 (eval "$ac_link") 2>conftest.er1
9793 grep -v '^ *+' conftest.er1 >conftest.err
9795 cat conftest.err >&5
9796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9797 (exit $ac_status); } &&
9798 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9799 { (case "(($ac_try" in
9800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9801 *) ac_try_echo=$ac_try;;
9803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9804 (eval "$ac_try") 2>&5
9806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9807 (exit $ac_status); }; } &&
9808 { ac_try='test -s conftest$ac_exeext'
9809 { (case "(($ac_try" in
9810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9811 *) ac_try_echo=$ac_try;;
9813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9814 (eval "$ac_try") 2>&5
9816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9817 (exit $ac_status); }; }; then
9819 cat >>confdefs.h <<\_ACEOF
9820 #define HAVE_LIBDL 1
9822 libltdl_cv_func_dlopen="yes"
9824 echo "$as_me: failed program was:" >&5
9825 sed 's/^/| /' conftest.$ac_ext >&5
9827 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9828 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9829 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9830 echo $ECHO_N "(cached) $ECHO_C" >&6
9832 ac_check_lib_save_LIBS=$LIBS
9834 cat >conftest.$ac_ext <<_ACEOF
9837 cat confdefs.h >>conftest.$ac_ext
9838 cat >>conftest.$ac_ext <<_ACEOF
9839 /* end confdefs.h. */
9841 /* Override any GCC internal prototype to avoid an error.
9842 Use char because int might match the return type of a GCC
9843 builtin and then its argument prototype would still apply. */
9856 rm -f conftest.$ac_objext conftest$ac_exeext
9857 if { (ac_try="$ac_link"
9859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9860 *) ac_try_echo=$ac_try;;
9862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9863 (eval "$ac_link") 2>conftest.er1
9865 grep -v '^ *+' conftest.er1 >conftest.err
9867 cat conftest.err >&5
9868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9869 (exit $ac_status); } &&
9870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9871 { (case "(($ac_try" in
9872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9873 *) ac_try_echo=$ac_try;;
9875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9876 (eval "$ac_try") 2>&5
9878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9879 (exit $ac_status); }; } &&
9880 { ac_try='test -s conftest$ac_exeext'
9881 { (case "(($ac_try" in
9882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9883 *) ac_try_echo=$ac_try;;
9885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9886 (eval "$ac_try") 2>&5
9888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9889 (exit $ac_status); }; }; then
9890 ac_cv_lib_svld_dlopen=yes
9892 echo "$as_me: failed program was:" >&5
9893 sed 's/^/| /' conftest.$ac_ext >&5
9895 ac_cv_lib_svld_dlopen=no
9898 rm -f core conftest.err conftest.$ac_objext \
9899 conftest$ac_exeext conftest.$ac_ext
9900 LIBS=$ac_check_lib_save_LIBS
9902 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9903 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9904 if test $ac_cv_lib_svld_dlopen = yes; then
9906 cat >>confdefs.h <<\_ACEOF
9907 #define HAVE_LIBDL 1
9910 LIBADD_DL="-lsvld" libltdl_cv_func_dlopen="yes"
9912 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9913 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9914 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9915 echo $ECHO_N "(cached) $ECHO_C" >&6
9917 ac_check_lib_save_LIBS=$LIBS
9919 cat >conftest.$ac_ext <<_ACEOF
9922 cat confdefs.h >>conftest.$ac_ext
9923 cat >>conftest.$ac_ext <<_ACEOF
9924 /* end confdefs.h. */
9926 /* Override any GCC internal prototype to avoid an error.
9927 Use char because int might match the return type of a GCC
9928 builtin and then its argument prototype would still apply. */
9941 rm -f conftest.$ac_objext conftest$ac_exeext
9942 if { (ac_try="$ac_link"
9944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9945 *) ac_try_echo=$ac_try;;
9947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9948 (eval "$ac_link") 2>conftest.er1
9950 grep -v '^ *+' conftest.er1 >conftest.err
9952 cat conftest.err >&5
9953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9954 (exit $ac_status); } &&
9955 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9956 { (case "(($ac_try" in
9957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9958 *) ac_try_echo=$ac_try;;
9960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9961 (eval "$ac_try") 2>&5
9963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9964 (exit $ac_status); }; } &&
9965 { ac_try='test -s conftest$ac_exeext'
9966 { (case "(($ac_try" in
9967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9968 *) ac_try_echo=$ac_try;;
9970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9971 (eval "$ac_try") 2>&5
9973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9974 (exit $ac_status); }; }; then
9975 ac_cv_lib_dld_dld_link=yes
9977 echo "$as_me: failed program was:" >&5
9978 sed 's/^/| /' conftest.$ac_ext >&5
9980 ac_cv_lib_dld_dld_link=no
9983 rm -f core conftest.err conftest.$ac_objext \
9984 conftest$ac_exeext conftest.$ac_ext
9985 LIBS=$ac_check_lib_save_LIBS
9987 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9988 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9989 if test $ac_cv_lib_dld_dld_link = yes; then
9991 cat >>confdefs.h <<\_ACEOF
9995 LIBADD_DL="$LIBADD_DL -ldld"
9997 { echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
9998 echo $ECHO_N "checking for _dyld_func_lookup... $ECHO_C" >&6; }
9999 if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
10000 echo $ECHO_N "(cached) $ECHO_C" >&6
10002 cat >conftest.$ac_ext <<_ACEOF
10005 cat confdefs.h >>conftest.$ac_ext
10006 cat >>conftest.$ac_ext <<_ACEOF
10007 /* end confdefs.h. */
10008 /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
10009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10010 #define _dyld_func_lookup innocuous__dyld_func_lookup
10012 /* System header to define __stub macros and hopefully few prototypes,
10013 which can conflict with char _dyld_func_lookup (); below.
10014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10015 <limits.h> exists even on freestanding compilers. */
10018 # include <limits.h>
10020 # include <assert.h>
10023 #undef _dyld_func_lookup
10025 /* Override any GCC internal prototype to avoid an error.
10026 Use char because int might match the return type of a GCC
10027 builtin and then its argument prototype would still apply. */
10031 char _dyld_func_lookup ();
10032 /* The GNU C library defines this for functions which it implements
10033 to always fail with ENOSYS. Some functions are actually named
10034 something starting with __ and the normal name is an alias. */
10035 #if defined __stub__dyld_func_lookup || defined __stub____dyld_func_lookup
10042 return _dyld_func_lookup ();
10047 rm -f conftest.$ac_objext conftest$ac_exeext
10048 if { (ac_try="$ac_link"
10049 case "(($ac_try" in
10050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10051 *) ac_try_echo=$ac_try;;
10053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10054 (eval "$ac_link") 2>conftest.er1
10056 grep -v '^ *+' conftest.er1 >conftest.err
10058 cat conftest.err >&5
10059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10060 (exit $ac_status); } &&
10061 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10062 { (case "(($ac_try" in
10063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10064 *) ac_try_echo=$ac_try;;
10066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10067 (eval "$ac_try") 2>&5
10069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10070 (exit $ac_status); }; } &&
10071 { ac_try='test -s conftest$ac_exeext'
10072 { (case "(($ac_try" in
10073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10074 *) ac_try_echo=$ac_try;;
10076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10077 (eval "$ac_try") 2>&5
10079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10080 (exit $ac_status); }; }; then
10081 ac_cv_func__dyld_func_lookup=yes
10083 echo "$as_me: failed program was:" >&5
10084 sed 's/^/| /' conftest.$ac_ext >&5
10086 ac_cv_func__dyld_func_lookup=no
10089 rm -f core conftest.err conftest.$ac_objext \
10090 conftest$ac_exeext conftest.$ac_ext
10092 { echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
10093 echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6; }
10094 if test $ac_cv_func__dyld_func_lookup = yes; then
10096 cat >>confdefs.h <<\_ACEOF
10097 #define HAVE_DYLD 1
10111 rm -f core conftest.err conftest.$ac_objext \
10112 conftest$ac_exeext conftest.$ac_ext
10123 if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
10125 lt_save_LIBS="$LIBS"
10126 LIBS="$LIBS $LIBADD_DL"
10128 for ac_func in dlerror
10130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10131 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10133 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10134 echo $ECHO_N "(cached) $ECHO_C" >&6
10136 cat >conftest.$ac_ext <<_ACEOF
10139 cat confdefs.h >>conftest.$ac_ext
10140 cat >>conftest.$ac_ext <<_ACEOF
10141 /* end confdefs.h. */
10142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10144 #define $ac_func innocuous_$ac_func
10146 /* System header to define __stub macros and hopefully few prototypes,
10147 which can conflict with char $ac_func (); below.
10148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10149 <limits.h> exists even on freestanding compilers. */
10152 # include <limits.h>
10154 # include <assert.h>
10159 /* Override any GCC internal prototype to avoid an error.
10160 Use char because int might match the return type of a GCC
10161 builtin and then its argument prototype would still apply. */
10166 /* The GNU C library defines this for functions which it implements
10167 to always fail with ENOSYS. Some functions are actually named
10168 something starting with __ and the normal name is an alias. */
10169 #if defined __stub_$ac_func || defined __stub___$ac_func
10176 return $ac_func ();
10181 rm -f conftest.$ac_objext conftest$ac_exeext
10182 if { (ac_try="$ac_link"
10183 case "(($ac_try" in
10184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10185 *) ac_try_echo=$ac_try;;
10187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10188 (eval "$ac_link") 2>conftest.er1
10190 grep -v '^ *+' conftest.er1 >conftest.err
10192 cat conftest.err >&5
10193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10194 (exit $ac_status); } &&
10195 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10196 { (case "(($ac_try" in
10197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10198 *) ac_try_echo=$ac_try;;
10200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10201 (eval "$ac_try") 2>&5
10203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10204 (exit $ac_status); }; } &&
10205 { ac_try='test -s conftest$ac_exeext'
10206 { (case "(($ac_try" in
10207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10208 *) ac_try_echo=$ac_try;;
10210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10211 (eval "$ac_try") 2>&5
10213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10214 (exit $ac_status); }; }; then
10215 eval "$as_ac_var=yes"
10217 echo "$as_me: failed program was:" >&5
10218 sed 's/^/| /' conftest.$ac_ext >&5
10220 eval "$as_ac_var=no"
10223 rm -f core conftest.err conftest.$ac_objext \
10224 conftest$ac_exeext conftest.$ac_ext
10226 ac_res=`eval echo '${'$as_ac_var'}'`
10227 { echo "$as_me:$LINENO: result: $ac_res" >&5
10228 echo "${ECHO_T}$ac_res" >&6; }
10229 if test `eval echo '${'$as_ac_var'}'` = yes; then
10230 cat >>confdefs.h <<_ACEOF
10231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10237 LIBS="$lt_save_LIBS"
10240 ac_cpp='$CPP $CPPFLAGS'
10241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10247 { echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
10248 echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6; }
10249 if test "${ac_cv_sys_symbol_underscore+set}" = set; then
10250 echo $ECHO_N "(cached) $ECHO_C" >&6
10252 ac_cv_sys_symbol_underscore=no
10253 cat > conftest.$ac_ext <<EOF
10254 void nm_test_func(){}
10255 int main(){nm_test_func;return 0;}
10257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10258 (eval $ac_compile) 2>&5
10260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10261 (exit $ac_status); }; then
10262 # Now try to grab the symbols.
10263 ac_nlist=conftest.nm
10264 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
10265 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
10267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10268 (exit $ac_status); } && test -s "$ac_nlist"; then
10269 # See whether the symbols have a leading underscore.
10270 if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
10271 ac_cv_sys_symbol_underscore=yes
10273 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
10276 echo "configure: cannot find nm_test_func in $ac_nlist" >&5
10280 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
10283 echo "configure: failed program was:" >&5
10289 { echo "$as_me:$LINENO: result: $ac_cv_sys_symbol_underscore" >&5
10290 echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6; }
10293 if test x"$ac_cv_sys_symbol_underscore" = xyes; then
10294 if test x"$libltdl_cv_func_dlopen" = xyes ||
10295 test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
10296 { echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
10297 echo $ECHO_N "checking whether we have to add an underscore for dlsym... $ECHO_C" >&6; }
10298 if test "${libltdl_cv_need_uscore+set}" = set; then
10299 echo $ECHO_N "(cached) $ECHO_C" >&6
10301 libltdl_cv_need_uscore=unknown
10303 LIBS="$LIBS $LIBADD_DL"
10304 if test "$cross_compiling" = yes; then :
10305 libltdl_cv_need_uscore=cross
10307 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10308 lt_status=$lt_dlunknown
10309 cat > conftest.$ac_ext <<EOF
10310 #line 10303 "configure"
10311 #include "confdefs.h"
10320 # define LT_DLGLOBAL RTLD_GLOBAL
10323 # define LT_DLGLOBAL DL_GLOBAL
10325 # define LT_DLGLOBAL 0
10329 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10330 find out it does not work in some platform. */
10331 #ifndef LT_DLLAZY_OR_NOW
10333 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10336 # define LT_DLLAZY_OR_NOW DL_LAZY
10339 # define LT_DLLAZY_OR_NOW RTLD_NOW
10342 # define LT_DLLAZY_OR_NOW DL_NOW
10344 # define LT_DLLAZY_OR_NOW 0
10352 extern "C" void exit (int);
10355 void fnord() { int i=42;}
10358 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10359 int status = $lt_dlunknown;
10363 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10364 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10365 /* dlclose (self); */
10373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10374 (eval $ac_link) 2>&5
10376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10377 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10378 (./conftest; exit; ) >&5 2>/dev/null
10380 case x$lt_status in
10381 x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
10382 x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
10383 x$lt_dlunknown|x*) ;;
10386 # compilation failed
10395 { echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
10396 echo "${ECHO_T}$libltdl_cv_need_uscore" >&6; }
10400 if test x"$libltdl_cv_need_uscore" = xyes; then
10402 cat >>confdefs.h <<\_ACEOF
10403 #define NEED_USCORE 1
10409 { echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
10410 echo $ECHO_N "checking whether deplibs are loaded by dlopen... $ECHO_C" >&6; }
10411 if test "${libltdl_cv_sys_dlopen_deplibs+set}" = set; then
10412 echo $ECHO_N "(cached) $ECHO_C" >&6
10414 # PORTME does your system automatically load deplibs for dlopen?
10415 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
10416 # For now, we just catch OSes we know something about -- in the
10417 # future, we'll try test this programmatically.
10418 libltdl_cv_sys_dlopen_deplibs=unknown
10420 aix3*|aix4.1.*|aix4.2.*)
10421 # Unknown whether this is true for these versions of AIX, but
10422 # we want this `case' here to explicitly catch those versions.
10423 libltdl_cv_sys_dlopen_deplibs=unknown
10426 libltdl_cv_sys_dlopen_deplibs=yes
10429 # Assuming the user has installed a libdl from somewhere, this is true
10430 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
10431 libltdl_cv_sys_dlopen_deplibs=yes
10433 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
10434 # GNU and its variants, using gnu ld.so (Glibc)
10435 libltdl_cv_sys_dlopen_deplibs=yes
10438 libltdl_cv_sys_dlopen_deplibs=yes
10441 libltdl_cv_sys_dlopen_deplibs=yes
10443 irix[12345]*|irix6.[01]*)
10444 # Catch all versions of IRIX before 6.2, and indicate that we don't
10445 # know how it worked for any of those versions.
10446 libltdl_cv_sys_dlopen_deplibs=unknown
10449 # The case above catches anything before 6.2, and it's known that
10450 # at 6.2 and later dlopen does load deplibs.
10451 libltdl_cv_sys_dlopen_deplibs=yes
10454 libltdl_cv_sys_dlopen_deplibs=yes
10457 libltdl_cv_sys_dlopen_deplibs=yes
10460 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
10461 # it did *not* use an RPATH in a shared library to find objects the
10462 # library depends on, so we explicitly say `no'.
10463 libltdl_cv_sys_dlopen_deplibs=no
10465 osf5.0|osf5.0a|osf5.1)
10466 # dlopen *does* load deplibs and with the right loader patch applied
10467 # it even uses RPATH in a shared library to search for shared objects
10468 # that the library depends on, but there's no easy way to know if that
10469 # patch is installed. Since this is the case, all we can really
10470 # say is unknown -- it depends on the patch being installed. If
10471 # it is, this changes to `yes'. Without it, it would be `no'.
10472 libltdl_cv_sys_dlopen_deplibs=unknown
10475 # the two cases above should catch all versions of osf <= 5.1. Read
10476 # the comments above for what we know about them.
10477 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
10478 # is used to find them so we can finally say `yes'.
10479 libltdl_cv_sys_dlopen_deplibs=yes
10482 libltdl_cv_sys_dlopen_deplibs=yes
10484 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10485 libltdl_cv_sys_dlopen_deplibs=yes
10490 { echo "$as_me:$LINENO: result: $libltdl_cv_sys_dlopen_deplibs" >&5
10491 echo "${ECHO_T}$libltdl_cv_sys_dlopen_deplibs" >&6; }
10492 if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
10494 cat >>confdefs.h <<\_ACEOF
10495 #define LTDL_DLOPEN_DEPLIBS 1
10501 for ac_header in argz.h
10503 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10504 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10505 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10506 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10507 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10508 echo $ECHO_N "(cached) $ECHO_C" >&6
10510 ac_res=`eval echo '${'$as_ac_Header'}'`
10511 { echo "$as_me:$LINENO: result: $ac_res" >&5
10512 echo "${ECHO_T}$ac_res" >&6; }
10514 # Is the header compilable?
10515 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10516 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10517 cat >conftest.$ac_ext <<_ACEOF
10520 cat confdefs.h >>conftest.$ac_ext
10521 cat >>conftest.$ac_ext <<_ACEOF
10522 /* end confdefs.h. */
10523 $ac_includes_default
10524 #include <$ac_header>
10526 rm -f conftest.$ac_objext
10527 if { (ac_try="$ac_compile"
10528 case "(($ac_try" in
10529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10530 *) ac_try_echo=$ac_try;;
10532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10533 (eval "$ac_compile") 2>conftest.er1
10535 grep -v '^ *+' conftest.er1 >conftest.err
10537 cat conftest.err >&5
10538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10539 (exit $ac_status); } &&
10540 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10541 { (case "(($ac_try" in
10542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10543 *) ac_try_echo=$ac_try;;
10545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10546 (eval "$ac_try") 2>&5
10548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10549 (exit $ac_status); }; } &&
10550 { ac_try='test -s conftest.$ac_objext'
10551 { (case "(($ac_try" in
10552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10553 *) ac_try_echo=$ac_try;;
10555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10556 (eval "$ac_try") 2>&5
10558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10559 (exit $ac_status); }; }; then
10560 ac_header_compiler=yes
10562 echo "$as_me: failed program was:" >&5
10563 sed 's/^/| /' conftest.$ac_ext >&5
10565 ac_header_compiler=no
10568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10569 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10570 echo "${ECHO_T}$ac_header_compiler" >&6; }
10572 # Is the header present?
10573 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10574 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10575 cat >conftest.$ac_ext <<_ACEOF
10578 cat confdefs.h >>conftest.$ac_ext
10579 cat >>conftest.$ac_ext <<_ACEOF
10580 /* end confdefs.h. */
10581 #include <$ac_header>
10583 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null; then
10596 if test -s conftest.err; then
10597 ac_cpp_err=$ac_c_preproc_warn_flag
10598 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10605 if test -z "$ac_cpp_err"; then
10606 ac_header_preproc=yes
10608 echo "$as_me: failed program was:" >&5
10609 sed 's/^/| /' conftest.$ac_ext >&5
10611 ac_header_preproc=no
10614 rm -f conftest.err conftest.$ac_ext
10615 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10616 echo "${ECHO_T}$ac_header_preproc" >&6; }
10618 # So? What about this header?
10619 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10621 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10622 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10623 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10624 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10625 ac_header_preproc=yes
10628 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10629 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10630 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10631 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10632 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10633 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10634 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10635 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10636 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10637 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10638 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10639 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10641 ## ------------------------------ ##
10642 ## Report this to bugs@yourdomain ##
10643 ## ------------------------------ ##
10645 ) | sed "s/^/$as_me: WARNING: /" >&2
10648 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10650 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10651 echo $ECHO_N "(cached) $ECHO_C" >&6
10653 eval "$as_ac_Header=\$ac_header_preproc"
10655 ac_res=`eval echo '${'$as_ac_Header'}'`
10656 { echo "$as_me:$LINENO: result: $ac_res" >&5
10657 echo "${ECHO_T}$ac_res" >&6; }
10660 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10661 cat >>confdefs.h <<_ACEOF
10662 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10670 { echo "$as_me:$LINENO: checking for error_t" >&5
10671 echo $ECHO_N "checking for error_t... $ECHO_C" >&6; }
10672 if test "${ac_cv_type_error_t+set}" = set; then
10673 echo $ECHO_N "(cached) $ECHO_C" >&6
10675 cat >conftest.$ac_ext <<_ACEOF
10678 cat confdefs.h >>conftest.$ac_ext
10679 cat >>conftest.$ac_ext <<_ACEOF
10680 /* end confdefs.h. */
10685 typedef error_t ac__type_new_;
10689 if ((ac__type_new_ *) 0)
10691 if (sizeof (ac__type_new_))
10697 rm -f conftest.$ac_objext
10698 if { (ac_try="$ac_compile"
10699 case "(($ac_try" in
10700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10701 *) ac_try_echo=$ac_try;;
10703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10704 (eval "$ac_compile") 2>conftest.er1
10706 grep -v '^ *+' conftest.er1 >conftest.err
10708 cat conftest.err >&5
10709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10710 (exit $ac_status); } &&
10711 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10712 { (case "(($ac_try" in
10713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10714 *) ac_try_echo=$ac_try;;
10716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10717 (eval "$ac_try") 2>&5
10719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10720 (exit $ac_status); }; } &&
10721 { ac_try='test -s conftest.$ac_objext'
10722 { (case "(($ac_try" in
10723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10724 *) ac_try_echo=$ac_try;;
10726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10727 (eval "$ac_try") 2>&5
10729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10730 (exit $ac_status); }; }; then
10731 ac_cv_type_error_t=yes
10733 echo "$as_me: failed program was:" >&5
10734 sed 's/^/| /' conftest.$ac_ext >&5
10736 ac_cv_type_error_t=no
10739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10741 { echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
10742 echo "${ECHO_T}$ac_cv_type_error_t" >&6; }
10743 if test $ac_cv_type_error_t = yes; then
10745 cat >>confdefs.h <<_ACEOF
10746 #define HAVE_ERROR_T 1
10752 cat >>confdefs.h <<\_ACEOF
10753 #define error_t int
10764 for ac_func in argz_append argz_create_sep argz_insert argz_next argz_stringify
10766 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10767 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10768 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10769 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10770 echo $ECHO_N "(cached) $ECHO_C" >&6
10772 cat >conftest.$ac_ext <<_ACEOF
10775 cat confdefs.h >>conftest.$ac_ext
10776 cat >>conftest.$ac_ext <<_ACEOF
10777 /* end confdefs.h. */
10778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10780 #define $ac_func innocuous_$ac_func
10782 /* System header to define __stub macros and hopefully few prototypes,
10783 which can conflict with char $ac_func (); below.
10784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10785 <limits.h> exists even on freestanding compilers. */
10788 # include <limits.h>
10790 # include <assert.h>
10795 /* Override any GCC internal prototype to avoid an error.
10796 Use char because int might match the return type of a GCC
10797 builtin and then its argument prototype would still apply. */
10802 /* The GNU C library defines this for functions which it implements
10803 to always fail with ENOSYS. Some functions are actually named
10804 something starting with __ and the normal name is an alias. */
10805 #if defined __stub_$ac_func || defined __stub___$ac_func
10812 return $ac_func ();
10817 rm -f conftest.$ac_objext conftest$ac_exeext
10818 if { (ac_try="$ac_link"
10819 case "(($ac_try" in
10820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10821 *) ac_try_echo=$ac_try;;
10823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10824 (eval "$ac_link") 2>conftest.er1
10826 grep -v '^ *+' conftest.er1 >conftest.err
10828 cat conftest.err >&5
10829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10830 (exit $ac_status); } &&
10831 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10832 { (case "(($ac_try" in
10833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10834 *) ac_try_echo=$ac_try;;
10836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10837 (eval "$ac_try") 2>&5
10839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10840 (exit $ac_status); }; } &&
10841 { ac_try='test -s conftest$ac_exeext'
10842 { (case "(($ac_try" in
10843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10844 *) ac_try_echo=$ac_try;;
10846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10847 (eval "$ac_try") 2>&5
10849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10850 (exit $ac_status); }; }; then
10851 eval "$as_ac_var=yes"
10853 echo "$as_me: failed program was:" >&5
10854 sed 's/^/| /' conftest.$ac_ext >&5
10856 eval "$as_ac_var=no"
10859 rm -f core conftest.err conftest.$ac_objext \
10860 conftest$ac_exeext conftest.$ac_ext
10862 ac_res=`eval echo '${'$as_ac_var'}'`
10863 { echo "$as_me:$LINENO: result: $ac_res" >&5
10864 echo "${ECHO_T}$ac_res" >&6; }
10865 if test `eval echo '${'$as_ac_var'}'` = yes; then
10866 cat >>confdefs.h <<_ACEOF
10867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10900 for ac_header in assert.h ctype.h errno.h malloc.h memory.h stdlib.h \
10903 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10904 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10905 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10907 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10908 echo $ECHO_N "(cached) $ECHO_C" >&6
10910 ac_res=`eval echo '${'$as_ac_Header'}'`
10911 { echo "$as_me:$LINENO: result: $ac_res" >&5
10912 echo "${ECHO_T}$ac_res" >&6; }
10914 # Is the header compilable?
10915 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10916 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10917 cat >conftest.$ac_ext <<_ACEOF
10920 cat confdefs.h >>conftest.$ac_ext
10921 cat >>conftest.$ac_ext <<_ACEOF
10922 /* end confdefs.h. */
10923 $ac_includes_default
10924 #include <$ac_header>
10926 rm -f conftest.$ac_objext
10927 if { (ac_try="$ac_compile"
10928 case "(($ac_try" in
10929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10930 *) ac_try_echo=$ac_try;;
10932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10933 (eval "$ac_compile") 2>conftest.er1
10935 grep -v '^ *+' conftest.er1 >conftest.err
10937 cat conftest.err >&5
10938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10939 (exit $ac_status); } &&
10940 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10941 { (case "(($ac_try" in
10942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10943 *) ac_try_echo=$ac_try;;
10945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10946 (eval "$ac_try") 2>&5
10948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10949 (exit $ac_status); }; } &&
10950 { ac_try='test -s conftest.$ac_objext'
10951 { (case "(($ac_try" in
10952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10953 *) ac_try_echo=$ac_try;;
10955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10956 (eval "$ac_try") 2>&5
10958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10959 (exit $ac_status); }; }; then
10960 ac_header_compiler=yes
10962 echo "$as_me: failed program was:" >&5
10963 sed 's/^/| /' conftest.$ac_ext >&5
10965 ac_header_compiler=no
10968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10969 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10970 echo "${ECHO_T}$ac_header_compiler" >&6; }
10972 # Is the header present?
10973 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10974 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10975 cat >conftest.$ac_ext <<_ACEOF
10978 cat confdefs.h >>conftest.$ac_ext
10979 cat >>conftest.$ac_ext <<_ACEOF
10980 /* end confdefs.h. */
10981 #include <$ac_header>
10983 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null; then
10996 if test -s conftest.err; then
10997 ac_cpp_err=$ac_c_preproc_warn_flag
10998 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11005 if test -z "$ac_cpp_err"; then
11006 ac_header_preproc=yes
11008 echo "$as_me: failed program was:" >&5
11009 sed 's/^/| /' conftest.$ac_ext >&5
11011 ac_header_preproc=no
11014 rm -f conftest.err conftest.$ac_ext
11015 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11016 echo "${ECHO_T}$ac_header_preproc" >&6; }
11018 # So? What about this header?
11019 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11021 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11022 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11023 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11024 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11025 ac_header_preproc=yes
11028 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11029 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11030 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11031 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11032 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11033 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11034 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11035 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11036 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11037 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11038 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11039 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11041 ## ------------------------------ ##
11042 ## Report this to bugs@yourdomain ##
11043 ## ------------------------------ ##
11045 ) | sed "s/^/$as_me: WARNING: /" >&2
11048 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11049 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11050 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11051 echo $ECHO_N "(cached) $ECHO_C" >&6
11053 eval "$as_ac_Header=\$ac_header_preproc"
11055 ac_res=`eval echo '${'$as_ac_Header'}'`
11056 { echo "$as_me:$LINENO: result: $ac_res" >&5
11057 echo "${ECHO_T}$ac_res" >&6; }
11060 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11061 cat >>confdefs.h <<_ACEOF
11062 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11073 for ac_header in dl.h sys/dl.h dld.h mach-o/dyld.h
11075 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11076 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11077 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11078 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11079 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11080 echo $ECHO_N "(cached) $ECHO_C" >&6
11082 ac_res=`eval echo '${'$as_ac_Header'}'`
11083 { echo "$as_me:$LINENO: result: $ac_res" >&5
11084 echo "${ECHO_T}$ac_res" >&6; }
11086 # Is the header compilable?
11087 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11088 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11089 cat >conftest.$ac_ext <<_ACEOF
11092 cat confdefs.h >>conftest.$ac_ext
11093 cat >>conftest.$ac_ext <<_ACEOF
11094 /* end confdefs.h. */
11095 $ac_includes_default
11096 #include <$ac_header>
11098 rm -f conftest.$ac_objext
11099 if { (ac_try="$ac_compile"
11100 case "(($ac_try" in
11101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11102 *) ac_try_echo=$ac_try;;
11104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11105 (eval "$ac_compile") 2>conftest.er1
11107 grep -v '^ *+' conftest.er1 >conftest.err
11109 cat conftest.err >&5
11110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11111 (exit $ac_status); } &&
11112 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11113 { (case "(($ac_try" in
11114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11115 *) ac_try_echo=$ac_try;;
11117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11118 (eval "$ac_try") 2>&5
11120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11121 (exit $ac_status); }; } &&
11122 { ac_try='test -s conftest.$ac_objext'
11123 { (case "(($ac_try" in
11124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11125 *) ac_try_echo=$ac_try;;
11127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11128 (eval "$ac_try") 2>&5
11130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11131 (exit $ac_status); }; }; then
11132 ac_header_compiler=yes
11134 echo "$as_me: failed program was:" >&5
11135 sed 's/^/| /' conftest.$ac_ext >&5
11137 ac_header_compiler=no
11140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11141 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11142 echo "${ECHO_T}$ac_header_compiler" >&6; }
11144 # Is the header present?
11145 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11146 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11147 cat >conftest.$ac_ext <<_ACEOF
11150 cat confdefs.h >>conftest.$ac_ext
11151 cat >>conftest.$ac_ext <<_ACEOF
11152 /* end confdefs.h. */
11153 #include <$ac_header>
11155 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null; then
11168 if test -s conftest.err; then
11169 ac_cpp_err=$ac_c_preproc_warn_flag
11170 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11177 if test -z "$ac_cpp_err"; then
11178 ac_header_preproc=yes
11180 echo "$as_me: failed program was:" >&5
11181 sed 's/^/| /' conftest.$ac_ext >&5
11183 ac_header_preproc=no
11186 rm -f conftest.err conftest.$ac_ext
11187 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11188 echo "${ECHO_T}$ac_header_preproc" >&6; }
11190 # So? What about this header?
11191 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11193 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11194 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11195 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11196 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11197 ac_header_preproc=yes
11200 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11201 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11202 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11203 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11204 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11205 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11206 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11207 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11208 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11209 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11210 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11211 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11213 ## ------------------------------ ##
11214 ## Report this to bugs@yourdomain ##
11215 ## ------------------------------ ##
11217 ) | sed "s/^/$as_me: WARNING: /" >&2
11220 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11222 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11223 echo $ECHO_N "(cached) $ECHO_C" >&6
11225 eval "$as_ac_Header=\$ac_header_preproc"
11227 ac_res=`eval echo '${'$as_ac_Header'}'`
11228 { echo "$as_me:$LINENO: result: $ac_res" >&5
11229 echo "${ECHO_T}$ac_res" >&6; }
11232 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11233 cat >>confdefs.h <<_ACEOF
11234 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11243 for ac_header in string.h strings.h
11245 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11246 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11247 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11248 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11249 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11250 echo $ECHO_N "(cached) $ECHO_C" >&6
11252 ac_res=`eval echo '${'$as_ac_Header'}'`
11253 { echo "$as_me:$LINENO: result: $ac_res" >&5
11254 echo "${ECHO_T}$ac_res" >&6; }
11256 # Is the header compilable?
11257 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11258 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11259 cat >conftest.$ac_ext <<_ACEOF
11262 cat confdefs.h >>conftest.$ac_ext
11263 cat >>conftest.$ac_ext <<_ACEOF
11264 /* end confdefs.h. */
11265 $ac_includes_default
11266 #include <$ac_header>
11268 rm -f conftest.$ac_objext
11269 if { (ac_try="$ac_compile"
11270 case "(($ac_try" in
11271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11272 *) ac_try_echo=$ac_try;;
11274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11275 (eval "$ac_compile") 2>conftest.er1
11277 grep -v '^ *+' conftest.er1 >conftest.err
11279 cat conftest.err >&5
11280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11281 (exit $ac_status); } &&
11282 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11283 { (case "(($ac_try" in
11284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11285 *) ac_try_echo=$ac_try;;
11287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11288 (eval "$ac_try") 2>&5
11290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11291 (exit $ac_status); }; } &&
11292 { ac_try='test -s conftest.$ac_objext'
11293 { (case "(($ac_try" in
11294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11295 *) ac_try_echo=$ac_try;;
11297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11298 (eval "$ac_try") 2>&5
11300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11301 (exit $ac_status); }; }; then
11302 ac_header_compiler=yes
11304 echo "$as_me: failed program was:" >&5
11305 sed 's/^/| /' conftest.$ac_ext >&5
11307 ac_header_compiler=no
11310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11311 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11312 echo "${ECHO_T}$ac_header_compiler" >&6; }
11314 # Is the header present?
11315 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11316 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11317 cat >conftest.$ac_ext <<_ACEOF
11320 cat confdefs.h >>conftest.$ac_ext
11321 cat >>conftest.$ac_ext <<_ACEOF
11322 /* end confdefs.h. */
11323 #include <$ac_header>
11325 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null; then
11338 if test -s conftest.err; then
11339 ac_cpp_err=$ac_c_preproc_warn_flag
11340 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11347 if test -z "$ac_cpp_err"; then
11348 ac_header_preproc=yes
11350 echo "$as_me: failed program was:" >&5
11351 sed 's/^/| /' conftest.$ac_ext >&5
11353 ac_header_preproc=no
11356 rm -f conftest.err conftest.$ac_ext
11357 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11358 echo "${ECHO_T}$ac_header_preproc" >&6; }
11360 # So? What about this header?
11361 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11363 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11364 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11365 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11366 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11367 ac_header_preproc=yes
11370 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11371 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11372 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11373 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11374 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11375 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11376 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11377 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11378 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11379 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11380 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11381 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11383 ## ------------------------------ ##
11384 ## Report this to bugs@yourdomain ##
11385 ## ------------------------------ ##
11387 ) | sed "s/^/$as_me: WARNING: /" >&2
11390 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11391 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11392 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11393 echo $ECHO_N "(cached) $ECHO_C" >&6
11395 eval "$as_ac_Header=\$ac_header_preproc"
11397 ac_res=`eval echo '${'$as_ac_Header'}'`
11398 { echo "$as_me:$LINENO: result: $ac_res" >&5
11399 echo "${ECHO_T}$ac_res" >&6; }
11402 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11403 cat >>confdefs.h <<_ACEOF
11404 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11414 for ac_func in strchr index
11416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11417 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11419 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11420 echo $ECHO_N "(cached) $ECHO_C" >&6
11422 cat >conftest.$ac_ext <<_ACEOF
11425 cat confdefs.h >>conftest.$ac_ext
11426 cat >>conftest.$ac_ext <<_ACEOF
11427 /* end confdefs.h. */
11428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11430 #define $ac_func innocuous_$ac_func
11432 /* System header to define __stub macros and hopefully few prototypes,
11433 which can conflict with char $ac_func (); below.
11434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11435 <limits.h> exists even on freestanding compilers. */
11438 # include <limits.h>
11440 # include <assert.h>
11445 /* Override any GCC internal prototype to avoid an error.
11446 Use char because int might match the return type of a GCC
11447 builtin and then its argument prototype would still apply. */
11452 /* The GNU C library defines this for functions which it implements
11453 to always fail with ENOSYS. Some functions are actually named
11454 something starting with __ and the normal name is an alias. */
11455 #if defined __stub_$ac_func || defined __stub___$ac_func
11462 return $ac_func ();
11467 rm -f conftest.$ac_objext conftest$ac_exeext
11468 if { (ac_try="$ac_link"
11469 case "(($ac_try" in
11470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11471 *) ac_try_echo=$ac_try;;
11473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11474 (eval "$ac_link") 2>conftest.er1
11476 grep -v '^ *+' conftest.er1 >conftest.err
11478 cat conftest.err >&5
11479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11480 (exit $ac_status); } &&
11481 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11482 { (case "(($ac_try" in
11483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11484 *) ac_try_echo=$ac_try;;
11486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11487 (eval "$ac_try") 2>&5
11489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11490 (exit $ac_status); }; } &&
11491 { ac_try='test -s conftest$ac_exeext'
11492 { (case "(($ac_try" in
11493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11494 *) ac_try_echo=$ac_try;;
11496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11497 (eval "$ac_try") 2>&5
11499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11500 (exit $ac_status); }; }; then
11501 eval "$as_ac_var=yes"
11503 echo "$as_me: failed program was:" >&5
11504 sed 's/^/| /' conftest.$ac_ext >&5
11506 eval "$as_ac_var=no"
11509 rm -f core conftest.err conftest.$ac_objext \
11510 conftest$ac_exeext conftest.$ac_ext
11512 ac_res=`eval echo '${'$as_ac_var'}'`
11513 { echo "$as_me:$LINENO: result: $ac_res" >&5
11514 echo "${ECHO_T}$ac_res" >&6; }
11515 if test `eval echo '${'$as_ac_var'}'` = yes; then
11516 cat >>confdefs.h <<_ACEOF
11517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11525 for ac_func in strrchr rindex
11527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11528 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11530 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11531 echo $ECHO_N "(cached) $ECHO_C" >&6
11533 cat >conftest.$ac_ext <<_ACEOF
11536 cat confdefs.h >>conftest.$ac_ext
11537 cat >>conftest.$ac_ext <<_ACEOF
11538 /* end confdefs.h. */
11539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11541 #define $ac_func innocuous_$ac_func
11543 /* System header to define __stub macros and hopefully few prototypes,
11544 which can conflict with char $ac_func (); below.
11545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11546 <limits.h> exists even on freestanding compilers. */
11549 # include <limits.h>
11551 # include <assert.h>
11556 /* Override any GCC internal prototype to avoid an error.
11557 Use char because int might match the return type of a GCC
11558 builtin and then its argument prototype would still apply. */
11563 /* The GNU C library defines this for functions which it implements
11564 to always fail with ENOSYS. Some functions are actually named
11565 something starting with __ and the normal name is an alias. */
11566 #if defined __stub_$ac_func || defined __stub___$ac_func
11573 return $ac_func ();
11578 rm -f conftest.$ac_objext conftest$ac_exeext
11579 if { (ac_try="$ac_link"
11580 case "(($ac_try" in
11581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11582 *) ac_try_echo=$ac_try;;
11584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11585 (eval "$ac_link") 2>conftest.er1
11587 grep -v '^ *+' conftest.er1 >conftest.err
11589 cat conftest.err >&5
11590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11591 (exit $ac_status); } &&
11592 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11593 { (case "(($ac_try" in
11594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11595 *) ac_try_echo=$ac_try;;
11597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11598 (eval "$ac_try") 2>&5
11600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11601 (exit $ac_status); }; } &&
11602 { ac_try='test -s conftest$ac_exeext'
11603 { (case "(($ac_try" in
11604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11605 *) ac_try_echo=$ac_try;;
11607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11608 (eval "$ac_try") 2>&5
11610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11611 (exit $ac_status); }; }; then
11612 eval "$as_ac_var=yes"
11614 echo "$as_me: failed program was:" >&5
11615 sed 's/^/| /' conftest.$ac_ext >&5
11617 eval "$as_ac_var=no"
11620 rm -f core conftest.err conftest.$ac_objext \
11621 conftest$ac_exeext conftest.$ac_ext
11623 ac_res=`eval echo '${'$as_ac_var'}'`
11624 { echo "$as_me:$LINENO: result: $ac_res" >&5
11625 echo "${ECHO_T}$ac_res" >&6; }
11626 if test `eval echo '${'$as_ac_var'}'` = yes; then
11627 cat >>confdefs.h <<_ACEOF
11628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11636 for ac_func in memcpy bcopy
11638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11639 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11641 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11642 echo $ECHO_N "(cached) $ECHO_C" >&6
11644 cat >conftest.$ac_ext <<_ACEOF
11647 cat confdefs.h >>conftest.$ac_ext
11648 cat >>conftest.$ac_ext <<_ACEOF
11649 /* end confdefs.h. */
11650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11652 #define $ac_func innocuous_$ac_func
11654 /* System header to define __stub macros and hopefully few prototypes,
11655 which can conflict with char $ac_func (); below.
11656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11657 <limits.h> exists even on freestanding compilers. */
11660 # include <limits.h>
11662 # include <assert.h>
11667 /* Override any GCC internal prototype to avoid an error.
11668 Use char because int might match the return type of a GCC
11669 builtin and then its argument prototype would still apply. */
11674 /* The GNU C library defines this for functions which it implements
11675 to always fail with ENOSYS. Some functions are actually named
11676 something starting with __ and the normal name is an alias. */
11677 #if defined __stub_$ac_func || defined __stub___$ac_func
11684 return $ac_func ();
11689 rm -f conftest.$ac_objext conftest$ac_exeext
11690 if { (ac_try="$ac_link"
11691 case "(($ac_try" in
11692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11693 *) ac_try_echo=$ac_try;;
11695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11696 (eval "$ac_link") 2>conftest.er1
11698 grep -v '^ *+' conftest.er1 >conftest.err
11700 cat conftest.err >&5
11701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11702 (exit $ac_status); } &&
11703 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11704 { (case "(($ac_try" in
11705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11706 *) ac_try_echo=$ac_try;;
11708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11709 (eval "$ac_try") 2>&5
11711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11712 (exit $ac_status); }; } &&
11713 { ac_try='test -s conftest$ac_exeext'
11714 { (case "(($ac_try" in
11715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11716 *) ac_try_echo=$ac_try;;
11718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11719 (eval "$ac_try") 2>&5
11721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11722 (exit $ac_status); }; }; then
11723 eval "$as_ac_var=yes"
11725 echo "$as_me: failed program was:" >&5
11726 sed 's/^/| /' conftest.$ac_ext >&5
11728 eval "$as_ac_var=no"
11731 rm -f core conftest.err conftest.$ac_objext \
11732 conftest$ac_exeext conftest.$ac_ext
11734 ac_res=`eval echo '${'$as_ac_var'}'`
11735 { echo "$as_me:$LINENO: result: $ac_res" >&5
11736 echo "${ECHO_T}$ac_res" >&6; }
11737 if test `eval echo '${'$as_ac_var'}'` = yes; then
11738 cat >>confdefs.h <<_ACEOF
11739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11747 for ac_func in memmove strcmp
11749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11750 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11752 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11753 echo $ECHO_N "(cached) $ECHO_C" >&6
11755 cat >conftest.$ac_ext <<_ACEOF
11758 cat confdefs.h >>conftest.$ac_ext
11759 cat >>conftest.$ac_ext <<_ACEOF
11760 /* end confdefs.h. */
11761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11763 #define $ac_func innocuous_$ac_func
11765 /* System header to define __stub macros and hopefully few prototypes,
11766 which can conflict with char $ac_func (); below.
11767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11768 <limits.h> exists even on freestanding compilers. */
11771 # include <limits.h>
11773 # include <assert.h>
11778 /* Override any GCC internal prototype to avoid an error.
11779 Use char because int might match the return type of a GCC
11780 builtin and then its argument prototype would still apply. */
11785 /* The GNU C library defines this for functions which it implements
11786 to always fail with ENOSYS. Some functions are actually named
11787 something starting with __ and the normal name is an alias. */
11788 #if defined __stub_$ac_func || defined __stub___$ac_func
11795 return $ac_func ();
11800 rm -f conftest.$ac_objext conftest$ac_exeext
11801 if { (ac_try="$ac_link"
11802 case "(($ac_try" in
11803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11804 *) ac_try_echo=$ac_try;;
11806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11807 (eval "$ac_link") 2>conftest.er1
11809 grep -v '^ *+' conftest.er1 >conftest.err
11811 cat conftest.err >&5
11812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11813 (exit $ac_status); } &&
11814 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11815 { (case "(($ac_try" in
11816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11817 *) ac_try_echo=$ac_try;;
11819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11820 (eval "$ac_try") 2>&5
11822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11823 (exit $ac_status); }; } &&
11824 { ac_try='test -s conftest$ac_exeext'
11825 { (case "(($ac_try" in
11826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11827 *) ac_try_echo=$ac_try;;
11829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11830 (eval "$ac_try") 2>&5
11832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11833 (exit $ac_status); }; }; then
11834 eval "$as_ac_var=yes"
11836 echo "$as_me: failed program was:" >&5
11837 sed 's/^/| /' conftest.$ac_ext >&5
11839 eval "$as_ac_var=no"
11842 rm -f core conftest.err conftest.$ac_objext \
11843 conftest$ac_exeext conftest.$ac_ext
11845 ac_res=`eval echo '${'$as_ac_var'}'`
11846 { echo "$as_me:$LINENO: result: $ac_res" >&5
11847 echo "${ECHO_T}$ac_res" >&6; }
11848 if test `eval echo '${'$as_ac_var'}'` = yes; then
11849 cat >>confdefs.h <<_ACEOF
11850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11859 for ac_func in closedir opendir readdir
11861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11862 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11864 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11865 echo $ECHO_N "(cached) $ECHO_C" >&6
11867 cat >conftest.$ac_ext <<_ACEOF
11870 cat confdefs.h >>conftest.$ac_ext
11871 cat >>conftest.$ac_ext <<_ACEOF
11872 /* end confdefs.h. */
11873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11875 #define $ac_func innocuous_$ac_func
11877 /* System header to define __stub macros and hopefully few prototypes,
11878 which can conflict with char $ac_func (); below.
11879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11880 <limits.h> exists even on freestanding compilers. */
11883 # include <limits.h>
11885 # include <assert.h>
11890 /* Override any GCC internal prototype to avoid an error.
11891 Use char because int might match the return type of a GCC
11892 builtin and then its argument prototype would still apply. */
11897 /* The GNU C library defines this for functions which it implements
11898 to always fail with ENOSYS. Some functions are actually named
11899 something starting with __ and the normal name is an alias. */
11900 #if defined __stub_$ac_func || defined __stub___$ac_func
11907 return $ac_func ();
11912 rm -f conftest.$ac_objext conftest$ac_exeext
11913 if { (ac_try="$ac_link"
11914 case "(($ac_try" in
11915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11916 *) ac_try_echo=$ac_try;;
11918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11919 (eval "$ac_link") 2>conftest.er1
11921 grep -v '^ *+' conftest.er1 >conftest.err
11923 cat conftest.err >&5
11924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11925 (exit $ac_status); } &&
11926 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11927 { (case "(($ac_try" in
11928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11929 *) ac_try_echo=$ac_try;;
11931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11932 (eval "$ac_try") 2>&5
11934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11935 (exit $ac_status); }; } &&
11936 { ac_try='test -s conftest$ac_exeext'
11937 { (case "(($ac_try" in
11938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11939 *) ac_try_echo=$ac_try;;
11941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11942 (eval "$ac_try") 2>&5
11944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11945 (exit $ac_status); }; }; then
11946 eval "$as_ac_var=yes"
11948 echo "$as_me: failed program was:" >&5
11949 sed 's/^/| /' conftest.$ac_ext >&5
11951 eval "$as_ac_var=no"
11954 rm -f core conftest.err conftest.$ac_objext \
11955 conftest$ac_exeext conftest.$ac_ext
11957 ac_res=`eval echo '${'$as_ac_var'}'`
11958 { echo "$as_me:$LINENO: result: $ac_res" >&5
11959 echo "${ECHO_T}$ac_res" >&6; }
11960 if test `eval echo '${'$as_ac_var'}'` = yes; then
11961 cat >>confdefs.h <<_ACEOF
11962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11970 { echo "$as_me:$LINENO: checking tool compatibility" >&5
11971 echo $ECHO_N "checking tool compatibility... $ECHO_C" >&6; }
11984 if test "$GCC" != "yes" && test "$ICC" != "yes"
11986 { { echo "$as_me:$LINENO: error: gcc|icc required but not found" >&5
11987 echo "$as_me: error: gcc|icc required but not found" >&2;}
11988 { (exit 1); exit 1; }; }
11991 if test "$GXX" != "yes" && test "$IXX" != "yes"
11993 { { echo "$as_me:$LINENO: error: g++|clang++|icc required but not found" >&5
11994 echo "$as_me: error: g++|clang++|icc required but not found" >&2;}
11995 { (exit 1); exit 1; }; }
11998 if test "$GCC" = "yes"
12000 cat >conftest.$ac_ext <<_ACEOF
12001 #if !defined(__GNUC__) || __GNUC__ < 3
12002 #error Unsupported GCC version
12006 rm -f conftest.$ac_objext
12007 if { (ac_try="$ac_compile"
12008 case "(($ac_try" in
12009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12010 *) ac_try_echo=$ac_try;;
12012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12013 (eval "$ac_compile") 2>conftest.er1
12015 grep -v '^ *+' conftest.er1 >conftest.err
12017 cat conftest.err >&5
12018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12019 (exit $ac_status); } &&
12020 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12021 { (case "(($ac_try" in
12022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12023 *) ac_try_echo=$ac_try;;
12025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12026 (eval "$ac_try") 2>&5
12028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12029 (exit $ac_status); }; } &&
12030 { ac_try='test -s conftest.$ac_objext'
12031 { (case "(($ac_try" in
12032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12033 *) ac_try_echo=$ac_try;;
12035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12036 (eval "$ac_try") 2>&5
12038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12039 (exit $ac_status); }; }; then
12042 echo "$as_me: failed program was:" >&5
12043 sed 's/^/| /' conftest.$ac_ext >&5
12045 { { echo "$as_me:$LINENO: error: gcc 3.x required, but you have a lower version" >&5
12046 echo "$as_me: error: gcc 3.x required, but you have a lower version" >&2;}
12047 { (exit 1); exit 1; }; }
12050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12053 if test -z "$llvm_cv_gnu_make_command"
12055 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
12056 echo "$as_me: error: GNU Make required but not found" >&2;}
12057 { (exit 1); exit 1; }; }
12060 { echo "$as_me:$LINENO: result: ok" >&5
12061 echo "${ECHO_T}ok" >&6; }
12063 { echo "$as_me:$LINENO: checking optional compiler flags" >&5
12064 echo $ECHO_N "checking optional compiler flags... $ECHO_C" >&6; }
12065 NO_VARIADIC_MACROS=`$CXX -Werror -Wno-variadic-macros -fsyntax-only -xc /dev/null 2>/dev/null && echo -Wno-variadic-macros`
12067 NO_MISSING_FIELD_INITIALIZERS=`$CXX -Werror -Wno-missing-field-initializers -fsyntax-only -xc /dev/null 2>/dev/null && echo -Wno-missing-field-initializers`
12069 COVERED_SWITCH_DEFAULT=`$CXX -Werror -Wcovered-switch-default -fsyntax-only -xc /dev/null 2>/dev/null && echo -Wcovered-switch-default`
12071 { echo "$as_me:$LINENO: result: $NO_VARIADIC_MACROS $NO_MISSING_FIELD_INITIALIZERS $COVERED_SWITCH_DEFAULT" >&5
12072 echo "${ECHO_T}$NO_VARIADIC_MACROS $NO_MISSING_FIELD_INITIALIZERS $COVERED_SWITCH_DEFAULT" >&6; }
12076 { echo "$as_me:$LINENO: checking for sin in -lm" >&5
12077 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
12078 if test "${ac_cv_lib_m_sin+set}" = set; then
12079 echo $ECHO_N "(cached) $ECHO_C" >&6
12081 ac_check_lib_save_LIBS=$LIBS
12083 cat >conftest.$ac_ext <<_ACEOF
12086 cat confdefs.h >>conftest.$ac_ext
12087 cat >>conftest.$ac_ext <<_ACEOF
12088 /* end confdefs.h. */
12090 /* Override any GCC internal prototype to avoid an error.
12091 Use char because int might match the return type of a GCC
12092 builtin and then its argument prototype would still apply. */
12105 rm -f conftest.$ac_objext conftest$ac_exeext
12106 if { (ac_try="$ac_link"
12107 case "(($ac_try" in
12108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12109 *) ac_try_echo=$ac_try;;
12111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12112 (eval "$ac_link") 2>conftest.er1
12114 grep -v '^ *+' conftest.er1 >conftest.err
12116 cat conftest.err >&5
12117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118 (exit $ac_status); } &&
12119 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12120 { (case "(($ac_try" in
12121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12122 *) ac_try_echo=$ac_try;;
12124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12125 (eval "$ac_try") 2>&5
12127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12128 (exit $ac_status); }; } &&
12129 { ac_try='test -s conftest$ac_exeext'
12130 { (case "(($ac_try" in
12131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12132 *) ac_try_echo=$ac_try;;
12134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12135 (eval "$ac_try") 2>&5
12137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12138 (exit $ac_status); }; }; then
12139 ac_cv_lib_m_sin=yes
12141 echo "$as_me: failed program was:" >&5
12142 sed 's/^/| /' conftest.$ac_ext >&5
12147 rm -f core conftest.err conftest.$ac_objext \
12148 conftest$ac_exeext conftest.$ac_ext
12149 LIBS=$ac_check_lib_save_LIBS
12151 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
12152 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6; }
12153 if test $ac_cv_lib_m_sin = yes; then
12154 cat >>confdefs.h <<_ACEOF
12155 #define HAVE_LIBM 1
12162 if test "$llvm_cv_os_type" = "MingW" ; then
12164 { echo "$as_me:$LINENO: checking for main in -limagehlp" >&5
12165 echo $ECHO_N "checking for main in -limagehlp... $ECHO_C" >&6; }
12166 if test "${ac_cv_lib_imagehlp_main+set}" = set; then
12167 echo $ECHO_N "(cached) $ECHO_C" >&6
12169 ac_check_lib_save_LIBS=$LIBS
12170 LIBS="-limagehlp $LIBS"
12171 cat >conftest.$ac_ext <<_ACEOF
12174 cat confdefs.h >>conftest.$ac_ext
12175 cat >>conftest.$ac_ext <<_ACEOF
12176 /* end confdefs.h. */
12187 rm -f conftest.$ac_objext conftest$ac_exeext
12188 if { (ac_try="$ac_link"
12189 case "(($ac_try" in
12190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12191 *) ac_try_echo=$ac_try;;
12193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12194 (eval "$ac_link") 2>conftest.er1
12196 grep -v '^ *+' conftest.er1 >conftest.err
12198 cat conftest.err >&5
12199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12200 (exit $ac_status); } &&
12201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12202 { (case "(($ac_try" in
12203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12204 *) ac_try_echo=$ac_try;;
12206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12207 (eval "$ac_try") 2>&5
12209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12210 (exit $ac_status); }; } &&
12211 { ac_try='test -s conftest$ac_exeext'
12212 { (case "(($ac_try" in
12213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12214 *) ac_try_echo=$ac_try;;
12216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12217 (eval "$ac_try") 2>&5
12219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12220 (exit $ac_status); }; }; then
12221 ac_cv_lib_imagehlp_main=yes
12223 echo "$as_me: failed program was:" >&5
12224 sed 's/^/| /' conftest.$ac_ext >&5
12226 ac_cv_lib_imagehlp_main=no
12229 rm -f core conftest.err conftest.$ac_objext \
12230 conftest$ac_exeext conftest.$ac_ext
12231 LIBS=$ac_check_lib_save_LIBS
12233 { echo "$as_me:$LINENO: result: $ac_cv_lib_imagehlp_main" >&5
12234 echo "${ECHO_T}$ac_cv_lib_imagehlp_main" >&6; }
12235 if test $ac_cv_lib_imagehlp_main = yes; then
12236 cat >>confdefs.h <<_ACEOF
12237 #define HAVE_LIBIMAGEHLP 1
12240 LIBS="-limagehlp $LIBS"
12245 { echo "$as_me:$LINENO: checking for main in -lpsapi" >&5
12246 echo $ECHO_N "checking for main in -lpsapi... $ECHO_C" >&6; }
12247 if test "${ac_cv_lib_psapi_main+set}" = set; then
12248 echo $ECHO_N "(cached) $ECHO_C" >&6
12250 ac_check_lib_save_LIBS=$LIBS
12251 LIBS="-lpsapi $LIBS"
12252 cat >conftest.$ac_ext <<_ACEOF
12255 cat confdefs.h >>conftest.$ac_ext
12256 cat >>conftest.$ac_ext <<_ACEOF
12257 /* end confdefs.h. */
12268 rm -f conftest.$ac_objext conftest$ac_exeext
12269 if { (ac_try="$ac_link"
12270 case "(($ac_try" in
12271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12272 *) ac_try_echo=$ac_try;;
12274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12275 (eval "$ac_link") 2>conftest.er1
12277 grep -v '^ *+' conftest.er1 >conftest.err
12279 cat conftest.err >&5
12280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12281 (exit $ac_status); } &&
12282 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12283 { (case "(($ac_try" in
12284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12285 *) ac_try_echo=$ac_try;;
12287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12288 (eval "$ac_try") 2>&5
12290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12291 (exit $ac_status); }; } &&
12292 { ac_try='test -s conftest$ac_exeext'
12293 { (case "(($ac_try" in
12294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12295 *) ac_try_echo=$ac_try;;
12297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12298 (eval "$ac_try") 2>&5
12300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12301 (exit $ac_status); }; }; then
12302 ac_cv_lib_psapi_main=yes
12304 echo "$as_me: failed program was:" >&5
12305 sed 's/^/| /' conftest.$ac_ext >&5
12307 ac_cv_lib_psapi_main=no
12310 rm -f core conftest.err conftest.$ac_objext \
12311 conftest$ac_exeext conftest.$ac_ext
12312 LIBS=$ac_check_lib_save_LIBS
12314 { echo "$as_me:$LINENO: result: $ac_cv_lib_psapi_main" >&5
12315 echo "${ECHO_T}$ac_cv_lib_psapi_main" >&6; }
12316 if test $ac_cv_lib_psapi_main = yes; then
12317 cat >>confdefs.h <<_ACEOF
12318 #define HAVE_LIBPSAPI 1
12321 LIBS="-lpsapi $LIBS"
12327 { echo "$as_me:$LINENO: checking for library containing dlopen" >&5
12328 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; }
12329 if test "${ac_cv_search_dlopen+set}" = set; then
12330 echo $ECHO_N "(cached) $ECHO_C" >&6
12332 ac_func_search_save_LIBS=$LIBS
12333 cat >conftest.$ac_ext <<_ACEOF
12336 cat confdefs.h >>conftest.$ac_ext
12337 cat >>conftest.$ac_ext <<_ACEOF
12338 /* end confdefs.h. */
12340 /* Override any GCC internal prototype to avoid an error.
12341 Use char because int might match the return type of a GCC
12342 builtin and then its argument prototype would still apply. */
12355 for ac_lib in '' dl; do
12356 if test -z "$ac_lib"; then
12357 ac_res="none required"
12360 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12362 rm -f conftest.$ac_objext conftest$ac_exeext
12363 if { (ac_try="$ac_link"
12364 case "(($ac_try" in
12365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12366 *) ac_try_echo=$ac_try;;
12368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12369 (eval "$ac_link") 2>conftest.er1
12371 grep -v '^ *+' conftest.er1 >conftest.err
12373 cat conftest.err >&5
12374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12375 (exit $ac_status); } &&
12376 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12377 { (case "(($ac_try" in
12378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12379 *) ac_try_echo=$ac_try;;
12381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12382 (eval "$ac_try") 2>&5
12384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12385 (exit $ac_status); }; } &&
12386 { ac_try='test -s conftest$ac_exeext'
12387 { (case "(($ac_try" in
12388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12389 *) ac_try_echo=$ac_try;;
12391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12392 (eval "$ac_try") 2>&5
12394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12395 (exit $ac_status); }; }; then
12396 ac_cv_search_dlopen=$ac_res
12398 echo "$as_me: failed program was:" >&5
12399 sed 's/^/| /' conftest.$ac_ext >&5
12404 rm -f core conftest.err conftest.$ac_objext \
12406 if test "${ac_cv_search_dlopen+set}" = set; then
12410 if test "${ac_cv_search_dlopen+set}" = set; then
12413 ac_cv_search_dlopen=no
12415 rm conftest.$ac_ext
12416 LIBS=$ac_func_search_save_LIBS
12418 { echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
12419 echo "${ECHO_T}$ac_cv_search_dlopen" >&6; }
12420 ac_res=$ac_cv_search_dlopen
12421 if test "$ac_res" != no; then
12422 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12424 cat >>confdefs.h <<\_ACEOF
12425 #define HAVE_DLOPEN 1
12429 { echo "$as_me:$LINENO: WARNING: dlopen() not found - disabling plugin support" >&5
12430 echo "$as_me: WARNING: dlopen() not found - disabling plugin support" >&2;}
12434 if test "$llvm_cv_enable_libffi" = "yes" ; then
12435 { echo "$as_me:$LINENO: checking for library containing ffi_call" >&5
12436 echo $ECHO_N "checking for library containing ffi_call... $ECHO_C" >&6; }
12437 if test "${ac_cv_search_ffi_call+set}" = set; then
12438 echo $ECHO_N "(cached) $ECHO_C" >&6
12440 ac_func_search_save_LIBS=$LIBS
12441 cat >conftest.$ac_ext <<_ACEOF
12444 cat confdefs.h >>conftest.$ac_ext
12445 cat >>conftest.$ac_ext <<_ACEOF
12446 /* end confdefs.h. */
12448 /* Override any GCC internal prototype to avoid an error.
12449 Use char because int might match the return type of a GCC
12450 builtin and then its argument prototype would still apply. */
12458 return ffi_call ();
12463 for ac_lib in '' ffi; do
12464 if test -z "$ac_lib"; then
12465 ac_res="none required"
12468 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12470 rm -f conftest.$ac_objext conftest$ac_exeext
12471 if { (ac_try="$ac_link"
12472 case "(($ac_try" in
12473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12474 *) ac_try_echo=$ac_try;;
12476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12477 (eval "$ac_link") 2>conftest.er1
12479 grep -v '^ *+' conftest.er1 >conftest.err
12481 cat conftest.err >&5
12482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12483 (exit $ac_status); } &&
12484 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12485 { (case "(($ac_try" in
12486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12487 *) ac_try_echo=$ac_try;;
12489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12490 (eval "$ac_try") 2>&5
12492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12493 (exit $ac_status); }; } &&
12494 { ac_try='test -s conftest$ac_exeext'
12495 { (case "(($ac_try" in
12496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12497 *) ac_try_echo=$ac_try;;
12499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12500 (eval "$ac_try") 2>&5
12502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12503 (exit $ac_status); }; }; then
12504 ac_cv_search_ffi_call=$ac_res
12506 echo "$as_me: failed program was:" >&5
12507 sed 's/^/| /' conftest.$ac_ext >&5
12512 rm -f core conftest.err conftest.$ac_objext \
12514 if test "${ac_cv_search_ffi_call+set}" = set; then
12518 if test "${ac_cv_search_ffi_call+set}" = set; then
12521 ac_cv_search_ffi_call=no
12523 rm conftest.$ac_ext
12524 LIBS=$ac_func_search_save_LIBS
12526 { echo "$as_me:$LINENO: result: $ac_cv_search_ffi_call" >&5
12527 echo "${ECHO_T}$ac_cv_search_ffi_call" >&6; }
12528 ac_res=$ac_cv_search_ffi_call
12529 if test "$ac_res" != no; then
12530 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12532 cat >>confdefs.h <<\_ACEOF
12533 #define HAVE_FFI_CALL 1
12537 { { echo "$as_me:$LINENO: error: libffi not found - configure without --enable-libffi to compile without it" >&5
12538 echo "$as_me: error: libffi not found - configure without --enable-libffi to compile without it" >&2;}
12539 { (exit 1); exit 1; }; }
12544 { echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
12545 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6; }
12546 if test "${ac_cv_search_mallinfo+set}" = set; then
12547 echo $ECHO_N "(cached) $ECHO_C" >&6
12549 ac_func_search_save_LIBS=$LIBS
12550 cat >conftest.$ac_ext <<_ACEOF
12553 cat confdefs.h >>conftest.$ac_ext
12554 cat >>conftest.$ac_ext <<_ACEOF
12555 /* end confdefs.h. */
12557 /* Override any GCC internal prototype to avoid an error.
12558 Use char because int might match the return type of a GCC
12559 builtin and then its argument prototype would still apply. */
12567 return mallinfo ();
12572 for ac_lib in '' malloc; do
12573 if test -z "$ac_lib"; then
12574 ac_res="none required"
12577 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12579 rm -f conftest.$ac_objext conftest$ac_exeext
12580 if { (ac_try="$ac_link"
12581 case "(($ac_try" in
12582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12583 *) ac_try_echo=$ac_try;;
12585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12586 (eval "$ac_link") 2>conftest.er1
12588 grep -v '^ *+' conftest.er1 >conftest.err
12590 cat conftest.err >&5
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); } &&
12593 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12594 { (case "(($ac_try" in
12595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12596 *) ac_try_echo=$ac_try;;
12598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12599 (eval "$ac_try") 2>&5
12601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12602 (exit $ac_status); }; } &&
12603 { ac_try='test -s conftest$ac_exeext'
12604 { (case "(($ac_try" in
12605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12606 *) ac_try_echo=$ac_try;;
12608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12609 (eval "$ac_try") 2>&5
12611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12612 (exit $ac_status); }; }; then
12613 ac_cv_search_mallinfo=$ac_res
12615 echo "$as_me: failed program was:" >&5
12616 sed 's/^/| /' conftest.$ac_ext >&5
12621 rm -f core conftest.err conftest.$ac_objext \
12623 if test "${ac_cv_search_mallinfo+set}" = set; then
12627 if test "${ac_cv_search_mallinfo+set}" = set; then
12630 ac_cv_search_mallinfo=no
12632 rm conftest.$ac_ext
12633 LIBS=$ac_func_search_save_LIBS
12635 { echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
12636 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6; }
12637 ac_res=$ac_cv_search_mallinfo
12638 if test "$ac_res" != no; then
12639 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12641 cat >>confdefs.h <<\_ACEOF
12642 #define HAVE_MALLINFO 1
12648 if test "$ENABLE_THREADS" -eq 1 && test "$ENABLE_PTHREADS" -eq 1 ; then
12650 { echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
12651 echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6; }
12652 if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then
12653 echo $ECHO_N "(cached) $ECHO_C" >&6
12655 ac_check_lib_save_LIBS=$LIBS
12656 LIBS="-lpthread $LIBS"
12657 cat >conftest.$ac_ext <<_ACEOF
12660 cat confdefs.h >>conftest.$ac_ext
12661 cat >>conftest.$ac_ext <<_ACEOF
12662 /* end confdefs.h. */
12664 /* Override any GCC internal prototype to avoid an error.
12665 Use char because int might match the return type of a GCC
12666 builtin and then its argument prototype would still apply. */
12670 char pthread_mutex_init ();
12674 return pthread_mutex_init ();
12679 rm -f conftest.$ac_objext conftest$ac_exeext
12680 if { (ac_try="$ac_link"
12681 case "(($ac_try" in
12682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12683 *) ac_try_echo=$ac_try;;
12685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12686 (eval "$ac_link") 2>conftest.er1
12688 grep -v '^ *+' conftest.er1 >conftest.err
12690 cat conftest.err >&5
12691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12692 (exit $ac_status); } &&
12693 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12694 { (case "(($ac_try" in
12695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12696 *) ac_try_echo=$ac_try;;
12698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12699 (eval "$ac_try") 2>&5
12701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12702 (exit $ac_status); }; } &&
12703 { ac_try='test -s conftest$ac_exeext'
12704 { (case "(($ac_try" in
12705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12706 *) ac_try_echo=$ac_try;;
12708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12709 (eval "$ac_try") 2>&5
12711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12712 (exit $ac_status); }; }; then
12713 ac_cv_lib_pthread_pthread_mutex_init=yes
12715 echo "$as_me: failed program was:" >&5
12716 sed 's/^/| /' conftest.$ac_ext >&5
12718 ac_cv_lib_pthread_pthread_mutex_init=no
12721 rm -f core conftest.err conftest.$ac_objext \
12722 conftest$ac_exeext conftest.$ac_ext
12723 LIBS=$ac_check_lib_save_LIBS
12725 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
12726 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
12727 if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
12728 cat >>confdefs.h <<_ACEOF
12729 #define HAVE_LIBPTHREAD 1
12732 LIBS="-lpthread $LIBS"
12736 { echo "$as_me:$LINENO: checking for library containing pthread_mutex_lock" >&5
12737 echo $ECHO_N "checking for library containing pthread_mutex_lock... $ECHO_C" >&6; }
12738 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
12739 echo $ECHO_N "(cached) $ECHO_C" >&6
12741 ac_func_search_save_LIBS=$LIBS
12742 cat >conftest.$ac_ext <<_ACEOF
12745 cat confdefs.h >>conftest.$ac_ext
12746 cat >>conftest.$ac_ext <<_ACEOF
12747 /* end confdefs.h. */
12749 /* Override any GCC internal prototype to avoid an error.
12750 Use char because int might match the return type of a GCC
12751 builtin and then its argument prototype would still apply. */
12755 char pthread_mutex_lock ();
12759 return pthread_mutex_lock ();
12764 for ac_lib in '' pthread; do
12765 if test -z "$ac_lib"; then
12766 ac_res="none required"
12769 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12771 rm -f conftest.$ac_objext conftest$ac_exeext
12772 if { (ac_try="$ac_link"
12773 case "(($ac_try" in
12774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12775 *) ac_try_echo=$ac_try;;
12777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12778 (eval "$ac_link") 2>conftest.er1
12780 grep -v '^ *+' conftest.er1 >conftest.err
12782 cat conftest.err >&5
12783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12784 (exit $ac_status); } &&
12785 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12786 { (case "(($ac_try" in
12787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12788 *) ac_try_echo=$ac_try;;
12790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12791 (eval "$ac_try") 2>&5
12793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12794 (exit $ac_status); }; } &&
12795 { ac_try='test -s conftest$ac_exeext'
12796 { (case "(($ac_try" in
12797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12798 *) ac_try_echo=$ac_try;;
12800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12801 (eval "$ac_try") 2>&5
12803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12804 (exit $ac_status); }; }; then
12805 ac_cv_search_pthread_mutex_lock=$ac_res
12807 echo "$as_me: failed program was:" >&5
12808 sed 's/^/| /' conftest.$ac_ext >&5
12813 rm -f core conftest.err conftest.$ac_objext \
12815 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
12819 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
12822 ac_cv_search_pthread_mutex_lock=no
12824 rm conftest.$ac_ext
12825 LIBS=$ac_func_search_save_LIBS
12827 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_mutex_lock" >&5
12828 echo "${ECHO_T}$ac_cv_search_pthread_mutex_lock" >&6; }
12829 ac_res=$ac_cv_search_pthread_mutex_lock
12830 if test "$ac_res" != no; then
12831 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12833 cat >>confdefs.h <<\_ACEOF
12834 #define HAVE_PTHREAD_MUTEX_LOCK 1
12839 { echo "$as_me:$LINENO: checking for library containing pthread_rwlock_init" >&5
12840 echo $ECHO_N "checking for library containing pthread_rwlock_init... $ECHO_C" >&6; }
12841 if test "${ac_cv_search_pthread_rwlock_init+set}" = set; then
12842 echo $ECHO_N "(cached) $ECHO_C" >&6
12844 ac_func_search_save_LIBS=$LIBS
12845 cat >conftest.$ac_ext <<_ACEOF
12848 cat confdefs.h >>conftest.$ac_ext
12849 cat >>conftest.$ac_ext <<_ACEOF
12850 /* end confdefs.h. */
12852 /* Override any GCC internal prototype to avoid an error.
12853 Use char because int might match the return type of a GCC
12854 builtin and then its argument prototype would still apply. */
12858 char pthread_rwlock_init ();
12862 return pthread_rwlock_init ();
12867 for ac_lib in '' pthread; do
12868 if test -z "$ac_lib"; then
12869 ac_res="none required"
12872 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12874 rm -f conftest.$ac_objext conftest$ac_exeext
12875 if { (ac_try="$ac_link"
12876 case "(($ac_try" in
12877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12878 *) ac_try_echo=$ac_try;;
12880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12881 (eval "$ac_link") 2>conftest.er1
12883 grep -v '^ *+' conftest.er1 >conftest.err
12885 cat conftest.err >&5
12886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12887 (exit $ac_status); } &&
12888 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12889 { (case "(($ac_try" in
12890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12891 *) ac_try_echo=$ac_try;;
12893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12894 (eval "$ac_try") 2>&5
12896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12897 (exit $ac_status); }; } &&
12898 { ac_try='test -s conftest$ac_exeext'
12899 { (case "(($ac_try" in
12900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12901 *) ac_try_echo=$ac_try;;
12903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12904 (eval "$ac_try") 2>&5
12906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12907 (exit $ac_status); }; }; then
12908 ac_cv_search_pthread_rwlock_init=$ac_res
12910 echo "$as_me: failed program was:" >&5
12911 sed 's/^/| /' conftest.$ac_ext >&5
12916 rm -f core conftest.err conftest.$ac_objext \
12918 if test "${ac_cv_search_pthread_rwlock_init+set}" = set; then
12922 if test "${ac_cv_search_pthread_rwlock_init+set}" = set; then
12925 ac_cv_search_pthread_rwlock_init=no
12927 rm conftest.$ac_ext
12928 LIBS=$ac_func_search_save_LIBS
12930 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_rwlock_init" >&5
12931 echo "${ECHO_T}$ac_cv_search_pthread_rwlock_init" >&6; }
12932 ac_res=$ac_cv_search_pthread_rwlock_init
12933 if test "$ac_res" != no; then
12934 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12936 cat >>confdefs.h <<\_ACEOF
12937 #define HAVE_PTHREAD_RWLOCK_INIT 1
12942 { echo "$as_me:$LINENO: checking for library containing pthread_getspecific" >&5
12943 echo $ECHO_N "checking for library containing pthread_getspecific... $ECHO_C" >&6; }
12944 if test "${ac_cv_search_pthread_getspecific+set}" = set; then
12945 echo $ECHO_N "(cached) $ECHO_C" >&6
12947 ac_func_search_save_LIBS=$LIBS
12948 cat >conftest.$ac_ext <<_ACEOF
12951 cat confdefs.h >>conftest.$ac_ext
12952 cat >>conftest.$ac_ext <<_ACEOF
12953 /* end confdefs.h. */
12955 /* Override any GCC internal prototype to avoid an error.
12956 Use char because int might match the return type of a GCC
12957 builtin and then its argument prototype would still apply. */
12961 char pthread_getspecific ();
12965 return pthread_getspecific ();
12970 for ac_lib in '' pthread; do
12971 if test -z "$ac_lib"; then
12972 ac_res="none required"
12975 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12977 rm -f conftest.$ac_objext conftest$ac_exeext
12978 if { (ac_try="$ac_link"
12979 case "(($ac_try" in
12980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12981 *) ac_try_echo=$ac_try;;
12983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12984 (eval "$ac_link") 2>conftest.er1
12986 grep -v '^ *+' conftest.er1 >conftest.err
12988 cat conftest.err >&5
12989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12990 (exit $ac_status); } &&
12991 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12992 { (case "(($ac_try" in
12993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12994 *) ac_try_echo=$ac_try;;
12996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12997 (eval "$ac_try") 2>&5
12999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000 (exit $ac_status); }; } &&
13001 { ac_try='test -s conftest$ac_exeext'
13002 { (case "(($ac_try" in
13003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13004 *) ac_try_echo=$ac_try;;
13006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13007 (eval "$ac_try") 2>&5
13009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13010 (exit $ac_status); }; }; then
13011 ac_cv_search_pthread_getspecific=$ac_res
13013 echo "$as_me: failed program was:" >&5
13014 sed 's/^/| /' conftest.$ac_ext >&5
13019 rm -f core conftest.err conftest.$ac_objext \
13021 if test "${ac_cv_search_pthread_getspecific+set}" = set; then
13025 if test "${ac_cv_search_pthread_getspecific+set}" = set; then
13028 ac_cv_search_pthread_getspecific=no
13030 rm conftest.$ac_ext
13031 LIBS=$ac_func_search_save_LIBS
13033 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_getspecific" >&5
13034 echo "${ECHO_T}$ac_cv_search_pthread_getspecific" >&6; }
13035 ac_res=$ac_cv_search_pthread_getspecific
13036 if test "$ac_res" != no; then
13037 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13039 cat >>confdefs.h <<\_ACEOF
13040 #define HAVE_PTHREAD_GETSPECIFIC 1
13048 # Check whether --with-udis86 was given.
13049 if test "${with_udis86+set}" = set; then
13050 withval=$with_udis86;
13055 *) LDFLAGS="$LDFLAGS -L${withval}" ;;
13058 { echo "$as_me:$LINENO: checking for ud_init in -ludis86" >&5
13059 echo $ECHO_N "checking for ud_init in -ludis86... $ECHO_C" >&6; }
13060 if test "${ac_cv_lib_udis86_ud_init+set}" = set; then
13061 echo $ECHO_N "(cached) $ECHO_C" >&6
13063 ac_check_lib_save_LIBS=$LIBS
13064 LIBS="-ludis86 $LIBS"
13065 cat >conftest.$ac_ext <<_ACEOF
13068 cat confdefs.h >>conftest.$ac_ext
13069 cat >>conftest.$ac_ext <<_ACEOF
13070 /* end confdefs.h. */
13072 /* Override any GCC internal prototype to avoid an error.
13073 Use char because int might match the return type of a GCC
13074 builtin and then its argument prototype would still apply. */
13087 rm -f conftest.$ac_objext conftest$ac_exeext
13088 if { (ac_try="$ac_link"
13089 case "(($ac_try" in
13090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13091 *) ac_try_echo=$ac_try;;
13093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13094 (eval "$ac_link") 2>conftest.er1
13096 grep -v '^ *+' conftest.er1 >conftest.err
13098 cat conftest.err >&5
13099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13100 (exit $ac_status); } &&
13101 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13102 { (case "(($ac_try" in
13103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13104 *) ac_try_echo=$ac_try;;
13106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13107 (eval "$ac_try") 2>&5
13109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13110 (exit $ac_status); }; } &&
13111 { ac_try='test -s conftest$ac_exeext'
13112 { (case "(($ac_try" in
13113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13114 *) ac_try_echo=$ac_try;;
13116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13117 (eval "$ac_try") 2>&5
13119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13120 (exit $ac_status); }; }; then
13121 ac_cv_lib_udis86_ud_init=yes
13123 echo "$as_me: failed program was:" >&5
13124 sed 's/^/| /' conftest.$ac_ext >&5
13126 ac_cv_lib_udis86_ud_init=no
13129 rm -f core conftest.err conftest.$ac_objext \
13130 conftest$ac_exeext conftest.$ac_ext
13131 LIBS=$ac_check_lib_save_LIBS
13133 { echo "$as_me:$LINENO: result: $ac_cv_lib_udis86_ud_init" >&5
13134 echo "${ECHO_T}$ac_cv_lib_udis86_ud_init" >&6; }
13135 if test $ac_cv_lib_udis86_ud_init = yes; then
13136 cat >>confdefs.h <<_ACEOF
13137 #define HAVE_LIBUDIS86 1
13140 LIBS="-ludis86 $LIBS"
13144 echo "Error! You need to have libudis86 around."
13156 cat >>confdefs.h <<_ACEOF
13157 #define USE_UDIS86 $USE_UDIS86
13162 # Check whether --with-oprofile was given.
13163 if test "${with_oprofile+set}" = set; then
13164 withval=$with_oprofile;
13168 /usr|yes) llvm_cv_oppath=/usr/lib/oprofile ;;
13169 no) llvm_cv_oppath=
13172 *) llvm_cv_oppath="${withval}/lib/oprofile"
13173 CPPFLAGS="-I${withval}/include";;
13175 if test -n "$llvm_cv_oppath" ; then
13176 LIBS="$LIBS -L${llvm_cv_oppath} -Wl,-rpath,${llvm_cv_oppath}"
13177 { echo "$as_me:$LINENO: checking for library containing bfd_init" >&5
13178 echo $ECHO_N "checking for library containing bfd_init... $ECHO_C" >&6; }
13179 if test "${ac_cv_search_bfd_init+set}" = set; then
13180 echo $ECHO_N "(cached) $ECHO_C" >&6
13182 ac_func_search_save_LIBS=$LIBS
13183 cat >conftest.$ac_ext <<_ACEOF
13186 cat confdefs.h >>conftest.$ac_ext
13187 cat >>conftest.$ac_ext <<_ACEOF
13188 /* end confdefs.h. */
13190 /* Override any GCC internal prototype to avoid an error.
13191 Use char because int might match the return type of a GCC
13192 builtin and then its argument prototype would still apply. */
13200 return bfd_init ();
13205 for ac_lib in '' bfd; do
13206 if test -z "$ac_lib"; then
13207 ac_res="none required"
13210 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13212 rm -f conftest.$ac_objext conftest$ac_exeext
13213 if { (ac_try="$ac_link"
13214 case "(($ac_try" in
13215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13216 *) ac_try_echo=$ac_try;;
13218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13219 (eval "$ac_link") 2>conftest.er1
13221 grep -v '^ *+' conftest.er1 >conftest.err
13223 cat conftest.err >&5
13224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13225 (exit $ac_status); } &&
13226 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13227 { (case "(($ac_try" in
13228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13229 *) ac_try_echo=$ac_try;;
13231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13232 (eval "$ac_try") 2>&5
13234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13235 (exit $ac_status); }; } &&
13236 { ac_try='test -s conftest$ac_exeext'
13237 { (case "(($ac_try" in
13238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13239 *) ac_try_echo=$ac_try;;
13241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13242 (eval "$ac_try") 2>&5
13244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13245 (exit $ac_status); }; }; then
13246 ac_cv_search_bfd_init=$ac_res
13248 echo "$as_me: failed program was:" >&5
13249 sed 's/^/| /' conftest.$ac_ext >&5
13254 rm -f core conftest.err conftest.$ac_objext \
13256 if test "${ac_cv_search_bfd_init+set}" = set; then
13260 if test "${ac_cv_search_bfd_init+set}" = set; then
13263 ac_cv_search_bfd_init=no
13265 rm conftest.$ac_ext
13266 LIBS=$ac_func_search_save_LIBS
13268 { echo "$as_me:$LINENO: result: $ac_cv_search_bfd_init" >&5
13269 echo "${ECHO_T}$ac_cv_search_bfd_init" >&6; }
13270 ac_res=$ac_cv_search_bfd_init
13271 if test "$ac_res" != no; then
13272 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13276 { echo "$as_me:$LINENO: checking for library containing op_open_agent" >&5
13277 echo $ECHO_N "checking for library containing op_open_agent... $ECHO_C" >&6; }
13278 if test "${ac_cv_search_op_open_agent+set}" = set; then
13279 echo $ECHO_N "(cached) $ECHO_C" >&6
13281 ac_func_search_save_LIBS=$LIBS
13282 cat >conftest.$ac_ext <<_ACEOF
13285 cat confdefs.h >>conftest.$ac_ext
13286 cat >>conftest.$ac_ext <<_ACEOF
13287 /* end confdefs.h. */
13289 /* Override any GCC internal prototype to avoid an error.
13290 Use char because int might match the return type of a GCC
13291 builtin and then its argument prototype would still apply. */
13295 char op_open_agent ();
13299 return op_open_agent ();
13304 for ac_lib in '' opagent; do
13305 if test -z "$ac_lib"; then
13306 ac_res="none required"
13309 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13311 rm -f conftest.$ac_objext conftest$ac_exeext
13312 if { (ac_try="$ac_link"
13313 case "(($ac_try" in
13314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13315 *) ac_try_echo=$ac_try;;
13317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13318 (eval "$ac_link") 2>conftest.er1
13320 grep -v '^ *+' conftest.er1 >conftest.err
13322 cat conftest.err >&5
13323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13324 (exit $ac_status); } &&
13325 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13326 { (case "(($ac_try" in
13327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13328 *) ac_try_echo=$ac_try;;
13330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13331 (eval "$ac_try") 2>&5
13333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13334 (exit $ac_status); }; } &&
13335 { ac_try='test -s conftest$ac_exeext'
13336 { (case "(($ac_try" in
13337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13338 *) ac_try_echo=$ac_try;;
13340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13341 (eval "$ac_try") 2>&5
13343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13344 (exit $ac_status); }; }; then
13345 ac_cv_search_op_open_agent=$ac_res
13347 echo "$as_me: failed program was:" >&5
13348 sed 's/^/| /' conftest.$ac_ext >&5
13353 rm -f core conftest.err conftest.$ac_objext \
13355 if test "${ac_cv_search_op_open_agent+set}" = set; then
13359 if test "${ac_cv_search_op_open_agent+set}" = set; then
13362 ac_cv_search_op_open_agent=no
13364 rm conftest.$ac_ext
13365 LIBS=$ac_func_search_save_LIBS
13367 { echo "$as_me:$LINENO: result: $ac_cv_search_op_open_agent" >&5
13368 echo "${ECHO_T}$ac_cv_search_op_open_agent" >&6; }
13369 ac_res=$ac_cv_search_op_open_agent
13370 if test "$ac_res" != no; then
13371 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13375 echo "Error! You need to have libopagent around."
13380 if test "${ac_cv_header_opagent_h+set}" = set; then
13381 { echo "$as_me:$LINENO: checking for opagent.h" >&5
13382 echo $ECHO_N "checking for opagent.h... $ECHO_C" >&6; }
13383 if test "${ac_cv_header_opagent_h+set}" = set; then
13384 echo $ECHO_N "(cached) $ECHO_C" >&6
13386 { echo "$as_me:$LINENO: result: $ac_cv_header_opagent_h" >&5
13387 echo "${ECHO_T}$ac_cv_header_opagent_h" >&6; }
13389 # Is the header compilable?
13390 { echo "$as_me:$LINENO: checking opagent.h usability" >&5
13391 echo $ECHO_N "checking opagent.h usability... $ECHO_C" >&6; }
13392 cat >conftest.$ac_ext <<_ACEOF
13395 cat confdefs.h >>conftest.$ac_ext
13396 cat >>conftest.$ac_ext <<_ACEOF
13397 /* end confdefs.h. */
13398 $ac_includes_default
13399 #include <opagent.h>
13401 rm -f conftest.$ac_objext
13402 if { (ac_try="$ac_compile"
13403 case "(($ac_try" in
13404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13405 *) ac_try_echo=$ac_try;;
13407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13408 (eval "$ac_compile") 2>conftest.er1
13410 grep -v '^ *+' conftest.er1 >conftest.err
13412 cat conftest.err >&5
13413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13414 (exit $ac_status); } &&
13415 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13416 { (case "(($ac_try" in
13417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13418 *) ac_try_echo=$ac_try;;
13420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13421 (eval "$ac_try") 2>&5
13423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13424 (exit $ac_status); }; } &&
13425 { ac_try='test -s conftest.$ac_objext'
13426 { (case "(($ac_try" in
13427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13428 *) ac_try_echo=$ac_try;;
13430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13431 (eval "$ac_try") 2>&5
13433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13434 (exit $ac_status); }; }; then
13435 ac_header_compiler=yes
13437 echo "$as_me: failed program was:" >&5
13438 sed 's/^/| /' conftest.$ac_ext >&5
13440 ac_header_compiler=no
13443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13444 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13445 echo "${ECHO_T}$ac_header_compiler" >&6; }
13447 # Is the header present?
13448 { echo "$as_me:$LINENO: checking opagent.h presence" >&5
13449 echo $ECHO_N "checking opagent.h presence... $ECHO_C" >&6; }
13450 cat >conftest.$ac_ext <<_ACEOF
13453 cat confdefs.h >>conftest.$ac_ext
13454 cat >>conftest.$ac_ext <<_ACEOF
13455 /* end confdefs.h. */
13456 #include <opagent.h>
13458 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null; then
13471 if test -s conftest.err; then
13472 ac_cpp_err=$ac_c_preproc_warn_flag
13473 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13480 if test -z "$ac_cpp_err"; then
13481 ac_header_preproc=yes
13483 echo "$as_me: failed program was:" >&5
13484 sed 's/^/| /' conftest.$ac_ext >&5
13486 ac_header_preproc=no
13489 rm -f conftest.err conftest.$ac_ext
13490 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13491 echo "${ECHO_T}$ac_header_preproc" >&6; }
13493 # So? What about this header?
13494 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13496 { echo "$as_me:$LINENO: WARNING: opagent.h: accepted by the compiler, rejected by the preprocessor!" >&5
13497 echo "$as_me: WARNING: opagent.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13498 { echo "$as_me:$LINENO: WARNING: opagent.h: proceeding with the compiler's result" >&5
13499 echo "$as_me: WARNING: opagent.h: proceeding with the compiler's result" >&2;}
13500 ac_header_preproc=yes
13503 { echo "$as_me:$LINENO: WARNING: opagent.h: present but cannot be compiled" >&5
13504 echo "$as_me: WARNING: opagent.h: present but cannot be compiled" >&2;}
13505 { echo "$as_me:$LINENO: WARNING: opagent.h: check for missing prerequisite headers?" >&5
13506 echo "$as_me: WARNING: opagent.h: check for missing prerequisite headers?" >&2;}
13507 { echo "$as_me:$LINENO: WARNING: opagent.h: see the Autoconf documentation" >&5
13508 echo "$as_me: WARNING: opagent.h: see the Autoconf documentation" >&2;}
13509 { echo "$as_me:$LINENO: WARNING: opagent.h: section \"Present But Cannot Be Compiled\"" >&5
13510 echo "$as_me: WARNING: opagent.h: section \"Present But Cannot Be Compiled\"" >&2;}
13511 { echo "$as_me:$LINENO: WARNING: opagent.h: proceeding with the preprocessor's result" >&5
13512 echo "$as_me: WARNING: opagent.h: proceeding with the preprocessor's result" >&2;}
13513 { echo "$as_me:$LINENO: WARNING: opagent.h: in the future, the compiler will take precedence" >&5
13514 echo "$as_me: WARNING: opagent.h: in the future, the compiler will take precedence" >&2;}
13516 ## ------------------------------ ##
13517 ## Report this to bugs@yourdomain ##
13518 ## ------------------------------ ##
13520 ) | sed "s/^/$as_me: WARNING: /" >&2
13523 { echo "$as_me:$LINENO: checking for opagent.h" >&5
13524 echo $ECHO_N "checking for opagent.h... $ECHO_C" >&6; }
13525 if test "${ac_cv_header_opagent_h+set}" = set; then
13526 echo $ECHO_N "(cached) $ECHO_C" >&6
13528 ac_cv_header_opagent_h=$ac_header_preproc
13530 { echo "$as_me:$LINENO: result: $ac_cv_header_opagent_h" >&5
13531 echo "${ECHO_T}$ac_cv_header_opagent_h" >&6; }
13534 if test $ac_cv_header_opagent_h = yes; then
13538 echo "Error! You need to have opagent.h around."
13554 cat >>confdefs.h <<_ACEOF
13555 #define USE_OPROFILE $USE_OPROFILE
13565 ac_header_dirent=no
13566 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
13567 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
13568 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
13569 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
13570 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13571 echo $ECHO_N "(cached) $ECHO_C" >&6
13573 cat >conftest.$ac_ext <<_ACEOF
13576 cat confdefs.h >>conftest.$ac_ext
13577 cat >>conftest.$ac_ext <<_ACEOF
13578 /* end confdefs.h. */
13579 #include <sys/types.h>
13591 rm -f conftest.$ac_objext
13592 if { (ac_try="$ac_compile"
13593 case "(($ac_try" in
13594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13595 *) ac_try_echo=$ac_try;;
13597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13598 (eval "$ac_compile") 2>conftest.er1
13600 grep -v '^ *+' conftest.er1 >conftest.err
13602 cat conftest.err >&5
13603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13604 (exit $ac_status); } &&
13605 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13606 { (case "(($ac_try" in
13607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13608 *) ac_try_echo=$ac_try;;
13610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13611 (eval "$ac_try") 2>&5
13613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13614 (exit $ac_status); }; } &&
13615 { ac_try='test -s conftest.$ac_objext'
13616 { (case "(($ac_try" in
13617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13618 *) ac_try_echo=$ac_try;;
13620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13621 (eval "$ac_try") 2>&5
13623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13624 (exit $ac_status); }; }; then
13625 eval "$as_ac_Header=yes"
13627 echo "$as_me: failed program was:" >&5
13628 sed 's/^/| /' conftest.$ac_ext >&5
13630 eval "$as_ac_Header=no"
13633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13635 ac_res=`eval echo '${'$as_ac_Header'}'`
13636 { echo "$as_me:$LINENO: result: $ac_res" >&5
13637 echo "${ECHO_T}$ac_res" >&6; }
13638 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13639 cat >>confdefs.h <<_ACEOF
13640 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
13643 ac_header_dirent=$ac_hdr; break
13647 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
13648 if test $ac_header_dirent = dirent.h; then
13649 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
13650 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
13651 if test "${ac_cv_search_opendir+set}" = set; then
13652 echo $ECHO_N "(cached) $ECHO_C" >&6
13654 ac_func_search_save_LIBS=$LIBS
13655 cat >conftest.$ac_ext <<_ACEOF
13658 cat confdefs.h >>conftest.$ac_ext
13659 cat >>conftest.$ac_ext <<_ACEOF
13660 /* end confdefs.h. */
13662 /* Override any GCC internal prototype to avoid an error.
13663 Use char because int might match the return type of a GCC
13664 builtin and then its argument prototype would still apply. */
13677 for ac_lib in '' dir; do
13678 if test -z "$ac_lib"; then
13679 ac_res="none required"
13682 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13684 rm -f conftest.$ac_objext conftest$ac_exeext
13685 if { (ac_try="$ac_link"
13686 case "(($ac_try" in
13687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13688 *) ac_try_echo=$ac_try;;
13690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13691 (eval "$ac_link") 2>conftest.er1
13693 grep -v '^ *+' conftest.er1 >conftest.err
13695 cat conftest.err >&5
13696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13697 (exit $ac_status); } &&
13698 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13699 { (case "(($ac_try" in
13700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13701 *) ac_try_echo=$ac_try;;
13703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13704 (eval "$ac_try") 2>&5
13706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13707 (exit $ac_status); }; } &&
13708 { ac_try='test -s conftest$ac_exeext'
13709 { (case "(($ac_try" in
13710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13711 *) ac_try_echo=$ac_try;;
13713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13714 (eval "$ac_try") 2>&5
13716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13717 (exit $ac_status); }; }; then
13718 ac_cv_search_opendir=$ac_res
13720 echo "$as_me: failed program was:" >&5
13721 sed 's/^/| /' conftest.$ac_ext >&5
13726 rm -f core conftest.err conftest.$ac_objext \
13728 if test "${ac_cv_search_opendir+set}" = set; then
13732 if test "${ac_cv_search_opendir+set}" = set; then
13735 ac_cv_search_opendir=no
13737 rm conftest.$ac_ext
13738 LIBS=$ac_func_search_save_LIBS
13740 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
13741 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
13742 ac_res=$ac_cv_search_opendir
13743 if test "$ac_res" != no; then
13744 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13749 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
13750 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
13751 if test "${ac_cv_search_opendir+set}" = set; then
13752 echo $ECHO_N "(cached) $ECHO_C" >&6
13754 ac_func_search_save_LIBS=$LIBS
13755 cat >conftest.$ac_ext <<_ACEOF
13758 cat confdefs.h >>conftest.$ac_ext
13759 cat >>conftest.$ac_ext <<_ACEOF
13760 /* end confdefs.h. */
13762 /* Override any GCC internal prototype to avoid an error.
13763 Use char because int might match the return type of a GCC
13764 builtin and then its argument prototype would still apply. */
13777 for ac_lib in '' x; do
13778 if test -z "$ac_lib"; then
13779 ac_res="none required"
13782 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13784 rm -f conftest.$ac_objext conftest$ac_exeext
13785 if { (ac_try="$ac_link"
13786 case "(($ac_try" in
13787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13788 *) ac_try_echo=$ac_try;;
13790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13791 (eval "$ac_link") 2>conftest.er1
13793 grep -v '^ *+' conftest.er1 >conftest.err
13795 cat conftest.err >&5
13796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13797 (exit $ac_status); } &&
13798 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13799 { (case "(($ac_try" in
13800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13801 *) ac_try_echo=$ac_try;;
13803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13804 (eval "$ac_try") 2>&5
13806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13807 (exit $ac_status); }; } &&
13808 { ac_try='test -s conftest$ac_exeext'
13809 { (case "(($ac_try" in
13810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13811 *) ac_try_echo=$ac_try;;
13813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13814 (eval "$ac_try") 2>&5
13816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13817 (exit $ac_status); }; }; then
13818 ac_cv_search_opendir=$ac_res
13820 echo "$as_me: failed program was:" >&5
13821 sed 's/^/| /' conftest.$ac_ext >&5
13826 rm -f core conftest.err conftest.$ac_objext \
13828 if test "${ac_cv_search_opendir+set}" = set; then
13832 if test "${ac_cv_search_opendir+set}" = set; then
13835 ac_cv_search_opendir=no
13837 rm conftest.$ac_ext
13838 LIBS=$ac_func_search_save_LIBS
13840 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
13841 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
13842 ac_res=$ac_cv_search_opendir
13843 if test "$ac_res" != no; then
13844 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13850 { echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
13851 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6; }
13852 if test "${ac_cv_header_mmap_anon+set}" = set; then
13853 echo $ECHO_N "(cached) $ECHO_C" >&6
13856 ac_cpp='$CPP $CPPFLAGS'
13857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13861 cat >conftest.$ac_ext <<_ACEOF
13864 cat confdefs.h >>conftest.$ac_ext
13865 cat >>conftest.$ac_ext <<_ACEOF
13866 /* end confdefs.h. */
13867 #include <sys/mman.h>
13868 #include <unistd.h>
13873 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
13878 rm -f conftest.$ac_objext
13879 if { (ac_try="$ac_compile"
13880 case "(($ac_try" in
13881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13882 *) ac_try_echo=$ac_try;;
13884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13885 (eval "$ac_compile") 2>conftest.er1
13887 grep -v '^ *+' conftest.er1 >conftest.err
13889 cat conftest.err >&5
13890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13891 (exit $ac_status); } &&
13892 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13893 { (case "(($ac_try" in
13894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13895 *) ac_try_echo=$ac_try;;
13897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13898 (eval "$ac_try") 2>&5
13900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13901 (exit $ac_status); }; } &&
13902 { ac_try='test -s conftest.$ac_objext'
13903 { (case "(($ac_try" in
13904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13905 *) ac_try_echo=$ac_try;;
13907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13908 (eval "$ac_try") 2>&5
13910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13911 (exit $ac_status); }; }; then
13912 ac_cv_header_mmap_anon=yes
13914 echo "$as_me: failed program was:" >&5
13915 sed 's/^/| /' conftest.$ac_ext >&5
13917 ac_cv_header_mmap_anon=no
13920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13922 ac_cpp='$CPP $CPPFLAGS'
13923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13929 { echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
13930 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6; }
13931 if test "$ac_cv_header_mmap_anon" = yes; then
13933 cat >>confdefs.h <<\_ACEOF
13934 #define HAVE_MMAP_ANONYMOUS 1
13939 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
13940 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
13941 if test "${ac_cv_header_stat_broken+set}" = set; then
13942 echo $ECHO_N "(cached) $ECHO_C" >&6
13944 cat >conftest.$ac_ext <<_ACEOF
13947 cat confdefs.h >>conftest.$ac_ext
13948 cat >>conftest.$ac_ext <<_ACEOF
13949 /* end confdefs.h. */
13950 #include <sys/types.h>
13951 #include <sys/stat.h>
13953 #if defined S_ISBLK && defined S_IFDIR
13954 # if S_ISBLK (S_IFDIR)
13959 #if defined S_ISBLK && defined S_IFCHR
13960 # if S_ISBLK (S_IFCHR)
13965 #if defined S_ISLNK && defined S_IFREG
13966 # if S_ISLNK (S_IFREG)
13971 #if defined S_ISSOCK && defined S_IFREG
13972 # if S_ISSOCK (S_IFREG)
13978 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13979 $EGREP "You lose" >/dev/null 2>&1; then
13980 ac_cv_header_stat_broken=yes
13982 ac_cv_header_stat_broken=no
13987 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
13988 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
13989 if test $ac_cv_header_stat_broken = yes; then
13991 cat >>confdefs.h <<\_ACEOF
13992 #define STAT_MACROS_BROKEN 1
13997 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
13998 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
13999 if test "${ac_cv_header_sys_wait_h+set}" = set; then
14000 echo $ECHO_N "(cached) $ECHO_C" >&6
14002 cat >conftest.$ac_ext <<_ACEOF
14005 cat confdefs.h >>conftest.$ac_ext
14006 cat >>conftest.$ac_ext <<_ACEOF
14007 /* end confdefs.h. */
14008 #include <sys/types.h>
14009 #include <sys/wait.h>
14010 #ifndef WEXITSTATUS
14011 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
14014 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
14022 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
14027 rm -f conftest.$ac_objext
14028 if { (ac_try="$ac_compile"
14029 case "(($ac_try" in
14030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14031 *) ac_try_echo=$ac_try;;
14033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14034 (eval "$ac_compile") 2>conftest.er1
14036 grep -v '^ *+' conftest.er1 >conftest.err
14038 cat conftest.err >&5
14039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14040 (exit $ac_status); } &&
14041 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14042 { (case "(($ac_try" in
14043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14044 *) ac_try_echo=$ac_try;;
14046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14047 (eval "$ac_try") 2>&5
14049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14050 (exit $ac_status); }; } &&
14051 { ac_try='test -s conftest.$ac_objext'
14052 { (case "(($ac_try" in
14053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14054 *) ac_try_echo=$ac_try;;
14056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14057 (eval "$ac_try") 2>&5
14059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14060 (exit $ac_status); }; }; then
14061 ac_cv_header_sys_wait_h=yes
14063 echo "$as_me: failed program was:" >&5
14064 sed 's/^/| /' conftest.$ac_ext >&5
14066 ac_cv_header_sys_wait_h=no
14069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14071 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
14072 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
14073 if test $ac_cv_header_sys_wait_h = yes; then
14075 cat >>confdefs.h <<\_ACEOF
14076 #define HAVE_SYS_WAIT_H 1
14081 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
14082 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
14083 if test "${ac_cv_header_time+set}" = set; then
14084 echo $ECHO_N "(cached) $ECHO_C" >&6
14086 cat >conftest.$ac_ext <<_ACEOF
14089 cat confdefs.h >>conftest.$ac_ext
14090 cat >>conftest.$ac_ext <<_ACEOF
14091 /* end confdefs.h. */
14092 #include <sys/types.h>
14093 #include <sys/time.h>
14099 if ((struct tm *) 0)
14105 rm -f conftest.$ac_objext
14106 if { (ac_try="$ac_compile"
14107 case "(($ac_try" in
14108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14109 *) ac_try_echo=$ac_try;;
14111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14112 (eval "$ac_compile") 2>conftest.er1
14114 grep -v '^ *+' conftest.er1 >conftest.err
14116 cat conftest.err >&5
14117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14118 (exit $ac_status); } &&
14119 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14120 { (case "(($ac_try" in
14121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14122 *) ac_try_echo=$ac_try;;
14124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14125 (eval "$ac_try") 2>&5
14127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14128 (exit $ac_status); }; } &&
14129 { ac_try='test -s conftest.$ac_objext'
14130 { (case "(($ac_try" in
14131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14132 *) ac_try_echo=$ac_try;;
14134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14135 (eval "$ac_try") 2>&5
14137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14138 (exit $ac_status); }; }; then
14139 ac_cv_header_time=yes
14141 echo "$as_me: failed program was:" >&5
14142 sed 's/^/| /' conftest.$ac_ext >&5
14144 ac_cv_header_time=no
14147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14149 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
14150 echo "${ECHO_T}$ac_cv_header_time" >&6; }
14151 if test $ac_cv_header_time = yes; then
14153 cat >>confdefs.h <<\_ACEOF
14154 #define TIME_WITH_SYS_TIME 1
14166 for ac_header in dlfcn.h execinfo.h fcntl.h inttypes.h limits.h link.h
14168 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14169 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14170 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14171 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14172 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14173 echo $ECHO_N "(cached) $ECHO_C" >&6
14175 ac_res=`eval echo '${'$as_ac_Header'}'`
14176 { echo "$as_me:$LINENO: result: $ac_res" >&5
14177 echo "${ECHO_T}$ac_res" >&6; }
14179 # Is the header compilable?
14180 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14181 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14182 cat >conftest.$ac_ext <<_ACEOF
14185 cat confdefs.h >>conftest.$ac_ext
14186 cat >>conftest.$ac_ext <<_ACEOF
14187 /* end confdefs.h. */
14188 $ac_includes_default
14189 #include <$ac_header>
14191 rm -f conftest.$ac_objext
14192 if { (ac_try="$ac_compile"
14193 case "(($ac_try" in
14194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14195 *) ac_try_echo=$ac_try;;
14197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14198 (eval "$ac_compile") 2>conftest.er1
14200 grep -v '^ *+' conftest.er1 >conftest.err
14202 cat conftest.err >&5
14203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14204 (exit $ac_status); } &&
14205 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14206 { (case "(($ac_try" in
14207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14208 *) ac_try_echo=$ac_try;;
14210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14211 (eval "$ac_try") 2>&5
14213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14214 (exit $ac_status); }; } &&
14215 { ac_try='test -s conftest.$ac_objext'
14216 { (case "(($ac_try" in
14217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14218 *) ac_try_echo=$ac_try;;
14220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14221 (eval "$ac_try") 2>&5
14223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14224 (exit $ac_status); }; }; then
14225 ac_header_compiler=yes
14227 echo "$as_me: failed program was:" >&5
14228 sed 's/^/| /' conftest.$ac_ext >&5
14230 ac_header_compiler=no
14233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14234 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14235 echo "${ECHO_T}$ac_header_compiler" >&6; }
14237 # Is the header present?
14238 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
14239 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14240 cat >conftest.$ac_ext <<_ACEOF
14243 cat confdefs.h >>conftest.$ac_ext
14244 cat >>conftest.$ac_ext <<_ACEOF
14245 /* end confdefs.h. */
14246 #include <$ac_header>
14248 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null; then
14261 if test -s conftest.err; then
14262 ac_cpp_err=$ac_c_preproc_warn_flag
14263 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14270 if test -z "$ac_cpp_err"; then
14271 ac_header_preproc=yes
14273 echo "$as_me: failed program was:" >&5
14274 sed 's/^/| /' conftest.$ac_ext >&5
14276 ac_header_preproc=no
14279 rm -f conftest.err conftest.$ac_ext
14280 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14281 echo "${ECHO_T}$ac_header_preproc" >&6; }
14283 # So? What about this header?
14284 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14286 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14287 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14288 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14289 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14290 ac_header_preproc=yes
14293 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14294 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14295 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14296 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14297 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14298 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14299 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14300 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14301 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14302 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14303 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14304 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14306 ## ------------------------------ ##
14307 ## Report this to bugs@yourdomain ##
14308 ## ------------------------------ ##
14310 ) | sed "s/^/$as_me: WARNING: /" >&2
14313 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14315 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14316 echo $ECHO_N "(cached) $ECHO_C" >&6
14318 eval "$as_ac_Header=\$ac_header_preproc"
14320 ac_res=`eval echo '${'$as_ac_Header'}'`
14321 { echo "$as_me:$LINENO: result: $ac_res" >&5
14322 echo "${ECHO_T}$ac_res" >&6; }
14325 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14326 cat >>confdefs.h <<_ACEOF
14327 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14340 for ac_header in malloc.h setjmp.h signal.h stdint.h termios.h unistd.h
14342 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14343 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14344 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14345 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14346 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14347 echo $ECHO_N "(cached) $ECHO_C" >&6
14349 ac_res=`eval echo '${'$as_ac_Header'}'`
14350 { echo "$as_me:$LINENO: result: $ac_res" >&5
14351 echo "${ECHO_T}$ac_res" >&6; }
14353 # Is the header compilable?
14354 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14355 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14356 cat >conftest.$ac_ext <<_ACEOF
14359 cat confdefs.h >>conftest.$ac_ext
14360 cat >>conftest.$ac_ext <<_ACEOF
14361 /* end confdefs.h. */
14362 $ac_includes_default
14363 #include <$ac_header>
14365 rm -f conftest.$ac_objext
14366 if { (ac_try="$ac_compile"
14367 case "(($ac_try" in
14368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14369 *) ac_try_echo=$ac_try;;
14371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14372 (eval "$ac_compile") 2>conftest.er1
14374 grep -v '^ *+' conftest.er1 >conftest.err
14376 cat conftest.err >&5
14377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14378 (exit $ac_status); } &&
14379 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14380 { (case "(($ac_try" in
14381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14382 *) ac_try_echo=$ac_try;;
14384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14385 (eval "$ac_try") 2>&5
14387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14388 (exit $ac_status); }; } &&
14389 { ac_try='test -s conftest.$ac_objext'
14390 { (case "(($ac_try" in
14391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14392 *) ac_try_echo=$ac_try;;
14394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14395 (eval "$ac_try") 2>&5
14397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14398 (exit $ac_status); }; }; then
14399 ac_header_compiler=yes
14401 echo "$as_me: failed program was:" >&5
14402 sed 's/^/| /' conftest.$ac_ext >&5
14404 ac_header_compiler=no
14407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14408 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14409 echo "${ECHO_T}$ac_header_compiler" >&6; }
14411 # Is the header present?
14412 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
14413 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14414 cat >conftest.$ac_ext <<_ACEOF
14417 cat confdefs.h >>conftest.$ac_ext
14418 cat >>conftest.$ac_ext <<_ACEOF
14419 /* end confdefs.h. */
14420 #include <$ac_header>
14422 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null; then
14435 if test -s conftest.err; then
14436 ac_cpp_err=$ac_c_preproc_warn_flag
14437 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14444 if test -z "$ac_cpp_err"; then
14445 ac_header_preproc=yes
14447 echo "$as_me: failed program was:" >&5
14448 sed 's/^/| /' conftest.$ac_ext >&5
14450 ac_header_preproc=no
14453 rm -f conftest.err conftest.$ac_ext
14454 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14455 echo "${ECHO_T}$ac_header_preproc" >&6; }
14457 # So? What about this header?
14458 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14460 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14461 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14462 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14463 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14464 ac_header_preproc=yes
14467 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14468 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14469 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14470 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14471 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14472 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14473 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14474 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14475 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14476 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14477 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14478 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14480 ## ------------------------------ ##
14481 ## Report this to bugs@yourdomain ##
14482 ## ------------------------------ ##
14484 ) | sed "s/^/$as_me: WARNING: /" >&2
14487 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14489 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14490 echo $ECHO_N "(cached) $ECHO_C" >&6
14492 eval "$as_ac_Header=\$ac_header_preproc"
14494 ac_res=`eval echo '${'$as_ac_Header'}'`
14495 { echo "$as_me:$LINENO: result: $ac_res" >&5
14496 echo "${ECHO_T}$ac_res" >&6; }
14499 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14500 cat >>confdefs.h <<_ACEOF
14501 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14510 for ac_header in utime.h windows.h
14512 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14513 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14514 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14515 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14516 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14517 echo $ECHO_N "(cached) $ECHO_C" >&6
14519 ac_res=`eval echo '${'$as_ac_Header'}'`
14520 { echo "$as_me:$LINENO: result: $ac_res" >&5
14521 echo "${ECHO_T}$ac_res" >&6; }
14523 # Is the header compilable?
14524 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14525 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14526 cat >conftest.$ac_ext <<_ACEOF
14529 cat confdefs.h >>conftest.$ac_ext
14530 cat >>conftest.$ac_ext <<_ACEOF
14531 /* end confdefs.h. */
14532 $ac_includes_default
14533 #include <$ac_header>
14535 rm -f conftest.$ac_objext
14536 if { (ac_try="$ac_compile"
14537 case "(($ac_try" in
14538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14539 *) ac_try_echo=$ac_try;;
14541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14542 (eval "$ac_compile") 2>conftest.er1
14544 grep -v '^ *+' conftest.er1 >conftest.err
14546 cat conftest.err >&5
14547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14548 (exit $ac_status); } &&
14549 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14550 { (case "(($ac_try" in
14551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14552 *) ac_try_echo=$ac_try;;
14554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14555 (eval "$ac_try") 2>&5
14557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14558 (exit $ac_status); }; } &&
14559 { ac_try='test -s conftest.$ac_objext'
14560 { (case "(($ac_try" in
14561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14562 *) ac_try_echo=$ac_try;;
14564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14565 (eval "$ac_try") 2>&5
14567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14568 (exit $ac_status); }; }; then
14569 ac_header_compiler=yes
14571 echo "$as_me: failed program was:" >&5
14572 sed 's/^/| /' conftest.$ac_ext >&5
14574 ac_header_compiler=no
14577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14578 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14579 echo "${ECHO_T}$ac_header_compiler" >&6; }
14581 # Is the header present?
14582 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
14583 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14584 cat >conftest.$ac_ext <<_ACEOF
14587 cat confdefs.h >>conftest.$ac_ext
14588 cat >>conftest.$ac_ext <<_ACEOF
14589 /* end confdefs.h. */
14590 #include <$ac_header>
14592 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null; then
14605 if test -s conftest.err; then
14606 ac_cpp_err=$ac_c_preproc_warn_flag
14607 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14614 if test -z "$ac_cpp_err"; then
14615 ac_header_preproc=yes
14617 echo "$as_me: failed program was:" >&5
14618 sed 's/^/| /' conftest.$ac_ext >&5
14620 ac_header_preproc=no
14623 rm -f conftest.err conftest.$ac_ext
14624 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14625 echo "${ECHO_T}$ac_header_preproc" >&6; }
14627 # So? What about this header?
14628 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14630 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14631 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14632 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14633 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14634 ac_header_preproc=yes
14637 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14638 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14639 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14640 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14641 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14642 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14643 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14644 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14645 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14646 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14647 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14648 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14650 ## ------------------------------ ##
14651 ## Report this to bugs@yourdomain ##
14652 ## ------------------------------ ##
14654 ) | sed "s/^/$as_me: WARNING: /" >&2
14657 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14658 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14659 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14660 echo $ECHO_N "(cached) $ECHO_C" >&6
14662 eval "$as_ac_Header=\$ac_header_preproc"
14664 ac_res=`eval echo '${'$as_ac_Header'}'`
14665 { echo "$as_me:$LINENO: result: $ac_res" >&5
14666 echo "${ECHO_T}$ac_res" >&6; }
14669 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14670 cat >>confdefs.h <<_ACEOF
14671 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14683 for ac_header in sys/mman.h sys/param.h sys/resource.h sys/time.h sys/uio.h
14685 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14686 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14687 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14689 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14690 echo $ECHO_N "(cached) $ECHO_C" >&6
14692 ac_res=`eval echo '${'$as_ac_Header'}'`
14693 { echo "$as_me:$LINENO: result: $ac_res" >&5
14694 echo "${ECHO_T}$ac_res" >&6; }
14696 # Is the header compilable?
14697 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14698 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14699 cat >conftest.$ac_ext <<_ACEOF
14702 cat confdefs.h >>conftest.$ac_ext
14703 cat >>conftest.$ac_ext <<_ACEOF
14704 /* end confdefs.h. */
14705 $ac_includes_default
14706 #include <$ac_header>
14708 rm -f conftest.$ac_objext
14709 if { (ac_try="$ac_compile"
14710 case "(($ac_try" in
14711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14712 *) ac_try_echo=$ac_try;;
14714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14715 (eval "$ac_compile") 2>conftest.er1
14717 grep -v '^ *+' conftest.er1 >conftest.err
14719 cat conftest.err >&5
14720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14721 (exit $ac_status); } &&
14722 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14723 { (case "(($ac_try" in
14724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14725 *) ac_try_echo=$ac_try;;
14727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14728 (eval "$ac_try") 2>&5
14730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731 (exit $ac_status); }; } &&
14732 { ac_try='test -s conftest.$ac_objext'
14733 { (case "(($ac_try" in
14734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14735 *) ac_try_echo=$ac_try;;
14737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14738 (eval "$ac_try") 2>&5
14740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741 (exit $ac_status); }; }; then
14742 ac_header_compiler=yes
14744 echo "$as_me: failed program was:" >&5
14745 sed 's/^/| /' conftest.$ac_ext >&5
14747 ac_header_compiler=no
14750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14751 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14752 echo "${ECHO_T}$ac_header_compiler" >&6; }
14754 # Is the header present?
14755 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
14756 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14757 cat >conftest.$ac_ext <<_ACEOF
14760 cat confdefs.h >>conftest.$ac_ext
14761 cat >>conftest.$ac_ext <<_ACEOF
14762 /* end confdefs.h. */
14763 #include <$ac_header>
14765 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null; then
14778 if test -s conftest.err; then
14779 ac_cpp_err=$ac_c_preproc_warn_flag
14780 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14787 if test -z "$ac_cpp_err"; then
14788 ac_header_preproc=yes
14790 echo "$as_me: failed program was:" >&5
14791 sed 's/^/| /' conftest.$ac_ext >&5
14793 ac_header_preproc=no
14796 rm -f conftest.err conftest.$ac_ext
14797 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14798 echo "${ECHO_T}$ac_header_preproc" >&6; }
14800 # So? What about this header?
14801 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14803 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14804 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14805 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14806 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14807 ac_header_preproc=yes
14810 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14811 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14812 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14813 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14814 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14815 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14816 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14817 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14818 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14819 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14820 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14821 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14823 ## ------------------------------ ##
14824 ## Report this to bugs@yourdomain ##
14825 ## ------------------------------ ##
14827 ) | sed "s/^/$as_me: WARNING: /" >&2
14830 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14831 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14832 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14833 echo $ECHO_N "(cached) $ECHO_C" >&6
14835 eval "$as_ac_Header=\$ac_header_preproc"
14837 ac_res=`eval echo '${'$as_ac_Header'}'`
14838 { echo "$as_me:$LINENO: result: $ac_res" >&5
14839 echo "${ECHO_T}$ac_res" >&6; }
14842 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14843 cat >>confdefs.h <<_ACEOF
14844 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14855 for ac_header in sys/types.h sys/ioctl.h malloc/malloc.h mach/mach.h
14857 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14858 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14859 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14861 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14862 echo $ECHO_N "(cached) $ECHO_C" >&6
14864 ac_res=`eval echo '${'$as_ac_Header'}'`
14865 { echo "$as_me:$LINENO: result: $ac_res" >&5
14866 echo "${ECHO_T}$ac_res" >&6; }
14868 # Is the header compilable?
14869 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14870 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14871 cat >conftest.$ac_ext <<_ACEOF
14874 cat confdefs.h >>conftest.$ac_ext
14875 cat >>conftest.$ac_ext <<_ACEOF
14876 /* end confdefs.h. */
14877 $ac_includes_default
14878 #include <$ac_header>
14880 rm -f conftest.$ac_objext
14881 if { (ac_try="$ac_compile"
14882 case "(($ac_try" in
14883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14884 *) ac_try_echo=$ac_try;;
14886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14887 (eval "$ac_compile") 2>conftest.er1
14889 grep -v '^ *+' conftest.er1 >conftest.err
14891 cat conftest.err >&5
14892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14893 (exit $ac_status); } &&
14894 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14895 { (case "(($ac_try" in
14896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14897 *) ac_try_echo=$ac_try;;
14899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14900 (eval "$ac_try") 2>&5
14902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14903 (exit $ac_status); }; } &&
14904 { ac_try='test -s conftest.$ac_objext'
14905 { (case "(($ac_try" in
14906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14907 *) ac_try_echo=$ac_try;;
14909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14910 (eval "$ac_try") 2>&5
14912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14913 (exit $ac_status); }; }; then
14914 ac_header_compiler=yes
14916 echo "$as_me: failed program was:" >&5
14917 sed 's/^/| /' conftest.$ac_ext >&5
14919 ac_header_compiler=no
14922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14923 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14924 echo "${ECHO_T}$ac_header_compiler" >&6; }
14926 # Is the header present?
14927 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
14928 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14929 cat >conftest.$ac_ext <<_ACEOF
14932 cat confdefs.h >>conftest.$ac_ext
14933 cat >>conftest.$ac_ext <<_ACEOF
14934 /* end confdefs.h. */
14935 #include <$ac_header>
14937 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null; then
14950 if test -s conftest.err; then
14951 ac_cpp_err=$ac_c_preproc_warn_flag
14952 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14959 if test -z "$ac_cpp_err"; then
14960 ac_header_preproc=yes
14962 echo "$as_me: failed program was:" >&5
14963 sed 's/^/| /' conftest.$ac_ext >&5
14965 ac_header_preproc=no
14968 rm -f conftest.err conftest.$ac_ext
14969 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14970 echo "${ECHO_T}$ac_header_preproc" >&6; }
14972 # So? What about this header?
14973 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14975 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14976 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14977 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14978 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14979 ac_header_preproc=yes
14982 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14983 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14984 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14985 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14986 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14987 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14988 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14989 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14990 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14991 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14992 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14993 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14995 ## ------------------------------ ##
14996 ## Report this to bugs@yourdomain ##
14997 ## ------------------------------ ##
14999 ) | sed "s/^/$as_me: WARNING: /" >&2
15002 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15003 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15004 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15005 echo $ECHO_N "(cached) $ECHO_C" >&6
15007 eval "$as_ac_Header=\$ac_header_preproc"
15009 ac_res=`eval echo '${'$as_ac_Header'}'`
15010 { echo "$as_me:$LINENO: result: $ac_res" >&5
15011 echo "${ECHO_T}$ac_res" >&6; }
15014 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15015 cat >>confdefs.h <<_ACEOF
15016 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15024 for ac_header in valgrind/valgrind.h
15026 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15027 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15028 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15030 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15031 echo $ECHO_N "(cached) $ECHO_C" >&6
15033 ac_res=`eval echo '${'$as_ac_Header'}'`
15034 { echo "$as_me:$LINENO: result: $ac_res" >&5
15035 echo "${ECHO_T}$ac_res" >&6; }
15037 # Is the header compilable?
15038 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15039 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15040 cat >conftest.$ac_ext <<_ACEOF
15043 cat confdefs.h >>conftest.$ac_ext
15044 cat >>conftest.$ac_ext <<_ACEOF
15045 /* end confdefs.h. */
15046 $ac_includes_default
15047 #include <$ac_header>
15049 rm -f conftest.$ac_objext
15050 if { (ac_try="$ac_compile"
15051 case "(($ac_try" in
15052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15053 *) ac_try_echo=$ac_try;;
15055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15056 (eval "$ac_compile") 2>conftest.er1
15058 grep -v '^ *+' conftest.er1 >conftest.err
15060 cat conftest.err >&5
15061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15062 (exit $ac_status); } &&
15063 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15064 { (case "(($ac_try" in
15065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15066 *) ac_try_echo=$ac_try;;
15068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15069 (eval "$ac_try") 2>&5
15071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15072 (exit $ac_status); }; } &&
15073 { ac_try='test -s conftest.$ac_objext'
15074 { (case "(($ac_try" in
15075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15076 *) ac_try_echo=$ac_try;;
15078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15079 (eval "$ac_try") 2>&5
15081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15082 (exit $ac_status); }; }; then
15083 ac_header_compiler=yes
15085 echo "$as_me: failed program was:" >&5
15086 sed 's/^/| /' conftest.$ac_ext >&5
15088 ac_header_compiler=no
15091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15092 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15093 echo "${ECHO_T}$ac_header_compiler" >&6; }
15095 # Is the header present?
15096 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15097 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15098 cat >conftest.$ac_ext <<_ACEOF
15101 cat confdefs.h >>conftest.$ac_ext
15102 cat >>conftest.$ac_ext <<_ACEOF
15103 /* end confdefs.h. */
15104 #include <$ac_header>
15106 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null; then
15119 if test -s conftest.err; then
15120 ac_cpp_err=$ac_c_preproc_warn_flag
15121 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15128 if test -z "$ac_cpp_err"; then
15129 ac_header_preproc=yes
15131 echo "$as_me: failed program was:" >&5
15132 sed 's/^/| /' conftest.$ac_ext >&5
15134 ac_header_preproc=no
15137 rm -f conftest.err conftest.$ac_ext
15138 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15139 echo "${ECHO_T}$ac_header_preproc" >&6; }
15141 # So? What about this header?
15142 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15144 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15145 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15146 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15147 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15148 ac_header_preproc=yes
15151 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15152 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15153 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15154 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15155 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15156 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15157 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15158 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15159 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15160 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15161 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15162 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15164 ## ------------------------------ ##
15165 ## Report this to bugs@yourdomain ##
15166 ## ------------------------------ ##
15168 ) | sed "s/^/$as_me: WARNING: /" >&2
15171 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15173 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15174 echo $ECHO_N "(cached) $ECHO_C" >&6
15176 eval "$as_ac_Header=\$ac_header_preproc"
15178 ac_res=`eval echo '${'$as_ac_Header'}'`
15179 { echo "$as_me:$LINENO: result: $ac_res" >&5
15180 echo "${ECHO_T}$ac_res" >&6; }
15183 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15184 cat >>confdefs.h <<_ACEOF
15185 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15193 for ac_header in fenv.h
15195 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15196 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15197 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15198 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15199 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15200 echo $ECHO_N "(cached) $ECHO_C" >&6
15202 ac_res=`eval echo '${'$as_ac_Header'}'`
15203 { echo "$as_me:$LINENO: result: $ac_res" >&5
15204 echo "${ECHO_T}$ac_res" >&6; }
15206 # Is the header compilable?
15207 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15208 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15209 cat >conftest.$ac_ext <<_ACEOF
15212 cat confdefs.h >>conftest.$ac_ext
15213 cat >>conftest.$ac_ext <<_ACEOF
15214 /* end confdefs.h. */
15215 $ac_includes_default
15216 #include <$ac_header>
15218 rm -f conftest.$ac_objext
15219 if { (ac_try="$ac_compile"
15220 case "(($ac_try" in
15221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15222 *) ac_try_echo=$ac_try;;
15224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15225 (eval "$ac_compile") 2>conftest.er1
15227 grep -v '^ *+' conftest.er1 >conftest.err
15229 cat conftest.err >&5
15230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15231 (exit $ac_status); } &&
15232 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15233 { (case "(($ac_try" in
15234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15235 *) ac_try_echo=$ac_try;;
15237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15238 (eval "$ac_try") 2>&5
15240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15241 (exit $ac_status); }; } &&
15242 { ac_try='test -s conftest.$ac_objext'
15243 { (case "(($ac_try" in
15244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15245 *) ac_try_echo=$ac_try;;
15247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15248 (eval "$ac_try") 2>&5
15250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251 (exit $ac_status); }; }; then
15252 ac_header_compiler=yes
15254 echo "$as_me: failed program was:" >&5
15255 sed 's/^/| /' conftest.$ac_ext >&5
15257 ac_header_compiler=no
15260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15261 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15262 echo "${ECHO_T}$ac_header_compiler" >&6; }
15264 # Is the header present?
15265 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15266 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15267 cat >conftest.$ac_ext <<_ACEOF
15270 cat confdefs.h >>conftest.$ac_ext
15271 cat >>conftest.$ac_ext <<_ACEOF
15272 /* end confdefs.h. */
15273 #include <$ac_header>
15275 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null; then
15288 if test -s conftest.err; then
15289 ac_cpp_err=$ac_c_preproc_warn_flag
15290 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15297 if test -z "$ac_cpp_err"; then
15298 ac_header_preproc=yes
15300 echo "$as_me: failed program was:" >&5
15301 sed 's/^/| /' conftest.$ac_ext >&5
15303 ac_header_preproc=no
15306 rm -f conftest.err conftest.$ac_ext
15307 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15308 echo "${ECHO_T}$ac_header_preproc" >&6; }
15310 # So? What about this header?
15311 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15313 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15314 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15315 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15316 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15317 ac_header_preproc=yes
15320 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15321 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15322 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15323 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15324 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15325 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15326 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15327 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15328 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15329 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15330 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15331 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15333 ## ------------------------------ ##
15334 ## Report this to bugs@yourdomain ##
15335 ## ------------------------------ ##
15337 ) | sed "s/^/$as_me: WARNING: /" >&2
15340 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15341 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15342 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15343 echo $ECHO_N "(cached) $ECHO_C" >&6
15345 eval "$as_ac_Header=\$ac_header_preproc"
15347 ac_res=`eval echo '${'$as_ac_Header'}'`
15348 { echo "$as_me:$LINENO: result: $ac_res" >&5
15349 echo "${ECHO_T}$ac_res" >&6; }
15352 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15353 cat >>confdefs.h <<_ACEOF
15354 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15361 if test "$ENABLE_THREADS" -eq 1 && test "$ENABLE_PTHREADS" -eq 1 ; then
15363 for ac_header in pthread.h
15365 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15366 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15367 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15368 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15369 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15370 echo $ECHO_N "(cached) $ECHO_C" >&6
15372 ac_res=`eval echo '${'$as_ac_Header'}'`
15373 { echo "$as_me:$LINENO: result: $ac_res" >&5
15374 echo "${ECHO_T}$ac_res" >&6; }
15376 # Is the header compilable?
15377 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15378 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15379 cat >conftest.$ac_ext <<_ACEOF
15382 cat confdefs.h >>conftest.$ac_ext
15383 cat >>conftest.$ac_ext <<_ACEOF
15384 /* end confdefs.h. */
15385 $ac_includes_default
15386 #include <$ac_header>
15388 rm -f conftest.$ac_objext
15389 if { (ac_try="$ac_compile"
15390 case "(($ac_try" in
15391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15392 *) ac_try_echo=$ac_try;;
15394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15395 (eval "$ac_compile") 2>conftest.er1
15397 grep -v '^ *+' conftest.er1 >conftest.err
15399 cat conftest.err >&5
15400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401 (exit $ac_status); } &&
15402 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15403 { (case "(($ac_try" in
15404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15405 *) ac_try_echo=$ac_try;;
15407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15408 (eval "$ac_try") 2>&5
15410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15411 (exit $ac_status); }; } &&
15412 { ac_try='test -s conftest.$ac_objext'
15413 { (case "(($ac_try" in
15414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15415 *) ac_try_echo=$ac_try;;
15417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15418 (eval "$ac_try") 2>&5
15420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15421 (exit $ac_status); }; }; then
15422 ac_header_compiler=yes
15424 echo "$as_me: failed program was:" >&5
15425 sed 's/^/| /' conftest.$ac_ext >&5
15427 ac_header_compiler=no
15430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15431 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15432 echo "${ECHO_T}$ac_header_compiler" >&6; }
15434 # Is the header present?
15435 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15436 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15437 cat >conftest.$ac_ext <<_ACEOF
15440 cat confdefs.h >>conftest.$ac_ext
15441 cat >>conftest.$ac_ext <<_ACEOF
15442 /* end confdefs.h. */
15443 #include <$ac_header>
15445 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null; then
15458 if test -s conftest.err; then
15459 ac_cpp_err=$ac_c_preproc_warn_flag
15460 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15467 if test -z "$ac_cpp_err"; then
15468 ac_header_preproc=yes
15470 echo "$as_me: failed program was:" >&5
15471 sed 's/^/| /' conftest.$ac_ext >&5
15473 ac_header_preproc=no
15476 rm -f conftest.err conftest.$ac_ext
15477 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15478 echo "${ECHO_T}$ac_header_preproc" >&6; }
15480 # So? What about this header?
15481 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15483 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15484 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15485 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15486 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15487 ac_header_preproc=yes
15490 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15491 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15492 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15493 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15494 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15495 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15496 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15497 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15498 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15499 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15500 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15501 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15503 ## ------------------------------ ##
15504 ## Report this to bugs@yourdomain ##
15505 ## ------------------------------ ##
15507 ) | sed "s/^/$as_me: WARNING: /" >&2
15510 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15511 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15512 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15513 echo $ECHO_N "(cached) $ECHO_C" >&6
15515 eval "$as_ac_Header=\$ac_header_preproc"
15517 ac_res=`eval echo '${'$as_ac_Header'}'`
15518 { echo "$as_me:$LINENO: result: $ac_res" >&5
15519 echo "${ECHO_T}$ac_res" >&6; }
15522 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15523 cat >>confdefs.h <<_ACEOF
15524 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15540 if test "$llvm_cv_enable_libffi" = "yes" ; then
15543 for ac_header in ffi.h ffi/ffi.h
15545 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15546 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15547 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15548 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15549 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15550 echo $ECHO_N "(cached) $ECHO_C" >&6
15552 ac_res=`eval echo '${'$as_ac_Header'}'`
15553 { echo "$as_me:$LINENO: result: $ac_res" >&5
15554 echo "${ECHO_T}$ac_res" >&6; }
15556 # Is the header compilable?
15557 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15558 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15559 cat >conftest.$ac_ext <<_ACEOF
15562 cat confdefs.h >>conftest.$ac_ext
15563 cat >>conftest.$ac_ext <<_ACEOF
15564 /* end confdefs.h. */
15565 $ac_includes_default
15566 #include <$ac_header>
15568 rm -f conftest.$ac_objext
15569 if { (ac_try="$ac_compile"
15570 case "(($ac_try" in
15571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15572 *) ac_try_echo=$ac_try;;
15574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15575 (eval "$ac_compile") 2>conftest.er1
15577 grep -v '^ *+' conftest.er1 >conftest.err
15579 cat conftest.err >&5
15580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15581 (exit $ac_status); } &&
15582 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15583 { (case "(($ac_try" in
15584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15585 *) ac_try_echo=$ac_try;;
15587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15588 (eval "$ac_try") 2>&5
15590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15591 (exit $ac_status); }; } &&
15592 { ac_try='test -s conftest.$ac_objext'
15593 { (case "(($ac_try" in
15594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15595 *) ac_try_echo=$ac_try;;
15597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15598 (eval "$ac_try") 2>&5
15600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601 (exit $ac_status); }; }; then
15602 ac_header_compiler=yes
15604 echo "$as_me: failed program was:" >&5
15605 sed 's/^/| /' conftest.$ac_ext >&5
15607 ac_header_compiler=no
15610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15611 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15612 echo "${ECHO_T}$ac_header_compiler" >&6; }
15614 # Is the header present?
15615 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15616 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15617 cat >conftest.$ac_ext <<_ACEOF
15620 cat confdefs.h >>conftest.$ac_ext
15621 cat >>conftest.$ac_ext <<_ACEOF
15622 /* end confdefs.h. */
15623 #include <$ac_header>
15625 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null; then
15638 if test -s conftest.err; then
15639 ac_cpp_err=$ac_c_preproc_warn_flag
15640 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15647 if test -z "$ac_cpp_err"; then
15648 ac_header_preproc=yes
15650 echo "$as_me: failed program was:" >&5
15651 sed 's/^/| /' conftest.$ac_ext >&5
15653 ac_header_preproc=no
15656 rm -f conftest.err conftest.$ac_ext
15657 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15658 echo "${ECHO_T}$ac_header_preproc" >&6; }
15660 # So? What about this header?
15661 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15663 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15664 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15665 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15666 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15667 ac_header_preproc=yes
15670 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15671 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15672 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15673 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15674 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15675 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15676 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15677 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15678 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15679 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15680 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15681 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15683 ## ------------------------------ ##
15684 ## Report this to bugs@yourdomain ##
15685 ## ------------------------------ ##
15687 ) | sed "s/^/$as_me: WARNING: /" >&2
15690 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15692 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15693 echo $ECHO_N "(cached) $ECHO_C" >&6
15695 eval "$as_ac_Header=\$ac_header_preproc"
15697 ac_res=`eval echo '${'$as_ac_Header'}'`
15698 { echo "$as_me:$LINENO: result: $ac_res" >&5
15699 echo "${ECHO_T}$ac_res" >&6; }
15702 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15703 cat >>confdefs.h <<_ACEOF
15704 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15714 for ac_header in CrashReporterClient.h
15716 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15717 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15718 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15719 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15720 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15721 echo $ECHO_N "(cached) $ECHO_C" >&6
15723 ac_res=`eval echo '${'$as_ac_Header'}'`
15724 { echo "$as_me:$LINENO: result: $ac_res" >&5
15725 echo "${ECHO_T}$ac_res" >&6; }
15727 # Is the header compilable?
15728 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15729 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15730 cat >conftest.$ac_ext <<_ACEOF
15733 cat confdefs.h >>conftest.$ac_ext
15734 cat >>conftest.$ac_ext <<_ACEOF
15735 /* end confdefs.h. */
15736 $ac_includes_default
15737 #include <$ac_header>
15739 rm -f conftest.$ac_objext
15740 if { (ac_try="$ac_compile"
15741 case "(($ac_try" in
15742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15743 *) ac_try_echo=$ac_try;;
15745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15746 (eval "$ac_compile") 2>conftest.er1
15748 grep -v '^ *+' conftest.er1 >conftest.err
15750 cat conftest.err >&5
15751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15752 (exit $ac_status); } &&
15753 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15754 { (case "(($ac_try" in
15755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15756 *) ac_try_echo=$ac_try;;
15758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15759 (eval "$ac_try") 2>&5
15761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15762 (exit $ac_status); }; } &&
15763 { ac_try='test -s conftest.$ac_objext'
15764 { (case "(($ac_try" in
15765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15766 *) ac_try_echo=$ac_try;;
15768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15769 (eval "$ac_try") 2>&5
15771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15772 (exit $ac_status); }; }; then
15773 ac_header_compiler=yes
15775 echo "$as_me: failed program was:" >&5
15776 sed 's/^/| /' conftest.$ac_ext >&5
15778 ac_header_compiler=no
15781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15782 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15783 echo "${ECHO_T}$ac_header_compiler" >&6; }
15785 # Is the header present?
15786 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15787 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15788 cat >conftest.$ac_ext <<_ACEOF
15791 cat confdefs.h >>conftest.$ac_ext
15792 cat >>conftest.$ac_ext <<_ACEOF
15793 /* end confdefs.h. */
15794 #include <$ac_header>
15796 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null; then
15809 if test -s conftest.err; then
15810 ac_cpp_err=$ac_c_preproc_warn_flag
15811 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15818 if test -z "$ac_cpp_err"; then
15819 ac_header_preproc=yes
15821 echo "$as_me: failed program was:" >&5
15822 sed 's/^/| /' conftest.$ac_ext >&5
15824 ac_header_preproc=no
15827 rm -f conftest.err conftest.$ac_ext
15828 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15829 echo "${ECHO_T}$ac_header_preproc" >&6; }
15831 # So? What about this header?
15832 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15834 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15835 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15836 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15837 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15838 ac_header_preproc=yes
15841 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15842 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15843 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15844 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15845 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15846 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15847 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15848 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15849 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15850 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15851 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15852 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15854 ## ------------------------------ ##
15855 ## Report this to bugs@yourdomain ##
15856 ## ------------------------------ ##
15858 ) | sed "s/^/$as_me: WARNING: /" >&2
15861 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15862 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15863 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15864 echo $ECHO_N "(cached) $ECHO_C" >&6
15866 eval "$as_ac_Header=\$ac_header_preproc"
15868 ac_res=`eval echo '${'$as_ac_Header'}'`
15869 { echo "$as_me:$LINENO: result: $ac_res" >&5
15870 echo "${ECHO_T}$ac_res" >&6; }
15873 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15874 cat >>confdefs.h <<_ACEOF
15875 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15883 { echo "$as_me:$LINENO: checking __crashreporter_info__" >&5
15884 echo $ECHO_N "checking __crashreporter_info__... $ECHO_C" >&6; }
15885 cat >conftest.$ac_ext <<_ACEOF
15888 cat confdefs.h >>conftest.$ac_ext
15889 cat >>conftest.$ac_ext <<_ACEOF
15890 /* end confdefs.h. */
15891 extern const char *__crashreporter_info__;
15893 __crashreporter_info__ = "test";
15898 rm -f conftest.$ac_objext conftest$ac_exeext
15899 if { (ac_try="$ac_link"
15900 case "(($ac_try" in
15901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15902 *) ac_try_echo=$ac_try;;
15904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15905 (eval "$ac_link") 2>conftest.er1
15907 grep -v '^ *+' conftest.er1 >conftest.err
15909 cat conftest.err >&5
15910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15911 (exit $ac_status); } &&
15912 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15913 { (case "(($ac_try" in
15914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15915 *) ac_try_echo=$ac_try;;
15917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15918 (eval "$ac_try") 2>&5
15920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15921 (exit $ac_status); }; } &&
15922 { ac_try='test -s conftest$ac_exeext'
15923 { (case "(($ac_try" in
15924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15925 *) ac_try_echo=$ac_try;;
15927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15928 (eval "$ac_try") 2>&5
15930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15931 (exit $ac_status); }; }; then
15932 { echo "$as_me:$LINENO: result: yes" >&5
15933 echo "${ECHO_T}yes" >&6; }
15935 cat >>confdefs.h <<\_ACEOF
15936 #define HAVE_CRASHREPORTER_INFO 1
15940 echo "$as_me: failed program was:" >&5
15941 sed 's/^/| /' conftest.$ac_ext >&5
15943 { echo "$as_me:$LINENO: result: no" >&5
15944 echo "${ECHO_T}no" >&6; }
15946 cat >>confdefs.h <<\_ACEOF
15947 #define HAVE_CRASHREPORTER_INFO 0
15952 rm -f core conftest.err conftest.$ac_objext \
15953 conftest$ac_exeext conftest.$ac_ext
15958 { echo "$as_me:$LINENO: checking for HUGE_VAL sanity" >&5
15959 echo $ECHO_N "checking for HUGE_VAL sanity... $ECHO_C" >&6; }
15960 if test "${ac_cv_huge_val_sanity+set}" = set; then
15961 echo $ECHO_N "(cached) $ECHO_C" >&6
15965 ac_cpp='$CXXCPP $CPPFLAGS'
15966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15970 ac_save_CXXFLAGS=$CXXFLAGS
15971 CXXFLAGS+=" -pedantic"
15972 if test "$cross_compiling" = yes; then
15973 ac_cv_huge_val_sanity=yes
15975 cat >conftest.$ac_ext <<_ACEOF
15978 cat confdefs.h >>conftest.$ac_ext
15979 cat >>conftest.$ac_ext <<_ACEOF
15980 /* end confdefs.h. */
15985 double x = HUGE_VAL; return x != x;
15990 rm -f conftest$ac_exeext
15991 if { (ac_try="$ac_link"
15992 case "(($ac_try" in
15993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15994 *) ac_try_echo=$ac_try;;
15996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15997 (eval "$ac_link") 2>&5
15999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16000 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16001 { (case "(($ac_try" in
16002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16003 *) ac_try_echo=$ac_try;;
16005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16006 (eval "$ac_try") 2>&5
16008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16009 (exit $ac_status); }; }; then
16010 ac_cv_huge_val_sanity=yes
16012 echo "$as_me: program exited with status $ac_status" >&5
16013 echo "$as_me: failed program was:" >&5
16014 sed 's/^/| /' conftest.$ac_ext >&5
16016 ( exit $ac_status )
16017 ac_cv_huge_val_sanity=no
16019 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16023 CXXFLAGS=$ac_save_CXXFLAGS
16025 ac_cpp='$CPP $CPPFLAGS'
16026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16032 { echo "$as_me:$LINENO: result: $ac_cv_huge_val_sanity" >&5
16033 echo "${ECHO_T}$ac_cv_huge_val_sanity" >&6; }
16034 HUGE_VAL_SANITY=$ac_cv_huge_val_sanity
16037 { echo "$as_me:$LINENO: checking for pid_t" >&5
16038 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16039 if test "${ac_cv_type_pid_t+set}" = set; then
16040 echo $ECHO_N "(cached) $ECHO_C" >&6
16042 cat >conftest.$ac_ext <<_ACEOF
16045 cat confdefs.h >>conftest.$ac_ext
16046 cat >>conftest.$ac_ext <<_ACEOF
16047 /* end confdefs.h. */
16048 $ac_includes_default
16049 typedef pid_t ac__type_new_;
16053 if ((ac__type_new_ *) 0)
16055 if (sizeof (ac__type_new_))
16061 rm -f conftest.$ac_objext
16062 if { (ac_try="$ac_compile"
16063 case "(($ac_try" in
16064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16065 *) ac_try_echo=$ac_try;;
16067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16068 (eval "$ac_compile") 2>conftest.er1
16070 grep -v '^ *+' conftest.er1 >conftest.err
16072 cat conftest.err >&5
16073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16074 (exit $ac_status); } &&
16075 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16076 { (case "(($ac_try" in
16077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16078 *) ac_try_echo=$ac_try;;
16080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16081 (eval "$ac_try") 2>&5
16083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16084 (exit $ac_status); }; } &&
16085 { ac_try='test -s conftest.$ac_objext'
16086 { (case "(($ac_try" in
16087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16088 *) ac_try_echo=$ac_try;;
16090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16091 (eval "$ac_try") 2>&5
16093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16094 (exit $ac_status); }; }; then
16095 ac_cv_type_pid_t=yes
16097 echo "$as_me: failed program was:" >&5
16098 sed 's/^/| /' conftest.$ac_ext >&5
16100 ac_cv_type_pid_t=no
16103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16105 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16106 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16107 if test $ac_cv_type_pid_t = yes; then
16111 cat >>confdefs.h <<_ACEOF
16117 { echo "$as_me:$LINENO: checking for size_t" >&5
16118 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16119 if test "${ac_cv_type_size_t+set}" = set; then
16120 echo $ECHO_N "(cached) $ECHO_C" >&6
16122 cat >conftest.$ac_ext <<_ACEOF
16125 cat confdefs.h >>conftest.$ac_ext
16126 cat >>conftest.$ac_ext <<_ACEOF
16127 /* end confdefs.h. */
16128 $ac_includes_default
16129 typedef size_t ac__type_new_;
16133 if ((ac__type_new_ *) 0)
16135 if (sizeof (ac__type_new_))
16141 rm -f conftest.$ac_objext
16142 if { (ac_try="$ac_compile"
16143 case "(($ac_try" in
16144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16145 *) ac_try_echo=$ac_try;;
16147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16148 (eval "$ac_compile") 2>conftest.er1
16150 grep -v '^ *+' conftest.er1 >conftest.err
16152 cat conftest.err >&5
16153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16154 (exit $ac_status); } &&
16155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16156 { (case "(($ac_try" in
16157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16158 *) ac_try_echo=$ac_try;;
16160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16161 (eval "$ac_try") 2>&5
16163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16164 (exit $ac_status); }; } &&
16165 { ac_try='test -s conftest.$ac_objext'
16166 { (case "(($ac_try" in
16167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16168 *) ac_try_echo=$ac_try;;
16170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16171 (eval "$ac_try") 2>&5
16173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16174 (exit $ac_status); }; }; then
16175 ac_cv_type_size_t=yes
16177 echo "$as_me: failed program was:" >&5
16178 sed 's/^/| /' conftest.$ac_ext >&5
16180 ac_cv_type_size_t=no
16183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16185 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16186 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16187 if test $ac_cv_type_size_t = yes; then
16191 cat >>confdefs.h <<_ACEOF
16192 #define size_t unsigned int
16198 cat >>confdefs.h <<_ACEOF
16199 #define RETSIGTYPE void
16202 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
16203 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
16204 if test "${ac_cv_struct_tm+set}" = set; then
16205 echo $ECHO_N "(cached) $ECHO_C" >&6
16207 cat >conftest.$ac_ext <<_ACEOF
16210 cat confdefs.h >>conftest.$ac_ext
16211 cat >>conftest.$ac_ext <<_ACEOF
16212 /* end confdefs.h. */
16213 #include <sys/types.h>
16219 struct tm *tp; tp->tm_sec;
16224 rm -f conftest.$ac_objext
16225 if { (ac_try="$ac_compile"
16226 case "(($ac_try" in
16227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16228 *) ac_try_echo=$ac_try;;
16230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16231 (eval "$ac_compile") 2>conftest.er1
16233 grep -v '^ *+' conftest.er1 >conftest.err
16235 cat conftest.err >&5
16236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16237 (exit $ac_status); } &&
16238 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16239 { (case "(($ac_try" in
16240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16241 *) ac_try_echo=$ac_try;;
16243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16244 (eval "$ac_try") 2>&5
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); }; } &&
16248 { ac_try='test -s conftest.$ac_objext'
16249 { (case "(($ac_try" in
16250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16251 *) ac_try_echo=$ac_try;;
16253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16254 (eval "$ac_try") 2>&5
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); }; }; then
16258 ac_cv_struct_tm=time.h
16260 echo "$as_me: failed program was:" >&5
16261 sed 's/^/| /' conftest.$ac_ext >&5
16263 ac_cv_struct_tm=sys/time.h
16266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16268 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
16269 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
16270 if test $ac_cv_struct_tm = sys/time.h; then
16272 cat >>confdefs.h <<\_ACEOF
16273 #define TM_IN_SYS_TIME 1
16278 { echo "$as_me:$LINENO: checking for int64_t" >&5
16279 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; }
16280 if test "${ac_cv_type_int64_t+set}" = set; then
16281 echo $ECHO_N "(cached) $ECHO_C" >&6
16283 cat >conftest.$ac_ext <<_ACEOF
16286 cat confdefs.h >>conftest.$ac_ext
16287 cat >>conftest.$ac_ext <<_ACEOF
16288 /* end confdefs.h. */
16289 $ac_includes_default
16290 typedef int64_t ac__type_new_;
16294 if ((ac__type_new_ *) 0)
16296 if (sizeof (ac__type_new_))
16302 rm -f conftest.$ac_objext
16303 if { (ac_try="$ac_compile"
16304 case "(($ac_try" in
16305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16306 *) ac_try_echo=$ac_try;;
16308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16309 (eval "$ac_compile") 2>conftest.er1
16311 grep -v '^ *+' conftest.er1 >conftest.err
16313 cat conftest.err >&5
16314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16315 (exit $ac_status); } &&
16316 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16317 { (case "(($ac_try" in
16318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16319 *) ac_try_echo=$ac_try;;
16321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16322 (eval "$ac_try") 2>&5
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); }; } &&
16326 { ac_try='test -s conftest.$ac_objext'
16327 { (case "(($ac_try" in
16328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16329 *) ac_try_echo=$ac_try;;
16331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16332 (eval "$ac_try") 2>&5
16334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16335 (exit $ac_status); }; }; then
16336 ac_cv_type_int64_t=yes
16338 echo "$as_me: failed program was:" >&5
16339 sed 's/^/| /' conftest.$ac_ext >&5
16341 ac_cv_type_int64_t=no
16344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16346 { echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
16347 echo "${ECHO_T}$ac_cv_type_int64_t" >&6; }
16348 if test $ac_cv_type_int64_t = yes; then
16350 cat >>confdefs.h <<_ACEOF
16351 #define HAVE_INT64_T 1
16356 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
16357 echo "$as_me: error: Type int64_t required but not found" >&2;}
16358 { (exit 1); exit 1; }; }
16361 { echo "$as_me:$LINENO: checking for uint64_t" >&5
16362 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
16363 if test "${ac_cv_type_uint64_t+set}" = set; then
16364 echo $ECHO_N "(cached) $ECHO_C" >&6
16366 cat >conftest.$ac_ext <<_ACEOF
16369 cat confdefs.h >>conftest.$ac_ext
16370 cat >>conftest.$ac_ext <<_ACEOF
16371 /* end confdefs.h. */
16372 $ac_includes_default
16373 typedef uint64_t ac__type_new_;
16377 if ((ac__type_new_ *) 0)
16379 if (sizeof (ac__type_new_))
16385 rm -f conftest.$ac_objext
16386 if { (ac_try="$ac_compile"
16387 case "(($ac_try" in
16388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16389 *) ac_try_echo=$ac_try;;
16391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16392 (eval "$ac_compile") 2>conftest.er1
16394 grep -v '^ *+' conftest.er1 >conftest.err
16396 cat conftest.err >&5
16397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16398 (exit $ac_status); } &&
16399 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16400 { (case "(($ac_try" in
16401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16402 *) ac_try_echo=$ac_try;;
16404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16405 (eval "$ac_try") 2>&5
16407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16408 (exit $ac_status); }; } &&
16409 { ac_try='test -s conftest.$ac_objext'
16410 { (case "(($ac_try" in
16411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16412 *) ac_try_echo=$ac_try;;
16414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16415 (eval "$ac_try") 2>&5
16417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16418 (exit $ac_status); }; }; then
16419 ac_cv_type_uint64_t=yes
16421 echo "$as_me: failed program was:" >&5
16422 sed 's/^/| /' conftest.$ac_ext >&5
16424 ac_cv_type_uint64_t=no
16427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16429 { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
16430 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
16431 if test $ac_cv_type_uint64_t = yes; then
16433 cat >>confdefs.h <<_ACEOF
16434 #define HAVE_UINT64_T 1
16439 { echo "$as_me:$LINENO: checking for u_int64_t" >&5
16440 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6; }
16441 if test "${ac_cv_type_u_int64_t+set}" = set; then
16442 echo $ECHO_N "(cached) $ECHO_C" >&6
16444 cat >conftest.$ac_ext <<_ACEOF
16447 cat confdefs.h >>conftest.$ac_ext
16448 cat >>conftest.$ac_ext <<_ACEOF
16449 /* end confdefs.h. */
16450 $ac_includes_default
16451 typedef u_int64_t ac__type_new_;
16455 if ((ac__type_new_ *) 0)
16457 if (sizeof (ac__type_new_))
16463 rm -f conftest.$ac_objext
16464 if { (ac_try="$ac_compile"
16465 case "(($ac_try" in
16466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16467 *) ac_try_echo=$ac_try;;
16469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16470 (eval "$ac_compile") 2>conftest.er1
16472 grep -v '^ *+' conftest.er1 >conftest.err
16474 cat conftest.err >&5
16475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16476 (exit $ac_status); } &&
16477 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16478 { (case "(($ac_try" in
16479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16480 *) ac_try_echo=$ac_try;;
16482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16483 (eval "$ac_try") 2>&5
16485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16486 (exit $ac_status); }; } &&
16487 { ac_try='test -s conftest.$ac_objext'
16488 { (case "(($ac_try" in
16489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16490 *) ac_try_echo=$ac_try;;
16492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16493 (eval "$ac_try") 2>&5
16495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16496 (exit $ac_status); }; }; then
16497 ac_cv_type_u_int64_t=yes
16499 echo "$as_me: failed program was:" >&5
16500 sed 's/^/| /' conftest.$ac_ext >&5
16502 ac_cv_type_u_int64_t=no
16505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16507 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
16508 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6; }
16509 if test $ac_cv_type_u_int64_t = yes; then
16511 cat >>confdefs.h <<_ACEOF
16512 #define HAVE_U_INT64_T 1
16517 { { echo "$as_me:$LINENO: error: Type uint64_t or u_int64_t required but not found" >&5
16518 echo "$as_me: error: Type uint64_t or u_int64_t required but not found" >&2;}
16519 { (exit 1); exit 1; }; }
16533 for ac_func in backtrace ceilf floorf roundf rintf nearbyintf getcwd
16535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16536 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16538 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16539 echo $ECHO_N "(cached) $ECHO_C" >&6
16541 cat >conftest.$ac_ext <<_ACEOF
16544 cat confdefs.h >>conftest.$ac_ext
16545 cat >>conftest.$ac_ext <<_ACEOF
16546 /* end confdefs.h. */
16547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16549 #define $ac_func innocuous_$ac_func
16551 /* System header to define __stub macros and hopefully few prototypes,
16552 which can conflict with char $ac_func (); below.
16553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16554 <limits.h> exists even on freestanding compilers. */
16557 # include <limits.h>
16559 # include <assert.h>
16564 /* Override any GCC internal prototype to avoid an error.
16565 Use char because int might match the return type of a GCC
16566 builtin and then its argument prototype would still apply. */
16571 /* The GNU C library defines this for functions which it implements
16572 to always fail with ENOSYS. Some functions are actually named
16573 something starting with __ and the normal name is an alias. */
16574 #if defined __stub_$ac_func || defined __stub___$ac_func
16581 return $ac_func ();
16586 rm -f conftest.$ac_objext conftest$ac_exeext
16587 if { (ac_try="$ac_link"
16588 case "(($ac_try" in
16589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16590 *) ac_try_echo=$ac_try;;
16592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16593 (eval "$ac_link") 2>conftest.er1
16595 grep -v '^ *+' conftest.er1 >conftest.err
16597 cat conftest.err >&5
16598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16599 (exit $ac_status); } &&
16600 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16601 { (case "(($ac_try" in
16602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16603 *) ac_try_echo=$ac_try;;
16605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16606 (eval "$ac_try") 2>&5
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); }; } &&
16610 { ac_try='test -s conftest$ac_exeext'
16611 { (case "(($ac_try" in
16612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16613 *) ac_try_echo=$ac_try;;
16615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16616 (eval "$ac_try") 2>&5
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); }; }; then
16620 eval "$as_ac_var=yes"
16622 echo "$as_me: failed program was:" >&5
16623 sed 's/^/| /' conftest.$ac_ext >&5
16625 eval "$as_ac_var=no"
16628 rm -f core conftest.err conftest.$ac_objext \
16629 conftest$ac_exeext conftest.$ac_ext
16631 ac_res=`eval echo '${'$as_ac_var'}'`
16632 { echo "$as_me:$LINENO: result: $ac_res" >&5
16633 echo "${ECHO_T}$ac_res" >&6; }
16634 if test `eval echo '${'$as_ac_var'}'` = yes; then
16635 cat >>confdefs.h <<_ACEOF
16636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16646 for ac_func in powf fmodf strtof round
16648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16649 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16651 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16652 echo $ECHO_N "(cached) $ECHO_C" >&6
16654 cat >conftest.$ac_ext <<_ACEOF
16657 cat confdefs.h >>conftest.$ac_ext
16658 cat >>conftest.$ac_ext <<_ACEOF
16659 /* end confdefs.h. */
16660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16662 #define $ac_func innocuous_$ac_func
16664 /* System header to define __stub macros and hopefully few prototypes,
16665 which can conflict with char $ac_func (); below.
16666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16667 <limits.h> exists even on freestanding compilers. */
16670 # include <limits.h>
16672 # include <assert.h>
16677 /* Override any GCC internal prototype to avoid an error.
16678 Use char because int might match the return type of a GCC
16679 builtin and then its argument prototype would still apply. */
16684 /* The GNU C library defines this for functions which it implements
16685 to always fail with ENOSYS. Some functions are actually named
16686 something starting with __ and the normal name is an alias. */
16687 #if defined __stub_$ac_func || defined __stub___$ac_func
16694 return $ac_func ();
16699 rm -f conftest.$ac_objext conftest$ac_exeext
16700 if { (ac_try="$ac_link"
16701 case "(($ac_try" in
16702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16703 *) ac_try_echo=$ac_try;;
16705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16706 (eval "$ac_link") 2>conftest.er1
16708 grep -v '^ *+' conftest.er1 >conftest.err
16710 cat conftest.err >&5
16711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712 (exit $ac_status); } &&
16713 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16714 { (case "(($ac_try" in
16715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16716 *) ac_try_echo=$ac_try;;
16718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16719 (eval "$ac_try") 2>&5
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); }; } &&
16723 { ac_try='test -s conftest$ac_exeext'
16724 { (case "(($ac_try" in
16725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16726 *) ac_try_echo=$ac_try;;
16728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16729 (eval "$ac_try") 2>&5
16731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732 (exit $ac_status); }; }; then
16733 eval "$as_ac_var=yes"
16735 echo "$as_me: failed program was:" >&5
16736 sed 's/^/| /' conftest.$ac_ext >&5
16738 eval "$as_ac_var=no"
16741 rm -f core conftest.err conftest.$ac_objext \
16742 conftest$ac_exeext conftest.$ac_ext
16744 ac_res=`eval echo '${'$as_ac_var'}'`
16745 { echo "$as_me:$LINENO: result: $ac_res" >&5
16746 echo "${ECHO_T}$ac_res" >&6; }
16747 if test `eval echo '${'$as_ac_var'}'` = yes; then
16748 cat >>confdefs.h <<_ACEOF
16749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16760 for ac_func in getpagesize getrusage getrlimit setrlimit gettimeofday
16762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16763 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16765 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16766 echo $ECHO_N "(cached) $ECHO_C" >&6
16768 cat >conftest.$ac_ext <<_ACEOF
16771 cat confdefs.h >>conftest.$ac_ext
16772 cat >>conftest.$ac_ext <<_ACEOF
16773 /* end confdefs.h. */
16774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16776 #define $ac_func innocuous_$ac_func
16778 /* System header to define __stub macros and hopefully few prototypes,
16779 which can conflict with char $ac_func (); below.
16780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16781 <limits.h> exists even on freestanding compilers. */
16784 # include <limits.h>
16786 # include <assert.h>
16791 /* Override any GCC internal prototype to avoid an error.
16792 Use char because int might match the return type of a GCC
16793 builtin and then its argument prototype would still apply. */
16798 /* The GNU C library defines this for functions which it implements
16799 to always fail with ENOSYS. Some functions are actually named
16800 something starting with __ and the normal name is an alias. */
16801 #if defined __stub_$ac_func || defined __stub___$ac_func
16808 return $ac_func ();
16813 rm -f conftest.$ac_objext conftest$ac_exeext
16814 if { (ac_try="$ac_link"
16815 case "(($ac_try" in
16816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16817 *) ac_try_echo=$ac_try;;
16819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16820 (eval "$ac_link") 2>conftest.er1
16822 grep -v '^ *+' conftest.er1 >conftest.err
16824 cat conftest.err >&5
16825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826 (exit $ac_status); } &&
16827 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16828 { (case "(($ac_try" in
16829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16830 *) ac_try_echo=$ac_try;;
16832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16833 (eval "$ac_try") 2>&5
16835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16836 (exit $ac_status); }; } &&
16837 { ac_try='test -s conftest$ac_exeext'
16838 { (case "(($ac_try" in
16839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16840 *) ac_try_echo=$ac_try;;
16842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16843 (eval "$ac_try") 2>&5
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); }; }; then
16847 eval "$as_ac_var=yes"
16849 echo "$as_me: failed program was:" >&5
16850 sed 's/^/| /' conftest.$ac_ext >&5
16852 eval "$as_ac_var=no"
16855 rm -f core conftest.err conftest.$ac_objext \
16856 conftest$ac_exeext conftest.$ac_ext
16858 ac_res=`eval echo '${'$as_ac_var'}'`
16859 { echo "$as_me:$LINENO: result: $ac_res" >&5
16860 echo "${ECHO_T}$ac_res" >&6; }
16861 if test `eval echo '${'$as_ac_var'}'` = yes; then
16862 cat >>confdefs.h <<_ACEOF
16863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16872 for ac_func in isatty mkdtemp mkstemp
16874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16875 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16877 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16878 echo $ECHO_N "(cached) $ECHO_C" >&6
16880 cat >conftest.$ac_ext <<_ACEOF
16883 cat confdefs.h >>conftest.$ac_ext
16884 cat >>conftest.$ac_ext <<_ACEOF
16885 /* end confdefs.h. */
16886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16888 #define $ac_func innocuous_$ac_func
16890 /* System header to define __stub macros and hopefully few prototypes,
16891 which can conflict with char $ac_func (); below.
16892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16893 <limits.h> exists even on freestanding compilers. */
16896 # include <limits.h>
16898 # include <assert.h>
16903 /* Override any GCC internal prototype to avoid an error.
16904 Use char because int might match the return type of a GCC
16905 builtin and then its argument prototype would still apply. */
16910 /* The GNU C library defines this for functions which it implements
16911 to always fail with ENOSYS. Some functions are actually named
16912 something starting with __ and the normal name is an alias. */
16913 #if defined __stub_$ac_func || defined __stub___$ac_func
16920 return $ac_func ();
16925 rm -f conftest.$ac_objext conftest$ac_exeext
16926 if { (ac_try="$ac_link"
16927 case "(($ac_try" in
16928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16929 *) ac_try_echo=$ac_try;;
16931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16932 (eval "$ac_link") 2>conftest.er1
16934 grep -v '^ *+' conftest.er1 >conftest.err
16936 cat conftest.err >&5
16937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16938 (exit $ac_status); } &&
16939 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16940 { (case "(($ac_try" in
16941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16942 *) ac_try_echo=$ac_try;;
16944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16945 (eval "$ac_try") 2>&5
16947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16948 (exit $ac_status); }; } &&
16949 { ac_try='test -s conftest$ac_exeext'
16950 { (case "(($ac_try" in
16951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16952 *) ac_try_echo=$ac_try;;
16954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16955 (eval "$ac_try") 2>&5
16957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16958 (exit $ac_status); }; }; then
16959 eval "$as_ac_var=yes"
16961 echo "$as_me: failed program was:" >&5
16962 sed 's/^/| /' conftest.$ac_ext >&5
16964 eval "$as_ac_var=no"
16967 rm -f core conftest.err conftest.$ac_objext \
16968 conftest$ac_exeext conftest.$ac_ext
16970 ac_res=`eval echo '${'$as_ac_var'}'`
16971 { echo "$as_me:$LINENO: result: $ac_res" >&5
16972 echo "${ECHO_T}$ac_res" >&6; }
16973 if test `eval echo '${'$as_ac_var'}'` = yes; then
16974 cat >>confdefs.h <<_ACEOF
16975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16987 for ac_func in mktemp posix_spawn realpath sbrk setrlimit strdup
16989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16990 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16992 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16993 echo $ECHO_N "(cached) $ECHO_C" >&6
16995 cat >conftest.$ac_ext <<_ACEOF
16998 cat confdefs.h >>conftest.$ac_ext
16999 cat >>conftest.$ac_ext <<_ACEOF
17000 /* end confdefs.h. */
17001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17003 #define $ac_func innocuous_$ac_func
17005 /* System header to define __stub macros and hopefully few prototypes,
17006 which can conflict with char $ac_func (); below.
17007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17008 <limits.h> exists even on freestanding compilers. */
17011 # include <limits.h>
17013 # include <assert.h>
17018 /* Override any GCC internal prototype to avoid an error.
17019 Use char because int might match the return type of a GCC
17020 builtin and then its argument prototype would still apply. */
17025 /* The GNU C library defines this for functions which it implements
17026 to always fail with ENOSYS. Some functions are actually named
17027 something starting with __ and the normal name is an alias. */
17028 #if defined __stub_$ac_func || defined __stub___$ac_func
17035 return $ac_func ();
17040 rm -f conftest.$ac_objext conftest$ac_exeext
17041 if { (ac_try="$ac_link"
17042 case "(($ac_try" in
17043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17044 *) ac_try_echo=$ac_try;;
17046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17047 (eval "$ac_link") 2>conftest.er1
17049 grep -v '^ *+' conftest.er1 >conftest.err
17051 cat conftest.err >&5
17052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); } &&
17054 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17055 { (case "(($ac_try" in
17056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17057 *) ac_try_echo=$ac_try;;
17059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17060 (eval "$ac_try") 2>&5
17062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17063 (exit $ac_status); }; } &&
17064 { ac_try='test -s conftest$ac_exeext'
17065 { (case "(($ac_try" in
17066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17067 *) ac_try_echo=$ac_try;;
17069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17070 (eval "$ac_try") 2>&5
17072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17073 (exit $ac_status); }; }; then
17074 eval "$as_ac_var=yes"
17076 echo "$as_me: failed program was:" >&5
17077 sed 's/^/| /' conftest.$ac_ext >&5
17079 eval "$as_ac_var=no"
17082 rm -f core conftest.err conftest.$ac_objext \
17083 conftest$ac_exeext conftest.$ac_ext
17085 ac_res=`eval echo '${'$as_ac_var'}'`
17086 { echo "$as_me:$LINENO: result: $ac_res" >&5
17087 echo "${ECHO_T}$ac_res" >&6; }
17088 if test `eval echo '${'$as_ac_var'}'` = yes; then
17089 cat >>confdefs.h <<_ACEOF
17090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17099 for ac_func in strerror strerror_r setenv
17101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17102 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17104 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17105 echo $ECHO_N "(cached) $ECHO_C" >&6
17107 cat >conftest.$ac_ext <<_ACEOF
17110 cat confdefs.h >>conftest.$ac_ext
17111 cat >>conftest.$ac_ext <<_ACEOF
17112 /* end confdefs.h. */
17113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17115 #define $ac_func innocuous_$ac_func
17117 /* System header to define __stub macros and hopefully few prototypes,
17118 which can conflict with char $ac_func (); below.
17119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17120 <limits.h> exists even on freestanding compilers. */
17123 # include <limits.h>
17125 # include <assert.h>
17130 /* Override any GCC internal prototype to avoid an error.
17131 Use char because int might match the return type of a GCC
17132 builtin and then its argument prototype would still apply. */
17137 /* The GNU C library defines this for functions which it implements
17138 to always fail with ENOSYS. Some functions are actually named
17139 something starting with __ and the normal name is an alias. */
17140 #if defined __stub_$ac_func || defined __stub___$ac_func
17147 return $ac_func ();
17152 rm -f conftest.$ac_objext conftest$ac_exeext
17153 if { (ac_try="$ac_link"
17154 case "(($ac_try" in
17155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17156 *) ac_try_echo=$ac_try;;
17158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17159 (eval "$ac_link") 2>conftest.er1
17161 grep -v '^ *+' conftest.er1 >conftest.err
17163 cat conftest.err >&5
17164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17165 (exit $ac_status); } &&
17166 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17167 { (case "(($ac_try" in
17168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17169 *) ac_try_echo=$ac_try;;
17171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17172 (eval "$ac_try") 2>&5
17174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17175 (exit $ac_status); }; } &&
17176 { ac_try='test -s conftest$ac_exeext'
17177 { (case "(($ac_try" in
17178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17179 *) ac_try_echo=$ac_try;;
17181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17182 (eval "$ac_try") 2>&5
17184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17185 (exit $ac_status); }; }; then
17186 eval "$as_ac_var=yes"
17188 echo "$as_me: failed program was:" >&5
17189 sed 's/^/| /' conftest.$ac_ext >&5
17191 eval "$as_ac_var=no"
17194 rm -f core conftest.err conftest.$ac_objext \
17195 conftest$ac_exeext conftest.$ac_ext
17197 ac_res=`eval echo '${'$as_ac_var'}'`
17198 { echo "$as_me:$LINENO: result: $ac_res" >&5
17199 echo "${ECHO_T}$ac_res" >&6; }
17200 if test `eval echo '${'$as_ac_var'}'` = yes; then
17201 cat >>confdefs.h <<_ACEOF
17202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17212 for ac_func in strtoll strtoq sysconf malloc_zone_statistics
17214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17215 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17217 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17218 echo $ECHO_N "(cached) $ECHO_C" >&6
17220 cat >conftest.$ac_ext <<_ACEOF
17223 cat confdefs.h >>conftest.$ac_ext
17224 cat >>conftest.$ac_ext <<_ACEOF
17225 /* end confdefs.h. */
17226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17228 #define $ac_func innocuous_$ac_func
17230 /* System header to define __stub macros and hopefully few prototypes,
17231 which can conflict with char $ac_func (); below.
17232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17233 <limits.h> exists even on freestanding compilers. */
17236 # include <limits.h>
17238 # include <assert.h>
17243 /* Override any GCC internal prototype to avoid an error.
17244 Use char because int might match the return type of a GCC
17245 builtin and then its argument prototype would still apply. */
17250 /* The GNU C library defines this for functions which it implements
17251 to always fail with ENOSYS. Some functions are actually named
17252 something starting with __ and the normal name is an alias. */
17253 #if defined __stub_$ac_func || defined __stub___$ac_func
17260 return $ac_func ();
17265 rm -f conftest.$ac_objext conftest$ac_exeext
17266 if { (ac_try="$ac_link"
17267 case "(($ac_try" in
17268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17269 *) ac_try_echo=$ac_try;;
17271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17272 (eval "$ac_link") 2>conftest.er1
17274 grep -v '^ *+' conftest.er1 >conftest.err
17276 cat conftest.err >&5
17277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17278 (exit $ac_status); } &&
17279 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17280 { (case "(($ac_try" in
17281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17282 *) ac_try_echo=$ac_try;;
17284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17285 (eval "$ac_try") 2>&5
17287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17288 (exit $ac_status); }; } &&
17289 { ac_try='test -s conftest$ac_exeext'
17290 { (case "(($ac_try" in
17291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17292 *) ac_try_echo=$ac_try;;
17294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17295 (eval "$ac_try") 2>&5
17297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17298 (exit $ac_status); }; }; then
17299 eval "$as_ac_var=yes"
17301 echo "$as_me: failed program was:" >&5
17302 sed 's/^/| /' conftest.$ac_ext >&5
17304 eval "$as_ac_var=no"
17307 rm -f core conftest.err conftest.$ac_objext \
17308 conftest$ac_exeext conftest.$ac_ext
17310 ac_res=`eval echo '${'$as_ac_var'}'`
17311 { echo "$as_me:$LINENO: result: $ac_res" >&5
17312 echo "${ECHO_T}$ac_res" >&6; }
17313 if test `eval echo '${'$as_ac_var'}'` = yes; then
17314 cat >>confdefs.h <<_ACEOF
17315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17326 for ac_func in setjmp longjmp sigsetjmp siglongjmp writev
17328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17329 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17331 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17332 echo $ECHO_N "(cached) $ECHO_C" >&6
17334 cat >conftest.$ac_ext <<_ACEOF
17337 cat confdefs.h >>conftest.$ac_ext
17338 cat >>conftest.$ac_ext <<_ACEOF
17339 /* end confdefs.h. */
17340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17342 #define $ac_func innocuous_$ac_func
17344 /* System header to define __stub macros and hopefully few prototypes,
17345 which can conflict with char $ac_func (); below.
17346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17347 <limits.h> exists even on freestanding compilers. */
17350 # include <limits.h>
17352 # include <assert.h>
17357 /* Override any GCC internal prototype to avoid an error.
17358 Use char because int might match the return type of a GCC
17359 builtin and then its argument prototype would still apply. */
17364 /* The GNU C library defines this for functions which it implements
17365 to always fail with ENOSYS. Some functions are actually named
17366 something starting with __ and the normal name is an alias. */
17367 #if defined __stub_$ac_func || defined __stub___$ac_func
17374 return $ac_func ();
17379 rm -f conftest.$ac_objext conftest$ac_exeext
17380 if { (ac_try="$ac_link"
17381 case "(($ac_try" in
17382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17383 *) ac_try_echo=$ac_try;;
17385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17386 (eval "$ac_link") 2>conftest.er1
17388 grep -v '^ *+' conftest.er1 >conftest.err
17390 cat conftest.err >&5
17391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17392 (exit $ac_status); } &&
17393 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17394 { (case "(($ac_try" in
17395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17396 *) ac_try_echo=$ac_try;;
17398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17399 (eval "$ac_try") 2>&5
17401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17402 (exit $ac_status); }; } &&
17403 { ac_try='test -s conftest$ac_exeext'
17404 { (case "(($ac_try" in
17405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17406 *) ac_try_echo=$ac_try;;
17408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17409 (eval "$ac_try") 2>&5
17411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17412 (exit $ac_status); }; }; then
17413 eval "$as_ac_var=yes"
17415 echo "$as_me: failed program was:" >&5
17416 sed 's/^/| /' conftest.$ac_ext >&5
17418 eval "$as_ac_var=no"
17421 rm -f core conftest.err conftest.$ac_objext \
17422 conftest$ac_exeext conftest.$ac_ext
17424 ac_res=`eval echo '${'$as_ac_var'}'`
17425 { echo "$as_me:$LINENO: result: $ac_res" >&5
17426 echo "${ECHO_T}$ac_res" >&6; }
17427 if test `eval echo '${'$as_ac_var'}'` = yes; then
17428 cat >>confdefs.h <<_ACEOF
17429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17435 { echo "$as_me:$LINENO: checking if printf has the %a format character" >&5
17436 echo $ECHO_N "checking if printf has the %a format character... $ECHO_C" >&6; }
17437 if test "${llvm_cv_c_printf_a+set}" = set; then
17438 echo $ECHO_N "(cached) $ECHO_C" >&6
17441 ac_cpp='$CPP $CPPFLAGS'
17442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17446 if test "$cross_compiling" = yes; then
17447 llvmac_cv_c_printf_a=no
17449 cat >conftest.$ac_ext <<_ACEOF
17453 cat confdefs.h >>conftest.$ac_ext
17454 cat >>conftest.$ac_ext <<_ACEOF
17455 /* end confdefs.h. */
17458 #include <stdlib.h>
17464 volatile double A, B;
17468 sprintf(Buffer, "%a", A);
17472 if (A != 0x1.999999999999ap-4)
17479 rm -f conftest$ac_exeext
17480 if { (ac_try="$ac_link"
17481 case "(($ac_try" in
17482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17483 *) ac_try_echo=$ac_try;;
17485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17486 (eval "$ac_link") 2>&5
17488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17489 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17490 { (case "(($ac_try" in
17491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17492 *) ac_try_echo=$ac_try;;
17494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17495 (eval "$ac_try") 2>&5
17497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17498 (exit $ac_status); }; }; then
17499 llvm_cv_c_printf_a=yes
17501 echo "$as_me: program exited with status $ac_status" >&5
17502 echo "$as_me: failed program was:" >&5
17503 sed 's/^/| /' conftest.$ac_ext >&5
17505 ( exit $ac_status )
17506 llvmac_cv_c_printf_a=no
17508 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17513 ac_cpp='$CPP $CPPFLAGS'
17514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17519 { echo "$as_me:$LINENO: result: $llvm_cv_c_printf_a" >&5
17520 echo "${ECHO_T}$llvm_cv_c_printf_a" >&6; }
17521 if test "$llvm_cv_c_printf_a" = "yes"; then
17523 cat >>confdefs.h <<\_ACEOF
17524 #define HAVE_PRINTF_A 1
17530 { echo "$as_me:$LINENO: checking for srand48/lrand48/drand48 in <stdlib.h>" >&5
17531 echo $ECHO_N "checking for srand48/lrand48/drand48 in <stdlib.h>... $ECHO_C" >&6; }
17532 if test "${ac_cv_func_rand48+set}" = set; then
17533 echo $ECHO_N "(cached) $ECHO_C" >&6
17536 ac_cpp='$CXXCPP $CPPFLAGS'
17537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17541 cat >conftest.$ac_ext <<_ACEOF
17544 cat confdefs.h >>conftest.$ac_ext
17545 cat >>conftest.$ac_ext <<_ACEOF
17546 /* end confdefs.h. */
17547 #include <stdlib.h>
17551 srand48(0);lrand48();drand48();
17556 rm -f conftest.$ac_objext
17557 if { (ac_try="$ac_compile"
17558 case "(($ac_try" in
17559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17560 *) ac_try_echo=$ac_try;;
17562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17563 (eval "$ac_compile") 2>conftest.er1
17565 grep -v '^ *+' conftest.er1 >conftest.err
17567 cat conftest.err >&5
17568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17569 (exit $ac_status); } &&
17570 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17571 { (case "(($ac_try" in
17572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17573 *) ac_try_echo=$ac_try;;
17575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17576 (eval "$ac_try") 2>&5
17578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17579 (exit $ac_status); }; } &&
17580 { ac_try='test -s conftest.$ac_objext'
17581 { (case "(($ac_try" in
17582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17583 *) ac_try_echo=$ac_try;;
17585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17586 (eval "$ac_try") 2>&5
17588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17589 (exit $ac_status); }; }; then
17590 ac_cv_func_rand48=yes
17592 echo "$as_me: failed program was:" >&5
17593 sed 's/^/| /' conftest.$ac_ext >&5
17595 ac_cv_func_rand48=no
17598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17600 ac_cpp='$CPP $CPPFLAGS'
17601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17606 { echo "$as_me:$LINENO: result: $ac_cv_func_rand48" >&5
17607 echo "${ECHO_T}$ac_cv_func_rand48" >&6; }
17609 if test "$ac_cv_func_rand48" = "yes" ; then
17611 cat >>confdefs.h <<\_ACEOF
17612 #define HAVE_RAND48 1
17618 { echo "$as_me:$LINENO: checking whether strerror_s is declared" >&5
17619 echo $ECHO_N "checking whether strerror_s is declared... $ECHO_C" >&6; }
17620 if test "${ac_cv_have_decl_strerror_s+set}" = set; then
17621 echo $ECHO_N "(cached) $ECHO_C" >&6
17623 cat >conftest.$ac_ext <<_ACEOF
17626 cat confdefs.h >>conftest.$ac_ext
17627 cat >>conftest.$ac_ext <<_ACEOF
17628 /* end confdefs.h. */
17629 $ac_includes_default
17634 char *p = (char *) strerror_s;
17642 rm -f conftest.$ac_objext
17643 if { (ac_try="$ac_compile"
17644 case "(($ac_try" in
17645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17646 *) ac_try_echo=$ac_try;;
17648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17649 (eval "$ac_compile") 2>conftest.er1
17651 grep -v '^ *+' conftest.er1 >conftest.err
17653 cat conftest.err >&5
17654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17655 (exit $ac_status); } &&
17656 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17657 { (case "(($ac_try" in
17658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17659 *) ac_try_echo=$ac_try;;
17661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17662 (eval "$ac_try") 2>&5
17664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665 (exit $ac_status); }; } &&
17666 { ac_try='test -s conftest.$ac_objext'
17667 { (case "(($ac_try" in
17668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17669 *) ac_try_echo=$ac_try;;
17671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17672 (eval "$ac_try") 2>&5
17674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17675 (exit $ac_status); }; }; then
17676 ac_cv_have_decl_strerror_s=yes
17678 echo "$as_me: failed program was:" >&5
17679 sed 's/^/| /' conftest.$ac_ext >&5
17681 ac_cv_have_decl_strerror_s=no
17684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17686 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_s" >&5
17687 echo "${ECHO_T}$ac_cv_have_decl_strerror_s" >&6; }
17688 if test $ac_cv_have_decl_strerror_s = yes; then
17690 cat >>confdefs.h <<_ACEOF
17691 #define HAVE_DECL_STRERROR_S 1
17696 cat >>confdefs.h <<_ACEOF
17697 #define HAVE_DECL_STRERROR_S 0
17705 if test "$llvm_cv_os_type" = "MingW" ; then
17706 { echo "$as_me:$LINENO: checking for _alloca in -lgcc" >&5
17707 echo $ECHO_N "checking for _alloca in -lgcc... $ECHO_C" >&6; }
17708 if test "${ac_cv_lib_gcc__alloca+set}" = set; then
17709 echo $ECHO_N "(cached) $ECHO_C" >&6
17711 ac_check_lib_save_LIBS=$LIBS
17713 cat >conftest.$ac_ext <<_ACEOF
17716 cat confdefs.h >>conftest.$ac_ext
17717 cat >>conftest.$ac_ext <<_ACEOF
17718 /* end confdefs.h. */
17720 /* Override any GCC internal prototype to avoid an error.
17721 Use char because int might match the return type of a GCC
17722 builtin and then its argument prototype would still apply. */
17735 rm -f conftest.$ac_objext conftest$ac_exeext
17736 if { (ac_try="$ac_link"
17737 case "(($ac_try" in
17738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17739 *) ac_try_echo=$ac_try;;
17741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17742 (eval "$ac_link") 2>conftest.er1
17744 grep -v '^ *+' conftest.er1 >conftest.err
17746 cat conftest.err >&5
17747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17748 (exit $ac_status); } &&
17749 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17750 { (case "(($ac_try" in
17751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17752 *) ac_try_echo=$ac_try;;
17754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17755 (eval "$ac_try") 2>&5
17757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17758 (exit $ac_status); }; } &&
17759 { ac_try='test -s conftest$ac_exeext'
17760 { (case "(($ac_try" in
17761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17762 *) ac_try_echo=$ac_try;;
17764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17765 (eval "$ac_try") 2>&5
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); }; }; then
17769 ac_cv_lib_gcc__alloca=yes
17771 echo "$as_me: failed program was:" >&5
17772 sed 's/^/| /' conftest.$ac_ext >&5
17774 ac_cv_lib_gcc__alloca=no
17777 rm -f core conftest.err conftest.$ac_objext \
17778 conftest$ac_exeext conftest.$ac_ext
17779 LIBS=$ac_check_lib_save_LIBS
17781 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc__alloca" >&5
17782 echo "${ECHO_T}$ac_cv_lib_gcc__alloca" >&6; }
17783 if test $ac_cv_lib_gcc__alloca = yes; then
17785 cat >>confdefs.h <<\_ACEOF
17786 #define HAVE__ALLOCA 1
17791 { echo "$as_me:$LINENO: checking for __alloca in -lgcc" >&5
17792 echo $ECHO_N "checking for __alloca in -lgcc... $ECHO_C" >&6; }
17793 if test "${ac_cv_lib_gcc___alloca+set}" = set; then
17794 echo $ECHO_N "(cached) $ECHO_C" >&6
17796 ac_check_lib_save_LIBS=$LIBS
17798 cat >conftest.$ac_ext <<_ACEOF
17801 cat confdefs.h >>conftest.$ac_ext
17802 cat >>conftest.$ac_ext <<_ACEOF
17803 /* end confdefs.h. */
17805 /* Override any GCC internal prototype to avoid an error.
17806 Use char because int might match the return type of a GCC
17807 builtin and then its argument prototype would still apply. */
17815 return __alloca ();
17820 rm -f conftest.$ac_objext conftest$ac_exeext
17821 if { (ac_try="$ac_link"
17822 case "(($ac_try" in
17823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17824 *) ac_try_echo=$ac_try;;
17826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17827 (eval "$ac_link") 2>conftest.er1
17829 grep -v '^ *+' conftest.er1 >conftest.err
17831 cat conftest.err >&5
17832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17833 (exit $ac_status); } &&
17834 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17835 { (case "(($ac_try" in
17836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17837 *) ac_try_echo=$ac_try;;
17839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17840 (eval "$ac_try") 2>&5
17842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17843 (exit $ac_status); }; } &&
17844 { ac_try='test -s conftest$ac_exeext'
17845 { (case "(($ac_try" in
17846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17847 *) ac_try_echo=$ac_try;;
17849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17850 (eval "$ac_try") 2>&5
17852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17853 (exit $ac_status); }; }; then
17854 ac_cv_lib_gcc___alloca=yes
17856 echo "$as_me: failed program was:" >&5
17857 sed 's/^/| /' conftest.$ac_ext >&5
17859 ac_cv_lib_gcc___alloca=no
17862 rm -f core conftest.err conftest.$ac_objext \
17863 conftest$ac_exeext conftest.$ac_ext
17864 LIBS=$ac_check_lib_save_LIBS
17866 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___alloca" >&5
17867 echo "${ECHO_T}$ac_cv_lib_gcc___alloca" >&6; }
17868 if test $ac_cv_lib_gcc___alloca = yes; then
17870 cat >>confdefs.h <<\_ACEOF
17871 #define HAVE___ALLOCA 1
17876 { echo "$as_me:$LINENO: checking for __chkstk in -lgcc" >&5
17877 echo $ECHO_N "checking for __chkstk in -lgcc... $ECHO_C" >&6; }
17878 if test "${ac_cv_lib_gcc___chkstk+set}" = set; then
17879 echo $ECHO_N "(cached) $ECHO_C" >&6
17881 ac_check_lib_save_LIBS=$LIBS
17883 cat >conftest.$ac_ext <<_ACEOF
17886 cat confdefs.h >>conftest.$ac_ext
17887 cat >>conftest.$ac_ext <<_ACEOF
17888 /* end confdefs.h. */
17890 /* Override any GCC internal prototype to avoid an error.
17891 Use char because int might match the return type of a GCC
17892 builtin and then its argument prototype would still apply. */
17900 return __chkstk ();
17905 rm -f conftest.$ac_objext conftest$ac_exeext
17906 if { (ac_try="$ac_link"
17907 case "(($ac_try" in
17908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17909 *) ac_try_echo=$ac_try;;
17911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17912 (eval "$ac_link") 2>conftest.er1
17914 grep -v '^ *+' conftest.er1 >conftest.err
17916 cat conftest.err >&5
17917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918 (exit $ac_status); } &&
17919 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17920 { (case "(($ac_try" in
17921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17922 *) ac_try_echo=$ac_try;;
17924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17925 (eval "$ac_try") 2>&5
17927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17928 (exit $ac_status); }; } &&
17929 { ac_try='test -s conftest$ac_exeext'
17930 { (case "(($ac_try" in
17931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17932 *) ac_try_echo=$ac_try;;
17934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17935 (eval "$ac_try") 2>&5
17937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17938 (exit $ac_status); }; }; then
17939 ac_cv_lib_gcc___chkstk=yes
17941 echo "$as_me: failed program was:" >&5
17942 sed 's/^/| /' conftest.$ac_ext >&5
17944 ac_cv_lib_gcc___chkstk=no
17947 rm -f core conftest.err conftest.$ac_objext \
17948 conftest$ac_exeext conftest.$ac_ext
17949 LIBS=$ac_check_lib_save_LIBS
17951 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___chkstk" >&5
17952 echo "${ECHO_T}$ac_cv_lib_gcc___chkstk" >&6; }
17953 if test $ac_cv_lib_gcc___chkstk = yes; then
17955 cat >>confdefs.h <<\_ACEOF
17956 #define HAVE___CHKSTK 1
17961 { echo "$as_me:$LINENO: checking for ___chkstk in -lgcc" >&5
17962 echo $ECHO_N "checking for ___chkstk in -lgcc... $ECHO_C" >&6; }
17963 if test "${ac_cv_lib_gcc____chkstk+set}" = set; then
17964 echo $ECHO_N "(cached) $ECHO_C" >&6
17966 ac_check_lib_save_LIBS=$LIBS
17968 cat >conftest.$ac_ext <<_ACEOF
17971 cat confdefs.h >>conftest.$ac_ext
17972 cat >>conftest.$ac_ext <<_ACEOF
17973 /* end confdefs.h. */
17975 /* Override any GCC internal prototype to avoid an error.
17976 Use char because int might match the return type of a GCC
17977 builtin and then its argument prototype would still apply. */
17985 return ___chkstk ();
17990 rm -f conftest.$ac_objext conftest$ac_exeext
17991 if { (ac_try="$ac_link"
17992 case "(($ac_try" in
17993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17994 *) ac_try_echo=$ac_try;;
17996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17997 (eval "$ac_link") 2>conftest.er1
17999 grep -v '^ *+' conftest.er1 >conftest.err
18001 cat conftest.err >&5
18002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18003 (exit $ac_status); } &&
18004 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18005 { (case "(($ac_try" in
18006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18007 *) ac_try_echo=$ac_try;;
18009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18010 (eval "$ac_try") 2>&5
18012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18013 (exit $ac_status); }; } &&
18014 { ac_try='test -s conftest$ac_exeext'
18015 { (case "(($ac_try" in
18016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18017 *) ac_try_echo=$ac_try;;
18019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18020 (eval "$ac_try") 2>&5
18022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18023 (exit $ac_status); }; }; then
18024 ac_cv_lib_gcc____chkstk=yes
18026 echo "$as_me: failed program was:" >&5
18027 sed 's/^/| /' conftest.$ac_ext >&5
18029 ac_cv_lib_gcc____chkstk=no
18032 rm -f core conftest.err conftest.$ac_objext \
18033 conftest$ac_exeext conftest.$ac_ext
18034 LIBS=$ac_check_lib_save_LIBS
18036 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc____chkstk" >&5
18037 echo "${ECHO_T}$ac_cv_lib_gcc____chkstk" >&6; }
18038 if test $ac_cv_lib_gcc____chkstk = yes; then
18040 cat >>confdefs.h <<\_ACEOF
18041 #define HAVE____CHKSTK 1
18047 { echo "$as_me:$LINENO: checking for __ashldi3 in -lgcc" >&5
18048 echo $ECHO_N "checking for __ashldi3 in -lgcc... $ECHO_C" >&6; }
18049 if test "${ac_cv_lib_gcc___ashldi3+set}" = set; then
18050 echo $ECHO_N "(cached) $ECHO_C" >&6
18052 ac_check_lib_save_LIBS=$LIBS
18054 cat >conftest.$ac_ext <<_ACEOF
18057 cat confdefs.h >>conftest.$ac_ext
18058 cat >>conftest.$ac_ext <<_ACEOF
18059 /* end confdefs.h. */
18061 /* Override any GCC internal prototype to avoid an error.
18062 Use char because int might match the return type of a GCC
18063 builtin and then its argument prototype would still apply. */
18071 return __ashldi3 ();
18076 rm -f conftest.$ac_objext conftest$ac_exeext
18077 if { (ac_try="$ac_link"
18078 case "(($ac_try" in
18079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18080 *) ac_try_echo=$ac_try;;
18082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18083 (eval "$ac_link") 2>conftest.er1
18085 grep -v '^ *+' conftest.er1 >conftest.err
18087 cat conftest.err >&5
18088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18089 (exit $ac_status); } &&
18090 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18091 { (case "(($ac_try" in
18092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18093 *) ac_try_echo=$ac_try;;
18095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18096 (eval "$ac_try") 2>&5
18098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18099 (exit $ac_status); }; } &&
18100 { ac_try='test -s conftest$ac_exeext'
18101 { (case "(($ac_try" in
18102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18103 *) ac_try_echo=$ac_try;;
18105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18106 (eval "$ac_try") 2>&5
18108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18109 (exit $ac_status); }; }; then
18110 ac_cv_lib_gcc___ashldi3=yes
18112 echo "$as_me: failed program was:" >&5
18113 sed 's/^/| /' conftest.$ac_ext >&5
18115 ac_cv_lib_gcc___ashldi3=no
18118 rm -f core conftest.err conftest.$ac_objext \
18119 conftest$ac_exeext conftest.$ac_ext
18120 LIBS=$ac_check_lib_save_LIBS
18122 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___ashldi3" >&5
18123 echo "${ECHO_T}$ac_cv_lib_gcc___ashldi3" >&6; }
18124 if test $ac_cv_lib_gcc___ashldi3 = yes; then
18126 cat >>confdefs.h <<\_ACEOF
18127 #define HAVE___ASHLDI3 1
18132 { echo "$as_me:$LINENO: checking for __ashrdi3 in -lgcc" >&5
18133 echo $ECHO_N "checking for __ashrdi3 in -lgcc... $ECHO_C" >&6; }
18134 if test "${ac_cv_lib_gcc___ashrdi3+set}" = set; then
18135 echo $ECHO_N "(cached) $ECHO_C" >&6
18137 ac_check_lib_save_LIBS=$LIBS
18139 cat >conftest.$ac_ext <<_ACEOF
18142 cat confdefs.h >>conftest.$ac_ext
18143 cat >>conftest.$ac_ext <<_ACEOF
18144 /* end confdefs.h. */
18146 /* Override any GCC internal prototype to avoid an error.
18147 Use char because int might match the return type of a GCC
18148 builtin and then its argument prototype would still apply. */
18156 return __ashrdi3 ();
18161 rm -f conftest.$ac_objext conftest$ac_exeext
18162 if { (ac_try="$ac_link"
18163 case "(($ac_try" in
18164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18165 *) ac_try_echo=$ac_try;;
18167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18168 (eval "$ac_link") 2>conftest.er1
18170 grep -v '^ *+' conftest.er1 >conftest.err
18172 cat conftest.err >&5
18173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18174 (exit $ac_status); } &&
18175 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18176 { (case "(($ac_try" in
18177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18178 *) ac_try_echo=$ac_try;;
18180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18181 (eval "$ac_try") 2>&5
18183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18184 (exit $ac_status); }; } &&
18185 { ac_try='test -s conftest$ac_exeext'
18186 { (case "(($ac_try" in
18187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18188 *) ac_try_echo=$ac_try;;
18190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18191 (eval "$ac_try") 2>&5
18193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18194 (exit $ac_status); }; }; then
18195 ac_cv_lib_gcc___ashrdi3=yes
18197 echo "$as_me: failed program was:" >&5
18198 sed 's/^/| /' conftest.$ac_ext >&5
18200 ac_cv_lib_gcc___ashrdi3=no
18203 rm -f core conftest.err conftest.$ac_objext \
18204 conftest$ac_exeext conftest.$ac_ext
18205 LIBS=$ac_check_lib_save_LIBS
18207 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___ashrdi3" >&5
18208 echo "${ECHO_T}$ac_cv_lib_gcc___ashrdi3" >&6; }
18209 if test $ac_cv_lib_gcc___ashrdi3 = yes; then
18211 cat >>confdefs.h <<\_ACEOF
18212 #define HAVE___ASHRDI3 1
18217 { echo "$as_me:$LINENO: checking for __divdi3 in -lgcc" >&5
18218 echo $ECHO_N "checking for __divdi3 in -lgcc... $ECHO_C" >&6; }
18219 if test "${ac_cv_lib_gcc___divdi3+set}" = set; then
18220 echo $ECHO_N "(cached) $ECHO_C" >&6
18222 ac_check_lib_save_LIBS=$LIBS
18224 cat >conftest.$ac_ext <<_ACEOF
18227 cat confdefs.h >>conftest.$ac_ext
18228 cat >>conftest.$ac_ext <<_ACEOF
18229 /* end confdefs.h. */
18231 /* Override any GCC internal prototype to avoid an error.
18232 Use char because int might match the return type of a GCC
18233 builtin and then its argument prototype would still apply. */
18241 return __divdi3 ();
18246 rm -f conftest.$ac_objext conftest$ac_exeext
18247 if { (ac_try="$ac_link"
18248 case "(($ac_try" in
18249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18250 *) ac_try_echo=$ac_try;;
18252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18253 (eval "$ac_link") 2>conftest.er1
18255 grep -v '^ *+' conftest.er1 >conftest.err
18257 cat conftest.err >&5
18258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18259 (exit $ac_status); } &&
18260 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18261 { (case "(($ac_try" in
18262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18263 *) ac_try_echo=$ac_try;;
18265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18266 (eval "$ac_try") 2>&5
18268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18269 (exit $ac_status); }; } &&
18270 { ac_try='test -s conftest$ac_exeext'
18271 { (case "(($ac_try" in
18272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18273 *) ac_try_echo=$ac_try;;
18275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18276 (eval "$ac_try") 2>&5
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); }; }; then
18280 ac_cv_lib_gcc___divdi3=yes
18282 echo "$as_me: failed program was:" >&5
18283 sed 's/^/| /' conftest.$ac_ext >&5
18285 ac_cv_lib_gcc___divdi3=no
18288 rm -f core conftest.err conftest.$ac_objext \
18289 conftest$ac_exeext conftest.$ac_ext
18290 LIBS=$ac_check_lib_save_LIBS
18292 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___divdi3" >&5
18293 echo "${ECHO_T}$ac_cv_lib_gcc___divdi3" >&6; }
18294 if test $ac_cv_lib_gcc___divdi3 = yes; then
18296 cat >>confdefs.h <<\_ACEOF
18297 #define HAVE___DIVDI3 1
18302 { echo "$as_me:$LINENO: checking for __fixdfdi in -lgcc" >&5
18303 echo $ECHO_N "checking for __fixdfdi in -lgcc... $ECHO_C" >&6; }
18304 if test "${ac_cv_lib_gcc___fixdfdi+set}" = set; then
18305 echo $ECHO_N "(cached) $ECHO_C" >&6
18307 ac_check_lib_save_LIBS=$LIBS
18309 cat >conftest.$ac_ext <<_ACEOF
18312 cat confdefs.h >>conftest.$ac_ext
18313 cat >>conftest.$ac_ext <<_ACEOF
18314 /* end confdefs.h. */
18316 /* Override any GCC internal prototype to avoid an error.
18317 Use char because int might match the return type of a GCC
18318 builtin and then its argument prototype would still apply. */
18326 return __fixdfdi ();
18331 rm -f conftest.$ac_objext conftest$ac_exeext
18332 if { (ac_try="$ac_link"
18333 case "(($ac_try" in
18334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18335 *) ac_try_echo=$ac_try;;
18337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18338 (eval "$ac_link") 2>conftest.er1
18340 grep -v '^ *+' conftest.er1 >conftest.err
18342 cat conftest.err >&5
18343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18344 (exit $ac_status); } &&
18345 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18346 { (case "(($ac_try" in
18347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18348 *) ac_try_echo=$ac_try;;
18350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18351 (eval "$ac_try") 2>&5
18353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354 (exit $ac_status); }; } &&
18355 { ac_try='test -s conftest$ac_exeext'
18356 { (case "(($ac_try" in
18357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18358 *) ac_try_echo=$ac_try;;
18360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18361 (eval "$ac_try") 2>&5
18363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18364 (exit $ac_status); }; }; then
18365 ac_cv_lib_gcc___fixdfdi=yes
18367 echo "$as_me: failed program was:" >&5
18368 sed 's/^/| /' conftest.$ac_ext >&5
18370 ac_cv_lib_gcc___fixdfdi=no
18373 rm -f core conftest.err conftest.$ac_objext \
18374 conftest$ac_exeext conftest.$ac_ext
18375 LIBS=$ac_check_lib_save_LIBS
18377 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___fixdfdi" >&5
18378 echo "${ECHO_T}$ac_cv_lib_gcc___fixdfdi" >&6; }
18379 if test $ac_cv_lib_gcc___fixdfdi = yes; then
18381 cat >>confdefs.h <<\_ACEOF
18382 #define HAVE___FIXDFDI 1
18387 { echo "$as_me:$LINENO: checking for __fixsfdi in -lgcc" >&5
18388 echo $ECHO_N "checking for __fixsfdi in -lgcc... $ECHO_C" >&6; }
18389 if test "${ac_cv_lib_gcc___fixsfdi+set}" = set; then
18390 echo $ECHO_N "(cached) $ECHO_C" >&6
18392 ac_check_lib_save_LIBS=$LIBS
18394 cat >conftest.$ac_ext <<_ACEOF
18397 cat confdefs.h >>conftest.$ac_ext
18398 cat >>conftest.$ac_ext <<_ACEOF
18399 /* end confdefs.h. */
18401 /* Override any GCC internal prototype to avoid an error.
18402 Use char because int might match the return type of a GCC
18403 builtin and then its argument prototype would still apply. */
18411 return __fixsfdi ();
18416 rm -f conftest.$ac_objext conftest$ac_exeext
18417 if { (ac_try="$ac_link"
18418 case "(($ac_try" in
18419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18420 *) ac_try_echo=$ac_try;;
18422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18423 (eval "$ac_link") 2>conftest.er1
18425 grep -v '^ *+' conftest.er1 >conftest.err
18427 cat conftest.err >&5
18428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18429 (exit $ac_status); } &&
18430 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18431 { (case "(($ac_try" in
18432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18433 *) ac_try_echo=$ac_try;;
18435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18436 (eval "$ac_try") 2>&5
18438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18439 (exit $ac_status); }; } &&
18440 { ac_try='test -s conftest$ac_exeext'
18441 { (case "(($ac_try" in
18442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18443 *) ac_try_echo=$ac_try;;
18445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18446 (eval "$ac_try") 2>&5
18448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18449 (exit $ac_status); }; }; then
18450 ac_cv_lib_gcc___fixsfdi=yes
18452 echo "$as_me: failed program was:" >&5
18453 sed 's/^/| /' conftest.$ac_ext >&5
18455 ac_cv_lib_gcc___fixsfdi=no
18458 rm -f core conftest.err conftest.$ac_objext \
18459 conftest$ac_exeext conftest.$ac_ext
18460 LIBS=$ac_check_lib_save_LIBS
18462 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___fixsfdi" >&5
18463 echo "${ECHO_T}$ac_cv_lib_gcc___fixsfdi" >&6; }
18464 if test $ac_cv_lib_gcc___fixsfdi = yes; then
18466 cat >>confdefs.h <<\_ACEOF
18467 #define HAVE___FIXSFDI 1
18472 { echo "$as_me:$LINENO: checking for __floatdidf in -lgcc" >&5
18473 echo $ECHO_N "checking for __floatdidf in -lgcc... $ECHO_C" >&6; }
18474 if test "${ac_cv_lib_gcc___floatdidf+set}" = set; then
18475 echo $ECHO_N "(cached) $ECHO_C" >&6
18477 ac_check_lib_save_LIBS=$LIBS
18479 cat >conftest.$ac_ext <<_ACEOF
18482 cat confdefs.h >>conftest.$ac_ext
18483 cat >>conftest.$ac_ext <<_ACEOF
18484 /* end confdefs.h. */
18486 /* Override any GCC internal prototype to avoid an error.
18487 Use char because int might match the return type of a GCC
18488 builtin and then its argument prototype would still apply. */
18492 char __floatdidf ();
18496 return __floatdidf ();
18501 rm -f conftest.$ac_objext conftest$ac_exeext
18502 if { (ac_try="$ac_link"
18503 case "(($ac_try" in
18504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18505 *) ac_try_echo=$ac_try;;
18507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18508 (eval "$ac_link") 2>conftest.er1
18510 grep -v '^ *+' conftest.er1 >conftest.err
18512 cat conftest.err >&5
18513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18514 (exit $ac_status); } &&
18515 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18516 { (case "(($ac_try" in
18517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18518 *) ac_try_echo=$ac_try;;
18520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18521 (eval "$ac_try") 2>&5
18523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18524 (exit $ac_status); }; } &&
18525 { ac_try='test -s conftest$ac_exeext'
18526 { (case "(($ac_try" in
18527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18528 *) ac_try_echo=$ac_try;;
18530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18531 (eval "$ac_try") 2>&5
18533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18534 (exit $ac_status); }; }; then
18535 ac_cv_lib_gcc___floatdidf=yes
18537 echo "$as_me: failed program was:" >&5
18538 sed 's/^/| /' conftest.$ac_ext >&5
18540 ac_cv_lib_gcc___floatdidf=no
18543 rm -f core conftest.err conftest.$ac_objext \
18544 conftest$ac_exeext conftest.$ac_ext
18545 LIBS=$ac_check_lib_save_LIBS
18547 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___floatdidf" >&5
18548 echo "${ECHO_T}$ac_cv_lib_gcc___floatdidf" >&6; }
18549 if test $ac_cv_lib_gcc___floatdidf = yes; then
18551 cat >>confdefs.h <<\_ACEOF
18552 #define HAVE___FLOATDIDF 1
18557 { echo "$as_me:$LINENO: checking for __lshrdi3 in -lgcc" >&5
18558 echo $ECHO_N "checking for __lshrdi3 in -lgcc... $ECHO_C" >&6; }
18559 if test "${ac_cv_lib_gcc___lshrdi3+set}" = set; then
18560 echo $ECHO_N "(cached) $ECHO_C" >&6
18562 ac_check_lib_save_LIBS=$LIBS
18564 cat >conftest.$ac_ext <<_ACEOF
18567 cat confdefs.h >>conftest.$ac_ext
18568 cat >>conftest.$ac_ext <<_ACEOF
18569 /* end confdefs.h. */
18571 /* Override any GCC internal prototype to avoid an error.
18572 Use char because int might match the return type of a GCC
18573 builtin and then its argument prototype would still apply. */
18581 return __lshrdi3 ();
18586 rm -f conftest.$ac_objext conftest$ac_exeext
18587 if { (ac_try="$ac_link"
18588 case "(($ac_try" in
18589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18590 *) ac_try_echo=$ac_try;;
18592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18593 (eval "$ac_link") 2>conftest.er1
18595 grep -v '^ *+' conftest.er1 >conftest.err
18597 cat conftest.err >&5
18598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18599 (exit $ac_status); } &&
18600 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18601 { (case "(($ac_try" in
18602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18603 *) ac_try_echo=$ac_try;;
18605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18606 (eval "$ac_try") 2>&5
18608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18609 (exit $ac_status); }; } &&
18610 { ac_try='test -s conftest$ac_exeext'
18611 { (case "(($ac_try" in
18612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18613 *) ac_try_echo=$ac_try;;
18615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18616 (eval "$ac_try") 2>&5
18618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18619 (exit $ac_status); }; }; then
18620 ac_cv_lib_gcc___lshrdi3=yes
18622 echo "$as_me: failed program was:" >&5
18623 sed 's/^/| /' conftest.$ac_ext >&5
18625 ac_cv_lib_gcc___lshrdi3=no
18628 rm -f core conftest.err conftest.$ac_objext \
18629 conftest$ac_exeext conftest.$ac_ext
18630 LIBS=$ac_check_lib_save_LIBS
18632 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___lshrdi3" >&5
18633 echo "${ECHO_T}$ac_cv_lib_gcc___lshrdi3" >&6; }
18634 if test $ac_cv_lib_gcc___lshrdi3 = yes; then
18636 cat >>confdefs.h <<\_ACEOF
18637 #define HAVE___LSHRDI3 1
18642 { echo "$as_me:$LINENO: checking for __moddi3 in -lgcc" >&5
18643 echo $ECHO_N "checking for __moddi3 in -lgcc... $ECHO_C" >&6; }
18644 if test "${ac_cv_lib_gcc___moddi3+set}" = set; then
18645 echo $ECHO_N "(cached) $ECHO_C" >&6
18647 ac_check_lib_save_LIBS=$LIBS
18649 cat >conftest.$ac_ext <<_ACEOF
18652 cat confdefs.h >>conftest.$ac_ext
18653 cat >>conftest.$ac_ext <<_ACEOF
18654 /* end confdefs.h. */
18656 /* Override any GCC internal prototype to avoid an error.
18657 Use char because int might match the return type of a GCC
18658 builtin and then its argument prototype would still apply. */
18666 return __moddi3 ();
18671 rm -f conftest.$ac_objext conftest$ac_exeext
18672 if { (ac_try="$ac_link"
18673 case "(($ac_try" in
18674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18675 *) ac_try_echo=$ac_try;;
18677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18678 (eval "$ac_link") 2>conftest.er1
18680 grep -v '^ *+' conftest.er1 >conftest.err
18682 cat conftest.err >&5
18683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18684 (exit $ac_status); } &&
18685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18686 { (case "(($ac_try" in
18687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18688 *) ac_try_echo=$ac_try;;
18690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18691 (eval "$ac_try") 2>&5
18693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18694 (exit $ac_status); }; } &&
18695 { ac_try='test -s conftest$ac_exeext'
18696 { (case "(($ac_try" in
18697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18698 *) ac_try_echo=$ac_try;;
18700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18701 (eval "$ac_try") 2>&5
18703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18704 (exit $ac_status); }; }; then
18705 ac_cv_lib_gcc___moddi3=yes
18707 echo "$as_me: failed program was:" >&5
18708 sed 's/^/| /' conftest.$ac_ext >&5
18710 ac_cv_lib_gcc___moddi3=no
18713 rm -f core conftest.err conftest.$ac_objext \
18714 conftest$ac_exeext conftest.$ac_ext
18715 LIBS=$ac_check_lib_save_LIBS
18717 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___moddi3" >&5
18718 echo "${ECHO_T}$ac_cv_lib_gcc___moddi3" >&6; }
18719 if test $ac_cv_lib_gcc___moddi3 = yes; then
18721 cat >>confdefs.h <<\_ACEOF
18722 #define HAVE___MODDI3 1
18727 { echo "$as_me:$LINENO: checking for __udivdi3 in -lgcc" >&5
18728 echo $ECHO_N "checking for __udivdi3 in -lgcc... $ECHO_C" >&6; }
18729 if test "${ac_cv_lib_gcc___udivdi3+set}" = set; then
18730 echo $ECHO_N "(cached) $ECHO_C" >&6
18732 ac_check_lib_save_LIBS=$LIBS
18734 cat >conftest.$ac_ext <<_ACEOF
18737 cat confdefs.h >>conftest.$ac_ext
18738 cat >>conftest.$ac_ext <<_ACEOF
18739 /* end confdefs.h. */
18741 /* Override any GCC internal prototype to avoid an error.
18742 Use char because int might match the return type of a GCC
18743 builtin and then its argument prototype would still apply. */
18751 return __udivdi3 ();
18756 rm -f conftest.$ac_objext conftest$ac_exeext
18757 if { (ac_try="$ac_link"
18758 case "(($ac_try" in
18759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18760 *) ac_try_echo=$ac_try;;
18762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18763 (eval "$ac_link") 2>conftest.er1
18765 grep -v '^ *+' conftest.er1 >conftest.err
18767 cat conftest.err >&5
18768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18769 (exit $ac_status); } &&
18770 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18771 { (case "(($ac_try" in
18772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18773 *) ac_try_echo=$ac_try;;
18775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18776 (eval "$ac_try") 2>&5
18778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18779 (exit $ac_status); }; } &&
18780 { ac_try='test -s conftest$ac_exeext'
18781 { (case "(($ac_try" in
18782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18783 *) ac_try_echo=$ac_try;;
18785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18786 (eval "$ac_try") 2>&5
18788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18789 (exit $ac_status); }; }; then
18790 ac_cv_lib_gcc___udivdi3=yes
18792 echo "$as_me: failed program was:" >&5
18793 sed 's/^/| /' conftest.$ac_ext >&5
18795 ac_cv_lib_gcc___udivdi3=no
18798 rm -f core conftest.err conftest.$ac_objext \
18799 conftest$ac_exeext conftest.$ac_ext
18800 LIBS=$ac_check_lib_save_LIBS
18802 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___udivdi3" >&5
18803 echo "${ECHO_T}$ac_cv_lib_gcc___udivdi3" >&6; }
18804 if test $ac_cv_lib_gcc___udivdi3 = yes; then
18806 cat >>confdefs.h <<\_ACEOF
18807 #define HAVE___UDIVDI3 1
18812 { echo "$as_me:$LINENO: checking for __umoddi3 in -lgcc" >&5
18813 echo $ECHO_N "checking for __umoddi3 in -lgcc... $ECHO_C" >&6; }
18814 if test "${ac_cv_lib_gcc___umoddi3+set}" = set; then
18815 echo $ECHO_N "(cached) $ECHO_C" >&6
18817 ac_check_lib_save_LIBS=$LIBS
18819 cat >conftest.$ac_ext <<_ACEOF
18822 cat confdefs.h >>conftest.$ac_ext
18823 cat >>conftest.$ac_ext <<_ACEOF
18824 /* end confdefs.h. */
18826 /* Override any GCC internal prototype to avoid an error.
18827 Use char because int might match the return type of a GCC
18828 builtin and then its argument prototype would still apply. */
18836 return __umoddi3 ();
18841 rm -f conftest.$ac_objext conftest$ac_exeext
18842 if { (ac_try="$ac_link"
18843 case "(($ac_try" in
18844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18845 *) ac_try_echo=$ac_try;;
18847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18848 (eval "$ac_link") 2>conftest.er1
18850 grep -v '^ *+' conftest.er1 >conftest.err
18852 cat conftest.err >&5
18853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18854 (exit $ac_status); } &&
18855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18856 { (case "(($ac_try" in
18857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18858 *) ac_try_echo=$ac_try;;
18860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18861 (eval "$ac_try") 2>&5
18863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18864 (exit $ac_status); }; } &&
18865 { ac_try='test -s conftest$ac_exeext'
18866 { (case "(($ac_try" in
18867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18868 *) ac_try_echo=$ac_try;;
18870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18871 (eval "$ac_try") 2>&5
18873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18874 (exit $ac_status); }; }; then
18875 ac_cv_lib_gcc___umoddi3=yes
18877 echo "$as_me: failed program was:" >&5
18878 sed 's/^/| /' conftest.$ac_ext >&5
18880 ac_cv_lib_gcc___umoddi3=no
18883 rm -f core conftest.err conftest.$ac_objext \
18884 conftest$ac_exeext conftest.$ac_ext
18885 LIBS=$ac_check_lib_save_LIBS
18887 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___umoddi3" >&5
18888 echo "${ECHO_T}$ac_cv_lib_gcc___umoddi3" >&6; }
18889 if test $ac_cv_lib_gcc___umoddi3 = yes; then
18891 cat >>confdefs.h <<\_ACEOF
18892 #define HAVE___UMODDI3 1
18898 { echo "$as_me:$LINENO: checking for __main in -lgcc" >&5
18899 echo $ECHO_N "checking for __main in -lgcc... $ECHO_C" >&6; }
18900 if test "${ac_cv_lib_gcc___main+set}" = set; then
18901 echo $ECHO_N "(cached) $ECHO_C" >&6
18903 ac_check_lib_save_LIBS=$LIBS
18905 cat >conftest.$ac_ext <<_ACEOF
18908 cat confdefs.h >>conftest.$ac_ext
18909 cat >>conftest.$ac_ext <<_ACEOF
18910 /* end confdefs.h. */
18912 /* Override any GCC internal prototype to avoid an error.
18913 Use char because int might match the return type of a GCC
18914 builtin and then its argument prototype would still apply. */
18927 rm -f conftest.$ac_objext conftest$ac_exeext
18928 if { (ac_try="$ac_link"
18929 case "(($ac_try" in
18930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18931 *) ac_try_echo=$ac_try;;
18933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18934 (eval "$ac_link") 2>conftest.er1
18936 grep -v '^ *+' conftest.er1 >conftest.err
18938 cat conftest.err >&5
18939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18940 (exit $ac_status); } &&
18941 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18942 { (case "(($ac_try" in
18943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18944 *) ac_try_echo=$ac_try;;
18946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18947 (eval "$ac_try") 2>&5
18949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18950 (exit $ac_status); }; } &&
18951 { ac_try='test -s conftest$ac_exeext'
18952 { (case "(($ac_try" in
18953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18954 *) ac_try_echo=$ac_try;;
18956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18957 (eval "$ac_try") 2>&5
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); }; }; then
18961 ac_cv_lib_gcc___main=yes
18963 echo "$as_me: failed program was:" >&5
18964 sed 's/^/| /' conftest.$ac_ext >&5
18966 ac_cv_lib_gcc___main=no
18969 rm -f core conftest.err conftest.$ac_objext \
18970 conftest$ac_exeext conftest.$ac_ext
18971 LIBS=$ac_check_lib_save_LIBS
18973 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___main" >&5
18974 echo "${ECHO_T}$ac_cv_lib_gcc___main" >&6; }
18975 if test $ac_cv_lib_gcc___main = yes; then
18977 cat >>confdefs.h <<\_ACEOF
18978 #define HAVE___MAIN 1
18983 { echo "$as_me:$LINENO: checking for __cmpdi2 in -lgcc" >&5
18984 echo $ECHO_N "checking for __cmpdi2 in -lgcc... $ECHO_C" >&6; }
18985 if test "${ac_cv_lib_gcc___cmpdi2+set}" = set; then
18986 echo $ECHO_N "(cached) $ECHO_C" >&6
18988 ac_check_lib_save_LIBS=$LIBS
18990 cat >conftest.$ac_ext <<_ACEOF
18993 cat confdefs.h >>conftest.$ac_ext
18994 cat >>conftest.$ac_ext <<_ACEOF
18995 /* end confdefs.h. */
18997 /* Override any GCC internal prototype to avoid an error.
18998 Use char because int might match the return type of a GCC
18999 builtin and then its argument prototype would still apply. */
19007 return __cmpdi2 ();
19012 rm -f conftest.$ac_objext conftest$ac_exeext
19013 if { (ac_try="$ac_link"
19014 case "(($ac_try" in
19015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19016 *) ac_try_echo=$ac_try;;
19018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19019 (eval "$ac_link") 2>conftest.er1
19021 grep -v '^ *+' conftest.er1 >conftest.err
19023 cat conftest.err >&5
19024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19025 (exit $ac_status); } &&
19026 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19027 { (case "(($ac_try" in
19028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19029 *) ac_try_echo=$ac_try;;
19031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19032 (eval "$ac_try") 2>&5
19034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19035 (exit $ac_status); }; } &&
19036 { ac_try='test -s conftest$ac_exeext'
19037 { (case "(($ac_try" in
19038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19039 *) ac_try_echo=$ac_try;;
19041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19042 (eval "$ac_try") 2>&5
19044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19045 (exit $ac_status); }; }; then
19046 ac_cv_lib_gcc___cmpdi2=yes
19048 echo "$as_me: failed program was:" >&5
19049 sed 's/^/| /' conftest.$ac_ext >&5
19051 ac_cv_lib_gcc___cmpdi2=no
19054 rm -f core conftest.err conftest.$ac_objext \
19055 conftest$ac_exeext conftest.$ac_ext
19056 LIBS=$ac_check_lib_save_LIBS
19058 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___cmpdi2" >&5
19059 echo "${ECHO_T}$ac_cv_lib_gcc___cmpdi2" >&6; }
19060 if test $ac_cv_lib_gcc___cmpdi2 = yes; then
19062 cat >>confdefs.h <<\_ACEOF
19063 #define HAVE___CMPDI2 1
19070 if test "$llvm_cv_os_type" = "MingW" ; then
19071 { echo "$as_me:$LINENO: checking whether EnumerateLoadedModules() accepts new decl" >&5
19072 echo $ECHO_N "checking whether EnumerateLoadedModules() accepts new decl... $ECHO_C" >&6; }
19073 cat >conftest.$ac_ext <<_ACEOF
19074 #include <windows.h>
19075 #include <imagehlp.h>
19076 extern void foo(PENUMLOADED_MODULES_CALLBACK);
19077 extern void foo(BOOL(CALLBACK*)(PCSTR,ULONG_PTR,ULONG,PVOID));
19079 rm -f conftest.$ac_objext
19080 if { (ac_try="$ac_compile"
19081 case "(($ac_try" in
19082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19083 *) ac_try_echo=$ac_try;;
19085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19086 (eval "$ac_compile") 2>conftest.er1
19088 grep -v '^ *+' conftest.er1 >conftest.err
19090 cat conftest.err >&5
19091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19092 (exit $ac_status); } &&
19093 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19094 { (case "(($ac_try" in
19095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19096 *) ac_try_echo=$ac_try;;
19098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19099 (eval "$ac_try") 2>&5
19101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102 (exit $ac_status); }; } &&
19103 { ac_try='test -s conftest.$ac_objext'
19104 { (case "(($ac_try" in
19105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19106 *) ac_try_echo=$ac_try;;
19108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19109 (eval "$ac_try") 2>&5
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); }; }; then
19114 { echo "$as_me:$LINENO: result: yes" >&5
19115 echo "${ECHO_T}yes" >&6; }
19116 llvm_cv_win32_elmcb_pcstr="PCSTR"
19119 echo "$as_me: failed program was:" >&5
19120 sed 's/^/| /' conftest.$ac_ext >&5
19123 { echo "$as_me:$LINENO: result: no" >&5
19124 echo "${ECHO_T}no" >&6; }
19125 llvm_cv_win32_elmcb_pcstr="PSTR"
19129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19131 cat >>confdefs.h <<_ACEOF
19132 #define WIN32_ELMCB_PCSTR $llvm_cv_win32_elmcb_pcstr
19138 { echo "$as_me:$LINENO: checking for isnan in <math.h>" >&5
19139 echo $ECHO_N "checking for isnan in <math.h>... $ECHO_C" >&6; }
19140 if test "${ac_cv_func_isnan_in_math_h+set}" = set; then
19141 echo $ECHO_N "(cached) $ECHO_C" >&6
19144 ac_cpp='$CXXCPP $CPPFLAGS'
19145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19149 cat >conftest.$ac_ext <<_ACEOF
19152 cat confdefs.h >>conftest.$ac_ext
19153 cat >>conftest.$ac_ext <<_ACEOF
19154 /* end confdefs.h. */
19164 rm -f conftest.$ac_objext
19165 if { (ac_try="$ac_compile"
19166 case "(($ac_try" in
19167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19168 *) ac_try_echo=$ac_try;;
19170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19171 (eval "$ac_compile") 2>conftest.er1
19173 grep -v '^ *+' conftest.er1 >conftest.err
19175 cat conftest.err >&5
19176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19177 (exit $ac_status); } &&
19178 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19179 { (case "(($ac_try" in
19180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19181 *) ac_try_echo=$ac_try;;
19183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19184 (eval "$ac_try") 2>&5
19186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19187 (exit $ac_status); }; } &&
19188 { ac_try='test -s conftest.$ac_objext'
19189 { (case "(($ac_try" in
19190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19191 *) ac_try_echo=$ac_try;;
19193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19194 (eval "$ac_try") 2>&5
19196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19197 (exit $ac_status); }; }; then
19198 ac_cv_func_isnan_in_math_h=yes
19200 echo "$as_me: failed program was:" >&5
19201 sed 's/^/| /' conftest.$ac_ext >&5
19203 ac_cv_func_isnan_in_math_h=no
19206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19208 ac_cpp='$CPP $CPPFLAGS'
19209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19214 { echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_math_h" >&5
19215 echo "${ECHO_T}$ac_cv_func_isnan_in_math_h" >&6; }
19218 if test "$ac_cv_func_isnan_in_math_h" = "yes" ; then
19220 cat >>confdefs.h <<\_ACEOF
19221 #define HAVE_ISNAN_IN_MATH_H 1
19226 { echo "$as_me:$LINENO: checking for isnan in <cmath>" >&5
19227 echo $ECHO_N "checking for isnan in <cmath>... $ECHO_C" >&6; }
19228 if test "${ac_cv_func_isnan_in_cmath+set}" = set; then
19229 echo $ECHO_N "(cached) $ECHO_C" >&6
19232 ac_cpp='$CXXCPP $CPPFLAGS'
19233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19237 cat >conftest.$ac_ext <<_ACEOF
19240 cat confdefs.h >>conftest.$ac_ext
19241 cat >>conftest.$ac_ext <<_ACEOF
19242 /* end confdefs.h. */
19252 rm -f conftest.$ac_objext
19253 if { (ac_try="$ac_compile"
19254 case "(($ac_try" in
19255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19256 *) ac_try_echo=$ac_try;;
19258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19259 (eval "$ac_compile") 2>conftest.er1
19261 grep -v '^ *+' conftest.er1 >conftest.err
19263 cat conftest.err >&5
19264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19265 (exit $ac_status); } &&
19266 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19267 { (case "(($ac_try" in
19268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19269 *) ac_try_echo=$ac_try;;
19271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19272 (eval "$ac_try") 2>&5
19274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19275 (exit $ac_status); }; } &&
19276 { ac_try='test -s conftest.$ac_objext'
19277 { (case "(($ac_try" in
19278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19279 *) ac_try_echo=$ac_try;;
19281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19282 (eval "$ac_try") 2>&5
19284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19285 (exit $ac_status); }; }; then
19286 ac_cv_func_isnan_in_cmath=yes
19288 echo "$as_me: failed program was:" >&5
19289 sed 's/^/| /' conftest.$ac_ext >&5
19291 ac_cv_func_isnan_in_cmath=no
19294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19296 ac_cpp='$CPP $CPPFLAGS'
19297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19302 { echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_cmath" >&5
19303 echo "${ECHO_T}$ac_cv_func_isnan_in_cmath" >&6; }
19305 if test "$ac_cv_func_isnan_in_cmath" = "yes" ; then
19307 cat >>confdefs.h <<\_ACEOF
19308 #define HAVE_ISNAN_IN_CMATH 1
19313 { echo "$as_me:$LINENO: checking for std::isnan in <cmath>" >&5
19314 echo $ECHO_N "checking for std::isnan in <cmath>... $ECHO_C" >&6; }
19315 if test "${ac_cv_func_std_isnan_in_cmath+set}" = set; then
19316 echo $ECHO_N "(cached) $ECHO_C" >&6
19319 ac_cpp='$CXXCPP $CPPFLAGS'
19320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19324 cat >conftest.$ac_ext <<_ACEOF
19327 cat confdefs.h >>conftest.$ac_ext
19328 cat >>conftest.$ac_ext <<_ACEOF
19329 /* end confdefs.h. */
19334 float f; std::isnan(f);
19339 rm -f conftest.$ac_objext
19340 if { (ac_try="$ac_compile"
19341 case "(($ac_try" in
19342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19343 *) ac_try_echo=$ac_try;;
19345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19346 (eval "$ac_compile") 2>conftest.er1
19348 grep -v '^ *+' conftest.er1 >conftest.err
19350 cat conftest.err >&5
19351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19352 (exit $ac_status); } &&
19353 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19354 { (case "(($ac_try" in
19355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19356 *) ac_try_echo=$ac_try;;
19358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19359 (eval "$ac_try") 2>&5
19361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19362 (exit $ac_status); }; } &&
19363 { ac_try='test -s conftest.$ac_objext'
19364 { (case "(($ac_try" in
19365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19366 *) ac_try_echo=$ac_try;;
19368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19369 (eval "$ac_try") 2>&5
19371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19372 (exit $ac_status); }; }; then
19373 ac_cv_func_std_isnan_in_cmath=yes
19375 echo "$as_me: failed program was:" >&5
19376 sed 's/^/| /' conftest.$ac_ext >&5
19378 ac_cv_func_std_isnan_in_cmath=no
19381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19383 ac_cpp='$CPP $CPPFLAGS'
19384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19389 { echo "$as_me:$LINENO: result: $ac_cv_func_std_isnan_in_cmath" >&5
19390 echo "${ECHO_T}$ac_cv_func_std_isnan_in_cmath" >&6; }
19392 if test "$ac_cv_func_std_isnan_in_cmath" = "yes" ; then
19394 cat >>confdefs.h <<\_ACEOF
19395 #define HAVE_STD_ISNAN_IN_CMATH 1
19401 { echo "$as_me:$LINENO: checking for isinf in <math.h>" >&5
19402 echo $ECHO_N "checking for isinf in <math.h>... $ECHO_C" >&6; }
19403 if test "${ac_cv_func_isinf_in_math_h+set}" = set; then
19404 echo $ECHO_N "(cached) $ECHO_C" >&6
19407 ac_cpp='$CXXCPP $CPPFLAGS'
19408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19412 cat >conftest.$ac_ext <<_ACEOF
19415 cat confdefs.h >>conftest.$ac_ext
19416 cat >>conftest.$ac_ext <<_ACEOF
19417 /* end confdefs.h. */
19427 rm -f conftest.$ac_objext
19428 if { (ac_try="$ac_compile"
19429 case "(($ac_try" in
19430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19431 *) ac_try_echo=$ac_try;;
19433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19434 (eval "$ac_compile") 2>conftest.er1
19436 grep -v '^ *+' conftest.er1 >conftest.err
19438 cat conftest.err >&5
19439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19440 (exit $ac_status); } &&
19441 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19442 { (case "(($ac_try" in
19443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19444 *) ac_try_echo=$ac_try;;
19446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19447 (eval "$ac_try") 2>&5
19449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19450 (exit $ac_status); }; } &&
19451 { ac_try='test -s conftest.$ac_objext'
19452 { (case "(($ac_try" in
19453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19454 *) ac_try_echo=$ac_try;;
19456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19457 (eval "$ac_try") 2>&5
19459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19460 (exit $ac_status); }; }; then
19461 ac_cv_func_isinf_in_math_h=yes
19463 echo "$as_me: failed program was:" >&5
19464 sed 's/^/| /' conftest.$ac_ext >&5
19466 ac_cv_func_isinf_in_math_h=no
19469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19471 ac_cpp='$CPP $CPPFLAGS'
19472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19477 { echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_math_h" >&5
19478 echo "${ECHO_T}$ac_cv_func_isinf_in_math_h" >&6; }
19480 if test "$ac_cv_func_isinf_in_math_h" = "yes" ; then
19482 cat >>confdefs.h <<\_ACEOF
19483 #define HAVE_ISINF_IN_MATH_H 1
19488 { echo "$as_me:$LINENO: checking for isinf in <cmath>" >&5
19489 echo $ECHO_N "checking for isinf in <cmath>... $ECHO_C" >&6; }
19490 if test "${ac_cv_func_isinf_in_cmath+set}" = set; then
19491 echo $ECHO_N "(cached) $ECHO_C" >&6
19494 ac_cpp='$CXXCPP $CPPFLAGS'
19495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19499 cat >conftest.$ac_ext <<_ACEOF
19502 cat confdefs.h >>conftest.$ac_ext
19503 cat >>conftest.$ac_ext <<_ACEOF
19504 /* end confdefs.h. */
19514 rm -f conftest.$ac_objext
19515 if { (ac_try="$ac_compile"
19516 case "(($ac_try" in
19517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19518 *) ac_try_echo=$ac_try;;
19520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19521 (eval "$ac_compile") 2>conftest.er1
19523 grep -v '^ *+' conftest.er1 >conftest.err
19525 cat conftest.err >&5
19526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527 (exit $ac_status); } &&
19528 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19529 { (case "(($ac_try" in
19530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19531 *) ac_try_echo=$ac_try;;
19533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19534 (eval "$ac_try") 2>&5
19536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19537 (exit $ac_status); }; } &&
19538 { ac_try='test -s conftest.$ac_objext'
19539 { (case "(($ac_try" in
19540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19541 *) ac_try_echo=$ac_try;;
19543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19544 (eval "$ac_try") 2>&5
19546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19547 (exit $ac_status); }; }; then
19548 ac_cv_func_isinf_in_cmath=yes
19550 echo "$as_me: failed program was:" >&5
19551 sed 's/^/| /' conftest.$ac_ext >&5
19553 ac_cv_func_isinf_in_cmath=no
19556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19558 ac_cpp='$CPP $CPPFLAGS'
19559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19564 { echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_cmath" >&5
19565 echo "${ECHO_T}$ac_cv_func_isinf_in_cmath" >&6; }
19567 if test "$ac_cv_func_isinf_in_cmath" = "yes" ; then
19569 cat >>confdefs.h <<\_ACEOF
19570 #define HAVE_ISINF_IN_CMATH 1
19575 { echo "$as_me:$LINENO: checking for std::isinf in <cmath>" >&5
19576 echo $ECHO_N "checking for std::isinf in <cmath>... $ECHO_C" >&6; }
19577 if test "${ac_cv_func_std_isinf_in_cmath+set}" = set; then
19578 echo $ECHO_N "(cached) $ECHO_C" >&6
19581 ac_cpp='$CXXCPP $CPPFLAGS'
19582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19586 cat >conftest.$ac_ext <<_ACEOF
19589 cat confdefs.h >>conftest.$ac_ext
19590 cat >>conftest.$ac_ext <<_ACEOF
19591 /* end confdefs.h. */
19596 float f; std::isinf(f);
19601 rm -f conftest.$ac_objext
19602 if { (ac_try="$ac_compile"
19603 case "(($ac_try" in
19604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19605 *) ac_try_echo=$ac_try;;
19607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19608 (eval "$ac_compile") 2>conftest.er1
19610 grep -v '^ *+' conftest.er1 >conftest.err
19612 cat conftest.err >&5
19613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19614 (exit $ac_status); } &&
19615 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19616 { (case "(($ac_try" in
19617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19618 *) ac_try_echo=$ac_try;;
19620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19621 (eval "$ac_try") 2>&5
19623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19624 (exit $ac_status); }; } &&
19625 { ac_try='test -s conftest.$ac_objext'
19626 { (case "(($ac_try" in
19627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19628 *) ac_try_echo=$ac_try;;
19630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19631 (eval "$ac_try") 2>&5
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); }; }; then
19635 ac_cv_func_std_isinf_in_cmath=yes
19637 echo "$as_me: failed program was:" >&5
19638 sed 's/^/| /' conftest.$ac_ext >&5
19640 ac_cv_func_std_isinf_in_cmath=no
19643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19645 ac_cpp='$CPP $CPPFLAGS'
19646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19651 { echo "$as_me:$LINENO: result: $ac_cv_func_std_isinf_in_cmath" >&5
19652 echo "${ECHO_T}$ac_cv_func_std_isinf_in_cmath" >&6; }
19654 if test "$ac_cv_func_std_isinf_in_cmath" = "yes" ; then
19656 cat >>confdefs.h <<\_ACEOF
19657 #define HAVE_STD_ISINF_IN_CMATH 1
19662 { echo "$as_me:$LINENO: checking for finite in <ieeefp.h>" >&5
19663 echo $ECHO_N "checking for finite in <ieeefp.h>... $ECHO_C" >&6; }
19664 if test "${ac_cv_func_finite_in_ieeefp_h+set}" = set; then
19665 echo $ECHO_N "(cached) $ECHO_C" >&6
19668 ac_cpp='$CXXCPP $CPPFLAGS'
19669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19673 cat >conftest.$ac_ext <<_ACEOF
19676 cat confdefs.h >>conftest.$ac_ext
19677 cat >>conftest.$ac_ext <<_ACEOF
19678 /* end confdefs.h. */
19679 #include <ieeefp.h>
19683 float f; finite(f);
19688 rm -f conftest.$ac_objext
19689 if { (ac_try="$ac_compile"
19690 case "(($ac_try" in
19691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19692 *) ac_try_echo=$ac_try;;
19694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19695 (eval "$ac_compile") 2>conftest.er1
19697 grep -v '^ *+' conftest.er1 >conftest.err
19699 cat conftest.err >&5
19700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701 (exit $ac_status); } &&
19702 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19703 { (case "(($ac_try" in
19704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19705 *) ac_try_echo=$ac_try;;
19707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19708 (eval "$ac_try") 2>&5
19710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19711 (exit $ac_status); }; } &&
19712 { ac_try='test -s conftest.$ac_objext'
19713 { (case "(($ac_try" in
19714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19715 *) ac_try_echo=$ac_try;;
19717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19718 (eval "$ac_try") 2>&5
19720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19721 (exit $ac_status); }; }; then
19722 ac_cv_func_finite_in_ieeefp_h=yes
19724 echo "$as_me: failed program was:" >&5
19725 sed 's/^/| /' conftest.$ac_ext >&5
19727 ac_cv_func_finite_in_ieeefp_h=no
19730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19732 ac_cpp='$CPP $CPPFLAGS'
19733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19738 { echo "$as_me:$LINENO: result: $ac_cv_func_finite_in_ieeefp_h" >&5
19739 echo "${ECHO_T}$ac_cv_func_finite_in_ieeefp_h" >&6; }
19741 if test "$ac_cv_func_finite_in_ieeefp_h" = "yes" ; then
19743 cat >>confdefs.h <<\_ACEOF
19744 #define HAVE_FINITE_IN_IEEEFP_H 1
19751 if test "$llvm_cv_platform_type" = "Unix" ; then
19754 for ac_header in stdlib.h unistd.h
19756 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19757 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19758 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19760 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19761 echo $ECHO_N "(cached) $ECHO_C" >&6
19763 ac_res=`eval echo '${'$as_ac_Header'}'`
19764 { echo "$as_me:$LINENO: result: $ac_res" >&5
19765 echo "${ECHO_T}$ac_res" >&6; }
19767 # Is the header compilable?
19768 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
19769 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19770 cat >conftest.$ac_ext <<_ACEOF
19773 cat confdefs.h >>conftest.$ac_ext
19774 cat >>conftest.$ac_ext <<_ACEOF
19775 /* end confdefs.h. */
19776 $ac_includes_default
19777 #include <$ac_header>
19779 rm -f conftest.$ac_objext
19780 if { (ac_try="$ac_compile"
19781 case "(($ac_try" in
19782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19783 *) ac_try_echo=$ac_try;;
19785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19786 (eval "$ac_compile") 2>conftest.er1
19788 grep -v '^ *+' conftest.er1 >conftest.err
19790 cat conftest.err >&5
19791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19792 (exit $ac_status); } &&
19793 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19794 { (case "(($ac_try" in
19795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19796 *) ac_try_echo=$ac_try;;
19798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19799 (eval "$ac_try") 2>&5
19801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19802 (exit $ac_status); }; } &&
19803 { ac_try='test -s conftest.$ac_objext'
19804 { (case "(($ac_try" in
19805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19806 *) ac_try_echo=$ac_try;;
19808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19809 (eval "$ac_try") 2>&5
19811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19812 (exit $ac_status); }; }; then
19813 ac_header_compiler=yes
19815 echo "$as_me: failed program was:" >&5
19816 sed 's/^/| /' conftest.$ac_ext >&5
19818 ac_header_compiler=no
19821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19822 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19823 echo "${ECHO_T}$ac_header_compiler" >&6; }
19825 # Is the header present?
19826 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
19827 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19828 cat >conftest.$ac_ext <<_ACEOF
19831 cat confdefs.h >>conftest.$ac_ext
19832 cat >>conftest.$ac_ext <<_ACEOF
19833 /* end confdefs.h. */
19834 #include <$ac_header>
19836 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null; then
19849 if test -s conftest.err; then
19850 ac_cpp_err=$ac_c_preproc_warn_flag
19851 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19858 if test -z "$ac_cpp_err"; then
19859 ac_header_preproc=yes
19861 echo "$as_me: failed program was:" >&5
19862 sed 's/^/| /' conftest.$ac_ext >&5
19864 ac_header_preproc=no
19867 rm -f conftest.err conftest.$ac_ext
19868 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19869 echo "${ECHO_T}$ac_header_preproc" >&6; }
19871 # So? What about this header?
19872 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19874 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19875 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19876 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19877 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19878 ac_header_preproc=yes
19881 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19882 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19883 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19884 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19885 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19886 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19887 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19888 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19889 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19890 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19891 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19892 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19894 ## ------------------------------ ##
19895 ## Report this to bugs@yourdomain ##
19896 ## ------------------------------ ##
19898 ) | sed "s/^/$as_me: WARNING: /" >&2
19901 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19902 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19903 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19904 echo $ECHO_N "(cached) $ECHO_C" >&6
19906 eval "$as_ac_Header=\$ac_header_preproc"
19908 ac_res=`eval echo '${'$as_ac_Header'}'`
19909 { echo "$as_me:$LINENO: result: $ac_res" >&5
19910 echo "${ECHO_T}$ac_res" >&6; }
19913 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19914 cat >>confdefs.h <<_ACEOF
19915 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19923 for ac_func in getpagesize
19925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19926 { echo "$as_me:$LINENO: checking for $ac_func" >&5
19927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19928 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19929 echo $ECHO_N "(cached) $ECHO_C" >&6
19931 cat >conftest.$ac_ext <<_ACEOF
19934 cat confdefs.h >>conftest.$ac_ext
19935 cat >>conftest.$ac_ext <<_ACEOF
19936 /* end confdefs.h. */
19937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19939 #define $ac_func innocuous_$ac_func
19941 /* System header to define __stub macros and hopefully few prototypes,
19942 which can conflict with char $ac_func (); below.
19943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19944 <limits.h> exists even on freestanding compilers. */
19947 # include <limits.h>
19949 # include <assert.h>
19954 /* Override any GCC internal prototype to avoid an error.
19955 Use char because int might match the return type of a GCC
19956 builtin and then its argument prototype would still apply. */
19961 /* The GNU C library defines this for functions which it implements
19962 to always fail with ENOSYS. Some functions are actually named
19963 something starting with __ and the normal name is an alias. */
19964 #if defined __stub_$ac_func || defined __stub___$ac_func
19971 return $ac_func ();
19976 rm -f conftest.$ac_objext conftest$ac_exeext
19977 if { (ac_try="$ac_link"
19978 case "(($ac_try" in
19979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19980 *) ac_try_echo=$ac_try;;
19982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19983 (eval "$ac_link") 2>conftest.er1
19985 grep -v '^ *+' conftest.er1 >conftest.err
19987 cat conftest.err >&5
19988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19989 (exit $ac_status); } &&
19990 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19991 { (case "(($ac_try" in
19992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19993 *) ac_try_echo=$ac_try;;
19995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19996 (eval "$ac_try") 2>&5
19998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19999 (exit $ac_status); }; } &&
20000 { ac_try='test -s conftest$ac_exeext'
20001 { (case "(($ac_try" in
20002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20003 *) ac_try_echo=$ac_try;;
20005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20006 (eval "$ac_try") 2>&5
20008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20009 (exit $ac_status); }; }; then
20010 eval "$as_ac_var=yes"
20012 echo "$as_me: failed program was:" >&5
20013 sed 's/^/| /' conftest.$ac_ext >&5
20015 eval "$as_ac_var=no"
20018 rm -f core conftest.err conftest.$ac_objext \
20019 conftest$ac_exeext conftest.$ac_ext
20021 ac_res=`eval echo '${'$as_ac_var'}'`
20022 { echo "$as_me:$LINENO: result: $ac_res" >&5
20023 echo "${ECHO_T}$ac_res" >&6; }
20024 if test `eval echo '${'$as_ac_var'}'` = yes; then
20025 cat >>confdefs.h <<_ACEOF
20026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20032 { echo "$as_me:$LINENO: checking for working mmap" >&5
20033 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
20034 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
20035 echo $ECHO_N "(cached) $ECHO_C" >&6
20037 if test "$cross_compiling" = yes; then
20038 ac_cv_func_mmap_fixed_mapped=no
20040 cat >conftest.$ac_ext <<_ACEOF
20043 cat confdefs.h >>conftest.$ac_ext
20044 cat >>conftest.$ac_ext <<_ACEOF
20045 /* end confdefs.h. */
20046 $ac_includes_default
20047 /* malloc might have been renamed as rpl_malloc. */
20050 /* Thanks to Mike Haertel and Jim Avera for this test.
20051 Here is a matrix of mmap possibilities:
20052 mmap private not fixed
20053 mmap private fixed at somewhere currently unmapped
20054 mmap private fixed at somewhere already mapped
20055 mmap shared not fixed
20056 mmap shared fixed at somewhere currently unmapped
20057 mmap shared fixed at somewhere already mapped
20058 For private mappings, we should verify that changes cannot be read()
20059 back from the file, nor mmap's back from the file at a different
20060 address. (There have been systems where private was not correctly
20061 implemented like the infamous i386 svr4.0, and systems where the
20062 VM page cache was not coherent with the file system buffer cache
20063 like early versions of FreeBSD and possibly contemporary NetBSD.)
20064 For shared mappings, we should conversely verify that changes get
20065 propagated back to all the places they're supposed to be.
20067 Grep wants private fixed already mapped.
20068 The main things grep needs to know about mmap are:
20069 * does it exist and is it safe to write into the mmap'd area
20070 * how to use it (BSD variants) */
20073 #include <sys/mman.h>
20075 #if !STDC_HEADERS && !HAVE_STDLIB_H
20079 /* This mess was copied from the GNU getpagesize.h. */
20080 #if !HAVE_GETPAGESIZE
20081 /* Assume that all systems that can run configure have sys/param.h. */
20082 # if !HAVE_SYS_PARAM_H
20083 # define HAVE_SYS_PARAM_H 1
20086 # ifdef _SC_PAGESIZE
20087 # define getpagesize() sysconf(_SC_PAGESIZE)
20088 # else /* no _SC_PAGESIZE */
20089 # if HAVE_SYS_PARAM_H
20090 # include <sys/param.h>
20091 # ifdef EXEC_PAGESIZE
20092 # define getpagesize() EXEC_PAGESIZE
20093 # else /* no EXEC_PAGESIZE */
20095 # define getpagesize() NBPG * CLSIZE
20098 # endif /* no CLSIZE */
20099 # else /* no NBPG */
20101 # define getpagesize() NBPC
20102 # else /* no NBPC */
20104 # define getpagesize() PAGESIZE
20105 # endif /* PAGESIZE */
20106 # endif /* no NBPC */
20107 # endif /* no NBPG */
20108 # endif /* no EXEC_PAGESIZE */
20109 # else /* no HAVE_SYS_PARAM_H */
20110 # define getpagesize() 8192 /* punt totally */
20111 # endif /* no HAVE_SYS_PARAM_H */
20112 # endif /* no _SC_PAGESIZE */
20114 #endif /* no HAVE_GETPAGESIZE */
20119 char *data, *data2, *data3;
20123 pagesize = getpagesize ();
20125 /* First, make a file with some known garbage in it. */
20126 data = (char *) malloc (pagesize);
20129 for (i = 0; i < pagesize; ++i)
20130 *(data + i) = rand ();
20132 fd = creat ("conftest.mmap", 0600);
20135 if (write (fd, data, pagesize) != pagesize)
20139 /* Next, try to mmap the file at a fixed address which already has
20140 something else allocated at it. If we can, also make sure that
20141 we see the same garbage. */
20142 fd = open ("conftest.mmap", O_RDWR);
20145 data2 = (char *) malloc (2 * pagesize);
20148 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
20149 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
20150 MAP_PRIVATE | MAP_FIXED, fd, 0L))
20152 for (i = 0; i < pagesize; ++i)
20153 if (*(data + i) != *(data2 + i))
20156 /* Finally, make sure that changes to the mapped area do not
20157 percolate back to the file as seen by read(). (This is a bug on
20158 some variants of i386 svr4.0.) */
20159 for (i = 0; i < pagesize; ++i)
20160 *(data2 + i) = *(data2 + i) + 1;
20161 data3 = (char *) malloc (pagesize);
20164 if (read (fd, data3, pagesize) != pagesize)
20166 for (i = 0; i < pagesize; ++i)
20167 if (*(data + i) != *(data3 + i))
20173 rm -f conftest$ac_exeext
20174 if { (ac_try="$ac_link"
20175 case "(($ac_try" in
20176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20177 *) ac_try_echo=$ac_try;;
20179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20180 (eval "$ac_link") 2>&5
20182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20183 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20184 { (case "(($ac_try" in
20185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20186 *) ac_try_echo=$ac_try;;
20188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20189 (eval "$ac_try") 2>&5
20191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20192 (exit $ac_status); }; }; then
20193 ac_cv_func_mmap_fixed_mapped=yes
20195 echo "$as_me: program exited with status $ac_status" >&5
20196 echo "$as_me: failed program was:" >&5
20197 sed 's/^/| /' conftest.$ac_ext >&5
20199 ( exit $ac_status )
20200 ac_cv_func_mmap_fixed_mapped=no
20202 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20207 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
20208 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
20209 if test $ac_cv_func_mmap_fixed_mapped = yes; then
20211 cat >>confdefs.h <<\_ACEOF
20212 #define HAVE_MMAP 1
20216 rm -f conftest.mmap
20218 { echo "$as_me:$LINENO: checking for mmap of files" >&5
20219 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6; }
20220 if test "${ac_cv_func_mmap_file+set}" = set; then
20221 echo $ECHO_N "(cached) $ECHO_C" >&6
20224 ac_cpp='$CPP $CPPFLAGS'
20225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20229 if test "$cross_compiling" = yes; then
20230 ac_cv_func_mmap_file=no
20232 cat >conftest.$ac_ext <<_ACEOF
20236 cat confdefs.h >>conftest.$ac_ext
20237 cat >>conftest.$ac_ext <<_ACEOF
20238 /* end confdefs.h. */
20240 #include <sys/types.h>
20241 #include <sys/mman.h>
20249 fd = creat ("foo",0777);
20250 fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0);
20252 return (fd != (int) MAP_FAILED);
20257 rm -f conftest$ac_exeext
20258 if { (ac_try="$ac_link"
20259 case "(($ac_try" in
20260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20261 *) ac_try_echo=$ac_try;;
20263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20264 (eval "$ac_link") 2>&5
20266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20267 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20268 { (case "(($ac_try" in
20269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20270 *) ac_try_echo=$ac_try;;
20272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20273 (eval "$ac_try") 2>&5
20275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20276 (exit $ac_status); }; }; then
20277 ac_cv_func_mmap_file=yes
20279 echo "$as_me: program exited with status $ac_status" >&5
20280 echo "$as_me: failed program was:" >&5
20281 sed 's/^/| /' conftest.$ac_ext >&5
20283 ( exit $ac_status )
20284 ac_cv_func_mmap_file=no
20286 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20291 ac_cpp='$CPP $CPPFLAGS'
20292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20298 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
20299 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6; }
20300 if test "$ac_cv_func_mmap_file" = yes; then
20302 cat >>confdefs.h <<\_ACEOF
20303 #define HAVE_MMAP_FILE
20310 { echo "$as_me:$LINENO: checking if /dev/zero is needed for mmap" >&5
20311 echo $ECHO_N "checking if /dev/zero is needed for mmap... $ECHO_C" >&6; }
20312 if test "${ac_cv_need_dev_zero_for_mmap+set}" = set; then
20313 echo $ECHO_N "(cached) $ECHO_C" >&6
20315 if test "$llvm_cv_os_type" = "Interix" ; then
20316 ac_cv_need_dev_zero_for_mmap=yes
20318 ac_cv_need_dev_zero_for_mmap=no
20322 { echo "$as_me:$LINENO: result: $ac_cv_need_dev_zero_for_mmap" >&5
20323 echo "${ECHO_T}$ac_cv_need_dev_zero_for_mmap" >&6; }
20324 if test "$ac_cv_need_dev_zero_for_mmap" = yes; then
20326 cat >>confdefs.h <<\_ACEOF
20327 #define NEED_DEV_ZERO_FOR_MMAP 1
20332 if test "$ac_cv_func_mmap_fixed_mapped" = "no"
20334 { echo "$as_me:$LINENO: WARNING: mmap() of a fixed address required but not supported" >&5
20335 echo "$as_me: WARNING: mmap() of a fixed address required but not supported" >&2;}
20337 if test "$ac_cv_func_mmap_file" = "no"
20339 { echo "$as_me:$LINENO: WARNING: mmap() of files required but not found" >&5
20340 echo "$as_me: WARNING: mmap() of files required but not found" >&2;}
20344 { echo "$as_me:$LINENO: checking for GCC atomic builtins" >&5
20345 echo $ECHO_N "checking for GCC atomic builtins... $ECHO_C" >&6; }
20347 ac_cpp='$CXXCPP $CPPFLAGS'
20348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20352 cat >conftest.$ac_ext <<_ACEOF
20355 cat confdefs.h >>conftest.$ac_ext
20356 cat >>conftest.$ac_ext <<_ACEOF
20357 /* end confdefs.h. */
20359 volatile unsigned long val = 1;
20360 __sync_synchronize();
20361 __sync_val_compare_and_swap(&val, 1, 0);
20362 __sync_add_and_fetch(&val, 1);
20363 __sync_sub_and_fetch(&val, 1);
20368 rm -f conftest.$ac_objext conftest$ac_exeext
20369 if { (ac_try="$ac_link"
20370 case "(($ac_try" in
20371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20372 *) ac_try_echo=$ac_try;;
20374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20375 (eval "$ac_link") 2>conftest.er1
20377 grep -v '^ *+' conftest.er1 >conftest.err
20379 cat conftest.err >&5
20380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381 (exit $ac_status); } &&
20382 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20383 { (case "(($ac_try" in
20384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20385 *) ac_try_echo=$ac_try;;
20387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20388 (eval "$ac_try") 2>&5
20390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20391 (exit $ac_status); }; } &&
20392 { ac_try='test -s conftest$ac_exeext'
20393 { (case "(($ac_try" in
20394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20395 *) ac_try_echo=$ac_try;;
20397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20398 (eval "$ac_try") 2>&5
20400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20401 (exit $ac_status); }; }; then
20403 ac_cpp='$CPP $CPPFLAGS'
20404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20408 { echo "$as_me:$LINENO: result: yes" >&5
20409 echo "${ECHO_T}yes" >&6; }
20411 cat >>confdefs.h <<\_ACEOF
20412 #define LLVM_HAS_ATOMICS 1
20416 echo "$as_me: failed program was:" >&5
20417 sed 's/^/| /' conftest.$ac_ext >&5
20419 { echo "$as_me:$LINENO: result: no" >&5
20420 echo "${ECHO_T}no" >&6; }
20422 cat >>confdefs.h <<\_ACEOF
20423 #define LLVM_HAS_ATOMICS 0
20426 { echo "$as_me:$LINENO: WARNING: LLVM will be built thread-unsafe because atomic builtins are missing" >&5
20427 echo "$as_me: WARNING: LLVM will be built thread-unsafe because atomic builtins are missing" >&2;}
20430 rm -f core conftest.err conftest.$ac_objext \
20431 conftest$ac_exeext conftest.$ac_ext
20434 if test "$llvm_cv_os_type" = "Linux" -a "$llvm_cv_target_arch" = "x86_64" ; then
20435 { echo "$as_me:$LINENO: checking for 32-bit userspace on 64-bit system" >&5
20436 echo $ECHO_N "checking for 32-bit userspace on 64-bit system... $ECHO_C" >&6; }
20437 if test "${llvm_cv_linux_mixed+set}" = set; then
20438 echo $ECHO_N "(cached) $ECHO_C" >&6
20441 ac_cpp='$CPP $CPPFLAGS'
20442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20446 cat >conftest.$ac_ext <<_ACEOF
20449 cat confdefs.h >>conftest.$ac_ext
20450 cat >>conftest.$ac_ext <<_ACEOF
20451 /* end confdefs.h. */
20453 error: Not x86-64 even if uname says so!
20464 rm -f conftest.$ac_objext
20465 if { (ac_try="$ac_compile"
20466 case "(($ac_try" in
20467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20468 *) ac_try_echo=$ac_try;;
20470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20471 (eval "$ac_compile") 2>conftest.er1
20473 grep -v '^ *+' conftest.er1 >conftest.err
20475 cat conftest.err >&5
20476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20477 (exit $ac_status); } &&
20478 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20479 { (case "(($ac_try" in
20480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20481 *) ac_try_echo=$ac_try;;
20483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20484 (eval "$ac_try") 2>&5
20486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20487 (exit $ac_status); }; } &&
20488 { ac_try='test -s conftest.$ac_objext'
20489 { (case "(($ac_try" in
20490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20491 *) ac_try_echo=$ac_try;;
20493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20494 (eval "$ac_try") 2>&5
20496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20497 (exit $ac_status); }; }; then
20498 llvm_cv_linux_mixed=no
20500 echo "$as_me: failed program was:" >&5
20501 sed 's/^/| /' conftest.$ac_ext >&5
20503 llvm_cv_linux_mixed=yes
20506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20508 ac_cpp='$CPP $CPPFLAGS'
20509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20515 { echo "$as_me:$LINENO: result: $llvm_cv_linux_mixed" >&5
20516 echo "${ECHO_T}$llvm_cv_linux_mixed" >&6; }
20518 if test "$llvm_cv_linux_mixed" = "yes"; then
20519 llvm_cv_target_arch="x86"
20525 for ac_func in __dso_handle
20527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20528 { echo "$as_me:$LINENO: checking for $ac_func" >&5
20529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20530 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20531 echo $ECHO_N "(cached) $ECHO_C" >&6
20533 cat >conftest.$ac_ext <<_ACEOF
20536 cat confdefs.h >>conftest.$ac_ext
20537 cat >>conftest.$ac_ext <<_ACEOF
20538 /* end confdefs.h. */
20539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20541 #define $ac_func innocuous_$ac_func
20543 /* System header to define __stub macros and hopefully few prototypes,
20544 which can conflict with char $ac_func (); below.
20545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20546 <limits.h> exists even on freestanding compilers. */
20549 # include <limits.h>
20551 # include <assert.h>
20556 /* Override any GCC internal prototype to avoid an error.
20557 Use char because int might match the return type of a GCC
20558 builtin and then its argument prototype would still apply. */
20563 /* The GNU C library defines this for functions which it implements
20564 to always fail with ENOSYS. Some functions are actually named
20565 something starting with __ and the normal name is an alias. */
20566 #if defined __stub_$ac_func || defined __stub___$ac_func
20573 return $ac_func ();
20578 rm -f conftest.$ac_objext conftest$ac_exeext
20579 if { (ac_try="$ac_link"
20580 case "(($ac_try" in
20581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20582 *) ac_try_echo=$ac_try;;
20584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20585 (eval "$ac_link") 2>conftest.er1
20587 grep -v '^ *+' conftest.er1 >conftest.err
20589 cat conftest.err >&5
20590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20591 (exit $ac_status); } &&
20592 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20593 { (case "(($ac_try" in
20594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20595 *) ac_try_echo=$ac_try;;
20597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20598 (eval "$ac_try") 2>&5
20600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20601 (exit $ac_status); }; } &&
20602 { ac_try='test -s conftest$ac_exeext'
20603 { (case "(($ac_try" in
20604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20605 *) ac_try_echo=$ac_try;;
20607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20608 (eval "$ac_try") 2>&5
20610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20611 (exit $ac_status); }; }; then
20612 eval "$as_ac_var=yes"
20614 echo "$as_me: failed program was:" >&5
20615 sed 's/^/| /' conftest.$ac_ext >&5
20617 eval "$as_ac_var=no"
20620 rm -f core conftest.err conftest.$ac_objext \
20621 conftest$ac_exeext conftest.$ac_ext
20623 ac_res=`eval echo '${'$as_ac_var'}'`
20624 { echo "$as_me:$LINENO: result: $ac_res" >&5
20625 echo "${ECHO_T}$ac_res" >&6; }
20626 if test `eval echo '${'$as_ac_var'}'` = yes; then
20627 cat >>confdefs.h <<_ACEOF
20628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20635 SHLIBEXT=$libltdl_cv_shlibext
20638 SHLIBPATH_VAR=$libltdl_cv_shlibpath_var
20641 # Translate the various configuration directories and other basic
20642 # information into substitutions that will end up in Makefile.config.in
20643 # that these configured values can be used by the makefiles
20644 if test "${prefix}" = "NONE" ; then
20645 prefix="/usr/local"
20647 eval LLVM_PREFIX="${prefix}";
20648 eval LLVM_BINDIR="${prefix}/bin";
20649 eval LLVM_LIBDIR="${prefix}/lib";
20650 eval LLVM_DATADIR="${prefix}/share/llvm";
20651 eval LLVM_DOCSDIR="${prefix}/share/doc/llvm";
20652 eval LLVM_ETCDIR="${prefix}/etc/llvm";
20653 eval LLVM_INCLUDEDIR="${prefix}/include";
20654 eval LLVM_INFODIR="${prefix}/info";
20655 eval LLVM_MANDIR="${prefix}/man";
20656 LLVM_CONFIGTIME=`date`
20668 # Place the various directores into the config.h file as #defines so that we
20669 # can know about the installation paths within LLVM.
20671 cat >>confdefs.h <<_ACEOF
20672 #define LLVM_PREFIX "$LLVM_PREFIX"
20676 cat >>confdefs.h <<_ACEOF
20677 #define LLVM_BINDIR "$LLVM_BINDIR"
20681 cat >>confdefs.h <<_ACEOF
20682 #define LLVM_LIBDIR "$LLVM_LIBDIR"
20686 cat >>confdefs.h <<_ACEOF
20687 #define LLVM_DATADIR "$LLVM_DATADIR"
20691 cat >>confdefs.h <<_ACEOF
20692 #define LLVM_DOCSDIR "$LLVM_DOCSDIR"
20696 cat >>confdefs.h <<_ACEOF
20697 #define LLVM_ETCDIR "$LLVM_ETCDIR"
20701 cat >>confdefs.h <<_ACEOF
20702 #define LLVM_INCLUDEDIR "$LLVM_INCLUDEDIR"
20706 cat >>confdefs.h <<_ACEOF
20707 #define LLVM_INFODIR "$LLVM_INFODIR"
20711 cat >>confdefs.h <<_ACEOF
20712 #define LLVM_MANDIR "$LLVM_MANDIR"
20716 cat >>confdefs.h <<_ACEOF
20717 #define LLVM_CONFIGTIME "$LLVM_CONFIGTIME"
20721 cat >>confdefs.h <<_ACEOF
20722 #define LLVM_DEFAULT_TARGET_TRIPLE "$target"
20726 # Determine which bindings to build.
20727 if test "$BINDINGS_TO_BUILD" = auto ; then
20728 BINDINGS_TO_BUILD=""
20729 if test "x$OCAMLC" != x -a "x$OCAMLDEP" != x ; then
20730 BINDINGS_TO_BUILD="ocaml $BINDINGS_TO_BUILD"
20733 BINDINGS_TO_BUILD=$BINDINGS_TO_BUILD
20736 # This isn't really configurey, but it avoids having to repeat the list in
20741 # Do any work necessary to ensure that bindings have what they need.
20742 binding_prereqs_failed=0
20743 for a_binding in $BINDINGS_TO_BUILD ; do
20744 case "$a_binding" in
20746 if test "x$OCAMLC" = x ; then
20747 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamlc not found. Try configure OCAMLC=/path/to/ocamlc" >&5
20748 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamlc not found. Try configure OCAMLC=/path/to/ocamlc" >&2;}
20749 binding_prereqs_failed=1
20751 if test "x$OCAMLDEP" = x ; then
20752 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamldep not found. Try configure OCAMLDEP=/path/to/ocamldep" >&5
20753 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamldep not found. Try configure OCAMLDEP=/path/to/ocamldep" >&2;}
20754 binding_prereqs_failed=1
20756 if test "x$OCAMLOPT" = x ; then
20757 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamlopt not found. Try configure OCAMLOPT=/path/to/ocamlopt" >&5
20758 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamlopt not found. Try configure OCAMLOPT=/path/to/ocamlopt" >&2;}
20760 if test "x$with_ocaml_libdir" != xauto ; then
20761 OCAML_LIBDIR=$with_ocaml_libdir
20764 ocaml_stdlib="`"$OCAMLC" -where`"
20765 if test "$LLVM_PREFIX" '<' "$ocaml_stdlib" -a "$ocaml_stdlib" '<' "$LLVM_PREFIX~"
20767 # ocaml stdlib is beneath our prefix; use stdlib
20768 OCAML_LIBDIR=$ocaml_stdlib
20771 # ocaml stdlib is outside our prefix; use libdir/ocaml
20772 OCAML_LIBDIR=$LLVM_LIBDIR/ocaml
20779 if test "$binding_prereqs_failed" = 1 ; then
20780 { { echo "$as_me:$LINENO: error: Prequisites for bindings not satisfied. Fix them or use configure --disable-bindings." >&5
20781 echo "$as_me: error: Prequisites for bindings not satisfied. Fix them or use configure --disable-bindings." >&2;}
20782 { (exit 1); exit 1; }; }
20785 { echo "$as_me:$LINENO: checking for compiler -fvisibility-inlines-hidden option" >&5
20786 echo $ECHO_N "checking for compiler -fvisibility-inlines-hidden option... $ECHO_C" >&6; }
20787 if test "${llvm_cv_cxx_visibility_inlines_hidden+set}" = set; then
20788 echo $ECHO_N "(cached) $ECHO_C" >&6
20791 ac_cpp='$CXXCPP $CPPFLAGS'
20792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20796 oldcxxflags="$CXXFLAGS"
20797 CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden"
20798 cat >conftest.$ac_ext <<_ACEOF
20801 cat confdefs.h >>conftest.$ac_ext
20802 cat >>conftest.$ac_ext <<_ACEOF
20803 /* end confdefs.h. */
20813 rm -f conftest.$ac_objext
20814 if { (ac_try="$ac_compile"
20815 case "(($ac_try" in
20816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20817 *) ac_try_echo=$ac_try;;
20819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20820 (eval "$ac_compile") 2>conftest.er1
20822 grep -v '^ *+' conftest.er1 >conftest.err
20824 cat conftest.err >&5
20825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20826 (exit $ac_status); } &&
20827 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20828 { (case "(($ac_try" in
20829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20830 *) ac_try_echo=$ac_try;;
20832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20833 (eval "$ac_try") 2>&5
20835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20836 (exit $ac_status); }; } &&
20837 { ac_try='test -s conftest.$ac_objext'
20838 { (case "(($ac_try" in
20839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20840 *) ac_try_echo=$ac_try;;
20842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20843 (eval "$ac_try") 2>&5
20845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20846 (exit $ac_status); }; }; then
20847 llvm_cv_cxx_visibility_inlines_hidden=yes
20849 echo "$as_me: failed program was:" >&5
20850 sed 's/^/| /' conftest.$ac_ext >&5
20852 llvm_cv_cxx_visibility_inlines_hidden=no
20855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20856 CXXFLAGS="$oldcxxflags"
20858 ac_cpp='$CPP $CPPFLAGS'
20859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20865 { echo "$as_me:$LINENO: result: $llvm_cv_cxx_visibility_inlines_hidden" >&5
20866 echo "${ECHO_T}$llvm_cv_cxx_visibility_inlines_hidden" >&6; }
20867 if test "$llvm_cv_cxx_visibility_inlines_hidden" = yes ; then
20868 ENABLE_VISIBILITY_INLINES_HIDDEN=1
20871 ENABLE_VISIBILITY_INLINES_HIDDEN=0
20876 if test "$llvm_cv_link_use_r" = "yes" ; then
20883 if test "$llvm_cv_link_use_export_dynamic" = "yes" ; then
20884 RDYNAMIC="-Wl,-export-dynamic"
20892 ac_config_files="$ac_config_files Makefile.common"
20894 ac_config_files="$ac_config_files Makefile.llvm.config"
20897 ac_config_commands="$ac_config_commands Makefile"
20900 ac_config_commands="$ac_config_commands lib/Makefile"
20903 ac_config_commands="$ac_config_commands lib/sample/Makefile"
20906 ac_config_commands="$ac_config_commands tools/Makefile"
20909 ac_config_commands="$ac_config_commands tools/sample/Makefile"
20913 cat >confcache <<\_ACEOF
20914 # This file is a shell script that caches the results of configure
20915 # tests run on this system so they can be shared between configure
20916 # scripts and configure runs, see configure's option --config-cache.
20917 # It is not useful on other systems. If it contains results you don't
20918 # want to keep, you may remove or edit it.
20920 # config.status only pays attention to the cache file if you give it
20921 # the --recheck option to rerun configure.
20923 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20924 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20925 # following values.
20929 # The following way of writing the cache mishandles newlines in values,
20930 # but we know of no workaround that is simple, portable, and efficient.
20931 # So, we kill variables containing newlines.
20932 # Ultrix sh set writes to stderr and can't be redirected directly,
20933 # and sets the high bit in the cache file unless we assign to the vars.
20935 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20936 eval ac_val=\$$ac_var
20940 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20941 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20944 _ | IFS | as_nl) ;; #(
20945 *) $as_unset $ac_var ;;
20951 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20952 *${as_nl}ac_space=\ *)
20953 # `set' does not quote correctly, so add quotes (double-quote
20954 # substitution turns \\\\ into \\, and sed turns \\ into \).
20957 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20960 # `set' quotes correctly as required by POSIX, so do not add quotes.
20961 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20970 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20972 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20974 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20975 if test -w "$cache_file"; then
20976 test "x$cache_file" != "x/dev/null" &&
20977 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20978 echo "$as_me: updating cache $cache_file" >&6;}
20979 cat confcache >$cache_file
20981 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20982 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20987 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20988 # Let make expand exec_prefix.
20989 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20991 # Transform confdefs.h into DEFS.
20992 # Protect against shell expansion while executing Makefile rules.
20993 # Protect against Makefile macro expansion.
20995 # If the first sed substitution is executed (which looks for macros that
20996 # take arguments), then branch to the quote section. Otherwise,
20997 # look for a macro that doesn't take arguments.
21001 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
21003 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
21007 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
21020 DEFS=`sed -n "$ac_script" confdefs.h`
21025 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21026 # 1. Remove the extension, and $U if already installed.
21027 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21028 ac_i=`echo "$ac_i" | sed "$ac_script"`
21029 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21030 # will be set to the directory where LIBOBJS objects are built.
21031 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21032 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21034 LIBOBJS=$ac_libobjs
21036 LTLIBOBJS=$ac_ltlibobjs
21039 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
21040 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
21041 Usually this means the macro was only invoked conditionally." >&5
21042 echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
21043 Usually this means the macro was only invoked conditionally." >&2;}
21044 { (exit 1); exit 1; }; }
21046 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
21047 { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
21048 Usually this means the macro was only invoked conditionally." >&5
21049 echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
21050 Usually this means the macro was only invoked conditionally." >&2;}
21051 { (exit 1); exit 1; }; }
21054 : ${CONFIG_STATUS=./config.status}
21055 ac_clean_files_save=$ac_clean_files
21056 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21057 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21058 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21059 cat >$CONFIG_STATUS <<_ACEOF
21061 # Generated by $as_me.
21062 # Run this file to recreate the current configuration.
21063 # Compiler output produced by configure, useful for debugging
21064 # configure, is in config.log if it exists.
21067 ac_cs_recheck=false
21069 SHELL=\${CONFIG_SHELL-$SHELL}
21072 cat >>$CONFIG_STATUS <<\_ACEOF
21073 ## --------------------- ##
21074 ## M4sh Initialization. ##
21075 ## --------------------- ##
21077 # Be Bourne compatible
21078 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21081 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21082 # is contrary to our usage. Disable this feature.
21083 alias -g '${1+"$@"}'='"$@"'
21084 setopt NO_GLOB_SUBST
21086 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
21088 BIN_SH=xpg4; export BIN_SH # for Tru64
21089 DUALCASE=1; export DUALCASE # for MKS sh
21093 # Avoid depending upon Character Ranges.
21094 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21095 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21096 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21097 as_cr_digits='0123456789'
21098 as_cr_alnum=$as_cr_Letters$as_cr_digits
21100 # The user is always right.
21101 if test "${PATH_SEPARATOR+set}" != set; then
21102 echo "#! /bin/sh" >conf$$.sh
21103 echo "exit 0" >>conf$$.sh
21105 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21113 # Support unset when possible.
21114 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21122 # We need space, tab and new line, in precisely that order. Quoting is
21123 # there to prevent editors from complaining about space-tab.
21124 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21125 # splitting by setting IFS to empty value.)
21130 # Find who we are. Look in the path if we contain no directory separator.
21132 *[\\/]* ) as_myself=$0 ;;
21133 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21134 for as_dir in $PATH
21137 test -z "$as_dir" && as_dir=.
21138 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21144 # We did not find ourselves, most probably we were run as `sh COMMAND'
21145 # in which case we are not to be found in the path.
21146 if test "x$as_myself" = x; then
21149 if test ! -f "$as_myself"; then
21150 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21151 { (exit 1); exit 1; }
21154 # Work around bugs in pre-3.0 UWIN ksh.
21155 for as_var in ENV MAIL MAILPATH
21156 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21164 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21165 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21166 LC_TELEPHONE LC_TIME
21168 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21169 eval $as_var=C; export $as_var
21171 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21175 # Required to use basename.
21176 if expr a : '\(a\)' >/dev/null 2>&1 &&
21177 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21183 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21184 as_basename=basename
21190 # Name of the executable.
21191 as_me=`$as_basename -- "$0" ||
21192 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21193 X"$0" : 'X\(//\)$' \| \
21194 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21196 sed '/^.*\/\([^/][^/]*\)\/*$/{
21215 as_lineno_1=$LINENO
21216 as_lineno_2=$LINENO
21217 test "x$as_lineno_1" != "x$as_lineno_2" &&
21218 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21220 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21221 # uniformly replaced by the line number. The first 'sed' inserts a
21222 # line-number line after each line using $LINENO; the second 'sed'
21223 # does the real work. The second script uses 'N' to pair each
21224 # line-number line with the line containing $LINENO, and appends
21225 # trailing '-' during substitution so that $LINENO is not a special
21226 # case at line end.
21227 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21228 # scripts with optimization help from Paolo Bonzini. Blame Lee
21229 # E. McMahon (1931-1989) for sed's syntax. :-)
21241 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21244 ' >$as_me.lineno &&
21245 chmod +x "$as_me.lineno" ||
21246 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21247 { (exit 1); exit 1; }; }
21249 # Don't try to exec as it changes $[0], causing all sort of problems
21250 # (the dirname of $[0] is not the place where we might find the
21251 # original and so on. Autoconf is especially sensitive to this).
21252 . "./$as_me.lineno"
21253 # Exit status is that of the last command.
21258 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21264 ECHO_C= ECHO_N= ECHO_T=
21265 case `echo -n x` in
21267 case `echo 'x\c'` in
21268 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21275 if expr a : '\(a\)' >/dev/null 2>&1 &&
21276 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21282 rm -f conf$$ conf$$.exe conf$$.file
21283 if test -d conf$$.dir; then
21284 rm -f conf$$.dir/conf$$.file
21290 if ln -s conf$$.file conf$$ 2>/dev/null; then
21292 # ... but there are two gotchas:
21293 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21294 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21295 # In both cases, we have to default to `cp -p'.
21296 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21298 elif ln conf$$.file conf$$ 2>/dev/null; then
21303 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21304 rmdir conf$$.dir 2>/dev/null
21306 if mkdir -p . 2>/dev/null; then
21309 test -d ./-p && rmdir ./-p
21313 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
21314 # systems may use methods other than mode bits to determine executability.
21315 cat >conf$$.file <<_ASEOF
21319 chmod +x conf$$.file
21320 if test -x conf$$.file >/dev/null 2>&1; then
21321 as_executable_p="test -x"
21327 # Sed expression to map a string onto a valid CPP name.
21328 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21330 # Sed expression to map a string onto a valid variable name.
21331 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21336 # Save the log message, to keep $[0] and so on meaningful, and to
21337 # report actual input values of CONFIG_FILES etc. instead of their
21338 # values after options handling.
21340 This file was extended by [SAMPLE] $as_me [x.xx], which was
21341 generated by GNU Autoconf 2.60. Invocation command line was
21343 CONFIG_FILES = $CONFIG_FILES
21344 CONFIG_HEADERS = $CONFIG_HEADERS
21345 CONFIG_LINKS = $CONFIG_LINKS
21346 CONFIG_COMMANDS = $CONFIG_COMMANDS
21349 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21354 cat >>$CONFIG_STATUS <<_ACEOF
21355 # Files that config.status was made for.
21356 config_files="$ac_config_files"
21357 config_commands="$ac_config_commands"
21361 cat >>$CONFIG_STATUS <<\_ACEOF
21363 \`$as_me' instantiates files from templates according to the
21364 current configuration.
21366 Usage: $0 [OPTIONS] [FILE]...
21368 -h, --help print this help, then exit
21369 -V, --version print version number, then exit
21370 -q, --quiet do not print progress messages
21371 -d, --debug don't remove temporary files
21372 --recheck update $as_me by reconfiguring in the same conditions
21373 --file=FILE[:TEMPLATE]
21374 instantiate the configuration file FILE
21376 Configuration files:
21379 Configuration commands:
21382 Report bugs to <bug-autoconf@gnu.org>."
21385 cat >>$CONFIG_STATUS <<_ACEOF
21387 [SAMPLE] config.status [x.xx]
21388 configured by $0, generated by GNU Autoconf 2.60,
21389 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21391 Copyright (C) 2006 Free Software Foundation, Inc.
21392 This config.status script is free software; the Free Software Foundation
21393 gives unlimited permission to copy, distribute and modify it."
21400 cat >>$CONFIG_STATUS <<\_ACEOF
21401 # If no file are specified by the user, then we need to provide default
21402 # value. By we need to know if files were specified by the user.
21408 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21409 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21420 # Handling of the options.
21421 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21423 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21424 echo "$ac_cs_version"; exit ;;
21425 --debug | --debu | --deb | --de | --d | -d )
21427 --file | --fil | --fi | --f )
21429 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21430 ac_need_defaults=false;;
21431 --he | --h | --help | --hel | -h )
21432 echo "$ac_cs_usage"; exit ;;
21433 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21434 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21437 # This is an error.
21438 -*) { echo "$as_me: error: unrecognized option: $1
21439 Try \`$0 --help' for more information." >&2
21440 { (exit 1); exit 1; }; } ;;
21442 *) ac_config_targets="$ac_config_targets $1"
21443 ac_need_defaults=false ;;
21449 ac_configure_extra_args=
21451 if $ac_cs_silent; then
21453 ac_configure_extra_args="$ac_configure_extra_args --silent"
21457 cat >>$CONFIG_STATUS <<_ACEOF
21458 if \$ac_cs_recheck; then
21459 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21460 CONFIG_SHELL=$SHELL
21461 export CONFIG_SHELL
21462 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21466 cat >>$CONFIG_STATUS <<\_ACEOF
21470 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21471 ## Running $as_me. ##
21477 cat >>$CONFIG_STATUS <<_ACEOF
21481 llvm_src="${LLVM_SRC}"
21485 cat >>$CONFIG_STATUS <<\_ACEOF
21487 # Handling of arguments.
21488 for ac_config_target in $ac_config_targets
21490 case $ac_config_target in
21491 "setup") CONFIG_COMMANDS="$CONFIG_COMMANDS setup" ;;
21492 "Makefile.common") CONFIG_FILES="$CONFIG_FILES Makefile.common" ;;
21493 "Makefile.llvm.config") CONFIG_FILES="$CONFIG_FILES Makefile.llvm.config" ;;
21494 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21495 "lib/Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
21496 "lib/sample/Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS lib/sample/Makefile" ;;
21497 "tools/Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
21498 "tools/sample/Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/sample/Makefile" ;;
21500 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21501 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21502 { (exit 1); exit 1; }; };;
21507 # If the user did not use the arguments to specify the items to instantiate,
21508 # then the envvar interface is used. Set only those that are not.
21509 # We use the long form for the default assignment because of an extremely
21510 # bizarre bug on SunOS 4.1.3.
21511 if $ac_need_defaults; then
21512 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21513 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21516 # Have a temporary directory for convenience. Make it in the build tree
21517 # simply because there is no reason against having it here, and in addition,
21518 # creating and moving files from /tmp can sometimes cause problems.
21519 # Hook for its removal unless debugging.
21520 # Note that there is a small window in which the directory will not be cleaned:
21521 # after its creation but before its name has been assigned to `$tmp'.
21525 trap 'exit_status=$?
21526 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21528 trap '{ (exit 1); exit 1; }' 1 2 13 15
21530 # Create a (secure) tmp directory for tmp files.
21533 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21534 test -n "$tmp" && test -d "$tmp"
21537 tmp=./conf$$-$RANDOM
21538 (umask 077 && mkdir "$tmp")
21541 echo "$me: cannot create a temporary directory in ." >&2
21542 { (exit 1); exit 1; }
21546 # Set up the sed scripts for CONFIG_FILES section.
21549 # No need to generate the scripts if there are no CONFIG_FILES.
21550 # This happens for instance when ./config.status config.h
21551 if test -n "$CONFIG_FILES"; then
21558 for ac_last_try in false false false false false :; do
21559 cat >conf$$subs.sed <<_ACEOF
21560 SHELL!$SHELL$ac_delim
21561 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21562 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21563 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21564 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21565 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21566 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21567 exec_prefix!$exec_prefix$ac_delim
21568 prefix!$prefix$ac_delim
21569 program_transform_name!$program_transform_name$ac_delim
21570 bindir!$bindir$ac_delim
21571 sbindir!$sbindir$ac_delim
21572 libexecdir!$libexecdir$ac_delim
21573 datarootdir!$datarootdir$ac_delim
21574 datadir!$datadir$ac_delim
21575 sysconfdir!$sysconfdir$ac_delim
21576 sharedstatedir!$sharedstatedir$ac_delim
21577 localstatedir!$localstatedir$ac_delim
21578 includedir!$includedir$ac_delim
21579 oldincludedir!$oldincludedir$ac_delim
21580 docdir!$docdir$ac_delim
21581 infodir!$infodir$ac_delim
21582 htmldir!$htmldir$ac_delim
21583 dvidir!$dvidir$ac_delim
21584 pdfdir!$pdfdir$ac_delim
21585 psdir!$psdir$ac_delim
21586 libdir!$libdir$ac_delim
21587 localedir!$localedir$ac_delim
21588 mandir!$mandir$ac_delim
21589 DEFS!$DEFS$ac_delim
21590 ECHO_C!$ECHO_C$ac_delim
21591 ECHO_N!$ECHO_N$ac_delim
21592 ECHO_T!$ECHO_T$ac_delim
21593 LIBS!$LIBS$ac_delim
21594 build_alias!$build_alias$ac_delim
21595 host_alias!$host_alias$ac_delim
21596 target_alias!$target_alias$ac_delim
21597 LLVM_SRC!$LLVM_SRC$ac_delim
21598 LLVM_OBJ!$LLVM_OBJ$ac_delim
21599 LLVM_VERSION!$LLVM_VERSION$ac_delim
21601 CFLAGS!$CFLAGS$ac_delim
21602 LDFLAGS!$LDFLAGS$ac_delim
21603 CPPFLAGS!$CPPFLAGS$ac_delim
21604 ac_ct_CC!$ac_ct_CC$ac_delim
21605 EXEEXT!$EXEEXT$ac_delim
21606 OBJEXT!$OBJEXT$ac_delim
21608 CXXFLAGS!$CXXFLAGS$ac_delim
21609 ac_ct_CXX!$ac_ct_CXX$ac_delim
21611 ENABLE_POLLY!$ENABLE_POLLY$ac_delim
21612 LLVM_HAS_POLLY!$LLVM_HAS_POLLY$ac_delim
21613 subdirs!$subdirs$ac_delim
21614 build!$build$ac_delim
21615 build_cpu!$build_cpu$ac_delim
21616 build_vendor!$build_vendor$ac_delim
21617 build_os!$build_os$ac_delim
21618 host!$host$ac_delim
21619 host_cpu!$host_cpu$ac_delim
21620 host_vendor!$host_vendor$ac_delim
21621 host_os!$host_os$ac_delim
21622 target!$target$ac_delim
21623 target_cpu!$target_cpu$ac_delim
21624 target_vendor!$target_vendor$ac_delim
21625 target_os!$target_os$ac_delim
21627 HOST_OS!$HOST_OS$ac_delim
21628 TARGET_OS!$TARGET_OS$ac_delim
21629 LINKALL!$LINKALL$ac_delim
21630 NOLINKALL!$NOLINKALL$ac_delim
21631 LLVM_ON_UNIX!$LLVM_ON_UNIX$ac_delim
21632 LLVM_ON_WIN32!$LLVM_ON_WIN32$ac_delim
21633 ARCH!$ARCH$ac_delim
21634 ENDIAN!$ENDIAN$ac_delim
21635 GREP!$GREP$ac_delim
21636 EGREP!$EGREP$ac_delim
21637 LLVM_CROSS_COMPILING!$LLVM_CROSS_COMPILING$ac_delim
21638 BUILD_CC!$BUILD_CC$ac_delim
21639 BUILD_EXEEXT!$BUILD_EXEEXT$ac_delim
21640 BUILD_CXX!$BUILD_CXX$ac_delim
21641 CVSBUILD!$CVSBUILD$ac_delim
21642 ENABLE_LIBCPP!$ENABLE_LIBCPP$ac_delim
21643 ENABLE_OPTIMIZED!$ENABLE_OPTIMIZED$ac_delim
21644 ENABLE_PROFILING!$ENABLE_PROFILING$ac_delim
21645 DISABLE_ASSERTIONS!$DISABLE_ASSERTIONS$ac_delim
21646 ENABLE_EXPENSIVE_CHECKS!$ENABLE_EXPENSIVE_CHECKS$ac_delim
21647 EXPENSIVE_CHECKS!$EXPENSIVE_CHECKS$ac_delim
21648 DEBUG_RUNTIME!$DEBUG_RUNTIME$ac_delim
21649 DEBUG_SYMBOLS!$DEBUG_SYMBOLS$ac_delim
21651 TARGET_HAS_JIT!$TARGET_HAS_JIT$ac_delim
21652 ENABLE_DOCS!$ENABLE_DOCS$ac_delim
21653 ENABLE_DOXYGEN!$ENABLE_DOXYGEN$ac_delim
21654 ENABLE_THREADS!$ENABLE_THREADS$ac_delim
21655 ENABLE_PTHREADS!$ENABLE_PTHREADS$ac_delim
21656 ENABLE_PIC!$ENABLE_PIC$ac_delim
21659 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
21661 elif $ac_last_try; then
21662 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21663 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21664 { (exit 1); exit 1; }; }
21666 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21670 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21671 if test -n "$ac_eof"; then
21672 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21673 ac_eof=`expr $ac_eof + 1`
21676 cat >>$CONFIG_STATUS <<_ACEOF
21677 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21678 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21681 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21682 s/^/s,@/; s/!/@,|#_!!_#|/
21685 s/'"$ac_delim"'$/,g/; t
21687 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21688 ' >>$CONFIG_STATUS <conf$$subs.sed
21689 rm -f conf$$subs.sed
21690 cat >>$CONFIG_STATUS <<_ACEOF
21696 for ac_last_try in false false false false false :; do
21697 cat >conf$$subs.sed <<_ACEOF
21698 ENABLE_SHARED!$ENABLE_SHARED$ac_delim
21699 ENABLE_EMBED_STDCXX!$ENABLE_EMBED_STDCXX$ac_delim
21700 ENABLE_TIMESTAMPS!$ENABLE_TIMESTAMPS$ac_delim
21701 TARGETS_TO_BUILD!$TARGETS_TO_BUILD$ac_delim
21702 LLVM_ENUM_TARGETS!$LLVM_ENUM_TARGETS$ac_delim
21703 LLVM_ENUM_ASM_PRINTERS!$LLVM_ENUM_ASM_PRINTERS$ac_delim
21704 LLVM_ENUM_ASM_PARSERS!$LLVM_ENUM_ASM_PARSERS$ac_delim
21705 LLVM_ENUM_DISASSEMBLERS!$LLVM_ENUM_DISASSEMBLERS$ac_delim
21706 OPTIMIZE_OPTION!$OPTIMIZE_OPTION$ac_delim
21707 EXTRA_OPTIONS!$EXTRA_OPTIONS$ac_delim
21708 EXTRA_LD_OPTIONS!$EXTRA_LD_OPTIONS$ac_delim
21709 BINUTILS_INCDIR!$BINUTILS_INCDIR$ac_delim
21711 ifGNUmake!$ifGNUmake$ac_delim
21712 LN_S!$LN_S$ac_delim
21715 DATE!$DATE$ac_delim
21716 FIND!$FIND$ac_delim
21717 MKDIR!$MKDIR$ac_delim
21719 RANLIB!$RANLIB$ac_delim
21724 BINPWD!$BINPWD$ac_delim
21725 GRAPHVIZ!$GRAPHVIZ$ac_delim
21728 NEATO!$NEATO$ac_delim
21729 TWOPI!$TWOPI$ac_delim
21730 CIRCO!$CIRCO$ac_delim
21732 DOTTY!$DOTTY$ac_delim
21733 XDOT_PY!$XDOT_PY$ac_delim
21734 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21735 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21736 INSTALL_DATA!$INSTALL_DATA$ac_delim
21737 BZIP2!$BZIP2$ac_delim
21739 DOXYGEN!$DOXYGEN$ac_delim
21740 GROFF!$GROFF$ac_delim
21741 GZIPBIN!$GZIPBIN$ac_delim
21742 POD2HTML!$POD2HTML$ac_delim
21743 POD2MAN!$POD2MAN$ac_delim
21744 PDFROFF!$PDFROFF$ac_delim
21745 RUNTEST!$RUNTEST$ac_delim
21746 TCLSH!$TCLSH$ac_delim
21748 OCAMLC!$OCAMLC$ac_delim
21749 OCAMLOPT!$OCAMLOPT$ac_delim
21750 OCAMLDEP!$OCAMLDEP$ac_delim
21751 OCAMLDOC!$OCAMLDOC$ac_delim
21753 HAVE_LINK_VERSION_SCRIPT!$HAVE_LINK_VERSION_SCRIPT$ac_delim
21754 INSTALL_LTDL_TRUE!$INSTALL_LTDL_TRUE$ac_delim
21755 INSTALL_LTDL_FALSE!$INSTALL_LTDL_FALSE$ac_delim
21756 CONVENIENCE_LTDL_TRUE!$CONVENIENCE_LTDL_TRUE$ac_delim
21757 CONVENIENCE_LTDL_FALSE!$CONVENIENCE_LTDL_FALSE$ac_delim
21758 LIBADD_DL!$LIBADD_DL$ac_delim
21759 NO_VARIADIC_MACROS!$NO_VARIADIC_MACROS$ac_delim
21760 NO_MISSING_FIELD_INITIALIZERS!$NO_MISSING_FIELD_INITIALIZERS$ac_delim
21761 COVERED_SWITCH_DEFAULT!$COVERED_SWITCH_DEFAULT$ac_delim
21762 USE_UDIS86!$USE_UDIS86$ac_delim
21763 USE_OPROFILE!$USE_OPROFILE$ac_delim
21764 HAVE_PTHREAD!$HAVE_PTHREAD$ac_delim
21765 HUGE_VAL_SANITY!$HUGE_VAL_SANITY$ac_delim
21766 MMAP_FILE!$MMAP_FILE$ac_delim
21767 SHLIBEXT!$SHLIBEXT$ac_delim
21768 SHLIBPATH_VAR!$SHLIBPATH_VAR$ac_delim
21769 LLVM_PREFIX!$LLVM_PREFIX$ac_delim
21770 LLVM_BINDIR!$LLVM_BINDIR$ac_delim
21771 LLVM_LIBDIR!$LLVM_LIBDIR$ac_delim
21772 LLVM_DATADIR!$LLVM_DATADIR$ac_delim
21773 LLVM_DOCSDIR!$LLVM_DOCSDIR$ac_delim
21774 LLVM_ETCDIR!$LLVM_ETCDIR$ac_delim
21775 LLVM_INCLUDEDIR!$LLVM_INCLUDEDIR$ac_delim
21776 LLVM_INFODIR!$LLVM_INFODIR$ac_delim
21777 LLVM_MANDIR!$LLVM_MANDIR$ac_delim
21778 LLVM_CONFIGTIME!$LLVM_CONFIGTIME$ac_delim
21779 BINDINGS_TO_BUILD!$BINDINGS_TO_BUILD$ac_delim
21780 ALL_BINDINGS!$ALL_BINDINGS$ac_delim
21781 OCAML_LIBDIR!$OCAML_LIBDIR$ac_delim
21782 ENABLE_VISIBILITY_INLINES_HIDDEN!$ENABLE_VISIBILITY_INLINES_HIDDEN$ac_delim
21783 RPATH!$RPATH$ac_delim
21784 RDYNAMIC!$RDYNAMIC$ac_delim
21785 LIBOBJS!$LIBOBJS$ac_delim
21786 LTLIBOBJS!$LTLIBOBJS$ac_delim
21789 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 89; then
21791 elif $ac_last_try; then
21792 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21793 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21794 { (exit 1); exit 1; }; }
21796 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21800 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21801 if test -n "$ac_eof"; then
21802 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21803 ac_eof=`expr $ac_eof + 1`
21806 cat >>$CONFIG_STATUS <<_ACEOF
21807 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
21808 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
21811 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21812 s/^/s,@/; s/!/@,|#_!!_#|/
21815 s/'"$ac_delim"'$/,g/; t
21817 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21818 ' >>$CONFIG_STATUS <conf$$subs.sed
21819 rm -f conf$$subs.sed
21820 cat >>$CONFIG_STATUS <<_ACEOF
21827 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21828 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21829 # trailing colons and then remove the whole line if VPATH becomes empty
21830 # (actually we leave an empty line to preserve line numbers).
21831 if test "x$srcdir" = x.; then
21832 ac_vpsub='/^[ ]*VPATH[ ]*=/{
21833 s/:*\$(srcdir):*/:/
21834 s/:*\${srcdir}:*/:/
21836 s/^\([^=]*=[ ]*\):*/\1/
21842 cat >>$CONFIG_STATUS <<\_ACEOF
21843 fi # test -n "$CONFIG_FILES"
21846 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
21849 :[FHLC]) ac_mode=$ac_tag; continue;;
21851 case $ac_mode$ac_tag in
21853 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
21854 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
21855 { (exit 1); exit 1; }; };;
21856 :[FH]-) ac_tag=-:-;;
21857 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21874 -) ac_f="$tmp/stdin";;
21875 *) # Look for the file first in the build tree, then in the source tree
21876 # (if the path is not absolute). The absolute path cannot be DOS-style,
21877 # because $ac_f cannot contain `:'.
21881 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21883 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21884 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21885 { (exit 1); exit 1; }; };;
21887 ac_file_inputs="$ac_file_inputs $ac_f"
21890 # Let's still pretend it is `configure' which instantiates (i.e., don't
21891 # use $as_me), people would be surprised to read:
21892 # /* config.h. Generated by config.status. */
21893 configure_input="Generated from "`IFS=:
21894 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
21895 if test x"$ac_file" != x-; then
21896 configure_input="$ac_file. $configure_input"
21897 { echo "$as_me:$LINENO: creating $ac_file" >&5
21898 echo "$as_me: creating $ac_file" >&6;}
21902 *:-:* | *:-) cat >"$tmp/stdin";;
21907 ac_dir=`$as_dirname -- "$ac_file" ||
21908 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21909 X"$ac_file" : 'X\(//\)[^/]' \| \
21910 X"$ac_file" : 'X\(//\)$' \| \
21911 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21913 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21917 /^X\(\/\/\)[^/].*/{
21932 -*) as_dir=./$as_dir;;
21934 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
21938 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21939 *) as_qdir=$as_dir;;
21941 as_dirs="'$as_qdir' $as_dirs"
21942 as_dir=`$as_dirname -- "$as_dir" ||
21943 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21944 X"$as_dir" : 'X\(//\)[^/]' \| \
21945 X"$as_dir" : 'X\(//\)$' \| \
21946 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21948 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21952 /^X\(\/\/\)[^/].*/{
21965 test -d "$as_dir" && break
21967 test -z "$as_dirs" || eval "mkdir $as_dirs"
21968 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21969 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21970 { (exit 1); exit 1; }; }; }
21974 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21976 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21977 # A ".." for each directory in $ac_dir_suffix.
21978 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
21979 case $ac_top_builddir_sub in
21980 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21981 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21984 ac_abs_top_builddir=$ac_pwd
21985 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21986 # for backward compatibility:
21987 ac_top_builddir=$ac_top_build_prefix
21990 .) # We are building in place.
21992 ac_top_srcdir=$ac_top_builddir_sub
21993 ac_abs_top_srcdir=$ac_pwd ;;
21994 [\\/]* | ?:[\\/]* ) # Absolute name.
21995 ac_srcdir=$srcdir$ac_dir_suffix;
21996 ac_top_srcdir=$srcdir
21997 ac_abs_top_srcdir=$srcdir ;;
21998 *) # Relative name.
21999 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22000 ac_top_srcdir=$ac_top_build_prefix$srcdir
22001 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22003 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22013 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22014 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22018 cat >>$CONFIG_STATUS <<\_ACEOF
22019 # If the template does not know about datarootdir, expand it.
22020 # FIXME: This hack should be removed a few years after 2.60.
22021 ac_datarootdir_hack=; ac_datarootdir_seen=
22023 case `sed -n '/datarootdir/ {
22032 ' $ac_file_inputs` in
22033 *datarootdir*) ac_datarootdir_seen=yes;;
22034 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22035 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22036 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22038 cat >>$CONFIG_STATUS <<_ACEOF
22039 ac_datarootdir_hack='
22040 s&@datadir@&$datadir&g
22041 s&@docdir@&$docdir&g
22042 s&@infodir@&$infodir&g
22043 s&@localedir@&$localedir&g
22044 s&@mandir@&$mandir&g
22045 s&\\\${datarootdir}&$datarootdir&g' ;;
22049 # Neutralize VPATH when `$srcdir' = `.'.
22050 # Shell code in configure.ac might set extrasub.
22051 # FIXME: do we really want to maintain this feature?
22052 cat >>$CONFIG_STATUS <<_ACEOF
22056 cat >>$CONFIG_STATUS <<\_ACEOF
22058 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22059 s&@configure_input@&$configure_input&;t t
22060 s&@top_builddir@&$ac_top_builddir_sub&;t t
22061 s&@srcdir@&$ac_srcdir&;t t
22062 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22063 s&@top_srcdir@&$ac_top_srcdir&;t t
22064 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22065 s&@builddir@&$ac_builddir&;t t
22066 s&@abs_builddir@&$ac_abs_builddir&;t t
22067 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22068 s&@INSTALL@&$ac_INSTALL&;t t
22069 $ac_datarootdir_hack
22070 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22072 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22073 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22074 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22075 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22076 which seems to be undefined. Please make sure it is defined." >&5
22077 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22078 which seems to be undefined. Please make sure it is defined." >&2;}
22082 -) cat "$tmp/out"; rm -f "$tmp/out";;
22083 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22088 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22089 echo "$as_me: executing $ac_file commands" >&6;}
22094 case $ac_file$ac_mode in
22095 "Makefile":C) ${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
22096 ${SHELL} ${srcdir}/autoconf/install-sh -m 0644 -c ${srcdir}/Makefile Makefile ;;
22097 "lib/Makefile":C) ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
22098 ${SHELL} ${srcdir}/autoconf/install-sh -m 0644 -c ${srcdir}/lib/Makefile lib/Makefile ;;
22099 "lib/sample/Makefile":C) ${srcdir}/autoconf/mkinstalldirs `dirname lib/sample/Makefile`
22100 ${SHELL} ${srcdir}/autoconf/install-sh -m 0644 -c ${srcdir}/lib/sample/Makefile lib/sample/Makefile ;;
22101 "tools/Makefile":C) ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
22102 ${SHELL} ${srcdir}/autoconf/install-sh -m 0644 -c ${srcdir}/tools/Makefile tools/Makefile ;;
22103 "tools/sample/Makefile":C) ${srcdir}/autoconf/mkinstalldirs `dirname tools/sample/Makefile`
22104 ${SHELL} ${srcdir}/autoconf/install-sh -m 0644 -c ${srcdir}/tools/sample/Makefile tools/sample/Makefile ;;
22110 { (exit 0); exit 0; }
22112 chmod +x $CONFIG_STATUS
22113 ac_clean_files=$ac_clean_files_save
22116 # configure is writing to config.log, and then calls config.status.
22117 # config.status does its own redirection, appending to config.log.
22118 # Unfortunately, on DOS this fails, as config.log is still kept open
22119 # by configure, so config.status won't be able to write to it; its
22120 # output is simply discarded. So we exec the FD to /dev/null,
22121 # effectively closing config.log, so it can be properly (re)opened and
22122 # appended to by config.status. When coming back to configure, we
22123 # need to make the FD available again.
22124 if test "$no_create" != yes; then
22126 ac_config_status_args=
22127 test "$silent" = yes &&
22128 ac_config_status_args="$ac_config_status_args --quiet"
22130 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22132 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22133 # would make configure fail if this is the last instruction.
22134 $ac_cs_success || { (exit 1); exit 1; }
22138 # CONFIG_SUBDIRS section.
22140 if test "$no_recursion" != yes; then
22142 # Remove --cache-file and --srcdir arguments so they do not pile up.
22143 ac_sub_configure_args=
22145 eval "set x $ac_configure_args"
22149 if test -n "$ac_prev"; then
22154 -cache-file | --cache-file | --cache-fil | --cache-fi \
22155 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
22156 ac_prev=cache_file ;;
22157 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
22158 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
22161 --config-cache | -C)
22163 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
22165 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
22167 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
22169 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
22173 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
22175 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
22179 # Always prepend --prefix to ensure using the same prefix
22180 # in subdir configurations.
22181 ac_arg="--prefix=$prefix"
22183 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
22185 ac_sub_configure_args="$ac_arg $ac_sub_configure_args"
22188 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
22190 # Do not complain, so a configure script can configure whichever
22191 # parts of a large source tree are present.
22192 test -d "$srcdir/$ac_dir" || continue
22194 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
22195 echo "$as_me:$LINENO: $ac_msg" >&5
22199 -*) as_dir=./$as_dir;;
22201 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22205 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22206 *) as_qdir=$as_dir;;
22208 as_dirs="'$as_qdir' $as_dirs"
22209 as_dir=`$as_dirname -- "$as_dir" ||
22210 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22211 X"$as_dir" : 'X\(//\)[^/]' \| \
22212 X"$as_dir" : 'X\(//\)$' \| \
22213 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22215 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22219 /^X\(\/\/\)[^/].*/{
22232 test -d "$as_dir" && break
22234 test -z "$as_dirs" || eval "mkdir $as_dirs"
22235 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22236 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22237 { (exit 1); exit 1; }; }; }
22241 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22243 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22244 # A ".." for each directory in $ac_dir_suffix.
22245 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22246 case $ac_top_builddir_sub in
22247 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22248 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22251 ac_abs_top_builddir=$ac_pwd
22252 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22253 # for backward compatibility:
22254 ac_top_builddir=$ac_top_build_prefix
22257 .) # We are building in place.
22259 ac_top_srcdir=$ac_top_builddir_sub
22260 ac_abs_top_srcdir=$ac_pwd ;;
22261 [\\/]* | ?:[\\/]* ) # Absolute name.
22262 ac_srcdir=$srcdir$ac_dir_suffix;
22263 ac_top_srcdir=$srcdir
22264 ac_abs_top_srcdir=$srcdir ;;
22265 *) # Relative name.
22266 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22267 ac_top_srcdir=$ac_top_build_prefix$srcdir
22268 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22270 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22275 # Check for guested configure; otherwise get Cygnus style configure.
22276 if test -f "$ac_srcdir/configure.gnu"; then
22277 ac_sub_configure=$ac_srcdir/configure.gnu
22278 elif test -f "$ac_srcdir/configure"; then
22279 ac_sub_configure=$ac_srcdir/configure
22280 elif test -f "$ac_srcdir/configure.in"; then
22281 # This should be Cygnus configure.
22282 ac_sub_configure=$ac_aux_dir/configure
22284 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
22285 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
22289 # The recursion is here.
22290 if test -n "$ac_sub_configure"; then
22291 # Make the cache file name correct relative to the subdirectory.
22292 case $cache_file in
22293 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
22294 *) # Relative name.
22295 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
22298 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
22299 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
22300 # The eval makes quoting arguments work.
22301 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
22302 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
22303 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
22304 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
22305 { (exit 1); exit 1; }; }