2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60 for llvm 2.9svn.
5 # Report bugs to <llvmbugs@cs.uiuc.edu>.
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.
12 # Copyright (c) 2003-2010 University of Illinois at Urbana-Champaign.
13 ## --------------------- ##
14 ## M4sh Initialization. ##
15 ## --------------------- ##
17 # Be Bourne compatible
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
28 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
29 DUALCASE
=1; export DUALCASE
# for MKS sh
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53 # Support unset when possible.
54 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself
=$0 ;;
73 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir
=.
78 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x
; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var
in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C
; export $as_var
111 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
123 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me
=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x
; then
155 if (eval ":") 2>/dev
/null
; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev
/null
; then
221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /usr
/bin
/posix
$PATH_SEPARATOR/bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
236 for as_shell
in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
240 # Be Bourne compatible
241 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
244 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
245 # is contrary to our usage. Disable this feature.
246 alias -g '${1+"$@"}'='"$@"'
249 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
251 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
252 DUALCASE
=1; export DUALCASE
# for MKS sh
257 CONFIG_SHELL
=$as_shell
259 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
260 # Be Bourne compatible
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
271 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
272 DUALCASE
=1; export DUALCASE
# for MKS sh
284 as_func_ret_success
() {
287 as_func_ret_failure
() {
292 if as_func_success
; then
296 echo as_func_success failed.
299 if as_func_failure
; then
301 echo as_func_failure succeeded.
304 if as_func_ret_success
; then
308 echo as_func_ret_success failed.
311 if as_func_ret_failure
; then
313 echo as_func_ret_failure succeeded.
316 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
320 echo positional parameters were not saved.
323 test $exitcode = 0) ||
{ (exit 1); exit 1; }
328 test "x$as_lineno_1" != "x$as_lineno_2" &&
329 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
340 if test "x$CONFIG_SHELL" != x
; then
341 for as_var
in BASH_ENV ENV
342 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
345 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
349 if test $as_have_required = no
; then
350 echo This
script requires a shell
more modern than all the
351 echo shells that I found on your system. Please
install a
352 echo modern shell
, or manually run the
script under such a
353 echo shell
if you
do have one.
354 { (exit 1); exit 1; }
364 (eval "as_func_return () {
373 as_func_ret_success () {
376 as_func_ret_failure () {
381 if as_func_success; then
385 echo as_func_success failed.
388 if as_func_failure; then
390 echo as_func_failure succeeded.
393 if as_func_ret_success; then
397 echo as_func_ret_success failed.
400 if as_func_ret_failure; then
402 echo as_func_ret_failure succeeded.
405 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
409 echo positional parameters were not saved.
412 test \$exitcode = 0") ||
{
413 echo No shell found that supports shell functions.
414 echo Please tell autoconf@gnu.org about your system
,
415 echo including any error possibly output before this
423 test "x$as_lineno_1" != "x$as_lineno_2" &&
424 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
426 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
427 # uniformly replaced by the line number. The first 'sed' inserts a
428 # line-number line after each line using $LINENO; the second 'sed'
429 # does the real work. The second script uses 'N' to pair each
430 # line-number line with the line containing $LINENO, and appends
431 # trailing '-' during substitution so that $LINENO is not a special
433 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
434 # scripts with optimization help from Paolo Bonzini. Blame Lee
435 # E. McMahon (1931-1989) for sed's syntax. :-)
447 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
451 chmod +x
"$as_me.lineno" ||
452 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
453 { (exit 1); exit 1; }; }
455 # Don't try to exec as it changes $[0], causing all sort of problems
456 # (the dirname of $[0] is not the place where we might find the
457 # original and so on. Autoconf is especially sensitive to this).
459 # Exit status is that of the last command.
464 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
470 ECHO_C
= ECHO_N
= ECHO_T
=
474 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
481 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
482 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
488 rm -f conf$$ conf$$.exe conf$$.
file
489 if test -d conf$$.dir
; then
490 rm -f conf$$.dir
/conf$$.
file
496 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
498 # ... but there are two gotchas:
499 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
500 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
501 # In both cases, we have to default to `cp -p'.
502 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
504 elif ln conf$$.
file conf$$
2>/dev
/null
; then
509 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
510 rmdir conf$$.dir
2>/dev
/null
512 if mkdir
-p .
2>/dev
/null
; then
515 test -d .
/-p && rmdir .
/-p
519 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
520 # systems may use methods other than mode bits to determine executability.
521 cat >conf$$.
file <<_ASEOF
526 if test -x conf$$.
file >/dev
/null
2>&1; then
527 as_executable_p
="test -x"
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
541 exec 7<&0 </dev
/null
6>&1
544 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
545 # so uname gets run too.
546 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
551 ac_default_prefix
=/usr
/local
553 ac_config_libobj_dir
=.
559 SHELL
=${CONFIG_SHELL-/bin/sh}
561 # Identity of this package.
563 PACKAGE_TARNAME
='-llvm-'
564 PACKAGE_VERSION
='2.9svn'
565 PACKAGE_STRING
='llvm 2.9svn'
566 PACKAGE_BUGREPORT
='llvmbugs@cs.uiuc.edu'
568 ac_unique_file
="lib/VMCore/Module.cpp"
569 # Factoring default headers for most tests.
570 ac_includes_default
="\
573 # include <sys/types.h>
576 # include <sys/stat.h>
587 # if !STDC_HEADERS && HAVE_MEMORY_H
593 # include <strings.h>
596 # include <inttypes.h>
614 program_transform_name
685 ENABLE_EXPENSIVE_CHECKS
701 LLVM_ENUM_ASM_PRINTERS
702 LLVM_ENUM_ASM_PARSERS
703 LLVM_ENUM_DISASSEMBLERS
759 HAVE_LINK_VERSION_SCRIPT
762 CONVENIENCE_LTDL_TRUE
763 CONVENIENCE_LTDL_FALSE
771 NO_MISSING_FIELD_INITIALIZERS
783 LLVMCC_DISABLEOPT_FLAGS
799 ENABLE_VISIBILITY_INLINES_HIDDEN
805 ac_precious_vars
='build_alias
816 ac_subdirs_all
='projects/llvm-gcc
820 projects/llvm-poolalloc
823 projects/llvm-stacker
831 # Initialize some variables set by options.
833 ac_init_version
=false
834 # The variables have the same names as the options, with
835 # dashes changed to underlines.
843 program_transform_name
=s
,x
,x
,
851 # Installation directory options.
852 # These are left unexpanded so users can "make install exec_prefix=/foo"
853 # and all the variables that are supposed to be based on exec_prefix
854 # by default will actually change.
855 # Use braces instead of parens because sh, perl, etc. also accept them.
856 # (The list follows the same order as the GNU Coding Standards.)
857 bindir
='${exec_prefix}/bin'
858 sbindir
='${exec_prefix}/sbin'
859 libexecdir
='${exec_prefix}/libexec'
860 datarootdir
='${prefix}/share'
861 datadir
='${datarootdir}'
862 sysconfdir
='${prefix}/etc'
863 sharedstatedir
='${prefix}/com'
864 localstatedir
='${prefix}/var'
865 includedir
='${prefix}/include'
866 oldincludedir
='/usr/include'
867 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
868 infodir
='${datarootdir}/info'
873 libdir
='${exec_prefix}/lib'
874 localedir
='${datarootdir}/locale'
875 mandir
='${datarootdir}/man'
881 # If the previous option needs an argument, assign it.
882 if test -n "$ac_prev"; then
883 eval $ac_prev=\
$ac_option
889 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
893 # Accept the important Cygnus configure options, so we can diagnose typos.
895 case $ac_dashdash$ac_option in
899 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
901 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
904 -build |
--build |
--buil |
--bui |
--bu)
905 ac_prev
=build_alias
;;
906 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
907 build_alias
=$ac_optarg ;;
909 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
910 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
911 ac_prev
=cache_file
;;
912 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
913 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
914 cache_file
=$ac_optarg ;;
917 cache_file
=config.cache
;;
919 -datadir |
--datadir |
--datadi |
--datad)
921 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
922 datadir
=$ac_optarg ;;
924 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
925 |
--dataroo |
--dataro |
--datar)
926 ac_prev
=datarootdir
;;
927 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
928 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
929 datarootdir
=$ac_optarg ;;
931 -disable-* |
--disable-*)
932 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
933 # Reject names that are not valid shell variable names.
934 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
935 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
936 { (exit 1); exit 1; }; }
937 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
938 eval enable_
$ac_feature=no
;;
940 -docdir |
--docdir |
--docdi |
--doc |
--do)
942 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
945 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
947 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
950 -enable-* |
--enable-*)
951 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
952 # Reject names that are not valid shell variable names.
953 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
954 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
955 { (exit 1); exit 1; }; }
956 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
957 eval enable_
$ac_feature=\
$ac_optarg ;;
959 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
960 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
961 |
--exec |
--exe |
--ex)
962 ac_prev
=exec_prefix
;;
963 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
964 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
965 |
--exec=* |
--exe=* |
--ex=*)
966 exec_prefix
=$ac_optarg ;;
968 -gas |
--gas |
--ga |
--g)
969 # Obsolete; use --with-gas.
972 -help |
--help |
--hel |
--he |
-h)
974 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
975 ac_init_help
=recursive
;;
976 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
977 ac_init_help
=short
;;
979 -host |
--host |
--hos |
--ho)
980 ac_prev
=host_alias
;;
981 -host=* |
--host=* |
--hos=* |
--ho=*)
982 host_alias
=$ac_optarg ;;
984 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
986 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
988 htmldir
=$ac_optarg ;;
990 -includedir |
--includedir |
--includedi |
--included |
--include \
991 |
--includ |
--inclu |
--incl |
--inc)
992 ac_prev
=includedir
;;
993 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
994 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
995 includedir
=$ac_optarg ;;
997 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
999 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1000 infodir
=$ac_optarg ;;
1002 -libdir |
--libdir |
--libdi |
--libd)
1004 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1005 libdir
=$ac_optarg ;;
1007 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1008 |
--libexe |
--libex |
--libe)
1009 ac_prev
=libexecdir
;;
1010 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1011 |
--libexe=* |
--libex=* |
--libe=*)
1012 libexecdir
=$ac_optarg ;;
1014 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1015 ac_prev
=localedir
;;
1016 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1017 localedir
=$ac_optarg ;;
1019 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1020 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1021 ac_prev
=localstatedir
;;
1022 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1023 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1024 localstatedir
=$ac_optarg ;;
1026 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1028 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1029 mandir
=$ac_optarg ;;
1031 -nfp |
--nfp |
--nf)
1032 # Obsolete; use --without-fp.
1035 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1036 |
--no-cr |
--no-c |
-n)
1039 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1040 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1043 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1044 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1045 |
--oldin |
--oldi |
--old |
--ol |
--o)
1046 ac_prev
=oldincludedir
;;
1047 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1048 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1049 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1050 oldincludedir
=$ac_optarg ;;
1052 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1054 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1055 prefix
=$ac_optarg ;;
1057 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1058 |
--program-pre |
--program-pr |
--program-p)
1059 ac_prev
=program_prefix
;;
1060 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1061 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1062 program_prefix
=$ac_optarg ;;
1064 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1065 |
--program-suf |
--program-su |
--program-s)
1066 ac_prev
=program_suffix
;;
1067 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1068 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1069 program_suffix
=$ac_optarg ;;
1071 -program-transform-name |
--program-transform-name \
1072 |
--program-transform-nam |
--program-transform-na \
1073 |
--program-transform-n |
--program-transform- \
1074 |
--program-transform |
--program-transfor \
1075 |
--program-transfo |
--program-transf \
1076 |
--program-trans |
--program-tran \
1077 |
--progr-tra |
--program-tr |
--program-t)
1078 ac_prev
=program_transform_name
;;
1079 -program-transform-name=* |
--program-transform-name=* \
1080 |
--program-transform-nam=* |
--program-transform-na=* \
1081 |
--program-transform-n=* |
--program-transform-=* \
1082 |
--program-transform=* |
--program-transfor=* \
1083 |
--program-transfo=* |
--program-transf=* \
1084 |
--program-trans=* |
--program-tran=* \
1085 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1086 program_transform_name
=$ac_optarg ;;
1088 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1090 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1091 pdfdir
=$ac_optarg ;;
1093 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1095 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1098 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1099 |
-silent |
--silent |
--silen |
--sile |
--sil)
1102 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1104 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1106 sbindir
=$ac_optarg ;;
1108 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1109 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1110 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1112 ac_prev
=sharedstatedir
;;
1113 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1114 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1115 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1117 sharedstatedir
=$ac_optarg ;;
1119 -site |
--site |
--sit)
1121 -site=* |
--site=* |
--sit=*)
1124 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1126 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1127 srcdir
=$ac_optarg ;;
1129 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1130 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1131 ac_prev
=sysconfdir
;;
1132 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1133 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1134 sysconfdir
=$ac_optarg ;;
1136 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1137 ac_prev
=target_alias
;;
1138 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1139 target_alias
=$ac_optarg ;;
1141 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1144 -version |
--version |
--versio |
--versi |
--vers |
-V)
1145 ac_init_version
=: ;;
1148 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1149 # Reject names that are not valid shell variable names.
1150 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1151 { echo "$as_me: error: invalid package name: $ac_package" >&2
1152 { (exit 1); exit 1; }; }
1153 ac_package
=`echo $ac_package| sed 's/-/_/g'`
1154 eval with_
$ac_package=\
$ac_optarg ;;
1156 -without-* |
--without-*)
1157 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1158 # Reject names that are not valid shell variable names.
1159 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1160 { echo "$as_me: error: invalid package name: $ac_package" >&2
1161 { (exit 1); exit 1; }; }
1162 ac_package
=`echo $ac_package | sed 's/-/_/g'`
1163 eval with_
$ac_package=no
;;
1166 # Obsolete; use --with-x.
1169 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1170 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1171 ac_prev
=x_includes
;;
1172 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1173 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1174 x_includes
=$ac_optarg ;;
1176 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1177 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1178 ac_prev
=x_libraries
;;
1179 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1180 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1181 x_libraries
=$ac_optarg ;;
1183 -*) { echo "$as_me: error: unrecognized option: $ac_option
1184 Try \`$0 --help' for more information." >&2
1185 { (exit 1); exit 1; }; }
1189 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1190 # Reject names that are not valid shell variable names.
1191 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1192 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1193 { (exit 1); exit 1; }; }
1194 eval $ac_envvar=\
$ac_optarg
1195 export $ac_envvar ;;
1198 # FIXME: should be removed in autoconf 3.0.
1199 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1200 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1201 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1202 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1208 if test -n "$ac_prev"; then
1209 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1210 { echo "$as_me: error: missing argument to $ac_option" >&2
1211 { (exit 1); exit 1; }; }
1214 # Be sure to have absolute directory names.
1215 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1216 datadir sysconfdir sharedstatedir localstatedir includedir \
1217 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1218 libdir localedir mandir
1220 eval ac_val
=\$
$ac_var
1222 [\\/$
]* | ?
:[\\/]* ) continue;;
1223 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1225 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1226 { (exit 1); exit 1; }; }
1229 # There might be people who depend on the old broken behavior: `$host'
1230 # used to hold the argument of --host etc.
1231 # FIXME: To remove some day.
1234 target
=$target_alias
1236 # FIXME: To remove some day.
1237 if test "x$host_alias" != x
; then
1238 if test "x$build_alias" = x
; then
1239 cross_compiling
=maybe
1240 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1241 If a cross compiler is detected then cross compile mode will be used." >&2
1242 elif test "x$build_alias" != "x$host_alias"; then
1248 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1250 test "$silent" = yes && exec 6>/dev
/null
1253 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1254 ac_ls_di
=`ls -di .` &&
1255 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1256 { echo "$as_me: error: Working directory cannot be determined" >&2
1257 { (exit 1); exit 1; }; }
1258 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1259 { echo "$as_me: error: pwd does not report name of working directory" >&2
1260 { (exit 1); exit 1; }; }
1263 # Find the source files, if location was not specified.
1264 if test -z "$srcdir"; then
1265 ac_srcdir_defaulted
=yes
1266 # Try the directory containing this script, then the parent directory.
1267 ac_confdir
=`$as_dirname -- "$0" ||
1268 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1269 X"$0" : 'X\(//\)[^/]' \| \
1270 X"$0" : 'X\(//\)$' \| \
1271 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1273 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1291 if test ! -r "$srcdir/$ac_unique_file"; then
1295 ac_srcdir_defaulted
=no
1297 if test ! -r "$srcdir/$ac_unique_file"; then
1298 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1299 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1300 { (exit 1); exit 1; }; }
1302 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1304 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1305 { (exit 1); exit 1; }; }
1307 # When building in place, set srcdir=.
1308 if test "$ac_abs_confdir" = "$ac_pwd"; then
1311 # Remove unnecessary trailing slashes from srcdir.
1312 # Double slashes in file names in object file debugging info
1313 # mess up M-x gdb in Emacs.
1315 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1317 for ac_var
in $ac_precious_vars; do
1318 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1319 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1320 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1321 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1325 # Report the --help message.
1327 if test "$ac_init_help" = "long"; then
1328 # Omit some internal or obsolete options to make the list less imposing.
1329 # This message is too long to be a string in the A/UX 3.1 sh.
1331 \`configure' configures llvm 2.9svn to adapt to many kinds of systems.
1333 Usage: $0 [OPTION]... [VAR=VALUE]...
1335 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1336 VAR=VALUE. See below for descriptions of some of the useful variables.
1338 Defaults for the options are specified in brackets.
1341 -h, --help display this help and exit
1342 --help=short display options specific to this package
1343 --help=recursive display the short help of all the included packages
1344 -V, --version display version information and exit
1345 -q, --quiet, --silent do not print \`checking...' messages
1346 --cache-file=FILE cache test results in FILE [disabled]
1347 -C, --config-cache alias for \`--cache-file=config.cache'
1348 -n, --no-create do not create output files
1349 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1351 Installation directories:
1352 --prefix=PREFIX install architecture-independent files in PREFIX
1353 [$ac_default_prefix]
1354 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1357 By default, \`make install' will install all the files in
1358 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1359 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1360 for instance \`--prefix=\$HOME'.
1362 For better control, use the options below.
1364 Fine tuning of the installation directories:
1365 --bindir=DIR user executables [EPREFIX/bin]
1366 --sbindir=DIR system admin executables [EPREFIX/sbin]
1367 --libexecdir=DIR program executables [EPREFIX/libexec]
1368 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1369 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1370 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1371 --libdir=DIR object code libraries [EPREFIX/lib]
1372 --includedir=DIR C header files [PREFIX/include]
1373 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1374 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1375 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1376 --infodir=DIR info documentation [DATAROOTDIR/info]
1377 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1378 --mandir=DIR man documentation [DATAROOTDIR/man]
1379 --docdir=DIR documentation root [DATAROOTDIR/doc/-llvm-]
1380 --htmldir=DIR html documentation [DOCDIR]
1381 --dvidir=DIR dvi documentation [DOCDIR]
1382 --pdfdir=DIR pdf documentation [DOCDIR]
1383 --psdir=DIR ps documentation [DOCDIR]
1389 --build=BUILD configure
for building on BUILD
[guessed
]
1390 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1391 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1395 if test -n "$ac_init_help"; then
1396 case $ac_init_help in
1397 short | recursive
) echo "Configuration of llvm 2.9svn:";;
1402 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1403 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1404 --enable-polly Use polly
if available
(default is YES
)
1405 --enable-optimized Compile with optimizations enabled
(default is NO
)
1406 --enable-profiling Compile with profiling enabled
(default is NO
)
1407 --enable-assertions Compile with assertion checks enabled
(default is
1409 --enable-expensive-checks
1410 Compile with expensive debug checks enabled
(default
1412 --enable-debug-runtime Build runtime libs with debug symbols
(default is
1414 --enable-debug-symbols Build compiler with debug symbols
(default is NO
if
1415 optimization is on and YES
if it
's off)
1416 --enable-jit Enable Just In Time Compiling (default is YES)
1417 --enable-docs Build documents (default is YES)
1418 --enable-doxygen Build doxygen documentation (default is NO)
1419 --enable-threads Use threads if available (default is YES)
1420 --enable-pthreads Use pthreads if available (default is YES)
1421 --enable-pic Build LLVM with Position Independent Code (default
1423 --enable-shared Build a shared library and link tools against it
1425 --enable-embed-stdcxx Build a shared library with embedded libstdc++ for
1426 Win32 DLL (default is YES)
1427 --enable-timestamps Enable embedding timestamp information in build
1429 --enable-targets Build specific host targets: all or
1430 target1,target2,... Valid targets are: host, x86,
1431 x86_64, sparc, powerpc, alpha, arm, mips, spu,
1432 xcore, msp430, systemz, blackfin, ptx, cbe, and cpp
1434 --enable-cbe-printf-a Enable C Backend output with hex floating point via
1436 --enable-bindings Build specific language bindings:
1437 all,auto,none,{binding-name} (default=auto)
1438 --enable-libffi Check for the presence of libffi (default is NO)
1439 --enable-ltdl-install install libltdl
1442 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1443 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1444 --with-llvmgccdir Specify location of llvm-gcc install dir (default
1446 --with-llvmgcc Specify location of llvm-gcc driver (default
1448 --with-llvmgxx Specify location of llvm-g++ driver (default
1450 --with-clang Specify location of clang compiler (default is
1452 --with-built-clang Use the compiled Clang as the LLVM compiler
1454 --with-optimize-option Select the compiler options to use for optimized
1456 --with-extra-options Specify additional options to compile LLVM with
1457 --with-ocaml-libdir Specify install location for ocaml bindings (default
1459 --with-clang-resource-dir
1460 Relative directory from the Clang binary for
1462 --with-c-include-dirs Colon separated list of directories clang will
1464 --with-cxx-include-root Directory with the libstdc++ headers.
1465 --with-cxx-include-arch Architecture of the libstdc++ headers.
1466 --with-cxx-include-32bit-dir
1467 32 bit multilib dir.
1468 --with-cxx-include-64bit-dir
1469 64 bit multilib directory.
1470 --with-binutils-include Specify path to binutils/include/ containing
1471 plugin-api.h file for gold plugin.
1472 --with-tclinclude directory where tcl headers are
1473 --with-llvmcc=<name> Choose the LLVM capable compiler to use (llvm-gcc,
1474 clang, or none; default=check)
1475 --with-udis86=<path> Use udis86 external x86 disassembler library
1476 --with-oprofile=<prefix>
1477 Tell OProfile >= 0.9.4 how to symbolize JIT output
1479 Some influential environment variables:
1480 CC C compiler command
1481 CFLAGS C compiler flags
1482 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1483 nonstandard directory <lib dir>
1484 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1485 you have headers in a nonstandard directory <include dir>
1487 CXX C++ compiler command
1488 CXXFLAGS C++ compiler flags
1490 Use these variables to override the choices made by `configure' or to
help
1491 it to
find libraries and programs with nonstandard names
/locations.
1493 Report bugs to
<llvmbugs@cs.uiuc.edu
>.
1498 if test "$ac_init_help" = "recursive"; then
1499 # If there are subdirs, report their specific --help.
1500 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1501 test -d "$ac_dir" ||
continue
1505 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1507 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1508 # A ".." for each directory in $ac_dir_suffix.
1509 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1510 case $ac_top_builddir_sub in
1511 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1512 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1515 ac_abs_top_builddir
=$ac_pwd
1516 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1517 # for backward compatibility:
1518 ac_top_builddir
=$ac_top_build_prefix
1521 .
) # We are building in place.
1523 ac_top_srcdir
=$ac_top_builddir_sub
1524 ac_abs_top_srcdir
=$ac_pwd ;;
1525 [\\/]* | ?
:[\\/]* ) # Absolute name.
1526 ac_srcdir
=$srcdir$ac_dir_suffix;
1527 ac_top_srcdir
=$srcdir
1528 ac_abs_top_srcdir
=$srcdir ;;
1530 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1531 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1532 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1534 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1536 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1537 # Check for guested configure.
1538 if test -f "$ac_srcdir/configure.gnu"; then
1540 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1541 elif test -f "$ac_srcdir/configure"; then
1543 $SHELL "$ac_srcdir/configure" --help=recursive
1545 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1547 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1551 test -n "$ac_init_help" && exit $ac_status
1552 if $ac_init_version; then
1554 llvm configure
2.9svn
1555 generated by GNU Autoconf
2.60
1557 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1558 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1559 This configure
script is free software
; the Free Software Foundation
1560 gives unlimited permission to copy
, distribute and modify it.
1562 Copyright
(c
) 2003-2010 University of Illinois
at Urbana-Champaign.
1566 cat >config.log
<<_ACEOF
1567 This file contains any messages produced by compilers while
1568 running configure, to aid debugging if configure makes a mistake.
1570 It was created by llvm $as_me 2.9svn, which was
1571 generated by GNU Autoconf 2.60. Invocation command line was
1583 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1584 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1585 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1586 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1587 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1589 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1590 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1592 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1593 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1594 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1595 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1596 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1597 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1598 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1606 test -z "$as_dir" && as_dir
=.
1607 echo "PATH: $as_dir"
1623 # Keep a trace of the command line.
1624 # Strip out --no-create and --no-recursion so they do not pile up.
1625 # Strip out --silent because we don't want to record it for future runs.
1626 # Also quote any args containing shell meta-characters.
1627 # Make two passes to allow for proper duplicate-argument suppression.
1631 ac_must_keep_next
=false
1637 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1638 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1639 |
-silent |
--silent |
--silen |
--sile |
--sil)
1642 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1645 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1647 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1648 if test $ac_must_keep_next = true
; then
1649 ac_must_keep_next
=false
# Got value, back to normal.
1652 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1653 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1654 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1655 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1656 case "$ac_configure_args0 " in
1657 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1660 -* ) ac_must_keep_next
=true
;;
1663 ac_configure_args
="$ac_configure_args '$ac_arg'"
1668 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1669 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1671 # When interrupted or exit'd, cleanup temporary files, and complete
1672 # config.log. We remove comments because anyway the quotes in there
1673 # would cause problems or look ugly.
1674 # WARNING: Use '\'' to represent an apostrophe within the trap.
1675 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1676 trap 'exit_status=$?
1677 # Save into config.log some information that might help in debugging.
1682 ## ---------------- ##
1683 ## Cache variables. ##
1684 ## ---------------- ##
1687 # The following way of writing the cache mishandles newlines in values,
1689 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1690 eval ac_val=\$$ac_var
1694 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1695 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1698 _ | IFS | as_nl) ;; #(
1699 *) $as_unset $ac_var ;;
1704 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1705 *${as_nl}ac_space=\ *)
1707 "s/'\''/'\''\\\\'\'''\''/g;
1708 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1711 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1719 ## ----------------- ##
1720 ## Output variables. ##
1721 ## ----------------- ##
1724 for ac_var in $ac_subst_vars
1726 eval ac_val=\$$ac_var
1728 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1730 echo "$ac_var='\''$ac_val'\''"
1734 if test -n "$ac_subst_files"; then
1736 ## ------------------- ##
1737 ## File substitutions. ##
1738 ## ------------------- ##
1741 for ac_var
in $ac_subst_files
1743 eval ac_val
=\$
$ac_var
1745 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1747 echo "$ac_var='\''$ac_val'\''"
1752 if test -s confdefs.h; then
1762 test "$ac_signal" != 0 &&
1763 echo "$as_me: caught signal $ac_signal"
1764 echo "$as_me: exit $exit_status"
1766 rm -f core *.core core.conftest.* &&
1767 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1770 for ac_signal
in 1 2 13 15; do
1771 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1775 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1776 rm -f -r conftest
* confdefs.h
1778 # Predefined preprocessor variables.
1780 cat >>confdefs.h
<<_ACEOF
1781 #define PACKAGE_NAME "$PACKAGE_NAME"
1785 cat >>confdefs.h
<<_ACEOF
1786 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1790 cat >>confdefs.h
<<_ACEOF
1791 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1795 cat >>confdefs.h
<<_ACEOF
1796 #define PACKAGE_STRING "$PACKAGE_STRING"
1800 cat >>confdefs.h
<<_ACEOF
1801 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1805 # Let the site file select an alternate cache file if it wants to.
1806 # Prefer explicitly selected file to automatically selected ones.
1807 if test -n "$CONFIG_SITE"; then
1808 set x
"$CONFIG_SITE"
1809 elif test "x$prefix" != xNONE
; then
1810 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1812 set x
"$ac_default_prefix/share/config.site" \
1813 "$ac_default_prefix/etc/config.site"
1818 if test -r "$ac_site_file"; then
1819 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1820 echo "$as_me: loading site script $ac_site_file" >&6;}
1821 sed 's/^/| /' "$ac_site_file" >&5
1826 if test -r "$cache_file"; then
1827 # Some versions of bash will fail to source /dev/null (special
1828 # files actually), so we avoid doing that.
1829 if test -f "$cache_file"; then
1830 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1831 echo "$as_me: loading cache $cache_file" >&6;}
1833 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1834 *) .
"./$cache_file";;
1838 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1839 echo "$as_me: creating cache $cache_file" >&6;}
1843 # Check that the precious variables saved in the cache have kept the same
1845 ac_cache_corrupted
=false
1846 for ac_var
in $ac_precious_vars; do
1847 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1848 eval ac_new_set
=\
$ac_env_${ac_var}_set
1849 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1850 eval ac_new_val
=\
$ac_env_${ac_var}_value
1851 case $ac_old_set,$ac_new_set in
1853 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1854 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1855 ac_cache_corrupted
=: ;;
1857 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1858 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1859 ac_cache_corrupted
=: ;;
1862 if test "x$ac_old_val" != "x$ac_new_val"; then
1863 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1864 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1865 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1866 echo "$as_me: former value: $ac_old_val" >&2;}
1867 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1868 echo "$as_me: current value: $ac_new_val" >&2;}
1869 ac_cache_corrupted
=:
1872 # Pass precious variables to config.status.
1873 if test "$ac_new_set" = set; then
1875 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1876 *) ac_arg
=$ac_var=$ac_new_val ;;
1878 case " $ac_configure_args " in
1879 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1880 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1884 if $ac_cache_corrupted; then
1885 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1886 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1887 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1888 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1889 { (exit 1); exit 1; }; }
1917 ac_cpp
='$CPP $CPPFLAGS'
1918 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1919 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1920 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1924 LLVM_COPYRIGHT
="Copyright (c) 2003-2010 University of Illinois at Urbana-Champaign."
1933 for ac_dir
in autoconf
"$srcdir"/autoconf
; do
1934 if test -f "$ac_dir/install-sh"; then
1936 ac_install_sh
="$ac_aux_dir/install-sh -c"
1938 elif test -f "$ac_dir/install.sh"; then
1940 ac_install_sh
="$ac_aux_dir/install.sh -c"
1942 elif test -f "$ac_dir/shtool"; then
1944 ac_install_sh
="$ac_aux_dir/shtool install -c"
1948 if test -z "$ac_aux_dir"; then
1949 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
1950 echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
1951 { (exit 1); exit 1; }; }
1954 # These three variables are undocumented and unsupported,
1955 # and are intended to be withdrawn in a future Autoconf release.
1956 # They can cause serious problems if a builder's source tree is in a directory
1957 # whose full name contains unusual characters.
1958 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1959 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1960 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1964 if test ${srcdir} != "." ; then
1965 if test -f ${srcdir}/include
/llvm
/Config
/config.h
; then
1966 { { echo "$as_me:$LINENO: error: Already configured in ${srcdir}" >&5
1967 echo "$as_me: error: Already configured in ${srcdir}" >&2;}
1968 { (exit 1); exit 1; }; }
1974 if test -d ${srcdir}/projects
/llvm-gcc
; then
1975 subdirs
="$subdirs projects/llvm-gcc"
1979 if test -d ${srcdir}/projects
/test-suite
; then
1980 subdirs
="$subdirs projects/test-suite"
1984 if test -d ${srcdir}/projects
/llvm-test
; then
1985 subdirs
="$subdirs projects/llvm-test"
1989 if test -d ${srcdir}/projects
/poolalloc
; then
1990 subdirs
="$subdirs projects/poolalloc"
1994 if test -d ${srcdir}/projects
/llvm-poolalloc
; then
1995 subdirs
="$subdirs projects/llvm-poolalloc"
1999 for i
in `ls ${srcdir}/projects`
2001 if test -d ${srcdir}/projects
/${i} ; then
2003 sample
) subdirs
="$subdirs projects/sample"
2005 privbracket
) subdirs
="$subdirs projects/privbracket"
2007 llvm-stacker
) subdirs
="$subdirs projects/llvm-stacker"
2009 llvm-reopt
) subdirs
="$subdirs projects/llvm-reopt"
2011 llvm-java
) subdirs
="$subdirs projects/llvm-java"
2013 llvm-tv
) subdirs
="$subdirs projects/llvm-tv"
2015 safecode
) subdirs
="$subdirs projects/safecode"
2017 llvm-kernel
) subdirs
="$subdirs projects/llvm-kernel"
2025 { echo "$as_me:$LINENO: WARNING: Unknown project (${i}) won't be configured automatically" >&5
2026 echo "$as_me: WARNING: Unknown project (${i}) won't be configured automatically" >&2;}
2032 # Check whether --enable-polly was given.
2033 if test "${enable_polly+set}" = set; then
2034 enableval
=$enable_polly;
2039 case "$enableval" in
2044 default
) ENABLE_POLLY
=1
2046 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-polly. Use \"yes\" or \"no\"" >&5
2047 echo "$as_me: error: Invalid setting for --enable-polly. Use \"yes\" or \"no\"" >&2;}
2048 { (exit 1); exit 1; }; } ;;
2052 if (test -d ${srcdir}/tools
/polly
) && (test $ENABLE_POLLY -eq 1) ; then
2055 subdirs
="$subdirs tools/polly"
2060 # Make sure we can run config.sub.
2061 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2062 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2063 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2064 { (exit 1); exit 1; }; }
2066 { echo "$as_me:$LINENO: checking build system type" >&5
2067 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2068 if test "${ac_cv_build+set}" = set; then
2069 echo $ECHO_N "(cached) $ECHO_C" >&6
2071 ac_build_alias
=$build_alias
2072 test "x$ac_build_alias" = x
&&
2073 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2074 test "x$ac_build_alias" = x
&&
2075 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2076 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2077 { (exit 1); exit 1; }; }
2078 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2079 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2080 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2081 { (exit 1); exit 1; }; }
2084 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2085 echo "${ECHO_T}$ac_cv_build" >&6; }
2086 case $ac_cv_build in
2088 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2089 echo "$as_me: error: invalid value of canonical build" >&2;}
2090 { (exit 1); exit 1; }; };;
2093 ac_save_IFS
=$IFS; IFS
='-'
2099 # Remember, the first character of IFS is used to create $*,
2100 # except with old shells:
2103 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2106 { echo "$as_me:$LINENO: checking host system type" >&5
2107 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2108 if test "${ac_cv_host+set}" = set; then
2109 echo $ECHO_N "(cached) $ECHO_C" >&6
2111 if test "x$host_alias" = x
; then
2112 ac_cv_host
=$ac_cv_build
2114 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2115 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2116 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2117 { (exit 1); exit 1; }; }
2121 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2122 echo "${ECHO_T}$ac_cv_host" >&6; }
2125 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2126 echo "$as_me: error: invalid value of canonical host" >&2;}
2127 { (exit 1); exit 1; }; };;
2130 ac_save_IFS
=$IFS; IFS
='-'
2136 # Remember, the first character of IFS is used to create $*,
2137 # except with old shells:
2140 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2143 { echo "$as_me:$LINENO: checking target system type" >&5
2144 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2145 if test "${ac_cv_target+set}" = set; then
2146 echo $ECHO_N "(cached) $ECHO_C" >&6
2148 if test "x$target_alias" = x
; then
2149 ac_cv_target
=$ac_cv_host
2151 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2152 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2153 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2154 { (exit 1); exit 1; }; }
2158 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2159 echo "${ECHO_T}$ac_cv_target" >&6; }
2160 case $ac_cv_target in
2162 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2163 echo "$as_me: error: invalid value of canonical target" >&2;}
2164 { (exit 1); exit 1; }; };;
2166 target
=$ac_cv_target
2167 ac_save_IFS
=$IFS; IFS
='-'
2173 # Remember, the first character of IFS is used to create $*,
2174 # except with old shells:
2177 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2180 # The aliases save the names the user supplied, while $host etc.
2181 # will get canonicalized.
2182 test -n "$target_alias" &&
2183 test "$program_prefix$program_suffix$program_transform_name" = \
2185 program_prefix
=${target_alias}-
2187 { echo "$as_me:$LINENO: checking type of operating system we're going to host on" >&5
2188 echo $ECHO_N "checking type of operating system we're going to host on... $ECHO_C" >&6; }
2189 if test "${llvm_cv_os_type+set}" = set; then
2190 echo $ECHO_N "(cached) $ECHO_C" >&6
2194 llvm_cv_link_all_option
="-Wl,--whole-archive"
2195 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2196 llvm_cv_os_type
="AIX"
2197 llvm_cv_platform_type
="Unix" ;;
2199 llvm_cv_link_all_option
="-Wl,--whole-archive"
2200 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2201 llvm_cv_os_type
="IRIX"
2202 llvm_cv_platform_type
="Unix" ;;
2204 llvm_cv_link_all_option
="-Wl,--whole-archive"
2205 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2206 llvm_cv_os_type
="Cygwin"
2207 llvm_cv_platform_type
="Unix" ;;
2209 llvm_cv_link_all_option
="-Wl,-all_load"
2210 llvm_cv_no_link_all_option
="-Wl,-noall_load"
2211 llvm_cv_os_type
="Darwin"
2212 llvm_cv_platform_type
="Unix" ;;
2214 llvm_cv_link_all_option
="-Wl,-all_load"
2215 llvm_cv_no_link_all_option
="-Wl,-noall_load"
2216 llvm_cv_os_type
="Minix"
2217 llvm_cv_platform_type
="Unix" ;;
2219 llvm_cv_link_all_option
="-Wl,--whole-archive"
2220 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2221 llvm_cv_os_type
="FreeBSD"
2222 llvm_cv_platform_type
="Unix" ;;
2224 llvm_cv_link_all_option
="-Wl,--whole-archive"
2225 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2226 llvm_cv_os_type
="OpenBSD"
2227 llvm_cv_platform_type
="Unix" ;;
2229 llvm_cv_link_all_option
="-Wl,--whole-archive"
2230 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2231 llvm_cv_os_type
="NetBSD"
2232 llvm_cv_platform_type
="Unix" ;;
2234 llvm_cv_link_all_option
="-Wl,--whole-archive"
2235 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2236 llvm_cv_os_type
="DragonFly"
2237 llvm_cv_platform_type
="Unix" ;;
2239 llvm_cv_link_all_option
="-Wl,--whole-archive"
2240 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2241 llvm_cv_os_type
="HP-UX"
2242 llvm_cv_platform_type
="Unix" ;;
2244 llvm_cv_link_all_option
="-Wl,--whole-archive"
2245 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2246 llvm_cv_os_type
="Interix"
2247 llvm_cv_platform_type
="Unix" ;;
2249 llvm_cv_link_all_option
="-Wl,--whole-archive"
2250 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2251 llvm_cv_os_type
="Linux"
2252 llvm_cv_platform_type
="Unix" ;;
2254 llvm_cv_link_all_option
="-Wl,-z,allextract"
2255 llvm_cv_no_link_all_option
="-Wl,-z,defaultextract"
2256 llvm_cv_os_type
="SunOS"
2257 llvm_cv_platform_type
="Unix" ;;
2259 llvm_cv_link_all_option
="-Wl,-z,allextract"
2260 llvm_cv_link_all_option
="-Wl,-z,defaultextract"
2261 llvm_cv_os_type
="AuroraUX"
2262 llvm_cv_platform_type
="Unix" ;;
2264 llvm_cv_link_all_option
="-Wl,--whole-archive"
2265 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2266 llvm_cv_os_type
="Win32"
2267 llvm_cv_platform_type
="Win32" ;;
2269 llvm_cv_link_all_option
="-Wl,--whole-archive"
2270 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2271 llvm_cv_os_type
="MingW"
2272 llvm_cv_platform_type
="Win32" ;;
2274 llvm_cv_link_all_option
="-Wl,--whole-archive"
2275 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2276 llvm_cv_os_type
="Haiku"
2277 llvm_cv_platform_type
="Unix" ;;
2279 llvm_cv_link_all_option
="-Wl,--whole-archive"
2280 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2281 llvm_cv_os_type
="Freestanding"
2282 llvm_cv_platform_type
="Unix" ;;
2284 llvm_cv_link_all_option
="-Wl,--whole-archive"
2285 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2286 llvm_cv_os_type
="Freestanding"
2287 llvm_cv_platform_type
="Unix" ;;
2289 llvm_cv_link_all_option
=""
2290 llvm_cv_no_link_all_option
=""
2291 llvm_cv_os_type
="Unknown"
2292 llvm_cv_platform_type
="Unknown" ;;
2295 { echo "$as_me:$LINENO: result: $llvm_cv_os_type" >&5
2296 echo "${ECHO_T}$llvm_cv_os_type" >&6; }
2298 { echo "$as_me:$LINENO: checking type of operating system we're going to target" >&5
2299 echo $ECHO_N "checking type of operating system we're going to target... $ECHO_C" >&6; }
2300 if test "${llvm_cv_target_os_type+set}" = set; then
2301 echo $ECHO_N "(cached) $ECHO_C" >&6
2305 llvm_cv_target_os_type
="AIX" ;;
2307 llvm_cv_target_os_type
="IRIX" ;;
2309 llvm_cv_target_os_type
="Cygwin" ;;
2311 llvm_cv_target_os_type
="Darwin" ;;
2313 llvm_cv_target_os_type
="Minix" ;;
2315 llvm_cv_target_os_type
="FreeBSD" ;;
2317 llvm_cv_target_os_type
="OpenBSD" ;;
2319 llvm_cv_target_os_type
="NetBSD" ;;
2321 llvm_cv_target_os_type
="DragonFly" ;;
2323 llvm_cv_target_os_type
="HP-UX" ;;
2325 llvm_cv_target_os_type
="Interix" ;;
2327 llvm_cv_target_os_type
="Linux" ;;
2329 llvm_cv_target_os_type
="SunOS" ;;
2331 llvm_cv_target_os_type
="AuroraUX" ;;
2333 llvm_cv_target_os_type
="Win32" ;;
2335 llvm_cv_target_os_type
="MingW" ;;
2337 llvm_cv_target_os_type
="Haiku" ;;
2339 llvm_cv_target_os_type
="Freestanding" ;;
2341 llvm_cv_target_os_type
="Unknown" ;;
2344 { echo "$as_me:$LINENO: result: $llvm_cv_target_os_type" >&5
2345 echo "${ECHO_T}$llvm_cv_target_os_type" >&6; }
2347 if test "$llvm_cv_os_type" = "Unknown" ; then
2348 { { echo "$as_me:$LINENO: error: Operating system is unknown, configure can't continue" >&5
2349 echo "$as_me: error: Operating system is unknown, configure can't continue" >&2;}
2350 { (exit 1); exit 1; }; }
2355 HOST_OS
=$llvm_cv_os_type
2357 TARGET_OS
=$llvm_cv_target_os_type
2360 LINKALL
=$llvm_cv_link_all_option
2362 NOLINKALL
=$llvm_cv_no_link_all_option
2365 case $llvm_cv_platform_type in
2368 cat >>confdefs.h
<<\_ACEOF
2369 #define LLVM_ON_UNIX 1
2379 cat >>confdefs.h
<<\_ACEOF
2380 #define LLVM_ON_WIN32 1
2390 { echo "$as_me:$LINENO: checking target architecture" >&5
2391 echo $ECHO_N "checking target architecture... $ECHO_C" >&6; }
2392 if test "${llvm_cv_target_arch+set}" = set; then
2393 echo $ECHO_N "(cached) $ECHO_C" >&6
2396 i?
86-*) llvm_cv_target_arch
="x86" ;;
2397 amd64-
* | x86_64-
*) llvm_cv_target_arch
="x86_64" ;;
2398 sparc
*-*) llvm_cv_target_arch
="Sparc" ;;
2399 powerpc
*-*) llvm_cv_target_arch
="PowerPC" ;;
2400 alpha
*-*) llvm_cv_target_arch
="Alpha" ;;
2401 arm
*-*) llvm_cv_target_arch
="ARM" ;;
2402 mips-
*) llvm_cv_target_arch
="Mips" ;;
2403 xcore-
*) llvm_cv_target_arch
="XCore" ;;
2404 msp430-
*) llvm_cv_target_arch
="MSP430" ;;
2405 s390x-
*) llvm_cv_target_arch
="SystemZ" ;;
2406 bfin-
*) llvm_cv_target_arch
="Blackfin" ;;
2407 mblaze-
*) llvm_cv_target_arch
="MBlaze" ;;
2408 ptx-
*) llvm_cv_target_arch
="PTX" ;;
2409 *) llvm_cv_target_arch
="Unknown" ;;
2412 { echo "$as_me:$LINENO: result: $llvm_cv_target_arch" >&5
2413 echo "${ECHO_T}$llvm_cv_target_arch" >&6; }
2415 if test "$llvm_cv_target_arch" = "Unknown" ; then
2416 { echo "$as_me:$LINENO: WARNING: Configuring LLVM for an unknown target archicture" >&5
2417 echo "$as_me: WARNING: Configuring LLVM for an unknown target archicture" >&2;}
2420 # Determine the LLVM native architecture for the target
2421 case "$llvm_cv_target_arch" in
2422 x86
) LLVM_NATIVE_ARCH
="X86" ;;
2423 x86_64
) LLVM_NATIVE_ARCH
="X86" ;;
2424 *) LLVM_NATIVE_ARCH
="$llvm_cv_target_arch" ;;
2427 ARCH
=$llvm_cv_target_arch
2431 ac_cpp
='$CPP $CPPFLAGS'
2432 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2433 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2434 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2435 if test -n "$ac_tool_prefix"; then
2436 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2437 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2438 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2440 if test "${ac_cv_prog_CC+set}" = set; then
2441 echo $ECHO_N "(cached) $ECHO_C" >&6
2443 if test -n "$CC"; then
2444 ac_cv_prog_CC
="$CC" # Let the user override the test.
2446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2450 test -z "$as_dir" && as_dir
=.
2451 for ac_exec_ext
in '' $ac_executable_extensions; do
2452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2453 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2464 if test -n "$CC"; then
2465 { echo "$as_me:$LINENO: result: $CC" >&5
2466 echo "${ECHO_T}$CC" >&6; }
2468 { echo "$as_me:$LINENO: result: no" >&5
2469 echo "${ECHO_T}no" >&6; }
2474 if test -z "$ac_cv_prog_CC"; then
2476 # Extract the first word of "gcc", so it can be a program name with args.
2477 set dummy gcc
; ac_word
=$2
2478 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2480 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2481 echo $ECHO_N "(cached) $ECHO_C" >&6
2483 if test -n "$ac_ct_CC"; then
2484 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2490 test -z "$as_dir" && as_dir
=.
2491 for ac_exec_ext
in '' $ac_executable_extensions; do
2492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2493 ac_cv_prog_ac_ct_CC
="gcc"
2494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2503 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2504 if test -n "$ac_ct_CC"; then
2505 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2506 echo "${ECHO_T}$ac_ct_CC" >&6; }
2508 { echo "$as_me:$LINENO: result: no" >&5
2509 echo "${ECHO_T}no" >&6; }
2512 if test "x$ac_ct_CC" = x
; then
2515 case $cross_compiling:$ac_tool_warned in
2517 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2518 whose name does not start with the host triplet. If you think this
2519 configuration is useful to you, please write to autoconf@gnu.org." >&5
2520 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2521 whose name does not start with the host triplet. If you think this
2522 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2523 ac_tool_warned
=yes ;;
2531 if test -z "$CC"; then
2532 if test -n "$ac_tool_prefix"; then
2533 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2534 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2535 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2537 if test "${ac_cv_prog_CC+set}" = set; then
2538 echo $ECHO_N "(cached) $ECHO_C" >&6
2540 if test -n "$CC"; then
2541 ac_cv_prog_CC
="$CC" # Let the user override the test.
2543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2547 test -z "$as_dir" && as_dir
=.
2548 for ac_exec_ext
in '' $ac_executable_extensions; do
2549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2550 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2561 if test -n "$CC"; then
2562 { echo "$as_me:$LINENO: result: $CC" >&5
2563 echo "${ECHO_T}$CC" >&6; }
2565 { echo "$as_me:$LINENO: result: no" >&5
2566 echo "${ECHO_T}no" >&6; }
2572 if test -z "$CC"; then
2573 # Extract the first word of "cc", so it can be a program name with args.
2574 set dummy cc
; ac_word
=$2
2575 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2577 if test "${ac_cv_prog_CC+set}" = set; then
2578 echo $ECHO_N "(cached) $ECHO_C" >&6
2580 if test -n "$CC"; then
2581 ac_cv_prog_CC
="$CC" # Let the user override the test.
2584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2588 test -z "$as_dir" && as_dir
=.
2589 for ac_exec_ext
in '' $ac_executable_extensions; do
2590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2591 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2592 ac_prog_rejected
=yes
2596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2603 if test $ac_prog_rejected = yes; then
2604 # We found a bogon in the path, so make sure we never use it.
2605 set dummy
$ac_cv_prog_CC
2607 if test $# != 0; then
2608 # We chose a different compiler from the bogus one.
2609 # However, it has the same basename, so the bogon will be chosen
2610 # first if we set CC to just the basename; use the full file name.
2612 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2618 if test -n "$CC"; then
2619 { echo "$as_me:$LINENO: result: $CC" >&5
2620 echo "${ECHO_T}$CC" >&6; }
2622 { echo "$as_me:$LINENO: result: no" >&5
2623 echo "${ECHO_T}no" >&6; }
2628 if test -z "$CC"; then
2629 if test -n "$ac_tool_prefix"; then
2630 for ac_prog
in cl.exe
2632 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2633 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2634 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2636 if test "${ac_cv_prog_CC+set}" = set; then
2637 echo $ECHO_N "(cached) $ECHO_C" >&6
2639 if test -n "$CC"; then
2640 ac_cv_prog_CC
="$CC" # Let the user override the test.
2642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2646 test -z "$as_dir" && as_dir
=.
2647 for ac_exec_ext
in '' $ac_executable_extensions; do
2648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2649 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2660 if test -n "$CC"; then
2661 { echo "$as_me:$LINENO: result: $CC" >&5
2662 echo "${ECHO_T}$CC" >&6; }
2664 { echo "$as_me:$LINENO: result: no" >&5
2665 echo "${ECHO_T}no" >&6; }
2669 test -n "$CC" && break
2672 if test -z "$CC"; then
2674 for ac_prog
in cl.exe
2676 # Extract the first word of "$ac_prog", so it can be a program name with args.
2677 set dummy
$ac_prog; ac_word
=$2
2678 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2680 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2681 echo $ECHO_N "(cached) $ECHO_C" >&6
2683 if test -n "$ac_ct_CC"; then
2684 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2690 test -z "$as_dir" && as_dir
=.
2691 for ac_exec_ext
in '' $ac_executable_extensions; do
2692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2693 ac_cv_prog_ac_ct_CC
="$ac_prog"
2694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2703 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2704 if test -n "$ac_ct_CC"; then
2705 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2706 echo "${ECHO_T}$ac_ct_CC" >&6; }
2708 { echo "$as_me:$LINENO: result: no" >&5
2709 echo "${ECHO_T}no" >&6; }
2713 test -n "$ac_ct_CC" && break
2716 if test "x$ac_ct_CC" = x
; then
2719 case $cross_compiling:$ac_tool_warned in
2721 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2722 whose name does not start with the host triplet. If you think this
2723 configuration is useful to you, please write to autoconf@gnu.org." >&5
2724 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2725 whose name does not start with the host triplet. If you think this
2726 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2727 ac_tool_warned
=yes ;;
2736 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2737 See \`config.log' for more details." >&5
2738 echo "$as_me: error: no acceptable C compiler found in \$PATH
2739 See \`config.log' for more details." >&2;}
2740 { (exit 1); exit 1; }; }
2742 # Provide some information about the compiler.
2743 echo "$as_me:$LINENO: checking for C compiler version" >&5
2744 ac_compiler
=`set X $ac_compile; echo $2`
2745 { (ac_try
="$ac_compiler --version >&5"
2747 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2748 *) ac_try_echo=$ac_try;;
2750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2751 (eval "$ac_compiler --version >&5") 2>&5
2753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2754 (exit $ac_status); }
2755 { (ac_try="$ac_compiler -v >&5"
2757 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2758 *) ac_try_echo
=$ac_try;;
2760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2761 (eval "$ac_compiler -v >&5") 2>&5
2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764 (exit $ac_status); }
2765 { (ac_try
="$ac_compiler -V >&5"
2767 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2768 *) ac_try_echo=$ac_try;;
2770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2771 (eval "$ac_compiler -V >&5") 2>&5
2773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2774 (exit $ac_status); }
2776 cat >conftest.$ac_ext <<_ACEOF
2779 cat confdefs.h >>conftest.$ac_ext
2780 cat >>conftest.$ac_ext <<_ACEOF
2781 /* end confdefs.h. */
2791 ac_clean_files_save=$ac_clean_files
2792 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2793 # Try to create an executable without -o first, disregard a.out.
2794 # It will help us diagnose broken compilers, and finding out an intuition
2796 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2797 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2798 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2800 # List of possible output files, starting from the most likely.
2801 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2802 # only as a last resort. b.out is created by i960 compilers.
2803 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2805 # The IRIX 6 linker writes into existing files which may not be
2806 # executable, retaining their permissions. Remove them first so a
2807 # subsequent execution test works.
2809 for ac_file in $ac_files
2812 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2813 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2818 if { (ac_try="$ac_link_default"
2820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2821 *) ac_try_echo=$ac_try;;
2823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2824 (eval "$ac_link_default") 2>&5
2826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2827 (exit $ac_status); }; then
2828 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2829 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2830 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2831 # so that the user can short-circuit this test for compilers unknown to
2833 for ac_file
in $ac_files
2835 test -f "$ac_file" ||
continue
2837 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2840 # We found the default executable, but exeext='' is most
2844 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2846 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2848 # We set ac_cv_exeext here because the later test for it is not
2849 # safe: cross compilers may not add the suffix if given an `-o'
2850 # argument, so we may need to know it at that point already.
2851 # Even if this section looks crufty: it has the advantage of
2858 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2861 echo "$as_me: failed program was:" >&5
2862 sed 's/^/| /' conftest.
$ac_ext >&5
2864 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2865 See \`config.log' for more details." >&5
2866 echo "$as_me: error: C compiler cannot create executables
2867 See \`config.log' for more details." >&2;}
2868 { (exit 77); exit 77; }; }
2871 ac_exeext
=$ac_cv_exeext
2872 { echo "$as_me:$LINENO: result: $ac_file" >&5
2873 echo "${ECHO_T}$ac_file" >&6; }
2875 # Check that the compiler produces executables we can run. If not, either
2876 # the compiler is broken, or we cross compile.
2877 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2878 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2879 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2880 # If not cross compiling, check that we can run a simple program.
2881 if test "$cross_compiling" != yes; then
2882 if { ac_try
='./$ac_file'
2883 { (case "(($ac_try" in
2884 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2885 *) ac_try_echo=$ac_try;;
2887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2888 (eval "$ac_try") 2>&5
2890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2891 (exit $ac_status); }; }; then
2894 if test "$cross_compiling" = maybe; then
2897 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2898 If you meant to cross compile, use \`--host'.
2899 See \`config.log' for more details.
" >&5
2900 echo "$as_me: error
: cannot run C compiled programs.
2901 If you meant to cross compile
, use \
`--host'.
2902 See \`config.log
' for more details." >&2;}
2903 { (exit 1); exit 1; }; }
2907 { echo "$as_me:$LINENO: result: yes" >&5
2908 echo "${ECHO_T}yes" >&6; }
2910 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2911 ac_clean_files=$ac_clean_files_save
2912 # Check that the compiler produces executables we can run. If not, either
2913 # the compiler is broken, or we cross compile.
2914 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2915 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2916 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2917 echo "${ECHO_T}$cross_compiling" >&6; }
2919 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2920 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2921 if { (ac_try="$ac_link"
2923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2924 *) ac_try_echo=$ac_try;;
2926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2927 (eval "$ac_link") 2>&5
2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 (exit $ac_status); }; then
2931 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2932 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2933 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2935 for ac_file
in conftest.exe conftest conftest.
*; do
2936 test -f "$ac_file" ||
continue
2938 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2939 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2945 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2946 See \`config.log' for more details." >&5
2947 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2948 See \`config.log' for more details." >&2;}
2949 { (exit 1); exit 1; }; }
2952 rm -f conftest
$ac_cv_exeext
2953 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2954 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2956 rm -f conftest.
$ac_ext
2957 EXEEXT
=$ac_cv_exeext
2959 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2960 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2961 if test "${ac_cv_objext+set}" = set; then
2962 echo $ECHO_N "(cached) $ECHO_C" >&6
2964 cat >conftest.
$ac_ext <<_ACEOF
2967 cat confdefs.h
>>conftest.
$ac_ext
2968 cat >>conftest.
$ac_ext <<_ACEOF
2969 /* end confdefs.h. */
2979 rm -f conftest.o conftest.obj
2980 if { (ac_try
="$ac_compile"
2982 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2983 *) ac_try_echo=$ac_try;;
2985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2986 (eval "$ac_compile") 2>&5
2988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989 (exit $ac_status); }; then
2990 for ac_file in conftest.o conftest.obj conftest.*; do
2991 test -f "$ac_file" || continue;
2993 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2994 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2999 echo "$as_me: failed program was:" >&5
3000 sed 's/^/| /' conftest.$ac_ext >&5
3002 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3003 See \`config.log
' for more details." >&5
3004 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3005 See \`config.log' for more details.
" >&2;}
3006 { (exit 1); exit 1; }; }
3009 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3011 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3012 echo "${ECHO_T}$ac_cv_objext" >&6; }
3013 OBJEXT=$ac_cv_objext
3015 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3016 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3017 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3018 echo $ECHO_N "(cached
) $ECHO_C" >&6
3020 cat >conftest.$ac_ext <<_ACEOF
3023 cat confdefs.h >>conftest.$ac_ext
3024 cat >>conftest.$ac_ext <<_ACEOF
3025 /* end confdefs.h. */
3038 rm -f conftest.$ac_objext
3039 if { (ac_try="$ac_compile"
3041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3042 *) ac_try_echo=$ac_try;;
3044 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3045 (eval "$ac_compile") 2>conftest.er1
3047 grep -v '^ *+' conftest.er1 >conftest.err
3049 cat conftest.err >&5
3050 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3051 (exit $ac_status); } &&
3052 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3053 { (case "(($ac_try" in
3054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3055 *) ac_try_echo=$ac_try;;
3057 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3058 (eval "$ac_try") 2>&5
3060 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3061 (exit $ac_status); }; } &&
3062 { ac_try='test -s conftest.$ac_objext'
3063 { (case "(($ac_try" in
3064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3065 *) ac_try_echo=$ac_try;;
3067 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3068 (eval "$ac_try") 2>&5
3070 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3071 (exit $ac_status); }; }; then
3074 echo "$as_me: failed program was
:" >&5
3075 sed 's/^/| /' conftest.$ac_ext >&5
3080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3081 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3084 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3085 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3086 GCC=`test $ac_compiler_gnu = yes && echo yes`
3087 ac_test_CFLAGS=${CFLAGS+set}
3088 ac_save_CFLAGS=$CFLAGS
3089 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3090 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3091 if test "${ac_cv_prog_cc_g+set}" = set; then
3092 echo $ECHO_N "(cached
) $ECHO_C" >&6
3094 ac_save_c_werror_flag=$ac_c_werror_flag
3095 ac_c_werror_flag=yes
3098 cat >conftest.$ac_ext <<_ACEOF
3101 cat confdefs.h >>conftest.$ac_ext
3102 cat >>conftest.$ac_ext <<_ACEOF
3103 /* end confdefs.h. */
3113 rm -f conftest.$ac_objext
3114 if { (ac_try="$ac_compile"
3116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3117 *) ac_try_echo=$ac_try;;
3119 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3120 (eval "$ac_compile") 2>conftest.er1
3122 grep -v '^ *+' conftest.er1 >conftest.err
3124 cat conftest.err >&5
3125 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3126 (exit $ac_status); } &&
3127 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3128 { (case "(($ac_try" in
3129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3130 *) ac_try_echo=$ac_try;;
3132 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3133 (eval "$ac_try") 2>&5
3135 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3136 (exit $ac_status); }; } &&
3137 { ac_try='test -s conftest.$ac_objext'
3138 { (case "(($ac_try" in
3139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3140 *) ac_try_echo=$ac_try;;
3142 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3143 (eval "$ac_try") 2>&5
3145 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3146 (exit $ac_status); }; }; then
3149 echo "$as_me: failed program was
:" >&5
3150 sed 's/^/| /' conftest.$ac_ext >&5
3153 cat >conftest.$ac_ext <<_ACEOF
3156 cat confdefs.h >>conftest.$ac_ext
3157 cat >>conftest.$ac_ext <<_ACEOF
3158 /* end confdefs.h. */
3168 rm -f conftest.$ac_objext
3169 if { (ac_try="$ac_compile"
3171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3172 *) ac_try_echo=$ac_try;;
3174 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3175 (eval "$ac_compile") 2>conftest.er1
3177 grep -v '^ *+' conftest.er1 >conftest.err
3179 cat conftest.err >&5
3180 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3181 (exit $ac_status); } &&
3182 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3183 { (case "(($ac_try" in
3184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3185 *) ac_try_echo=$ac_try;;
3187 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3188 (eval "$ac_try") 2>&5
3190 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3191 (exit $ac_status); }; } &&
3192 { ac_try='test -s conftest.$ac_objext'
3193 { (case "(($ac_try" in
3194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3195 *) ac_try_echo=$ac_try;;
3197 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3198 (eval "$ac_try") 2>&5
3200 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3201 (exit $ac_status); }; }; then
3204 echo "$as_me: failed program was
:" >&5
3205 sed 's/^/| /' conftest.$ac_ext >&5
3207 ac_c_werror_flag=$ac_save_c_werror_flag
3209 cat >conftest.$ac_ext <<_ACEOF
3212 cat confdefs.h >>conftest.$ac_ext
3213 cat >>conftest.$ac_ext <<_ACEOF
3214 /* end confdefs.h. */
3224 rm -f conftest.$ac_objext
3225 if { (ac_try="$ac_compile"
3227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3228 *) ac_try_echo=$ac_try;;
3230 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3231 (eval "$ac_compile") 2>conftest.er1
3233 grep -v '^ *+' conftest.er1 >conftest.err
3235 cat conftest.err >&5
3236 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3237 (exit $ac_status); } &&
3238 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3239 { (case "(($ac_try" in
3240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3241 *) ac_try_echo=$ac_try;;
3243 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3244 (eval "$ac_try") 2>&5
3246 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3247 (exit $ac_status); }; } &&
3248 { ac_try='test -s conftest.$ac_objext'
3249 { (case "(($ac_try" in
3250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3251 *) ac_try_echo=$ac_try;;
3253 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3254 (eval "$ac_try") 2>&5
3256 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3257 (exit $ac_status); }; }; then
3260 echo "$as_me: failed program was
:" >&5
3261 sed 's/^/| /' conftest.$ac_ext >&5
3266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3273 ac_c_werror_flag=$ac_save_c_werror_flag
3275 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3276 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3277 if test "$ac_test_CFLAGS" = set; then
3278 CFLAGS=$ac_save_CFLAGS
3279 elif test $ac_cv_prog_cc_g = yes; then
3280 if test "$GCC" = yes; then
3286 if test "$GCC" = yes; then
3292 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3293 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3294 if test "${ac_cv_prog_cc_c89+set}" = set; then
3295 echo $ECHO_N "(cached
) $ECHO_C" >&6
3297 ac_cv_prog_cc_c89=no
3299 cat >conftest.$ac_ext <<_ACEOF
3302 cat confdefs.h >>conftest.$ac_ext
3303 cat >>conftest.$ac_ext <<_ACEOF
3304 /* end confdefs.h. */
3307 #include <sys/types.h>
3308 #include <sys/stat.h>
3309 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3310 struct buf { int x; };
3311 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3312 static char *e (p, i)
3318 static char *f (char * (*g) (char **, int), char **p, ...)
3323 s = g (p, va_arg (v,int));
3328 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3329 function prototypes and stuff, but not '\xHH' hex character constants.
3330 These don't provoke an error unfortunately, instead are silently treated
3331 as 'x'. The following induces an error, until -std is added to get
3332 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3333 array size at least. It's necessary to write '\x00'==0 to get something
3334 that's true only with -std. */
3335 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3337 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3338 inside strings and character constants. */
3340 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3342 int test (int i, double x);
3343 struct s1 {int (*f) (int a);};
3344 struct s2 {int (*f) (double a);};
3345 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3351 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3356 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3357 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3359 CC="$ac_save_CC $ac_arg"
3360 rm -f conftest.$ac_objext
3361 if { (ac_try="$ac_compile"
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_compile") 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); } &&
3374 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3375 { (case "(($ac_try" in
3376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3377 *) ac_try_echo=$ac_try;;
3379 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3380 (eval "$ac_try") 2>&5
3382 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3383 (exit $ac_status); }; } &&
3384 { ac_try='test -s conftest.$ac_objext'
3385 { (case "(($ac_try" in
3386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3387 *) ac_try_echo=$ac_try;;
3389 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3390 (eval "$ac_try") 2>&5
3392 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3393 (exit $ac_status); }; }; then
3394 ac_cv_prog_cc_c89=$ac_arg
3396 echo "$as_me: failed program was
:" >&5
3397 sed 's/^/| /' conftest.$ac_ext >&5
3402 rm -f core conftest.err conftest.$ac_objext
3403 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3405 rm -f conftest.$ac_ext
3410 case "x
$ac_cv_prog_cc_c89" in
3412 { echo "$as_me:$LINENO: result
: none needed
" >&5
3413 echo "${ECHO_T}none needed
" >&6; } ;;
3415 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3416 echo "${ECHO_T}unsupported
" >&6; } ;;
3418 CC="$CC $ac_cv_prog_cc_c89"
3419 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3420 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3425 ac_cpp='$CPP $CPPFLAGS'
3426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3432 ac_cpp='$CPP $CPPFLAGS'
3433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3436 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3437 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3438 # On Suns, sometimes $CPP names a directory.
3439 if test -n "$CPP" && test -d "$CPP"; then
3442 if test -z "$CPP"; then
3443 if test "${ac_cv_prog_CPP+set}" = set; then
3444 echo $ECHO_N "(cached
) $ECHO_C" >&6
3446 # Double quotes because CPP needs to be expanded
3447 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3450 for ac_c_preproc_warn_flag in '' yes
3452 # Use a header file that comes with gcc, so configuring glibc
3453 # with a fresh cross-compiler works.
3454 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3455 # <limits.h> exists even on freestanding compilers.
3456 # On the NeXT, cc -E runs the code through the compiler's parser,
3457 # not just through cpp. "Syntax error
" is here to catch this case.
3458 cat >conftest.$ac_ext <<_ACEOF
3461 cat confdefs.h >>conftest.$ac_ext
3462 cat >>conftest.$ac_ext <<_ACEOF
3463 /* end confdefs.h. */
3465 # include <limits.h>
3467 # include <assert.h>
3471 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3474 *) ac_try_echo=$ac_try;;
3476 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3477 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3479 grep -v '^ *+' conftest.er1 >conftest.err
3481 cat conftest.err >&5
3482 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3483 (exit $ac_status); } >/dev/null; then
3484 if test -s conftest.err; then
3485 ac_cpp_err=$ac_c_preproc_warn_flag
3486 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3493 if test -z "$ac_cpp_err"; then
3496 echo "$as_me: failed program was
:" >&5
3497 sed 's/^/| /' conftest.$ac_ext >&5
3499 # Broken: fails on valid input.
3503 rm -f conftest.err conftest.$ac_ext
3505 # OK, works on sane cases. Now check whether nonexistent headers
3506 # can be detected and how.
3507 cat >conftest.$ac_ext <<_ACEOF
3510 cat confdefs.h >>conftest.$ac_ext
3511 cat >>conftest.$ac_ext <<_ACEOF
3512 /* end confdefs.h. */
3513 #include <ac_nonexistent.h>
3515 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3518 *) ac_try_echo=$ac_try;;
3520 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3521 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3523 grep -v '^ *+' conftest.er1 >conftest.err
3525 cat conftest.err >&5
3526 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3527 (exit $ac_status); } >/dev/null; then
3528 if test -s conftest.err; then
3529 ac_cpp_err=$ac_c_preproc_warn_flag
3530 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3537 if test -z "$ac_cpp_err"; then
3538 # Broken: success on invalid input.
3541 echo "$as_me: failed program was
:" >&5
3542 sed 's/^/| /' conftest.$ac_ext >&5
3544 # Passes both tests.
3549 rm -f conftest.err conftest.$ac_ext
3552 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3553 rm -f conftest.err conftest.$ac_ext
3554 if $ac_preproc_ok; then
3566 { echo "$as_me:$LINENO: result
: $CPP" >&5
3567 echo "${ECHO_T}$CPP" >&6; }
3569 for ac_c_preproc_warn_flag in '' yes
3571 # Use a header file that comes with gcc, so configuring glibc
3572 # with a fresh cross-compiler works.
3573 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3574 # <limits.h> exists even on freestanding compilers.
3575 # On the NeXT, cc -E runs the code through the compiler's parser,
3576 # not just through cpp. "Syntax error
" is here to catch this case.
3577 cat >conftest.$ac_ext <<_ACEOF
3580 cat confdefs.h >>conftest.$ac_ext
3581 cat >>conftest.$ac_ext <<_ACEOF
3582 /* end confdefs.h. */
3584 # include <limits.h>
3586 # include <assert.h>
3590 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3593 *) ac_try_echo=$ac_try;;
3595 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3596 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3598 grep -v '^ *+' conftest.er1 >conftest.err
3600 cat conftest.err >&5
3601 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3602 (exit $ac_status); } >/dev/null; then
3603 if test -s conftest.err; then
3604 ac_cpp_err=$ac_c_preproc_warn_flag
3605 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3612 if test -z "$ac_cpp_err"; then
3615 echo "$as_me: failed program was
:" >&5
3616 sed 's/^/| /' conftest.$ac_ext >&5
3618 # Broken: fails on valid input.
3622 rm -f conftest.err conftest.$ac_ext
3624 # OK, works on sane cases. Now check whether nonexistent headers
3625 # can be detected and how.
3626 cat >conftest.$ac_ext <<_ACEOF
3629 cat confdefs.h >>conftest.$ac_ext
3630 cat >>conftest.$ac_ext <<_ACEOF
3631 /* end confdefs.h. */
3632 #include <ac_nonexistent.h>
3634 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3637 *) ac_try_echo=$ac_try;;
3639 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3640 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3642 grep -v '^ *+' conftest.er1 >conftest.err
3644 cat conftest.err >&5
3645 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3646 (exit $ac_status); } >/dev/null; then
3647 if test -s conftest.err; then
3648 ac_cpp_err=$ac_c_preproc_warn_flag
3649 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3656 if test -z "$ac_cpp_err"; then
3657 # Broken: success on invalid input.
3660 echo "$as_me: failed program was
:" >&5
3661 sed 's/^/| /' conftest.$ac_ext >&5
3663 # Passes both tests.
3668 rm -f conftest.err conftest.$ac_ext
3671 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3672 rm -f conftest.err conftest.$ac_ext
3673 if $ac_preproc_ok; then
3676 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3677 See \
`config.log' for more details." >&5
3678 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3679 See \`config.log
' for more details." >&2;}
3680 { (exit 1); exit 1; }; }
3684 ac_cpp='$CPP $CPPFLAGS'
3685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3686 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3690 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3691 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3692 if test "${ac_cv_path_GREP+set}" = set; then
3693 echo $ECHO_N "(cached) $ECHO_C" >&6
3695 # Extract the first word of "grep ggrep" to use in msg output
3696 if test -z "$GREP"; then
3697 set dummy grep ggrep; ac_prog_name=$2
3698 if test "${ac_cv_path_GREP+set}" = set; then
3699 echo $ECHO_N "(cached) $ECHO_C" >&6
3701 ac_path_GREP_found=false
3702 # Loop through the user's path and
test for each of PROGNAME-LIST
3703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3704 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3707 test -z "$as_dir" && as_dir
=.
3708 for ac_prog
in grep ggrep
; do
3709 for ac_exec_ext
in '' $ac_executable_extensions; do
3710 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3711 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } ||
continue
3712 # Check for GNU ac_path_GREP and select it if it is found.
3713 # Check for GNU $ac_path_GREP
3714 case `"$ac_path_GREP" --version 2>&1` in
3716 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3719 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3722 cat "conftest.in" "conftest.in" >"conftest.tmp"
3723 mv "conftest.tmp" "conftest.in"
3724 cp "conftest.in" "conftest.nl"
3725 echo 'GREP' >> "conftest.nl"
3726 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3727 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3728 ac_count
=`expr $ac_count + 1`
3729 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3730 # Best one so far, save it but keep looking for a better one
3731 ac_cv_path_GREP
="$ac_path_GREP"
3732 ac_path_GREP_max
=$ac_count
3734 # 10*(2^10) chars as input seems more than enough
3735 test $ac_count -gt 10 && break
3737 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3741 $ac_path_GREP_found && break 3
3751 GREP
="$ac_cv_path_GREP"
3752 if test -z "$GREP"; then
3753 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3754 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3755 { (exit 1); exit 1; }; }
3759 ac_cv_path_GREP
=$GREP
3764 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3765 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3766 GREP
="$ac_cv_path_GREP"
3769 { echo "$as_me:$LINENO: checking for egrep" >&5
3770 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3771 if test "${ac_cv_path_EGREP+set}" = set; then
3772 echo $ECHO_N "(cached) $ECHO_C" >&6
3774 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3775 then ac_cv_path_EGREP
="$GREP -E"
3777 # Extract the first word of "egrep" to use in msg output
3778 if test -z "$EGREP"; then
3779 set dummy
egrep; ac_prog_name
=$2
3780 if test "${ac_cv_path_EGREP+set}" = set; then
3781 echo $ECHO_N "(cached) $ECHO_C" >&6
3783 ac_path_EGREP_found
=false
3784 # Loop through the user's path and test for each of PROGNAME-LIST
3785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3786 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3789 test -z "$as_dir" && as_dir
=.
3790 for ac_prog
in egrep; do
3791 for ac_exec_ext
in '' $ac_executable_extensions; do
3792 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3793 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } ||
continue
3794 # Check for GNU ac_path_EGREP and select it if it is found.
3795 # Check for GNU $ac_path_EGREP
3796 case `"$ac_path_EGREP" --version 2>&1` in
3798 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3801 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3804 cat "conftest.in" "conftest.in" >"conftest.tmp"
3805 mv "conftest.tmp" "conftest.in"
3806 cp "conftest.in" "conftest.nl"
3807 echo 'EGREP' >> "conftest.nl"
3808 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3809 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3810 ac_count
=`expr $ac_count + 1`
3811 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3812 # Best one so far, save it but keep looking for a better one
3813 ac_cv_path_EGREP
="$ac_path_EGREP"
3814 ac_path_EGREP_max
=$ac_count
3816 # 10*(2^10) chars as input seems more than enough
3817 test $ac_count -gt 10 && break
3819 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3823 $ac_path_EGREP_found && break 3
3833 EGREP
="$ac_cv_path_EGREP"
3834 if test -z "$EGREP"; then
3835 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3836 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3837 { (exit 1); exit 1; }; }
3841 ac_cv_path_EGREP
=$EGREP
3847 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3848 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3849 EGREP
="$ac_cv_path_EGREP"
3852 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3853 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3854 if test "${ac_cv_header_stdc+set}" = set; then
3855 echo $ECHO_N "(cached) $ECHO_C" >&6
3857 cat >conftest.
$ac_ext <<_ACEOF
3860 cat confdefs.h
>>conftest.
$ac_ext
3861 cat >>conftest.
$ac_ext <<_ACEOF
3862 /* end confdefs.h. */
3876 rm -f conftest.
$ac_objext
3877 if { (ac_try
="$ac_compile"
3879 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3880 *) ac_try_echo=$ac_try;;
3882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3883 (eval "$ac_compile") 2>conftest.er1
3885 grep -v '^ *+' conftest.er1 >conftest.err
3887 cat conftest.err >&5
3888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3889 (exit $ac_status); } &&
3890 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3891 { (case "(($ac_try" in
3892 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3893 *) ac_try_echo
=$ac_try;;
3895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3896 (eval "$ac_try") 2>&5
3898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3899 (exit $ac_status); }; } &&
3900 { ac_try
='test -s conftest.$ac_objext'
3901 { (case "(($ac_try" in
3902 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3903 *) ac_try_echo=$ac_try;;
3905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3906 (eval "$ac_try") 2>&5
3908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3909 (exit $ac_status); }; }; then
3910 ac_cv_header_stdc=yes
3912 echo "$as_me: failed program was:" >&5
3913 sed 's/^/| /' conftest.$ac_ext >&5
3915 ac_cv_header_stdc=no
3918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3920 if test $ac_cv_header_stdc = yes; then
3921 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3922 cat >conftest.$ac_ext <<_ACEOF
3925 cat confdefs.h >>conftest.$ac_ext
3926 cat >>conftest.$ac_ext <<_ACEOF
3927 /* end confdefs.h. */
3931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3932 $EGREP "memchr" >/dev/null 2>&1; then
3935 ac_cv_header_stdc=no
3941 if test $ac_cv_header_stdc = yes; then
3942 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3943 cat >conftest.$ac_ext <<_ACEOF
3946 cat confdefs.h >>conftest.$ac_ext
3947 cat >>conftest.$ac_ext <<_ACEOF
3948 /* end confdefs.h. */
3952 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3953 $EGREP "free" >/dev/null 2>&1; then
3956 ac_cv_header_stdc=no
3962 if test $ac_cv_header_stdc = yes; then
3963 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3964 if test "$cross_compiling" = yes; then
3967 cat >conftest.$ac_ext <<_ACEOF
3970 cat confdefs.h >>conftest.$ac_ext
3971 cat >>conftest.$ac_ext <<_ACEOF
3972 /* end confdefs.h. */
3975 #if ((' ' & 0x0FF) == 0x020)
3976 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3977 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3979 # define ISLOWER(c) \
3980 (('a' <= (c) && (c) <= 'i') \
3981 || ('j' <= (c) && (c) <= 'r') \
3982 || ('s' <= (c) && (c) <= 'z'))
3983 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3986 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3991 for (i = 0; i < 256; i++)
3992 if (XOR (islower (i), ISLOWER (i))
3993 || toupper (i) != TOUPPER (i))
3998 rm -f conftest$ac_exeext
3999 if { (ac_try="$ac_link"
4001 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4002 *) ac_try_echo
=$ac_try;;
4004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4005 (eval "$ac_link") 2>&5
4007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4008 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4009 { (case "(($ac_try" in
4010 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4011 *) ac_try_echo=$ac_try;;
4013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4014 (eval "$ac_try") 2>&5
4016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4017 (exit $ac_status); }; }; then
4020 echo "$as_me: program exited with status $ac_status" >&5
4021 echo "$as_me: failed program was:" >&5
4022 sed 's/^/| /' conftest.$ac_ext >&5
4025 ac_cv_header_stdc=no
4027 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4033 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4034 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4035 if test $ac_cv_header_stdc = yes; then
4037 cat >>confdefs.h <<\_ACEOF
4038 #define STDC_HEADERS 1
4043 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4053 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4054 inttypes.h stdint.h unistd.h
4056 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4057 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4058 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4059 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4060 echo $ECHO_N "(cached) $ECHO_C" >&6
4062 cat >conftest.$ac_ext <<_ACEOF
4065 cat confdefs.h >>conftest.$ac_ext
4066 cat >>conftest.$ac_ext <<_ACEOF
4067 /* end confdefs.h. */
4068 $ac_includes_default
4070 #include <$ac_header>
4072 rm -f conftest.$ac_objext
4073 if { (ac_try="$ac_compile"
4075 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4076 *) ac_try_echo
=$ac_try;;
4078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4079 (eval "$ac_compile") 2>conftest.er1
4081 grep -v '^ *+' conftest.er1
>conftest.err
4083 cat conftest.err
>&5
4084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4085 (exit $ac_status); } &&
4086 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4087 { (case "(($ac_try" in
4088 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4089 *) ac_try_echo=$ac_try;;
4091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4092 (eval "$ac_try") 2>&5
4094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4095 (exit $ac_status); }; } &&
4096 { ac_try='test -s conftest.$ac_objext'
4097 { (case "(($ac_try" in
4098 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4099 *) ac_try_echo
=$ac_try;;
4101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4102 (eval "$ac_try") 2>&5
4104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105 (exit $ac_status); }; }; then
4106 eval "$as_ac_Header=yes"
4108 echo "$as_me: failed program was:" >&5
4109 sed 's/^/| /' conftest.
$ac_ext >&5
4111 eval "$as_ac_Header=no"
4114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4116 ac_res
=`eval echo '${'$as_ac_Header'}'`
4117 { echo "$as_me:$LINENO: result: $ac_res" >&5
4118 echo "${ECHO_T}$ac_res" >&6; }
4119 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4120 cat >>confdefs.h
<<_ACEOF
4121 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4129 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4130 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
4131 if test "${ac_cv_c_bigendian+set}" = set; then
4132 echo $ECHO_N "(cached) $ECHO_C" >&6
4134 # See if sys/param.h defines the BYTE_ORDER macro.
4135 cat >conftest.
$ac_ext <<_ACEOF
4138 cat confdefs.h
>>conftest.
$ac_ext
4139 cat >>conftest.
$ac_ext <<_ACEOF
4140 /* end confdefs.h. */
4141 #include <sys/types.h>
4142 #include <sys/param.h>
4147 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4155 rm -f conftest.
$ac_objext
4156 if { (ac_try
="$ac_compile"
4158 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4159 *) ac_try_echo=$ac_try;;
4161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4162 (eval "$ac_compile") 2>conftest.er1
4164 grep -v '^ *+' conftest.er1 >conftest.err
4166 cat conftest.err >&5
4167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4168 (exit $ac_status); } &&
4169 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4170 { (case "(($ac_try" in
4171 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4172 *) ac_try_echo
=$ac_try;;
4174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4175 (eval "$ac_try") 2>&5
4177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4178 (exit $ac_status); }; } &&
4179 { ac_try
='test -s conftest.$ac_objext'
4180 { (case "(($ac_try" in
4181 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4182 *) ac_try_echo=$ac_try;;
4184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4185 (eval "$ac_try") 2>&5
4187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4188 (exit $ac_status); }; }; then
4189 # It does; now see whether it defined to BIG_ENDIAN or not.
4190 cat >conftest.$ac_ext <<_ACEOF
4193 cat confdefs.h >>conftest.$ac_ext
4194 cat >>conftest.$ac_ext <<_ACEOF
4195 /* end confdefs.h. */
4196 #include <sys/types.h>
4197 #include <sys/param.h>
4202 #if BYTE_ORDER != BIG_ENDIAN
4210 rm -f conftest.$ac_objext
4211 if { (ac_try="$ac_compile"
4213 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4214 *) ac_try_echo
=$ac_try;;
4216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4217 (eval "$ac_compile") 2>conftest.er1
4219 grep -v '^ *+' conftest.er1
>conftest.err
4221 cat conftest.err
>&5
4222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4223 (exit $ac_status); } &&
4224 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4225 { (case "(($ac_try" in
4226 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4227 *) ac_try_echo=$ac_try;;
4229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4230 (eval "$ac_try") 2>&5
4232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4233 (exit $ac_status); }; } &&
4234 { ac_try='test -s conftest.$ac_objext'
4235 { (case "(($ac_try" in
4236 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4237 *) ac_try_echo
=$ac_try;;
4239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4240 (eval "$ac_try") 2>&5
4242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4243 (exit $ac_status); }; }; then
4244 ac_cv_c_bigendian
=yes
4246 echo "$as_me: failed program was:" >&5
4247 sed 's/^/| /' conftest.
$ac_ext >&5
4249 ac_cv_c_bigendian
=no
4252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4254 echo "$as_me: failed program was:" >&5
4255 sed 's/^/| /' conftest.
$ac_ext >&5
4257 # It does not; compile a test program.
4258 if test "$cross_compiling" = yes; then
4259 # try to guess the endianness by grepping values into an object file
4260 ac_cv_c_bigendian
=unknown
4261 cat >conftest.
$ac_ext <<_ACEOF
4264 cat confdefs.h
>>conftest.
$ac_ext
4265 cat >>conftest.
$ac_ext <<_ACEOF
4266 /* end confdefs.h. */
4267 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4268 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4269 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4270 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4271 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4272 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4276 _ascii (); _ebcdic ();
4281 rm -f conftest.
$ac_objext
4282 if { (ac_try
="$ac_compile"
4284 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4285 *) ac_try_echo=$ac_try;;
4287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4288 (eval "$ac_compile") 2>conftest.er1
4290 grep -v '^ *+' conftest.er1 >conftest.err
4292 cat conftest.err >&5
4293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4294 (exit $ac_status); } &&
4295 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4296 { (case "(($ac_try" in
4297 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4298 *) ac_try_echo
=$ac_try;;
4300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4301 (eval "$ac_try") 2>&5
4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304 (exit $ac_status); }; } &&
4305 { ac_try
='test -s conftest.$ac_objext'
4306 { (case "(($ac_try" in
4307 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4308 *) ac_try_echo=$ac_try;;
4310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4311 (eval "$ac_try") 2>&5
4313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4314 (exit $ac_status); }; }; then
4315 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4316 ac_cv_c_bigendian=yes
4318 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4319 if test "$ac_cv_c_bigendian" = unknown; then
4320 ac_cv_c_bigendian=no
4322 # finding both strings is unlikely to happen, but who knows?
4323 ac_cv_c_bigendian=unknown
4327 echo "$as_me: failed program was:" >&5
4328 sed 's/^/| /' conftest.$ac_ext >&5
4333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4335 cat >conftest.$ac_ext <<_ACEOF
4338 cat confdefs.h >>conftest.$ac_ext
4339 cat >>conftest.$ac_ext <<_ACEOF
4340 /* end confdefs.h. */
4341 $ac_includes_default
4346 /* Are we little or big endian? From Harbison&Steele. */
4350 char c[sizeof (long int)];
4353 return u.c[sizeof (long int) - 1] == 1;
4359 rm -f conftest$ac_exeext
4360 if { (ac_try="$ac_link"
4362 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4363 *) ac_try_echo
=$ac_try;;
4365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4366 (eval "$ac_link") 2>&5
4368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4369 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4370 { (case "(($ac_try" in
4371 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4372 *) ac_try_echo=$ac_try;;
4374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4375 (eval "$ac_try") 2>&5
4377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4378 (exit $ac_status); }; }; then
4379 ac_cv_c_bigendian=no
4381 echo "$as_me: program exited with status $ac_status" >&5
4382 echo "$as_me: failed program was:" >&5
4383 sed 's/^/| /' conftest.$ac_ext >&5
4386 ac_cv_c_bigendian=yes
4388 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4396 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4397 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
4398 case $ac_cv_c_bigendian in
4406 { { echo "$as_me:$LINENO: error: unknown endianness
4407 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4408 echo "$as_me: error: unknown endianness
4409 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4410 { (exit 1); exit 1; }; } ;;
4414 if test "$cross_compiling" = yes; then
4415 LLVM_CROSS_COMPILING=1
4418 { echo "$as_me:$LINENO: checking for executable suffix on build platform" >&5
4419 echo $ECHO_N "checking for executable suffix on build platform... $ECHO_C" >&6; }
4420 if test "${ac_cv_build_exeext+set}" = set; then
4421 echo $ECHO_N "(cached) $ECHO_C" >&6
4423 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
4424 ac_cv_build_exeext=.exe
4426 ac_build_prefix=${build_alias}-
4428 # Extract the first word of "${ac_build_prefix}gcc", so it can be a program name with args.
4429 set dummy ${ac_build_prefix}gcc; ac_word=$2
4430 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4432 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4433 echo $ECHO_N "(cached) $ECHO_C" >&6
4435 if test -n "$BUILD_CC"; then
4436 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4442 test -z "$as_dir" && as_dir=.
4443 for ac_exec_ext in '' $ac_executable_extensions; do
4444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4445 ac_cv_prog_BUILD_CC="${ac_build_prefix}gcc"
4446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4455 BUILD_CC=$ac_cv_prog_BUILD_CC
4456 if test -n "$BUILD_CC"; then
4457 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4458 echo "${ECHO_T}$BUILD_CC" >&6; }
4460 { echo "$as_me:$LINENO: result: no" >&5
4461 echo "${ECHO_T}no" >&6; }
4465 if test -z "$BUILD_CC"; then
4466 # Extract the first word of "gcc", so it can be a program name with args.
4467 set dummy gcc; ac_word=$2
4468 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4470 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4471 echo $ECHO_N "(cached) $ECHO_C" >&6
4473 if test -n "$BUILD_CC"; then
4474 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4480 test -z "$as_dir" && as_dir=.
4481 for ac_exec_ext in '' $ac_executable_extensions; do
4482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4483 ac_cv_prog_BUILD_CC="gcc"
4484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4493 BUILD_CC=$ac_cv_prog_BUILD_CC
4494 if test -n "$BUILD_CC"; then
4495 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4496 echo "${ECHO_T}$BUILD_CC" >&6; }
4498 { echo "$as_me:$LINENO: result: no" >&5
4499 echo "${ECHO_T}no" >&6; }
4503 if test -z "$BUILD_CC"; then
4504 # Extract the first word of "cc", so it can be a program name with args.
4505 set dummy cc; ac_word=$2
4506 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4508 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4509 echo $ECHO_N "(cached) $ECHO_C" >&6
4511 if test -n "$BUILD_CC"; then
4512 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4519 test -z "$as_dir" && as_dir=.
4520 for ac_exec_ext in '' $ac_executable_extensions; do
4521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4522 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4523 ac_prog_rejected=yes
4526 ac_cv_prog_BUILD_CC="cc"
4527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4534 if test $ac_prog_rejected = yes; then
4535 # We found a bogon in the path, so make sure we never use it.
4536 set dummy $ac_cv_prog_BUILD_CC
4538 if test $# != 0; then
4539 # We chose a different compiler from the bogus one.
4540 # However, it has the same basename, so the bogon will be chosen
4541 # first if we set BUILD_CC to just the basename; use the full file name.
4543 ac_cv_prog_BUILD_CC="$as_dir/$ac_word${1+' '}$@"
4548 BUILD_CC=$ac_cv_prog_BUILD_CC
4549 if test -n "$BUILD_CC"; then
4550 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4551 echo "${ECHO_T}$BUILD_CC" >&6; }
4553 { echo "$as_me:$LINENO: result: no" >&5
4554 echo "${ECHO_T}no" >&6; }
4560 test -z "$BUILD_CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
4561 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
4562 { (exit 1); exit 1; }; }
4563 ac_build_link='${BUILD_CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4565 echo 'int main () { return 0; }' > conftest.$ac_ext
4567 if { (eval echo "$as_me:$LINENO: \"$ac_build_link\"") >&5
4568 (eval $ac_build_link) 2>&5
4570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4571 (exit $ac_status); }; then
4572 for file in conftest.*; do
4574 *.c | *.o | *.obj | *.dSYM) ;;
4575 *) ac_cv_build_exeext=`echo $file |
sed -e s
/conftest
//` ;;
4579 { { echo "$as_me:$LINENO: error: installation or configuration problem: compiler cannot create executables." >&5
4580 echo "$as_me: error: installation or configuration problem: compiler cannot create executables." >&2;}
4581 { (exit 1); exit 1; }; }
4584 test x"${ac_cv_build_exeext}" = x && ac_cv_build_exeext=blank
4589 test x"${ac_cv_build_exeext}" != xblank && BUILD_EXEEXT=${ac_cv_build_exeext}
4590 { echo "$as_me:$LINENO: result: ${ac_cv_build_exeext}" >&5
4591 echo "${ECHO_T}${ac_cv_build_exeext}" >&6; }
4592 ac_build_exeext=$BUILD_EXEEXT
4594 ac_build_prefix=${build_alias}-
4595 # Extract the first word of "${ac_build_prefix}g++", so it can be a program name with args.
4596 set dummy ${ac_build_prefix}g++; ac_word=$2
4597 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4599 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
4600 echo $ECHO_N "(cached) $ECHO_C" >&6
4602 if test -n "$BUILD_CXX"; then
4603 ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
4605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4609 test -z "$as_dir" && as_dir=.
4610 for ac_exec_ext in '' $ac_executable_extensions; do
4611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4612 ac_cv_prog_BUILD_CXX="${ac_build_prefix}g++"
4613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4622 BUILD_CXX=$ac_cv_prog_BUILD_CXX
4623 if test -n "$BUILD_CXX"; then
4624 { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
4625 echo "${ECHO_T}$BUILD_CXX" >&6; }
4627 { echo "$as_me:$LINENO: result: no" >&5
4628 echo "${ECHO_T}no" >&6; }
4632 if test -z "$BUILD_CXX"; then
4633 # Extract the first word of "g++", so it can be a program name with args.
4634 set dummy g++; ac_word=$2
4635 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4637 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
4638 echo $ECHO_N "(cached) $ECHO_C" >&6
4640 if test -n "$BUILD_CXX"; then
4641 ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
4643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4647 test -z "$as_dir" && as_dir=.
4648 for ac_exec_ext in '' $ac_executable_extensions; do
4649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4650 ac_cv_prog_BUILD_CXX="g++"
4651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4660 BUILD_CXX=$ac_cv_prog_BUILD_CXX
4661 if test -n "$BUILD_CXX"; then
4662 { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
4663 echo "${ECHO_T}$BUILD_CXX" >&6; }
4665 { echo "$as_me:$LINENO: result: no" >&5
4666 echo "${ECHO_T}no" >&6; }
4670 if test -z "$BUILD_CXX"; then
4671 # Extract the first word of "c++", so it can be a program name with args.
4672 set dummy c++; ac_word=$2
4673 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4675 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
4676 echo $ECHO_N "(cached) $ECHO_C" >&6
4678 if test -n "$BUILD_CXX"; then
4679 ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
4682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4686 test -z "$as_dir" && as_dir=.
4687 for ac_exec_ext in '' $ac_executable_extensions; do
4688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4689 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/c++"; then
4690 ac_prog_rejected=yes
4693 ac_cv_prog_BUILD_CXX="c++"
4694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4701 if test $ac_prog_rejected = yes; then
4702 # We found a bogon in the path, so make sure we never use it.
4703 set dummy $ac_cv_prog_BUILD_CXX
4705 if test $# != 0; then
4706 # We chose a different compiler from the bogus one.
4707 # However, it has the same basename, so the bogon will be chosen
4708 # first if we set BUILD_CXX to just the basename; use the full file name.
4710 ac_cv_prog_BUILD_CXX="$as_dir/$ac_word${1+' '}$@"
4715 BUILD_CXX=$ac_cv_prog_BUILD_CXX
4716 if test -n "$BUILD_CXX"; then
4717 { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
4718 echo "${ECHO_T}$BUILD_CXX" >&6; }
4720 { echo "$as_me:$LINENO: result: no" >&5
4721 echo "${ECHO_T}no" >&6; }
4728 LLVM_CROSS_COMPILING=0
4732 if test -d ".svn" -o -d "${srcdir}/.svn" -o -d ".git" -o -d "${srcdir}/.git"; then
4743 # Check whether --enable-optimized was given.
4744 if test "${enable_optimized+set}" = set; then
4745 enableval=$enable_optimized;
4750 if test ${enableval} = "no" ; then
4754 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
4758 # Check whether --enable-profiling was given.
4759 if test "${enable_profiling+set}" = set; then
4760 enableval=$enable_profiling;
4765 if test ${enableval} = "no" ; then
4769 ENABLE_PROFILING=ENABLE_PROFILING=1
4773 # Check whether --enable-assertions was given.
4774 if test "${enable_assertions+set}" = set; then
4775 enableval=$enable_assertions;
4780 if test ${enableval} = "yes" ; then
4784 DISABLE_ASSERTIONS=DISABLE_ASSERTIONS=1
4788 # Check whether --enable-expensive-checks was given.
4789 if test "${enable_expensive_checks+set}" = set; then
4790 enableval=$enable_expensive_checks;
4795 if test ${enableval} = "yes" ; then
4796 ENABLE_EXPENSIVE_CHECKS=ENABLE_EXPENSIVE_CHECKS=1
4798 EXPENSIVE_CHECKS=yes
4801 ENABLE_EXPENSIVE_CHECKS=
4807 # Check whether --enable-debug-runtime was given.
4808 if test "${enable_debug_runtime+set}" = set; then
4809 enableval=$enable_debug_runtime;
4814 if test ${enableval} = "no" ; then
4818 DEBUG_RUNTIME=DEBUG_RUNTIME=1
4822 # Check whether --enable-debug-symbols was given.
4823 if test "${enable_debug_symbols+set}" = set; then
4824 enableval=$enable_debug_symbols;
4829 if test ${enableval} = "no" ; then
4833 DEBUG_SYMBOLS=DEBUG_SYMBOLS=1
4837 # Check whether --enable-jit was given.
4838 if test "${enable_jit+set}" = set; then
4839 enableval=$enable_jit;
4844 if test ${enableval} = "no"
4849 case "$llvm_cv_target_arch" in
4850 x86) TARGET_HAS_JIT=1
4852 Sparc) TARGET_HAS_JIT=0
4854 PowerPC) TARGET_HAS_JIT=1
4856 x86_64) TARGET_HAS_JIT=1
4858 Alpha) TARGET_HAS_JIT=0
4860 ARM) TARGET_HAS_JIT=1
4862 Mips) TARGET_HAS_JIT=0
4864 XCore) TARGET_HAS_JIT=0
4866 MSP430) TARGET_HAS_JIT=0
4868 SystemZ) TARGET_HAS_JIT=0
4870 Blackfin) TARGET_HAS_JIT=0
4872 MBlaze) TARGET_HAS_JIT=0
4874 PTX) TARGET_HAS_JIT=0
4881 # Check whether --enable-docs was given.
4882 if test "${enable_docs+set}" = set; then
4883 enableval=$enable_docs;
4888 case "$enableval" in
4893 default) ENABLE_DOCS=1
4895 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-docs. Use \"yes\" or \"no\"" >&5
4896 echo "$as_me: error: Invalid setting for --enable-docs. Use \"yes\" or \"no\"" >&2;}
4897 { (exit 1); exit 1; }; } ;;
4900 # Check whether --enable-doxygen was given.
4901 if test "${enable_doxygen+set}" = set; then
4902 enableval=$enable_doxygen;
4907 case "$enableval" in
4908 yes) ENABLE_DOXYGEN=1
4910 no) ENABLE_DOXYGEN=0
4912 default) ENABLE_DOXYGEN=0
4914 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&5
4915 echo "$as_me: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&2;}
4916 { (exit 1); exit 1; }; } ;;
4919 # Check whether --enable-threads was given.
4920 if test "${enable_threads+set}" = set; then
4921 enableval=$enable_threads;
4926 case "$enableval" in
4927 yes) ENABLE_THREADS=1
4929 no) ENABLE_THREADS=0
4931 default) ENABLE_THREADS=1
4933 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&5
4934 echo "$as_me: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&2;}
4935 { (exit 1); exit 1; }; } ;;
4938 cat >>confdefs.h <<_ACEOF
4939 #define ENABLE_THREADS $ENABLE_THREADS
4943 # Check whether --enable-pthreads was given.
4944 if test "${enable_pthreads+set}" = set; then
4945 enableval=$enable_pthreads;
4950 case "$enableval" in
4951 yes) ENABLE_PTHREADS=1
4953 no) ENABLE_PTHREADS=0
4955 default) ENABLE_PTHREADS=1
4957 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-pthreads. Use \"yes\" or \"no\"" >&5
4958 echo "$as_me: error: Invalid setting for --enable-pthreads. Use \"yes\" or \"no\"" >&2;}
4959 { (exit 1); exit 1; }; } ;;
4962 # Check whether --enable-pic was given.
4963 if test "${enable_pic+set}" = set; then
4964 enableval=$enable_pic;
4969 case "$enableval" in
4974 default) ENABLE_PIC=1
4976 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-pic. Use \"yes\" or \"no\"" >&5
4977 echo "$as_me: error: Invalid setting for --enable-pic. Use \"yes\" or \"no\"" >&2;}
4978 { (exit 1); exit 1; }; } ;;
4981 cat >>confdefs.h <<_ACEOF
4982 #define ENABLE_PIC $ENABLE_PIC
4986 # Check whether --enable-shared was given.
4987 if test "${enable_shared+set}" = set; then
4988 enableval=$enable_shared;
4993 case "$enableval" in
4994 yes) ENABLE_SHARED=1
4998 default) ENABLE_SHARED=0
5000 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-shared. Use \"yes\" or \"no\"" >&5
5001 echo "$as_me: error: Invalid setting for --enable-shared. Use \"yes\" or \"no\"" >&2;}
5002 { (exit 1); exit 1; }; } ;;
5005 # Check whether --enable-embed-stdcxx was given.
5006 if test "${enable_embed_stdcxx+set}" = set; then
5007 enableval=$enable_embed_stdcxx;
5012 case "$enableval" in
5013 yes) ENABLE_EMBED_STDCXX=1
5015 no) ENABLE_EMBED_STDCXX=0
5017 default) ENABLE_EMBED_STDCXX=1
5019 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-embed-stdcxx. Use \"yes\" or \"no\"" >&5
5020 echo "$as_me: error: Invalid setting for --enable-embed-stdcxx. Use \"yes\" or \"no\"" >&2;}
5021 { (exit 1); exit 1; }; } ;;
5024 # Check whether --enable-timestamps was given.
5025 if test "${enable_timestamps+set}" = set; then
5026 enableval=$enable_timestamps;
5031 case "$enableval" in
5032 yes) ENABLE_TIMESTAMPS=1
5034 no) ENABLE_TIMESTAMPS=0
5036 default) ENABLE_TIMESTAMPS=1
5038 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-timestamps. Use \"yes\" or \"no\"" >&5
5039 echo "$as_me: error: Invalid setting for --enable-timestamps. Use \"yes\" or \"no\"" >&2;}
5040 { (exit 1); exit 1; }; } ;;
5043 cat >>confdefs.h <<_ACEOF
5044 #define ENABLE_TIMESTAMPS $ENABLE_TIMESTAMPS
5049 # Check whether --enable-targets was given.
5050 if test "${enable_targets+set}" = set; then
5051 enableval=$enable_targets;
5056 if test "$enableval" = host-only ; then
5059 case "$enableval" in
5060 all) TARGETS_TO_BUILD="X86 Sparc PowerPC Alpha ARM Mips CellSPU XCore MSP430 SystemZ Blackfin CBackend CppBackend MBlaze PTX" ;;
5061 *)for a_target in `echo $enableval|
sed -e 's/,/ /g' ` ; do
5063 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
5064 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
5065 sparc) TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;;
5066 powerpc) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
5067 alpha) TARGETS_TO_BUILD="Alpha $TARGETS_TO_BUILD" ;;
5068 arm) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
5069 mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
5070 spu) TARGETS_TO_BUILD="CellSPU $TARGETS_TO_BUILD" ;;
5071 xcore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;;
5072 msp430) TARGETS_TO_BUILD="MSP430 $TARGETS_TO_BUILD" ;;
5073 systemz) TARGETS_TO_BUILD="SystemZ $TARGETS_TO_BUILD" ;;
5074 blackfin) TARGETS_TO_BUILD="Blackfin $TARGETS_TO_BUILD" ;;
5075 cbe) TARGETS_TO_BUILD="CBackend $TARGETS_TO_BUILD" ;;
5076 cpp) TARGETS_TO_BUILD="CppBackend $TARGETS_TO_BUILD" ;;
5077 mblaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;;
5078 ptx) TARGETS_TO_BUILD="PTX $TARGETS_TO_BUILD" ;;
5079 host) case "$llvm_cv_target_arch" in
5080 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
5081 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
5082 Sparc) TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;;
5083 PowerPC) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
5084 Alpha) TARGETS_TO_BUILD="Alpha $TARGETS_TO_BUILD" ;;
5085 ARM) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
5086 Mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
5087 MBlaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;;
5088 CellSPU|SPU) TARGETS_TO_BUILD="CellSPU $TARGETS_TO_BUILD" ;;
5089 XCore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;;
5090 MSP430) TARGETS_TO_BUILD="MSP430 $TARGETS_TO_BUILD" ;;
5091 s390x) TARGETS_TO_BUILD="SystemZ $TARGETS_TO_BUILD" ;;
5092 Blackfin) TARGETS_TO_BUILD="Blackfin $TARGETS_TO_BUILD" ;;
5093 PTX) TARGETS_TO_BUILD="PTX $TARGETS_TO_BUILD" ;;
5094 *) { { echo "$as_me:$LINENO: error: Can not set target to build" >&5
5095 echo "$as_me: error: Can not set target to build" >&2;}
5096 { (exit 1); exit 1; }; } ;;
5098 *) { { echo "$as_me:$LINENO: error: Unrecognized target $a_target" >&5
5099 echo "$as_me: error: Unrecognized target $a_target" >&2;}
5100 { (exit 1); exit 1; }; } ;;
5105 TARGETS_TO_BUILD=$TARGETS_TO_BUILD
5108 # Determine whether we are building LLVM support for the native architecture.
5109 # If so, define LLVM_NATIVE_ARCH to that LLVM target.
5110 for a_target in $TARGETS_TO_BUILD; do
5111 if test "$a_target" = "$LLVM_NATIVE_ARCH"; then
5113 cat >>confdefs.h <<_ACEOF
5114 #define LLVM_NATIVE_ARCH $LLVM_NATIVE_ARCH
5117 LLVM_NATIVE_TARGET="LLVMInitialize${LLVM_NATIVE_ARCH}Target"
5118 LLVM_NATIVE_TARGETINFO="LLVMInitialize${LLVM_NATIVE_ARCH}TargetInfo"
5119 LLVM_NATIVE_ASMPRINTER="LLVMInitialize${LLVM_NATIVE_ARCH}AsmPrinter"
5121 cat >>confdefs.h <<_ACEOF
5122 #define LLVM_NATIVE_TARGET $LLVM_NATIVE_TARGET
5126 cat >>confdefs.h <<_ACEOF
5127 #define LLVM_NATIVE_TARGETINFO $LLVM_NATIVE_TARGETINFO
5131 cat >>confdefs.h <<_ACEOF
5132 #define LLVM_NATIVE_ASMPRINTER $LLVM_NATIVE_ASMPRINTER
5138 # Build the LLVM_TARGET and LLVM_... macros for Targets.def and the individual
5139 # target feature def files.
5140 LLVM_ENUM_TARGETS=""
5141 LLVM_ENUM_ASM_PRINTERS=""
5142 LLVM_ENUM_ASM_PARSERS=""
5143 LLVM_ENUM_DISASSEMBLERS=""
5144 for target_to_build in $TARGETS_TO_BUILD; do
5145 LLVM_ENUM_TARGETS="LLVM_TARGET($target_to_build) $LLVM_ENUM_TARGETS"
5146 if test -f ${srcdir}/lib/Target/${target_to_build}/*AsmPrinter.cpp ; then
5147 LLVM_ENUM_ASM_PRINTERS="LLVM_ASM_PRINTER($target_to_build) $LLVM_ENUM_ASM_PRINTERS";
5149 if test -f ${srcdir}/lib/Target/${target_to_build}/AsmParser/Makefile ; then
5150 LLVM_ENUM_ASM_PARSERS="LLVM_ASM_PARSER($target_to_build) $LLVM_ENUM_ASM_PARSERS";
5152 if test -f ${srcdir}/lib/Target/${target_to_build}/Disassembler/Makefile ; then
5153 LLVM_ENUM_DISASSEMBLERS="LLVM_DISASSEMBLER($target_to_build) $LLVM_ENUM_DISASSEMBLERS";
5161 # Check whether --enable-cbe-printf-a was given.
5162 if test "${enable_cbe_printf_a+set}" = set; then
5163 enableval=$enable_cbe_printf_a;
5168 case "$enableval" in
5169 yes) ENABLE_CBE_PRINTF_A=1
5171 no) ENABLE_CBE_PRINTF_A=0
5173 default) ENABLE_CBE_PRINTF_A=1
5175 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-cbe-printf-a. Use \"yes\" or \"no\"" >&5
5176 echo "$as_me: error: Invalid setting for --enable-cbe-printf-a. Use \"yes\" or \"no\"" >&2;}
5177 { (exit 1); exit 1; }; } ;;
5180 cat >>confdefs.h <<_ACEOF
5181 #define ENABLE_CBE_PRINTF_A $ENABLE_CBE_PRINTF_A
5186 # Check whether --with-llvmgccdir was given.
5187 if test "${with_llvmgccdir+set}" = set; then
5188 withval=$with_llvmgccdir;
5194 default) WITH_LLVMGCCDIR=default ;;
5195 /* | [A-Za-z]:[\\/]*) WITH_LLVMGCCDIR=$withval ;;
5196 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-llvmgccdir. Provide full path" >&5
5197 echo "$as_me: error: Invalid path for --with-llvmgccdir. Provide full path" >&2;}
5198 { (exit 1); exit 1; }; } ;;
5202 # Check whether --with-llvmgcc was given.
5203 if test "${with_llvmgcc+set}" = set; then
5204 withval=$with_llvmgcc; LLVMGCC=$with_llvmgcc
5210 # Check whether --with-llvmgxx was given.
5211 if test "${with_llvmgxx+set}" = set; then
5212 withval=$with_llvmgxx; LLVMGXX=$with_llvmgxx
5217 if test -n "$LLVMGCC"; then
5218 LLVMGCCCOMMAND="$LLVMGCC"
5221 if test -n "$LLVMGXX"; then
5222 LLVMGXXCOMMAND="$LLVMGXX"
5225 if test -n "$LLVMGCC" && test -z "$LLVMGXX"; then
5226 { { echo "$as_me:$LINENO: error: Invalid llvm-g++. Use --with-llvmgxx when --with-llvmgcc is used" >&5
5227 echo "$as_me: error: Invalid llvm-g++. Use --with-llvmgxx when --with-llvmgcc is used" >&2;}
5228 { (exit 1); exit 1; }; };
5231 if test -n "$LLVMGXX" && test -z "$LLVMGCC"; then
5232 { { echo "$as_me:$LINENO: error: Invalid llvm-gcc. Use --with-llvmgcc when --with-llvmgxx is used" >&5
5233 echo "$as_me: error: Invalid llvm-gcc. Use --with-llvmgcc when --with-llvmgxx is used" >&2;}
5234 { (exit 1); exit 1; }; };
5238 # Check whether --with-clang was given.
5239 if test "${with_clang+set}" = set; then
5240 withval=$with_clang;
5247 # Check whether --with-built-clang was given.
5248 if test "${with_built_clang+set}" = set; then
5249 withval=$with_built_clang;
5251 with_built_clang=check
5255 { echo "$as_me:$LINENO: checking clang compiler" >&5
5256 echo $ECHO_N "checking clang compiler... $ECHO_C" >&6; }
5259 if test "$with_clang" != "default"; then
5260 WITH_CLANGPATH="$with_clang"
5261 if ! test -x "$WITH_CLANGPATH"; then
5262 { { echo "$as_me:$LINENO: error: invalid --with-clang, path does not specify an executable" >&5
5263 echo "$as_me: error: invalid --with-clang, path does not specify an executable" >&2;}
5264 { (exit 1); exit 1; }; }
5266 elif test "$with_built_clang" = "yes"; then
5268 elif test "$with_built_clang" = "no"; then
5271 if test "$with_built_clang" != "check"; then
5272 { { echo "$as_me:$LINENO: error: invalid value for --with-built-clang." >&5
5273 echo "$as_me: error: invalid value for --with-built-clang." >&2;}
5274 { (exit 1); exit 1; }; }
5277 if test -f ${srcdir}/tools/clang/README.txt; then
5282 if ! test -z "$WITH_CLANGPATH"; then
5283 { echo "$as_me:$LINENO: result: $WITH_CLANGPATH" >&5
5284 echo "${ECHO_T}$WITH_CLANGPATH" >&6; }
5285 WITH_CLANGXXPATH=`"$WITH_CLANGPATH" --print-prog-name=clang
++`
5286 elif test "$WITH_BUILT_CLANG" = "1"; then
5287 { echo "$as_me:$LINENO: result: built" >&5
5288 echo "${ECHO_T}built" >&6; }
5290 { echo "$as_me:$LINENO: result: none" >&5
5291 echo "${ECHO_T}none" >&6; }
5293 CLANGPATH=$WITH_CLANGPATH
5295 CLANGXXPATH=$WITH_CLANGXXPATH
5297 ENABLE_BUILT_CLANG=$WITH_BUILT_CLANG
5301 # Check whether --with-optimize-option was given.
5302 if test "${with_optimize_option+set}" = set; then
5303 withval=$with_optimize_option;
5308 { echo "$as_me:$LINENO: checking optimization flags" >&5
5309 echo $ECHO_N "checking optimization flags... $ECHO_C" >&6; }
5312 case "$llvm_cv_os_type" in
5313 FreeBSD) optimize_option=-O2 ;;
5314 MingW) optimize_option=-O2 ;;
5315 *) optimize_option=-O3 ;;
5317 *) optimize_option="$withval" ;;
5319 OPTIMIZE_OPTION=$optimize_option
5321 { echo "$as_me:$LINENO: result: $optimize_option" >&5
5322 echo "${ECHO_T}$optimize_option" >&6; }
5325 # Check whether --with-extra-options was given.
5326 if test "${with_extra_options+set}" = set; then
5327 withval=$with_extra_options;
5333 default) EXTRA_OPTIONS= ;;
5334 *) EXTRA_OPTIONS=$withval ;;
5336 EXTRA_OPTIONS=$EXTRA_OPTIONS
5339 # Check whether --enable-bindings was given.
5340 if test "${enable_bindings+set}" = set; then
5341 enableval=$enable_bindings;
5346 BINDINGS_TO_BUILD=""
5347 case "$enableval" in
5348 yes | default | auto) BINDINGS_TO_BUILD="auto" ;;
5349 all ) BINDINGS_TO_BUILD="ocaml" ;;
5350 none | no) BINDINGS_TO_BUILD="" ;;
5351 *)for a_binding in `echo $enableval|
sed -e 's/,/ /g' ` ; do
5352 case "$a_binding" in
5353 ocaml) BINDINGS_TO_BUILD="ocaml $BINDINGS_TO_BUILD" ;;
5354 *) { { echo "$as_me:$LINENO: error: Unrecognized binding $a_binding" >&5
5355 echo "$as_me: error: Unrecognized binding $a_binding" >&2;}
5356 { (exit 1); exit 1; }; } ;;
5363 # Check whether --with-ocaml-libdir was given.
5364 if test "${with_ocaml_libdir+set}" = set; then
5365 withval=$with_ocaml_libdir;
5371 auto) with_ocaml_libdir="$withval" ;;
5372 /* | [A-Za-z]:[\\/]*) with_ocaml_libdir="$withval" ;;
5373 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-ocaml-libdir. Provide full path" >&5
5374 echo "$as_me: error: Invalid path for --with-ocaml-libdir. Provide full path" >&2;}
5375 { (exit 1); exit 1; }; } ;;
5379 # Check whether --with-clang-resource-dir was given.
5380 if test "${with_clang_resource_dir+set}" = set; then
5381 withval=$with_clang_resource_dir;
5387 cat >>confdefs.h <<_ACEOF
5388 #define CLANG_RESOURCE_DIR "$withval"
5393 # Check whether --with-c-include-dirs was given.
5394 if test "${with_c_include_dirs+set}" = set; then
5395 withval=$with_c_include_dirs;
5401 cat >>confdefs.h <<_ACEOF
5402 #define C_INCLUDE_DIRS "$withval"
5407 # Check whether --with-cxx-include-root was given.
5408 if test "${with_cxx_include_root+set}" = set; then
5409 withval=$with_cxx_include_root;
5415 cat >>confdefs.h <<_ACEOF
5416 #define CXX_INCLUDE_ROOT "$withval"
5421 # Check whether --with-cxx-include-arch was given.
5422 if test "${with_cxx_include_arch+set}" = set; then
5423 withval=$with_cxx_include_arch;
5429 cat >>confdefs.h <<_ACEOF
5430 #define CXX_INCLUDE_ARCH "$withval"
5435 # Check whether --with-cxx-include-32bit-dir was given.
5436 if test "${with_cxx_include_32bit_dir+set}" = set; then
5437 withval=$with_cxx_include_32bit_dir;
5443 cat >>confdefs.h <<_ACEOF
5444 #define CXX_INCLUDE_32BIT_DIR "$withval"
5449 # Check whether --with-cxx-include-64bit-dir was given.
5450 if test "${with_cxx_include_64bit_dir+set}" = set; then
5451 withval=$with_cxx_include_64bit_dir;
5457 cat >>confdefs.h <<_ACEOF
5458 #define CXX_INCLUDE_64BIT_DIR "$withval"
5463 # Check whether --with-binutils-include was given.
5464 if test "${with_binutils_include+set}" = set; then
5465 withval=$with_binutils_include;
5471 default) WITH_BINUTILS_INCDIR=default ;;
5472 /* | [A-Za-z]:[\\/]*) WITH_BINUTILS_INCDIR=$withval ;;
5473 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-binutils-include. Provide full path" >&5
5474 echo "$as_me: error: Invalid path for --with-binutils-include. Provide full path" >&2;}
5475 { (exit 1); exit 1; }; } ;;
5477 if test "x$WITH_BINUTILS_INCDIR" != xdefault ; then
5478 BINUTILS_INCDIR=$WITH_BINUTILS_INCDIR
5480 if test ! -f "$WITH_BINUTILS_INCDIR/plugin-api.h"; then
5481 echo "$WITH_BINUTILS_INCDIR/plugin-api.h"
5482 { { echo "$as_me:$LINENO: error: Invalid path to directory containing plugin-api.h." >&5
5483 echo "$as_me: error: Invalid path to directory containing plugin-api.h." >&2;}
5484 { (exit 1); exit 1; }; };
5488 # Check whether --enable-libffi was given.
5489 if test "${enable_libffi+set}" = set; then
5490 enableval=$enable_libffi; case "$enableval" in
5491 yes) llvm_cv_enable_libffi="yes" ;;
5492 no) llvm_cv_enable_libffi="no" ;;
5493 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-libffi. Use \"yes\" or \"no\"" >&5
5494 echo "$as_me: error: Invalid setting for --enable-libffi. Use \"yes\" or \"no\"" >&2;}
5495 { (exit 1); exit 1; }; } ;;
5498 llvm_cv_enable_libffi=no
5504 ac_cpp='$CPP $CPPFLAGS'
5505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5508 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5509 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5510 # On Suns, sometimes $CPP names a directory.
5511 if test -n "$CPP" && test -d "$CPP"; then
5514 if test -z "$CPP"; then
5515 if test "${ac_cv_prog_CPP+set}" = set; then
5516 echo $ECHO_N "(cached) $ECHO_C" >&6
5518 # Double quotes because CPP needs to be expanded
5519 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5522 for ac_c_preproc_warn_flag in '' yes
5524 # Use a header file that comes with gcc, so configuring glibc
5525 # with a fresh cross-compiler works.
5526 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5527 # <limits.h> exists even on freestanding compilers.
5528 # On the NeXT, cc -E runs the code through the compiler's parser,
5529 # not just through cpp. "Syntax error" is here to catch this case.
5530 cat >conftest.$ac_ext <<_ACEOF
5533 cat confdefs.h >>conftest.$ac_ext
5534 cat >>conftest.$ac_ext <<_ACEOF
5535 /* end confdefs.h. */
5537 # include <limits.h>
5539 # include <assert.h>
5543 if { (ac_try="$ac_cpp conftest.$ac_ext"
5545 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5546 *) ac_try_echo
=$ac_try;;
5548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5549 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5551 grep -v '^ *+' conftest.er1
>conftest.err
5553 cat conftest.err
>&5
5554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5555 (exit $ac_status); } >/dev
/null
; then
5556 if test -s conftest.err
; then
5557 ac_cpp_err
=$ac_c_preproc_warn_flag
5558 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5565 if test -z "$ac_cpp_err"; then
5568 echo "$as_me: failed program was:" >&5
5569 sed 's/^/| /' conftest.
$ac_ext >&5
5571 # Broken: fails on valid input.
5575 rm -f conftest.err conftest.
$ac_ext
5577 # OK, works on sane cases. Now check whether nonexistent headers
5578 # can be detected and how.
5579 cat >conftest.
$ac_ext <<_ACEOF
5582 cat confdefs.h
>>conftest.
$ac_ext
5583 cat >>conftest.
$ac_ext <<_ACEOF
5584 /* end confdefs.h. */
5585 #include <ac_nonexistent.h>
5587 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5589 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5590 *) ac_try_echo=$ac_try;;
5592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5593 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5595 grep -v '^ *+' conftest.er1 >conftest.err
5597 cat conftest.err >&5
5598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5599 (exit $ac_status); } >/dev/null; then
5600 if test -s conftest.err; then
5601 ac_cpp_err=$ac_c_preproc_warn_flag
5602 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5609 if test -z "$ac_cpp_err"; then
5610 # Broken: success on invalid input.
5613 echo "$as_me: failed program was:" >&5
5614 sed 's/^/| /' conftest.$ac_ext >&5
5616 # Passes both tests.
5621 rm -f conftest.err conftest.$ac_ext
5624 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5625 rm -f conftest.err conftest.
$ac_ext
5626 if $ac_preproc_ok; then
5638 { echo "$as_me:$LINENO: result: $CPP" >&5
5639 echo "${ECHO_T}$CPP" >&6; }
5641 for ac_c_preproc_warn_flag
in '' yes
5643 # Use a header file that comes with gcc, so configuring glibc
5644 # with a fresh cross-compiler works.
5645 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5646 # <limits.h> exists even on freestanding compilers.
5647 # On the NeXT, cc -E runs the code through the compiler's parser,
5648 # not just through cpp. "Syntax error" is here to catch this case.
5649 cat >conftest.
$ac_ext <<_ACEOF
5652 cat confdefs.h
>>conftest.
$ac_ext
5653 cat >>conftest.
$ac_ext <<_ACEOF
5654 /* end confdefs.h. */
5656 # include <limits.h>
5658 # include <assert.h>
5662 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5664 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5665 *) ac_try_echo=$ac_try;;
5667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5668 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5670 grep -v '^ *+' conftest.er1 >conftest.err
5672 cat conftest.err >&5
5673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5674 (exit $ac_status); } >/dev/null; then
5675 if test -s conftest.err; then
5676 ac_cpp_err=$ac_c_preproc_warn_flag
5677 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5684 if test -z "$ac_cpp_err"; then
5687 echo "$as_me: failed program was:" >&5
5688 sed 's/^/| /' conftest.$ac_ext >&5
5690 # Broken: fails on valid input.
5694 rm -f conftest.err conftest.$ac_ext
5696 # OK, works on sane cases. Now check whether nonexistent headers
5697 # can be detected and how.
5698 cat >conftest.$ac_ext <<_ACEOF
5701 cat confdefs.h >>conftest.$ac_ext
5702 cat >>conftest.$ac_ext <<_ACEOF
5703 /* end confdefs.h. */
5704 #include <ac_nonexistent.h>
5706 if { (ac_try="$ac_cpp conftest.$ac_ext"
5708 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5709 *) ac_try_echo
=$ac_try;;
5711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5712 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5714 grep -v '^ *+' conftest.er1
>conftest.err
5716 cat conftest.err
>&5
5717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5718 (exit $ac_status); } >/dev
/null
; then
5719 if test -s conftest.err
; then
5720 ac_cpp_err
=$ac_c_preproc_warn_flag
5721 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5728 if test -z "$ac_cpp_err"; then
5729 # Broken: success on invalid input.
5732 echo "$as_me: failed program was:" >&5
5733 sed 's/^/| /' conftest.
$ac_ext >&5
5735 # Passes both tests.
5740 rm -f conftest.err conftest.
$ac_ext
5743 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5744 rm -f conftest.err conftest.
$ac_ext
5745 if $ac_preproc_ok; then
5748 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5749 See \`config.log' for more details." >&5
5750 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5751 See \`config.log' for more details." >&2;}
5752 { (exit 1); exit 1; }; }
5756 ac_cpp
='$CPP $CPPFLAGS'
5757 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5758 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5759 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5762 ac_cpp
='$CPP $CPPFLAGS'
5763 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5764 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5765 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5766 if test -n "$ac_tool_prefix"; then
5769 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5770 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5771 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5773 if test "${ac_cv_prog_CC+set}" = set; then
5774 echo $ECHO_N "(cached) $ECHO_C" >&6
5776 if test -n "$CC"; then
5777 ac_cv_prog_CC
="$CC" # Let the user override the test.
5779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5783 test -z "$as_dir" && as_dir
=.
5784 for ac_exec_ext
in '' $ac_executable_extensions; do
5785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5786 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5797 if test -n "$CC"; then
5798 { echo "$as_me:$LINENO: result: $CC" >&5
5799 echo "${ECHO_T}$CC" >&6; }
5801 { echo "$as_me:$LINENO: result: no" >&5
5802 echo "${ECHO_T}no" >&6; }
5806 test -n "$CC" && break
5809 if test -z "$CC"; then
5813 # Extract the first word of "$ac_prog", so it can be a program name with args.
5814 set dummy
$ac_prog; ac_word
=$2
5815 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5817 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5818 echo $ECHO_N "(cached) $ECHO_C" >&6
5820 if test -n "$ac_ct_CC"; then
5821 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5827 test -z "$as_dir" && as_dir
=.
5828 for ac_exec_ext
in '' $ac_executable_extensions; do
5829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5830 ac_cv_prog_ac_ct_CC
="$ac_prog"
5831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5840 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5841 if test -n "$ac_ct_CC"; then
5842 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5843 echo "${ECHO_T}$ac_ct_CC" >&6; }
5845 { echo "$as_me:$LINENO: result: no" >&5
5846 echo "${ECHO_T}no" >&6; }
5850 test -n "$ac_ct_CC" && break
5853 if test "x$ac_ct_CC" = x
; then
5856 case $cross_compiling:$ac_tool_warned in
5858 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5859 whose name does not start with the host triplet. If you think this
5860 configuration is useful to you, please write to autoconf@gnu.org." >&5
5861 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5862 whose name does not start with the host triplet. If you think this
5863 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5864 ac_tool_warned
=yes ;;
5871 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5872 See \`config.log' for more details." >&5
5873 echo "$as_me: error: no acceptable C compiler found in \$PATH
5874 See \`config.log' for more details." >&2;}
5875 { (exit 1); exit 1; }; }
5877 # Provide some information about the compiler.
5878 echo "$as_me:$LINENO: checking for C compiler version" >&5
5879 ac_compiler
=`set X $ac_compile; echo $2`
5880 { (ac_try
="$ac_compiler --version >&5"
5882 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5883 *) ac_try_echo=$ac_try;;
5885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5886 (eval "$ac_compiler --version >&5") 2>&5
5888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5889 (exit $ac_status); }
5890 { (ac_try="$ac_compiler -v >&5"
5892 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5893 *) ac_try_echo
=$ac_try;;
5895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5896 (eval "$ac_compiler -v >&5") 2>&5
5898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5899 (exit $ac_status); }
5900 { (ac_try
="$ac_compiler -V >&5"
5902 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5903 *) ac_try_echo=$ac_try;;
5905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5906 (eval "$ac_compiler -V >&5") 2>&5
5908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5909 (exit $ac_status); }
5911 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5912 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
5913 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5914 echo $ECHO_N "(cached) $ECHO_C" >&6
5916 cat >conftest.$ac_ext <<_ACEOF
5919 cat confdefs.h >>conftest.$ac_ext
5920 cat >>conftest.$ac_ext <<_ACEOF
5921 /* end confdefs.h. */
5934 rm -f conftest.$ac_objext
5935 if { (ac_try="$ac_compile"
5937 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5938 *) ac_try_echo
=$ac_try;;
5940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5941 (eval "$ac_compile") 2>conftest.er1
5943 grep -v '^ *+' conftest.er1
>conftest.err
5945 cat conftest.err
>&5
5946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5947 (exit $ac_status); } &&
5948 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5949 { (case "(($ac_try" in
5950 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5951 *) ac_try_echo=$ac_try;;
5953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5954 (eval "$ac_try") 2>&5
5956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5957 (exit $ac_status); }; } &&
5958 { ac_try='test -s conftest.$ac_objext'
5959 { (case "(($ac_try" in
5960 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5961 *) ac_try_echo
=$ac_try;;
5963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5964 (eval "$ac_try") 2>&5
5966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5967 (exit $ac_status); }; }; then
5970 echo "$as_me: failed program was:" >&5
5971 sed 's/^/| /' conftest.
$ac_ext >&5
5976 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5977 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
5980 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5981 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
5982 GCC
=`test $ac_compiler_gnu = yes && echo yes`
5983 ac_test_CFLAGS
=${CFLAGS+set}
5984 ac_save_CFLAGS
=$CFLAGS
5985 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5986 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
5987 if test "${ac_cv_prog_cc_g+set}" = set; then
5988 echo $ECHO_N "(cached) $ECHO_C" >&6
5990 ac_save_c_werror_flag
=$ac_c_werror_flag
5991 ac_c_werror_flag
=yes
5994 cat >conftest.
$ac_ext <<_ACEOF
5997 cat confdefs.h
>>conftest.
$ac_ext
5998 cat >>conftest.
$ac_ext <<_ACEOF
5999 /* end confdefs.h. */
6009 rm -f conftest.
$ac_objext
6010 if { (ac_try
="$ac_compile"
6012 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6013 *) ac_try_echo=$ac_try;;
6015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6016 (eval "$ac_compile") 2>conftest.er1
6018 grep -v '^ *+' conftest.er1 >conftest.err
6020 cat conftest.err >&5
6021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6022 (exit $ac_status); } &&
6023 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6024 { (case "(($ac_try" in
6025 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6026 *) ac_try_echo
=$ac_try;;
6028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6029 (eval "$ac_try") 2>&5
6031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6032 (exit $ac_status); }; } &&
6033 { ac_try
='test -s conftest.$ac_objext'
6034 { (case "(($ac_try" in
6035 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6036 *) ac_try_echo=$ac_try;;
6038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6039 (eval "$ac_try") 2>&5
6041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6042 (exit $ac_status); }; }; then
6045 echo "$as_me: failed program was:" >&5
6046 sed 's/^/| /' conftest.$ac_ext >&5
6049 cat >conftest.$ac_ext <<_ACEOF
6052 cat confdefs.h >>conftest.$ac_ext
6053 cat >>conftest.$ac_ext <<_ACEOF
6054 /* end confdefs.h. */
6064 rm -f conftest.$ac_objext
6065 if { (ac_try="$ac_compile"
6067 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6068 *) ac_try_echo
=$ac_try;;
6070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6071 (eval "$ac_compile") 2>conftest.er1
6073 grep -v '^ *+' conftest.er1
>conftest.err
6075 cat conftest.err
>&5
6076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6077 (exit $ac_status); } &&
6078 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6079 { (case "(($ac_try" in
6080 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6081 *) ac_try_echo=$ac_try;;
6083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6084 (eval "$ac_try") 2>&5
6086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6087 (exit $ac_status); }; } &&
6088 { ac_try='test -s conftest.$ac_objext'
6089 { (case "(($ac_try" in
6090 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6091 *) ac_try_echo
=$ac_try;;
6093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6094 (eval "$ac_try") 2>&5
6096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6097 (exit $ac_status); }; }; then
6100 echo "$as_me: failed program was:" >&5
6101 sed 's/^/| /' conftest.
$ac_ext >&5
6103 ac_c_werror_flag
=$ac_save_c_werror_flag
6105 cat >conftest.
$ac_ext <<_ACEOF
6108 cat confdefs.h
>>conftest.
$ac_ext
6109 cat >>conftest.
$ac_ext <<_ACEOF
6110 /* end confdefs.h. */
6120 rm -f conftest.
$ac_objext
6121 if { (ac_try
="$ac_compile"
6123 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6124 *) ac_try_echo=$ac_try;;
6126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6127 (eval "$ac_compile") 2>conftest.er1
6129 grep -v '^ *+' conftest.er1 >conftest.err
6131 cat conftest.err >&5
6132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6133 (exit $ac_status); } &&
6134 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6135 { (case "(($ac_try" in
6136 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6137 *) ac_try_echo
=$ac_try;;
6139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6140 (eval "$ac_try") 2>&5
6142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6143 (exit $ac_status); }; } &&
6144 { ac_try
='test -s conftest.$ac_objext'
6145 { (case "(($ac_try" in
6146 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6147 *) ac_try_echo=$ac_try;;
6149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6150 (eval "$ac_try") 2>&5
6152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6153 (exit $ac_status); }; }; then
6156 echo "$as_me: failed program was:" >&5
6157 sed 's/^/| /' conftest.$ac_ext >&5
6162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6169 ac_c_werror_flag=$ac_save_c_werror_flag
6171 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
6172 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
6173 if test "$ac_test_CFLAGS" = set; then
6174 CFLAGS=$ac_save_CFLAGS
6175 elif test $ac_cv_prog_cc_g = yes; then
6176 if test "$GCC" = yes; then
6182 if test "$GCC" = yes; then
6188 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
6189 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
6190 if test "${ac_cv_prog_cc_c89+set}" = set; then
6191 echo $ECHO_N "(cached) $ECHO_C" >&6
6193 ac_cv_prog_cc_c89=no
6195 cat >conftest.$ac_ext <<_ACEOF
6198 cat confdefs.h >>conftest.$ac_ext
6199 cat >>conftest.$ac_ext <<_ACEOF
6200 /* end confdefs.h. */
6203 #include <sys/types.h>
6204 #include <sys/stat.h>
6205 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6206 struct buf { int x; };
6207 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6208 static char *e (p, i)
6214 static char *f (char * (*g) (char **, int), char **p, ...)
6219 s = g (p, va_arg (v,int));
6224 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6225 function prototypes and stuff, but not '\xHH' hex character constants.
6226 These don't provoke an error unfortunately, instead are silently treated
6227 as 'x'. The following induces an error, until -std is added to get
6228 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6229 array size at least. It's necessary to write '\x00'==0 to get something
6230 that's true only with -std. */
6231 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6233 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6234 inside strings and character constants. */
6236 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6238 int test (int i, double x);
6239 struct s1 {int (*f) (int a);};
6240 struct s2 {int (*f) (double a);};
6241 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6247 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6252 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6253 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6255 CC="$ac_save_CC $ac_arg"
6256 rm -f conftest.$ac_objext
6257 if { (ac_try="$ac_compile"
6259 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6260 *) ac_try_echo
=$ac_try;;
6262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6263 (eval "$ac_compile") 2>conftest.er1
6265 grep -v '^ *+' conftest.er1
>conftest.err
6267 cat conftest.err
>&5
6268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6269 (exit $ac_status); } &&
6270 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6271 { (case "(($ac_try" in
6272 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6273 *) ac_try_echo=$ac_try;;
6275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6276 (eval "$ac_try") 2>&5
6278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6279 (exit $ac_status); }; } &&
6280 { ac_try='test -s conftest.$ac_objext'
6281 { (case "(($ac_try" in
6282 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6283 *) ac_try_echo
=$ac_try;;
6285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6286 (eval "$ac_try") 2>&5
6288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6289 (exit $ac_status); }; }; then
6290 ac_cv_prog_cc_c89
=$ac_arg
6292 echo "$as_me: failed program was:" >&5
6293 sed 's/^/| /' conftest.
$ac_ext >&5
6298 rm -f core conftest.err conftest.
$ac_objext
6299 test "x$ac_cv_prog_cc_c89" != "xno" && break
6301 rm -f conftest.
$ac_ext
6306 case "x$ac_cv_prog_cc_c89" in
6308 { echo "$as_me:$LINENO: result: none needed" >&5
6309 echo "${ECHO_T}none needed" >&6; } ;;
6311 { echo "$as_me:$LINENO: result: unsupported" >&5
6312 echo "${ECHO_T}unsupported" >&6; } ;;
6314 CC
="$CC $ac_cv_prog_cc_c89"
6315 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
6316 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
6321 ac_cpp
='$CPP $CPPFLAGS'
6322 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6323 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6324 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6327 ac_cpp
='$CXXCPP $CPPFLAGS'
6328 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6329 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6330 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6331 if test -z "$CXX"; then
6332 if test -n "$CCC"; then
6335 if test -n "$ac_tool_prefix"; then
6338 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6339 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6340 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6342 if test "${ac_cv_prog_CXX+set}" = set; then
6343 echo $ECHO_N "(cached) $ECHO_C" >&6
6345 if test -n "$CXX"; then
6346 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6352 test -z "$as_dir" && as_dir
=.
6353 for ac_exec_ext
in '' $ac_executable_extensions; do
6354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6355 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
6356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6366 if test -n "$CXX"; then
6367 { echo "$as_me:$LINENO: result: $CXX" >&5
6368 echo "${ECHO_T}$CXX" >&6; }
6370 { echo "$as_me:$LINENO: result: no" >&5
6371 echo "${ECHO_T}no" >&6; }
6375 test -n "$CXX" && break
6378 if test -z "$CXX"; then
6382 # Extract the first word of "$ac_prog", so it can be a program name with args.
6383 set dummy
$ac_prog; ac_word
=$2
6384 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6386 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6387 echo $ECHO_N "(cached) $ECHO_C" >&6
6389 if test -n "$ac_ct_CXX"; then
6390 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
6392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6396 test -z "$as_dir" && as_dir
=.
6397 for ac_exec_ext
in '' $ac_executable_extensions; do
6398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6399 ac_cv_prog_ac_ct_CXX
="$ac_prog"
6400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6409 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
6410 if test -n "$ac_ct_CXX"; then
6411 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6412 echo "${ECHO_T}$ac_ct_CXX" >&6; }
6414 { echo "$as_me:$LINENO: result: no" >&5
6415 echo "${ECHO_T}no" >&6; }
6419 test -n "$ac_ct_CXX" && break
6422 if test "x$ac_ct_CXX" = x
; then
6425 case $cross_compiling:$ac_tool_warned in
6427 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6428 whose name does not start with the host triplet. If you think this
6429 configuration is useful to you, please write to autoconf@gnu.org." >&5
6430 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6431 whose name does not start with the host triplet. If you think this
6432 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6433 ac_tool_warned
=yes ;;
6441 # Provide some information about the compiler.
6442 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
6443 ac_compiler
=`set X $ac_compile; echo $2`
6444 { (ac_try
="$ac_compiler --version >&5"
6446 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6447 *) ac_try_echo=$ac_try;;
6449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6450 (eval "$ac_compiler --version >&5") 2>&5
6452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6453 (exit $ac_status); }
6454 { (ac_try="$ac_compiler -v >&5"
6456 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6457 *) ac_try_echo
=$ac_try;;
6459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6460 (eval "$ac_compiler -v >&5") 2>&5
6462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6463 (exit $ac_status); }
6464 { (ac_try
="$ac_compiler -V >&5"
6466 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6467 *) ac_try_echo=$ac_try;;
6469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6470 (eval "$ac_compiler -V >&5") 2>&5
6472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6473 (exit $ac_status); }
6475 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6476 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
6477 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6478 echo $ECHO_N "(cached) $ECHO_C" >&6
6480 cat >conftest.$ac_ext <<_ACEOF
6483 cat confdefs.h >>conftest.$ac_ext
6484 cat >>conftest.$ac_ext <<_ACEOF
6485 /* end confdefs.h. */
6498 rm -f conftest.$ac_objext
6499 if { (ac_try="$ac_compile"
6501 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6502 *) ac_try_echo
=$ac_try;;
6504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6505 (eval "$ac_compile") 2>conftest.er1
6507 grep -v '^ *+' conftest.er1
>conftest.err
6509 cat conftest.err
>&5
6510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6511 (exit $ac_status); } &&
6512 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6513 { (case "(($ac_try" in
6514 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6515 *) ac_try_echo=$ac_try;;
6517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6518 (eval "$ac_try") 2>&5
6520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6521 (exit $ac_status); }; } &&
6522 { ac_try='test -s conftest.$ac_objext'
6523 { (case "(($ac_try" in
6524 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6525 *) ac_try_echo
=$ac_try;;
6527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6528 (eval "$ac_try") 2>&5
6530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6531 (exit $ac_status); }; }; then
6534 echo "$as_me: failed program was:" >&5
6535 sed 's/^/| /' conftest.
$ac_ext >&5
6540 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6541 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
6544 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6545 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
6546 GXX
=`test $ac_compiler_gnu = yes && echo yes`
6547 ac_test_CXXFLAGS
=${CXXFLAGS+set}
6548 ac_save_CXXFLAGS
=$CXXFLAGS
6549 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6550 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
6551 if test "${ac_cv_prog_cxx_g+set}" = set; then
6552 echo $ECHO_N "(cached) $ECHO_C" >&6
6554 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
6555 ac_cxx_werror_flag
=yes
6558 cat >conftest.
$ac_ext <<_ACEOF
6561 cat confdefs.h
>>conftest.
$ac_ext
6562 cat >>conftest.
$ac_ext <<_ACEOF
6563 /* end confdefs.h. */
6573 rm -f conftest.
$ac_objext
6574 if { (ac_try
="$ac_compile"
6576 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6577 *) ac_try_echo=$ac_try;;
6579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6580 (eval "$ac_compile") 2>conftest.er1
6582 grep -v '^ *+' conftest.er1 >conftest.err
6584 cat conftest.err >&5
6585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6586 (exit $ac_status); } &&
6587 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6588 { (case "(($ac_try" in
6589 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6590 *) ac_try_echo
=$ac_try;;
6592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6593 (eval "$ac_try") 2>&5
6595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6596 (exit $ac_status); }; } &&
6597 { ac_try
='test -s conftest.$ac_objext'
6598 { (case "(($ac_try" in
6599 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6600 *) ac_try_echo=$ac_try;;
6602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6603 (eval "$ac_try") 2>&5
6605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6606 (exit $ac_status); }; }; then
6607 ac_cv_prog_cxx_g=yes
6609 echo "$as_me: failed program was:" >&5
6610 sed 's/^/| /' conftest.$ac_ext >&5
6613 cat >conftest.$ac_ext <<_ACEOF
6616 cat confdefs.h >>conftest.$ac_ext
6617 cat >>conftest.$ac_ext <<_ACEOF
6618 /* end confdefs.h. */
6628 rm -f conftest.$ac_objext
6629 if { (ac_try="$ac_compile"
6631 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6632 *) ac_try_echo
=$ac_try;;
6634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6635 (eval "$ac_compile") 2>conftest.er1
6637 grep -v '^ *+' conftest.er1
>conftest.err
6639 cat conftest.err
>&5
6640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6641 (exit $ac_status); } &&
6642 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6643 { (case "(($ac_try" in
6644 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6645 *) ac_try_echo=$ac_try;;
6647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6648 (eval "$ac_try") 2>&5
6650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6651 (exit $ac_status); }; } &&
6652 { ac_try='test -s conftest.$ac_objext'
6653 { (case "(($ac_try" in
6654 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6655 *) ac_try_echo
=$ac_try;;
6657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6658 (eval "$ac_try") 2>&5
6660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6661 (exit $ac_status); }; }; then
6664 echo "$as_me: failed program was:" >&5
6665 sed 's/^/| /' conftest.
$ac_ext >&5
6667 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
6669 cat >conftest.
$ac_ext <<_ACEOF
6672 cat confdefs.h
>>conftest.
$ac_ext
6673 cat >>conftest.
$ac_ext <<_ACEOF
6674 /* end confdefs.h. */
6684 rm -f conftest.
$ac_objext
6685 if { (ac_try
="$ac_compile"
6687 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6688 *) ac_try_echo=$ac_try;;
6690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6691 (eval "$ac_compile") 2>conftest.er1
6693 grep -v '^ *+' conftest.er1 >conftest.err
6695 cat conftest.err >&5
6696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6697 (exit $ac_status); } &&
6698 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6699 { (case "(($ac_try" in
6700 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6701 *) ac_try_echo
=$ac_try;;
6703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6704 (eval "$ac_try") 2>&5
6706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6707 (exit $ac_status); }; } &&
6708 { ac_try
='test -s conftest.$ac_objext'
6709 { (case "(($ac_try" in
6710 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6711 *) ac_try_echo=$ac_try;;
6713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6714 (eval "$ac_try") 2>&5
6716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6717 (exit $ac_status); }; }; then
6718 ac_cv_prog_cxx_g=yes
6720 echo "$as_me: failed program was:" >&5
6721 sed 's/^/| /' conftest.$ac_ext >&5
6726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6733 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6735 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6736 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
6737 if test "$ac_test_CXXFLAGS" = set; then
6738 CXXFLAGS=$ac_save_CXXFLAGS
6739 elif test $ac_cv_prog_cxx_g = yes; then
6740 if test "$GXX" = yes; then
6746 if test "$GXX" = yes; then
6753 ac_cpp='$CPP $CPPFLAGS'
6754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6759 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
6760 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
6761 if test "${lt_cv_path_NM+set}" = set; then
6762 echo $ECHO_N "(cached) $ECHO_C" >&6
6764 if test -n "$NM"; then
6765 # Let the user override the test.
6768 lt_nm_to_check="${ac_tool_prefix}nm"
6769 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6770 lt_nm_to_check="$lt_nm_to_check nm"
6772 for lt_tmp_nm in $lt_nm_to_check; do
6773 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6774 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6776 test -z "$ac_dir" && ac_dir=.
6777 tmp_nm="$ac_dir/$lt_tmp_nm"
6778 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6779 # Check to see if the nm accepts a BSD-compat flag.
6780 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
6781 # nm: unknown option "B" ignored
6782 # Tru64's nm complains that
/dev
/null is an invalid object
file
6783 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6784 */dev
/null
* |
*'Invalid file or object type'*)
6785 lt_cv_path_NM
="$tmp_nm -B"
6789 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6791 lt_cv_path_NM
="$tmp_nm -p"
6795 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6796 continue # so that we can try to find one that supports BSD flags
6805 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
6808 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6809 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
6814 { echo "$as_me:$LINENO: checking for GNU make" >&5
6815 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6; }
6816 if test "${llvm_cv_gnu_make_command+set}" = set; then
6817 echo $ECHO_N "(cached) $ECHO_C" >&6
6819 llvm_cv_gnu_make_command
=''
6820 for a
in "$MAKE" make gmake gnumake
; do
6821 if test -z "$a" ; then continue ; fi ;
6822 if ( sh
-c "$a --version" 2> /dev
/null |
grep GNU
2>&1 > /dev
/null
)
6824 llvm_cv_gnu_make_command
=$a ;
6829 { echo "$as_me:$LINENO: result: $llvm_cv_gnu_make_command" >&5
6830 echo "${ECHO_T}$llvm_cv_gnu_make_command" >&6; }
6831 if test "x$llvm_cv_gnu_make_command" != "x" ; then
6835 { echo "$as_me:$LINENO: result: \"Not found\"" >&5
6836 echo "${ECHO_T}\"Not found\"" >&6; };
6840 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6841 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6843 if test "$LN_S" = "ln -s"; then
6844 { echo "$as_me:$LINENO: result: yes" >&5
6845 echo "${ECHO_T}yes" >&6; }
6847 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6848 echo "${ECHO_T}no, using $LN_S" >&6; }
6851 # Extract the first word of "cmp", so it can be a program name with args.
6852 set dummy
cmp; ac_word
=$2
6853 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6855 if test "${ac_cv_path_CMP+set}" = set; then
6856 echo $ECHO_N "(cached) $ECHO_C" >&6
6860 ac_cv_path_CMP
="$CMP" # Let the user override the test with a path.
6863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6867 test -z "$as_dir" && as_dir
=.
6868 for ac_exec_ext
in '' $ac_executable_extensions; do
6869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6870 ac_cv_path_CMP
="$as_dir/$ac_word$ac_exec_ext"
6871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6878 test -z "$ac_cv_path_CMP" && ac_cv_path_CMP
="cmp"
6883 if test -n "$CMP"; then
6884 { echo "$as_me:$LINENO: result: $CMP" >&5
6885 echo "${ECHO_T}$CMP" >&6; }
6887 { echo "$as_me:$LINENO: result: no" >&5
6888 echo "${ECHO_T}no" >&6; }
6892 # Extract the first word of "cp", so it can be a program name with args.
6893 set dummy
cp; ac_word
=$2
6894 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6896 if test "${ac_cv_path_CP+set}" = set; then
6897 echo $ECHO_N "(cached) $ECHO_C" >&6
6901 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
6904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6908 test -z "$as_dir" && as_dir
=.
6909 for ac_exec_ext
in '' $ac_executable_extensions; do
6910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6911 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
6912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6919 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
6924 if test -n "$CP"; then
6925 { echo "$as_me:$LINENO: result: $CP" >&5
6926 echo "${ECHO_T}$CP" >&6; }
6928 { echo "$as_me:$LINENO: result: no" >&5
6929 echo "${ECHO_T}no" >&6; }
6933 # Extract the first word of "date", so it can be a program name with args.
6934 set dummy
date; ac_word
=$2
6935 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6937 if test "${ac_cv_path_DATE+set}" = set; then
6938 echo $ECHO_N "(cached) $ECHO_C" >&6
6942 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
6945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6949 test -z "$as_dir" && as_dir
=.
6950 for ac_exec_ext
in '' $ac_executable_extensions; do
6951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6952 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
6953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6960 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE
="date"
6964 DATE
=$ac_cv_path_DATE
6965 if test -n "$DATE"; then
6966 { echo "$as_me:$LINENO: result: $DATE" >&5
6967 echo "${ECHO_T}$DATE" >&6; }
6969 { echo "$as_me:$LINENO: result: no" >&5
6970 echo "${ECHO_T}no" >&6; }
6974 # Extract the first word of "find", so it can be a program name with args.
6975 set dummy
find; ac_word
=$2
6976 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6978 if test "${ac_cv_path_FIND+set}" = set; then
6979 echo $ECHO_N "(cached) $ECHO_C" >&6
6983 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
6986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6990 test -z "$as_dir" && as_dir
=.
6991 for ac_exec_ext
in '' $ac_executable_extensions; do
6992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6993 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
6994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7001 test -z "$ac_cv_path_FIND" && ac_cv_path_FIND
="find"
7005 FIND
=$ac_cv_path_FIND
7006 if test -n "$FIND"; then
7007 { echo "$as_me:$LINENO: result: $FIND" >&5
7008 echo "${ECHO_T}$FIND" >&6; }
7010 { echo "$as_me:$LINENO: result: no" >&5
7011 echo "${ECHO_T}no" >&6; }
7015 # Extract the first word of "grep", so it can be a program name with args.
7016 set dummy
grep; ac_word
=$2
7017 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7019 if test "${ac_cv_path_GREP+set}" = set; then
7020 echo $ECHO_N "(cached) $ECHO_C" >&6
7024 ac_cv_path_GREP
="$GREP" # Let the user override the test with a path.
7027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7031 test -z "$as_dir" && as_dir
=.
7032 for ac_exec_ext
in '' $ac_executable_extensions; do
7033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7034 ac_cv_path_GREP
="$as_dir/$ac_word$ac_exec_ext"
7035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7042 test -z "$ac_cv_path_GREP" && ac_cv_path_GREP
="grep"
7046 GREP
=$ac_cv_path_GREP
7047 if test -n "$GREP"; then
7048 { echo "$as_me:$LINENO: result: $GREP" >&5
7049 echo "${ECHO_T}$GREP" >&6; }
7051 { echo "$as_me:$LINENO: result: no" >&5
7052 echo "${ECHO_T}no" >&6; }
7056 # Extract the first word of "mkdir", so it can be a program name with args.
7057 set dummy mkdir
; ac_word
=$2
7058 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7060 if test "${ac_cv_path_MKDIR+set}" = set; then
7061 echo $ECHO_N "(cached) $ECHO_C" >&6
7065 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
7068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7072 test -z "$as_dir" && as_dir
=.
7073 for ac_exec_ext
in '' $ac_executable_extensions; do
7074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7075 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
7076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7083 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR
="mkdir"
7087 MKDIR
=$ac_cv_path_MKDIR
7088 if test -n "$MKDIR"; then
7089 { echo "$as_me:$LINENO: result: $MKDIR" >&5
7090 echo "${ECHO_T}$MKDIR" >&6; }
7092 { echo "$as_me:$LINENO: result: no" >&5
7093 echo "${ECHO_T}no" >&6; }
7097 # Extract the first word of "mv", so it can be a program name with args.
7098 set dummy
mv; ac_word
=$2
7099 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7101 if test "${ac_cv_path_MV+set}" = set; then
7102 echo $ECHO_N "(cached) $ECHO_C" >&6
7106 ac_cv_path_MV
="$MV" # Let the user override the test with a path.
7109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7113 test -z "$as_dir" && as_dir
=.
7114 for ac_exec_ext
in '' $ac_executable_extensions; do
7115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7116 ac_cv_path_MV
="$as_dir/$ac_word$ac_exec_ext"
7117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7124 test -z "$ac_cv_path_MV" && ac_cv_path_MV
="mv"
7129 if test -n "$MV"; then
7130 { echo "$as_me:$LINENO: result: $MV" >&5
7131 echo "${ECHO_T}$MV" >&6; }
7133 { echo "$as_me:$LINENO: result: no" >&5
7134 echo "${ECHO_T}no" >&6; }
7138 if test -n "$ac_tool_prefix"; then
7139 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7140 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7143 if test "${ac_cv_prog_RANLIB+set}" = set; then
7144 echo $ECHO_N "(cached) $ECHO_C" >&6
7146 if test -n "$RANLIB"; then
7147 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7153 test -z "$as_dir" && as_dir
=.
7154 for ac_exec_ext
in '' $ac_executable_extensions; do
7155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7156 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7166 RANLIB
=$ac_cv_prog_RANLIB
7167 if test -n "$RANLIB"; then
7168 { echo "$as_me:$LINENO: result: $RANLIB" >&5
7169 echo "${ECHO_T}$RANLIB" >&6; }
7171 { echo "$as_me:$LINENO: result: no" >&5
7172 echo "${ECHO_T}no" >&6; }
7177 if test -z "$ac_cv_prog_RANLIB"; then
7178 ac_ct_RANLIB
=$RANLIB
7179 # Extract the first word of "ranlib", so it can be a program name with args.
7180 set dummy ranlib
; ac_word
=$2
7181 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7183 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7184 echo $ECHO_N "(cached) $ECHO_C" >&6
7186 if test -n "$ac_ct_RANLIB"; then
7187 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7193 test -z "$as_dir" && as_dir
=.
7194 for ac_exec_ext
in '' $ac_executable_extensions; do
7195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7196 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7206 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7207 if test -n "$ac_ct_RANLIB"; then
7208 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7209 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7211 { echo "$as_me:$LINENO: result: no" >&5
7212 echo "${ECHO_T}no" >&6; }
7215 if test "x$ac_ct_RANLIB" = x
; then
7218 case $cross_compiling:$ac_tool_warned in
7220 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7221 whose name does not start with the host triplet. If you think this
7222 configuration is useful to you, please write to autoconf@gnu.org." >&5
7223 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7224 whose name does not start with the host triplet. If you think this
7225 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7226 ac_tool_warned
=yes ;;
7228 RANLIB
=$ac_ct_RANLIB
7231 RANLIB
="$ac_cv_prog_RANLIB"
7234 if test -n "$ac_tool_prefix"; then
7235 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7236 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7237 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7239 if test "${ac_cv_prog_AR+set}" = set; then
7240 echo $ECHO_N "(cached) $ECHO_C" >&6
7242 if test -n "$AR"; then
7243 ac_cv_prog_AR
="$AR" # Let the user override the test.
7245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7249 test -z "$as_dir" && as_dir
=.
7250 for ac_exec_ext
in '' $ac_executable_extensions; do
7251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7252 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7263 if test -n "$AR"; then
7264 { echo "$as_me:$LINENO: result: $AR" >&5
7265 echo "${ECHO_T}$AR" >&6; }
7267 { echo "$as_me:$LINENO: result: no" >&5
7268 echo "${ECHO_T}no" >&6; }
7273 if test -z "$ac_cv_prog_AR"; then
7275 # Extract the first word of "ar", so it can be a program name with args.
7276 set dummy
ar; ac_word
=$2
7277 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7279 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7280 echo $ECHO_N "(cached) $ECHO_C" >&6
7282 if test -n "$ac_ct_AR"; then
7283 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7289 test -z "$as_dir" && as_dir
=.
7290 for ac_exec_ext
in '' $ac_executable_extensions; do
7291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7292 ac_cv_prog_ac_ct_AR
="ar"
7293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7302 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7303 if test -n "$ac_ct_AR"; then
7304 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7305 echo "${ECHO_T}$ac_ct_AR" >&6; }
7307 { echo "$as_me:$LINENO: result: no" >&5
7308 echo "${ECHO_T}no" >&6; }
7311 if test "x$ac_ct_AR" = x
; then
7314 case $cross_compiling:$ac_tool_warned in
7316 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7317 whose name does not start with the host triplet. If you think this
7318 configuration is useful to you, please write to autoconf@gnu.org." >&5
7319 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7320 whose name does not start with the host triplet. If you think this
7321 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7322 ac_tool_warned
=yes ;;
7330 # Extract the first word of "rm", so it can be a program name with args.
7331 set dummy
rm; ac_word
=$2
7332 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7334 if test "${ac_cv_path_RM+set}" = set; then
7335 echo $ECHO_N "(cached) $ECHO_C" >&6
7339 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
7342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7346 test -z "$as_dir" && as_dir
=.
7347 for ac_exec_ext
in '' $ac_executable_extensions; do
7348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7349 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
7350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7357 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
7362 if test -n "$RM"; then
7363 { echo "$as_me:$LINENO: result: $RM" >&5
7364 echo "${ECHO_T}$RM" >&6; }
7366 { echo "$as_me:$LINENO: result: no" >&5
7367 echo "${ECHO_T}no" >&6; }
7371 # Extract the first word of "sed", so it can be a program name with args.
7372 set dummy
sed; ac_word
=$2
7373 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7375 if test "${ac_cv_path_SED+set}" = set; then
7376 echo $ECHO_N "(cached) $ECHO_C" >&6
7380 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
7383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7387 test -z "$as_dir" && as_dir
=.
7388 for ac_exec_ext
in '' $ac_executable_extensions; do
7389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7390 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
7391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7398 test -z "$ac_cv_path_SED" && ac_cv_path_SED
="sed"
7403 if test -n "$SED"; then
7404 { echo "$as_me:$LINENO: result: $SED" >&5
7405 echo "${ECHO_T}$SED" >&6; }
7407 { echo "$as_me:$LINENO: result: no" >&5
7408 echo "${ECHO_T}no" >&6; }
7412 # Extract the first word of "tar", so it can be a program name with args.
7413 set dummy
tar; ac_word
=$2
7414 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7416 if test "${ac_cv_path_TAR+set}" = set; then
7417 echo $ECHO_N "(cached) $ECHO_C" >&6
7421 ac_cv_path_TAR
="$TAR" # Let the user override the test with a path.
7424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7428 test -z "$as_dir" && as_dir
=.
7429 for ac_exec_ext
in '' $ac_executable_extensions; do
7430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7431 ac_cv_path_TAR
="$as_dir/$ac_word$ac_exec_ext"
7432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7439 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR
="gtar"
7444 if test -n "$TAR"; then
7445 { echo "$as_me:$LINENO: result: $TAR" >&5
7446 echo "${ECHO_T}$TAR" >&6; }
7448 { echo "$as_me:$LINENO: result: no" >&5
7449 echo "${ECHO_T}no" >&6; }
7453 # Extract the first word of "pwd", so it can be a program name with args.
7454 set dummy
pwd; ac_word
=$2
7455 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7457 if test "${ac_cv_path_BINPWD+set}" = set; then
7458 echo $ECHO_N "(cached) $ECHO_C" >&6
7462 ac_cv_path_BINPWD
="$BINPWD" # Let the user override the test with a path.
7465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7469 test -z "$as_dir" && as_dir
=.
7470 for ac_exec_ext
in '' $ac_executable_extensions; do
7471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7472 ac_cv_path_BINPWD
="$as_dir/$ac_word$ac_exec_ext"
7473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7480 test -z "$ac_cv_path_BINPWD" && ac_cv_path_BINPWD
="pwd"
7484 BINPWD
=$ac_cv_path_BINPWD
7485 if test -n "$BINPWD"; then
7486 { echo "$as_me:$LINENO: result: $BINPWD" >&5
7487 echo "${ECHO_T}$BINPWD" >&6; }
7489 { echo "$as_me:$LINENO: result: no" >&5
7490 echo "${ECHO_T}no" >&6; }
7495 # Extract the first word of "Graphviz", so it can be a program name with args.
7496 set dummy Graphviz
; ac_word
=$2
7497 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7499 if test "${ac_cv_path_GRAPHVIZ+set}" = set; then
7500 echo $ECHO_N "(cached) $ECHO_C" >&6
7504 ac_cv_path_GRAPHVIZ
="$GRAPHVIZ" # Let the user override the test with a path.
7507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7511 test -z "$as_dir" && as_dir
=.
7512 for ac_exec_ext
in '' $ac_executable_extensions; do
7513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7514 ac_cv_path_GRAPHVIZ
="$as_dir/$ac_word$ac_exec_ext"
7515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7522 test -z "$ac_cv_path_GRAPHVIZ" && ac_cv_path_GRAPHVIZ
="echo Graphviz"
7526 GRAPHVIZ
=$ac_cv_path_GRAPHVIZ
7527 if test -n "$GRAPHVIZ"; then
7528 { echo "$as_me:$LINENO: result: $GRAPHVIZ" >&5
7529 echo "${ECHO_T}$GRAPHVIZ" >&6; }
7531 { echo "$as_me:$LINENO: result: no" >&5
7532 echo "${ECHO_T}no" >&6; }
7536 if test "$GRAPHVIZ" != "echo Graphviz" ; then
7538 cat >>confdefs.h
<<\_ACEOF
7539 #define HAVE_GRAPHVIZ 1
7542 if test "$llvm_cv_os_type" = "MingW" ; then
7543 GRAPHVIZ
=`echo $GRAPHVIZ | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7546 cat >>confdefs.h
<<_ACEOF
7547 #define LLVM_PATH_GRAPHVIZ "$GRAPHVIZ${EXEEXT}"
7551 # Extract the first word of "dot", so it can be a program name with args.
7552 set dummy dot
; ac_word
=$2
7553 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7555 if test "${ac_cv_path_DOT+set}" = set; then
7556 echo $ECHO_N "(cached) $ECHO_C" >&6
7560 ac_cv_path_DOT
="$DOT" # Let the user override the test with a path.
7563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7567 test -z "$as_dir" && as_dir
=.
7568 for ac_exec_ext
in '' $ac_executable_extensions; do
7569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7570 ac_cv_path_DOT
="$as_dir/$ac_word$ac_exec_ext"
7571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7578 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT
="echo dot"
7583 if test -n "$DOT"; then
7584 { echo "$as_me:$LINENO: result: $DOT" >&5
7585 echo "${ECHO_T}$DOT" >&6; }
7587 { echo "$as_me:$LINENO: result: no" >&5
7588 echo "${ECHO_T}no" >&6; }
7592 if test "$DOT" != "echo dot" ; then
7594 cat >>confdefs.h
<<\_ACEOF
7598 if test "$llvm_cv_os_type" = "MingW" ; then
7599 DOT
=`echo $DOT | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7602 cat >>confdefs.h
<<_ACEOF
7603 #define LLVM_PATH_DOT "$DOT${EXEEXT}"
7607 # Extract the first word of "fdp", so it can be a program name with args.
7608 set dummy fdp
; ac_word
=$2
7609 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7611 if test "${ac_cv_path_FDP+set}" = set; then
7612 echo $ECHO_N "(cached) $ECHO_C" >&6
7616 ac_cv_path_FDP
="$FDP" # Let the user override the test with a path.
7619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7623 test -z "$as_dir" && as_dir
=.
7624 for ac_exec_ext
in '' $ac_executable_extensions; do
7625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7626 ac_cv_path_FDP
="$as_dir/$ac_word$ac_exec_ext"
7627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7634 test -z "$ac_cv_path_FDP" && ac_cv_path_FDP
="echo fdp"
7639 if test -n "$FDP"; then
7640 { echo "$as_me:$LINENO: result: $FDP" >&5
7641 echo "${ECHO_T}$FDP" >&6; }
7643 { echo "$as_me:$LINENO: result: no" >&5
7644 echo "${ECHO_T}no" >&6; }
7648 if test "$FDP" != "echo fdp" ; then
7650 cat >>confdefs.h
<<\_ACEOF
7654 if test "$llvm_cv_os_type" = "MingW" ; then
7655 FDP
=`echo $FDP | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7658 cat >>confdefs.h
<<_ACEOF
7659 #define LLVM_PATH_FDP "$FDP${EXEEXT}"
7663 # Extract the first word of "neato", so it can be a program name with args.
7664 set dummy neato
; ac_word
=$2
7665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7667 if test "${ac_cv_path_NEATO+set}" = set; then
7668 echo $ECHO_N "(cached) $ECHO_C" >&6
7672 ac_cv_path_NEATO
="$NEATO" # Let the user override the test with a path.
7675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7679 test -z "$as_dir" && as_dir
=.
7680 for ac_exec_ext
in '' $ac_executable_extensions; do
7681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7682 ac_cv_path_NEATO
="$as_dir/$ac_word$ac_exec_ext"
7683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7690 test -z "$ac_cv_path_NEATO" && ac_cv_path_NEATO
="echo neato"
7694 NEATO
=$ac_cv_path_NEATO
7695 if test -n "$NEATO"; then
7696 { echo "$as_me:$LINENO: result: $NEATO" >&5
7697 echo "${ECHO_T}$NEATO" >&6; }
7699 { echo "$as_me:$LINENO: result: no" >&5
7700 echo "${ECHO_T}no" >&6; }
7704 if test "$NEATO" != "echo neato" ; then
7706 cat >>confdefs.h
<<\_ACEOF
7707 #define HAVE_NEATO 1
7710 if test "$llvm_cv_os_type" = "MingW" ; then
7711 NEATO
=`echo $NEATO | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7714 cat >>confdefs.h
<<_ACEOF
7715 #define LLVM_PATH_NEATO "$NEATO${EXEEXT}"
7719 # Extract the first word of "twopi", so it can be a program name with args.
7720 set dummy twopi
; ac_word
=$2
7721 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7723 if test "${ac_cv_path_TWOPI+set}" = set; then
7724 echo $ECHO_N "(cached) $ECHO_C" >&6
7728 ac_cv_path_TWOPI
="$TWOPI" # Let the user override the test with a path.
7731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7735 test -z "$as_dir" && as_dir
=.
7736 for ac_exec_ext
in '' $ac_executable_extensions; do
7737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7738 ac_cv_path_TWOPI
="$as_dir/$ac_word$ac_exec_ext"
7739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7746 test -z "$ac_cv_path_TWOPI" && ac_cv_path_TWOPI
="echo twopi"
7750 TWOPI
=$ac_cv_path_TWOPI
7751 if test -n "$TWOPI"; then
7752 { echo "$as_me:$LINENO: result: $TWOPI" >&5
7753 echo "${ECHO_T}$TWOPI" >&6; }
7755 { echo "$as_me:$LINENO: result: no" >&5
7756 echo "${ECHO_T}no" >&6; }
7760 if test "$TWOPI" != "echo twopi" ; then
7762 cat >>confdefs.h
<<\_ACEOF
7763 #define HAVE_TWOPI 1
7766 if test "$llvm_cv_os_type" = "MingW" ; then
7767 TWOPI
=`echo $TWOPI | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7770 cat >>confdefs.h
<<_ACEOF
7771 #define LLVM_PATH_TWOPI "$TWOPI${EXEEXT}"
7775 # Extract the first word of "circo", so it can be a program name with args.
7776 set dummy circo
; ac_word
=$2
7777 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7779 if test "${ac_cv_path_CIRCO+set}" = set; then
7780 echo $ECHO_N "(cached) $ECHO_C" >&6
7784 ac_cv_path_CIRCO
="$CIRCO" # Let the user override the test with a path.
7787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7791 test -z "$as_dir" && as_dir
=.
7792 for ac_exec_ext
in '' $ac_executable_extensions; do
7793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7794 ac_cv_path_CIRCO
="$as_dir/$ac_word$ac_exec_ext"
7795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7802 test -z "$ac_cv_path_CIRCO" && ac_cv_path_CIRCO
="echo circo"
7806 CIRCO
=$ac_cv_path_CIRCO
7807 if test -n "$CIRCO"; then
7808 { echo "$as_me:$LINENO: result: $CIRCO" >&5
7809 echo "${ECHO_T}$CIRCO" >&6; }
7811 { echo "$as_me:$LINENO: result: no" >&5
7812 echo "${ECHO_T}no" >&6; }
7816 if test "$CIRCO" != "echo circo" ; then
7818 cat >>confdefs.h
<<\_ACEOF
7819 #define HAVE_CIRCO 1
7822 if test "$llvm_cv_os_type" = "MingW" ; then
7823 CIRCO
=`echo $CIRCO | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7826 cat >>confdefs.h
<<_ACEOF
7827 #define LLVM_PATH_CIRCO "$CIRCO${EXEEXT}"
7831 for ac_prog
in gv gsview32
7833 # Extract the first word of "$ac_prog", so it can be a program name with args.
7834 set dummy
$ac_prog; ac_word
=$2
7835 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7837 if test "${ac_cv_path_GV+set}" = set; then
7838 echo $ECHO_N "(cached) $ECHO_C" >&6
7842 ac_cv_path_GV
="$GV" # Let the user override the test with a path.
7845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7849 test -z "$as_dir" && as_dir
=.
7850 for ac_exec_ext
in '' $ac_executable_extensions; do
7851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7852 ac_cv_path_GV
="$as_dir/$ac_word$ac_exec_ext"
7853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7864 if test -n "$GV"; then
7865 { echo "$as_me:$LINENO: result: $GV" >&5
7866 echo "${ECHO_T}$GV" >&6; }
7868 { echo "$as_me:$LINENO: result: no" >&5
7869 echo "${ECHO_T}no" >&6; }
7873 test -n "$GV" && break
7875 test -n "$GV" || GV
="echo gv"
7877 if test "$GV" != "echo gv" ; then
7879 cat >>confdefs.h
<<\_ACEOF
7883 if test "$llvm_cv_os_type" = "MingW" ; then
7884 GV
=`echo $GV | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7887 cat >>confdefs.h
<<_ACEOF
7888 #define LLVM_PATH_GV "$GV${EXEEXT}"
7892 # Extract the first word of "dotty", so it can be a program name with args.
7893 set dummy dotty
; ac_word
=$2
7894 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7896 if test "${ac_cv_path_DOTTY+set}" = set; then
7897 echo $ECHO_N "(cached) $ECHO_C" >&6
7901 ac_cv_path_DOTTY
="$DOTTY" # Let the user override the test with a path.
7904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7908 test -z "$as_dir" && as_dir
=.
7909 for ac_exec_ext
in '' $ac_executable_extensions; do
7910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7911 ac_cv_path_DOTTY
="$as_dir/$ac_word$ac_exec_ext"
7912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7919 test -z "$ac_cv_path_DOTTY" && ac_cv_path_DOTTY
="echo dotty"
7923 DOTTY
=$ac_cv_path_DOTTY
7924 if test -n "$DOTTY"; then
7925 { echo "$as_me:$LINENO: result: $DOTTY" >&5
7926 echo "${ECHO_T}$DOTTY" >&6; }
7928 { echo "$as_me:$LINENO: result: no" >&5
7929 echo "${ECHO_T}no" >&6; }
7933 if test "$DOTTY" != "echo dotty" ; then
7935 cat >>confdefs.h
<<\_ACEOF
7936 #define HAVE_DOTTY 1
7939 if test "$llvm_cv_os_type" = "MingW" ; then
7940 DOTTY
=`echo $DOTTY | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7943 cat >>confdefs.h
<<_ACEOF
7944 #define LLVM_PATH_DOTTY "$DOTTY${EXEEXT}"
7948 # Extract the first word of "xdot.py", so it can be a program name with args.
7949 set dummy xdot.py
; ac_word
=$2
7950 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7952 if test "${ac_cv_path_XDOT_PY+set}" = set; then
7953 echo $ECHO_N "(cached) $ECHO_C" >&6
7957 ac_cv_path_XDOT_PY
="$XDOT_PY" # Let the user override the test with a path.
7960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7964 test -z "$as_dir" && as_dir
=.
7965 for ac_exec_ext
in '' $ac_executable_extensions; do
7966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7967 ac_cv_path_XDOT_PY
="$as_dir/$ac_word$ac_exec_ext"
7968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7975 test -z "$ac_cv_path_XDOT_PY" && ac_cv_path_XDOT_PY
="echo xdot.py"
7979 XDOT_PY
=$ac_cv_path_XDOT_PY
7980 if test -n "$XDOT_PY"; then
7981 { echo "$as_me:$LINENO: result: $XDOT_PY" >&5
7982 echo "${ECHO_T}$XDOT_PY" >&6; }
7984 { echo "$as_me:$LINENO: result: no" >&5
7985 echo "${ECHO_T}no" >&6; }
7989 if test "$XDOT_PY" != "echo xdot.py" ; then
7991 cat >>confdefs.h
<<\_ACEOF
7992 #define HAVE_XDOT_PY 1
7995 if test "$llvm_cv_os_type" = "MingW" ; then
7996 XDOT_PY
=`echo $XDOT_PY | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7999 cat >>confdefs.h
<<_ACEOF
8000 #define LLVM_PATH_XDOT_PY "$XDOT_PY${EXEEXT}"
8006 # Extract the first word of "perl", so it can be a program name with args.
8007 set dummy perl
; ac_word
=$2
8008 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8010 if test "${ac_cv_path_PERL+set}" = set; then
8011 echo $ECHO_N "(cached) $ECHO_C" >&6
8015 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
8018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8022 test -z "$as_dir" && as_dir
=.
8023 for ac_exec_ext
in '' $ac_executable_extensions; do
8024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8025 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
8026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8033 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="none"
8037 PERL
=$ac_cv_path_PERL
8038 if test -n "$PERL"; then
8039 { echo "$as_me:$LINENO: result: $PERL" >&5
8040 echo "${ECHO_T}$PERL" >&6; }
8042 { echo "$as_me:$LINENO: result: no" >&5
8043 echo "${ECHO_T}no" >&6; }
8047 if test "$PERL" != "none"; then
8048 { echo "$as_me:$LINENO: checking for Perl 5.006 or newer" >&5
8049 echo $ECHO_N "checking for Perl 5.006 or newer... $ECHO_C" >&6; }
8050 if $PERL -e 'use 5.006;' 2>&1 > /dev
/null
; then
8051 { echo "$as_me:$LINENO: result: yes" >&5
8052 echo "${ECHO_T}yes" >&6; }
8055 { echo "$as_me:$LINENO: result: not found" >&5
8056 echo "${ECHO_T}not found" >&6; }
8061 if test x
"$PERL" = xnone
; then
8064 { { echo "$as_me:$LINENO: error: perl is required but was not found, please install it" >&5
8065 echo "$as_me: error: perl is required but was not found, please install it" >&2;}
8066 { (exit 1); exit 1; }; }
8072 # Find a good install program. We prefer a C program (faster),
8073 # so one script is as good as another. But avoid the broken or
8074 # incompatible versions:
8075 # SysV /etc/install, /usr/sbin/install
8076 # SunOS /usr/etc/install
8077 # IRIX /sbin/install
8079 # AmigaOS /C/install, which installs bootblocks on floppy discs
8080 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8081 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8082 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8083 # OS/2's system install, which has a completely different semantic
8084 # ./install, which can be erroneously created by make from ./install.sh.
8085 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
8086 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
8087 if test -z "$INSTALL"; then
8088 if test "${ac_cv_path_install+set}" = set; then
8089 echo $ECHO_N "(cached) $ECHO_C" >&6
8091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8095 test -z "$as_dir" && as_dir
=.
8096 # Account for people who put trailing slashes in PATH elements.
8098 .
/ | .
// |
/cC
/* | \
8099 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
8100 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
8103 # OSF1 and SCO ODT 3.0 have their own names for install.
8104 # Don't use installbsd from OSF since it installs stuff as root
8106 for ac_prog
in ginstall scoinst
install; do
8107 for ac_exec_ext
in '' $ac_executable_extensions; do
8108 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
8109 if test $ac_prog = install &&
8110 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
8111 # AIX install. It has an incompatible calling convention.
8113 elif test $ac_prog = install &&
8114 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
8115 # program-specific install script used by HP pwplus--don't use.
8118 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
8131 if test "${ac_cv_path_install+set}" = set; then
8132 INSTALL
=$ac_cv_path_install
8134 # As a last resort, use the slow shell script. Don't cache a
8135 # value for INSTALL within a source directory, because that will
8136 # break other packages using the cache if that directory is
8137 # removed, or if the value is a relative name.
8138 INSTALL
=$ac_install_sh
8141 { echo "$as_me:$LINENO: result: $INSTALL" >&5
8142 echo "${ECHO_T}$INSTALL" >&6; }
8144 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8145 # It thinks the first close brace ends the variable substitution.
8146 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8148 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
8150 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8153 [\\/$
]* | ?
:[\\/]* ) ;;
8154 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
8157 # Extract the first word of "bzip2", so it can be a program name with args.
8158 set dummy
bzip2; ac_word
=$2
8159 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8161 if test "${ac_cv_path_BZIP2+set}" = set; then
8162 echo $ECHO_N "(cached) $ECHO_C" >&6
8166 ac_cv_path_BZIP2
="$BZIP2" # Let the user override the test with a path.
8169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8173 test -z "$as_dir" && as_dir
=.
8174 for ac_exec_ext
in '' $ac_executable_extensions; do
8175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8176 ac_cv_path_BZIP2
="$as_dir/$ac_word$ac_exec_ext"
8177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8187 BZIP2
=$ac_cv_path_BZIP2
8188 if test -n "$BZIP2"; then
8189 { echo "$as_me:$LINENO: result: $BZIP2" >&5
8190 echo "${ECHO_T}$BZIP2" >&6; }
8192 { echo "$as_me:$LINENO: result: no" >&5
8193 echo "${ECHO_T}no" >&6; }
8197 # Extract the first word of "cat", so it can be a program name with args.
8198 set dummy
cat; ac_word
=$2
8199 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8201 if test "${ac_cv_path_CAT+set}" = set; then
8202 echo $ECHO_N "(cached) $ECHO_C" >&6
8206 ac_cv_path_CAT
="$CAT" # Let the user override the test with a path.
8209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8213 test -z "$as_dir" && as_dir
=.
8214 for ac_exec_ext
in '' $ac_executable_extensions; do
8215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8216 ac_cv_path_CAT
="$as_dir/$ac_word$ac_exec_ext"
8217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8228 if test -n "$CAT"; then
8229 { echo "$as_me:$LINENO: result: $CAT" >&5
8230 echo "${ECHO_T}$CAT" >&6; }
8232 { echo "$as_me:$LINENO: result: no" >&5
8233 echo "${ECHO_T}no" >&6; }
8237 # Extract the first word of "doxygen", so it can be a program name with args.
8238 set dummy doxygen
; ac_word
=$2
8239 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8241 if test "${ac_cv_path_DOXYGEN+set}" = set; then
8242 echo $ECHO_N "(cached) $ECHO_C" >&6
8246 ac_cv_path_DOXYGEN
="$DOXYGEN" # Let the user override the test with a path.
8249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8253 test -z "$as_dir" && as_dir
=.
8254 for ac_exec_ext
in '' $ac_executable_extensions; do
8255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8256 ac_cv_path_DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
8257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8267 DOXYGEN
=$ac_cv_path_DOXYGEN
8268 if test -n "$DOXYGEN"; then
8269 { echo "$as_me:$LINENO: result: $DOXYGEN" >&5
8270 echo "${ECHO_T}$DOXYGEN" >&6; }
8272 { echo "$as_me:$LINENO: result: no" >&5
8273 echo "${ECHO_T}no" >&6; }
8277 # Extract the first word of "groff", so it can be a program name with args.
8278 set dummy
groff; ac_word
=$2
8279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8281 if test "${ac_cv_path_GROFF+set}" = set; then
8282 echo $ECHO_N "(cached) $ECHO_C" >&6
8286 ac_cv_path_GROFF
="$GROFF" # Let the user override the test with a path.
8289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8293 test -z "$as_dir" && as_dir
=.
8294 for ac_exec_ext
in '' $ac_executable_extensions; do
8295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8296 ac_cv_path_GROFF
="$as_dir/$ac_word$ac_exec_ext"
8297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8307 GROFF
=$ac_cv_path_GROFF
8308 if test -n "$GROFF"; then
8309 { echo "$as_me:$LINENO: result: $GROFF" >&5
8310 echo "${ECHO_T}$GROFF" >&6; }
8312 { echo "$as_me:$LINENO: result: no" >&5
8313 echo "${ECHO_T}no" >&6; }
8317 # Extract the first word of "gzip", so it can be a program name with args.
8318 set dummy
gzip; ac_word
=$2
8319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8321 if test "${ac_cv_path_GZIPBIN+set}" = set; then
8322 echo $ECHO_N "(cached) $ECHO_C" >&6
8326 ac_cv_path_GZIPBIN
="$GZIPBIN" # Let the user override the test with a path.
8329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8333 test -z "$as_dir" && as_dir
=.
8334 for ac_exec_ext
in '' $ac_executable_extensions; do
8335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8336 ac_cv_path_GZIPBIN
="$as_dir/$ac_word$ac_exec_ext"
8337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8347 GZIPBIN
=$ac_cv_path_GZIPBIN
8348 if test -n "$GZIPBIN"; then
8349 { echo "$as_me:$LINENO: result: $GZIPBIN" >&5
8350 echo "${ECHO_T}$GZIPBIN" >&6; }
8352 { echo "$as_me:$LINENO: result: no" >&5
8353 echo "${ECHO_T}no" >&6; }
8357 # Extract the first word of "pod2html", so it can be a program name with args.
8358 set dummy pod2html
; ac_word
=$2
8359 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8361 if test "${ac_cv_path_POD2HTML+set}" = set; then
8362 echo $ECHO_N "(cached) $ECHO_C" >&6
8366 ac_cv_path_POD2HTML
="$POD2HTML" # Let the user override the test with a path.
8369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8373 test -z "$as_dir" && as_dir
=.
8374 for ac_exec_ext
in '' $ac_executable_extensions; do
8375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8376 ac_cv_path_POD2HTML
="$as_dir/$ac_word$ac_exec_ext"
8377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8387 POD2HTML
=$ac_cv_path_POD2HTML
8388 if test -n "$POD2HTML"; then
8389 { echo "$as_me:$LINENO: result: $POD2HTML" >&5
8390 echo "${ECHO_T}$POD2HTML" >&6; }
8392 { echo "$as_me:$LINENO: result: no" >&5
8393 echo "${ECHO_T}no" >&6; }
8397 # Extract the first word of "pod2man", so it can be a program name with args.
8398 set dummy pod2man
; ac_word
=$2
8399 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8401 if test "${ac_cv_path_POD2MAN+set}" = set; then
8402 echo $ECHO_N "(cached) $ECHO_C" >&6
8406 ac_cv_path_POD2MAN
="$POD2MAN" # Let the user override the test with a path.
8409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8413 test -z "$as_dir" && as_dir
=.
8414 for ac_exec_ext
in '' $ac_executable_extensions; do
8415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8416 ac_cv_path_POD2MAN
="$as_dir/$ac_word$ac_exec_ext"
8417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8427 POD2MAN
=$ac_cv_path_POD2MAN
8428 if test -n "$POD2MAN"; then
8429 { echo "$as_me:$LINENO: result: $POD2MAN" >&5
8430 echo "${ECHO_T}$POD2MAN" >&6; }
8432 { echo "$as_me:$LINENO: result: no" >&5
8433 echo "${ECHO_T}no" >&6; }
8437 # Extract the first word of "pdfroff", so it can be a program name with args.
8438 set dummy pdfroff
; ac_word
=$2
8439 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8441 if test "${ac_cv_path_PDFROFF+set}" = set; then
8442 echo $ECHO_N "(cached) $ECHO_C" >&6
8446 ac_cv_path_PDFROFF
="$PDFROFF" # Let the user override the test with a path.
8449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8453 test -z "$as_dir" && as_dir
=.
8454 for ac_exec_ext
in '' $ac_executable_extensions; do
8455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8456 ac_cv_path_PDFROFF
="$as_dir/$ac_word$ac_exec_ext"
8457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8467 PDFROFF
=$ac_cv_path_PDFROFF
8468 if test -n "$PDFROFF"; then
8469 { echo "$as_me:$LINENO: result: $PDFROFF" >&5
8470 echo "${ECHO_T}$PDFROFF" >&6; }
8472 { echo "$as_me:$LINENO: result: no" >&5
8473 echo "${ECHO_T}no" >&6; }
8477 # Extract the first word of "runtest", so it can be a program name with args.
8478 set dummy runtest
; ac_word
=$2
8479 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8481 if test "${ac_cv_path_RUNTEST+set}" = set; then
8482 echo $ECHO_N "(cached) $ECHO_C" >&6
8486 ac_cv_path_RUNTEST
="$RUNTEST" # Let the user override the test with a path.
8489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8493 test -z "$as_dir" && as_dir
=.
8494 for ac_exec_ext
in '' $ac_executable_extensions; do
8495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8496 ac_cv_path_RUNTEST
="$as_dir/$ac_word$ac_exec_ext"
8497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8507 RUNTEST
=$ac_cv_path_RUNTEST
8508 if test -n "$RUNTEST"; then
8509 { echo "$as_me:$LINENO: result: $RUNTEST" >&5
8510 echo "${ECHO_T}$RUNTEST" >&6; }
8512 { echo "$as_me:$LINENO: result: no" >&5
8513 echo "${ECHO_T}no" >&6; }
8519 { echo "$as_me:$LINENO: checking for the tclsh program in tclinclude directory" >&5
8520 echo $ECHO_N "checking for the tclsh program in tclinclude directory... $ECHO_C" >&6; }
8522 # Check whether --with-tclinclude was given.
8523 if test "${with_tclinclude+set}" = set; then
8524 withval
=$with_tclinclude; with_tclinclude
=${withval}
8529 if test "${ac_cv_path_tclsh+set}" = set; then
8530 echo $ECHO_N "(cached) $ECHO_C" >&6
8533 if test x
"${with_tclinclude}" != x
; then
8534 if test -f ${with_tclinclude}/tclsh
; then
8535 ac_cv_path_tclsh
=`(cd ${with_tclinclude}; pwd)`
8536 elif test -f ${with_tclinclude}/src
/tclsh
; then
8537 ac_cv_path_tclsh
=`(cd ${with_tclinclude}/src; pwd)`
8539 { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain tclsh" >&5
8540 echo "$as_me: error: ${with_tclinclude} directory doesn't contain tclsh" >&2;}
8541 { (exit 1); exit 1; }; }
8547 if test x
"${ac_cv_path_tclsh}" = x
; then
8548 { echo "$as_me:$LINENO: result: none" >&5
8549 echo "${ECHO_T}none" >&6; }
8550 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
8552 # Extract the first word of "$ac_prog", so it can be a program name with args.
8553 set dummy
$ac_prog; ac_word
=$2
8554 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8556 if test "${ac_cv_path_TCLSH+set}" = set; then
8557 echo $ECHO_N "(cached) $ECHO_C" >&6
8561 ac_cv_path_TCLSH
="$TCLSH" # Let the user override the test with a path.
8564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8568 test -z "$as_dir" && as_dir
=.
8569 for ac_exec_ext
in '' $ac_executable_extensions; do
8570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8571 ac_cv_path_TCLSH
="$as_dir/$ac_word$ac_exec_ext"
8572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8582 TCLSH
=$ac_cv_path_TCLSH
8583 if test -n "$TCLSH"; then
8584 { echo "$as_me:$LINENO: result: $TCLSH" >&5
8585 echo "${ECHO_T}$TCLSH" >&6; }
8587 { echo "$as_me:$LINENO: result: no" >&5
8588 echo "${ECHO_T}no" >&6; }
8592 test -n "$TCLSH" && break
8595 if test x
"${TCLSH}" = x
; then
8596 ac_cv_path_tclsh
='';
8598 ac_cv_path_tclsh
="${TCLSH}";
8601 { echo "$as_me:$LINENO: result: ${ac_cv_path_tclsh}" >&5
8602 echo "${ECHO_T}${ac_cv_path_tclsh}" >&6; }
8603 TCLSH="${ac_cv_path_tclsh}"
8607 # Extract the first word of "zip", so it can be a program name with args.
8608 set dummy zip; ac_word=$2
8609 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8610 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8611 if test "${ac_cv_path_ZIP+set}" = set; then
8612 echo $ECHO_N "(cached
) $ECHO_C" >&6
8616 ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
8619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8623 test -z "$as_dir" && as_dir=.
8624 for ac_exec_ext in '' $ac_executable_extensions; do
8625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8626 ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
8627 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8638 if test -n "$ZIP"; then
8639 { echo "$as_me:$LINENO: result
: $ZIP" >&5
8640 echo "${ECHO_T}$ZIP" >&6; }
8642 { echo "$as_me:$LINENO: result
: no
" >&5
8643 echo "${ECHO_T}no
" >&6; }
8647 for ac_prog in ocamlc
8649 # Extract the first word of "$ac_prog", so it can be a program name with args.
8650 set dummy $ac_prog; ac_word=$2
8651 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8652 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8653 if test "${ac_cv_path_OCAMLC+set}" = set; then
8654 echo $ECHO_N "(cached
) $ECHO_C" >&6
8658 ac_cv_path_OCAMLC="$OCAMLC" # Let the user override the test with a path.
8661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8665 test -z "$as_dir" && as_dir=.
8666 for ac_exec_ext in '' $ac_executable_extensions; do
8667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8668 ac_cv_path_OCAMLC="$as_dir/$ac_word$ac_exec_ext"
8669 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8679 OCAMLC=$ac_cv_path_OCAMLC
8680 if test -n "$OCAMLC"; then
8681 { echo "$as_me:$LINENO: result
: $OCAMLC" >&5
8682 echo "${ECHO_T}$OCAMLC" >&6; }
8684 { echo "$as_me:$LINENO: result
: no
" >&5
8685 echo "${ECHO_T}no
" >&6; }
8689 test -n "$OCAMLC" && break
8692 for ac_prog in ocamlopt
8694 # Extract the first word of "$ac_prog", so it can be a program name with args.
8695 set dummy $ac_prog; ac_word=$2
8696 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8697 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8698 if test "${ac_cv_path_OCAMLOPT+set}" = set; then
8699 echo $ECHO_N "(cached
) $ECHO_C" >&6
8703 ac_cv_path_OCAMLOPT="$OCAMLOPT" # Let the user override the test with a path.
8706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8710 test -z "$as_dir" && as_dir=.
8711 for ac_exec_ext in '' $ac_executable_extensions; do
8712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8713 ac_cv_path_OCAMLOPT="$as_dir/$ac_word$ac_exec_ext"
8714 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8724 OCAMLOPT=$ac_cv_path_OCAMLOPT
8725 if test -n "$OCAMLOPT"; then
8726 { echo "$as_me:$LINENO: result
: $OCAMLOPT" >&5
8727 echo "${ECHO_T}$OCAMLOPT" >&6; }
8729 { echo "$as_me:$LINENO: result
: no
" >&5
8730 echo "${ECHO_T}no
" >&6; }
8734 test -n "$OCAMLOPT" && break
8737 for ac_prog in ocamldep
8739 # Extract the first word of "$ac_prog", so it can be a program name with args.
8740 set dummy $ac_prog; ac_word=$2
8741 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8742 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8743 if test "${ac_cv_path_OCAMLDEP+set}" = set; then
8744 echo $ECHO_N "(cached
) $ECHO_C" >&6
8748 ac_cv_path_OCAMLDEP="$OCAMLDEP" # Let the user override the test with a path.
8751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8755 test -z "$as_dir" && as_dir=.
8756 for ac_exec_ext in '' $ac_executable_extensions; do
8757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8758 ac_cv_path_OCAMLDEP="$as_dir/$ac_word$ac_exec_ext"
8759 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8769 OCAMLDEP=$ac_cv_path_OCAMLDEP
8770 if test -n "$OCAMLDEP"; then
8771 { echo "$as_me:$LINENO: result
: $OCAMLDEP" >&5
8772 echo "${ECHO_T}$OCAMLDEP" >&6; }
8774 { echo "$as_me:$LINENO: result
: no
" >&5
8775 echo "${ECHO_T}no
" >&6; }
8779 test -n "$OCAMLDEP" && break
8782 for ac_prog in ocamldoc
8784 # Extract the first word of "$ac_prog", so it can be a program name with args.
8785 set dummy $ac_prog; ac_word=$2
8786 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8787 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8788 if test "${ac_cv_path_OCAMLDOC+set}" = set; then
8789 echo $ECHO_N "(cached
) $ECHO_C" >&6
8793 ac_cv_path_OCAMLDOC="$OCAMLDOC" # Let the user override the test with a path.
8796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8800 test -z "$as_dir" && as_dir=.
8801 for ac_exec_ext in '' $ac_executable_extensions; do
8802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8803 ac_cv_path_OCAMLDOC="$as_dir/$ac_word$ac_exec_ext"
8804 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8814 OCAMLDOC=$ac_cv_path_OCAMLDOC
8815 if test -n "$OCAMLDOC"; then
8816 { echo "$as_me:$LINENO: result
: $OCAMLDOC" >&5
8817 echo "${ECHO_T}$OCAMLDOC" >&6; }
8819 { echo "$as_me:$LINENO: result
: no
" >&5
8820 echo "${ECHO_T}no
" >&6; }
8824 test -n "$OCAMLDOC" && break
8827 for ac_prog in gas as
8829 # Extract the first word of "$ac_prog", so it can be a program name with args.
8830 set dummy $ac_prog; ac_word=$2
8831 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8832 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8833 if test "${ac_cv_path_GAS+set}" = set; then
8834 echo $ECHO_N "(cached
) $ECHO_C" >&6
8838 ac_cv_path_GAS="$GAS" # Let the user override the test with a path.
8841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8845 test -z "$as_dir" && as_dir=.
8846 for ac_exec_ext in '' $ac_executable_extensions; do
8847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8848 ac_cv_path_GAS="$as_dir/$ac_word$ac_exec_ext"
8849 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8860 if test -n "$GAS"; then
8861 { echo "$as_me:$LINENO: result
: $GAS" >&5
8862 echo "${ECHO_T}$GAS" >&6; }
8864 { echo "$as_me:$LINENO: result
: no
" >&5
8865 echo "${ECHO_T}no
" >&6; }
8869 test -n "$GAS" && break
8873 { echo "$as_me:$LINENO: checking
for linker version
" >&5
8874 echo $ECHO_N "checking
for linker version...
$ECHO_C" >&6; }
8875 if test "${llvm_cv_link_version+set}" = set; then
8876 echo $ECHO_N "(cached
) $ECHO_C" >&6
8879 version_string="$
(ld
-v 2>&1 |
head -1)"
8882 if (echo "$version_string" | grep -q "ld64
"); then
8883 llvm_cv_link_version=$(echo "$version_string" | sed -e "s
#.*ld64-\([^ ]*\)#\1#")
8885 llvm_cv_link_version
=$
(echo "$version_string" |
sed -e "s#[^0-9]*\([0-9.]*\).*#\1#")
8889 { echo "$as_me:$LINENO: result: $llvm_cv_link_version" >&5
8890 echo "${ECHO_T}$llvm_cv_link_version" >&6; }
8892 cat >>confdefs.h
<<_ACEOF
8893 #define HOST_LINK_VERSION "$llvm_cv_link_version"
8898 { echo "$as_me:$LINENO: checking for compiler -Wl,-R<path> option" >&5
8899 echo $ECHO_N "checking for compiler -Wl,-R<path> option... $ECHO_C" >&6; }
8900 if test "${llvm_cv_link_use_r+set}" = set; then
8901 echo $ECHO_N "(cached) $ECHO_C" >&6
8904 ac_cpp
='$CPP $CPPFLAGS'
8905 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8906 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8907 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8910 CFLAGS
="$CFLAGS -Wl,-R."
8911 cat >conftest.
$ac_ext <<_ACEOF
8914 cat confdefs.h
>>conftest.
$ac_ext
8915 cat >>conftest.
$ac_ext <<_ACEOF
8916 /* end confdefs.h. */
8926 rm -f conftest.
$ac_objext conftest
$ac_exeext
8927 if { (ac_try
="$ac_link"
8929 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8930 *) ac_try_echo=$ac_try;;
8932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8933 (eval "$ac_link") 2>conftest.er1
8935 grep -v '^ *+' conftest.er1 >conftest.err
8937 cat conftest.err >&5
8938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8939 (exit $ac_status); } &&
8940 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8941 { (case "(($ac_try" in
8942 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8943 *) ac_try_echo
=$ac_try;;
8945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8946 (eval "$ac_try") 2>&5
8948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8949 (exit $ac_status); }; } &&
8950 { ac_try
='test -s conftest$ac_exeext'
8951 { (case "(($ac_try" in
8952 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8953 *) ac_try_echo=$ac_try;;
8955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8956 (eval "$ac_try") 2>&5
8958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8959 (exit $ac_status); }; }; then
8960 llvm_cv_link_use_r=yes
8962 echo "$as_me: failed program was:" >&5
8963 sed 's/^/| /' conftest.$ac_ext >&5
8965 llvm_cv_link_use_r=no
8968 rm -f core conftest.err conftest.$ac_objext \
8969 conftest$ac_exeext conftest.$ac_ext
8972 ac_cpp='$CPP $CPPFLAGS'
8973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8979 { echo "$as_me:$LINENO: result: $llvm_cv_link_use_r" >&5
8980 echo "${ECHO_T}$llvm_cv_link_use_r" >&6; }
8981 if test "$llvm_cv_link_use_r" = yes ; then
8983 cat >>confdefs.h <<\_ACEOF
8984 #define HAVE_LINK_R 1
8990 { echo "$as_me:$LINENO: checking for compiler -Wl,-export-dynamic option" >&5
8991 echo $ECHO_N "checking for compiler -Wl,-export-dynamic option... $ECHO_C" >&6; }
8992 if test "${llvm_cv_link_use_export_dynamic+set}" = set; then
8993 echo $ECHO_N "(cached) $ECHO_C" >&6
8996 ac_cpp='$CPP $CPPFLAGS'
8997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9002 CFLAGS="$CFLAGS -Wl,-export-dynamic"
9003 cat >conftest.$ac_ext <<_ACEOF
9006 cat confdefs.h >>conftest.$ac_ext
9007 cat >>conftest.$ac_ext <<_ACEOF
9008 /* end confdefs.h. */
9018 rm -f conftest.$ac_objext conftest$ac_exeext
9019 if { (ac_try="$ac_link"
9021 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9022 *) ac_try_echo
=$ac_try;;
9024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9025 (eval "$ac_link") 2>conftest.er1
9027 grep -v '^ *+' conftest.er1
>conftest.err
9029 cat conftest.err
>&5
9030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9031 (exit $ac_status); } &&
9032 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9033 { (case "(($ac_try" in
9034 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9035 *) ac_try_echo=$ac_try;;
9037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9038 (eval "$ac_try") 2>&5
9040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9041 (exit $ac_status); }; } &&
9042 { ac_try='test -s conftest$ac_exeext'
9043 { (case "(($ac_try" in
9044 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9045 *) ac_try_echo
=$ac_try;;
9047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9048 (eval "$ac_try") 2>&5
9050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9051 (exit $ac_status); }; }; then
9052 llvm_cv_link_use_export_dynamic
=yes
9054 echo "$as_me: failed program was:" >&5
9055 sed 's/^/| /' conftest.
$ac_ext >&5
9057 llvm_cv_link_use_export_dynamic
=no
9060 rm -f core conftest.err conftest.
$ac_objext \
9061 conftest
$ac_exeext conftest.
$ac_ext
9064 ac_cpp
='$CPP $CPPFLAGS'
9065 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9066 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9067 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9071 { echo "$as_me:$LINENO: result: $llvm_cv_link_use_export_dynamic" >&5
9072 echo "${ECHO_T}$llvm_cv_link_use_export_dynamic" >&6; }
9073 if test "$llvm_cv_link_use_export_dynamic" = yes ; then
9075 cat >>confdefs.h
<<\_ACEOF
9076 #define HAVE_LINK_EXPORT_DYNAMIC 1
9082 { echo "$as_me:$LINENO: checking for compiler -Wl,--version-script option" >&5
9083 echo $ECHO_N "checking for compiler -Wl,--version-script option... $ECHO_C" >&6; }
9084 if test "${llvm_cv_link_use_version_script+set}" = set; then
9085 echo $ECHO_N "(cached) $ECHO_C" >&6
9088 ac_cpp
='$CPP $CPPFLAGS'
9089 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9090 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9091 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9095 # The following code is from the autoconf manual,
9096 # "11.13: Limitations of Usual Tools".
9097 # Create a temporary directory $tmp in $TMPDIR (default /tmp).
9098 # Use mktemp if possible; otherwise fall back on mkdir,
9099 # with $RANDOM to make collisions less likely.
9103 (umask 077 && mktemp -d "$TMPDIR/fooXXXXXX") 2>/dev/null
9105 test -n "$tmp" && test -d "$tmp"
9107 tmp
=$TMPDIR/foo$$
-$RANDOM
9108 (umask 077 && mkdir
"$tmp")
9111 echo "{" > "$tmp/export.map"
9112 echo " global: main;" >> "$tmp/export.map"
9113 echo " local: *;" >> "$tmp/export.map"
9114 echo "};" >> "$tmp/export.map"
9116 CFLAGS
="$CFLAGS -Wl,--version-script=$tmp/export.map"
9117 cat >conftest.
$ac_ext <<_ACEOF
9120 cat confdefs.h
>>conftest.
$ac_ext
9121 cat >>conftest.
$ac_ext <<_ACEOF
9122 /* end confdefs.h. */
9132 rm -f conftest.
$ac_objext conftest
$ac_exeext
9133 if { (ac_try
="$ac_link"
9135 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9136 *) ac_try_echo=$ac_try;;
9138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9139 (eval "$ac_link") 2>conftest.er1
9141 grep -v '^ *+' conftest.er1 >conftest.err
9143 cat conftest.err >&5
9144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9145 (exit $ac_status); } &&
9146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9147 { (case "(($ac_try" in
9148 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9149 *) ac_try_echo
=$ac_try;;
9151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9152 (eval "$ac_try") 2>&5
9154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9155 (exit $ac_status); }; } &&
9156 { ac_try
='test -s conftest$ac_exeext'
9157 { (case "(($ac_try" in
9158 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9159 *) ac_try_echo=$ac_try;;
9161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9162 (eval "$ac_try") 2>&5
9164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9165 (exit $ac_status); }; }; then
9166 llvm_cv_link_use_version_script=yes
9168 echo "$as_me: failed program was:" >&5
9169 sed 's/^/| /' conftest.$ac_ext >&5
9171 llvm_cv_link_use_version_script=no
9174 rm -f core conftest.err conftest.$ac_objext \
9175 conftest$ac_exeext conftest.$ac_ext
9176 rm "$tmp/export.map"
9180 ac_cpp='$CPP $CPPFLAGS'
9181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9187 { echo "$as_me:$LINENO: result: $llvm_cv_link_use_version_script" >&5
9188 echo "${ECHO_T}$llvm_cv_link_use_version_script" >&6; }
9189 if test "$llvm_cv_link_use_version_script" = yes ; then
9190 HAVE_LINK_VERSION_SCRIPT=1
9197 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
9198 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
9199 if test "${ac_cv_c_const+set}" = set; then
9200 echo $ECHO_N "(cached) $ECHO_C" >&6
9202 cat >conftest.$ac_ext <<_ACEOF
9205 cat confdefs.h >>conftest.$ac_ext
9206 cat >>conftest.$ac_ext <<_ACEOF
9207 /* end confdefs.h. */
9212 /* FIXME: Include the comments suggested by Paul. */
9214 /* Ultrix mips cc rejects this. */
9215 typedef int charset[2];
9217 /* SunOS 4.1.1 cc rejects this. */
9218 char const *const *ccp;
9220 /* NEC SVR4.0.2 mips cc rejects this. */
9221 struct point {int x, y;};
9222 static struct point const zero = {0,0};
9223 /* AIX XL C 1.02.0.0 rejects this.
9224 It does not let you subtract one const X* pointer from another in
9225 an arm of an if-expression whose if-part is not a constant
9227 const char *g = "string";
9228 ccp = &g + (g ? g-g : 0);
9229 /* HPUX 7.0 cc rejects these. */
9232 ccp = (char const *const *) p;
9233 { /* SCO 3.2v4 cc rejects this. */
9235 char const *s = 0 ? (char *) 0 : (char const *) 0;
9240 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9242 const int *foo = &x[0];
9245 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9246 typedef const int *iptr;
9250 { /* AIX XL C 1.02.0.0 rejects this saying
9251 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9252 struct s { int j; const int *ap[3]; };
9253 struct s *b; b->j = 5;
9255 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9259 return !x[0] && !zero.x;
9266 rm -f conftest.$ac_objext
9267 if { (ac_try="$ac_compile"
9269 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9270 *) ac_try_echo
=$ac_try;;
9272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9273 (eval "$ac_compile") 2>conftest.er1
9275 grep -v '^ *+' conftest.er1
>conftest.err
9277 cat conftest.err
>&5
9278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9279 (exit $ac_status); } &&
9280 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9281 { (case "(($ac_try" in
9282 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9283 *) ac_try_echo=$ac_try;;
9285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9286 (eval "$ac_try") 2>&5
9288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9289 (exit $ac_status); }; } &&
9290 { ac_try='test -s conftest.$ac_objext'
9291 { (case "(($ac_try" in
9292 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9293 *) ac_try_echo
=$ac_try;;
9295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9296 (eval "$ac_try") 2>&5
9298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9299 (exit $ac_status); }; }; then
9302 echo "$as_me: failed program was:" >&5
9303 sed 's/^/| /' conftest.
$ac_ext >&5
9308 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9310 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
9311 echo "${ECHO_T}$ac_cv_c_const" >&6; }
9312 if test $ac_cv_c_const = no
; then
9314 cat >>confdefs.h
<<\_ACEOF
9326 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
9327 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
9328 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
9329 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
9330 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9331 echo $ECHO_N "(cached) $ECHO_C" >&6
9333 cat >conftest.
$ac_ext <<_ACEOF
9336 cat confdefs.h
>>conftest.
$ac_ext
9337 cat >>conftest.
$ac_ext <<_ACEOF
9338 /* end confdefs.h. */
9339 #include <sys/types.h>
9351 rm -f conftest.
$ac_objext
9352 if { (ac_try
="$ac_compile"
9354 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9355 *) ac_try_echo=$ac_try;;
9357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9358 (eval "$ac_compile") 2>conftest.er1
9360 grep -v '^ *+' conftest.er1 >conftest.err
9362 cat conftest.err >&5
9363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9364 (exit $ac_status); } &&
9365 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9366 { (case "(($ac_try" in
9367 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9368 *) ac_try_echo
=$ac_try;;
9370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9371 (eval "$ac_try") 2>&5
9373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9374 (exit $ac_status); }; } &&
9375 { ac_try
='test -s conftest.$ac_objext'
9376 { (case "(($ac_try" in
9377 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9378 *) ac_try_echo=$ac_try;;
9380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9381 (eval "$ac_try") 2>&5
9383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9384 (exit $ac_status); }; }; then
9385 eval "$as_ac_Header=yes"
9387 echo "$as_me: failed program was:" >&5
9388 sed 's/^/| /' conftest.$ac_ext >&5
9390 eval "$as_ac_Header=no"
9393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9395 ac_res=`eval echo '${'$as_ac_Header'}'`
9396 { echo "$as_me:$LINENO: result: $ac_res" >&5
9397 echo "${ECHO_T}$ac_res" >&6; }
9398 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9399 cat >>confdefs.h <<_ACEOF
9400 #define `echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
9403 ac_header_dirent=$ac_hdr; break
9407 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
9408 if test $ac_header_dirent = dirent.h; then
9409 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
9410 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
9411 if test "${ac_cv_search_opendir+set}" = set; then
9412 echo $ECHO_N "(cached) $ECHO_C" >&6
9414 ac_func_search_save_LIBS=$LIBS
9415 cat >conftest.$ac_ext <<_ACEOF
9418 cat confdefs.h >>conftest.$ac_ext
9419 cat >>conftest.$ac_ext <<_ACEOF
9420 /* end confdefs.h. */
9422 /* Override any GCC internal prototype to avoid an error.
9423 Use char because int might match the return type of a GCC
9424 builtin and then its argument prototype would still apply. */
9437 for ac_lib in '' dir; do
9438 if test -z "$ac_lib"; then
9439 ac_res="none required"
9442 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9444 rm -f conftest.$ac_objext conftest$ac_exeext
9445 if { (ac_try="$ac_link"
9447 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9448 *) ac_try_echo
=$ac_try;;
9450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9451 (eval "$ac_link") 2>conftest.er1
9453 grep -v '^ *+' conftest.er1
>conftest.err
9455 cat conftest.err
>&5
9456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9457 (exit $ac_status); } &&
9458 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9459 { (case "(($ac_try" in
9460 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9461 *) ac_try_echo=$ac_try;;
9463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9464 (eval "$ac_try") 2>&5
9466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9467 (exit $ac_status); }; } &&
9468 { ac_try='test -s conftest$ac_exeext'
9469 { (case "(($ac_try" in
9470 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9471 *) ac_try_echo
=$ac_try;;
9473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9474 (eval "$ac_try") 2>&5
9476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9477 (exit $ac_status); }; }; then
9478 ac_cv_search_opendir
=$ac_res
9480 echo "$as_me: failed program was:" >&5
9481 sed 's/^/| /' conftest.
$ac_ext >&5
9486 rm -f core conftest.err conftest.
$ac_objext \
9488 if test "${ac_cv_search_opendir+set}" = set; then
9492 if test "${ac_cv_search_opendir+set}" = set; then
9495 ac_cv_search_opendir
=no
9498 LIBS
=$ac_func_search_save_LIBS
9500 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
9501 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
9502 ac_res
=$ac_cv_search_opendir
9503 if test "$ac_res" != no
; then
9504 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
9509 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
9510 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
9511 if test "${ac_cv_search_opendir+set}" = set; then
9512 echo $ECHO_N "(cached) $ECHO_C" >&6
9514 ac_func_search_save_LIBS
=$LIBS
9515 cat >conftest.
$ac_ext <<_ACEOF
9518 cat confdefs.h
>>conftest.
$ac_ext
9519 cat >>conftest.
$ac_ext <<_ACEOF
9520 /* end confdefs.h. */
9522 /* Override any GCC internal prototype to avoid an error.
9523 Use char because int might match the return type of a GCC
9524 builtin and then its argument prototype would still apply. */
9537 for ac_lib
in '' x
; do
9538 if test -z "$ac_lib"; then
9539 ac_res
="none required"
9542 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9544 rm -f conftest.
$ac_objext conftest
$ac_exeext
9545 if { (ac_try
="$ac_link"
9547 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9548 *) ac_try_echo=$ac_try;;
9550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9551 (eval "$ac_link") 2>conftest.er1
9553 grep -v '^ *+' conftest.er1 >conftest.err
9555 cat conftest.err >&5
9556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9557 (exit $ac_status); } &&
9558 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9559 { (case "(($ac_try" in
9560 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9561 *) ac_try_echo
=$ac_try;;
9563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9564 (eval "$ac_try") 2>&5
9566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9567 (exit $ac_status); }; } &&
9568 { ac_try
='test -s conftest$ac_exeext'
9569 { (case "(($ac_try" in
9570 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9571 *) ac_try_echo=$ac_try;;
9573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9574 (eval "$ac_try") 2>&5
9576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9577 (exit $ac_status); }; }; then
9578 ac_cv_search_opendir=$ac_res
9580 echo "$as_me: failed program was:" >&5
9581 sed 's/^/| /' conftest.$ac_ext >&5
9586 rm -f core conftest.err conftest.$ac_objext \
9588 if test "${ac_cv_search_opendir+set}" = set; then
9592 if test "${ac_cv_search_opendir+set}" = set; then
9595 ac_cv_search_opendir=no
9598 LIBS=$ac_func_search_save_LIBS
9600 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
9601 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
9602 ac_res=$ac_cv_search_opendir
9603 if test "$ac_res" != no; then
9604 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
9611 for ac_header in dlfcn.h
9613 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9614 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9615 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9617 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9618 echo $ECHO_N "(cached) $ECHO_C" >&6
9620 ac_res=`eval echo '${'$as_ac_Header'}'`
9621 { echo "$as_me:$LINENO: result: $ac_res" >&5
9622 echo "${ECHO_T}$ac_res" >&6; }
9624 # Is the header compilable?
9625 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9626 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9627 cat >conftest.$ac_ext <<_ACEOF
9630 cat confdefs.h >>conftest.$ac_ext
9631 cat >>conftest.$ac_ext <<_ACEOF
9632 /* end confdefs.h. */
9633 $ac_includes_default
9634 #include <$ac_header>
9636 rm -f conftest.$ac_objext
9637 if { (ac_try="$ac_compile"
9639 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9640 *) ac_try_echo
=$ac_try;;
9642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9643 (eval "$ac_compile") 2>conftest.er1
9645 grep -v '^ *+' conftest.er1
>conftest.err
9647 cat conftest.err
>&5
9648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9649 (exit $ac_status); } &&
9650 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9651 { (case "(($ac_try" in
9652 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9653 *) ac_try_echo=$ac_try;;
9655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9656 (eval "$ac_try") 2>&5
9658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9659 (exit $ac_status); }; } &&
9660 { ac_try='test -s conftest.$ac_objext'
9661 { (case "(($ac_try" in
9662 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9663 *) ac_try_echo
=$ac_try;;
9665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9666 (eval "$ac_try") 2>&5
9668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9669 (exit $ac_status); }; }; then
9670 ac_header_compiler
=yes
9672 echo "$as_me: failed program was:" >&5
9673 sed 's/^/| /' conftest.
$ac_ext >&5
9675 ac_header_compiler
=no
9678 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9679 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9680 echo "${ECHO_T}$ac_header_compiler" >&6; }
9682 # Is the header present?
9683 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9684 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9685 cat >conftest.
$ac_ext <<_ACEOF
9688 cat confdefs.h
>>conftest.
$ac_ext
9689 cat >>conftest.
$ac_ext <<_ACEOF
9690 /* end confdefs.h. */
9691 #include <$ac_header>
9693 if { (ac_try
="$ac_cpp conftest.$ac_ext"
9695 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9696 *) ac_try_echo=$ac_try;;
9698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9699 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9701 grep -v '^ *+' conftest.er1 >conftest.err
9703 cat conftest.err >&5
9704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9705 (exit $ac_status); } >/dev/null; then
9706 if test -s conftest.err; then
9707 ac_cpp_err=$ac_c_preproc_warn_flag
9708 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9715 if test -z "$ac_cpp_err"; then
9716 ac_header_preproc=yes
9718 echo "$as_me: failed program was:" >&5
9719 sed 's/^/| /' conftest.$ac_ext >&5
9721 ac_header_preproc=no
9724 rm -f conftest.err conftest.$ac_ext
9725 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9726 echo "${ECHO_T}$ac_header_preproc" >&6; }
9728 # So? What about this header?
9729 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9731 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9732 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9733 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9734 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9735 ac_header_preproc=yes
9738 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9739 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9740 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9741 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9742 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9743 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9744 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9745 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9746 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9747 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9748 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9749 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9751 ## ----------------------------------- ##
9752 ## Report this to llvmbugs@cs.uiuc.edu ##
9753 ## ----------------------------------- ##
9755 ) | sed "s/^/$as_me: WARNING: /" >&2
9758 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9760 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9761 echo $ECHO_N "(cached) $ECHO_C" >&6
9763 eval "$as_ac_Header=\$ac_header_preproc"
9765 ac_res=`eval echo '${'$as_ac_Header'}'`
9766 { echo "$as_me:$LINENO: result: $ac_res" >&5
9767 echo "${ECHO_T}$ac_res" >&6; }
9770 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9771 cat >>confdefs.h <<_ACEOF
9772 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9779 # Check whether --enable-ltdl-install was given.
9780 if test "${enable_ltdl_install+set}" = set; then
9781 enableval=$enable_ltdl_install;
9787 if test x"${enable_ltdl_install-no}" != xno; then
9789 INSTALL_LTDL_FALSE='#'
9791 INSTALL_LTDL_TRUE='#'
9797 if test x"${enable_ltdl_convenience-no}" != xno; then
9798 CONVENIENCE_LTDL_TRUE=
9799 CONVENIENCE_LTDL_FALSE='#'
9801 CONVENIENCE_LTDL_TRUE='#'
9802 CONVENIENCE_LTDL_FALSE=
9806 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9807 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9809 libname_spec='lib$name'
9817 shlibpath_overrides_runpath=unknown
9819 dynamic_linker="$host_os ld.so"
9820 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9821 if test "$GCC" = yes; then
9822 sys_lib_search_path_spec=`$CC -print-search-dirs |
grep "^libraries:" |
$SED -e "s/^libraries://" -e "s,=/,/,g"`
9823 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
9824 # if the path contains ";" then we assume it to be the separator
9825 # otherwise default to the standard path separator (i.e. ":") - it is
9826 # assumed that no part of a normal pathname contains ";" but that should
9827 # okay in the real world where ";" in dirpaths is itself problematic.
9828 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" |
$SED -e 's/;/ /g'`
9830 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" |
$SED -e "s/$PATH_SEPARATOR/ /g"`
9833 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9835 need_lib_prefix=unknown
9836 hardcode_into_libs=no
9838 # when you set need_version to no, make sure it does not cause -set_version
9839 # flags to be left without arguments
9840 need_version=unknown
9845 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9846 shlibpath_var=LIBPATH
9848 # AIX 3 has no versioning support, so we append a major version to the name.
9849 soname_spec='${libname}${release}${shared_ext}$major'
9856 hardcode_into_libs=yes
9857 if test "$host_cpu" = ia64; then
9858 # AIX 5 supports IA64
9859 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9860 shlibpath_var=LD_LIBRARY_PATH
9862 # With GCC up to 2.95.x, collect2 would create an import file
9863 # for dependence libraries. The import file would start with
9864 # the line `#! .'. This would cause the generated library to
9865 # depend on `.', always an invalid library. This was fixed in
9866 # development snapshots of GCC prior to 3.0.
9868 aix4 | aix4.
[01] | aix4.
[01].
*)
9869 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9871 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
9878 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9879 # soname into executable. Probably we can add versioning support to
9880 # collect2, so additional links can be useful in future.
9881 if test "$aix_use_runtimelinking" = yes; then
9882 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9883 # instead of lib<name>.a to let people know that these are not
9884 # typical AIX shared libraries.
9885 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9887 # We preserve .a as extension for shared libraries through AIX4.2
9888 # and later when we are not doing run time linking.
9889 library_names_spec
='${libname}${release}.a $libname.a'
9890 soname_spec
='${libname}${release}${shared_ext}$major'
9892 shlibpath_var
=LIBPATH
9897 library_names_spec
='$libname.ixlibrary $libname.a'
9898 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9899 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'
9903 library_names_spec
='${libname}${shared_ext}'
9904 dynamic_linker
="$host_os ld.so"
9905 shlibpath_var
=LIBRARY_PATH
9911 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9912 soname_spec
='${libname}${release}${shared_ext}$major'
9913 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9914 shlibpath_var
=LD_LIBRARY_PATH
9915 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9916 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9917 # the default ld.so.conf also contains /usr/contrib/lib and
9918 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9919 # libtool to hard-code these into programs
9922 cygwin
* | mingw
* | pw32
*)
9923 version_type
=windows
9928 case $GCC,$host_os in
9929 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
9930 library_names_spec
='$libname.dll.a'
9931 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9932 postinstall_cmds
='base_file=`basename \${file}`~
9933 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9934 dldir=$destdir/`dirname \$dlpath`~
9935 test -d \$dldir || mkdir -p \$dldir~
9936 $install_prog $dir/$dlname \$dldir/$dlname~
9937 chmod a+x \$dldir/$dlname'
9938 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9939 dlpath=$dir/\$dldll~
9941 shlibpath_overrides_runpath
=yes
9945 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9946 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9947 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9950 # MinGW DLLs use traditional 'lib' prefix
9951 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9952 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9953 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
9954 # It is most probably a Windows format PATH printed by
9955 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9956 # path with ; separators, and with drive letters. We can handle the
9957 # drive letters (cygwin fileutils understands them), so leave them,
9958 # especially as we might pass files found there to a mingw objdump,
9959 # which wouldn't understand a cygwinified path. Ahh.
9960 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9962 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9966 # pw32 DLLs use 'pw' prefix rather than 'lib'
9967 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9973 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9976 dynamic_linker
='Win32 ld.exe'
9977 # FIXME: first we should search . and the directory the executable is in
9981 darwin
* | rhapsody
*)
9982 dynamic_linker
="$host_os dyld"
9986 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9987 soname_spec
='${libname}${release}${major}$shared_ext'
9988 shlibpath_overrides_runpath
=yes
9989 shlibpath_var
=DYLD_LIBRARY_PATH
9990 shrext_cmds
='.dylib'
9991 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
9992 if test "$GCC" = yes; then
9993 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"`
9995 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
9997 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10004 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10005 soname_spec
='${libname}${release}${shared_ext}$major'
10006 shlibpath_var
=LD_LIBRARY_PATH
10017 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10018 soname_spec
='${libname}${release}${shared_ext}$major'
10019 shlibpath_var
=LD_LIBRARY_PATH
10020 shlibpath_overrides_runpath
=no
10021 hardcode_into_libs
=yes
10022 dynamic_linker
='GNU ld.so'
10025 freebsd
* | dragonfly
*)
10026 # DragonFly does not have aout. When/if they implement a new
10027 # versioning mechanism, adjust this.
10028 if test -x /usr
/bin
/objformat
; then
10029 objformat
=`/usr/bin/objformat`
10032 freebsd
[123]*) objformat
=aout
;;
10033 *) objformat
=elf
;;
10036 version_type
=freebsd-
$objformat
10037 case $version_type in
10039 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10044 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10048 shlibpath_var
=LD_LIBRARY_PATH
10051 shlibpath_overrides_runpath
=yes
10053 freebsd3.
[01]* | freebsdelf3.
[01]*)
10054 shlibpath_overrides_runpath
=yes
10055 hardcode_into_libs
=yes
10057 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10058 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10059 shlibpath_overrides_runpath
=no
10060 hardcode_into_libs
=yes
10062 freebsd
*) # from 4.6 on
10063 shlibpath_overrides_runpath
=yes
10064 hardcode_into_libs
=yes
10073 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10074 soname_spec
='${libname}${release}${shared_ext}$major'
10075 shlibpath_var
=LD_LIBRARY_PATH
10076 hardcode_into_libs
=yes
10079 hpux9
* | hpux10
* | hpux11
*)
10080 # Give a soname corresponding to the major version so that dld.sl refuses to
10081 # link against other versions.
10088 hardcode_into_libs
=yes
10089 dynamic_linker
="$host_os dld.so"
10090 shlibpath_var
=LD_LIBRARY_PATH
10091 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10092 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10093 soname_spec
='${libname}${release}${shared_ext}$major'
10094 if test "X$HPUX_IA64_MODE" = X32
; then
10095 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10097 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10099 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10103 hardcode_into_libs
=yes
10104 dynamic_linker
="$host_os dld.sl"
10105 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10106 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10107 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10108 soname_spec
='${libname}${release}${shared_ext}$major'
10109 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10110 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10114 dynamic_linker
="$host_os dld.sl"
10115 shlibpath_var
=SHLIB_PATH
10116 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10117 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10118 soname_spec
='${libname}${release}${shared_ext}$major'
10121 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10122 postinstall_cmds
='chmod 555 $lib'
10129 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10130 soname_spec
='${libname}${release}${shared_ext}$major'
10131 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10132 shlibpath_var
=LD_LIBRARY_PATH
10133 shlibpath_overrides_runpath
=no
10134 hardcode_into_libs
=yes
10137 irix5
* | irix6
* | nonstopux
*)
10139 nonstopux
*) version_type
=nonstopux
;;
10141 if test "$lt_cv_prog_gnu_ld" = yes; then
10149 soname_spec
='${libname}${release}${shared_ext}$major'
10150 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10152 irix5
* | nonstopux
*)
10153 libsuff
= shlibsuff
=
10156 case $LD in # libtool.m4 will add one of these switches to LD
10157 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10158 libsuff
= shlibsuff
= libmagic
=32-bit;;
10159 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10160 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10161 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10162 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10163 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10167 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10168 shlibpath_overrides_runpath
=no
10169 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10170 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10171 hardcode_into_libs
=yes
10174 # No shared lib support for Linux oldld, aout, or coff.
10175 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10179 # This must be Linux ELF.
10184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10185 soname_spec
='${libname}${release}${shared_ext}$major'
10186 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10187 shlibpath_var
=LD_LIBRARY_PATH
10188 shlibpath_overrides_runpath
=no
10189 # This implies no fast_install, which is unacceptable.
10190 # Some rework will be needed to allow for fast_install
10191 # before this can be enabled.
10192 hardcode_into_libs
=yes
10194 # Append ld.so.conf contents to the search path
10195 if test -f /etc
/ld.so.conf
; then
10196 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' ' '`
10197 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10200 # We used to test for /lib/ld.so.1 and disable shared libraries on
10201 # powerpc, because MkLinux only supported shared libraries with the
10202 # GNU dynamic linker. Since this was broken with cross compilers,
10203 # most powerpc-linux boxes support dynamic linking these days and
10204 # people can always --disable-shared, the test was removed, and we
10205 # assume the GNU/Linux dynamic linker is in use.
10206 dynamic_linker
='GNU/Linux ld.so'
10213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10214 soname_spec
='${libname}${release}${shared_ext}$major'
10215 shlibpath_var
=LD_LIBRARY_PATH
10216 shlibpath_overrides_runpath
=no
10217 hardcode_into_libs
=yes
10218 dynamic_linker
='GNU ld.so'
10225 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10226 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10227 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10228 dynamic_linker
='NetBSD (a.out) ld.so'
10230 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10231 soname_spec
='${libname}${release}${shared_ext}$major'
10232 dynamic_linker
='NetBSD ld.elf_so'
10234 shlibpath_var
=LD_LIBRARY_PATH
10235 shlibpath_overrides_runpath
=yes
10236 hardcode_into_libs
=yes
10241 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10242 shlibpath_var
=LD_LIBRARY_PATH
10243 shlibpath_overrides_runpath
=yes
10250 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10251 soname_spec
='${libname}${release}${shared_ext}$major'
10252 shlibpath_var
=LD_LIBRARY_PATH
10253 shlibpath_overrides_runpath
=yes
10258 sys_lib_dlsearch_path_spec
="/usr/lib"
10260 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10262 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10263 *) need_version
=no
;;
10265 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10266 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10267 shlibpath_var
=LD_LIBRARY_PATH
10268 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10270 openbsd2.
[89] | openbsd2.
[89].
*)
10271 shlibpath_overrides_runpath
=no
10274 shlibpath_overrides_runpath
=yes
10278 shlibpath_overrides_runpath
=yes
10283 libname_spec
='$name'
10286 library_names_spec
='$libname${shared_ext} $libname.a'
10287 dynamic_linker
='OS/2 ld.exe'
10288 shlibpath_var
=LIBPATH
10291 osf3
* | osf4
* | osf5
*)
10295 soname_spec
='${libname}${release}${shared_ext}$major'
10296 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10297 shlibpath_var
=LD_LIBRARY_PATH
10298 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10299 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10306 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10307 soname_spec
='${libname}${release}${shared_ext}$major'
10308 shlibpath_var
=LD_LIBRARY_PATH
10309 shlibpath_overrides_runpath
=yes
10310 hardcode_into_libs
=yes
10311 # ldd complains unless libraries are executable
10312 postinstall_cmds
='chmod +x $lib'
10317 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10318 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10319 shlibpath_var
=LD_LIBRARY_PATH
10320 shlibpath_overrides_runpath
=yes
10321 if test "$with_gnu_ld" = yes; then
10329 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10330 soname_spec
='${libname}${release}${shared_ext}$major'
10331 shlibpath_var
=LD_LIBRARY_PATH
10332 case $host_vendor in
10334 shlibpath_overrides_runpath
=no
10336 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10337 runpath_var
=LD_RUN_PATH
10345 shlibpath_overrides_runpath
=no
10346 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10352 if test -d /usr
/nec
;then
10354 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10355 soname_spec
='$libname${shared_ext}.$major'
10356 shlibpath_var
=LD_LIBRARY_PATH
10360 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10361 version_type
=freebsd-elf
10364 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10365 soname_spec
='${libname}${release}${shared_ext}$major'
10366 shlibpath_var
=LD_LIBRARY_PATH
10367 hardcode_into_libs
=yes
10368 if test "$with_gnu_ld" = yes; then
10369 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10370 shlibpath_overrides_runpath
=no
10372 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10373 shlibpath_overrides_runpath
=yes
10376 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10380 sys_lib_dlsearch_path_spec
='/usr/lib'
10385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10386 soname_spec
='${libname}${release}${shared_ext}$major'
10387 shlibpath_var
=LD_LIBRARY_PATH
10394 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10395 echo "${ECHO_T}$dynamic_linker" >&6; }
10396 test "$dynamic_linker" = no
&& can_build_shared
=no
10398 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10399 if test "$GCC" = yes; then
10400 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10404 { echo "$as_me:$LINENO: checking which extension is used for loadable modules" >&5
10405 echo $ECHO_N "checking which extension is used for loadable modules... $ECHO_C" >&6; }
10406 if test "${libltdl_cv_shlibext+set}" = set; then
10407 echo $ECHO_N "(cached) $ECHO_C" >&6
10411 eval libltdl_cv_shlibext
=$shrext_cmds
10414 { echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
10415 echo "${ECHO_T}$libltdl_cv_shlibext" >&6; }
10416 if test -n "$libltdl_cv_shlibext"; then
10418 cat >>confdefs.h
<<_ACEOF
10419 #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
10425 { echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
10426 echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6; }
10427 if test "${libltdl_cv_shlibpath_var+set}" = set; then
10428 echo $ECHO_N "(cached) $ECHO_C" >&6
10430 libltdl_cv_shlibpath_var
="$shlibpath_var"
10432 { echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
10433 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6; }
10434 if test -n "$libltdl_cv_shlibpath_var"; then
10436 cat >>confdefs.h
<<_ACEOF
10437 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
10443 { echo "$as_me:$LINENO: checking for the default library search path" >&5
10444 echo $ECHO_N "checking for the default library search path... $ECHO_C" >&6; }
10445 if test "${libltdl_cv_sys_search_path+set}" = set; then
10446 echo $ECHO_N "(cached) $ECHO_C" >&6
10448 libltdl_cv_sys_search_path
="$sys_lib_dlsearch_path_spec"
10450 { echo "$as_me:$LINENO: result: $libltdl_cv_sys_search_path" >&5
10451 echo "${ECHO_T}$libltdl_cv_sys_search_path" >&6; }
10452 if test -n "$libltdl_cv_sys_search_path"; then
10454 for dir
in $libltdl_cv_sys_search_path; do
10455 if test -z "$sys_search_path"; then
10456 sys_search_path
="$dir"
10458 sys_search_path
="$sys_search_path$PATH_SEPARATOR$dir"
10462 cat >>confdefs.h
<<_ACEOF
10463 #define LTDL_SYSSEARCHPATH "$sys_search_path"
10468 { echo "$as_me:$LINENO: checking for objdir" >&5
10469 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
10470 if test "${libltdl_cv_objdir+set}" = set; then
10471 echo $ECHO_N "(cached) $ECHO_C" >&6
10473 libltdl_cv_objdir
="$objdir"
10474 if test -n "$objdir"; then
10477 rm -f .libs
2>/dev
/null
10478 mkdir .libs
2>/dev
/null
10479 if test -d .libs
; then
10480 libltdl_cv_objdir
=.libs
10482 # MS-DOS does not allow filenames that begin with a dot.
10483 libltdl_cv_objdir
=_libs
10485 rmdir .libs
2>/dev
/null
10489 { echo "$as_me:$LINENO: result: $libltdl_cv_objdir" >&5
10490 echo "${ECHO_T}$libltdl_cv_objdir" >&6; }
10492 cat >>confdefs.h
<<_ACEOF
10493 #define LTDL_OBJDIR "$libltdl_cv_objdir/"
10501 # Check for command to grab the raw symbol name followed by C symbol from nm.
10502 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
10503 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
10504 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
10505 echo $ECHO_N "(cached) $ECHO_C" >&6
10508 # These are sane defaults that work on at least a few old systems.
10509 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
10511 # Character class describing NM global symbol codes.
10512 symcode
='[BCDEGRST]'
10514 # Regexp to match symbols that can be accessed directly from C.
10515 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
10517 # Transform an extracted symbol line into a proper C declaration
10518 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
10520 # Transform an extracted symbol line into symbol name and symbol address
10521 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'"
10523 # Define system-specific variables.
10528 cygwin
* | mingw
* | pw32
*)
10529 symcode
='[ABCDGISTW]'
10531 hpux
*) # Its linker distinguishes data from code symbols
10532 if test "$host_cpu" = ia64
; then
10533 symcode
='[ABCDEGRST]'
10535 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
10536 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'"
10539 if test "$host_cpu" = ia64
; then
10540 symcode
='[ABCDGIRSTW]'
10541 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
10542 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'"
10545 irix
* | nonstopux
*)
10546 symcode
='[BCDEGRST]'
10549 symcode
='[BCDEGQRST]'
10560 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10568 # Handle CRLF in mingw tool chain
10572 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
10576 # If we're using GNU nm, then use its standard symbol codes.
10577 case `$NM -V 2>&1` in
10578 *GNU
* |
*'with BFD'*)
10579 symcode
='[ABCDGIRSTW]' ;;
10582 # Try without a prefix undercore, then with it.
10583 for ac_symprfx
in "" "_"; do
10585 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
10586 symxfrm
="\\1 $ac_symprfx\\2 \\2"
10588 # Write the raw and C identifiers.
10589 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
10591 # Check to see that the pipe works correctly.
10595 cat > conftest.
$ac_ext <<EOF
10600 void nm_test_func(){}
10604 int main(){nm_test_var='a';nm_test_func();return(0);}
10607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10608 (eval $ac_compile) 2>&5
10610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10611 (exit $ac_status); }; then
10612 # Now try to grab the symbols.
10614 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
10615 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
10617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10618 (exit $ac_status); } && test -s "$nlist"; then
10619 # Try sorting and uniquifying the output.
10620 if sort "$nlist" |
uniq > "$nlist"T
; then
10621 mv -f "$nlist"T
"$nlist"
10626 # Make sure that we snagged all the symbols we need.
10627 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
10628 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
10629 cat <<EOF > conftest.$ac_ext
10635 # Now generate the symbol file.
10636 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
10638 cat <<EOF >> conftest.$ac_ext
10639 #if defined (__STDC__) && __STDC__
10640 # define lt_ptr_t void *
10642 # define lt_ptr_t char *
10646 /* The mapping between symbol names and symbols. */
10651 lt_preloaded_symbols[] =
10654 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
10655 cat <<\EOF
>> conftest.
$ac_ext
10663 # Now try linking the two files.
10664 mv conftest.
$ac_objext conftstm.
$ac_objext
10665 lt_save_LIBS
="$LIBS"
10666 lt_save_CFLAGS
="$CFLAGS"
10667 LIBS
="conftstm.$ac_objext"
10668 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
10669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10670 (eval $ac_link) 2>&5
10672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10673 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
10676 LIBS
="$lt_save_LIBS"
10677 CFLAGS
="$lt_save_CFLAGS"
10679 echo "cannot find nm_test_func in $nlist" >&5
10682 echo "cannot find nm_test_var in $nlist" >&5
10685 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
10688 echo "$progname: failed program was:" >&5
10689 cat conftest.
$ac_ext >&5
10691 rm -f conftest
* conftst
*
10693 # Do not use the global_symbol_pipe unless it works.
10694 if test "$pipe_works" = yes; then
10697 lt_cv_sys_global_symbol_pipe
=
10703 if test -z "$lt_cv_sys_global_symbol_pipe"; then
10704 lt_cv_sys_global_symbol_to_cdecl
=
10706 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
10707 { echo "$as_me:$LINENO: result: failed" >&5
10708 echo "${ECHO_T}failed" >&6; }
10710 { echo "$as_me:$LINENO: result: ok" >&5
10711 echo "${ECHO_T}ok" >&6; }
10715 { echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
10716 echo $ECHO_N "checking whether libtool supports -dlopen/-dlpreopen... $ECHO_C" >&6; }
10717 if test "${libltdl_cv_preloaded_symbols+set}" = set; then
10718 echo $ECHO_N "(cached) $ECHO_C" >&6
10720 if test -n "$lt_cv_sys_global_symbol_pipe"; then
10721 libltdl_cv_preloaded_symbols
=yes
10723 libltdl_cv_preloaded_symbols
=no
10727 { echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
10728 echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6; }
10729 if test x
"$libltdl_cv_preloaded_symbols" = xyes
; then
10731 cat >>confdefs.h
<<\_ACEOF
10732 #define HAVE_PRELOADED_SYMBOLS 1
10740 ac_cpp
='$CPP $CPPFLAGS'
10741 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10742 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10743 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10746 { echo "$as_me:$LINENO: checking for shl_load" >&5
10747 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10748 if test "${ac_cv_func_shl_load+set}" = set; then
10749 echo $ECHO_N "(cached) $ECHO_C" >&6
10751 cat >conftest.
$ac_ext <<_ACEOF
10754 cat confdefs.h
>>conftest.
$ac_ext
10755 cat >>conftest.
$ac_ext <<_ACEOF
10756 /* end confdefs.h. */
10757 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10759 #define shl_load innocuous_shl_load
10761 /* System header to define __stub macros and hopefully few prototypes,
10762 which can conflict with char shl_load (); below.
10763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10764 <limits.h> exists even on freestanding compilers. */
10767 # include <limits.h>
10769 # include <assert.h>
10774 /* Override any GCC internal prototype to avoid an error.
10775 Use char because int might match the return type of a GCC
10776 builtin and then its argument prototype would still apply. */
10781 /* The GNU C library defines this for functions which it implements
10782 to always fail with ENOSYS. Some functions are actually named
10783 something starting with __ and the normal name is an alias. */
10784 #if defined __stub_shl_load || defined __stub___shl_load
10791 return shl_load ();
10796 rm -f conftest.
$ac_objext conftest
$ac_exeext
10797 if { (ac_try
="$ac_link"
10798 case "(($ac_try" in
10799 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10800 *) ac_try_echo=$ac_try;;
10802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10803 (eval "$ac_link") 2>conftest.er1
10805 grep -v '^ *+' conftest.er1 >conftest.err
10807 cat conftest.err >&5
10808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10809 (exit $ac_status); } &&
10810 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10811 { (case "(($ac_try" in
10812 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10813 *) ac_try_echo
=$ac_try;;
10815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10816 (eval "$ac_try") 2>&5
10818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10819 (exit $ac_status); }; } &&
10820 { ac_try
='test -s conftest$ac_exeext'
10821 { (case "(($ac_try" in
10822 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10823 *) ac_try_echo=$ac_try;;
10825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10826 (eval "$ac_try") 2>&5
10828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10829 (exit $ac_status); }; }; then
10830 ac_cv_func_shl_load=yes
10832 echo "$as_me: failed program was:" >&5
10833 sed 's/^/| /' conftest.$ac_ext >&5
10835 ac_cv_func_shl_load=no
10838 rm -f core conftest.err conftest.$ac_objext \
10839 conftest$ac_exeext conftest.$ac_ext
10841 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10842 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10843 if test $ac_cv_func_shl_load = yes; then
10845 cat >>confdefs.h <<\_ACEOF
10846 #define HAVE_SHL_LOAD 1
10850 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10851 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10852 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10853 echo $ECHO_N "(cached) $ECHO_C" >&6
10855 ac_check_lib_save_LIBS=$LIBS
10857 cat >conftest.$ac_ext <<_ACEOF
10860 cat confdefs.h >>conftest.$ac_ext
10861 cat >>conftest.$ac_ext <<_ACEOF
10862 /* end confdefs.h. */
10864 /* Override any GCC internal prototype to avoid an error.
10865 Use char because int might match the return type of a GCC
10866 builtin and then its argument prototype would still apply. */
10874 return shl_load ();
10879 rm -f conftest.$ac_objext conftest$ac_exeext
10880 if { (ac_try="$ac_link"
10881 case "(($ac_try" in
10882 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10883 *) ac_try_echo
=$ac_try;;
10885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10886 (eval "$ac_link") 2>conftest.er1
10888 grep -v '^ *+' conftest.er1
>conftest.err
10890 cat conftest.err
>&5
10891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10892 (exit $ac_status); } &&
10893 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10894 { (case "(($ac_try" in
10895 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10896 *) ac_try_echo=$ac_try;;
10898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10899 (eval "$ac_try") 2>&5
10901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10902 (exit $ac_status); }; } &&
10903 { ac_try='test -s conftest$ac_exeext'
10904 { (case "(($ac_try" in
10905 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10906 *) ac_try_echo
=$ac_try;;
10908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10909 (eval "$ac_try") 2>&5
10911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10912 (exit $ac_status); }; }; then
10913 ac_cv_lib_dld_shl_load
=yes
10915 echo "$as_me: failed program was:" >&5
10916 sed 's/^/| /' conftest.
$ac_ext >&5
10918 ac_cv_lib_dld_shl_load
=no
10921 rm -f core conftest.err conftest.
$ac_objext \
10922 conftest
$ac_exeext conftest.
$ac_ext
10923 LIBS
=$ac_check_lib_save_LIBS
10925 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10926 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10927 if test $ac_cv_lib_dld_shl_load = yes; then
10929 cat >>confdefs.h
<<\_ACEOF
10930 #define HAVE_SHL_LOAD 1
10933 LIBADD_DL
="$LIBADD_DL -ldld"
10935 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10936 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10937 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10938 echo $ECHO_N "(cached) $ECHO_C" >&6
10940 ac_check_lib_save_LIBS
=$LIBS
10942 cat >conftest.
$ac_ext <<_ACEOF
10945 cat confdefs.h
>>conftest.
$ac_ext
10946 cat >>conftest.
$ac_ext <<_ACEOF
10947 /* end confdefs.h. */
10949 /* Override any GCC internal prototype to avoid an error.
10950 Use char because int might match the return type of a GCC
10951 builtin and then its argument prototype would still apply. */
10964 rm -f conftest.
$ac_objext conftest
$ac_exeext
10965 if { (ac_try
="$ac_link"
10966 case "(($ac_try" in
10967 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10968 *) ac_try_echo=$ac_try;;
10970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10971 (eval "$ac_link") 2>conftest.er1
10973 grep -v '^ *+' conftest.er1 >conftest.err
10975 cat conftest.err >&5
10976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10977 (exit $ac_status); } &&
10978 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10979 { (case "(($ac_try" in
10980 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10981 *) ac_try_echo
=$ac_try;;
10983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10984 (eval "$ac_try") 2>&5
10986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10987 (exit $ac_status); }; } &&
10988 { ac_try
='test -s conftest$ac_exeext'
10989 { (case "(($ac_try" in
10990 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10991 *) ac_try_echo=$ac_try;;
10993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10994 (eval "$ac_try") 2>&5
10996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10997 (exit $ac_status); }; }; then
10998 ac_cv_lib_dl_dlopen=yes
11000 echo "$as_me: failed program was:" >&5
11001 sed 's/^/| /' conftest.$ac_ext >&5
11003 ac_cv_lib_dl_dlopen=no
11006 rm -f core conftest.err conftest.$ac_objext \
11007 conftest$ac_exeext conftest.$ac_ext
11008 LIBS=$ac_check_lib_save_LIBS
11010 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11011 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11012 if test $ac_cv_lib_dl_dlopen = yes; then
11014 cat >>confdefs.h <<\_ACEOF
11015 #define HAVE_LIBDL 1
11018 LIBADD_DL="-ldl" libltdl_cv_lib_dl_dlopen="yes"
11020 cat >conftest.$ac_ext <<_ACEOF
11023 cat confdefs.h >>conftest.$ac_ext
11024 cat >>conftest.$ac_ext <<_ACEOF
11025 /* end confdefs.h. */
11027 # include <dlfcn.h>
11038 rm -f conftest.$ac_objext conftest$ac_exeext
11039 if { (ac_try="$ac_link"
11040 case "(($ac_try" in
11041 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11042 *) ac_try_echo
=$ac_try;;
11044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11045 (eval "$ac_link") 2>conftest.er1
11047 grep -v '^ *+' conftest.er1
>conftest.err
11049 cat conftest.err
>&5
11050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11051 (exit $ac_status); } &&
11052 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11053 { (case "(($ac_try" in
11054 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11055 *) ac_try_echo=$ac_try;;
11057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11058 (eval "$ac_try") 2>&5
11060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11061 (exit $ac_status); }; } &&
11062 { ac_try='test -s conftest$ac_exeext'
11063 { (case "(($ac_try" in
11064 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11065 *) ac_try_echo
=$ac_try;;
11067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11068 (eval "$ac_try") 2>&5
11070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11071 (exit $ac_status); }; }; then
11073 cat >>confdefs.h
<<\_ACEOF
11074 #define HAVE_LIBDL 1
11076 libltdl_cv_func_dlopen
="yes"
11078 echo "$as_me: failed program was:" >&5
11079 sed 's/^/| /' conftest.
$ac_ext >&5
11081 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11082 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
11083 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11084 echo $ECHO_N "(cached) $ECHO_C" >&6
11086 ac_check_lib_save_LIBS
=$LIBS
11087 LIBS
="-lsvld $LIBS"
11088 cat >conftest.
$ac_ext <<_ACEOF
11091 cat confdefs.h
>>conftest.
$ac_ext
11092 cat >>conftest.
$ac_ext <<_ACEOF
11093 /* end confdefs.h. */
11095 /* Override any GCC internal prototype to avoid an error.
11096 Use char because int might match the return type of a GCC
11097 builtin and then its argument prototype would still apply. */
11110 rm -f conftest.
$ac_objext conftest
$ac_exeext
11111 if { (ac_try
="$ac_link"
11112 case "(($ac_try" in
11113 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11114 *) ac_try_echo=$ac_try;;
11116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11117 (eval "$ac_link") 2>conftest.er1
11119 grep -v '^ *+' conftest.er1 >conftest.err
11121 cat conftest.err >&5
11122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11123 (exit $ac_status); } &&
11124 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11125 { (case "(($ac_try" in
11126 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11127 *) ac_try_echo
=$ac_try;;
11129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11130 (eval "$ac_try") 2>&5
11132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11133 (exit $ac_status); }; } &&
11134 { ac_try
='test -s conftest$ac_exeext'
11135 { (case "(($ac_try" in
11136 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11137 *) ac_try_echo=$ac_try;;
11139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11140 (eval "$ac_try") 2>&5
11142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11143 (exit $ac_status); }; }; then
11144 ac_cv_lib_svld_dlopen=yes
11146 echo "$as_me: failed program was:" >&5
11147 sed 's/^/| /' conftest.$ac_ext >&5
11149 ac_cv_lib_svld_dlopen=no
11152 rm -f core conftest.err conftest.$ac_objext \
11153 conftest$ac_exeext conftest.$ac_ext
11154 LIBS=$ac_check_lib_save_LIBS
11156 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11157 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
11158 if test $ac_cv_lib_svld_dlopen = yes; then
11160 cat >>confdefs.h <<\_ACEOF
11161 #define HAVE_LIBDL 1
11164 LIBADD_DL="-lsvld" libltdl_cv_func_dlopen="yes"
11166 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11167 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
11168 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11169 echo $ECHO_N "(cached) $ECHO_C" >&6
11171 ac_check_lib_save_LIBS=$LIBS
11173 cat >conftest.$ac_ext <<_ACEOF
11176 cat confdefs.h >>conftest.$ac_ext
11177 cat >>conftest.$ac_ext <<_ACEOF
11178 /* end confdefs.h. */
11180 /* Override any GCC internal prototype to avoid an error.
11181 Use char because int might match the return type of a GCC
11182 builtin and then its argument prototype would still apply. */
11190 return dld_link ();
11195 rm -f conftest.$ac_objext conftest$ac_exeext
11196 if { (ac_try="$ac_link"
11197 case "(($ac_try" in
11198 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11199 *) ac_try_echo
=$ac_try;;
11201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11202 (eval "$ac_link") 2>conftest.er1
11204 grep -v '^ *+' conftest.er1
>conftest.err
11206 cat conftest.err
>&5
11207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11208 (exit $ac_status); } &&
11209 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11210 { (case "(($ac_try" in
11211 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11212 *) ac_try_echo=$ac_try;;
11214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11215 (eval "$ac_try") 2>&5
11217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11218 (exit $ac_status); }; } &&
11219 { ac_try='test -s conftest$ac_exeext'
11220 { (case "(($ac_try" in
11221 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11222 *) ac_try_echo
=$ac_try;;
11224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11225 (eval "$ac_try") 2>&5
11227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11228 (exit $ac_status); }; }; then
11229 ac_cv_lib_dld_dld_link
=yes
11231 echo "$as_me: failed program was:" >&5
11232 sed 's/^/| /' conftest.
$ac_ext >&5
11234 ac_cv_lib_dld_dld_link
=no
11237 rm -f core conftest.err conftest.
$ac_objext \
11238 conftest
$ac_exeext conftest.
$ac_ext
11239 LIBS
=$ac_check_lib_save_LIBS
11241 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11242 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11243 if test $ac_cv_lib_dld_dld_link = yes; then
11245 cat >>confdefs.h
<<\_ACEOF
11249 LIBADD_DL
="$LIBADD_DL -ldld"
11251 { echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
11252 echo $ECHO_N "checking for _dyld_func_lookup... $ECHO_C" >&6; }
11253 if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
11254 echo $ECHO_N "(cached) $ECHO_C" >&6
11256 cat >conftest.
$ac_ext <<_ACEOF
11259 cat confdefs.h
>>conftest.
$ac_ext
11260 cat >>conftest.
$ac_ext <<_ACEOF
11261 /* end confdefs.h. */
11262 /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
11263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11264 #define _dyld_func_lookup innocuous__dyld_func_lookup
11266 /* System header to define __stub macros and hopefully few prototypes,
11267 which can conflict with char _dyld_func_lookup (); below.
11268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11269 <limits.h> exists even on freestanding compilers. */
11272 # include <limits.h>
11274 # include <assert.h>
11277 #undef _dyld_func_lookup
11279 /* Override any GCC internal prototype to avoid an error.
11280 Use char because int might match the return type of a GCC
11281 builtin and then its argument prototype would still apply. */
11285 char _dyld_func_lookup ();
11286 /* The GNU C library defines this for functions which it implements
11287 to always fail with ENOSYS. Some functions are actually named
11288 something starting with __ and the normal name is an alias. */
11289 #if defined __stub__dyld_func_lookup || defined __stub____dyld_func_lookup
11296 return _dyld_func_lookup ();
11301 rm -f conftest.
$ac_objext conftest
$ac_exeext
11302 if { (ac_try
="$ac_link"
11303 case "(($ac_try" in
11304 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11305 *) ac_try_echo=$ac_try;;
11307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11308 (eval "$ac_link") 2>conftest.er1
11310 grep -v '^ *+' conftest.er1 >conftest.err
11312 cat conftest.err >&5
11313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11314 (exit $ac_status); } &&
11315 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11316 { (case "(($ac_try" in
11317 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11318 *) ac_try_echo
=$ac_try;;
11320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11321 (eval "$ac_try") 2>&5
11323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11324 (exit $ac_status); }; } &&
11325 { ac_try
='test -s conftest$ac_exeext'
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_try") 2>&5
11333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11334 (exit $ac_status); }; }; then
11335 ac_cv_func__dyld_func_lookup=yes
11337 echo "$as_me: failed program was:" >&5
11338 sed 's/^/| /' conftest.$ac_ext >&5
11340 ac_cv_func__dyld_func_lookup=no
11343 rm -f core conftest.err conftest.$ac_objext \
11344 conftest$ac_exeext conftest.$ac_ext
11346 { echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
11347 echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6; }
11348 if test $ac_cv_func__dyld_func_lookup = yes; then
11350 cat >>confdefs.h <<\_ACEOF
11351 #define HAVE_DYLD 1
11365 rm -f core conftest.err conftest.$ac_objext \
11366 conftest$ac_exeext conftest.$ac_ext
11377 if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
11379 lt_save_LIBS="$LIBS"
11380 LIBS="$LIBS $LIBADD_DL"
11382 for ac_func in dlerror
11384 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
11385 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11387 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11388 echo $ECHO_N "(cached) $ECHO_C" >&6
11390 cat >conftest.$ac_ext <<_ACEOF
11393 cat confdefs.h >>conftest.$ac_ext
11394 cat >>conftest.$ac_ext <<_ACEOF
11395 /* end confdefs.h. */
11396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11398 #define $ac_func innocuous_$ac_func
11400 /* System header to define __stub macros and hopefully few prototypes,
11401 which can conflict with char $ac_func (); below.
11402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11403 <limits.h> exists even on freestanding compilers. */
11406 # include <limits.h>
11408 # include <assert.h>
11413 /* Override any GCC internal prototype to avoid an error.
11414 Use char because int might match the return type of a GCC
11415 builtin and then its argument prototype would still apply. */
11420 /* The GNU C library defines this for functions which it implements
11421 to always fail with ENOSYS. Some functions are actually named
11422 something starting with __ and the normal name is an alias. */
11423 #if defined __stub_$ac_func || defined __stub___$ac_func
11430 return $ac_func ();
11435 rm -f conftest.$ac_objext conftest$ac_exeext
11436 if { (ac_try="$ac_link"
11437 case "(($ac_try" in
11438 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11439 *) ac_try_echo
=$ac_try;;
11441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11442 (eval "$ac_link") 2>conftest.er1
11444 grep -v '^ *+' conftest.er1
>conftest.err
11446 cat conftest.err
>&5
11447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11448 (exit $ac_status); } &&
11449 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11450 { (case "(($ac_try" in
11451 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11452 *) ac_try_echo=$ac_try;;
11454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11455 (eval "$ac_try") 2>&5
11457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11458 (exit $ac_status); }; } &&
11459 { ac_try='test -s conftest$ac_exeext'
11460 { (case "(($ac_try" in
11461 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11462 *) ac_try_echo
=$ac_try;;
11464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11465 (eval "$ac_try") 2>&5
11467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11468 (exit $ac_status); }; }; then
11469 eval "$as_ac_var=yes"
11471 echo "$as_me: failed program was:" >&5
11472 sed 's/^/| /' conftest.
$ac_ext >&5
11474 eval "$as_ac_var=no"
11477 rm -f core conftest.err conftest.
$ac_objext \
11478 conftest
$ac_exeext conftest.
$ac_ext
11480 ac_res
=`eval echo '${'$as_ac_var'}'`
11481 { echo "$as_me:$LINENO: result: $ac_res" >&5
11482 echo "${ECHO_T}$ac_res" >&6; }
11483 if test `eval echo '${'$as_ac_var'}'` = yes; then
11484 cat >>confdefs.h
<<_ACEOF
11485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11491 LIBS
="$lt_save_LIBS"
11494 ac_cpp
='$CPP $CPPFLAGS'
11495 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11496 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11497 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11501 { echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
11502 echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6; }
11503 if test "${ac_cv_sys_symbol_underscore+set}" = set; then
11504 echo $ECHO_N "(cached) $ECHO_C" >&6
11506 ac_cv_sys_symbol_underscore
=no
11507 cat > conftest.
$ac_ext <<EOF
11508 void nm_test_func(){}
11509 int main(){nm_test_func;return 0;}
11511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11512 (eval $ac_compile) 2>&5
11514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11515 (exit $ac_status); }; then
11516 # Now try to grab the symbols.
11517 ac_nlist
=conftest.nm
11518 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
11519 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $ac_nlist) 2>&5
11521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11522 (exit $ac_status); } && test -s "$ac_nlist"; then
11523 # See whether the symbols have a leading underscore.
11524 if grep '^. _nm_test_func' "$ac_nlist" >/dev
/null
; then
11525 ac_cv_sys_symbol_underscore
=yes
11527 if grep '^. nm_test_func ' "$ac_nlist" >/dev
/null
; then
11530 echo "configure: cannot find nm_test_func in $ac_nlist" >&5
11534 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
11537 echo "configure: failed program was:" >&5
11543 { echo "$as_me:$LINENO: result: $ac_cv_sys_symbol_underscore" >&5
11544 echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6; }
11547 if test x
"$ac_cv_sys_symbol_underscore" = xyes
; then
11548 if test x
"$libltdl_cv_func_dlopen" = xyes ||
11549 test x
"$libltdl_cv_lib_dl_dlopen" = xyes
; then
11550 { echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
11551 echo $ECHO_N "checking whether we have to add an underscore for dlsym... $ECHO_C" >&6; }
11552 if test "${libltdl_cv_need_uscore+set}" = set; then
11553 echo $ECHO_N "(cached) $ECHO_C" >&6
11555 libltdl_cv_need_uscore
=unknown
11557 LIBS
="$LIBS $LIBADD_DL"
11558 if test "$cross_compiling" = yes; then :
11559 libltdl_cv_need_uscore
=cross
11561 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11562 lt_status
=$lt_dlunknown
11563 cat > conftest.
$ac_ext <<EOF
11564 #line 11564 "configure"
11565 #include "confdefs.h"
11574 # define LT_DLGLOBAL RTLD_GLOBAL
11577 # define LT_DLGLOBAL DL_GLOBAL
11579 # define LT_DLGLOBAL 0
11583 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11584 find out it does not work in some platform. */
11585 #ifndef LT_DLLAZY_OR_NOW
11587 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11590 # define LT_DLLAZY_OR_NOW DL_LAZY
11593 # define LT_DLLAZY_OR_NOW RTLD_NOW
11596 # define LT_DLLAZY_OR_NOW DL_NOW
11598 # define LT_DLLAZY_OR_NOW 0
11606 extern "C" void exit (int);
11609 void fnord() { int i=42;}
11612 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11613 int status = $lt_dlunknown;
11617 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11618 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11619 /* dlclose (self); */
11627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11628 (eval $ac_link) 2>&5
11630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11631 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11632 (.
/conftest
; exit; ) >&5 2>/dev
/null
11634 case x
$lt_status in
11635 x
$lt_dlno_uscore) libltdl_cv_need_uscore
=no
;;
11636 x
$lt_dlneed_uscore) libltdl_cv_need_uscore
=yes ;;
11637 x
$lt_dlunknown|x
*) ;;
11640 # compilation failed
11649 { echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
11650 echo "${ECHO_T}$libltdl_cv_need_uscore" >&6; }
11654 if test x
"$libltdl_cv_need_uscore" = xyes
; then
11656 cat >>confdefs.h
<<\_ACEOF
11657 #define NEED_USCORE 1
11663 { echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
11664 echo $ECHO_N "checking whether deplibs are loaded by dlopen... $ECHO_C" >&6; }
11665 if test "${libltdl_cv_sys_dlopen_deplibs+set}" = set; then
11666 echo $ECHO_N "(cached) $ECHO_C" >&6
11668 # PORTME does your system automatically load deplibs for dlopen?
11669 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
11670 # For now, we just catch OSes we know something about -- in the
11671 # future, we'll try test this programmatically.
11672 libltdl_cv_sys_dlopen_deplibs
=unknown
11674 aix3
*|aix4.1.
*|aix4.2.
*)
11675 # Unknown whether this is true for these versions of AIX, but
11676 # we want this `case' here to explicitly catch those versions.
11677 libltdl_cv_sys_dlopen_deplibs
=unknown
11680 libltdl_cv_sys_dlopen_deplibs
=yes
11683 # Assuming the user has installed a libdl from somewhere, this is true
11684 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
11685 libltdl_cv_sys_dlopen_deplibs
=yes
11687 gnu
* | linux
* | kfreebsd
*-gnu | knetbsd
*-gnu)
11688 # GNU and its variants, using gnu ld.so (Glibc)
11689 libltdl_cv_sys_dlopen_deplibs
=yes
11692 libltdl_cv_sys_dlopen_deplibs
=yes
11695 libltdl_cv_sys_dlopen_deplibs
=yes
11697 irix
[12345]*|irix6.
[01]*)
11698 # Catch all versions of IRIX before 6.2, and indicate that we don't
11699 # know how it worked for any of those versions.
11700 libltdl_cv_sys_dlopen_deplibs
=unknown
11703 # The case above catches anything before 6.2, and it's known that
11704 # at 6.2 and later dlopen does load deplibs.
11705 libltdl_cv_sys_dlopen_deplibs
=yes
11708 libltdl_cv_sys_dlopen_deplibs
=yes
11711 libltdl_cv_sys_dlopen_deplibs
=yes
11714 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
11715 # it did *not* use an RPATH in a shared library to find objects the
11716 # library depends on, so we explictly say `no'.
11717 libltdl_cv_sys_dlopen_deplibs
=no
11719 osf5.0|osf5.0a|osf5.1
)
11720 # dlopen *does* load deplibs and with the right loader patch applied
11721 # it even uses RPATH in a shared library to search for shared objects
11722 # that the library depends on, but there's no easy way to know if that
11723 # patch is installed. Since this is the case, all we can really
11724 # say is unknown -- it depends on the patch being installed. If
11725 # it is, this changes to `yes'. Without it, it would be `no'.
11726 libltdl_cv_sys_dlopen_deplibs
=unknown
11729 # the two cases above should catch all versions of osf <= 5.1. Read
11730 # the comments above for what we know about them.
11731 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
11732 # is used to find them so we can finally say `yes'.
11733 libltdl_cv_sys_dlopen_deplibs
=yes
11736 libltdl_cv_sys_dlopen_deplibs
=yes
11738 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11739 libltdl_cv_sys_dlopen_deplibs
=yes
11744 { echo "$as_me:$LINENO: result: $libltdl_cv_sys_dlopen_deplibs" >&5
11745 echo "${ECHO_T}$libltdl_cv_sys_dlopen_deplibs" >&6; }
11746 if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
11748 cat >>confdefs.h
<<\_ACEOF
11749 #define LTDL_DLOPEN_DEPLIBS 1
11755 for ac_header
in argz.h
11757 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11758 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11759 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11761 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11762 echo $ECHO_N "(cached) $ECHO_C" >&6
11764 ac_res
=`eval echo '${'$as_ac_Header'}'`
11765 { echo "$as_me:$LINENO: result: $ac_res" >&5
11766 echo "${ECHO_T}$ac_res" >&6; }
11768 # Is the header compilable?
11769 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11770 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11771 cat >conftest.
$ac_ext <<_ACEOF
11774 cat confdefs.h
>>conftest.
$ac_ext
11775 cat >>conftest.
$ac_ext <<_ACEOF
11776 /* end confdefs.h. */
11777 $ac_includes_default
11778 #include <$ac_header>
11780 rm -f conftest.
$ac_objext
11781 if { (ac_try
="$ac_compile"
11782 case "(($ac_try" in
11783 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11784 *) ac_try_echo=$ac_try;;
11786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11787 (eval "$ac_compile") 2>conftest.er1
11789 grep -v '^ *+' conftest.er1 >conftest.err
11791 cat conftest.err >&5
11792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11793 (exit $ac_status); } &&
11794 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11795 { (case "(($ac_try" in
11796 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11797 *) ac_try_echo
=$ac_try;;
11799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11800 (eval "$ac_try") 2>&5
11802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11803 (exit $ac_status); }; } &&
11804 { ac_try
='test -s conftest.$ac_objext'
11805 { (case "(($ac_try" in
11806 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11807 *) ac_try_echo=$ac_try;;
11809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11810 (eval "$ac_try") 2>&5
11812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11813 (exit $ac_status); }; }; then
11814 ac_header_compiler=yes
11816 echo "$as_me: failed program was:" >&5
11817 sed 's/^/| /' conftest.$ac_ext >&5
11819 ac_header_compiler=no
11822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11823 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11824 echo "${ECHO_T}$ac_header_compiler" >&6; }
11826 # Is the header present?
11827 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11828 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11829 cat >conftest.$ac_ext <<_ACEOF
11832 cat confdefs.h >>conftest.$ac_ext
11833 cat >>conftest.$ac_ext <<_ACEOF
11834 /* end confdefs.h. */
11835 #include <$ac_header>
11837 if { (ac_try="$ac_cpp conftest.$ac_ext"
11838 case "(($ac_try" in
11839 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11840 *) ac_try_echo
=$ac_try;;
11842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11843 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11845 grep -v '^ *+' conftest.er1
>conftest.err
11847 cat conftest.err
>&5
11848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11849 (exit $ac_status); } >/dev
/null
; then
11850 if test -s conftest.err
; then
11851 ac_cpp_err
=$ac_c_preproc_warn_flag
11852 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11859 if test -z "$ac_cpp_err"; then
11860 ac_header_preproc
=yes
11862 echo "$as_me: failed program was:" >&5
11863 sed 's/^/| /' conftest.
$ac_ext >&5
11865 ac_header_preproc
=no
11868 rm -f conftest.err conftest.
$ac_ext
11869 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11870 echo "${ECHO_T}$ac_header_preproc" >&6; }
11872 # So? What about this header?
11873 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11875 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11876 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11877 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11878 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11879 ac_header_preproc
=yes
11882 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11883 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11884 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11885 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11886 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11887 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11888 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11889 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11890 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11891 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11892 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11893 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11895 ## ----------------------------------- ##
11896 ## Report this to llvmbugs@cs.uiuc.edu ##
11897 ## ----------------------------------- ##
11899 ) |
sed "s/^/$as_me: WARNING: /" >&2
11902 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11904 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11905 echo $ECHO_N "(cached) $ECHO_C" >&6
11907 eval "$as_ac_Header=\$ac_header_preproc"
11909 ac_res
=`eval echo '${'$as_ac_Header'}'`
11910 { echo "$as_me:$LINENO: result: $ac_res" >&5
11911 echo "${ECHO_T}$ac_res" >&6; }
11914 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11915 cat >>confdefs.h
<<_ACEOF
11916 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11924 { echo "$as_me:$LINENO: checking for error_t" >&5
11925 echo $ECHO_N "checking for error_t... $ECHO_C" >&6; }
11926 if test "${ac_cv_type_error_t+set}" = set; then
11927 echo $ECHO_N "(cached) $ECHO_C" >&6
11929 cat >conftest.
$ac_ext <<_ACEOF
11932 cat confdefs.h
>>conftest.
$ac_ext
11933 cat >>conftest.
$ac_ext <<_ACEOF
11934 /* end confdefs.h. */
11939 typedef error_t ac__type_new_;
11943 if ((ac__type_new_ *) 0)
11945 if (sizeof (ac__type_new_))
11951 rm -f conftest.
$ac_objext
11952 if { (ac_try
="$ac_compile"
11953 case "(($ac_try" in
11954 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11955 *) ac_try_echo=$ac_try;;
11957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11958 (eval "$ac_compile") 2>conftest.er1
11960 grep -v '^ *+' conftest.er1 >conftest.err
11962 cat conftest.err >&5
11963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11964 (exit $ac_status); } &&
11965 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11966 { (case "(($ac_try" in
11967 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11968 *) ac_try_echo
=$ac_try;;
11970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11971 (eval "$ac_try") 2>&5
11973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11974 (exit $ac_status); }; } &&
11975 { ac_try
='test -s conftest.$ac_objext'
11976 { (case "(($ac_try" in
11977 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11978 *) ac_try_echo=$ac_try;;
11980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11981 (eval "$ac_try") 2>&5
11983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11984 (exit $ac_status); }; }; then
11985 ac_cv_type_error_t=yes
11987 echo "$as_me: failed program was:" >&5
11988 sed 's/^/| /' conftest.$ac_ext >&5
11990 ac_cv_type_error_t=no
11993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11995 { echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
11996 echo "${ECHO_T}$ac_cv_type_error_t" >&6; }
11997 if test $ac_cv_type_error_t = yes; then
11999 cat >>confdefs.h <<_ACEOF
12000 #define HAVE_ERROR_T 1
12006 cat >>confdefs.h <<\_ACEOF
12007 #define error_t int
12018 for ac_func in argz_append argz_create_sep argz_insert argz_next argz_stringify
12020 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
12021 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12023 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12024 echo $ECHO_N "(cached) $ECHO_C" >&6
12026 cat >conftest.$ac_ext <<_ACEOF
12029 cat confdefs.h >>conftest.$ac_ext
12030 cat >>conftest.$ac_ext <<_ACEOF
12031 /* end confdefs.h. */
12032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12034 #define $ac_func innocuous_$ac_func
12036 /* System header to define __stub macros and hopefully few prototypes,
12037 which can conflict with char $ac_func (); below.
12038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12039 <limits.h> exists even on freestanding compilers. */
12042 # include <limits.h>
12044 # include <assert.h>
12049 /* Override any GCC internal prototype to avoid an error.
12050 Use char because int might match the return type of a GCC
12051 builtin and then its argument prototype would still apply. */
12056 /* The GNU C library defines this for functions which it implements
12057 to always fail with ENOSYS. Some functions are actually named
12058 something starting with __ and the normal name is an alias. */
12059 #if defined __stub_$ac_func || defined __stub___$ac_func
12066 return $ac_func ();
12071 rm -f conftest.$ac_objext conftest$ac_exeext
12072 if { (ac_try="$ac_link"
12073 case "(($ac_try" in
12074 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12075 *) ac_try_echo
=$ac_try;;
12077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12078 (eval "$ac_link") 2>conftest.er1
12080 grep -v '^ *+' conftest.er1
>conftest.err
12082 cat conftest.err
>&5
12083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12084 (exit $ac_status); } &&
12085 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12086 { (case "(($ac_try" in
12087 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12088 *) ac_try_echo=$ac_try;;
12090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12091 (eval "$ac_try") 2>&5
12093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12094 (exit $ac_status); }; } &&
12095 { ac_try='test -s conftest$ac_exeext'
12096 { (case "(($ac_try" in
12097 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12098 *) ac_try_echo
=$ac_try;;
12100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12101 (eval "$ac_try") 2>&5
12103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12104 (exit $ac_status); }; }; then
12105 eval "$as_ac_var=yes"
12107 echo "$as_me: failed program was:" >&5
12108 sed 's/^/| /' conftest.
$ac_ext >&5
12110 eval "$as_ac_var=no"
12113 rm -f core conftest.err conftest.
$ac_objext \
12114 conftest
$ac_exeext conftest.
$ac_ext
12116 ac_res
=`eval echo '${'$as_ac_var'}'`
12117 { echo "$as_me:$LINENO: result: $ac_res" >&5
12118 echo "${ECHO_T}$ac_res" >&6; }
12119 if test `eval echo '${'$as_ac_var'}'` = yes; then
12120 cat >>confdefs.h
<<_ACEOF
12121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12154 for ac_header
in assert.h ctype.h errno.h malloc.h memory.h stdlib.h \
12157 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12158 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12159 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12161 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12162 echo $ECHO_N "(cached) $ECHO_C" >&6
12164 ac_res
=`eval echo '${'$as_ac_Header'}'`
12165 { echo "$as_me:$LINENO: result: $ac_res" >&5
12166 echo "${ECHO_T}$ac_res" >&6; }
12168 # Is the header compilable?
12169 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12170 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12171 cat >conftest.
$ac_ext <<_ACEOF
12174 cat confdefs.h
>>conftest.
$ac_ext
12175 cat >>conftest.
$ac_ext <<_ACEOF
12176 /* end confdefs.h. */
12177 $ac_includes_default
12178 #include <$ac_header>
12180 rm -f conftest.
$ac_objext
12181 if { (ac_try
="$ac_compile"
12182 case "(($ac_try" in
12183 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12184 *) ac_try_echo=$ac_try;;
12186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12187 (eval "$ac_compile") 2>conftest.er1
12189 grep -v '^ *+' conftest.er1 >conftest.err
12191 cat conftest.err >&5
12192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12193 (exit $ac_status); } &&
12194 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12195 { (case "(($ac_try" in
12196 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12197 *) ac_try_echo
=$ac_try;;
12199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12200 (eval "$ac_try") 2>&5
12202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12203 (exit $ac_status); }; } &&
12204 { ac_try
='test -s conftest.$ac_objext'
12205 { (case "(($ac_try" in
12206 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12207 *) ac_try_echo=$ac_try;;
12209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12210 (eval "$ac_try") 2>&5
12212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12213 (exit $ac_status); }; }; then
12214 ac_header_compiler=yes
12216 echo "$as_me: failed program was:" >&5
12217 sed 's/^/| /' conftest.$ac_ext >&5
12219 ac_header_compiler=no
12222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12223 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12224 echo "${ECHO_T}$ac_header_compiler" >&6; }
12226 # Is the header present?
12227 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12228 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12229 cat >conftest.$ac_ext <<_ACEOF
12232 cat confdefs.h >>conftest.$ac_ext
12233 cat >>conftest.$ac_ext <<_ACEOF
12234 /* end confdefs.h. */
12235 #include <$ac_header>
12237 if { (ac_try="$ac_cpp conftest.$ac_ext"
12238 case "(($ac_try" in
12239 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12240 *) ac_try_echo
=$ac_try;;
12242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12243 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12245 grep -v '^ *+' conftest.er1
>conftest.err
12247 cat conftest.err
>&5
12248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12249 (exit $ac_status); } >/dev
/null
; then
12250 if test -s conftest.err
; then
12251 ac_cpp_err
=$ac_c_preproc_warn_flag
12252 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12259 if test -z "$ac_cpp_err"; then
12260 ac_header_preproc
=yes
12262 echo "$as_me: failed program was:" >&5
12263 sed 's/^/| /' conftest.
$ac_ext >&5
12265 ac_header_preproc
=no
12268 rm -f conftest.err conftest.
$ac_ext
12269 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12270 echo "${ECHO_T}$ac_header_preproc" >&6; }
12272 # So? What about this header?
12273 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12275 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12276 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12277 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12278 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12279 ac_header_preproc
=yes
12282 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12283 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12284 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12285 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12286 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12287 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12288 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12289 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12290 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12291 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12292 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12293 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12295 ## ----------------------------------- ##
12296 ## Report this to llvmbugs@cs.uiuc.edu ##
12297 ## ----------------------------------- ##
12299 ) |
sed "s/^/$as_me: WARNING: /" >&2
12302 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12304 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12305 echo $ECHO_N "(cached) $ECHO_C" >&6
12307 eval "$as_ac_Header=\$ac_header_preproc"
12309 ac_res
=`eval echo '${'$as_ac_Header'}'`
12310 { echo "$as_me:$LINENO: result: $ac_res" >&5
12311 echo "${ECHO_T}$ac_res" >&6; }
12314 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12315 cat >>confdefs.h
<<_ACEOF
12316 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12327 for ac_header
in dl.h sys
/dl.h dld.h mach-o
/dyld.h
12329 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12330 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12331 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12332 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12333 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12334 echo $ECHO_N "(cached) $ECHO_C" >&6
12336 ac_res
=`eval echo '${'$as_ac_Header'}'`
12337 { echo "$as_me:$LINENO: result: $ac_res" >&5
12338 echo "${ECHO_T}$ac_res" >&6; }
12340 # Is the header compilable?
12341 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12342 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12343 cat >conftest.
$ac_ext <<_ACEOF
12346 cat confdefs.h
>>conftest.
$ac_ext
12347 cat >>conftest.
$ac_ext <<_ACEOF
12348 /* end confdefs.h. */
12349 $ac_includes_default
12350 #include <$ac_header>
12352 rm -f conftest.
$ac_objext
12353 if { (ac_try
="$ac_compile"
12354 case "(($ac_try" in
12355 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12356 *) ac_try_echo=$ac_try;;
12358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12359 (eval "$ac_compile") 2>conftest.er1
12361 grep -v '^ *+' conftest.er1 >conftest.err
12363 cat conftest.err >&5
12364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12365 (exit $ac_status); } &&
12366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12367 { (case "(($ac_try" in
12368 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12369 *) ac_try_echo
=$ac_try;;
12371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12372 (eval "$ac_try") 2>&5
12374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12375 (exit $ac_status); }; } &&
12376 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
12386 ac_header_compiler=yes
12388 echo "$as_me: failed program was:" >&5
12389 sed 's/^/| /' conftest.$ac_ext >&5
12391 ac_header_compiler=no
12394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12395 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12396 echo "${ECHO_T}$ac_header_compiler" >&6; }
12398 # Is the header present?
12399 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12400 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12401 cat >conftest.$ac_ext <<_ACEOF
12404 cat confdefs.h >>conftest.$ac_ext
12405 cat >>conftest.$ac_ext <<_ACEOF
12406 /* end confdefs.h. */
12407 #include <$ac_header>
12409 if { (ac_try="$ac_cpp conftest.$ac_ext"
12410 case "(($ac_try" in
12411 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12412 *) ac_try_echo
=$ac_try;;
12414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12415 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12417 grep -v '^ *+' conftest.er1
>conftest.err
12419 cat conftest.err
>&5
12420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12421 (exit $ac_status); } >/dev
/null
; then
12422 if test -s conftest.err
; then
12423 ac_cpp_err
=$ac_c_preproc_warn_flag
12424 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12431 if test -z "$ac_cpp_err"; then
12432 ac_header_preproc
=yes
12434 echo "$as_me: failed program was:" >&5
12435 sed 's/^/| /' conftest.
$ac_ext >&5
12437 ac_header_preproc
=no
12440 rm -f conftest.err conftest.
$ac_ext
12441 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12442 echo "${ECHO_T}$ac_header_preproc" >&6; }
12444 # So? What about this header?
12445 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12447 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12448 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12449 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12450 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12451 ac_header_preproc
=yes
12454 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12455 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12456 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12457 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12458 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12459 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12460 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12461 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12462 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12463 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12464 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12465 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12467 ## ----------------------------------- ##
12468 ## Report this to llvmbugs@cs.uiuc.edu ##
12469 ## ----------------------------------- ##
12471 ) |
sed "s/^/$as_me: WARNING: /" >&2
12474 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12475 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12476 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12477 echo $ECHO_N "(cached) $ECHO_C" >&6
12479 eval "$as_ac_Header=\$ac_header_preproc"
12481 ac_res
=`eval echo '${'$as_ac_Header'}'`
12482 { echo "$as_me:$LINENO: result: $ac_res" >&5
12483 echo "${ECHO_T}$ac_res" >&6; }
12486 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12487 cat >>confdefs.h
<<_ACEOF
12488 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12497 for ac_header
in string.h
strings.h
12499 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12500 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12501 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12503 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12504 echo $ECHO_N "(cached) $ECHO_C" >&6
12506 ac_res
=`eval echo '${'$as_ac_Header'}'`
12507 { echo "$as_me:$LINENO: result: $ac_res" >&5
12508 echo "${ECHO_T}$ac_res" >&6; }
12510 # Is the header compilable?
12511 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12512 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12513 cat >conftest.
$ac_ext <<_ACEOF
12516 cat confdefs.h
>>conftest.
$ac_ext
12517 cat >>conftest.
$ac_ext <<_ACEOF
12518 /* end confdefs.h. */
12519 $ac_includes_default
12520 #include <$ac_header>
12522 rm -f conftest.
$ac_objext
12523 if { (ac_try
="$ac_compile"
12524 case "(($ac_try" in
12525 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12526 *) ac_try_echo=$ac_try;;
12528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12529 (eval "$ac_compile") 2>conftest.er1
12531 grep -v '^ *+' conftest.er1 >conftest.err
12533 cat conftest.err >&5
12534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12535 (exit $ac_status); } &&
12536 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12537 { (case "(($ac_try" in
12538 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12539 *) ac_try_echo
=$ac_try;;
12541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12542 (eval "$ac_try") 2>&5
12544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12545 (exit $ac_status); }; } &&
12546 { ac_try
='test -s conftest.$ac_objext'
12547 { (case "(($ac_try" in
12548 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12549 *) ac_try_echo=$ac_try;;
12551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12552 (eval "$ac_try") 2>&5
12554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12555 (exit $ac_status); }; }; then
12556 ac_header_compiler=yes
12558 echo "$as_me: failed program was:" >&5
12559 sed 's/^/| /' conftest.$ac_ext >&5
12561 ac_header_compiler=no
12564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12565 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12566 echo "${ECHO_T}$ac_header_compiler" >&6; }
12568 # Is the header present?
12569 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12570 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12571 cat >conftest.$ac_ext <<_ACEOF
12574 cat confdefs.h >>conftest.$ac_ext
12575 cat >>conftest.$ac_ext <<_ACEOF
12576 /* end confdefs.h. */
12577 #include <$ac_header>
12579 if { (ac_try="$ac_cpp conftest.$ac_ext"
12580 case "(($ac_try" in
12581 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12582 *) ac_try_echo
=$ac_try;;
12584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12585 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12587 grep -v '^ *+' conftest.er1
>conftest.err
12589 cat conftest.err
>&5
12590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12591 (exit $ac_status); } >/dev
/null
; then
12592 if test -s conftest.err
; then
12593 ac_cpp_err
=$ac_c_preproc_warn_flag
12594 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12601 if test -z "$ac_cpp_err"; then
12602 ac_header_preproc
=yes
12604 echo "$as_me: failed program was:" >&5
12605 sed 's/^/| /' conftest.
$ac_ext >&5
12607 ac_header_preproc
=no
12610 rm -f conftest.err conftest.
$ac_ext
12611 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12612 echo "${ECHO_T}$ac_header_preproc" >&6; }
12614 # So? What about this header?
12615 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12617 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12618 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12619 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12620 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12621 ac_header_preproc
=yes
12624 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12625 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12626 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12627 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12628 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12629 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12630 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12631 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12632 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12633 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12634 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12635 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12637 ## ----------------------------------- ##
12638 ## Report this to llvmbugs@cs.uiuc.edu ##
12639 ## ----------------------------------- ##
12641 ) |
sed "s/^/$as_me: WARNING: /" >&2
12644 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12645 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12646 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12647 echo $ECHO_N "(cached) $ECHO_C" >&6
12649 eval "$as_ac_Header=\$ac_header_preproc"
12651 ac_res
=`eval echo '${'$as_ac_Header'}'`
12652 { echo "$as_me:$LINENO: result: $ac_res" >&5
12653 echo "${ECHO_T}$ac_res" >&6; }
12656 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12657 cat >>confdefs.h
<<_ACEOF
12658 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12668 for ac_func
in strchr index
12670 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12671 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12673 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12674 echo $ECHO_N "(cached) $ECHO_C" >&6
12676 cat >conftest.
$ac_ext <<_ACEOF
12679 cat confdefs.h
>>conftest.
$ac_ext
12680 cat >>conftest.
$ac_ext <<_ACEOF
12681 /* end confdefs.h. */
12682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12684 #define $ac_func innocuous_$ac_func
12686 /* System header to define __stub macros and hopefully few prototypes,
12687 which can conflict with char $ac_func (); below.
12688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12689 <limits.h> exists even on freestanding compilers. */
12692 # include <limits.h>
12694 # include <assert.h>
12699 /* Override any GCC internal prototype to avoid an error.
12700 Use char because int might match the return type of a GCC
12701 builtin and then its argument prototype would still apply. */
12706 /* The GNU C library defines this for functions which it implements
12707 to always fail with ENOSYS. Some functions are actually named
12708 something starting with __ and the normal name is an alias. */
12709 #if defined __stub_$ac_func || defined __stub___$ac_func
12716 return $ac_func ();
12721 rm -f conftest.
$ac_objext conftest
$ac_exeext
12722 if { (ac_try
="$ac_link"
12723 case "(($ac_try" in
12724 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12725 *) ac_try_echo=$ac_try;;
12727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12728 (eval "$ac_link") 2>conftest.er1
12730 grep -v '^ *+' conftest.er1 >conftest.err
12732 cat conftest.err >&5
12733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12734 (exit $ac_status); } &&
12735 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12736 { (case "(($ac_try" in
12737 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12738 *) ac_try_echo
=$ac_try;;
12740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12741 (eval "$ac_try") 2>&5
12743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12744 (exit $ac_status); }; } &&
12745 { ac_try
='test -s conftest$ac_exeext'
12746 { (case "(($ac_try" in
12747 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12748 *) ac_try_echo=$ac_try;;
12750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12751 (eval "$ac_try") 2>&5
12753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12754 (exit $ac_status); }; }; then
12755 eval "$as_ac_var=yes"
12757 echo "$as_me: failed program was:" >&5
12758 sed 's/^/| /' conftest.$ac_ext >&5
12760 eval "$as_ac_var=no"
12763 rm -f core conftest.err conftest.$ac_objext \
12764 conftest$ac_exeext conftest.$ac_ext
12766 ac_res=`eval echo '${'$as_ac_var'}'`
12767 { echo "$as_me:$LINENO: result: $ac_res" >&5
12768 echo "${ECHO_T}$ac_res" >&6; }
12769 if test `eval echo '${'$as_ac_var'}'` = yes; then
12770 cat >>confdefs.h <<_ACEOF
12771 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
12779 for ac_func in strrchr rindex
12781 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
12782 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12784 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12785 echo $ECHO_N "(cached) $ECHO_C" >&6
12787 cat >conftest.$ac_ext <<_ACEOF
12790 cat confdefs.h >>conftest.$ac_ext
12791 cat >>conftest.$ac_ext <<_ACEOF
12792 /* end confdefs.h. */
12793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12795 #define $ac_func innocuous_$ac_func
12797 /* System header to define __stub macros and hopefully few prototypes,
12798 which can conflict with char $ac_func (); below.
12799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12800 <limits.h> exists even on freestanding compilers. */
12803 # include <limits.h>
12805 # include <assert.h>
12810 /* Override any GCC internal prototype to avoid an error.
12811 Use char because int might match the return type of a GCC
12812 builtin and then its argument prototype would still apply. */
12817 /* The GNU C library defines this for functions which it implements
12818 to always fail with ENOSYS. Some functions are actually named
12819 something starting with __ and the normal name is an alias. */
12820 #if defined __stub_$ac_func || defined __stub___$ac_func
12827 return $ac_func ();
12832 rm -f conftest.$ac_objext conftest$ac_exeext
12833 if { (ac_try="$ac_link"
12834 case "(($ac_try" in
12835 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12836 *) ac_try_echo
=$ac_try;;
12838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12839 (eval "$ac_link") 2>conftest.er1
12841 grep -v '^ *+' conftest.er1
>conftest.err
12843 cat conftest.err
>&5
12844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12845 (exit $ac_status); } &&
12846 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12847 { (case "(($ac_try" in
12848 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12849 *) ac_try_echo=$ac_try;;
12851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12852 (eval "$ac_try") 2>&5
12854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12855 (exit $ac_status); }; } &&
12856 { ac_try='test -s conftest$ac_exeext'
12857 { (case "(($ac_try" in
12858 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12859 *) ac_try_echo
=$ac_try;;
12861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12862 (eval "$ac_try") 2>&5
12864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12865 (exit $ac_status); }; }; then
12866 eval "$as_ac_var=yes"
12868 echo "$as_me: failed program was:" >&5
12869 sed 's/^/| /' conftest.
$ac_ext >&5
12871 eval "$as_ac_var=no"
12874 rm -f core conftest.err conftest.
$ac_objext \
12875 conftest
$ac_exeext conftest.
$ac_ext
12877 ac_res
=`eval echo '${'$as_ac_var'}'`
12878 { echo "$as_me:$LINENO: result: $ac_res" >&5
12879 echo "${ECHO_T}$ac_res" >&6; }
12880 if test `eval echo '${'$as_ac_var'}'` = yes; then
12881 cat >>confdefs.h
<<_ACEOF
12882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12890 for ac_func
in memcpy bcopy
12892 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12893 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12895 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12896 echo $ECHO_N "(cached) $ECHO_C" >&6
12898 cat >conftest.
$ac_ext <<_ACEOF
12901 cat confdefs.h
>>conftest.
$ac_ext
12902 cat >>conftest.
$ac_ext <<_ACEOF
12903 /* end confdefs.h. */
12904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12906 #define $ac_func innocuous_$ac_func
12908 /* System header to define __stub macros and hopefully few prototypes,
12909 which can conflict with char $ac_func (); below.
12910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12911 <limits.h> exists even on freestanding compilers. */
12914 # include <limits.h>
12916 # include <assert.h>
12921 /* Override any GCC internal prototype to avoid an error.
12922 Use char because int might match the return type of a GCC
12923 builtin and then its argument prototype would still apply. */
12928 /* The GNU C library defines this for functions which it implements
12929 to always fail with ENOSYS. Some functions are actually named
12930 something starting with __ and the normal name is an alias. */
12931 #if defined __stub_$ac_func || defined __stub___$ac_func
12938 return $ac_func ();
12943 rm -f conftest.
$ac_objext conftest
$ac_exeext
12944 if { (ac_try
="$ac_link"
12945 case "(($ac_try" in
12946 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12947 *) ac_try_echo=$ac_try;;
12949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12950 (eval "$ac_link") 2>conftest.er1
12952 grep -v '^ *+' conftest.er1 >conftest.err
12954 cat conftest.err >&5
12955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12956 (exit $ac_status); } &&
12957 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12958 { (case "(($ac_try" in
12959 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12960 *) ac_try_echo
=$ac_try;;
12962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12963 (eval "$ac_try") 2>&5
12965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12966 (exit $ac_status); }; } &&
12967 { ac_try
='test -s conftest$ac_exeext'
12968 { (case "(($ac_try" in
12969 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12970 *) ac_try_echo=$ac_try;;
12972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12973 (eval "$ac_try") 2>&5
12975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12976 (exit $ac_status); }; }; then
12977 eval "$as_ac_var=yes"
12979 echo "$as_me: failed program was:" >&5
12980 sed 's/^/| /' conftest.$ac_ext >&5
12982 eval "$as_ac_var=no"
12985 rm -f core conftest.err conftest.$ac_objext \
12986 conftest$ac_exeext conftest.$ac_ext
12988 ac_res=`eval echo '${'$as_ac_var'}'`
12989 { echo "$as_me:$LINENO: result: $ac_res" >&5
12990 echo "${ECHO_T}$ac_res" >&6; }
12991 if test `eval echo '${'$as_ac_var'}'` = yes; then
12992 cat >>confdefs.h <<_ACEOF
12993 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13001 for ac_func in memmove strcmp
13003 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
13004 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13006 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13007 echo $ECHO_N "(cached) $ECHO_C" >&6
13009 cat >conftest.$ac_ext <<_ACEOF
13012 cat confdefs.h >>conftest.$ac_ext
13013 cat >>conftest.$ac_ext <<_ACEOF
13014 /* end confdefs.h. */
13015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13017 #define $ac_func innocuous_$ac_func
13019 /* System header to define __stub macros and hopefully few prototypes,
13020 which can conflict with char $ac_func (); below.
13021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13022 <limits.h> exists even on freestanding compilers. */
13025 # include <limits.h>
13027 # include <assert.h>
13032 /* Override any GCC internal prototype to avoid an error.
13033 Use char because int might match the return type of a GCC
13034 builtin and then its argument prototype would still apply. */
13039 /* The GNU C library defines this for functions which it implements
13040 to always fail with ENOSYS. Some functions are actually named
13041 something starting with __ and the normal name is an alias. */
13042 #if defined __stub_$ac_func || defined __stub___$ac_func
13049 return $ac_func ();
13054 rm -f conftest.$ac_objext conftest$ac_exeext
13055 if { (ac_try="$ac_link"
13056 case "(($ac_try" in
13057 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13058 *) ac_try_echo
=$ac_try;;
13060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13061 (eval "$ac_link") 2>conftest.er1
13063 grep -v '^ *+' conftest.er1
>conftest.err
13065 cat conftest.err
>&5
13066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13067 (exit $ac_status); } &&
13068 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13069 { (case "(($ac_try" in
13070 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13071 *) ac_try_echo=$ac_try;;
13073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13074 (eval "$ac_try") 2>&5
13076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13077 (exit $ac_status); }; } &&
13078 { ac_try='test -s conftest$ac_exeext'
13079 { (case "(($ac_try" in
13080 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13081 *) ac_try_echo
=$ac_try;;
13083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13084 (eval "$ac_try") 2>&5
13086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13087 (exit $ac_status); }; }; then
13088 eval "$as_ac_var=yes"
13090 echo "$as_me: failed program was:" >&5
13091 sed 's/^/| /' conftest.
$ac_ext >&5
13093 eval "$as_ac_var=no"
13096 rm -f core conftest.err conftest.
$ac_objext \
13097 conftest
$ac_exeext conftest.
$ac_ext
13099 ac_res
=`eval echo '${'$as_ac_var'}'`
13100 { echo "$as_me:$LINENO: result: $ac_res" >&5
13101 echo "${ECHO_T}$ac_res" >&6; }
13102 if test `eval echo '${'$as_ac_var'}'` = yes; then
13103 cat >>confdefs.h
<<_ACEOF
13104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13113 for ac_func
in closedir opendir readdir
13115 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13116 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13118 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13119 echo $ECHO_N "(cached) $ECHO_C" >&6
13121 cat >conftest.
$ac_ext <<_ACEOF
13124 cat confdefs.h
>>conftest.
$ac_ext
13125 cat >>conftest.
$ac_ext <<_ACEOF
13126 /* end confdefs.h. */
13127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13129 #define $ac_func innocuous_$ac_func
13131 /* System header to define __stub macros and hopefully few prototypes,
13132 which can conflict with char $ac_func (); below.
13133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13134 <limits.h> exists even on freestanding compilers. */
13137 # include <limits.h>
13139 # include <assert.h>
13144 /* Override any GCC internal prototype to avoid an error.
13145 Use char because int might match the return type of a GCC
13146 builtin and then its argument prototype would still apply. */
13151 /* The GNU C library defines this for functions which it implements
13152 to always fail with ENOSYS. Some functions are actually named
13153 something starting with __ and the normal name is an alias. */
13154 #if defined __stub_$ac_func || defined __stub___$ac_func
13161 return $ac_func ();
13166 rm -f conftest.
$ac_objext conftest
$ac_exeext
13167 if { (ac_try
="$ac_link"
13168 case "(($ac_try" in
13169 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13170 *) ac_try_echo=$ac_try;;
13172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13173 (eval "$ac_link") 2>conftest.er1
13175 grep -v '^ *+' conftest.er1 >conftest.err
13177 cat conftest.err >&5
13178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13179 (exit $ac_status); } &&
13180 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13181 { (case "(($ac_try" in
13182 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13183 *) ac_try_echo
=$ac_try;;
13185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13186 (eval "$ac_try") 2>&5
13188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13189 (exit $ac_status); }; } &&
13190 { ac_try
='test -s conftest$ac_exeext'
13191 { (case "(($ac_try" in
13192 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13193 *) ac_try_echo=$ac_try;;
13195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13196 (eval "$ac_try") 2>&5
13198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13199 (exit $ac_status); }; }; then
13200 eval "$as_ac_var=yes"
13202 echo "$as_me: failed program was:" >&5
13203 sed 's/^/| /' conftest.$ac_ext >&5
13205 eval "$as_ac_var=no"
13208 rm -f core conftest.err conftest.$ac_objext \
13209 conftest$ac_exeext conftest.$ac_ext
13211 ac_res=`eval echo '${'$as_ac_var'}'`
13212 { echo "$as_me:$LINENO: result: $ac_res" >&5
13213 echo "${ECHO_T}$ac_res" >&6; }
13214 if test `eval echo '${'$as_ac_var'}'` = yes; then
13215 cat >>confdefs.h <<_ACEOF
13216 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13224 if test "$WITH_LLVMGCCDIR" = "default" ; then
13225 LLVMGCC="llvm-gcc${EXEEXT}"
13226 LLVMGXX="llvm-g++${EXEEXT}"
13227 LLVMGCCCOMMAND="$LLVMGCC"
13228 LLVMGXXCOMMAND="$LLVMGXX"
13229 LLVMGCCCOMMAND=$LLVMGCCCOMMAND
13231 LLVMGXXCOMMAND=$LLVMGXXCOMMAND
13233 # Extract the first word of "$LLVMGCC", so it can be a program name with args.
13234 set dummy $LLVMGCC; ac_word=$2
13235 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13237 if test "${ac_cv_path_LLVMGCC+set}" = set; then
13238 echo $ECHO_N "(cached) $ECHO_C" >&6
13242 ac_cv_path_LLVMGCC="$LLVMGCC" # Let the user override the test with a path.
13245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13246 for as_dir in $PATH
13249 test -z "$as_dir" && as_dir=.
13250 for ac_exec_ext in '' $ac_executable_extensions; do
13251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13252 ac_cv_path_LLVMGCC="$as_dir/$ac_word$ac_exec_ext"
13253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13263 LLVMGCC=$ac_cv_path_LLVMGCC
13264 if test -n "$LLVMGCC"; then
13265 { echo "$as_me:$LINENO: result: $LLVMGCC" >&5
13266 echo "${ECHO_T}$LLVMGCC" >&6; }
13268 { echo "$as_me:$LINENO: result: no" >&5
13269 echo "${ECHO_T}no" >&6; }
13273 # Extract the first word of "$LLVMGXX", so it can be a program name with args.
13274 set dummy $LLVMGXX; ac_word=$2
13275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13277 if test "${ac_cv_path_LLVMGXX+set}" = set; then
13278 echo $ECHO_N "(cached) $ECHO_C" >&6
13282 ac_cv_path_LLVMGXX="$LLVMGXX" # Let the user override the test with a path.
13285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13286 for as_dir in $PATH
13289 test -z "$as_dir" && as_dir=.
13290 for ac_exec_ext in '' $ac_executable_extensions; do
13291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13292 ac_cv_path_LLVMGXX="$as_dir/$ac_word$ac_exec_ext"
13293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13303 LLVMGXX=$ac_cv_path_LLVMGXX
13304 if test -n "$LLVMGXX"; then
13305 { echo "$as_me:$LINENO: result: $LLVMGXX" >&5
13306 echo "${ECHO_T}$LLVMGXX" >&6; }
13308 { echo "$as_me:$LINENO: result: no" >&5
13309 echo "${ECHO_T}no" >&6; }
13314 if test -z "$LLVMGCC"; then
13315 LLVMGCC="$WITH_LLVMGCCDIR/bin/llvm-gcc${EXEEXT}"
13316 LLVMGCCCOMMAND="$LLVMGCC"
13318 if test -z "$LLVMGXX"; then
13319 LLVMGXX="$WITH_LLVMGCCDIR/bin/llvm-g++${EXEEXT}"
13320 LLVMGXXCOMMAND="$LLVMGXX"
13327 LLVMGCCCOMMAND=$LLVMGCCCOMMAND
13329 LLVMGXXCOMMAND=$LLVMGXXCOMMAND
13334 # Check whether --with-llvmcc was given.
13335 if test "${with_llvmcc+set}" = set; then
13336 withval=$with_llvmcc;
13341 { echo "$as_me:$LINENO: checking LLVM capable compiler" >&5
13342 echo $ECHO_N "checking LLVM capable compiler... $ECHO_C" >&6; }
13343 if test "$with_llvmcc" != "check"; then
13344 if (test "$with_llvmcc" != "llvm-gcc" &&
13345 test "$with_llvmcc" != "clang" &&
13346 test "$with_llvmcc" != "none"); then
13347 { { echo "$as_me:$LINENO: error: invalid value for --with-llvmcc, expected 'llvm-gcc', 'clang', or 'none'." >&5
13348 echo "$as_me: error: invalid value for --with-llvmcc, expected 'llvm-gcc', 'clang', or 'none'." >&2;}
13349 { (exit 1); exit 1; }; }
13351 WITH_LLVMCC="$with_llvmcc"
13352 elif test -n "$LLVMGCC"; then
13353 WITH_LLVMCC=llvm-gcc
13354 elif test -n "$WITH_CLANGPATH" || test "$WITH_BUILT_CLANG" -ne "0"; then
13359 { echo "$as_me:$LINENO: result: $WITH_LLVMCC" >&5
13360 echo "${ECHO_T}$WITH_LLVMCC" >&6; }
13361 LLVMCC_OPTION=$WITH_LLVMCC
13364 { echo "$as_me:$LINENO: checking tool compatibility" >&5
13365 echo $ECHO_N "checking tool compatibility... $ECHO_C" >&6; }
13378 if test "$GCC" != "yes" && test "$ICC" != "yes"
13380 { { echo "$as_me:$LINENO: error: gcc|icc required but not found" >&5
13381 echo "$as_me: error: gcc|icc required but not found" >&2;}
13382 { (exit 1); exit 1; }; }
13385 if test "$GXX" != "yes" && test "$IXX" != "yes"
13387 { { echo "$as_me:$LINENO: error: g++|clang++|icc required but not found" >&5
13388 echo "$as_me: error: g++|clang++|icc required but not found" >&2;}
13389 { (exit 1); exit 1; }; }
13392 if test "$GCC" = "yes"
13394 cat >conftest.$ac_ext <<_ACEOF
13395 #if !defined(__GNUC__) || __GNUC__ < 3
13396 #error Unsupported GCC version
13400 rm -f conftest.$ac_objext
13401 if { (ac_try="$ac_compile"
13402 case "(($ac_try" in
13403 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13404 *) ac_try_echo
=$ac_try;;
13406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13407 (eval "$ac_compile") 2>conftest.er1
13409 grep -v '^ *+' conftest.er1
>conftest.err
13411 cat conftest.err
>&5
13412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13413 (exit $ac_status); } &&
13414 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13415 { (case "(($ac_try" in
13416 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13417 *) ac_try_echo=$ac_try;;
13419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13420 (eval "$ac_try") 2>&5
13422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13423 (exit $ac_status); }; } &&
13424 { ac_try='test -s conftest.$ac_objext'
13425 { (case "(($ac_try" in
13426 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13427 *) ac_try_echo
=$ac_try;;
13429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13430 (eval "$ac_try") 2>&5
13432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13433 (exit $ac_status); }; }; then
13436 echo "$as_me: failed program was:" >&5
13437 sed 's/^/| /' conftest.
$ac_ext >&5
13439 { { echo "$as_me:$LINENO: error: gcc 3.x required, but you have a lower version" >&5
13440 echo "$as_me: error: gcc 3.x required, but you have a lower version" >&2;}
13441 { (exit 1); exit 1; }; }
13444 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13447 if test -z "$llvm_cv_gnu_make_command"
13449 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
13450 echo "$as_me: error: GNU Make required but not found" >&2;}
13451 { (exit 1); exit 1; }; }
13454 { echo "$as_me:$LINENO: result: ok" >&5
13455 echo "${ECHO_T}ok" >&6; }
13457 { echo "$as_me:$LINENO: checking optional compiler flags" >&5
13458 echo $ECHO_N "checking optional compiler flags... $ECHO_C" >&6; }
13459 NO_VARIADIC_MACROS
=`$CXX -Wno-variadic-macros -fsyntax-only -xc /dev/null 2>/dev/null && echo -Wno-variadic-macros`
13461 NO_MISSING_FIELD_INITIALIZERS
=`$CXX -Wno-missing-field-initializers -fsyntax-only -xc /dev/null 2>/dev/null && echo -Wno-missing-field-initializers`
13463 { echo "$as_me:$LINENO: result: $NO_VARIADIC_MACROS $NO_MISSING_FIELD_INITIALIZERS" >&5
13464 echo "${ECHO_T}$NO_VARIADIC_MACROS $NO_MISSING_FIELD_INITIALIZERS" >&6; }
13468 { echo "$as_me:$LINENO: checking for sin in -lm" >&5
13469 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
13470 if test "${ac_cv_lib_m_sin+set}" = set; then
13471 echo $ECHO_N "(cached) $ECHO_C" >&6
13473 ac_check_lib_save_LIBS
=$LIBS
13475 cat >conftest.
$ac_ext <<_ACEOF
13478 cat confdefs.h
>>conftest.
$ac_ext
13479 cat >>conftest.
$ac_ext <<_ACEOF
13480 /* end confdefs.h. */
13482 /* Override any GCC internal prototype to avoid an error.
13483 Use char because int might match the return type of a GCC
13484 builtin and then its argument prototype would still apply. */
13497 rm -f conftest.
$ac_objext conftest
$ac_exeext
13498 if { (ac_try
="$ac_link"
13499 case "(($ac_try" in
13500 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13501 *) ac_try_echo=$ac_try;;
13503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13504 (eval "$ac_link") 2>conftest.er1
13506 grep -v '^ *+' conftest.er1 >conftest.err
13508 cat conftest.err >&5
13509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13510 (exit $ac_status); } &&
13511 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13512 { (case "(($ac_try" in
13513 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13514 *) ac_try_echo
=$ac_try;;
13516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13517 (eval "$ac_try") 2>&5
13519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13520 (exit $ac_status); }; } &&
13521 { ac_try
='test -s conftest$ac_exeext'
13522 { (case "(($ac_try" in
13523 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13524 *) ac_try_echo=$ac_try;;
13526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13527 (eval "$ac_try") 2>&5
13529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13530 (exit $ac_status); }; }; then
13531 ac_cv_lib_m_sin=yes
13533 echo "$as_me: failed program was:" >&5
13534 sed 's/^/| /' conftest.$ac_ext >&5
13539 rm -f core conftest.err conftest.$ac_objext \
13540 conftest$ac_exeext conftest.$ac_ext
13541 LIBS=$ac_check_lib_save_LIBS
13543 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
13544 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6; }
13545 if test $ac_cv_lib_m_sin = yes; then
13546 cat >>confdefs.h <<_ACEOF
13547 #define HAVE_LIBM 1
13554 if test "$llvm_cv_os_type" = "MingW" ; then
13556 { echo "$as_me:$LINENO: checking for main in -limagehlp" >&5
13557 echo $ECHO_N "checking for main in -limagehlp... $ECHO_C" >&6; }
13558 if test "${ac_cv_lib_imagehlp_main+set}" = set; then
13559 echo $ECHO_N "(cached) $ECHO_C" >&6
13561 ac_check_lib_save_LIBS=$LIBS
13562 LIBS="-limagehlp $LIBS"
13563 cat >conftest.$ac_ext <<_ACEOF
13566 cat confdefs.h >>conftest.$ac_ext
13567 cat >>conftest.$ac_ext <<_ACEOF
13568 /* end confdefs.h. */
13579 rm -f conftest.$ac_objext conftest$ac_exeext
13580 if { (ac_try="$ac_link"
13581 case "(($ac_try" in
13582 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13583 *) ac_try_echo
=$ac_try;;
13585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13586 (eval "$ac_link") 2>conftest.er1
13588 grep -v '^ *+' conftest.er1
>conftest.err
13590 cat conftest.err
>&5
13591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13592 (exit $ac_status); } &&
13593 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13594 { (case "(($ac_try" in
13595 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13596 *) ac_try_echo=$ac_try;;
13598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13599 (eval "$ac_try") 2>&5
13601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13602 (exit $ac_status); }; } &&
13603 { ac_try='test -s conftest$ac_exeext'
13604 { (case "(($ac_try" in
13605 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13606 *) ac_try_echo
=$ac_try;;
13608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13609 (eval "$ac_try") 2>&5
13611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13612 (exit $ac_status); }; }; then
13613 ac_cv_lib_imagehlp_main
=yes
13615 echo "$as_me: failed program was:" >&5
13616 sed 's/^/| /' conftest.
$ac_ext >&5
13618 ac_cv_lib_imagehlp_main
=no
13621 rm -f core conftest.err conftest.
$ac_objext \
13622 conftest
$ac_exeext conftest.
$ac_ext
13623 LIBS
=$ac_check_lib_save_LIBS
13625 { echo "$as_me:$LINENO: result: $ac_cv_lib_imagehlp_main" >&5
13626 echo "${ECHO_T}$ac_cv_lib_imagehlp_main" >&6; }
13627 if test $ac_cv_lib_imagehlp_main = yes; then
13628 cat >>confdefs.h
<<_ACEOF
13629 #define HAVE_LIBIMAGEHLP 1
13632 LIBS
="-limagehlp $LIBS"
13637 { echo "$as_me:$LINENO: checking for main in -lpsapi" >&5
13638 echo $ECHO_N "checking for main in -lpsapi... $ECHO_C" >&6; }
13639 if test "${ac_cv_lib_psapi_main+set}" = set; then
13640 echo $ECHO_N "(cached) $ECHO_C" >&6
13642 ac_check_lib_save_LIBS
=$LIBS
13643 LIBS
="-lpsapi $LIBS"
13644 cat >conftest.
$ac_ext <<_ACEOF
13647 cat confdefs.h
>>conftest.
$ac_ext
13648 cat >>conftest.
$ac_ext <<_ACEOF
13649 /* end confdefs.h. */
13660 rm -f conftest.
$ac_objext conftest
$ac_exeext
13661 if { (ac_try
="$ac_link"
13662 case "(($ac_try" in
13663 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13664 *) ac_try_echo=$ac_try;;
13666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13667 (eval "$ac_link") 2>conftest.er1
13669 grep -v '^ *+' conftest.er1 >conftest.err
13671 cat conftest.err >&5
13672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13673 (exit $ac_status); } &&
13674 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13675 { (case "(($ac_try" in
13676 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13677 *) ac_try_echo
=$ac_try;;
13679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13680 (eval "$ac_try") 2>&5
13682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13683 (exit $ac_status); }; } &&
13684 { ac_try
='test -s conftest$ac_exeext'
13685 { (case "(($ac_try" in
13686 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13687 *) ac_try_echo=$ac_try;;
13689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13690 (eval "$ac_try") 2>&5
13692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13693 (exit $ac_status); }; }; then
13694 ac_cv_lib_psapi_main=yes
13696 echo "$as_me: failed program was:" >&5
13697 sed 's/^/| /' conftest.$ac_ext >&5
13699 ac_cv_lib_psapi_main=no
13702 rm -f core conftest.err conftest.$ac_objext \
13703 conftest$ac_exeext conftest.$ac_ext
13704 LIBS=$ac_check_lib_save_LIBS
13706 { echo "$as_me:$LINENO: result: $ac_cv_lib_psapi_main" >&5
13707 echo "${ECHO_T}$ac_cv_lib_psapi_main" >&6; }
13708 if test $ac_cv_lib_psapi_main = yes; then
13709 cat >>confdefs.h <<_ACEOF
13710 #define HAVE_LIBPSAPI 1
13713 LIBS="-lpsapi $LIBS"
13719 { echo "$as_me:$LINENO: checking for library containing dlopen" >&5
13720 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; }
13721 if test "${ac_cv_search_dlopen+set}" = set; then
13722 echo $ECHO_N "(cached) $ECHO_C" >&6
13724 ac_func_search_save_LIBS=$LIBS
13725 cat >conftest.$ac_ext <<_ACEOF
13728 cat confdefs.h >>conftest.$ac_ext
13729 cat >>conftest.$ac_ext <<_ACEOF
13730 /* end confdefs.h. */
13732 /* Override any GCC internal prototype to avoid an error.
13733 Use char because int might match the return type of a GCC
13734 builtin and then its argument prototype would still apply. */
13747 for ac_lib in '' dl; do
13748 if test -z "$ac_lib"; then
13749 ac_res="none required"
13752 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13754 rm -f conftest.$ac_objext conftest$ac_exeext
13755 if { (ac_try="$ac_link"
13756 case "(($ac_try" in
13757 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13758 *) ac_try_echo
=$ac_try;;
13760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13761 (eval "$ac_link") 2>conftest.er1
13763 grep -v '^ *+' conftest.er1
>conftest.err
13765 cat conftest.err
>&5
13766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767 (exit $ac_status); } &&
13768 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13769 { (case "(($ac_try" in
13770 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13771 *) ac_try_echo=$ac_try;;
13773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13774 (eval "$ac_try") 2>&5
13776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13777 (exit $ac_status); }; } &&
13778 { ac_try='test -s conftest$ac_exeext'
13779 { (case "(($ac_try" in
13780 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13781 *) ac_try_echo
=$ac_try;;
13783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13784 (eval "$ac_try") 2>&5
13786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787 (exit $ac_status); }; }; then
13788 ac_cv_search_dlopen
=$ac_res
13790 echo "$as_me: failed program was:" >&5
13791 sed 's/^/| /' conftest.
$ac_ext >&5
13796 rm -f core conftest.err conftest.
$ac_objext \
13798 if test "${ac_cv_search_dlopen+set}" = set; then
13802 if test "${ac_cv_search_dlopen+set}" = set; then
13805 ac_cv_search_dlopen
=no
13807 rm conftest.
$ac_ext
13808 LIBS
=$ac_func_search_save_LIBS
13810 { echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
13811 echo "${ECHO_T}$ac_cv_search_dlopen" >&6; }
13812 ac_res
=$ac_cv_search_dlopen
13813 if test "$ac_res" != no
; then
13814 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13816 cat >>confdefs.h
<<\_ACEOF
13817 #define HAVE_DLOPEN 1
13821 { echo "$as_me:$LINENO: WARNING: dlopen() not found - disabling plugin support" >&5
13822 echo "$as_me: WARNING: dlopen() not found - disabling plugin support" >&2;}
13826 if test "$llvm_cv_enable_libffi" = "yes" ; then
13827 { echo "$as_me:$LINENO: checking for library containing ffi_call" >&5
13828 echo $ECHO_N "checking for library containing ffi_call... $ECHO_C" >&6; }
13829 if test "${ac_cv_search_ffi_call+set}" = set; then
13830 echo $ECHO_N "(cached) $ECHO_C" >&6
13832 ac_func_search_save_LIBS
=$LIBS
13833 cat >conftest.
$ac_ext <<_ACEOF
13836 cat confdefs.h
>>conftest.
$ac_ext
13837 cat >>conftest.
$ac_ext <<_ACEOF
13838 /* end confdefs.h. */
13840 /* Override any GCC internal prototype to avoid an error.
13841 Use char because int might match the return type of a GCC
13842 builtin and then its argument prototype would still apply. */
13850 return ffi_call ();
13855 for ac_lib
in '' ffi
; do
13856 if test -z "$ac_lib"; then
13857 ac_res
="none required"
13860 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13862 rm -f conftest.
$ac_objext conftest
$ac_exeext
13863 if { (ac_try
="$ac_link"
13864 case "(($ac_try" in
13865 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13866 *) ac_try_echo=$ac_try;;
13868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13869 (eval "$ac_link") 2>conftest.er1
13871 grep -v '^ *+' conftest.er1 >conftest.err
13873 cat conftest.err >&5
13874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13875 (exit $ac_status); } &&
13876 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13877 { (case "(($ac_try" in
13878 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13879 *) ac_try_echo
=$ac_try;;
13881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13882 (eval "$ac_try") 2>&5
13884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13885 (exit $ac_status); }; } &&
13886 { ac_try
='test -s conftest$ac_exeext'
13887 { (case "(($ac_try" in
13888 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13889 *) ac_try_echo=$ac_try;;
13891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13892 (eval "$ac_try") 2>&5
13894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13895 (exit $ac_status); }; }; then
13896 ac_cv_search_ffi_call=$ac_res
13898 echo "$as_me: failed program was:" >&5
13899 sed 's/^/| /' conftest.$ac_ext >&5
13904 rm -f core conftest.err conftest.$ac_objext \
13906 if test "${ac_cv_search_ffi_call+set}" = set; then
13910 if test "${ac_cv_search_ffi_call+set}" = set; then
13913 ac_cv_search_ffi_call=no
13915 rm conftest.$ac_ext
13916 LIBS=$ac_func_search_save_LIBS
13918 { echo "$as_me:$LINENO: result: $ac_cv_search_ffi_call" >&5
13919 echo "${ECHO_T}$ac_cv_search_ffi_call" >&6; }
13920 ac_res=$ac_cv_search_ffi_call
13921 if test "$ac_res" != no; then
13922 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13924 cat >>confdefs.h <<\_ACEOF
13925 #define HAVE_FFI_CALL 1
13929 { { echo "$as_me:$LINENO: error: libffi not found - configure without --enable-libffi to compile without it" >&5
13930 echo "$as_me: error: libffi not found - configure without --enable-libffi to compile without it" >&2;}
13931 { (exit 1); exit 1; }; }
13936 { echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
13937 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6; }
13938 if test "${ac_cv_search_mallinfo+set}" = set; then
13939 echo $ECHO_N "(cached) $ECHO_C" >&6
13941 ac_func_search_save_LIBS=$LIBS
13942 cat >conftest.$ac_ext <<_ACEOF
13945 cat confdefs.h >>conftest.$ac_ext
13946 cat >>conftest.$ac_ext <<_ACEOF
13947 /* end confdefs.h. */
13949 /* Override any GCC internal prototype to avoid an error.
13950 Use char because int might match the return type of a GCC
13951 builtin and then its argument prototype would still apply. */
13959 return mallinfo ();
13964 for ac_lib in '' malloc; do
13965 if test -z "$ac_lib"; then
13966 ac_res="none required"
13969 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13971 rm -f conftest.$ac_objext conftest$ac_exeext
13972 if { (ac_try="$ac_link"
13973 case "(($ac_try" in
13974 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13975 *) ac_try_echo
=$ac_try;;
13977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13978 (eval "$ac_link") 2>conftest.er1
13980 grep -v '^ *+' conftest.er1
>conftest.err
13982 cat conftest.err
>&5
13983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13984 (exit $ac_status); } &&
13985 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13986 { (case "(($ac_try" in
13987 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13988 *) ac_try_echo=$ac_try;;
13990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13991 (eval "$ac_try") 2>&5
13993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13994 (exit $ac_status); }; } &&
13995 { ac_try='test -s conftest$ac_exeext'
13996 { (case "(($ac_try" in
13997 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13998 *) ac_try_echo
=$ac_try;;
14000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14001 (eval "$ac_try") 2>&5
14003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14004 (exit $ac_status); }; }; then
14005 ac_cv_search_mallinfo
=$ac_res
14007 echo "$as_me: failed program was:" >&5
14008 sed 's/^/| /' conftest.
$ac_ext >&5
14013 rm -f core conftest.err conftest.
$ac_objext \
14015 if test "${ac_cv_search_mallinfo+set}" = set; then
14019 if test "${ac_cv_search_mallinfo+set}" = set; then
14022 ac_cv_search_mallinfo
=no
14024 rm conftest.
$ac_ext
14025 LIBS
=$ac_func_search_save_LIBS
14027 { echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
14028 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6; }
14029 ac_res
=$ac_cv_search_mallinfo
14030 if test "$ac_res" != no
; then
14031 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14033 cat >>confdefs.h
<<\_ACEOF
14034 #define HAVE_MALLINFO 1
14040 if test "$ENABLE_THREADS" -eq 1 && test "$ENABLE_PTHREADS" -eq 1 ; then
14042 { echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
14043 echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6; }
14044 if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then
14045 echo $ECHO_N "(cached) $ECHO_C" >&6
14047 ac_check_lib_save_LIBS
=$LIBS
14048 LIBS
="-lpthread $LIBS"
14049 cat >conftest.
$ac_ext <<_ACEOF
14052 cat confdefs.h
>>conftest.
$ac_ext
14053 cat >>conftest.
$ac_ext <<_ACEOF
14054 /* end confdefs.h. */
14056 /* Override any GCC internal prototype to avoid an error.
14057 Use char because int might match the return type of a GCC
14058 builtin and then its argument prototype would still apply. */
14062 char pthread_mutex_init ();
14066 return pthread_mutex_init ();
14071 rm -f conftest.
$ac_objext conftest
$ac_exeext
14072 if { (ac_try
="$ac_link"
14073 case "(($ac_try" in
14074 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14075 *) ac_try_echo=$ac_try;;
14077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14078 (eval "$ac_link") 2>conftest.er1
14080 grep -v '^ *+' conftest.er1 >conftest.err
14082 cat conftest.err >&5
14083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14084 (exit $ac_status); } &&
14085 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14086 { (case "(($ac_try" in
14087 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14088 *) ac_try_echo
=$ac_try;;
14090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14091 (eval "$ac_try") 2>&5
14093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14094 (exit $ac_status); }; } &&
14095 { ac_try
='test -s conftest$ac_exeext'
14096 { (case "(($ac_try" in
14097 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14098 *) ac_try_echo=$ac_try;;
14100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14101 (eval "$ac_try") 2>&5
14103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14104 (exit $ac_status); }; }; then
14105 ac_cv_lib_pthread_pthread_mutex_init=yes
14107 echo "$as_me: failed program was:" >&5
14108 sed 's/^/| /' conftest.$ac_ext >&5
14110 ac_cv_lib_pthread_pthread_mutex_init=no
14113 rm -f core conftest.err conftest.$ac_objext \
14114 conftest$ac_exeext conftest.$ac_ext
14115 LIBS=$ac_check_lib_save_LIBS
14117 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
14118 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
14119 if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
14120 cat >>confdefs.h <<_ACEOF
14121 #define HAVE_LIBPTHREAD 1
14124 LIBS="-lpthread $LIBS"
14128 { echo "$as_me:$LINENO: checking for library containing pthread_mutex_lock" >&5
14129 echo $ECHO_N "checking for library containing pthread_mutex_lock... $ECHO_C" >&6; }
14130 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
14131 echo $ECHO_N "(cached) $ECHO_C" >&6
14133 ac_func_search_save_LIBS=$LIBS
14134 cat >conftest.$ac_ext <<_ACEOF
14137 cat confdefs.h >>conftest.$ac_ext
14138 cat >>conftest.$ac_ext <<_ACEOF
14139 /* end confdefs.h. */
14141 /* Override any GCC internal prototype to avoid an error.
14142 Use char because int might match the return type of a GCC
14143 builtin and then its argument prototype would still apply. */
14147 char pthread_mutex_lock ();
14151 return pthread_mutex_lock ();
14156 for ac_lib in '' pthread; do
14157 if test -z "$ac_lib"; then
14158 ac_res="none required"
14161 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14163 rm -f conftest.$ac_objext conftest$ac_exeext
14164 if { (ac_try="$ac_link"
14165 case "(($ac_try" in
14166 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14167 *) ac_try_echo
=$ac_try;;
14169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14170 (eval "$ac_link") 2>conftest.er1
14172 grep -v '^ *+' conftest.er1
>conftest.err
14174 cat conftest.err
>&5
14175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14176 (exit $ac_status); } &&
14177 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14178 { (case "(($ac_try" in
14179 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14180 *) ac_try_echo=$ac_try;;
14182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14183 (eval "$ac_try") 2>&5
14185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14186 (exit $ac_status); }; } &&
14187 { ac_try='test -s conftest$ac_exeext'
14188 { (case "(($ac_try" in
14189 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14190 *) ac_try_echo
=$ac_try;;
14192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14193 (eval "$ac_try") 2>&5
14195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14196 (exit $ac_status); }; }; then
14197 ac_cv_search_pthread_mutex_lock
=$ac_res
14199 echo "$as_me: failed program was:" >&5
14200 sed 's/^/| /' conftest.
$ac_ext >&5
14205 rm -f core conftest.err conftest.
$ac_objext \
14207 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
14211 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
14214 ac_cv_search_pthread_mutex_lock
=no
14216 rm conftest.
$ac_ext
14217 LIBS
=$ac_func_search_save_LIBS
14219 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_mutex_lock" >&5
14220 echo "${ECHO_T}$ac_cv_search_pthread_mutex_lock" >&6; }
14221 ac_res
=$ac_cv_search_pthread_mutex_lock
14222 if test "$ac_res" != no
; then
14223 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14225 cat >>confdefs.h
<<\_ACEOF
14226 #define HAVE_PTHREAD_MUTEX_LOCK 1
14231 { echo "$as_me:$LINENO: checking for library containing pthread_rwlock_init" >&5
14232 echo $ECHO_N "checking for library containing pthread_rwlock_init... $ECHO_C" >&6; }
14233 if test "${ac_cv_search_pthread_rwlock_init+set}" = set; then
14234 echo $ECHO_N "(cached) $ECHO_C" >&6
14236 ac_func_search_save_LIBS
=$LIBS
14237 cat >conftest.
$ac_ext <<_ACEOF
14240 cat confdefs.h
>>conftest.
$ac_ext
14241 cat >>conftest.
$ac_ext <<_ACEOF
14242 /* end confdefs.h. */
14244 /* Override any GCC internal prototype to avoid an error.
14245 Use char because int might match the return type of a GCC
14246 builtin and then its argument prototype would still apply. */
14250 char pthread_rwlock_init ();
14254 return pthread_rwlock_init ();
14259 for ac_lib
in '' pthread
; do
14260 if test -z "$ac_lib"; then
14261 ac_res
="none required"
14264 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14266 rm -f conftest.
$ac_objext conftest
$ac_exeext
14267 if { (ac_try
="$ac_link"
14268 case "(($ac_try" in
14269 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14270 *) ac_try_echo=$ac_try;;
14272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14273 (eval "$ac_link") 2>conftest.er1
14275 grep -v '^ *+' conftest.er1 >conftest.err
14277 cat conftest.err >&5
14278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14279 (exit $ac_status); } &&
14280 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14281 { (case "(($ac_try" in
14282 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14283 *) ac_try_echo
=$ac_try;;
14285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14286 (eval "$ac_try") 2>&5
14288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14289 (exit $ac_status); }; } &&
14290 { ac_try
='test -s conftest$ac_exeext'
14291 { (case "(($ac_try" in
14292 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14293 *) ac_try_echo=$ac_try;;
14295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14296 (eval "$ac_try") 2>&5
14298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14299 (exit $ac_status); }; }; then
14300 ac_cv_search_pthread_rwlock_init=$ac_res
14302 echo "$as_me: failed program was:" >&5
14303 sed 's/^/| /' conftest.$ac_ext >&5
14308 rm -f core conftest.err conftest.$ac_objext \
14310 if test "${ac_cv_search_pthread_rwlock_init+set}" = set; then
14314 if test "${ac_cv_search_pthread_rwlock_init+set}" = set; then
14317 ac_cv_search_pthread_rwlock_init=no
14319 rm conftest.$ac_ext
14320 LIBS=$ac_func_search_save_LIBS
14322 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_rwlock_init" >&5
14323 echo "${ECHO_T}$ac_cv_search_pthread_rwlock_init" >&6; }
14324 ac_res=$ac_cv_search_pthread_rwlock_init
14325 if test "$ac_res" != no; then
14326 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14328 cat >>confdefs.h <<\_ACEOF
14329 #define HAVE_PTHREAD_RWLOCK_INIT 1
14334 { echo "$as_me:$LINENO: checking for library containing pthread_getspecific" >&5
14335 echo $ECHO_N "checking for library containing pthread_getspecific... $ECHO_C" >&6; }
14336 if test "${ac_cv_search_pthread_getspecific+set}" = set; then
14337 echo $ECHO_N "(cached) $ECHO_C" >&6
14339 ac_func_search_save_LIBS=$LIBS
14340 cat >conftest.$ac_ext <<_ACEOF
14343 cat confdefs.h >>conftest.$ac_ext
14344 cat >>conftest.$ac_ext <<_ACEOF
14345 /* end confdefs.h. */
14347 /* Override any GCC internal prototype to avoid an error.
14348 Use char because int might match the return type of a GCC
14349 builtin and then its argument prototype would still apply. */
14353 char pthread_getspecific ();
14357 return pthread_getspecific ();
14362 for ac_lib in '' pthread; do
14363 if test -z "$ac_lib"; then
14364 ac_res="none required"
14367 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14369 rm -f conftest.$ac_objext conftest$ac_exeext
14370 if { (ac_try="$ac_link"
14371 case "(($ac_try" in
14372 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14373 *) ac_try_echo
=$ac_try;;
14375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14376 (eval "$ac_link") 2>conftest.er1
14378 grep -v '^ *+' conftest.er1
>conftest.err
14380 cat conftest.err
>&5
14381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14382 (exit $ac_status); } &&
14383 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14384 { (case "(($ac_try" in
14385 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14386 *) ac_try_echo=$ac_try;;
14388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14389 (eval "$ac_try") 2>&5
14391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14392 (exit $ac_status); }; } &&
14393 { ac_try='test -s conftest$ac_exeext'
14394 { (case "(($ac_try" in
14395 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14396 *) ac_try_echo
=$ac_try;;
14398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14399 (eval "$ac_try") 2>&5
14401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14402 (exit $ac_status); }; }; then
14403 ac_cv_search_pthread_getspecific
=$ac_res
14405 echo "$as_me: failed program was:" >&5
14406 sed 's/^/| /' conftest.
$ac_ext >&5
14411 rm -f core conftest.err conftest.
$ac_objext \
14413 if test "${ac_cv_search_pthread_getspecific+set}" = set; then
14417 if test "${ac_cv_search_pthread_getspecific+set}" = set; then
14420 ac_cv_search_pthread_getspecific
=no
14422 rm conftest.
$ac_ext
14423 LIBS
=$ac_func_search_save_LIBS
14425 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_getspecific" >&5
14426 echo "${ECHO_T}$ac_cv_search_pthread_getspecific" >&6; }
14427 ac_res
=$ac_cv_search_pthread_getspecific
14428 if test "$ac_res" != no
; then
14429 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14431 cat >>confdefs.h
<<\_ACEOF
14432 #define HAVE_PTHREAD_GETSPECIFIC 1
14440 # Check whether --with-udis86 was given.
14441 if test "${with_udis86+set}" = set; then
14442 withval
=$with_udis86;
14447 *) LDFLAGS
="$LDFLAGS -L${withval}" ;;
14450 { echo "$as_me:$LINENO: checking for ud_init in -ludis86" >&5
14451 echo $ECHO_N "checking for ud_init in -ludis86... $ECHO_C" >&6; }
14452 if test "${ac_cv_lib_udis86_ud_init+set}" = set; then
14453 echo $ECHO_N "(cached) $ECHO_C" >&6
14455 ac_check_lib_save_LIBS
=$LIBS
14456 LIBS
="-ludis86 $LIBS"
14457 cat >conftest.
$ac_ext <<_ACEOF
14460 cat confdefs.h
>>conftest.
$ac_ext
14461 cat >>conftest.
$ac_ext <<_ACEOF
14462 /* end confdefs.h. */
14464 /* Override any GCC internal prototype to avoid an error.
14465 Use char because int might match the return type of a GCC
14466 builtin and then its argument prototype would still apply. */
14479 rm -f conftest.
$ac_objext conftest
$ac_exeext
14480 if { (ac_try
="$ac_link"
14481 case "(($ac_try" in
14482 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14483 *) ac_try_echo=$ac_try;;
14485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14486 (eval "$ac_link") 2>conftest.er1
14488 grep -v '^ *+' conftest.er1 >conftest.err
14490 cat conftest.err >&5
14491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492 (exit $ac_status); } &&
14493 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14494 { (case "(($ac_try" in
14495 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14496 *) ac_try_echo
=$ac_try;;
14498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14499 (eval "$ac_try") 2>&5
14501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14502 (exit $ac_status); }; } &&
14503 { ac_try
='test -s conftest$ac_exeext'
14504 { (case "(($ac_try" in
14505 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14506 *) ac_try_echo=$ac_try;;
14508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14509 (eval "$ac_try") 2>&5
14511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14512 (exit $ac_status); }; }; then
14513 ac_cv_lib_udis86_ud_init=yes
14515 echo "$as_me: failed program was:" >&5
14516 sed 's/^/| /' conftest.$ac_ext >&5
14518 ac_cv_lib_udis86_ud_init=no
14521 rm -f core conftest.err conftest.$ac_objext \
14522 conftest$ac_exeext conftest.$ac_ext
14523 LIBS=$ac_check_lib_save_LIBS
14525 { echo "$as_me:$LINENO: result: $ac_cv_lib_udis86_ud_init" >&5
14526 echo "${ECHO_T}$ac_cv_lib_udis86_ud_init" >&6; }
14527 if test $ac_cv_lib_udis86_ud_init = yes; then
14528 cat >>confdefs.h <<_ACEOF
14529 #define HAVE_LIBUDIS86 1
14532 LIBS="-ludis86 $LIBS"
14536 echo "Error! You need to have libudis86 around."
14548 cat >>confdefs.h <<_ACEOF
14549 #define USE_UDIS86 $USE_UDIS86
14554 # Check whether --with-oprofile was given.
14555 if test "${with_oprofile+set}" = set; then
14556 withval=$with_oprofile;
14560 /usr|yes) llvm_cv_oppath=/usr/lib/oprofile ;;
14561 no) llvm_cv_oppath=
14564 *) llvm_cv_oppath="${withval}/lib/oprofile"
14565 CPPFLAGS="-I${withval}/include";;
14567 if test -n "$llvm_cv_oppath" ; then
14568 LIBS="$LIBS -L${llvm_cv_oppath} -Wl,-rpath,${llvm_cv_oppath}"
14569 { echo "$as_me:$LINENO: checking for library containing bfd_init" >&5
14570 echo $ECHO_N "checking for library containing bfd_init... $ECHO_C" >&6; }
14571 if test "${ac_cv_search_bfd_init+set}" = set; then
14572 echo $ECHO_N "(cached) $ECHO_C" >&6
14574 ac_func_search_save_LIBS=$LIBS
14575 cat >conftest.$ac_ext <<_ACEOF
14578 cat confdefs.h >>conftest.$ac_ext
14579 cat >>conftest.$ac_ext <<_ACEOF
14580 /* end confdefs.h. */
14582 /* Override any GCC internal prototype to avoid an error.
14583 Use char because int might match the return type of a GCC
14584 builtin and then its argument prototype would still apply. */
14592 return bfd_init ();
14597 for ac_lib in '' bfd; do
14598 if test -z "$ac_lib"; then
14599 ac_res="none required"
14602 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14604 rm -f conftest.$ac_objext conftest$ac_exeext
14605 if { (ac_try="$ac_link"
14606 case "(($ac_try" in
14607 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14608 *) ac_try_echo
=$ac_try;;
14610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14611 (eval "$ac_link") 2>conftest.er1
14613 grep -v '^ *+' conftest.er1
>conftest.err
14615 cat conftest.err
>&5
14616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14617 (exit $ac_status); } &&
14618 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14619 { (case "(($ac_try" in
14620 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14621 *) ac_try_echo=$ac_try;;
14623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14624 (eval "$ac_try") 2>&5
14626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14627 (exit $ac_status); }; } &&
14628 { ac_try='test -s conftest$ac_exeext'
14629 { (case "(($ac_try" in
14630 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14631 *) ac_try_echo
=$ac_try;;
14633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14634 (eval "$ac_try") 2>&5
14636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14637 (exit $ac_status); }; }; then
14638 ac_cv_search_bfd_init
=$ac_res
14640 echo "$as_me: failed program was:" >&5
14641 sed 's/^/| /' conftest.
$ac_ext >&5
14646 rm -f core conftest.err conftest.
$ac_objext \
14648 if test "${ac_cv_search_bfd_init+set}" = set; then
14652 if test "${ac_cv_search_bfd_init+set}" = set; then
14655 ac_cv_search_bfd_init
=no
14657 rm conftest.
$ac_ext
14658 LIBS
=$ac_func_search_save_LIBS
14660 { echo "$as_me:$LINENO: result: $ac_cv_search_bfd_init" >&5
14661 echo "${ECHO_T}$ac_cv_search_bfd_init" >&6; }
14662 ac_res
=$ac_cv_search_bfd_init
14663 if test "$ac_res" != no
; then
14664 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14668 { echo "$as_me:$LINENO: checking for library containing op_open_agent" >&5
14669 echo $ECHO_N "checking for library containing op_open_agent... $ECHO_C" >&6; }
14670 if test "${ac_cv_search_op_open_agent+set}" = set; then
14671 echo $ECHO_N "(cached) $ECHO_C" >&6
14673 ac_func_search_save_LIBS
=$LIBS
14674 cat >conftest.
$ac_ext <<_ACEOF
14677 cat confdefs.h
>>conftest.
$ac_ext
14678 cat >>conftest.
$ac_ext <<_ACEOF
14679 /* end confdefs.h. */
14681 /* Override any GCC internal prototype to avoid an error.
14682 Use char because int might match the return type of a GCC
14683 builtin and then its argument prototype would still apply. */
14687 char op_open_agent ();
14691 return op_open_agent ();
14696 for ac_lib
in '' opagent
; do
14697 if test -z "$ac_lib"; then
14698 ac_res
="none required"
14701 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14703 rm -f conftest.
$ac_objext conftest
$ac_exeext
14704 if { (ac_try
="$ac_link"
14705 case "(($ac_try" in
14706 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14707 *) ac_try_echo=$ac_try;;
14709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14710 (eval "$ac_link") 2>conftest.er1
14712 grep -v '^ *+' conftest.er1 >conftest.err
14714 cat conftest.err >&5
14715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14716 (exit $ac_status); } &&
14717 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14718 { (case "(($ac_try" in
14719 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14720 *) ac_try_echo
=$ac_try;;
14722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14723 (eval "$ac_try") 2>&5
14725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14726 (exit $ac_status); }; } &&
14727 { ac_try
='test -s conftest$ac_exeext'
14728 { (case "(($ac_try" in
14729 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14730 *) ac_try_echo=$ac_try;;
14732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14733 (eval "$ac_try") 2>&5
14735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14736 (exit $ac_status); }; }; then
14737 ac_cv_search_op_open_agent=$ac_res
14739 echo "$as_me: failed program was:" >&5
14740 sed 's/^/| /' conftest.$ac_ext >&5
14745 rm -f core conftest.err conftest.$ac_objext \
14747 if test "${ac_cv_search_op_open_agent+set}" = set; then
14751 if test "${ac_cv_search_op_open_agent+set}" = set; then
14754 ac_cv_search_op_open_agent=no
14756 rm conftest.$ac_ext
14757 LIBS=$ac_func_search_save_LIBS
14759 { echo "$as_me:$LINENO: result: $ac_cv_search_op_open_agent" >&5
14760 echo "${ECHO_T}$ac_cv_search_op_open_agent" >&6; }
14761 ac_res=$ac_cv_search_op_open_agent
14762 if test "$ac_res" != no; then
14763 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14767 echo "Error! You need to have libopagent around."
14772 if test "${ac_cv_header_opagent_h+set}" = set; then
14773 { echo "$as_me:$LINENO: checking for opagent.h" >&5
14774 echo $ECHO_N "checking for opagent.h... $ECHO_C" >&6; }
14775 if test "${ac_cv_header_opagent_h+set}" = set; then
14776 echo $ECHO_N "(cached) $ECHO_C" >&6
14778 { echo "$as_me:$LINENO: result: $ac_cv_header_opagent_h" >&5
14779 echo "${ECHO_T}$ac_cv_header_opagent_h" >&6; }
14781 # Is the header compilable?
14782 { echo "$as_me:$LINENO: checking opagent.h usability" >&5
14783 echo $ECHO_N "checking opagent.h usability... $ECHO_C" >&6; }
14784 cat >conftest.$ac_ext <<_ACEOF
14787 cat confdefs.h >>conftest.$ac_ext
14788 cat >>conftest.$ac_ext <<_ACEOF
14789 /* end confdefs.h. */
14790 $ac_includes_default
14791 #include <opagent.h>
14793 rm -f conftest.$ac_objext
14794 if { (ac_try="$ac_compile"
14795 case "(($ac_try" in
14796 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14797 *) ac_try_echo
=$ac_try;;
14799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14800 (eval "$ac_compile") 2>conftest.er1
14802 grep -v '^ *+' conftest.er1
>conftest.err
14804 cat conftest.err
>&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); } &&
14807 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14808 { (case "(($ac_try" in
14809 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14810 *) ac_try_echo=$ac_try;;
14812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14813 (eval "$ac_try") 2>&5
14815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14816 (exit $ac_status); }; } &&
14817 { ac_try='test -s conftest.$ac_objext'
14818 { (case "(($ac_try" in
14819 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14820 *) ac_try_echo
=$ac_try;;
14822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14823 (eval "$ac_try") 2>&5
14825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14826 (exit $ac_status); }; }; then
14827 ac_header_compiler
=yes
14829 echo "$as_me: failed program was:" >&5
14830 sed 's/^/| /' conftest.
$ac_ext >&5
14832 ac_header_compiler
=no
14835 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14836 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14837 echo "${ECHO_T}$ac_header_compiler" >&6; }
14839 # Is the header present?
14840 { echo "$as_me:$LINENO: checking opagent.h presence" >&5
14841 echo $ECHO_N "checking opagent.h presence... $ECHO_C" >&6; }
14842 cat >conftest.
$ac_ext <<_ACEOF
14845 cat confdefs.h
>>conftest.
$ac_ext
14846 cat >>conftest.
$ac_ext <<_ACEOF
14847 /* end confdefs.h. */
14848 #include <opagent.h>
14850 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14851 case "(($ac_try" in
14852 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14853 *) ac_try_echo=$ac_try;;
14855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14856 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14858 grep -v '^ *+' conftest.er1 >conftest.err
14860 cat conftest.err >&5
14861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14862 (exit $ac_status); } >/dev/null; then
14863 if test -s conftest.err; then
14864 ac_cpp_err=$ac_c_preproc_warn_flag
14865 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14872 if test -z "$ac_cpp_err"; then
14873 ac_header_preproc=yes
14875 echo "$as_me: failed program was:" >&5
14876 sed 's/^/| /' conftest.$ac_ext >&5
14878 ac_header_preproc=no
14881 rm -f conftest.err conftest.$ac_ext
14882 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14883 echo "${ECHO_T}$ac_header_preproc" >&6; }
14885 # So? What about this header?
14886 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14888 { echo "$as_me:$LINENO: WARNING: opagent.h: accepted by the compiler, rejected by the preprocessor!" >&5
14889 echo "$as_me: WARNING: opagent.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14890 { echo "$as_me:$LINENO: WARNING: opagent.h: proceeding with the compiler's result" >&5
14891 echo "$as_me: WARNING: opagent.h: proceeding with the compiler's result" >&2;}
14892 ac_header_preproc=yes
14895 { echo "$as_me:$LINENO: WARNING: opagent.h: present but cannot be compiled" >&5
14896 echo "$as_me: WARNING: opagent.h: present but cannot be compiled" >&2;}
14897 { echo "$as_me:$LINENO: WARNING: opagent.h: check for missing prerequisite headers?" >&5
14898 echo "$as_me: WARNING: opagent.h: check for missing prerequisite headers?" >&2;}
14899 { echo "$as_me:$LINENO: WARNING: opagent.h: see the Autoconf documentation" >&5
14900 echo "$as_me: WARNING: opagent.h: see the Autoconf documentation" >&2;}
14901 { echo "$as_me:$LINENO: WARNING: opagent.h: section \"Present But Cannot Be Compiled\"" >&5
14902 echo "$as_me: WARNING: opagent.h: section \"Present But Cannot Be Compiled\"" >&2;}
14903 { echo "$as_me:$LINENO: WARNING: opagent.h: proceeding with the preprocessor's result" >&5
14904 echo "$as_me: WARNING: opagent.h: proceeding with the preprocessor's result" >&2;}
14905 { echo "$as_me:$LINENO: WARNING: opagent.h: in the future, the compiler will take precedence" >&5
14906 echo "$as_me: WARNING: opagent.h: in the future, the compiler will take precedence" >&2;}
14908 ## ----------------------------------- ##
14909 ## Report this to llvmbugs@cs.uiuc.edu ##
14910 ## ----------------------------------- ##
14912 ) | sed "s/^/$as_me: WARNING: /" >&2
14915 { echo "$as_me:$LINENO: checking for opagent.h" >&5
14916 echo $ECHO_N "checking for opagent.h... $ECHO_C" >&6; }
14917 if test "${ac_cv_header_opagent_h+set}" = set; then
14918 echo $ECHO_N "(cached) $ECHO_C" >&6
14920 ac_cv_header_opagent_h=$ac_header_preproc
14922 { echo "$as_me:$LINENO: result: $ac_cv_header_opagent_h" >&5
14923 echo "${ECHO_T}$ac_cv_header_opagent_h" >&6; }
14926 if test $ac_cv_header_opagent_h = yes; then
14930 echo "Error! You need to have opagent.h around."
14946 cat >>confdefs.h <<_ACEOF
14947 #define USE_OPROFILE $USE_OPROFILE
14957 ac_header_dirent=no
14958 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
14959 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
14960 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
14961 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
14962 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14963 echo $ECHO_N "(cached) $ECHO_C" >&6
14965 cat >conftest.$ac_ext <<_ACEOF
14968 cat confdefs.h >>conftest.$ac_ext
14969 cat >>conftest.$ac_ext <<_ACEOF
14970 /* end confdefs.h. */
14971 #include <sys/types.h>
14983 rm -f conftest.$ac_objext
14984 if { (ac_try="$ac_compile"
14985 case "(($ac_try" in
14986 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14987 *) ac_try_echo
=$ac_try;;
14989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14990 (eval "$ac_compile") 2>conftest.er1
14992 grep -v '^ *+' conftest.er1
>conftest.err
14994 cat conftest.err
>&5
14995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14996 (exit $ac_status); } &&
14997 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14998 { (case "(($ac_try" in
14999 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15000 *) ac_try_echo=$ac_try;;
15002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15003 (eval "$ac_try") 2>&5
15005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15006 (exit $ac_status); }; } &&
15007 { ac_try='test -s conftest.$ac_objext'
15008 { (case "(($ac_try" in
15009 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15010 *) ac_try_echo
=$ac_try;;
15012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15013 (eval "$ac_try") 2>&5
15015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15016 (exit $ac_status); }; }; then
15017 eval "$as_ac_Header=yes"
15019 echo "$as_me: failed program was:" >&5
15020 sed 's/^/| /' conftest.
$ac_ext >&5
15022 eval "$as_ac_Header=no"
15025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15027 ac_res
=`eval echo '${'$as_ac_Header'}'`
15028 { echo "$as_me:$LINENO: result: $ac_res" >&5
15029 echo "${ECHO_T}$ac_res" >&6; }
15030 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15031 cat >>confdefs.h
<<_ACEOF
15032 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
15035 ac_header_dirent
=$ac_hdr; break
15039 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
15040 if test $ac_header_dirent = dirent.h
; then
15041 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
15042 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
15043 if test "${ac_cv_search_opendir+set}" = set; then
15044 echo $ECHO_N "(cached) $ECHO_C" >&6
15046 ac_func_search_save_LIBS
=$LIBS
15047 cat >conftest.
$ac_ext <<_ACEOF
15050 cat confdefs.h
>>conftest.
$ac_ext
15051 cat >>conftest.
$ac_ext <<_ACEOF
15052 /* end confdefs.h. */
15054 /* Override any GCC internal prototype to avoid an error.
15055 Use char because int might match the return type of a GCC
15056 builtin and then its argument prototype would still apply. */
15069 for ac_lib
in '' dir
; do
15070 if test -z "$ac_lib"; then
15071 ac_res
="none required"
15074 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15076 rm -f conftest.
$ac_objext conftest
$ac_exeext
15077 if { (ac_try
="$ac_link"
15078 case "(($ac_try" in
15079 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15080 *) ac_try_echo=$ac_try;;
15082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15083 (eval "$ac_link") 2>conftest.er1
15085 grep -v '^ *+' conftest.er1 >conftest.err
15087 cat conftest.err >&5
15088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15089 (exit $ac_status); } &&
15090 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15091 { (case "(($ac_try" in
15092 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15093 *) ac_try_echo
=$ac_try;;
15095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15096 (eval "$ac_try") 2>&5
15098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15099 (exit $ac_status); }; } &&
15100 { ac_try
='test -s conftest$ac_exeext'
15101 { (case "(($ac_try" in
15102 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15103 *) ac_try_echo=$ac_try;;
15105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15106 (eval "$ac_try") 2>&5
15108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15109 (exit $ac_status); }; }; then
15110 ac_cv_search_opendir=$ac_res
15112 echo "$as_me: failed program was:" >&5
15113 sed 's/^/| /' conftest.$ac_ext >&5
15118 rm -f core conftest.err conftest.$ac_objext \
15120 if test "${ac_cv_search_opendir+set}" = set; then
15124 if test "${ac_cv_search_opendir+set}" = set; then
15127 ac_cv_search_opendir=no
15129 rm conftest.$ac_ext
15130 LIBS=$ac_func_search_save_LIBS
15132 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
15133 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
15134 ac_res=$ac_cv_search_opendir
15135 if test "$ac_res" != no; then
15136 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15141 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
15142 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
15143 if test "${ac_cv_search_opendir+set}" = set; then
15144 echo $ECHO_N "(cached) $ECHO_C" >&6
15146 ac_func_search_save_LIBS=$LIBS
15147 cat >conftest.$ac_ext <<_ACEOF
15150 cat confdefs.h >>conftest.$ac_ext
15151 cat >>conftest.$ac_ext <<_ACEOF
15152 /* end confdefs.h. */
15154 /* Override any GCC internal prototype to avoid an error.
15155 Use char because int might match the return type of a GCC
15156 builtin and then its argument prototype would still apply. */
15169 for ac_lib in '' x; do
15170 if test -z "$ac_lib"; then
15171 ac_res="none required"
15174 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15176 rm -f conftest.$ac_objext conftest$ac_exeext
15177 if { (ac_try="$ac_link"
15178 case "(($ac_try" in
15179 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15180 *) ac_try_echo
=$ac_try;;
15182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15183 (eval "$ac_link") 2>conftest.er1
15185 grep -v '^ *+' conftest.er1
>conftest.err
15187 cat conftest.err
>&5
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); } &&
15190 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15191 { (case "(($ac_try" in
15192 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15193 *) ac_try_echo=$ac_try;;
15195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15196 (eval "$ac_try") 2>&5
15198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15199 (exit $ac_status); }; } &&
15200 { ac_try='test -s conftest$ac_exeext'
15201 { (case "(($ac_try" in
15202 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15203 *) ac_try_echo
=$ac_try;;
15205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15206 (eval "$ac_try") 2>&5
15208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15209 (exit $ac_status); }; }; then
15210 ac_cv_search_opendir
=$ac_res
15212 echo "$as_me: failed program was:" >&5
15213 sed 's/^/| /' conftest.
$ac_ext >&5
15218 rm -f core conftest.err conftest.
$ac_objext \
15220 if test "${ac_cv_search_opendir+set}" = set; then
15224 if test "${ac_cv_search_opendir+set}" = set; then
15227 ac_cv_search_opendir
=no
15229 rm conftest.
$ac_ext
15230 LIBS
=$ac_func_search_save_LIBS
15232 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
15233 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
15234 ac_res
=$ac_cv_search_opendir
15235 if test "$ac_res" != no
; then
15236 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15242 { echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
15243 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6; }
15244 if test "${ac_cv_header_mmap_anon+set}" = set; then
15245 echo $ECHO_N "(cached) $ECHO_C" >&6
15248 ac_cpp
='$CPP $CPPFLAGS'
15249 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15250 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15251 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15253 cat >conftest.
$ac_ext <<_ACEOF
15256 cat confdefs.h
>>conftest.
$ac_ext
15257 cat >>conftest.
$ac_ext <<_ACEOF
15258 /* end confdefs.h. */
15259 #include <sys/mman.h>
15260 #include <unistd.h>
15265 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
15270 rm -f conftest.
$ac_objext
15271 if { (ac_try
="$ac_compile"
15272 case "(($ac_try" in
15273 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15274 *) ac_try_echo=$ac_try;;
15276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15277 (eval "$ac_compile") 2>conftest.er1
15279 grep -v '^ *+' conftest.er1 >conftest.err
15281 cat conftest.err >&5
15282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15283 (exit $ac_status); } &&
15284 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15285 { (case "(($ac_try" in
15286 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15287 *) ac_try_echo
=$ac_try;;
15289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15290 (eval "$ac_try") 2>&5
15292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15293 (exit $ac_status); }; } &&
15294 { ac_try
='test -s conftest.$ac_objext'
15295 { (case "(($ac_try" in
15296 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15297 *) ac_try_echo=$ac_try;;
15299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15300 (eval "$ac_try") 2>&5
15302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15303 (exit $ac_status); }; }; then
15304 ac_cv_header_mmap_anon=yes
15306 echo "$as_me: failed program was:" >&5
15307 sed 's/^/| /' conftest.$ac_ext >&5
15309 ac_cv_header_mmap_anon=no
15312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15314 ac_cpp='$CPP $CPPFLAGS'
15315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15321 { echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
15322 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6; }
15323 if test "$ac_cv_header_mmap_anon" = yes; then
15325 cat >>confdefs.h <<\_ACEOF
15326 #define HAVE_MMAP_ANONYMOUS 1
15331 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
15332 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
15333 if test "${ac_cv_header_stat_broken+set}" = set; then
15334 echo $ECHO_N "(cached) $ECHO_C" >&6
15336 cat >conftest.$ac_ext <<_ACEOF
15339 cat confdefs.h >>conftest.$ac_ext
15340 cat >>conftest.$ac_ext <<_ACEOF
15341 /* end confdefs.h. */
15342 #include <sys/types.h>
15343 #include <sys/stat.h>
15345 #if defined S_ISBLK && defined S_IFDIR
15346 # if S_ISBLK (S_IFDIR)
15351 #if defined S_ISBLK && defined S_IFCHR
15352 # if S_ISBLK (S_IFCHR)
15357 #if defined S_ISLNK && defined S_IFREG
15358 # if S_ISLNK (S_IFREG)
15363 #if defined S_ISSOCK && defined S_IFREG
15364 # if S_ISSOCK (S_IFREG)
15370 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15371 $EGREP "You lose" >/dev/null 2>&1; then
15372 ac_cv_header_stat_broken=yes
15374 ac_cv_header_stat_broken=no
15379 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
15380 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
15381 if test $ac_cv_header_stat_broken = yes; then
15383 cat >>confdefs.h <<\_ACEOF
15384 #define STAT_MACROS_BROKEN 1
15389 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
15390 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
15391 if test "${ac_cv_header_stdc+set}" = set; then
15392 echo $ECHO_N "(cached) $ECHO_C" >&6
15394 cat >conftest.$ac_ext <<_ACEOF
15397 cat confdefs.h >>conftest.$ac_ext
15398 cat >>conftest.$ac_ext <<_ACEOF
15399 /* end confdefs.h. */
15400 #include <stdlib.h>
15401 #include <stdarg.h>
15402 #include <string.h>
15413 rm -f conftest.$ac_objext
15414 if { (ac_try="$ac_compile"
15415 case "(($ac_try" in
15416 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15417 *) ac_try_echo
=$ac_try;;
15419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15420 (eval "$ac_compile") 2>conftest.er1
15422 grep -v '^ *+' conftest.er1
>conftest.err
15424 cat conftest.err
>&5
15425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15426 (exit $ac_status); } &&
15427 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15428 { (case "(($ac_try" in
15429 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15430 *) ac_try_echo=$ac_try;;
15432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15433 (eval "$ac_try") 2>&5
15435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15436 (exit $ac_status); }; } &&
15437 { ac_try='test -s conftest.$ac_objext'
15438 { (case "(($ac_try" in
15439 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15440 *) ac_try_echo
=$ac_try;;
15442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15443 (eval "$ac_try") 2>&5
15445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15446 (exit $ac_status); }; }; then
15447 ac_cv_header_stdc
=yes
15449 echo "$as_me: failed program was:" >&5
15450 sed 's/^/| /' conftest.
$ac_ext >&5
15452 ac_cv_header_stdc
=no
15455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15457 if test $ac_cv_header_stdc = yes; then
15458 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15459 cat >conftest.
$ac_ext <<_ACEOF
15462 cat confdefs.h
>>conftest.
$ac_ext
15463 cat >>conftest.
$ac_ext <<_ACEOF
15464 /* end confdefs.h. */
15465 #include <string.h>
15468 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15469 $EGREP "memchr" >/dev
/null
2>&1; then
15472 ac_cv_header_stdc
=no
15478 if test $ac_cv_header_stdc = yes; then
15479 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15480 cat >conftest.
$ac_ext <<_ACEOF
15483 cat confdefs.h
>>conftest.
$ac_ext
15484 cat >>conftest.
$ac_ext <<_ACEOF
15485 /* end confdefs.h. */
15486 #include <stdlib.h>
15489 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15490 $EGREP "free" >/dev
/null
2>&1; then
15493 ac_cv_header_stdc
=no
15499 if test $ac_cv_header_stdc = yes; then
15500 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15501 if test "$cross_compiling" = yes; then
15504 cat >conftest.
$ac_ext <<_ACEOF
15507 cat confdefs.h
>>conftest.
$ac_ext
15508 cat >>conftest.
$ac_ext <<_ACEOF
15509 /* end confdefs.h. */
15511 #include <stdlib.h>
15512 #if ((' ' & 0x0FF) == 0x020)
15513 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15514 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15516 # define ISLOWER(c) \
15517 (('a' <= (c) && (c) <= 'i') \
15518 || ('j' <= (c) && (c) <= 'r') \
15519 || ('s' <= (c) && (c) <= 'z'))
15520 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15523 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15528 for (i = 0; i < 256; i++)
15529 if (XOR (islower (i), ISLOWER (i))
15530 || toupper (i) != TOUPPER (i))
15535 rm -f conftest
$ac_exeext
15536 if { (ac_try
="$ac_link"
15537 case "(($ac_try" in
15538 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15539 *) ac_try_echo=$ac_try;;
15541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15542 (eval "$ac_link") 2>&5
15544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15545 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15546 { (case "(($ac_try" in
15547 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15548 *) ac_try_echo
=$ac_try;;
15550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15551 (eval "$ac_try") 2>&5
15553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15554 (exit $ac_status); }; }; then
15557 echo "$as_me: program exited with status $ac_status" >&5
15558 echo "$as_me: failed program was:" >&5
15559 sed 's/^/| /' conftest.
$ac_ext >&5
15561 ( exit $ac_status )
15562 ac_cv_header_stdc
=no
15564 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15570 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
15571 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
15572 if test $ac_cv_header_stdc = yes; then
15574 cat >>confdefs.h
<<\_ACEOF
15575 #define STDC_HEADERS 1
15580 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
15581 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
15582 if test "${ac_cv_header_sys_wait_h+set}" = set; then
15583 echo $ECHO_N "(cached) $ECHO_C" >&6
15585 cat >conftest.
$ac_ext <<_ACEOF
15588 cat confdefs.h
>>conftest.
$ac_ext
15589 cat >>conftest.
$ac_ext <<_ACEOF
15590 /* end confdefs.h. */
15591 #include <sys/types.h>
15592 #include <sys/wait.h>
15593 #ifndef WEXITSTATUS
15594 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
15597 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
15605 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
15610 rm -f conftest.
$ac_objext
15611 if { (ac_try
="$ac_compile"
15612 case "(($ac_try" in
15613 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15614 *) ac_try_echo=$ac_try;;
15616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15617 (eval "$ac_compile") 2>conftest.er1
15619 grep -v '^ *+' conftest.er1 >conftest.err
15621 cat conftest.err >&5
15622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15623 (exit $ac_status); } &&
15624 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15625 { (case "(($ac_try" in
15626 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15627 *) ac_try_echo
=$ac_try;;
15629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15630 (eval "$ac_try") 2>&5
15632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633 (exit $ac_status); }; } &&
15634 { ac_try
='test -s conftest.$ac_objext'
15635 { (case "(($ac_try" in
15636 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15637 *) ac_try_echo=$ac_try;;
15639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15640 (eval "$ac_try") 2>&5
15642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15643 (exit $ac_status); }; }; then
15644 ac_cv_header_sys_wait_h=yes
15646 echo "$as_me: failed program was:" >&5
15647 sed 's/^/| /' conftest.$ac_ext >&5
15649 ac_cv_header_sys_wait_h=no
15652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15654 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
15655 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
15656 if test $ac_cv_header_sys_wait_h = yes; then
15658 cat >>confdefs.h <<\_ACEOF
15659 #define HAVE_SYS_WAIT_H 1
15664 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
15665 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
15666 if test "${ac_cv_header_time+set}" = set; then
15667 echo $ECHO_N "(cached) $ECHO_C" >&6
15669 cat >conftest.$ac_ext <<_ACEOF
15672 cat confdefs.h >>conftest.$ac_ext
15673 cat >>conftest.$ac_ext <<_ACEOF
15674 /* end confdefs.h. */
15675 #include <sys/types.h>
15676 #include <sys/time.h>
15682 if ((struct tm *) 0)
15688 rm -f conftest.$ac_objext
15689 if { (ac_try="$ac_compile"
15690 case "(($ac_try" in
15691 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15692 *) ac_try_echo
=$ac_try;;
15694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15695 (eval "$ac_compile") 2>conftest.er1
15697 grep -v '^ *+' conftest.er1
>conftest.err
15699 cat conftest.err
>&5
15700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15701 (exit $ac_status); } &&
15702 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15703 { (case "(($ac_try" in
15704 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15705 *) ac_try_echo=$ac_try;;
15707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15708 (eval "$ac_try") 2>&5
15710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15711 (exit $ac_status); }; } &&
15712 { ac_try='test -s conftest.$ac_objext'
15713 { (case "(($ac_try" in
15714 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15715 *) ac_try_echo
=$ac_try;;
15717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15718 (eval "$ac_try") 2>&5
15720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15721 (exit $ac_status); }; }; then
15722 ac_cv_header_time
=yes
15724 echo "$as_me: failed program was:" >&5
15725 sed 's/^/| /' conftest.
$ac_ext >&5
15727 ac_cv_header_time
=no
15730 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15732 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
15733 echo "${ECHO_T}$ac_cv_header_time" >&6; }
15734 if test $ac_cv_header_time = yes; then
15736 cat >>confdefs.h
<<\_ACEOF
15737 #define TIME_WITH_SYS_TIME 1
15749 for ac_header
in dlfcn.h execinfo.h fcntl.h inttypes.h limits.h link.h
15751 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15752 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15753 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15754 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15755 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15756 echo $ECHO_N "(cached) $ECHO_C" >&6
15758 ac_res
=`eval echo '${'$as_ac_Header'}'`
15759 { echo "$as_me:$LINENO: result: $ac_res" >&5
15760 echo "${ECHO_T}$ac_res" >&6; }
15762 # Is the header compilable?
15763 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15764 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15765 cat >conftest.
$ac_ext <<_ACEOF
15768 cat confdefs.h
>>conftest.
$ac_ext
15769 cat >>conftest.
$ac_ext <<_ACEOF
15770 /* end confdefs.h. */
15771 $ac_includes_default
15772 #include <$ac_header>
15774 rm -f conftest.
$ac_objext
15775 if { (ac_try
="$ac_compile"
15776 case "(($ac_try" in
15777 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15778 *) ac_try_echo=$ac_try;;
15780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15781 (eval "$ac_compile") 2>conftest.er1
15783 grep -v '^ *+' conftest.er1 >conftest.err
15785 cat conftest.err >&5
15786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15787 (exit $ac_status); } &&
15788 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15789 { (case "(($ac_try" in
15790 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15791 *) ac_try_echo
=$ac_try;;
15793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15794 (eval "$ac_try") 2>&5
15796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15797 (exit $ac_status); }; } &&
15798 { ac_try
='test -s conftest.$ac_objext'
15799 { (case "(($ac_try" in
15800 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15801 *) ac_try_echo=$ac_try;;
15803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15804 (eval "$ac_try") 2>&5
15806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15807 (exit $ac_status); }; }; then
15808 ac_header_compiler=yes
15810 echo "$as_me: failed program was:" >&5
15811 sed 's/^/| /' conftest.$ac_ext >&5
15813 ac_header_compiler=no
15816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15817 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15818 echo "${ECHO_T}$ac_header_compiler" >&6; }
15820 # Is the header present?
15821 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15822 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15823 cat >conftest.$ac_ext <<_ACEOF
15826 cat confdefs.h >>conftest.$ac_ext
15827 cat >>conftest.$ac_ext <<_ACEOF
15828 /* end confdefs.h. */
15829 #include <$ac_header>
15831 if { (ac_try="$ac_cpp conftest.$ac_ext"
15832 case "(($ac_try" in
15833 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15834 *) ac_try_echo
=$ac_try;;
15836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15837 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15839 grep -v '^ *+' conftest.er1
>conftest.err
15841 cat conftest.err
>&5
15842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15843 (exit $ac_status); } >/dev
/null
; then
15844 if test -s conftest.err
; then
15845 ac_cpp_err
=$ac_c_preproc_warn_flag
15846 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15853 if test -z "$ac_cpp_err"; then
15854 ac_header_preproc
=yes
15856 echo "$as_me: failed program was:" >&5
15857 sed 's/^/| /' conftest.
$ac_ext >&5
15859 ac_header_preproc
=no
15862 rm -f conftest.err conftest.
$ac_ext
15863 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15864 echo "${ECHO_T}$ac_header_preproc" >&6; }
15866 # So? What about this header?
15867 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15869 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15870 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15871 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15872 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15873 ac_header_preproc
=yes
15876 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15877 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15878 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15879 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15880 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15881 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15882 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15883 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15884 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15885 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15886 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15887 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15889 ## ----------------------------------- ##
15890 ## Report this to llvmbugs@cs.uiuc.edu ##
15891 ## ----------------------------------- ##
15893 ) |
sed "s/^/$as_me: WARNING: /" >&2
15896 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15897 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15898 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15899 echo $ECHO_N "(cached) $ECHO_C" >&6
15901 eval "$as_ac_Header=\$ac_header_preproc"
15903 ac_res
=`eval echo '${'$as_ac_Header'}'`
15904 { echo "$as_me:$LINENO: result: $ac_res" >&5
15905 echo "${ECHO_T}$ac_res" >&6; }
15908 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15909 cat >>confdefs.h
<<_ACEOF
15910 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15923 for ac_header
in malloc.h setjmp.h signal.h stdint.h termios.h unistd.h
15925 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15926 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15927 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15928 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15929 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15930 echo $ECHO_N "(cached) $ECHO_C" >&6
15932 ac_res
=`eval echo '${'$as_ac_Header'}'`
15933 { echo "$as_me:$LINENO: result: $ac_res" >&5
15934 echo "${ECHO_T}$ac_res" >&6; }
15936 # Is the header compilable?
15937 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15938 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15939 cat >conftest.
$ac_ext <<_ACEOF
15942 cat confdefs.h
>>conftest.
$ac_ext
15943 cat >>conftest.
$ac_ext <<_ACEOF
15944 /* end confdefs.h. */
15945 $ac_includes_default
15946 #include <$ac_header>
15948 rm -f conftest.
$ac_objext
15949 if { (ac_try
="$ac_compile"
15950 case "(($ac_try" in
15951 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15952 *) ac_try_echo=$ac_try;;
15954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15955 (eval "$ac_compile") 2>conftest.er1
15957 grep -v '^ *+' conftest.er1 >conftest.err
15959 cat conftest.err >&5
15960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15961 (exit $ac_status); } &&
15962 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15963 { (case "(($ac_try" in
15964 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15965 *) ac_try_echo
=$ac_try;;
15967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15968 (eval "$ac_try") 2>&5
15970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15971 (exit $ac_status); }; } &&
15972 { ac_try
='test -s conftest.$ac_objext'
15973 { (case "(($ac_try" in
15974 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15975 *) ac_try_echo=$ac_try;;
15977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15978 (eval "$ac_try") 2>&5
15980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15981 (exit $ac_status); }; }; then
15982 ac_header_compiler=yes
15984 echo "$as_me: failed program was:" >&5
15985 sed 's/^/| /' conftest.$ac_ext >&5
15987 ac_header_compiler=no
15990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15991 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15992 echo "${ECHO_T}$ac_header_compiler" >&6; }
15994 # Is the header present?
15995 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15996 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15997 cat >conftest.$ac_ext <<_ACEOF
16000 cat confdefs.h >>conftest.$ac_ext
16001 cat >>conftest.$ac_ext <<_ACEOF
16002 /* end confdefs.h. */
16003 #include <$ac_header>
16005 if { (ac_try="$ac_cpp conftest.$ac_ext"
16006 case "(($ac_try" in
16007 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16008 *) ac_try_echo
=$ac_try;;
16010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16011 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16013 grep -v '^ *+' conftest.er1
>conftest.err
16015 cat conftest.err
>&5
16016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16017 (exit $ac_status); } >/dev
/null
; then
16018 if test -s conftest.err
; then
16019 ac_cpp_err
=$ac_c_preproc_warn_flag
16020 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16027 if test -z "$ac_cpp_err"; then
16028 ac_header_preproc
=yes
16030 echo "$as_me: failed program was:" >&5
16031 sed 's/^/| /' conftest.
$ac_ext >&5
16033 ac_header_preproc
=no
16036 rm -f conftest.err conftest.
$ac_ext
16037 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16038 echo "${ECHO_T}$ac_header_preproc" >&6; }
16040 # So? What about this header?
16041 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16043 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16044 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16045 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16046 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16047 ac_header_preproc
=yes
16050 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16051 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16052 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16053 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16054 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16055 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16056 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16057 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16058 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16059 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16060 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16061 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16063 ## ----------------------------------- ##
16064 ## Report this to llvmbugs@cs.uiuc.edu ##
16065 ## ----------------------------------- ##
16067 ) |
sed "s/^/$as_me: WARNING: /" >&2
16070 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16071 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16072 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16073 echo $ECHO_N "(cached) $ECHO_C" >&6
16075 eval "$as_ac_Header=\$ac_header_preproc"
16077 ac_res
=`eval echo '${'$as_ac_Header'}'`
16078 { echo "$as_me:$LINENO: result: $ac_res" >&5
16079 echo "${ECHO_T}$ac_res" >&6; }
16082 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16083 cat >>confdefs.h
<<_ACEOF
16084 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16093 for ac_header
in utime.h windows.h
16095 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16096 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16097 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16099 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16100 echo $ECHO_N "(cached) $ECHO_C" >&6
16102 ac_res
=`eval echo '${'$as_ac_Header'}'`
16103 { echo "$as_me:$LINENO: result: $ac_res" >&5
16104 echo "${ECHO_T}$ac_res" >&6; }
16106 # Is the header compilable?
16107 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
16108 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16109 cat >conftest.
$ac_ext <<_ACEOF
16112 cat confdefs.h
>>conftest.
$ac_ext
16113 cat >>conftest.
$ac_ext <<_ACEOF
16114 /* end confdefs.h. */
16115 $ac_includes_default
16116 #include <$ac_header>
16118 rm -f conftest.
$ac_objext
16119 if { (ac_try
="$ac_compile"
16120 case "(($ac_try" in
16121 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16122 *) ac_try_echo=$ac_try;;
16124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16125 (eval "$ac_compile") 2>conftest.er1
16127 grep -v '^ *+' conftest.er1 >conftest.err
16129 cat conftest.err >&5
16130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16131 (exit $ac_status); } &&
16132 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16133 { (case "(($ac_try" in
16134 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16135 *) ac_try_echo
=$ac_try;;
16137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16138 (eval "$ac_try") 2>&5
16140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16141 (exit $ac_status); }; } &&
16142 { ac_try
='test -s conftest.$ac_objext'
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_try") 2>&5
16150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16151 (exit $ac_status); }; }; then
16152 ac_header_compiler=yes
16154 echo "$as_me: failed program was:" >&5
16155 sed 's/^/| /' conftest.$ac_ext >&5
16157 ac_header_compiler=no
16160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16161 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16162 echo "${ECHO_T}$ac_header_compiler" >&6; }
16164 # Is the header present?
16165 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
16166 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16167 cat >conftest.$ac_ext <<_ACEOF
16170 cat confdefs.h >>conftest.$ac_ext
16171 cat >>conftest.$ac_ext <<_ACEOF
16172 /* end confdefs.h. */
16173 #include <$ac_header>
16175 if { (ac_try="$ac_cpp conftest.$ac_ext"
16176 case "(($ac_try" in
16177 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16178 *) ac_try_echo
=$ac_try;;
16180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16181 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16183 grep -v '^ *+' conftest.er1
>conftest.err
16185 cat conftest.err
>&5
16186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16187 (exit $ac_status); } >/dev
/null
; then
16188 if test -s conftest.err
; then
16189 ac_cpp_err
=$ac_c_preproc_warn_flag
16190 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16197 if test -z "$ac_cpp_err"; then
16198 ac_header_preproc
=yes
16200 echo "$as_me: failed program was:" >&5
16201 sed 's/^/| /' conftest.
$ac_ext >&5
16203 ac_header_preproc
=no
16206 rm -f conftest.err conftest.
$ac_ext
16207 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16208 echo "${ECHO_T}$ac_header_preproc" >&6; }
16210 # So? What about this header?
16211 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16213 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16214 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16215 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16216 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16217 ac_header_preproc
=yes
16220 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16221 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16222 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16223 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16224 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16225 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16226 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16227 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16228 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16229 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16230 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16231 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16233 ## ----------------------------------- ##
16234 ## Report this to llvmbugs@cs.uiuc.edu ##
16235 ## ----------------------------------- ##
16237 ) |
sed "s/^/$as_me: WARNING: /" >&2
16240 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16242 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16243 echo $ECHO_N "(cached) $ECHO_C" >&6
16245 eval "$as_ac_Header=\$ac_header_preproc"
16247 ac_res
=`eval echo '${'$as_ac_Header'}'`
16248 { echo "$as_me:$LINENO: result: $ac_res" >&5
16249 echo "${ECHO_T}$ac_res" >&6; }
16252 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16253 cat >>confdefs.h
<<_ACEOF
16254 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16266 for ac_header
in sys
/mman.h sys
/param.h sys
/resource.h sys
/time.h sys
/uio.h
16268 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16269 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16270 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16272 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16273 echo $ECHO_N "(cached) $ECHO_C" >&6
16275 ac_res
=`eval echo '${'$as_ac_Header'}'`
16276 { echo "$as_me:$LINENO: result: $ac_res" >&5
16277 echo "${ECHO_T}$ac_res" >&6; }
16279 # Is the header compilable?
16280 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
16281 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16282 cat >conftest.
$ac_ext <<_ACEOF
16285 cat confdefs.h
>>conftest.
$ac_ext
16286 cat >>conftest.
$ac_ext <<_ACEOF
16287 /* end confdefs.h. */
16288 $ac_includes_default
16289 #include <$ac_header>
16291 rm -f conftest.
$ac_objext
16292 if { (ac_try
="$ac_compile"
16293 case "(($ac_try" in
16294 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16295 *) ac_try_echo=$ac_try;;
16297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16298 (eval "$ac_compile") 2>conftest.er1
16300 grep -v '^ *+' conftest.er1 >conftest.err
16302 cat conftest.err >&5
16303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16304 (exit $ac_status); } &&
16305 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16306 { (case "(($ac_try" in
16307 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16308 *) ac_try_echo
=$ac_try;;
16310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16311 (eval "$ac_try") 2>&5
16313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16314 (exit $ac_status); }; } &&
16315 { ac_try
='test -s conftest.$ac_objext'
16316 { (case "(($ac_try" in
16317 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16318 *) ac_try_echo=$ac_try;;
16320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16321 (eval "$ac_try") 2>&5
16323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16324 (exit $ac_status); }; }; then
16325 ac_header_compiler=yes
16327 echo "$as_me: failed program was:" >&5
16328 sed 's/^/| /' conftest.$ac_ext >&5
16330 ac_header_compiler=no
16333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16334 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16335 echo "${ECHO_T}$ac_header_compiler" >&6; }
16337 # Is the header present?
16338 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
16339 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16340 cat >conftest.$ac_ext <<_ACEOF
16343 cat confdefs.h >>conftest.$ac_ext
16344 cat >>conftest.$ac_ext <<_ACEOF
16345 /* end confdefs.h. */
16346 #include <$ac_header>
16348 if { (ac_try="$ac_cpp conftest.$ac_ext"
16349 case "(($ac_try" in
16350 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16351 *) ac_try_echo
=$ac_try;;
16353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16354 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16356 grep -v '^ *+' conftest.er1
>conftest.err
16358 cat conftest.err
>&5
16359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16360 (exit $ac_status); } >/dev
/null
; then
16361 if test -s conftest.err
; then
16362 ac_cpp_err
=$ac_c_preproc_warn_flag
16363 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16370 if test -z "$ac_cpp_err"; then
16371 ac_header_preproc
=yes
16373 echo "$as_me: failed program was:" >&5
16374 sed 's/^/| /' conftest.
$ac_ext >&5
16376 ac_header_preproc
=no
16379 rm -f conftest.err conftest.
$ac_ext
16380 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16381 echo "${ECHO_T}$ac_header_preproc" >&6; }
16383 # So? What about this header?
16384 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16386 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16387 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16388 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16389 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16390 ac_header_preproc
=yes
16393 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16394 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16395 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16396 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16397 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16398 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16399 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16400 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16401 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16402 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16403 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16404 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16406 ## ----------------------------------- ##
16407 ## Report this to llvmbugs@cs.uiuc.edu ##
16408 ## ----------------------------------- ##
16410 ) |
sed "s/^/$as_me: WARNING: /" >&2
16413 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16414 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16415 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16416 echo $ECHO_N "(cached) $ECHO_C" >&6
16418 eval "$as_ac_Header=\$ac_header_preproc"
16420 ac_res
=`eval echo '${'$as_ac_Header'}'`
16421 { echo "$as_me:$LINENO: result: $ac_res" >&5
16422 echo "${ECHO_T}$ac_res" >&6; }
16425 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16426 cat >>confdefs.h
<<_ACEOF
16427 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16438 for ac_header
in sys
/types.h sys
/ioctl.h malloc
/malloc.h mach
/mach.h
16440 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16441 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16442 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16444 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16445 echo $ECHO_N "(cached) $ECHO_C" >&6
16447 ac_res
=`eval echo '${'$as_ac_Header'}'`
16448 { echo "$as_me:$LINENO: result: $ac_res" >&5
16449 echo "${ECHO_T}$ac_res" >&6; }
16451 # Is the header compilable?
16452 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
16453 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16454 cat >conftest.
$ac_ext <<_ACEOF
16457 cat confdefs.h
>>conftest.
$ac_ext
16458 cat >>conftest.
$ac_ext <<_ACEOF
16459 /* end confdefs.h. */
16460 $ac_includes_default
16461 #include <$ac_header>
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_header_compiler=yes
16499 echo "$as_me: failed program was:" >&5
16500 sed 's/^/| /' conftest.$ac_ext >&5
16502 ac_header_compiler=no
16505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16506 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16507 echo "${ECHO_T}$ac_header_compiler" >&6; }
16509 # Is the header present?
16510 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
16511 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16512 cat >conftest.$ac_ext <<_ACEOF
16515 cat confdefs.h >>conftest.$ac_ext
16516 cat >>conftest.$ac_ext <<_ACEOF
16517 /* end confdefs.h. */
16518 #include <$ac_header>
16520 if { (ac_try="$ac_cpp conftest.$ac_ext"
16521 case "(($ac_try" in
16522 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16523 *) ac_try_echo
=$ac_try;;
16525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16526 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16528 grep -v '^ *+' conftest.er1
>conftest.err
16530 cat conftest.err
>&5
16531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16532 (exit $ac_status); } >/dev
/null
; then
16533 if test -s conftest.err
; then
16534 ac_cpp_err
=$ac_c_preproc_warn_flag
16535 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16542 if test -z "$ac_cpp_err"; then
16543 ac_header_preproc
=yes
16545 echo "$as_me: failed program was:" >&5
16546 sed 's/^/| /' conftest.
$ac_ext >&5
16548 ac_header_preproc
=no
16551 rm -f conftest.err conftest.
$ac_ext
16552 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16553 echo "${ECHO_T}$ac_header_preproc" >&6; }
16555 # So? What about this header?
16556 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16558 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16559 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16560 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16561 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16562 ac_header_preproc
=yes
16565 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16566 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16567 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16568 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16569 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16570 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16571 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16572 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16573 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16574 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16575 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16576 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16578 ## ----------------------------------- ##
16579 ## Report this to llvmbugs@cs.uiuc.edu ##
16580 ## ----------------------------------- ##
16582 ) |
sed "s/^/$as_me: WARNING: /" >&2
16585 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16586 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16587 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16588 echo $ECHO_N "(cached) $ECHO_C" >&6
16590 eval "$as_ac_Header=\$ac_header_preproc"
16592 ac_res
=`eval echo '${'$as_ac_Header'}'`
16593 { echo "$as_me:$LINENO: result: $ac_res" >&5
16594 echo "${ECHO_T}$ac_res" >&6; }
16597 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16598 cat >>confdefs.h
<<_ACEOF
16599 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16607 for ac_header
in valgrind
/valgrind.h
16609 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16610 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16611 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16613 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16614 echo $ECHO_N "(cached) $ECHO_C" >&6
16616 ac_res
=`eval echo '${'$as_ac_Header'}'`
16617 { echo "$as_me:$LINENO: result: $ac_res" >&5
16618 echo "${ECHO_T}$ac_res" >&6; }
16620 # Is the header compilable?
16621 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
16622 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16623 cat >conftest.
$ac_ext <<_ACEOF
16626 cat confdefs.h
>>conftest.
$ac_ext
16627 cat >>conftest.
$ac_ext <<_ACEOF
16628 /* end confdefs.h. */
16629 $ac_includes_default
16630 #include <$ac_header>
16632 rm -f conftest.
$ac_objext
16633 if { (ac_try
="$ac_compile"
16634 case "(($ac_try" in
16635 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16636 *) ac_try_echo=$ac_try;;
16638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16639 (eval "$ac_compile") 2>conftest.er1
16641 grep -v '^ *+' conftest.er1 >conftest.err
16643 cat conftest.err >&5
16644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16645 (exit $ac_status); } &&
16646 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16647 { (case "(($ac_try" in
16648 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16649 *) ac_try_echo
=$ac_try;;
16651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16652 (eval "$ac_try") 2>&5
16654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16655 (exit $ac_status); }; } &&
16656 { ac_try
='test -s conftest.$ac_objext'
16657 { (case "(($ac_try" in
16658 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16659 *) ac_try_echo=$ac_try;;
16661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16662 (eval "$ac_try") 2>&5
16664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16665 (exit $ac_status); }; }; then
16666 ac_header_compiler=yes
16668 echo "$as_me: failed program was:" >&5
16669 sed 's/^/| /' conftest.$ac_ext >&5
16671 ac_header_compiler=no
16674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16675 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16676 echo "${ECHO_T}$ac_header_compiler" >&6; }
16678 # Is the header present?
16679 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
16680 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16681 cat >conftest.$ac_ext <<_ACEOF
16684 cat confdefs.h >>conftest.$ac_ext
16685 cat >>conftest.$ac_ext <<_ACEOF
16686 /* end confdefs.h. */
16687 #include <$ac_header>
16689 if { (ac_try="$ac_cpp conftest.$ac_ext"
16690 case "(($ac_try" in
16691 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16692 *) ac_try_echo
=$ac_try;;
16694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16695 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16697 grep -v '^ *+' conftest.er1
>conftest.err
16699 cat conftest.err
>&5
16700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16701 (exit $ac_status); } >/dev
/null
; then
16702 if test -s conftest.err
; then
16703 ac_cpp_err
=$ac_c_preproc_warn_flag
16704 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16711 if test -z "$ac_cpp_err"; then
16712 ac_header_preproc
=yes
16714 echo "$as_me: failed program was:" >&5
16715 sed 's/^/| /' conftest.
$ac_ext >&5
16717 ac_header_preproc
=no
16720 rm -f conftest.err conftest.
$ac_ext
16721 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16722 echo "${ECHO_T}$ac_header_preproc" >&6; }
16724 # So? What about this header?
16725 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16727 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16728 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16729 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16730 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16731 ac_header_preproc
=yes
16734 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16735 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16736 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16737 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16738 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16739 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16740 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16741 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16742 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16743 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16744 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16745 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16747 ## ----------------------------------- ##
16748 ## Report this to llvmbugs@cs.uiuc.edu ##
16749 ## ----------------------------------- ##
16751 ) |
sed "s/^/$as_me: WARNING: /" >&2
16754 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16755 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16756 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16757 echo $ECHO_N "(cached) $ECHO_C" >&6
16759 eval "$as_ac_Header=\$ac_header_preproc"
16761 ac_res
=`eval echo '${'$as_ac_Header'}'`
16762 { echo "$as_me:$LINENO: result: $ac_res" >&5
16763 echo "${ECHO_T}$ac_res" >&6; }
16766 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16767 cat >>confdefs.h
<<_ACEOF
16768 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16776 for ac_header
in fenv.h
16778 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16779 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16780 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16782 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16783 echo $ECHO_N "(cached) $ECHO_C" >&6
16785 ac_res
=`eval echo '${'$as_ac_Header'}'`
16786 { echo "$as_me:$LINENO: result: $ac_res" >&5
16787 echo "${ECHO_T}$ac_res" >&6; }
16789 # Is the header compilable?
16790 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
16791 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16792 cat >conftest.
$ac_ext <<_ACEOF
16795 cat confdefs.h
>>conftest.
$ac_ext
16796 cat >>conftest.
$ac_ext <<_ACEOF
16797 /* end confdefs.h. */
16798 $ac_includes_default
16799 #include <$ac_header>
16801 rm -f conftest.
$ac_objext
16802 if { (ac_try
="$ac_compile"
16803 case "(($ac_try" in
16804 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16805 *) ac_try_echo=$ac_try;;
16807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16808 (eval "$ac_compile") 2>conftest.er1
16810 grep -v '^ *+' conftest.er1 >conftest.err
16812 cat conftest.err >&5
16813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16814 (exit $ac_status); } &&
16815 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16816 { (case "(($ac_try" in
16817 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16818 *) ac_try_echo
=$ac_try;;
16820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16821 (eval "$ac_try") 2>&5
16823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16824 (exit $ac_status); }; } &&
16825 { ac_try
='test -s conftest.$ac_objext'
16826 { (case "(($ac_try" in
16827 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16828 *) ac_try_echo=$ac_try;;
16830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16831 (eval "$ac_try") 2>&5
16833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16834 (exit $ac_status); }; }; then
16835 ac_header_compiler=yes
16837 echo "$as_me: failed program was:" >&5
16838 sed 's/^/| /' conftest.$ac_ext >&5
16840 ac_header_compiler=no
16843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16844 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16845 echo "${ECHO_T}$ac_header_compiler" >&6; }
16847 # Is the header present?
16848 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
16849 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16850 cat >conftest.$ac_ext <<_ACEOF
16853 cat confdefs.h >>conftest.$ac_ext
16854 cat >>conftest.$ac_ext <<_ACEOF
16855 /* end confdefs.h. */
16856 #include <$ac_header>
16858 if { (ac_try="$ac_cpp conftest.$ac_ext"
16859 case "(($ac_try" in
16860 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16861 *) ac_try_echo
=$ac_try;;
16863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16864 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16866 grep -v '^ *+' conftest.er1
>conftest.err
16868 cat conftest.err
>&5
16869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16870 (exit $ac_status); } >/dev
/null
; then
16871 if test -s conftest.err
; then
16872 ac_cpp_err
=$ac_c_preproc_warn_flag
16873 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16880 if test -z "$ac_cpp_err"; then
16881 ac_header_preproc
=yes
16883 echo "$as_me: failed program was:" >&5
16884 sed 's/^/| /' conftest.
$ac_ext >&5
16886 ac_header_preproc
=no
16889 rm -f conftest.err conftest.
$ac_ext
16890 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16891 echo "${ECHO_T}$ac_header_preproc" >&6; }
16893 # So? What about this header?
16894 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16896 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16897 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16898 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16899 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16900 ac_header_preproc
=yes
16903 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16904 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16905 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16906 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16907 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16908 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16909 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16910 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16911 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16912 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16913 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16914 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16916 ## ----------------------------------- ##
16917 ## Report this to llvmbugs@cs.uiuc.edu ##
16918 ## ----------------------------------- ##
16920 ) |
sed "s/^/$as_me: WARNING: /" >&2
16923 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16924 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16925 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16926 echo $ECHO_N "(cached) $ECHO_C" >&6
16928 eval "$as_ac_Header=\$ac_header_preproc"
16930 ac_res
=`eval echo '${'$as_ac_Header'}'`
16931 { echo "$as_me:$LINENO: result: $ac_res" >&5
16932 echo "${ECHO_T}$ac_res" >&6; }
16935 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16936 cat >>confdefs.h
<<_ACEOF
16937 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16944 if test "$ENABLE_THREADS" -eq 1 && test "$ENABLE_PTHREADS" -eq 1 ; then
16946 for ac_header
in pthread.h
16948 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16949 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16950 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16952 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16953 echo $ECHO_N "(cached) $ECHO_C" >&6
16955 ac_res
=`eval echo '${'$as_ac_Header'}'`
16956 { echo "$as_me:$LINENO: result: $ac_res" >&5
16957 echo "${ECHO_T}$ac_res" >&6; }
16959 # Is the header compilable?
16960 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
16961 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16962 cat >conftest.
$ac_ext <<_ACEOF
16965 cat confdefs.h
>>conftest.
$ac_ext
16966 cat >>conftest.
$ac_ext <<_ACEOF
16967 /* end confdefs.h. */
16968 $ac_includes_default
16969 #include <$ac_header>
16971 rm -f conftest.
$ac_objext
16972 if { (ac_try
="$ac_compile"
16973 case "(($ac_try" in
16974 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16975 *) ac_try_echo=$ac_try;;
16977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16978 (eval "$ac_compile") 2>conftest.er1
16980 grep -v '^ *+' conftest.er1 >conftest.err
16982 cat conftest.err >&5
16983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16984 (exit $ac_status); } &&
16985 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16986 { (case "(($ac_try" in
16987 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16988 *) ac_try_echo
=$ac_try;;
16990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16991 (eval "$ac_try") 2>&5
16993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16994 (exit $ac_status); }; } &&
16995 { ac_try
='test -s conftest.$ac_objext'
16996 { (case "(($ac_try" in
16997 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16998 *) ac_try_echo=$ac_try;;
17000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17001 (eval "$ac_try") 2>&5
17003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17004 (exit $ac_status); }; }; then
17005 ac_header_compiler=yes
17007 echo "$as_me: failed program was:" >&5
17008 sed 's/^/| /' conftest.$ac_ext >&5
17010 ac_header_compiler=no
17013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17014 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17015 echo "${ECHO_T}$ac_header_compiler" >&6; }
17017 # Is the header present?
17018 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
17019 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
17020 cat >conftest.$ac_ext <<_ACEOF
17023 cat confdefs.h >>conftest.$ac_ext
17024 cat >>conftest.$ac_ext <<_ACEOF
17025 /* end confdefs.h. */
17026 #include <$ac_header>
17028 if { (ac_try="$ac_cpp conftest.$ac_ext"
17029 case "(($ac_try" in
17030 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17031 *) ac_try_echo
=$ac_try;;
17033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17034 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17036 grep -v '^ *+' conftest.er1
>conftest.err
17038 cat conftest.err
>&5
17039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17040 (exit $ac_status); } >/dev
/null
; then
17041 if test -s conftest.err
; then
17042 ac_cpp_err
=$ac_c_preproc_warn_flag
17043 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
17050 if test -z "$ac_cpp_err"; then
17051 ac_header_preproc
=yes
17053 echo "$as_me: failed program was:" >&5
17054 sed 's/^/| /' conftest.
$ac_ext >&5
17056 ac_header_preproc
=no
17059 rm -f conftest.err conftest.
$ac_ext
17060 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17061 echo "${ECHO_T}$ac_header_preproc" >&6; }
17063 # So? What about this header?
17064 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17066 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17067 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17069 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17070 ac_header_preproc
=yes
17073 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17074 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17075 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17076 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17077 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17078 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17079 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17080 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17081 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17082 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17083 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17084 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17086 ## ----------------------------------- ##
17087 ## Report this to llvmbugs@cs.uiuc.edu ##
17088 ## ----------------------------------- ##
17090 ) |
sed "s/^/$as_me: WARNING: /" >&2
17093 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17095 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17096 echo $ECHO_N "(cached) $ECHO_C" >&6
17098 eval "$as_ac_Header=\$ac_header_preproc"
17100 ac_res
=`eval echo '${'$as_ac_Header'}'`
17101 { echo "$as_me:$LINENO: result: $ac_res" >&5
17102 echo "${ECHO_T}$ac_res" >&6; }
17105 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17106 cat >>confdefs.h
<<_ACEOF
17107 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17123 if test "$llvm_cv_enable_libffi" = "yes" ; then
17126 for ac_header
in ffi.h ffi
/ffi.h
17128 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17129 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17130 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17131 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17132 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17133 echo $ECHO_N "(cached) $ECHO_C" >&6
17135 ac_res
=`eval echo '${'$as_ac_Header'}'`
17136 { echo "$as_me:$LINENO: result: $ac_res" >&5
17137 echo "${ECHO_T}$ac_res" >&6; }
17139 # Is the header compilable?
17140 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
17141 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
17142 cat >conftest.
$ac_ext <<_ACEOF
17145 cat confdefs.h
>>conftest.
$ac_ext
17146 cat >>conftest.
$ac_ext <<_ACEOF
17147 /* end confdefs.h. */
17148 $ac_includes_default
17149 #include <$ac_header>
17151 rm -f conftest.
$ac_objext
17152 if { (ac_try
="$ac_compile"
17153 case "(($ac_try" in
17154 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17155 *) ac_try_echo=$ac_try;;
17157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17158 (eval "$ac_compile") 2>conftest.er1
17160 grep -v '^ *+' conftest.er1 >conftest.err
17162 cat conftest.err >&5
17163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17164 (exit $ac_status); } &&
17165 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17166 { (case "(($ac_try" in
17167 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17168 *) ac_try_echo
=$ac_try;;
17170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17171 (eval "$ac_try") 2>&5
17173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17174 (exit $ac_status); }; } &&
17175 { ac_try
='test -s conftest.$ac_objext'
17176 { (case "(($ac_try" in
17177 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17178 *) ac_try_echo=$ac_try;;
17180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17181 (eval "$ac_try") 2>&5
17183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17184 (exit $ac_status); }; }; then
17185 ac_header_compiler=yes
17187 echo "$as_me: failed program was:" >&5
17188 sed 's/^/| /' conftest.$ac_ext >&5
17190 ac_header_compiler=no
17193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17194 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17195 echo "${ECHO_T}$ac_header_compiler" >&6; }
17197 # Is the header present?
17198 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
17199 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
17200 cat >conftest.$ac_ext <<_ACEOF
17203 cat confdefs.h >>conftest.$ac_ext
17204 cat >>conftest.$ac_ext <<_ACEOF
17205 /* end confdefs.h. */
17206 #include <$ac_header>
17208 if { (ac_try="$ac_cpp conftest.$ac_ext"
17209 case "(($ac_try" in
17210 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17211 *) ac_try_echo
=$ac_try;;
17213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17214 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17216 grep -v '^ *+' conftest.er1
>conftest.err
17218 cat conftest.err
>&5
17219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17220 (exit $ac_status); } >/dev
/null
; then
17221 if test -s conftest.err
; then
17222 ac_cpp_err
=$ac_c_preproc_warn_flag
17223 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
17230 if test -z "$ac_cpp_err"; then
17231 ac_header_preproc
=yes
17233 echo "$as_me: failed program was:" >&5
17234 sed 's/^/| /' conftest.
$ac_ext >&5
17236 ac_header_preproc
=no
17239 rm -f conftest.err conftest.
$ac_ext
17240 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17241 echo "${ECHO_T}$ac_header_preproc" >&6; }
17243 # So? What about this header?
17244 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17246 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17247 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17248 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17249 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17250 ac_header_preproc
=yes
17253 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17254 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17255 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17256 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17257 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17258 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17259 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17260 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17261 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17262 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17263 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17264 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17266 ## ----------------------------------- ##
17267 ## Report this to llvmbugs@cs.uiuc.edu ##
17268 ## ----------------------------------- ##
17270 ) |
sed "s/^/$as_me: WARNING: /" >&2
17273 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17274 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17275 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17276 echo $ECHO_N "(cached) $ECHO_C" >&6
17278 eval "$as_ac_Header=\$ac_header_preproc"
17280 ac_res
=`eval echo '${'$as_ac_Header'}'`
17281 { echo "$as_me:$LINENO: result: $ac_res" >&5
17282 echo "${ECHO_T}$ac_res" >&6; }
17285 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17286 cat >>confdefs.h
<<_ACEOF
17287 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17297 for ac_header
in CrashReporterClient.h
17299 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17300 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17301 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17302 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17303 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17304 echo $ECHO_N "(cached) $ECHO_C" >&6
17306 ac_res
=`eval echo '${'$as_ac_Header'}'`
17307 { echo "$as_me:$LINENO: result: $ac_res" >&5
17308 echo "${ECHO_T}$ac_res" >&6; }
17310 # Is the header compilable?
17311 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
17312 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
17313 cat >conftest.
$ac_ext <<_ACEOF
17316 cat confdefs.h
>>conftest.
$ac_ext
17317 cat >>conftest.
$ac_ext <<_ACEOF
17318 /* end confdefs.h. */
17319 $ac_includes_default
17320 #include <$ac_header>
17322 rm -f conftest.
$ac_objext
17323 if { (ac_try
="$ac_compile"
17324 case "(($ac_try" in
17325 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17326 *) ac_try_echo=$ac_try;;
17328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17329 (eval "$ac_compile") 2>conftest.er1
17331 grep -v '^ *+' conftest.er1 >conftest.err
17333 cat conftest.err >&5
17334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17335 (exit $ac_status); } &&
17336 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17337 { (case "(($ac_try" in
17338 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17339 *) ac_try_echo
=$ac_try;;
17341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17342 (eval "$ac_try") 2>&5
17344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17345 (exit $ac_status); }; } &&
17346 { ac_try
='test -s conftest.$ac_objext'
17347 { (case "(($ac_try" in
17348 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17349 *) ac_try_echo=$ac_try;;
17351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17352 (eval "$ac_try") 2>&5
17354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17355 (exit $ac_status); }; }; then
17356 ac_header_compiler=yes
17358 echo "$as_me: failed program was:" >&5
17359 sed 's/^/| /' conftest.$ac_ext >&5
17361 ac_header_compiler=no
17364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17365 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17366 echo "${ECHO_T}$ac_header_compiler" >&6; }
17368 # Is the header present?
17369 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
17370 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
17371 cat >conftest.$ac_ext <<_ACEOF
17374 cat confdefs.h >>conftest.$ac_ext
17375 cat >>conftest.$ac_ext <<_ACEOF
17376 /* end confdefs.h. */
17377 #include <$ac_header>
17379 if { (ac_try="$ac_cpp conftest.$ac_ext"
17380 case "(($ac_try" in
17381 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17382 *) ac_try_echo
=$ac_try;;
17384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17385 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17387 grep -v '^ *+' conftest.er1
>conftest.err
17389 cat conftest.err
>&5
17390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17391 (exit $ac_status); } >/dev
/null
; then
17392 if test -s conftest.err
; then
17393 ac_cpp_err
=$ac_c_preproc_warn_flag
17394 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
17401 if test -z "$ac_cpp_err"; then
17402 ac_header_preproc
=yes
17404 echo "$as_me: failed program was:" >&5
17405 sed 's/^/| /' conftest.
$ac_ext >&5
17407 ac_header_preproc
=no
17410 rm -f conftest.err conftest.
$ac_ext
17411 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17412 echo "${ECHO_T}$ac_header_preproc" >&6; }
17414 # So? What about this header?
17415 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17417 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17418 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17419 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17420 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17421 ac_header_preproc
=yes
17424 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17425 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17426 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17427 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17428 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17429 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17430 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17431 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17432 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17433 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17434 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17435 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17437 ## ----------------------------------- ##
17438 ## Report this to llvmbugs@cs.uiuc.edu ##
17439 ## ----------------------------------- ##
17441 ) |
sed "s/^/$as_me: WARNING: /" >&2
17444 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17445 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17446 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17447 echo $ECHO_N "(cached) $ECHO_C" >&6
17449 eval "$as_ac_Header=\$ac_header_preproc"
17451 ac_res
=`eval echo '${'$as_ac_Header'}'`
17452 { echo "$as_me:$LINENO: result: $ac_res" >&5
17453 echo "${ECHO_T}$ac_res" >&6; }
17456 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17457 cat >>confdefs.h
<<_ACEOF
17458 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17466 { echo "$as_me:$LINENO: checking __crashreporter_info__" >&5
17467 echo $ECHO_N "checking __crashreporter_info__... $ECHO_C" >&6; }
17468 cat >conftest.
$ac_ext <<_ACEOF
17471 cat confdefs.h
>>conftest.
$ac_ext
17472 cat >>conftest.
$ac_ext <<_ACEOF
17473 /* end confdefs.h. */
17474 extern const char *__crashreporter_info__;
17476 __crashreporter_info__ = "test";
17481 rm -f conftest.
$ac_objext conftest
$ac_exeext
17482 if { (ac_try
="$ac_link"
17483 case "(($ac_try" in
17484 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17485 *) ac_try_echo=$ac_try;;
17487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17488 (eval "$ac_link") 2>conftest.er1
17490 grep -v '^ *+' conftest.er1 >conftest.err
17492 cat conftest.err >&5
17493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17494 (exit $ac_status); } &&
17495 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17496 { (case "(($ac_try" in
17497 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17498 *) ac_try_echo
=$ac_try;;
17500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17501 (eval "$ac_try") 2>&5
17503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17504 (exit $ac_status); }; } &&
17505 { ac_try
='test -s conftest$ac_exeext'
17506 { (case "(($ac_try" in
17507 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17508 *) ac_try_echo=$ac_try;;
17510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17511 (eval "$ac_try") 2>&5
17513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17514 (exit $ac_status); }; }; then
17515 { echo "$as_me:$LINENO: result: yes" >&5
17516 echo "${ECHO_T}yes" >&6; }
17518 cat >>confdefs.h <<\_ACEOF
17519 #define HAVE_CRASHREPORTER_INFO 1
17523 echo "$as_me: failed program was:" >&5
17524 sed 's/^/| /' conftest.$ac_ext >&5
17526 { echo "$as_me:$LINENO: result: no" >&5
17527 echo "${ECHO_T}no" >&6; }
17529 cat >>confdefs.h <<\_ACEOF
17530 #define HAVE_CRASHREPORTER_INFO 0
17535 rm -f core conftest.err conftest.$ac_objext \
17536 conftest$ac_exeext conftest.$ac_ext
17541 { echo "$as_me:$LINENO: checking for HUGE_VAL sanity" >&5
17542 echo $ECHO_N "checking for HUGE_VAL sanity... $ECHO_C" >&6; }
17543 if test "${ac_cv_huge_val_sanity+set}" = set; then
17544 echo $ECHO_N "(cached) $ECHO_C" >&6
17548 ac_cpp='$CXXCPP $CPPFLAGS'
17549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17553 ac_save_CXXFLAGS=$CXXFLAGS
17555 if test "$cross_compiling" = yes; then
17556 ac_cv_huge_val_sanity=yes
17558 cat >conftest.$ac_ext <<_ACEOF
17561 cat confdefs.h >>conftest.$ac_ext
17562 cat >>conftest.$ac_ext <<_ACEOF
17563 /* end confdefs.h. */
17568 double x = HUGE_VAL; return x != x;
17573 rm -f conftest$ac_exeext
17574 if { (ac_try="$ac_link"
17575 case "(($ac_try" in
17576 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17577 *) ac_try_echo
=$ac_try;;
17579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17580 (eval "$ac_link") 2>&5
17582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17583 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17584 { (case "(($ac_try" in
17585 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17586 *) ac_try_echo=$ac_try;;
17588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17589 (eval "$ac_try") 2>&5
17591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17592 (exit $ac_status); }; }; then
17593 ac_cv_huge_val_sanity=yes
17595 echo "$as_me: program exited with status $ac_status" >&5
17596 echo "$as_me: failed program was:" >&5
17597 sed 's/^/| /' conftest.$ac_ext >&5
17599 ( exit $ac_status )
17600 ac_cv_huge_val_sanity=no
17602 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17606 CXXFLAGS=$ac_save_CXXFLAGS
17608 ac_cpp='$CPP $CPPFLAGS'
17609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17615 { echo "$as_me:$LINENO: result: $ac_cv_huge_val_sanity" >&5
17616 echo "${ECHO_T}$ac_cv_huge_val_sanity" >&6; }
17617 HUGE_VAL_SANITY=$ac_cv_huge_val_sanity
17620 { echo "$as_me:$LINENO: checking for pid_t" >&5
17621 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17622 if test "${ac_cv_type_pid_t+set}" = set; then
17623 echo $ECHO_N "(cached) $ECHO_C" >&6
17625 cat >conftest.$ac_ext <<_ACEOF
17628 cat confdefs.h >>conftest.$ac_ext
17629 cat >>conftest.$ac_ext <<_ACEOF
17630 /* end confdefs.h. */
17631 $ac_includes_default
17632 typedef pid_t ac__type_new_;
17636 if ((ac__type_new_ *) 0)
17638 if (sizeof (ac__type_new_))
17644 rm -f conftest.$ac_objext
17645 if { (ac_try="$ac_compile"
17646 case "(($ac_try" in
17647 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17648 *) ac_try_echo
=$ac_try;;
17650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17651 (eval "$ac_compile") 2>conftest.er1
17653 grep -v '^ *+' conftest.er1
>conftest.err
17655 cat conftest.err
>&5
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); } &&
17658 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17659 { (case "(($ac_try" in
17660 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17661 *) ac_try_echo=$ac_try;;
17663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17664 (eval "$ac_try") 2>&5
17666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17667 (exit $ac_status); }; } &&
17668 { ac_try='test -s conftest.$ac_objext'
17669 { (case "(($ac_try" in
17670 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17671 *) ac_try_echo
=$ac_try;;
17673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17674 (eval "$ac_try") 2>&5
17676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17677 (exit $ac_status); }; }; then
17678 ac_cv_type_pid_t
=yes
17680 echo "$as_me: failed program was:" >&5
17681 sed 's/^/| /' conftest.
$ac_ext >&5
17683 ac_cv_type_pid_t
=no
17686 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17688 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17689 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17690 if test $ac_cv_type_pid_t = yes; then
17694 cat >>confdefs.h
<<_ACEOF
17700 { echo "$as_me:$LINENO: checking for size_t" >&5
17701 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17702 if test "${ac_cv_type_size_t+set}" = set; then
17703 echo $ECHO_N "(cached) $ECHO_C" >&6
17705 cat >conftest.
$ac_ext <<_ACEOF
17708 cat confdefs.h
>>conftest.
$ac_ext
17709 cat >>conftest.
$ac_ext <<_ACEOF
17710 /* end confdefs.h. */
17711 $ac_includes_default
17712 typedef size_t ac__type_new_;
17716 if ((ac__type_new_ *) 0)
17718 if (sizeof (ac__type_new_))
17724 rm -f conftest.
$ac_objext
17725 if { (ac_try
="$ac_compile"
17726 case "(($ac_try" in
17727 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17728 *) ac_try_echo=$ac_try;;
17730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17731 (eval "$ac_compile") 2>conftest.er1
17733 grep -v '^ *+' conftest.er1 >conftest.err
17735 cat conftest.err >&5
17736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17737 (exit $ac_status); } &&
17738 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17739 { (case "(($ac_try" in
17740 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17741 *) ac_try_echo
=$ac_try;;
17743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17744 (eval "$ac_try") 2>&5
17746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17747 (exit $ac_status); }; } &&
17748 { ac_try
='test -s conftest.$ac_objext'
17749 { (case "(($ac_try" in
17750 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17751 *) ac_try_echo=$ac_try;;
17753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17754 (eval "$ac_try") 2>&5
17756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17757 (exit $ac_status); }; }; then
17758 ac_cv_type_size_t=yes
17760 echo "$as_me: failed program was:" >&5
17761 sed 's/^/| /' conftest.$ac_ext >&5
17763 ac_cv_type_size_t=no
17766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17768 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17769 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17770 if test $ac_cv_type_size_t = yes; then
17774 cat >>confdefs.h <<_ACEOF
17775 #define size_t unsigned int
17781 cat >>confdefs.h <<_ACEOF
17782 #define RETSIGTYPE void
17785 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
17786 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
17787 if test "${ac_cv_struct_tm+set}" = set; then
17788 echo $ECHO_N "(cached) $ECHO_C" >&6
17790 cat >conftest.$ac_ext <<_ACEOF
17793 cat confdefs.h >>conftest.$ac_ext
17794 cat >>conftest.$ac_ext <<_ACEOF
17795 /* end confdefs.h. */
17796 #include <sys/types.h>
17802 struct tm *tp; tp->tm_sec;
17807 rm -f conftest.$ac_objext
17808 if { (ac_try="$ac_compile"
17809 case "(($ac_try" in
17810 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17811 *) ac_try_echo
=$ac_try;;
17813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17814 (eval "$ac_compile") 2>conftest.er1
17816 grep -v '^ *+' conftest.er1
>conftest.err
17818 cat conftest.err
>&5
17819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17820 (exit $ac_status); } &&
17821 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
17829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17830 (exit $ac_status); }; } &&
17831 { ac_try='test -s conftest.$ac_objext'
17832 { (case "(($ac_try" in
17833 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17834 *) ac_try_echo
=$ac_try;;
17836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17837 (eval "$ac_try") 2>&5
17839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17840 (exit $ac_status); }; }; then
17841 ac_cv_struct_tm
=time.h
17843 echo "$as_me: failed program was:" >&5
17844 sed 's/^/| /' conftest.
$ac_ext >&5
17846 ac_cv_struct_tm
=sys
/time.h
17849 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17851 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
17852 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
17853 if test $ac_cv_struct_tm = sys
/time.h
; then
17855 cat >>confdefs.h
<<\_ACEOF
17856 #define TM_IN_SYS_TIME 1
17861 { echo "$as_me:$LINENO: checking for int64_t" >&5
17862 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; }
17863 if test "${ac_cv_type_int64_t+set}" = set; then
17864 echo $ECHO_N "(cached) $ECHO_C" >&6
17866 cat >conftest.
$ac_ext <<_ACEOF
17869 cat confdefs.h
>>conftest.
$ac_ext
17870 cat >>conftest.
$ac_ext <<_ACEOF
17871 /* end confdefs.h. */
17872 $ac_includes_default
17873 typedef int64_t ac__type_new_;
17877 if ((ac__type_new_ *) 0)
17879 if (sizeof (ac__type_new_))
17885 rm -f conftest.
$ac_objext
17886 if { (ac_try
="$ac_compile"
17887 case "(($ac_try" in
17888 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17889 *) ac_try_echo=$ac_try;;
17891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17892 (eval "$ac_compile") 2>conftest.er1
17894 grep -v '^ *+' conftest.er1 >conftest.err
17896 cat conftest.err >&5
17897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17898 (exit $ac_status); } &&
17899 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17900 { (case "(($ac_try" in
17901 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17902 *) ac_try_echo
=$ac_try;;
17904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17905 (eval "$ac_try") 2>&5
17907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17908 (exit $ac_status); }; } &&
17909 { ac_try
='test -s conftest.$ac_objext'
17910 { (case "(($ac_try" in
17911 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17912 *) ac_try_echo=$ac_try;;
17914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17915 (eval "$ac_try") 2>&5
17917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918 (exit $ac_status); }; }; then
17919 ac_cv_type_int64_t=yes
17921 echo "$as_me: failed program was:" >&5
17922 sed 's/^/| /' conftest.$ac_ext >&5
17924 ac_cv_type_int64_t=no
17927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17929 { echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
17930 echo "${ECHO_T}$ac_cv_type_int64_t" >&6; }
17931 if test $ac_cv_type_int64_t = yes; then
17933 cat >>confdefs.h <<_ACEOF
17934 #define HAVE_INT64_T 1
17939 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
17940 echo "$as_me: error: Type int64_t required but not found" >&2;}
17941 { (exit 1); exit 1; }; }
17944 { echo "$as_me:$LINENO: checking for uint64_t" >&5
17945 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
17946 if test "${ac_cv_type_uint64_t+set}" = set; then
17947 echo $ECHO_N "(cached) $ECHO_C" >&6
17949 cat >conftest.$ac_ext <<_ACEOF
17952 cat confdefs.h >>conftest.$ac_ext
17953 cat >>conftest.$ac_ext <<_ACEOF
17954 /* end confdefs.h. */
17955 $ac_includes_default
17956 typedef uint64_t ac__type_new_;
17960 if ((ac__type_new_ *) 0)
17962 if (sizeof (ac__type_new_))
17968 rm -f conftest.$ac_objext
17969 if { (ac_try="$ac_compile"
17970 case "(($ac_try" in
17971 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17972 *) ac_try_echo
=$ac_try;;
17974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17975 (eval "$ac_compile") 2>conftest.er1
17977 grep -v '^ *+' conftest.er1
>conftest.err
17979 cat conftest.err
>&5
17980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17981 (exit $ac_status); } &&
17982 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17983 { (case "(($ac_try" in
17984 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17985 *) ac_try_echo=$ac_try;;
17987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17988 (eval "$ac_try") 2>&5
17990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17991 (exit $ac_status); }; } &&
17992 { ac_try='test -s conftest.$ac_objext'
17993 { (case "(($ac_try" in
17994 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17995 *) ac_try_echo
=$ac_try;;
17997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17998 (eval "$ac_try") 2>&5
18000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18001 (exit $ac_status); }; }; then
18002 ac_cv_type_uint64_t
=yes
18004 echo "$as_me: failed program was:" >&5
18005 sed 's/^/| /' conftest.
$ac_ext >&5
18007 ac_cv_type_uint64_t
=no
18010 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18012 { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
18013 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
18014 if test $ac_cv_type_uint64_t = yes; then
18016 cat >>confdefs.h
<<_ACEOF
18017 #define HAVE_UINT64_T 1
18022 { echo "$as_me:$LINENO: checking for u_int64_t" >&5
18023 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6; }
18024 if test "${ac_cv_type_u_int64_t+set}" = set; then
18025 echo $ECHO_N "(cached) $ECHO_C" >&6
18027 cat >conftest.
$ac_ext <<_ACEOF
18030 cat confdefs.h
>>conftest.
$ac_ext
18031 cat >>conftest.
$ac_ext <<_ACEOF
18032 /* end confdefs.h. */
18033 $ac_includes_default
18034 typedef u_int64_t ac__type_new_;
18038 if ((ac__type_new_ *) 0)
18040 if (sizeof (ac__type_new_))
18046 rm -f conftest.
$ac_objext
18047 if { (ac_try
="$ac_compile"
18048 case "(($ac_try" in
18049 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18050 *) ac_try_echo=$ac_try;;
18052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18053 (eval "$ac_compile") 2>conftest.er1
18055 grep -v '^ *+' conftest.er1 >conftest.err
18057 cat conftest.err >&5
18058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18059 (exit $ac_status); } &&
18060 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18061 { (case "(($ac_try" in
18062 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18063 *) ac_try_echo
=$ac_try;;
18065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18066 (eval "$ac_try") 2>&5
18068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18069 (exit $ac_status); }; } &&
18070 { ac_try
='test -s conftest.$ac_objext'
18071 { (case "(($ac_try" in
18072 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18073 *) ac_try_echo=$ac_try;;
18075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18076 (eval "$ac_try") 2>&5
18078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18079 (exit $ac_status); }; }; then
18080 ac_cv_type_u_int64_t=yes
18082 echo "$as_me: failed program was:" >&5
18083 sed 's/^/| /' conftest.$ac_ext >&5
18085 ac_cv_type_u_int64_t=no
18088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18090 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
18091 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6; }
18092 if test $ac_cv_type_u_int64_t = yes; then
18094 cat >>confdefs.h <<_ACEOF
18095 #define HAVE_U_INT64_T 1
18100 { { echo "$as_me:$LINENO: error: Type uint64_t or u_int64_t required but not found" >&5
18101 echo "$as_me: error: Type uint64_t or u_int64_t required but not found" >&2;}
18102 { (exit 1); exit 1; }; }
18116 for ac_func in backtrace ceilf floorf roundf rintf nearbyintf getcwd
18118 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
18119 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18121 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18122 echo $ECHO_N "(cached) $ECHO_C" >&6
18124 cat >conftest.$ac_ext <<_ACEOF
18127 cat confdefs.h >>conftest.$ac_ext
18128 cat >>conftest.$ac_ext <<_ACEOF
18129 /* end confdefs.h. */
18130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18132 #define $ac_func innocuous_$ac_func
18134 /* System header to define __stub macros and hopefully few prototypes,
18135 which can conflict with char $ac_func (); below.
18136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18137 <limits.h> exists even on freestanding compilers. */
18140 # include <limits.h>
18142 # include <assert.h>
18147 /* Override any GCC internal prototype to avoid an error.
18148 Use char because int might match the return type of a GCC
18149 builtin and then its argument prototype would still apply. */
18154 /* The GNU C library defines this for functions which it implements
18155 to always fail with ENOSYS. Some functions are actually named
18156 something starting with __ and the normal name is an alias. */
18157 #if defined __stub_$ac_func || defined __stub___$ac_func
18164 return $ac_func ();
18169 rm -f conftest.$ac_objext conftest$ac_exeext
18170 if { (ac_try="$ac_link"
18171 case "(($ac_try" in
18172 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18173 *) ac_try_echo
=$ac_try;;
18175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18176 (eval "$ac_link") 2>conftest.er1
18178 grep -v '^ *+' conftest.er1
>conftest.err
18180 cat conftest.err
>&5
18181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18182 (exit $ac_status); } &&
18183 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18184 { (case "(($ac_try" in
18185 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18186 *) ac_try_echo=$ac_try;;
18188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18189 (eval "$ac_try") 2>&5
18191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18192 (exit $ac_status); }; } &&
18193 { ac_try='test -s conftest$ac_exeext'
18194 { (case "(($ac_try" in
18195 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18196 *) ac_try_echo
=$ac_try;;
18198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18199 (eval "$ac_try") 2>&5
18201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18202 (exit $ac_status); }; }; then
18203 eval "$as_ac_var=yes"
18205 echo "$as_me: failed program was:" >&5
18206 sed 's/^/| /' conftest.
$ac_ext >&5
18208 eval "$as_ac_var=no"
18211 rm -f core conftest.err conftest.
$ac_objext \
18212 conftest
$ac_exeext conftest.
$ac_ext
18214 ac_res
=`eval echo '${'$as_ac_var'}'`
18215 { echo "$as_me:$LINENO: result: $ac_res" >&5
18216 echo "${ECHO_T}$ac_res" >&6; }
18217 if test `eval echo '${'$as_ac_var'}'` = yes; then
18218 cat >>confdefs.h
<<_ACEOF
18219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18229 for ac_func
in powf fmodf strtof round
18231 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18232 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18234 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18235 echo $ECHO_N "(cached) $ECHO_C" >&6
18237 cat >conftest.
$ac_ext <<_ACEOF
18240 cat confdefs.h
>>conftest.
$ac_ext
18241 cat >>conftest.
$ac_ext <<_ACEOF
18242 /* end confdefs.h. */
18243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18245 #define $ac_func innocuous_$ac_func
18247 /* System header to define __stub macros and hopefully few prototypes,
18248 which can conflict with char $ac_func (); below.
18249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18250 <limits.h> exists even on freestanding compilers. */
18253 # include <limits.h>
18255 # include <assert.h>
18260 /* Override any GCC internal prototype to avoid an error.
18261 Use char because int might match the return type of a GCC
18262 builtin and then its argument prototype would still apply. */
18267 /* The GNU C library defines this for functions which it implements
18268 to always fail with ENOSYS. Some functions are actually named
18269 something starting with __ and the normal name is an alias. */
18270 #if defined __stub_$ac_func || defined __stub___$ac_func
18277 return $ac_func ();
18282 rm -f conftest.
$ac_objext conftest
$ac_exeext
18283 if { (ac_try
="$ac_link"
18284 case "(($ac_try" in
18285 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18286 *) ac_try_echo=$ac_try;;
18288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18289 (eval "$ac_link") 2>conftest.er1
18291 grep -v '^ *+' conftest.er1 >conftest.err
18293 cat conftest.err >&5
18294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18295 (exit $ac_status); } &&
18296 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18297 { (case "(($ac_try" in
18298 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18299 *) ac_try_echo
=$ac_try;;
18301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18302 (eval "$ac_try") 2>&5
18304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18305 (exit $ac_status); }; } &&
18306 { ac_try
='test -s conftest$ac_exeext'
18307 { (case "(($ac_try" in
18308 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18309 *) ac_try_echo=$ac_try;;
18311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18312 (eval "$ac_try") 2>&5
18314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315 (exit $ac_status); }; }; then
18316 eval "$as_ac_var=yes"
18318 echo "$as_me: failed program was:" >&5
18319 sed 's/^/| /' conftest.$ac_ext >&5
18321 eval "$as_ac_var=no"
18324 rm -f core conftest.err conftest.$ac_objext \
18325 conftest$ac_exeext conftest.$ac_ext
18327 ac_res=`eval echo '${'$as_ac_var'}'`
18328 { echo "$as_me:$LINENO: result: $ac_res" >&5
18329 echo "${ECHO_T}$ac_res" >&6; }
18330 if test `eval echo '${'$as_ac_var'}'` = yes; then
18331 cat >>confdefs.h <<_ACEOF
18332 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
18343 for ac_func in getpagesize getrusage getrlimit setrlimit gettimeofday
18345 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
18346 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18348 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18349 echo $ECHO_N "(cached) $ECHO_C" >&6
18351 cat >conftest.$ac_ext <<_ACEOF
18354 cat confdefs.h >>conftest.$ac_ext
18355 cat >>conftest.$ac_ext <<_ACEOF
18356 /* end confdefs.h. */
18357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18359 #define $ac_func innocuous_$ac_func
18361 /* System header to define __stub macros and hopefully few prototypes,
18362 which can conflict with char $ac_func (); below.
18363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18364 <limits.h> exists even on freestanding compilers. */
18367 # include <limits.h>
18369 # include <assert.h>
18374 /* Override any GCC internal prototype to avoid an error.
18375 Use char because int might match the return type of a GCC
18376 builtin and then its argument prototype would still apply. */
18381 /* The GNU C library defines this for functions which it implements
18382 to always fail with ENOSYS. Some functions are actually named
18383 something starting with __ and the normal name is an alias. */
18384 #if defined __stub_$ac_func || defined __stub___$ac_func
18391 return $ac_func ();
18396 rm -f conftest.$ac_objext conftest$ac_exeext
18397 if { (ac_try="$ac_link"
18398 case "(($ac_try" in
18399 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18400 *) ac_try_echo
=$ac_try;;
18402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18403 (eval "$ac_link") 2>conftest.er1
18405 grep -v '^ *+' conftest.er1
>conftest.err
18407 cat conftest.err
>&5
18408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18409 (exit $ac_status); } &&
18410 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18411 { (case "(($ac_try" in
18412 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18413 *) ac_try_echo=$ac_try;;
18415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18416 (eval "$ac_try") 2>&5
18418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18419 (exit $ac_status); }; } &&
18420 { ac_try='test -s conftest$ac_exeext'
18421 { (case "(($ac_try" in
18422 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18423 *) ac_try_echo
=$ac_try;;
18425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18426 (eval "$ac_try") 2>&5
18428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18429 (exit $ac_status); }; }; then
18430 eval "$as_ac_var=yes"
18432 echo "$as_me: failed program was:" >&5
18433 sed 's/^/| /' conftest.
$ac_ext >&5
18435 eval "$as_ac_var=no"
18438 rm -f core conftest.err conftest.
$ac_objext \
18439 conftest
$ac_exeext conftest.
$ac_ext
18441 ac_res
=`eval echo '${'$as_ac_var'}'`
18442 { echo "$as_me:$LINENO: result: $ac_res" >&5
18443 echo "${ECHO_T}$ac_res" >&6; }
18444 if test `eval echo '${'$as_ac_var'}'` = yes; then
18445 cat >>confdefs.h
<<_ACEOF
18446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18455 for ac_func
in isatty mkdtemp mkstemp
18457 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18458 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18460 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18461 echo $ECHO_N "(cached) $ECHO_C" >&6
18463 cat >conftest.
$ac_ext <<_ACEOF
18466 cat confdefs.h
>>conftest.
$ac_ext
18467 cat >>conftest.
$ac_ext <<_ACEOF
18468 /* end confdefs.h. */
18469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18471 #define $ac_func innocuous_$ac_func
18473 /* System header to define __stub macros and hopefully few prototypes,
18474 which can conflict with char $ac_func (); below.
18475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18476 <limits.h> exists even on freestanding compilers. */
18479 # include <limits.h>
18481 # include <assert.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. */
18493 /* The GNU C library defines this for functions which it implements
18494 to always fail with ENOSYS. Some functions are actually named
18495 something starting with __ and the normal name is an alias. */
18496 #if defined __stub_$ac_func || defined __stub___$ac_func
18503 return $ac_func ();
18508 rm -f conftest.
$ac_objext conftest
$ac_exeext
18509 if { (ac_try
="$ac_link"
18510 case "(($ac_try" in
18511 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18512 *) ac_try_echo=$ac_try;;
18514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18515 (eval "$ac_link") 2>conftest.er1
18517 grep -v '^ *+' conftest.er1 >conftest.err
18519 cat conftest.err >&5
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); } &&
18522 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18523 { (case "(($ac_try" in
18524 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18525 *) ac_try_echo
=$ac_try;;
18527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18528 (eval "$ac_try") 2>&5
18530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18531 (exit $ac_status); }; } &&
18532 { ac_try
='test -s conftest$ac_exeext'
18533 { (case "(($ac_try" in
18534 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18535 *) ac_try_echo=$ac_try;;
18537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18538 (eval "$ac_try") 2>&5
18540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18541 (exit $ac_status); }; }; then
18542 eval "$as_ac_var=yes"
18544 echo "$as_me: failed program was:" >&5
18545 sed 's/^/| /' conftest.$ac_ext >&5
18547 eval "$as_ac_var=no"
18550 rm -f core conftest.err conftest.$ac_objext \
18551 conftest$ac_exeext conftest.$ac_ext
18553 ac_res=`eval echo '${'$as_ac_var'}'`
18554 { echo "$as_me:$LINENO: result: $ac_res" >&5
18555 echo "${ECHO_T}$ac_res" >&6; }
18556 if test `eval echo '${'$as_ac_var'}'` = yes; then
18557 cat >>confdefs.h <<_ACEOF
18558 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
18570 for ac_func in mktemp posix_spawn realpath sbrk setrlimit strdup
18572 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
18573 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18575 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18576 echo $ECHO_N "(cached) $ECHO_C" >&6
18578 cat >conftest.$ac_ext <<_ACEOF
18581 cat confdefs.h >>conftest.$ac_ext
18582 cat >>conftest.$ac_ext <<_ACEOF
18583 /* end confdefs.h. */
18584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18586 #define $ac_func innocuous_$ac_func
18588 /* System header to define __stub macros and hopefully few prototypes,
18589 which can conflict with char $ac_func (); below.
18590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18591 <limits.h> exists even on freestanding compilers. */
18594 # include <limits.h>
18596 # include <assert.h>
18601 /* Override any GCC internal prototype to avoid an error.
18602 Use char because int might match the return type of a GCC
18603 builtin and then its argument prototype would still apply. */
18608 /* The GNU C library defines this for functions which it implements
18609 to always fail with ENOSYS. Some functions are actually named
18610 something starting with __ and the normal name is an alias. */
18611 #if defined __stub_$ac_func || defined __stub___$ac_func
18618 return $ac_func ();
18623 rm -f conftest.$ac_objext conftest$ac_exeext
18624 if { (ac_try="$ac_link"
18625 case "(($ac_try" in
18626 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18627 *) ac_try_echo
=$ac_try;;
18629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18630 (eval "$ac_link") 2>conftest.er1
18632 grep -v '^ *+' conftest.er1
>conftest.err
18634 cat conftest.err
>&5
18635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18636 (exit $ac_status); } &&
18637 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18638 { (case "(($ac_try" in
18639 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18640 *) ac_try_echo=$ac_try;;
18642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18643 (eval "$ac_try") 2>&5
18645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18646 (exit $ac_status); }; } &&
18647 { ac_try='test -s conftest$ac_exeext'
18648 { (case "(($ac_try" in
18649 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18650 *) ac_try_echo
=$ac_try;;
18652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18653 (eval "$ac_try") 2>&5
18655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18656 (exit $ac_status); }; }; then
18657 eval "$as_ac_var=yes"
18659 echo "$as_me: failed program was:" >&5
18660 sed 's/^/| /' conftest.
$ac_ext >&5
18662 eval "$as_ac_var=no"
18665 rm -f core conftest.err conftest.
$ac_objext \
18666 conftest
$ac_exeext conftest.
$ac_ext
18668 ac_res
=`eval echo '${'$as_ac_var'}'`
18669 { echo "$as_me:$LINENO: result: $ac_res" >&5
18670 echo "${ECHO_T}$ac_res" >&6; }
18671 if test `eval echo '${'$as_ac_var'}'` = yes; then
18672 cat >>confdefs.h
<<_ACEOF
18673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18682 for ac_func
in strerror strerror_r setenv
18684 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18685 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18687 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18688 echo $ECHO_N "(cached) $ECHO_C" >&6
18690 cat >conftest.
$ac_ext <<_ACEOF
18693 cat confdefs.h
>>conftest.
$ac_ext
18694 cat >>conftest.
$ac_ext <<_ACEOF
18695 /* end confdefs.h. */
18696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18698 #define $ac_func innocuous_$ac_func
18700 /* System header to define __stub macros and hopefully few prototypes,
18701 which can conflict with char $ac_func (); below.
18702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18703 <limits.h> exists even on freestanding compilers. */
18706 # include <limits.h>
18708 # include <assert.h>
18713 /* Override any GCC internal prototype to avoid an error.
18714 Use char because int might match the return type of a GCC
18715 builtin and then its argument prototype would still apply. */
18720 /* The GNU C library defines this for functions which it implements
18721 to always fail with ENOSYS. Some functions are actually named
18722 something starting with __ and the normal name is an alias. */
18723 #if defined __stub_$ac_func || defined __stub___$ac_func
18730 return $ac_func ();
18735 rm -f conftest.
$ac_objext conftest
$ac_exeext
18736 if { (ac_try
="$ac_link"
18737 case "(($ac_try" in
18738 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18739 *) ac_try_echo=$ac_try;;
18741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18742 (eval "$ac_link") 2>conftest.er1
18744 grep -v '^ *+' conftest.er1 >conftest.err
18746 cat conftest.err >&5
18747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18748 (exit $ac_status); } &&
18749 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18750 { (case "(($ac_try" in
18751 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18752 *) ac_try_echo
=$ac_try;;
18754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18755 (eval "$ac_try") 2>&5
18757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18758 (exit $ac_status); }; } &&
18759 { ac_try
='test -s conftest$ac_exeext'
18760 { (case "(($ac_try" in
18761 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18762 *) ac_try_echo=$ac_try;;
18764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18765 (eval "$ac_try") 2>&5
18767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18768 (exit $ac_status); }; }; then
18769 eval "$as_ac_var=yes"
18771 echo "$as_me: failed program was:" >&5
18772 sed 's/^/| /' conftest.$ac_ext >&5
18774 eval "$as_ac_var=no"
18777 rm -f core conftest.err conftest.$ac_objext \
18778 conftest$ac_exeext conftest.$ac_ext
18780 ac_res=`eval echo '${'$as_ac_var'}'`
18781 { echo "$as_me:$LINENO: result: $ac_res" >&5
18782 echo "${ECHO_T}$ac_res" >&6; }
18783 if test `eval echo '${'$as_ac_var'}'` = yes; then
18784 cat >>confdefs.h <<_ACEOF
18785 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
18795 for ac_func in strtoll strtoq sysconf malloc_zone_statistics
18797 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
18798 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18800 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18801 echo $ECHO_N "(cached) $ECHO_C" >&6
18803 cat >conftest.$ac_ext <<_ACEOF
18806 cat confdefs.h >>conftest.$ac_ext
18807 cat >>conftest.$ac_ext <<_ACEOF
18808 /* end confdefs.h. */
18809 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18811 #define $ac_func innocuous_$ac_func
18813 /* System header to define __stub macros and hopefully few prototypes,
18814 which can conflict with char $ac_func (); below.
18815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18816 <limits.h> exists even on freestanding compilers. */
18819 # include <limits.h>
18821 # include <assert.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. */
18833 /* The GNU C library defines this for functions which it implements
18834 to always fail with ENOSYS. Some functions are actually named
18835 something starting with __ and the normal name is an alias. */
18836 #if defined __stub_$ac_func || defined __stub___$ac_func
18843 return $ac_func ();
18848 rm -f conftest.$ac_objext conftest$ac_exeext
18849 if { (ac_try="$ac_link"
18850 case "(($ac_try" in
18851 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18852 *) ac_try_echo
=$ac_try;;
18854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18855 (eval "$ac_link") 2>conftest.er1
18857 grep -v '^ *+' conftest.er1
>conftest.err
18859 cat conftest.err
>&5
18860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18861 (exit $ac_status); } &&
18862 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18863 { (case "(($ac_try" in
18864 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18865 *) ac_try_echo=$ac_try;;
18867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18868 (eval "$ac_try") 2>&5
18870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18871 (exit $ac_status); }; } &&
18872 { ac_try='test -s conftest$ac_exeext'
18873 { (case "(($ac_try" in
18874 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18875 *) ac_try_echo
=$ac_try;;
18877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18878 (eval "$ac_try") 2>&5
18880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18881 (exit $ac_status); }; }; then
18882 eval "$as_ac_var=yes"
18884 echo "$as_me: failed program was:" >&5
18885 sed 's/^/| /' conftest.
$ac_ext >&5
18887 eval "$as_ac_var=no"
18890 rm -f core conftest.err conftest.
$ac_objext \
18891 conftest
$ac_exeext conftest.
$ac_ext
18893 ac_res
=`eval echo '${'$as_ac_var'}'`
18894 { echo "$as_me:$LINENO: result: $ac_res" >&5
18895 echo "${ECHO_T}$ac_res" >&6; }
18896 if test `eval echo '${'$as_ac_var'}'` = yes; then
18897 cat >>confdefs.h
<<_ACEOF
18898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18909 for ac_func
in setjmp longjmp sigsetjmp siglongjmp writev
18911 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18912 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18914 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18915 echo $ECHO_N "(cached) $ECHO_C" >&6
18917 cat >conftest.
$ac_ext <<_ACEOF
18920 cat confdefs.h
>>conftest.
$ac_ext
18921 cat >>conftest.
$ac_ext <<_ACEOF
18922 /* end confdefs.h. */
18923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18925 #define $ac_func innocuous_$ac_func
18927 /* System header to define __stub macros and hopefully few prototypes,
18928 which can conflict with char $ac_func (); below.
18929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18930 <limits.h> exists even on freestanding compilers. */
18933 # include <limits.h>
18935 # include <assert.h>
18940 /* Override any GCC internal prototype to avoid an error.
18941 Use char because int might match the return type of a GCC
18942 builtin and then its argument prototype would still apply. */
18947 /* The GNU C library defines this for functions which it implements
18948 to always fail with ENOSYS. Some functions are actually named
18949 something starting with __ and the normal name is an alias. */
18950 #if defined __stub_$ac_func || defined __stub___$ac_func
18957 return $ac_func ();
18962 rm -f conftest.
$ac_objext conftest
$ac_exeext
18963 if { (ac_try
="$ac_link"
18964 case "(($ac_try" in
18965 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18966 *) ac_try_echo=$ac_try;;
18968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18969 (eval "$ac_link") 2>conftest.er1
18971 grep -v '^ *+' conftest.er1 >conftest.err
18973 cat conftest.err >&5
18974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18975 (exit $ac_status); } &&
18976 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18977 { (case "(($ac_try" in
18978 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18979 *) ac_try_echo
=$ac_try;;
18981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18982 (eval "$ac_try") 2>&5
18984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18985 (exit $ac_status); }; } &&
18986 { ac_try
='test -s conftest$ac_exeext'
18987 { (case "(($ac_try" in
18988 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18989 *) ac_try_echo=$ac_try;;
18991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18992 (eval "$ac_try") 2>&5
18994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995 (exit $ac_status); }; }; then
18996 eval "$as_ac_var=yes"
18998 echo "$as_me: failed program was:" >&5
18999 sed 's/^/| /' conftest.$ac_ext >&5
19001 eval "$as_ac_var=no"
19004 rm -f core conftest.err conftest.$ac_objext \
19005 conftest$ac_exeext conftest.$ac_ext
19007 ac_res=`eval echo '${'$as_ac_var'}'`
19008 { echo "$as_me:$LINENO: result: $ac_res" >&5
19009 echo "${ECHO_T}$ac_res" >&6; }
19010 if test `eval echo '${'$as_ac_var'}'` = yes; then
19011 cat >>confdefs.h <<_ACEOF
19012 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
19018 { echo "$as_me:$LINENO: checking if printf has the %a format character" >&5
19019 echo $ECHO_N "checking if printf has the %a format character... $ECHO_C" >&6; }
19020 if test "${llvm_cv_c_printf_a+set}" = set; then
19021 echo $ECHO_N "(cached) $ECHO_C" >&6
19024 ac_cpp='$CPP $CPPFLAGS'
19025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19029 if test "$cross_compiling" = yes; then
19030 llvmac_cv_c_printf_a=no
19032 cat >conftest.$ac_ext <<_ACEOF
19036 cat confdefs.h >>conftest.$ac_ext
19037 cat >>conftest.$ac_ext <<_ACEOF
19038 /* end confdefs.h. */
19041 #include <stdlib.h>
19047 volatile double A, B;
19051 sprintf(Buffer, "%a", A);
19055 if (A != 0x1.999999999999ap-4)
19062 rm -f conftest$ac_exeext
19063 if { (ac_try="$ac_link"
19064 case "(($ac_try" in
19065 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19066 *) ac_try_echo
=$ac_try;;
19068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19069 (eval "$ac_link") 2>&5
19071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19072 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19073 { (case "(($ac_try" in
19074 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19075 *) ac_try_echo=$ac_try;;
19077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19078 (eval "$ac_try") 2>&5
19080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19081 (exit $ac_status); }; }; then
19082 llvm_cv_c_printf_a=yes
19084 echo "$as_me: program exited with status $ac_status" >&5
19085 echo "$as_me: failed program was:" >&5
19086 sed 's/^/| /' conftest.$ac_ext >&5
19088 ( exit $ac_status )
19089 llvmac_cv_c_printf_a=no
19091 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19096 ac_cpp='$CPP $CPPFLAGS'
19097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19102 { echo "$as_me:$LINENO: result: $llvm_cv_c_printf_a" >&5
19103 echo "${ECHO_T}$llvm_cv_c_printf_a" >&6; }
19104 if test "$llvm_cv_c_printf_a" = "yes"; then
19106 cat >>confdefs.h <<\_ACEOF
19107 #define HAVE_PRINTF_A 1
19113 { echo "$as_me:$LINENO: checking for srand48/lrand48/drand48 in <stdlib.h>" >&5
19114 echo $ECHO_N "checking for srand48/lrand48/drand48 in <stdlib.h>... $ECHO_C" >&6; }
19115 if test "${ac_cv_func_rand48+set}" = set; then
19116 echo $ECHO_N "(cached) $ECHO_C" >&6
19119 ac_cpp='$CXXCPP $CPPFLAGS'
19120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19124 cat >conftest.$ac_ext <<_ACEOF
19127 cat confdefs.h >>conftest.$ac_ext
19128 cat >>conftest.$ac_ext <<_ACEOF
19129 /* end confdefs.h. */
19130 #include <stdlib.h>
19134 srand48(0);lrand48();drand48();
19139 rm -f conftest.$ac_objext
19140 if { (ac_try="$ac_compile"
19141 case "(($ac_try" in
19142 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19143 *) ac_try_echo
=$ac_try;;
19145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19146 (eval "$ac_compile") 2>conftest.er1
19148 grep -v '^ *+' conftest.er1
>conftest.err
19150 cat conftest.err
>&5
19151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19152 (exit $ac_status); } &&
19153 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19154 { (case "(($ac_try" in
19155 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19156 *) ac_try_echo=$ac_try;;
19158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19159 (eval "$ac_try") 2>&5
19161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19162 (exit $ac_status); }; } &&
19163 { ac_try='test -s conftest.$ac_objext'
19164 { (case "(($ac_try" in
19165 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19166 *) ac_try_echo
=$ac_try;;
19168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19169 (eval "$ac_try") 2>&5
19171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19172 (exit $ac_status); }; }; then
19173 ac_cv_func_rand48
=yes
19175 echo "$as_me: failed program was:" >&5
19176 sed 's/^/| /' conftest.
$ac_ext >&5
19178 ac_cv_func_rand48
=no
19181 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19183 ac_cpp
='$CPP $CPPFLAGS'
19184 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19185 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19186 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19189 { echo "$as_me:$LINENO: result: $ac_cv_func_rand48" >&5
19190 echo "${ECHO_T}$ac_cv_func_rand48" >&6; }
19192 if test "$ac_cv_func_rand48" = "yes" ; then
19194 cat >>confdefs.h
<<\_ACEOF
19195 #define HAVE_RAND48 1
19201 { echo "$as_me:$LINENO: checking whether strerror_s is declared" >&5
19202 echo $ECHO_N "checking whether strerror_s is declared... $ECHO_C" >&6; }
19203 if test "${ac_cv_have_decl_strerror_s+set}" = set; then
19204 echo $ECHO_N "(cached) $ECHO_C" >&6
19206 cat >conftest.
$ac_ext <<_ACEOF
19209 cat confdefs.h
>>conftest.
$ac_ext
19210 cat >>conftest.
$ac_ext <<_ACEOF
19211 /* end confdefs.h. */
19212 $ac_includes_default
19217 char *p = (char *) strerror_s;
19225 rm -f conftest.
$ac_objext
19226 if { (ac_try
="$ac_compile"
19227 case "(($ac_try" in
19228 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19229 *) ac_try_echo=$ac_try;;
19231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19232 (eval "$ac_compile") 2>conftest.er1
19234 grep -v '^ *+' conftest.er1 >conftest.err
19236 cat conftest.err >&5
19237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19238 (exit $ac_status); } &&
19239 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19240 { (case "(($ac_try" in
19241 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19242 *) ac_try_echo
=$ac_try;;
19244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19245 (eval "$ac_try") 2>&5
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); }; } &&
19249 { ac_try
='test -s conftest.$ac_objext'
19250 { (case "(($ac_try" in
19251 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19252 *) ac_try_echo=$ac_try;;
19254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19255 (eval "$ac_try") 2>&5
19257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19258 (exit $ac_status); }; }; then
19259 ac_cv_have_decl_strerror_s=yes
19261 echo "$as_me: failed program was:" >&5
19262 sed 's/^/| /' conftest.$ac_ext >&5
19264 ac_cv_have_decl_strerror_s=no
19267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19269 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_s" >&5
19270 echo "${ECHO_T}$ac_cv_have_decl_strerror_s" >&6; }
19271 if test $ac_cv_have_decl_strerror_s = yes; then
19273 cat >>confdefs.h <<_ACEOF
19274 #define HAVE_DECL_STRERROR_S 1
19279 cat >>confdefs.h <<_ACEOF
19280 #define HAVE_DECL_STRERROR_S 0
19288 if test "$llvm_cv_os_type" = "MingW" ; then
19289 { echo "$as_me:$LINENO: checking for _alloca in -lgcc" >&5
19290 echo $ECHO_N "checking for _alloca in -lgcc... $ECHO_C" >&6; }
19291 if test "${ac_cv_lib_gcc__alloca+set}" = set; then
19292 echo $ECHO_N "(cached) $ECHO_C" >&6
19294 ac_check_lib_save_LIBS=$LIBS
19296 cat >conftest.$ac_ext <<_ACEOF
19299 cat confdefs.h >>conftest.$ac_ext
19300 cat >>conftest.$ac_ext <<_ACEOF
19301 /* end confdefs.h. */
19303 /* Override any GCC internal prototype to avoid an error.
19304 Use char because int might match the return type of a GCC
19305 builtin and then its argument prototype would still apply. */
19318 rm -f conftest.$ac_objext conftest$ac_exeext
19319 if { (ac_try="$ac_link"
19320 case "(($ac_try" in
19321 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19322 *) ac_try_echo
=$ac_try;;
19324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19325 (eval "$ac_link") 2>conftest.er1
19327 grep -v '^ *+' conftest.er1
>conftest.err
19329 cat conftest.err
>&5
19330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19331 (exit $ac_status); } &&
19332 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19333 { (case "(($ac_try" in
19334 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19335 *) ac_try_echo=$ac_try;;
19337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19338 (eval "$ac_try") 2>&5
19340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19341 (exit $ac_status); }; } &&
19342 { ac_try='test -s conftest$ac_exeext'
19343 { (case "(($ac_try" in
19344 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19345 *) ac_try_echo
=$ac_try;;
19347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19348 (eval "$ac_try") 2>&5
19350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19351 (exit $ac_status); }; }; then
19352 ac_cv_lib_gcc__alloca
=yes
19354 echo "$as_me: failed program was:" >&5
19355 sed 's/^/| /' conftest.
$ac_ext >&5
19357 ac_cv_lib_gcc__alloca
=no
19360 rm -f core conftest.err conftest.
$ac_objext \
19361 conftest
$ac_exeext conftest.
$ac_ext
19362 LIBS
=$ac_check_lib_save_LIBS
19364 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc__alloca" >&5
19365 echo "${ECHO_T}$ac_cv_lib_gcc__alloca" >&6; }
19366 if test $ac_cv_lib_gcc__alloca = yes; then
19368 cat >>confdefs.h
<<\_ACEOF
19369 #define HAVE__ALLOCA 1
19374 { echo "$as_me:$LINENO: checking for __alloca in -lgcc" >&5
19375 echo $ECHO_N "checking for __alloca in -lgcc... $ECHO_C" >&6; }
19376 if test "${ac_cv_lib_gcc___alloca+set}" = set; then
19377 echo $ECHO_N "(cached) $ECHO_C" >&6
19379 ac_check_lib_save_LIBS
=$LIBS
19381 cat >conftest.
$ac_ext <<_ACEOF
19384 cat confdefs.h
>>conftest.
$ac_ext
19385 cat >>conftest.
$ac_ext <<_ACEOF
19386 /* end confdefs.h. */
19388 /* Override any GCC internal prototype to avoid an error.
19389 Use char because int might match the return type of a GCC
19390 builtin and then its argument prototype would still apply. */
19398 return __alloca ();
19403 rm -f conftest.
$ac_objext conftest
$ac_exeext
19404 if { (ac_try
="$ac_link"
19405 case "(($ac_try" in
19406 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19407 *) ac_try_echo=$ac_try;;
19409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19410 (eval "$ac_link") 2>conftest.er1
19412 grep -v '^ *+' conftest.er1 >conftest.err
19414 cat conftest.err >&5
19415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19416 (exit $ac_status); } &&
19417 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19418 { (case "(($ac_try" in
19419 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19420 *) ac_try_echo
=$ac_try;;
19422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19423 (eval "$ac_try") 2>&5
19425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19426 (exit $ac_status); }; } &&
19427 { ac_try
='test -s conftest$ac_exeext'
19428 { (case "(($ac_try" in
19429 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19430 *) ac_try_echo=$ac_try;;
19432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19433 (eval "$ac_try") 2>&5
19435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19436 (exit $ac_status); }; }; then
19437 ac_cv_lib_gcc___alloca=yes
19439 echo "$as_me: failed program was:" >&5
19440 sed 's/^/| /' conftest.$ac_ext >&5
19442 ac_cv_lib_gcc___alloca=no
19445 rm -f core conftest.err conftest.$ac_objext \
19446 conftest$ac_exeext conftest.$ac_ext
19447 LIBS=$ac_check_lib_save_LIBS
19449 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___alloca" >&5
19450 echo "${ECHO_T}$ac_cv_lib_gcc___alloca" >&6; }
19451 if test $ac_cv_lib_gcc___alloca = yes; then
19453 cat >>confdefs.h <<\_ACEOF
19454 #define HAVE___ALLOCA 1
19459 { echo "$as_me:$LINENO: checking for __chkstk in -lgcc" >&5
19460 echo $ECHO_N "checking for __chkstk in -lgcc... $ECHO_C" >&6; }
19461 if test "${ac_cv_lib_gcc___chkstk+set}" = set; then
19462 echo $ECHO_N "(cached) $ECHO_C" >&6
19464 ac_check_lib_save_LIBS=$LIBS
19466 cat >conftest.$ac_ext <<_ACEOF
19469 cat confdefs.h >>conftest.$ac_ext
19470 cat >>conftest.$ac_ext <<_ACEOF
19471 /* end confdefs.h. */
19473 /* Override any GCC internal prototype to avoid an error.
19474 Use char because int might match the return type of a GCC
19475 builtin and then its argument prototype would still apply. */
19483 return __chkstk ();
19488 rm -f conftest.$ac_objext conftest$ac_exeext
19489 if { (ac_try="$ac_link"
19490 case "(($ac_try" in
19491 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19492 *) ac_try_echo
=$ac_try;;
19494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19495 (eval "$ac_link") 2>conftest.er1
19497 grep -v '^ *+' conftest.er1
>conftest.err
19499 cat conftest.err
>&5
19500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19501 (exit $ac_status); } &&
19502 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19503 { (case "(($ac_try" in
19504 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19505 *) ac_try_echo=$ac_try;;
19507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19508 (eval "$ac_try") 2>&5
19510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19511 (exit $ac_status); }; } &&
19512 { ac_try='test -s conftest$ac_exeext'
19513 { (case "(($ac_try" in
19514 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19515 *) ac_try_echo
=$ac_try;;
19517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19518 (eval "$ac_try") 2>&5
19520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521 (exit $ac_status); }; }; then
19522 ac_cv_lib_gcc___chkstk
=yes
19524 echo "$as_me: failed program was:" >&5
19525 sed 's/^/| /' conftest.
$ac_ext >&5
19527 ac_cv_lib_gcc___chkstk
=no
19530 rm -f core conftest.err conftest.
$ac_objext \
19531 conftest
$ac_exeext conftest.
$ac_ext
19532 LIBS
=$ac_check_lib_save_LIBS
19534 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___chkstk" >&5
19535 echo "${ECHO_T}$ac_cv_lib_gcc___chkstk" >&6; }
19536 if test $ac_cv_lib_gcc___chkstk = yes; then
19538 cat >>confdefs.h
<<\_ACEOF
19539 #define HAVE___CHKSTK 1
19544 { echo "$as_me:$LINENO: checking for ___chkstk in -lgcc" >&5
19545 echo $ECHO_N "checking for ___chkstk in -lgcc... $ECHO_C" >&6; }
19546 if test "${ac_cv_lib_gcc____chkstk+set}" = set; then
19547 echo $ECHO_N "(cached) $ECHO_C" >&6
19549 ac_check_lib_save_LIBS
=$LIBS
19551 cat >conftest.
$ac_ext <<_ACEOF
19554 cat confdefs.h
>>conftest.
$ac_ext
19555 cat >>conftest.
$ac_ext <<_ACEOF
19556 /* end confdefs.h. */
19558 /* Override any GCC internal prototype to avoid an error.
19559 Use char because int might match the return type of a GCC
19560 builtin and then its argument prototype would still apply. */
19568 return ___chkstk ();
19573 rm -f conftest.
$ac_objext conftest
$ac_exeext
19574 if { (ac_try
="$ac_link"
19575 case "(($ac_try" in
19576 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19577 *) ac_try_echo=$ac_try;;
19579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19580 (eval "$ac_link") 2>conftest.er1
19582 grep -v '^ *+' conftest.er1 >conftest.err
19584 cat conftest.err >&5
19585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19586 (exit $ac_status); } &&
19587 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19588 { (case "(($ac_try" in
19589 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19590 *) ac_try_echo
=$ac_try;;
19592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19593 (eval "$ac_try") 2>&5
19595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19596 (exit $ac_status); }; } &&
19597 { ac_try
='test -s conftest$ac_exeext'
19598 { (case "(($ac_try" in
19599 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19600 *) ac_try_echo=$ac_try;;
19602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19603 (eval "$ac_try") 2>&5
19605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19606 (exit $ac_status); }; }; then
19607 ac_cv_lib_gcc____chkstk=yes
19609 echo "$as_me: failed program was:" >&5
19610 sed 's/^/| /' conftest.$ac_ext >&5
19612 ac_cv_lib_gcc____chkstk=no
19615 rm -f core conftest.err conftest.$ac_objext \
19616 conftest$ac_exeext conftest.$ac_ext
19617 LIBS=$ac_check_lib_save_LIBS
19619 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc____chkstk" >&5
19620 echo "${ECHO_T}$ac_cv_lib_gcc____chkstk" >&6; }
19621 if test $ac_cv_lib_gcc____chkstk = yes; then
19623 cat >>confdefs.h <<\_ACEOF
19624 #define HAVE____CHKSTK 1
19630 { echo "$as_me:$LINENO: checking for __ashldi3 in -lgcc" >&5
19631 echo $ECHO_N "checking for __ashldi3 in -lgcc... $ECHO_C" >&6; }
19632 if test "${ac_cv_lib_gcc___ashldi3+set}" = set; then
19633 echo $ECHO_N "(cached) $ECHO_C" >&6
19635 ac_check_lib_save_LIBS=$LIBS
19637 cat >conftest.$ac_ext <<_ACEOF
19640 cat confdefs.h >>conftest.$ac_ext
19641 cat >>conftest.$ac_ext <<_ACEOF
19642 /* end confdefs.h. */
19644 /* Override any GCC internal prototype to avoid an error.
19645 Use char because int might match the return type of a GCC
19646 builtin and then its argument prototype would still apply. */
19654 return __ashldi3 ();
19659 rm -f conftest.$ac_objext conftest$ac_exeext
19660 if { (ac_try="$ac_link"
19661 case "(($ac_try" in
19662 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19663 *) ac_try_echo
=$ac_try;;
19665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19666 (eval "$ac_link") 2>conftest.er1
19668 grep -v '^ *+' conftest.er1
>conftest.err
19670 cat conftest.err
>&5
19671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672 (exit $ac_status); } &&
19673 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19674 { (case "(($ac_try" in
19675 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19676 *) ac_try_echo=$ac_try;;
19678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19679 (eval "$ac_try") 2>&5
19681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19682 (exit $ac_status); }; } &&
19683 { ac_try='test -s conftest$ac_exeext'
19684 { (case "(($ac_try" in
19685 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19686 *) ac_try_echo
=$ac_try;;
19688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19689 (eval "$ac_try") 2>&5
19691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19692 (exit $ac_status); }; }; then
19693 ac_cv_lib_gcc___ashldi3
=yes
19695 echo "$as_me: failed program was:" >&5
19696 sed 's/^/| /' conftest.
$ac_ext >&5
19698 ac_cv_lib_gcc___ashldi3
=no
19701 rm -f core conftest.err conftest.
$ac_objext \
19702 conftest
$ac_exeext conftest.
$ac_ext
19703 LIBS
=$ac_check_lib_save_LIBS
19705 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___ashldi3" >&5
19706 echo "${ECHO_T}$ac_cv_lib_gcc___ashldi3" >&6; }
19707 if test $ac_cv_lib_gcc___ashldi3 = yes; then
19709 cat >>confdefs.h
<<\_ACEOF
19710 #define HAVE___ASHLDI3 1
19715 { echo "$as_me:$LINENO: checking for __ashrdi3 in -lgcc" >&5
19716 echo $ECHO_N "checking for __ashrdi3 in -lgcc... $ECHO_C" >&6; }
19717 if test "${ac_cv_lib_gcc___ashrdi3+set}" = set; then
19718 echo $ECHO_N "(cached) $ECHO_C" >&6
19720 ac_check_lib_save_LIBS
=$LIBS
19722 cat >conftest.
$ac_ext <<_ACEOF
19725 cat confdefs.h
>>conftest.
$ac_ext
19726 cat >>conftest.
$ac_ext <<_ACEOF
19727 /* end confdefs.h. */
19729 /* Override any GCC internal prototype to avoid an error.
19730 Use char because int might match the return type of a GCC
19731 builtin and then its argument prototype would still apply. */
19739 return __ashrdi3 ();
19744 rm -f conftest.
$ac_objext conftest
$ac_exeext
19745 if { (ac_try
="$ac_link"
19746 case "(($ac_try" in
19747 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19748 *) ac_try_echo=$ac_try;;
19750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19751 (eval "$ac_link") 2>conftest.er1
19753 grep -v '^ *+' conftest.er1 >conftest.err
19755 cat conftest.err >&5
19756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19757 (exit $ac_status); } &&
19758 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19759 { (case "(($ac_try" in
19760 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19761 *) ac_try_echo
=$ac_try;;
19763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19764 (eval "$ac_try") 2>&5
19766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19767 (exit $ac_status); }; } &&
19768 { ac_try
='test -s conftest$ac_exeext'
19769 { (case "(($ac_try" in
19770 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19771 *) ac_try_echo=$ac_try;;
19773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19774 (eval "$ac_try") 2>&5
19776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19777 (exit $ac_status); }; }; then
19778 ac_cv_lib_gcc___ashrdi3=yes
19780 echo "$as_me: failed program was:" >&5
19781 sed 's/^/| /' conftest.$ac_ext >&5
19783 ac_cv_lib_gcc___ashrdi3=no
19786 rm -f core conftest.err conftest.$ac_objext \
19787 conftest$ac_exeext conftest.$ac_ext
19788 LIBS=$ac_check_lib_save_LIBS
19790 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___ashrdi3" >&5
19791 echo "${ECHO_T}$ac_cv_lib_gcc___ashrdi3" >&6; }
19792 if test $ac_cv_lib_gcc___ashrdi3 = yes; then
19794 cat >>confdefs.h <<\_ACEOF
19795 #define HAVE___ASHRDI3 1
19800 { echo "$as_me:$LINENO: checking for __divdi3 in -lgcc" >&5
19801 echo $ECHO_N "checking for __divdi3 in -lgcc... $ECHO_C" >&6; }
19802 if test "${ac_cv_lib_gcc___divdi3+set}" = set; then
19803 echo $ECHO_N "(cached) $ECHO_C" >&6
19805 ac_check_lib_save_LIBS=$LIBS
19807 cat >conftest.$ac_ext <<_ACEOF
19810 cat confdefs.h >>conftest.$ac_ext
19811 cat >>conftest.$ac_ext <<_ACEOF
19812 /* end confdefs.h. */
19814 /* Override any GCC internal prototype to avoid an error.
19815 Use char because int might match the return type of a GCC
19816 builtin and then its argument prototype would still apply. */
19824 return __divdi3 ();
19829 rm -f conftest.$ac_objext conftest$ac_exeext
19830 if { (ac_try="$ac_link"
19831 case "(($ac_try" in
19832 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19833 *) ac_try_echo
=$ac_try;;
19835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19836 (eval "$ac_link") 2>conftest.er1
19838 grep -v '^ *+' conftest.er1
>conftest.err
19840 cat conftest.err
>&5
19841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19842 (exit $ac_status); } &&
19843 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19844 { (case "(($ac_try" in
19845 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19846 *) ac_try_echo=$ac_try;;
19848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19849 (eval "$ac_try") 2>&5
19851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19852 (exit $ac_status); }; } &&
19853 { ac_try='test -s conftest$ac_exeext'
19854 { (case "(($ac_try" in
19855 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19856 *) ac_try_echo
=$ac_try;;
19858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19859 (eval "$ac_try") 2>&5
19861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19862 (exit $ac_status); }; }; then
19863 ac_cv_lib_gcc___divdi3
=yes
19865 echo "$as_me: failed program was:" >&5
19866 sed 's/^/| /' conftest.
$ac_ext >&5
19868 ac_cv_lib_gcc___divdi3
=no
19871 rm -f core conftest.err conftest.
$ac_objext \
19872 conftest
$ac_exeext conftest.
$ac_ext
19873 LIBS
=$ac_check_lib_save_LIBS
19875 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___divdi3" >&5
19876 echo "${ECHO_T}$ac_cv_lib_gcc___divdi3" >&6; }
19877 if test $ac_cv_lib_gcc___divdi3 = yes; then
19879 cat >>confdefs.h
<<\_ACEOF
19880 #define HAVE___DIVDI3 1
19885 { echo "$as_me:$LINENO: checking for __fixdfdi in -lgcc" >&5
19886 echo $ECHO_N "checking for __fixdfdi in -lgcc... $ECHO_C" >&6; }
19887 if test "${ac_cv_lib_gcc___fixdfdi+set}" = set; then
19888 echo $ECHO_N "(cached) $ECHO_C" >&6
19890 ac_check_lib_save_LIBS
=$LIBS
19892 cat >conftest.
$ac_ext <<_ACEOF
19895 cat confdefs.h
>>conftest.
$ac_ext
19896 cat >>conftest.
$ac_ext <<_ACEOF
19897 /* end confdefs.h. */
19899 /* Override any GCC internal prototype to avoid an error.
19900 Use char because int might match the return type of a GCC
19901 builtin and then its argument prototype would still apply. */
19909 return __fixdfdi ();
19914 rm -f conftest.
$ac_objext conftest
$ac_exeext
19915 if { (ac_try
="$ac_link"
19916 case "(($ac_try" in
19917 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19918 *) ac_try_echo=$ac_try;;
19920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19921 (eval "$ac_link") 2>conftest.er1
19923 grep -v '^ *+' conftest.er1 >conftest.err
19925 cat conftest.err >&5
19926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19927 (exit $ac_status); } &&
19928 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19929 { (case "(($ac_try" in
19930 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19931 *) ac_try_echo
=$ac_try;;
19933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19934 (eval "$ac_try") 2>&5
19936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937 (exit $ac_status); }; } &&
19938 { ac_try
='test -s conftest$ac_exeext'
19939 { (case "(($ac_try" in
19940 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19941 *) ac_try_echo=$ac_try;;
19943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19944 (eval "$ac_try") 2>&5
19946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19947 (exit $ac_status); }; }; then
19948 ac_cv_lib_gcc___fixdfdi=yes
19950 echo "$as_me: failed program was:" >&5
19951 sed 's/^/| /' conftest.$ac_ext >&5
19953 ac_cv_lib_gcc___fixdfdi=no
19956 rm -f core conftest.err conftest.$ac_objext \
19957 conftest$ac_exeext conftest.$ac_ext
19958 LIBS=$ac_check_lib_save_LIBS
19960 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___fixdfdi" >&5
19961 echo "${ECHO_T}$ac_cv_lib_gcc___fixdfdi" >&6; }
19962 if test $ac_cv_lib_gcc___fixdfdi = yes; then
19964 cat >>confdefs.h <<\_ACEOF
19965 #define HAVE___FIXDFDI 1
19970 { echo "$as_me:$LINENO: checking for __fixsfdi in -lgcc" >&5
19971 echo $ECHO_N "checking for __fixsfdi in -lgcc... $ECHO_C" >&6; }
19972 if test "${ac_cv_lib_gcc___fixsfdi+set}" = set; then
19973 echo $ECHO_N "(cached) $ECHO_C" >&6
19975 ac_check_lib_save_LIBS=$LIBS
19977 cat >conftest.$ac_ext <<_ACEOF
19980 cat confdefs.h >>conftest.$ac_ext
19981 cat >>conftest.$ac_ext <<_ACEOF
19982 /* end confdefs.h. */
19984 /* Override any GCC internal prototype to avoid an error.
19985 Use char because int might match the return type of a GCC
19986 builtin and then its argument prototype would still apply. */
19994 return __fixsfdi ();
19999 rm -f conftest.$ac_objext conftest$ac_exeext
20000 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
20008 grep -v '^ *+' conftest.er1
>conftest.err
20010 cat conftest.err
>&5
20011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20012 (exit $ac_status); } &&
20013 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20014 { (case "(($ac_try" in
20015 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20016 *) ac_try_echo=$ac_try;;
20018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20019 (eval "$ac_try") 2>&5
20021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20022 (exit $ac_status); }; } &&
20023 { ac_try='test -s conftest$ac_exeext'
20024 { (case "(($ac_try" in
20025 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20026 *) ac_try_echo
=$ac_try;;
20028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20029 (eval "$ac_try") 2>&5
20031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20032 (exit $ac_status); }; }; then
20033 ac_cv_lib_gcc___fixsfdi
=yes
20035 echo "$as_me: failed program was:" >&5
20036 sed 's/^/| /' conftest.
$ac_ext >&5
20038 ac_cv_lib_gcc___fixsfdi
=no
20041 rm -f core conftest.err conftest.
$ac_objext \
20042 conftest
$ac_exeext conftest.
$ac_ext
20043 LIBS
=$ac_check_lib_save_LIBS
20045 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___fixsfdi" >&5
20046 echo "${ECHO_T}$ac_cv_lib_gcc___fixsfdi" >&6; }
20047 if test $ac_cv_lib_gcc___fixsfdi = yes; then
20049 cat >>confdefs.h
<<\_ACEOF
20050 #define HAVE___FIXSFDI 1
20055 { echo "$as_me:$LINENO: checking for __floatdidf in -lgcc" >&5
20056 echo $ECHO_N "checking for __floatdidf in -lgcc... $ECHO_C" >&6; }
20057 if test "${ac_cv_lib_gcc___floatdidf+set}" = set; then
20058 echo $ECHO_N "(cached) $ECHO_C" >&6
20060 ac_check_lib_save_LIBS
=$LIBS
20062 cat >conftest.
$ac_ext <<_ACEOF
20065 cat confdefs.h
>>conftest.
$ac_ext
20066 cat >>conftest.
$ac_ext <<_ACEOF
20067 /* end confdefs.h. */
20069 /* Override any GCC internal prototype to avoid an error.
20070 Use char because int might match the return type of a GCC
20071 builtin and then its argument prototype would still apply. */
20075 char __floatdidf ();
20079 return __floatdidf ();
20084 rm -f conftest.
$ac_objext conftest
$ac_exeext
20085 if { (ac_try
="$ac_link"
20086 case "(($ac_try" in
20087 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20088 *) ac_try_echo=$ac_try;;
20090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20091 (eval "$ac_link") 2>conftest.er1
20093 grep -v '^ *+' conftest.er1 >conftest.err
20095 cat conftest.err >&5
20096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20097 (exit $ac_status); } &&
20098 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20099 { (case "(($ac_try" in
20100 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20101 *) ac_try_echo
=$ac_try;;
20103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20104 (eval "$ac_try") 2>&5
20106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20107 (exit $ac_status); }; } &&
20108 { ac_try
='test -s conftest$ac_exeext'
20109 { (case "(($ac_try" in
20110 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20111 *) ac_try_echo=$ac_try;;
20113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20114 (eval "$ac_try") 2>&5
20116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20117 (exit $ac_status); }; }; then
20118 ac_cv_lib_gcc___floatdidf=yes
20120 echo "$as_me: failed program was:" >&5
20121 sed 's/^/| /' conftest.$ac_ext >&5
20123 ac_cv_lib_gcc___floatdidf=no
20126 rm -f core conftest.err conftest.$ac_objext \
20127 conftest$ac_exeext conftest.$ac_ext
20128 LIBS=$ac_check_lib_save_LIBS
20130 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___floatdidf" >&5
20131 echo "${ECHO_T}$ac_cv_lib_gcc___floatdidf" >&6; }
20132 if test $ac_cv_lib_gcc___floatdidf = yes; then
20134 cat >>confdefs.h <<\_ACEOF
20135 #define HAVE___FLOATDIDF 1
20140 { echo "$as_me:$LINENO: checking for __lshrdi3 in -lgcc" >&5
20141 echo $ECHO_N "checking for __lshrdi3 in -lgcc... $ECHO_C" >&6; }
20142 if test "${ac_cv_lib_gcc___lshrdi3+set}" = set; then
20143 echo $ECHO_N "(cached) $ECHO_C" >&6
20145 ac_check_lib_save_LIBS=$LIBS
20147 cat >conftest.$ac_ext <<_ACEOF
20150 cat confdefs.h >>conftest.$ac_ext
20151 cat >>conftest.$ac_ext <<_ACEOF
20152 /* end confdefs.h. */
20154 /* Override any GCC internal prototype to avoid an error.
20155 Use char because int might match the return type of a GCC
20156 builtin and then its argument prototype would still apply. */
20164 return __lshrdi3 ();
20169 rm -f conftest.$ac_objext conftest$ac_exeext
20170 if { (ac_try="$ac_link"
20171 case "(($ac_try" in
20172 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20173 *) ac_try_echo
=$ac_try;;
20175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20176 (eval "$ac_link") 2>conftest.er1
20178 grep -v '^ *+' conftest.er1
>conftest.err
20180 cat conftest.err
>&5
20181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20182 (exit $ac_status); } &&
20183 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
20193 { ac_try='test -s conftest$ac_exeext'
20194 { (case "(($ac_try" in
20195 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20196 *) ac_try_echo
=$ac_try;;
20198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20199 (eval "$ac_try") 2>&5
20201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20202 (exit $ac_status); }; }; then
20203 ac_cv_lib_gcc___lshrdi3
=yes
20205 echo "$as_me: failed program was:" >&5
20206 sed 's/^/| /' conftest.
$ac_ext >&5
20208 ac_cv_lib_gcc___lshrdi3
=no
20211 rm -f core conftest.err conftest.
$ac_objext \
20212 conftest
$ac_exeext conftest.
$ac_ext
20213 LIBS
=$ac_check_lib_save_LIBS
20215 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___lshrdi3" >&5
20216 echo "${ECHO_T}$ac_cv_lib_gcc___lshrdi3" >&6; }
20217 if test $ac_cv_lib_gcc___lshrdi3 = yes; then
20219 cat >>confdefs.h
<<\_ACEOF
20220 #define HAVE___LSHRDI3 1
20225 { echo "$as_me:$LINENO: checking for __moddi3 in -lgcc" >&5
20226 echo $ECHO_N "checking for __moddi3 in -lgcc... $ECHO_C" >&6; }
20227 if test "${ac_cv_lib_gcc___moddi3+set}" = set; then
20228 echo $ECHO_N "(cached) $ECHO_C" >&6
20230 ac_check_lib_save_LIBS
=$LIBS
20232 cat >conftest.
$ac_ext <<_ACEOF
20235 cat confdefs.h
>>conftest.
$ac_ext
20236 cat >>conftest.
$ac_ext <<_ACEOF
20237 /* end confdefs.h. */
20239 /* Override any GCC internal prototype to avoid an error.
20240 Use char because int might match the return type of a GCC
20241 builtin and then its argument prototype would still apply. */
20249 return __moddi3 ();
20254 rm -f conftest.
$ac_objext conftest
$ac_exeext
20255 if { (ac_try
="$ac_link"
20256 case "(($ac_try" in
20257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20258 *) ac_try_echo=$ac_try;;
20260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20261 (eval "$ac_link") 2>conftest.er1
20263 grep -v '^ *+' conftest.er1 >conftest.err
20265 cat conftest.err >&5
20266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20267 (exit $ac_status); } &&
20268 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20269 { (case "(($ac_try" in
20270 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20271 *) ac_try_echo
=$ac_try;;
20273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20274 (eval "$ac_try") 2>&5
20276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20277 (exit $ac_status); }; } &&
20278 { ac_try
='test -s conftest$ac_exeext'
20279 { (case "(($ac_try" in
20280 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20281 *) ac_try_echo=$ac_try;;
20283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20284 (eval "$ac_try") 2>&5
20286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20287 (exit $ac_status); }; }; then
20288 ac_cv_lib_gcc___moddi3=yes
20290 echo "$as_me: failed program was:" >&5
20291 sed 's/^/| /' conftest.$ac_ext >&5
20293 ac_cv_lib_gcc___moddi3=no
20296 rm -f core conftest.err conftest.$ac_objext \
20297 conftest$ac_exeext conftest.$ac_ext
20298 LIBS=$ac_check_lib_save_LIBS
20300 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___moddi3" >&5
20301 echo "${ECHO_T}$ac_cv_lib_gcc___moddi3" >&6; }
20302 if test $ac_cv_lib_gcc___moddi3 = yes; then
20304 cat >>confdefs.h <<\_ACEOF
20305 #define HAVE___MODDI3 1
20310 { echo "$as_me:$LINENO: checking for __udivdi3 in -lgcc" >&5
20311 echo $ECHO_N "checking for __udivdi3 in -lgcc... $ECHO_C" >&6; }
20312 if test "${ac_cv_lib_gcc___udivdi3+set}" = set; then
20313 echo $ECHO_N "(cached) $ECHO_C" >&6
20315 ac_check_lib_save_LIBS=$LIBS
20317 cat >conftest.$ac_ext <<_ACEOF
20320 cat confdefs.h >>conftest.$ac_ext
20321 cat >>conftest.$ac_ext <<_ACEOF
20322 /* end confdefs.h. */
20324 /* Override any GCC internal prototype to avoid an error.
20325 Use char because int might match the return type of a GCC
20326 builtin and then its argument prototype would still apply. */
20334 return __udivdi3 ();
20339 rm -f conftest.$ac_objext conftest$ac_exeext
20340 if { (ac_try="$ac_link"
20341 case "(($ac_try" in
20342 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20343 *) ac_try_echo
=$ac_try;;
20345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20346 (eval "$ac_link") 2>conftest.er1
20348 grep -v '^ *+' conftest.er1
>conftest.err
20350 cat conftest.err
>&5
20351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20352 (exit $ac_status); } &&
20353 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20354 { (case "(($ac_try" in
20355 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20356 *) ac_try_echo=$ac_try;;
20358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20359 (eval "$ac_try") 2>&5
20361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20362 (exit $ac_status); }; } &&
20363 { ac_try='test -s conftest$ac_exeext'
20364 { (case "(($ac_try" in
20365 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20366 *) ac_try_echo
=$ac_try;;
20368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20369 (eval "$ac_try") 2>&5
20371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20372 (exit $ac_status); }; }; then
20373 ac_cv_lib_gcc___udivdi3
=yes
20375 echo "$as_me: failed program was:" >&5
20376 sed 's/^/| /' conftest.
$ac_ext >&5
20378 ac_cv_lib_gcc___udivdi3
=no
20381 rm -f core conftest.err conftest.
$ac_objext \
20382 conftest
$ac_exeext conftest.
$ac_ext
20383 LIBS
=$ac_check_lib_save_LIBS
20385 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___udivdi3" >&5
20386 echo "${ECHO_T}$ac_cv_lib_gcc___udivdi3" >&6; }
20387 if test $ac_cv_lib_gcc___udivdi3 = yes; then
20389 cat >>confdefs.h
<<\_ACEOF
20390 #define HAVE___UDIVDI3 1
20395 { echo "$as_me:$LINENO: checking for __umoddi3 in -lgcc" >&5
20396 echo $ECHO_N "checking for __umoddi3 in -lgcc... $ECHO_C" >&6; }
20397 if test "${ac_cv_lib_gcc___umoddi3+set}" = set; then
20398 echo $ECHO_N "(cached) $ECHO_C" >&6
20400 ac_check_lib_save_LIBS
=$LIBS
20402 cat >conftest.
$ac_ext <<_ACEOF
20405 cat confdefs.h
>>conftest.
$ac_ext
20406 cat >>conftest.
$ac_ext <<_ACEOF
20407 /* end confdefs.h. */
20409 /* Override any GCC internal prototype to avoid an error.
20410 Use char because int might match the return type of a GCC
20411 builtin and then its argument prototype would still apply. */
20419 return __umoddi3 ();
20424 rm -f conftest.
$ac_objext conftest
$ac_exeext
20425 if { (ac_try
="$ac_link"
20426 case "(($ac_try" in
20427 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20428 *) ac_try_echo=$ac_try;;
20430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20431 (eval "$ac_link") 2>conftest.er1
20433 grep -v '^ *+' conftest.er1 >conftest.err
20435 cat conftest.err >&5
20436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20437 (exit $ac_status); } &&
20438 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20439 { (case "(($ac_try" in
20440 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20441 *) ac_try_echo
=$ac_try;;
20443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20444 (eval "$ac_try") 2>&5
20446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20447 (exit $ac_status); }; } &&
20448 { ac_try
='test -s conftest$ac_exeext'
20449 { (case "(($ac_try" in
20450 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20451 *) ac_try_echo=$ac_try;;
20453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20454 (eval "$ac_try") 2>&5
20456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20457 (exit $ac_status); }; }; then
20458 ac_cv_lib_gcc___umoddi3=yes
20460 echo "$as_me: failed program was:" >&5
20461 sed 's/^/| /' conftest.$ac_ext >&5
20463 ac_cv_lib_gcc___umoddi3=no
20466 rm -f core conftest.err conftest.$ac_objext \
20467 conftest$ac_exeext conftest.$ac_ext
20468 LIBS=$ac_check_lib_save_LIBS
20470 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___umoddi3" >&5
20471 echo "${ECHO_T}$ac_cv_lib_gcc___umoddi3" >&6; }
20472 if test $ac_cv_lib_gcc___umoddi3 = yes; then
20474 cat >>confdefs.h <<\_ACEOF
20475 #define HAVE___UMODDI3 1
20481 { echo "$as_me:$LINENO: checking for __main in -lgcc" >&5
20482 echo $ECHO_N "checking for __main in -lgcc... $ECHO_C" >&6; }
20483 if test "${ac_cv_lib_gcc___main+set}" = set; then
20484 echo $ECHO_N "(cached) $ECHO_C" >&6
20486 ac_check_lib_save_LIBS=$LIBS
20488 cat >conftest.$ac_ext <<_ACEOF
20491 cat confdefs.h >>conftest.$ac_ext
20492 cat >>conftest.$ac_ext <<_ACEOF
20493 /* end confdefs.h. */
20495 /* Override any GCC internal prototype to avoid an error.
20496 Use char because int might match the return type of a GCC
20497 builtin and then its argument prototype would still apply. */
20510 rm -f conftest.$ac_objext conftest$ac_exeext
20511 if { (ac_try="$ac_link"
20512 case "(($ac_try" in
20513 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20514 *) ac_try_echo
=$ac_try;;
20516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20517 (eval "$ac_link") 2>conftest.er1
20519 grep -v '^ *+' conftest.er1
>conftest.err
20521 cat conftest.err
>&5
20522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20523 (exit $ac_status); } &&
20524 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20525 { (case "(($ac_try" in
20526 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20527 *) ac_try_echo=$ac_try;;
20529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20530 (eval "$ac_try") 2>&5
20532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20533 (exit $ac_status); }; } &&
20534 { ac_try='test -s conftest$ac_exeext'
20535 { (case "(($ac_try" in
20536 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20537 *) ac_try_echo
=$ac_try;;
20539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20540 (eval "$ac_try") 2>&5
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); }; }; then
20544 ac_cv_lib_gcc___main
=yes
20546 echo "$as_me: failed program was:" >&5
20547 sed 's/^/| /' conftest.
$ac_ext >&5
20549 ac_cv_lib_gcc___main
=no
20552 rm -f core conftest.err conftest.
$ac_objext \
20553 conftest
$ac_exeext conftest.
$ac_ext
20554 LIBS
=$ac_check_lib_save_LIBS
20556 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___main" >&5
20557 echo "${ECHO_T}$ac_cv_lib_gcc___main" >&6; }
20558 if test $ac_cv_lib_gcc___main = yes; then
20560 cat >>confdefs.h
<<\_ACEOF
20561 #define HAVE___MAIN 1
20566 { echo "$as_me:$LINENO: checking for __cmpdi2 in -lgcc" >&5
20567 echo $ECHO_N "checking for __cmpdi2 in -lgcc... $ECHO_C" >&6; }
20568 if test "${ac_cv_lib_gcc___cmpdi2+set}" = set; then
20569 echo $ECHO_N "(cached) $ECHO_C" >&6
20571 ac_check_lib_save_LIBS
=$LIBS
20573 cat >conftest.
$ac_ext <<_ACEOF
20576 cat confdefs.h
>>conftest.
$ac_ext
20577 cat >>conftest.
$ac_ext <<_ACEOF
20578 /* end confdefs.h. */
20580 /* Override any GCC internal prototype to avoid an error.
20581 Use char because int might match the return type of a GCC
20582 builtin and then its argument prototype would still apply. */
20590 return __cmpdi2 ();
20595 rm -f conftest.
$ac_objext conftest
$ac_exeext
20596 if { (ac_try
="$ac_link"
20597 case "(($ac_try" in
20598 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20599 *) ac_try_echo=$ac_try;;
20601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20602 (eval "$ac_link") 2>conftest.er1
20604 grep -v '^ *+' conftest.er1 >conftest.err
20606 cat conftest.err >&5
20607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20608 (exit $ac_status); } &&
20609 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20610 { (case "(($ac_try" in
20611 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20612 *) ac_try_echo
=$ac_try;;
20614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20615 (eval "$ac_try") 2>&5
20617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20618 (exit $ac_status); }; } &&
20619 { ac_try
='test -s conftest$ac_exeext'
20620 { (case "(($ac_try" in
20621 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20622 *) ac_try_echo=$ac_try;;
20624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20625 (eval "$ac_try") 2>&5
20627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20628 (exit $ac_status); }; }; then
20629 ac_cv_lib_gcc___cmpdi2=yes
20631 echo "$as_me: failed program was:" >&5
20632 sed 's/^/| /' conftest.$ac_ext >&5
20634 ac_cv_lib_gcc___cmpdi2=no
20637 rm -f core conftest.err conftest.$ac_objext \
20638 conftest$ac_exeext conftest.$ac_ext
20639 LIBS=$ac_check_lib_save_LIBS
20641 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___cmpdi2" >&5
20642 echo "${ECHO_T}$ac_cv_lib_gcc___cmpdi2" >&6; }
20643 if test $ac_cv_lib_gcc___cmpdi2 = yes; then
20645 cat >>confdefs.h <<\_ACEOF
20646 #define HAVE___CMPDI2 1
20654 { echo "$as_me:$LINENO: checking for isnan in <math.h>" >&5
20655 echo $ECHO_N "checking for isnan in <math.h>... $ECHO_C" >&6; }
20656 if test "${ac_cv_func_isnan_in_math_h+set}" = set; then
20657 echo $ECHO_N "(cached) $ECHO_C" >&6
20660 ac_cpp='$CXXCPP $CPPFLAGS'
20661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20665 cat >conftest.$ac_ext <<_ACEOF
20668 cat confdefs.h >>conftest.$ac_ext
20669 cat >>conftest.$ac_ext <<_ACEOF
20670 /* end confdefs.h. */
20680 rm -f conftest.$ac_objext
20681 if { (ac_try="$ac_compile"
20682 case "(($ac_try" in
20683 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20684 *) ac_try_echo
=$ac_try;;
20686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20687 (eval "$ac_compile") 2>conftest.er1
20689 grep -v '^ *+' conftest.er1
>conftest.err
20691 cat conftest.err
>&5
20692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20693 (exit $ac_status); } &&
20694 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20695 { (case "(($ac_try" in
20696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20697 *) ac_try_echo=$ac_try;;
20699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20700 (eval "$ac_try") 2>&5
20702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20703 (exit $ac_status); }; } &&
20704 { ac_try='test -s conftest.$ac_objext'
20705 { (case "(($ac_try" in
20706 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20707 *) ac_try_echo
=$ac_try;;
20709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20710 (eval "$ac_try") 2>&5
20712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20713 (exit $ac_status); }; }; then
20714 ac_cv_func_isnan_in_math_h
=yes
20716 echo "$as_me: failed program was:" >&5
20717 sed 's/^/| /' conftest.
$ac_ext >&5
20719 ac_cv_func_isnan_in_math_h
=no
20722 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20724 ac_cpp
='$CPP $CPPFLAGS'
20725 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20726 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20727 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20730 { echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_math_h" >&5
20731 echo "${ECHO_T}$ac_cv_func_isnan_in_math_h" >&6; }
20734 if test "$ac_cv_func_isnan_in_math_h" = "yes" ; then
20736 cat >>confdefs.h
<<\_ACEOF
20737 #define HAVE_ISNAN_IN_MATH_H 1
20742 { echo "$as_me:$LINENO: checking for isnan in <cmath>" >&5
20743 echo $ECHO_N "checking for isnan in <cmath>... $ECHO_C" >&6; }
20744 if test "${ac_cv_func_isnan_in_cmath+set}" = set; then
20745 echo $ECHO_N "(cached) $ECHO_C" >&6
20748 ac_cpp
='$CXXCPP $CPPFLAGS'
20749 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20750 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20751 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20753 cat >conftest.
$ac_ext <<_ACEOF
20756 cat confdefs.h
>>conftest.
$ac_ext
20757 cat >>conftest.
$ac_ext <<_ACEOF
20758 /* end confdefs.h. */
20768 rm -f conftest.
$ac_objext
20769 if { (ac_try
="$ac_compile"
20770 case "(($ac_try" in
20771 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20772 *) ac_try_echo=$ac_try;;
20774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20775 (eval "$ac_compile") 2>conftest.er1
20777 grep -v '^ *+' conftest.er1 >conftest.err
20779 cat conftest.err >&5
20780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781 (exit $ac_status); } &&
20782 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20783 { (case "(($ac_try" in
20784 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20785 *) ac_try_echo
=$ac_try;;
20787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20788 (eval "$ac_try") 2>&5
20790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20791 (exit $ac_status); }; } &&
20792 { ac_try
='test -s conftest.$ac_objext'
20793 { (case "(($ac_try" in
20794 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20795 *) ac_try_echo=$ac_try;;
20797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20798 (eval "$ac_try") 2>&5
20800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20801 (exit $ac_status); }; }; then
20802 ac_cv_func_isnan_in_cmath=yes
20804 echo "$as_me: failed program was:" >&5
20805 sed 's/^/| /' conftest.$ac_ext >&5
20807 ac_cv_func_isnan_in_cmath=no
20810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20812 ac_cpp='$CPP $CPPFLAGS'
20813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20818 { echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_cmath" >&5
20819 echo "${ECHO_T}$ac_cv_func_isnan_in_cmath" >&6; }
20821 if test "$ac_cv_func_isnan_in_cmath" = "yes" ; then
20823 cat >>confdefs.h <<\_ACEOF
20824 #define HAVE_ISNAN_IN_CMATH 1
20829 { echo "$as_me:$LINENO: checking for std::isnan in <cmath>" >&5
20830 echo $ECHO_N "checking for std::isnan in <cmath>... $ECHO_C" >&6; }
20831 if test "${ac_cv_func_std_isnan_in_cmath+set}" = set; then
20832 echo $ECHO_N "(cached) $ECHO_C" >&6
20835 ac_cpp='$CXXCPP $CPPFLAGS'
20836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20840 cat >conftest.$ac_ext <<_ACEOF
20843 cat confdefs.h >>conftest.$ac_ext
20844 cat >>conftest.$ac_ext <<_ACEOF
20845 /* end confdefs.h. */
20850 float f; std::isnan(f);
20855 rm -f conftest.$ac_objext
20856 if { (ac_try="$ac_compile"
20857 case "(($ac_try" in
20858 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20859 *) ac_try_echo
=$ac_try;;
20861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20862 (eval "$ac_compile") 2>conftest.er1
20864 grep -v '^ *+' conftest.er1
>conftest.err
20866 cat conftest.err
>&5
20867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20868 (exit $ac_status); } &&
20869 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20870 { (case "(($ac_try" in
20871 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20872 *) ac_try_echo=$ac_try;;
20874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20875 (eval "$ac_try") 2>&5
20877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20878 (exit $ac_status); }; } &&
20879 { ac_try='test -s conftest.$ac_objext'
20880 { (case "(($ac_try" in
20881 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20882 *) ac_try_echo
=$ac_try;;
20884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20885 (eval "$ac_try") 2>&5
20887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20888 (exit $ac_status); }; }; then
20889 ac_cv_func_std_isnan_in_cmath
=yes
20891 echo "$as_me: failed program was:" >&5
20892 sed 's/^/| /' conftest.
$ac_ext >&5
20894 ac_cv_func_std_isnan_in_cmath
=no
20897 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20899 ac_cpp
='$CPP $CPPFLAGS'
20900 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20901 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20902 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20905 { echo "$as_me:$LINENO: result: $ac_cv_func_std_isnan_in_cmath" >&5
20906 echo "${ECHO_T}$ac_cv_func_std_isnan_in_cmath" >&6; }
20908 if test "$ac_cv_func_std_isnan_in_cmath" = "yes" ; then
20910 cat >>confdefs.h
<<\_ACEOF
20911 #define HAVE_STD_ISNAN_IN_CMATH 1
20917 { echo "$as_me:$LINENO: checking for isinf in <math.h>" >&5
20918 echo $ECHO_N "checking for isinf in <math.h>... $ECHO_C" >&6; }
20919 if test "${ac_cv_func_isinf_in_math_h+set}" = set; then
20920 echo $ECHO_N "(cached) $ECHO_C" >&6
20923 ac_cpp
='$CXXCPP $CPPFLAGS'
20924 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20925 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20926 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20928 cat >conftest.
$ac_ext <<_ACEOF
20931 cat confdefs.h
>>conftest.
$ac_ext
20932 cat >>conftest.
$ac_ext <<_ACEOF
20933 /* end confdefs.h. */
20943 rm -f conftest.
$ac_objext
20944 if { (ac_try
="$ac_compile"
20945 case "(($ac_try" in
20946 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20947 *) ac_try_echo=$ac_try;;
20949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20950 (eval "$ac_compile") 2>conftest.er1
20952 grep -v '^ *+' conftest.er1 >conftest.err
20954 cat conftest.err >&5
20955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20956 (exit $ac_status); } &&
20957 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20958 { (case "(($ac_try" in
20959 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20960 *) ac_try_echo
=$ac_try;;
20962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20963 (eval "$ac_try") 2>&5
20965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20966 (exit $ac_status); }; } &&
20967 { ac_try
='test -s conftest.$ac_objext'
20968 { (case "(($ac_try" in
20969 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20970 *) ac_try_echo=$ac_try;;
20972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20973 (eval "$ac_try") 2>&5
20975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20976 (exit $ac_status); }; }; then
20977 ac_cv_func_isinf_in_math_h=yes
20979 echo "$as_me: failed program was:" >&5
20980 sed 's/^/| /' conftest.$ac_ext >&5
20982 ac_cv_func_isinf_in_math_h=no
20985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20987 ac_cpp='$CPP $CPPFLAGS'
20988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20993 { echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_math_h" >&5
20994 echo "${ECHO_T}$ac_cv_func_isinf_in_math_h" >&6; }
20996 if test "$ac_cv_func_isinf_in_math_h" = "yes" ; then
20998 cat >>confdefs.h <<\_ACEOF
20999 #define HAVE_ISINF_IN_MATH_H 1
21004 { echo "$as_me:$LINENO: checking for isinf in <cmath>" >&5
21005 echo $ECHO_N "checking for isinf in <cmath>... $ECHO_C" >&6; }
21006 if test "${ac_cv_func_isinf_in_cmath+set}" = set; then
21007 echo $ECHO_N "(cached) $ECHO_C" >&6
21010 ac_cpp='$CXXCPP $CPPFLAGS'
21011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21015 cat >conftest.$ac_ext <<_ACEOF
21018 cat confdefs.h >>conftest.$ac_ext
21019 cat >>conftest.$ac_ext <<_ACEOF
21020 /* end confdefs.h. */
21030 rm -f conftest.$ac_objext
21031 if { (ac_try="$ac_compile"
21032 case "(($ac_try" in
21033 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21034 *) ac_try_echo
=$ac_try;;
21036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21037 (eval "$ac_compile") 2>conftest.er1
21039 grep -v '^ *+' conftest.er1
>conftest.err
21041 cat conftest.err
>&5
21042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043 (exit $ac_status); } &&
21044 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21045 { (case "(($ac_try" in
21046 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21047 *) ac_try_echo=$ac_try;;
21049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21050 (eval "$ac_try") 2>&5
21052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21053 (exit $ac_status); }; } &&
21054 { ac_try='test -s conftest.$ac_objext'
21055 { (case "(($ac_try" in
21056 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21057 *) ac_try_echo
=$ac_try;;
21059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21060 (eval "$ac_try") 2>&5
21062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21063 (exit $ac_status); }; }; then
21064 ac_cv_func_isinf_in_cmath
=yes
21066 echo "$as_me: failed program was:" >&5
21067 sed 's/^/| /' conftest.
$ac_ext >&5
21069 ac_cv_func_isinf_in_cmath
=no
21072 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21074 ac_cpp
='$CPP $CPPFLAGS'
21075 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21076 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21077 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21080 { echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_cmath" >&5
21081 echo "${ECHO_T}$ac_cv_func_isinf_in_cmath" >&6; }
21083 if test "$ac_cv_func_isinf_in_cmath" = "yes" ; then
21085 cat >>confdefs.h
<<\_ACEOF
21086 #define HAVE_ISINF_IN_CMATH 1
21091 { echo "$as_me:$LINENO: checking for std::isinf in <cmath>" >&5
21092 echo $ECHO_N "checking for std::isinf in <cmath>... $ECHO_C" >&6; }
21093 if test "${ac_cv_func_std_isinf_in_cmath+set}" = set; then
21094 echo $ECHO_N "(cached) $ECHO_C" >&6
21097 ac_cpp
='$CXXCPP $CPPFLAGS'
21098 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21099 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21100 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21102 cat >conftest.
$ac_ext <<_ACEOF
21105 cat confdefs.h
>>conftest.
$ac_ext
21106 cat >>conftest.
$ac_ext <<_ACEOF
21107 /* end confdefs.h. */
21112 float f; std::isinf(f)}
21117 rm -f conftest.
$ac_objext
21118 if { (ac_try
="$ac_compile"
21119 case "(($ac_try" in
21120 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21121 *) ac_try_echo=$ac_try;;
21123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21124 (eval "$ac_compile") 2>conftest.er1
21126 grep -v '^ *+' conftest.er1 >conftest.err
21128 cat conftest.err >&5
21129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21130 (exit $ac_status); } &&
21131 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21132 { (case "(($ac_try" in
21133 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21134 *) ac_try_echo
=$ac_try;;
21136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21137 (eval "$ac_try") 2>&5
21139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21140 (exit $ac_status); }; } &&
21141 { ac_try
='test -s conftest.$ac_objext'
21142 { (case "(($ac_try" in
21143 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21144 *) ac_try_echo=$ac_try;;
21146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21147 (eval "$ac_try") 2>&5
21149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21150 (exit $ac_status); }; }; then
21151 ac_cv_func_std_isinf_in_cmath=yes
21153 echo "$as_me: failed program was:" >&5
21154 sed 's/^/| /' conftest.$ac_ext >&5
21156 ac_cv_func_std_isinf_in_cmath=no
21159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21161 ac_cpp='$CPP $CPPFLAGS'
21162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21167 { echo "$as_me:$LINENO: result: $ac_cv_func_std_isinf_in_cmath" >&5
21168 echo "${ECHO_T}$ac_cv_func_std_isinf_in_cmath" >&6; }
21170 if test "$ac_cv_func_std_isinf_in_cmath" = "yes" ; then
21172 cat >>confdefs.h <<\_ACEOF
21173 #define HAVE_STD_ISINF_IN_CMATH 1
21178 { echo "$as_me:$LINENO: checking for finite in <ieeefp.h>" >&5
21179 echo $ECHO_N "checking for finite in <ieeefp.h>... $ECHO_C" >&6; }
21180 if test "${ac_cv_func_finite_in_ieeefp_h+set}" = set; then
21181 echo $ECHO_N "(cached) $ECHO_C" >&6
21184 ac_cpp='$CXXCPP $CPPFLAGS'
21185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21189 cat >conftest.$ac_ext <<_ACEOF
21192 cat confdefs.h >>conftest.$ac_ext
21193 cat >>conftest.$ac_ext <<_ACEOF
21194 /* end confdefs.h. */
21195 #include <ieeefp.h>
21199 float f; finite(f);
21204 rm -f conftest.$ac_objext
21205 if { (ac_try="$ac_compile"
21206 case "(($ac_try" in
21207 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21208 *) ac_try_echo
=$ac_try;;
21210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21211 (eval "$ac_compile") 2>conftest.er1
21213 grep -v '^ *+' conftest.er1
>conftest.err
21215 cat conftest.err
>&5
21216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21217 (exit $ac_status); } &&
21218 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21219 { (case "(($ac_try" in
21220 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21221 *) ac_try_echo=$ac_try;;
21223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21224 (eval "$ac_try") 2>&5
21226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21227 (exit $ac_status); }; } &&
21228 { ac_try='test -s conftest.$ac_objext'
21229 { (case "(($ac_try" in
21230 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21231 *) ac_try_echo
=$ac_try;;
21233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21234 (eval "$ac_try") 2>&5
21236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21237 (exit $ac_status); }; }; then
21238 ac_cv_func_finite_in_ieeefp_h
=yes
21240 echo "$as_me: failed program was:" >&5
21241 sed 's/^/| /' conftest.
$ac_ext >&5
21243 ac_cv_func_finite_in_ieeefp_h
=no
21246 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21248 ac_cpp
='$CPP $CPPFLAGS'
21249 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21250 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21251 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21254 { echo "$as_me:$LINENO: result: $ac_cv_func_finite_in_ieeefp_h" >&5
21255 echo "${ECHO_T}$ac_cv_func_finite_in_ieeefp_h" >&6; }
21257 if test "$ac_cv_func_finite_in_ieeefp_h" = "yes" ; then
21259 cat >>confdefs.h
<<\_ACEOF
21260 #define HAVE_FINITE_IN_IEEEFP_H 1
21267 if test "$llvm_cv_platform_type" = "Unix" ; then
21270 for ac_header
in stdlib.h unistd.h
21272 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21273 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21274 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21275 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21276 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21277 echo $ECHO_N "(cached) $ECHO_C" >&6
21279 ac_res
=`eval echo '${'$as_ac_Header'}'`
21280 { echo "$as_me:$LINENO: result: $ac_res" >&5
21281 echo "${ECHO_T}$ac_res" >&6; }
21283 # Is the header compilable?
21284 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
21285 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21286 cat >conftest.
$ac_ext <<_ACEOF
21289 cat confdefs.h
>>conftest.
$ac_ext
21290 cat >>conftest.
$ac_ext <<_ACEOF
21291 /* end confdefs.h. */
21292 $ac_includes_default
21293 #include <$ac_header>
21295 rm -f conftest.
$ac_objext
21296 if { (ac_try
="$ac_compile"
21297 case "(($ac_try" in
21298 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21299 *) ac_try_echo=$ac_try;;
21301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21302 (eval "$ac_compile") 2>conftest.er1
21304 grep -v '^ *+' conftest.er1 >conftest.err
21306 cat conftest.err >&5
21307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21308 (exit $ac_status); } &&
21309 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21310 { (case "(($ac_try" in
21311 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21312 *) ac_try_echo
=$ac_try;;
21314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21315 (eval "$ac_try") 2>&5
21317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21318 (exit $ac_status); }; } &&
21319 { ac_try
='test -s conftest.$ac_objext'
21320 { (case "(($ac_try" in
21321 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21322 *) ac_try_echo=$ac_try;;
21324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21325 (eval "$ac_try") 2>&5
21327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21328 (exit $ac_status); }; }; then
21329 ac_header_compiler=yes
21331 echo "$as_me: failed program was:" >&5
21332 sed 's/^/| /' conftest.$ac_ext >&5
21334 ac_header_compiler=no
21337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21338 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21339 echo "${ECHO_T}$ac_header_compiler" >&6; }
21341 # Is the header present?
21342 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
21343 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21344 cat >conftest.$ac_ext <<_ACEOF
21347 cat confdefs.h >>conftest.$ac_ext
21348 cat >>conftest.$ac_ext <<_ACEOF
21349 /* end confdefs.h. */
21350 #include <$ac_header>
21352 if { (ac_try="$ac_cpp conftest.$ac_ext"
21353 case "(($ac_try" in
21354 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21355 *) ac_try_echo
=$ac_try;;
21357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21358 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21360 grep -v '^ *+' conftest.er1
>conftest.err
21362 cat conftest.err
>&5
21363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21364 (exit $ac_status); } >/dev
/null
; then
21365 if test -s conftest.err
; then
21366 ac_cpp_err
=$ac_c_preproc_warn_flag
21367 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21374 if test -z "$ac_cpp_err"; then
21375 ac_header_preproc
=yes
21377 echo "$as_me: failed program was:" >&5
21378 sed 's/^/| /' conftest.
$ac_ext >&5
21380 ac_header_preproc
=no
21383 rm -f conftest.err conftest.
$ac_ext
21384 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21385 echo "${ECHO_T}$ac_header_preproc" >&6; }
21387 # So? What about this header?
21388 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21390 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21391 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21392 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21393 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21394 ac_header_preproc
=yes
21397 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21398 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21399 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21400 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21401 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21402 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21403 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21404 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21405 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21406 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21407 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21408 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21410 ## ----------------------------------- ##
21411 ## Report this to llvmbugs@cs.uiuc.edu ##
21412 ## ----------------------------------- ##
21414 ) |
sed "s/^/$as_me: WARNING: /" >&2
21417 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21419 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21420 echo $ECHO_N "(cached) $ECHO_C" >&6
21422 eval "$as_ac_Header=\$ac_header_preproc"
21424 ac_res
=`eval echo '${'$as_ac_Header'}'`
21425 { echo "$as_me:$LINENO: result: $ac_res" >&5
21426 echo "${ECHO_T}$ac_res" >&6; }
21429 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21430 cat >>confdefs.h
<<_ACEOF
21431 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21439 for ac_func
in getpagesize
21441 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21442 { echo "$as_me:$LINENO: checking for $ac_func" >&5
21443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21444 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21445 echo $ECHO_N "(cached) $ECHO_C" >&6
21447 cat >conftest.
$ac_ext <<_ACEOF
21450 cat confdefs.h
>>conftest.
$ac_ext
21451 cat >>conftest.
$ac_ext <<_ACEOF
21452 /* end confdefs.h. */
21453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21455 #define $ac_func innocuous_$ac_func
21457 /* System header to define __stub macros and hopefully few prototypes,
21458 which can conflict with char $ac_func (); below.
21459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21460 <limits.h> exists even on freestanding compilers. */
21463 # include <limits.h>
21465 # include <assert.h>
21470 /* Override any GCC internal prototype to avoid an error.
21471 Use char because int might match the return type of a GCC
21472 builtin and then its argument prototype would still apply. */
21477 /* The GNU C library defines this for functions which it implements
21478 to always fail with ENOSYS. Some functions are actually named
21479 something starting with __ and the normal name is an alias. */
21480 #if defined __stub_$ac_func || defined __stub___$ac_func
21487 return $ac_func ();
21492 rm -f conftest.
$ac_objext conftest
$ac_exeext
21493 if { (ac_try
="$ac_link"
21494 case "(($ac_try" in
21495 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21496 *) ac_try_echo=$ac_try;;
21498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21499 (eval "$ac_link") 2>conftest.er1
21501 grep -v '^ *+' conftest.er1 >conftest.err
21503 cat conftest.err >&5
21504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21505 (exit $ac_status); } &&
21506 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21507 { (case "(($ac_try" in
21508 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21509 *) ac_try_echo
=$ac_try;;
21511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21512 (eval "$ac_try") 2>&5
21514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21515 (exit $ac_status); }; } &&
21516 { ac_try
='test -s conftest$ac_exeext'
21517 { (case "(($ac_try" in
21518 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21519 *) ac_try_echo=$ac_try;;
21521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21522 (eval "$ac_try") 2>&5
21524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21525 (exit $ac_status); }; }; then
21526 eval "$as_ac_var=yes"
21528 echo "$as_me: failed program was:" >&5
21529 sed 's/^/| /' conftest.$ac_ext >&5
21531 eval "$as_ac_var=no"
21534 rm -f core conftest.err conftest.$ac_objext \
21535 conftest$ac_exeext conftest.$ac_ext
21537 ac_res=`eval echo '${'$as_ac_var'}'`
21538 { echo "$as_me:$LINENO: result: $ac_res" >&5
21539 echo "${ECHO_T}$ac_res" >&6; }
21540 if test `eval echo '${'$as_ac_var'}'` = yes; then
21541 cat >>confdefs.h <<_ACEOF
21542 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
21548 { echo "$as_me:$LINENO: checking for working mmap" >&5
21549 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
21550 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
21551 echo $ECHO_N "(cached) $ECHO_C" >&6
21553 if test "$cross_compiling" = yes; then
21554 ac_cv_func_mmap_fixed_mapped=no
21556 cat >conftest.$ac_ext <<_ACEOF
21559 cat confdefs.h >>conftest.$ac_ext
21560 cat >>conftest.$ac_ext <<_ACEOF
21561 /* end confdefs.h. */
21562 $ac_includes_default
21563 /* malloc might have been renamed as rpl_malloc. */
21566 /* Thanks to Mike Haertel and Jim Avera for this test.
21567 Here is a matrix of mmap possibilities:
21568 mmap private not fixed
21569 mmap private fixed at somewhere currently unmapped
21570 mmap private fixed at somewhere already mapped
21571 mmap shared not fixed
21572 mmap shared fixed at somewhere currently unmapped
21573 mmap shared fixed at somewhere already mapped
21574 For private mappings, we should verify that changes cannot be read()
21575 back from the file, nor mmap's back from the file at a different
21576 address. (There have been systems where private was not correctly
21577 implemented like the infamous i386 svr4.0, and systems where the
21578 VM page cache was not coherent with the file system buffer cache
21579 like early versions of FreeBSD and possibly contemporary NetBSD.)
21580 For shared mappings, we should conversely verify that changes get
21581 propagated back to all the places they're supposed to be.
21583 Grep wants private fixed already mapped.
21584 The main things grep needs to know about mmap are:
21585 * does it exist and is it safe to write into the mmap'd area
21586 * how to use it (BSD variants) */
21589 #include <sys/mman.h>
21591 #if !STDC_HEADERS && !HAVE_STDLIB_H
21595 /* This mess was copied from the GNU getpagesize.h. */
21596 #if !HAVE_GETPAGESIZE
21597 /* Assume that all systems that can run configure have sys/param.h. */
21598 # if !HAVE_SYS_PARAM_H
21599 # define HAVE_SYS_PARAM_H 1
21602 # ifdef _SC_PAGESIZE
21603 # define getpagesize() sysconf(_SC_PAGESIZE)
21604 # else /* no _SC_PAGESIZE */
21605 # if HAVE_SYS_PARAM_H
21606 # include <sys/param.h>
21607 # ifdef EXEC_PAGESIZE
21608 # define getpagesize() EXEC_PAGESIZE
21609 # else /* no EXEC_PAGESIZE */
21611 # define getpagesize() NBPG * CLSIZE
21614 # endif /* no CLSIZE */
21615 # else /* no NBPG */
21617 # define getpagesize() NBPC
21618 # else /* no NBPC */
21620 # define getpagesize() PAGESIZE
21621 # endif /* PAGESIZE */
21622 # endif /* no NBPC */
21623 # endif /* no NBPG */
21624 # endif /* no EXEC_PAGESIZE */
21625 # else /* no HAVE_SYS_PARAM_H */
21626 # define getpagesize() 8192 /* punt totally */
21627 # endif /* no HAVE_SYS_PARAM_H */
21628 # endif /* no _SC_PAGESIZE */
21630 #endif /* no HAVE_GETPAGESIZE */
21635 char *data, *data2, *data3;
21639 pagesize = getpagesize ();
21641 /* First, make a file with some known garbage in it. */
21642 data = (char *) malloc (pagesize);
21645 for (i = 0; i < pagesize; ++i)
21646 *(data + i) = rand ();
21648 fd = creat ("conftest.mmap", 0600);
21651 if (write (fd, data, pagesize) != pagesize)
21655 /* Next, try to mmap the file at a fixed address which already has
21656 something else allocated at it. If we can, also make sure that
21657 we see the same garbage. */
21658 fd = open ("conftest.mmap", O_RDWR);
21661 data2 = (char *) malloc (2 * pagesize);
21664 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
21665 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
21666 MAP_PRIVATE | MAP_FIXED, fd, 0L))
21668 for (i = 0; i < pagesize; ++i)
21669 if (*(data + i) != *(data2 + i))
21672 /* Finally, make sure that changes to the mapped area do not
21673 percolate back to the file as seen by read(). (This is a bug on
21674 some variants of i386 svr4.0.) */
21675 for (i = 0; i < pagesize; ++i)
21676 *(data2 + i) = *(data2 + i) + 1;
21677 data3 = (char *) malloc (pagesize);
21680 if (read (fd, data3, pagesize) != pagesize)
21682 for (i = 0; i < pagesize; ++i)
21683 if (*(data + i) != *(data3 + i))
21689 rm -f conftest$ac_exeext
21690 if { (ac_try="$ac_link"
21691 case "(($ac_try" in
21692 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21693 *) ac_try_echo
=$ac_try;;
21695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21696 (eval "$ac_link") 2>&5
21698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21699 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21700 { (case "(($ac_try" in
21701 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21702 *) ac_try_echo=$ac_try;;
21704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21705 (eval "$ac_try") 2>&5
21707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21708 (exit $ac_status); }; }; then
21709 ac_cv_func_mmap_fixed_mapped=yes
21711 echo "$as_me: program exited with status $ac_status" >&5
21712 echo "$as_me: failed program was:" >&5
21713 sed 's/^/| /' conftest.$ac_ext >&5
21715 ( exit $ac_status )
21716 ac_cv_func_mmap_fixed_mapped=no
21718 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21723 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
21724 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
21725 if test $ac_cv_func_mmap_fixed_mapped = yes; then
21727 cat >>confdefs.h <<\_ACEOF
21728 #define HAVE_MMAP 1
21732 rm -f conftest.mmap
21734 { echo "$as_me:$LINENO: checking for mmap of files" >&5
21735 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6; }
21736 if test "${ac_cv_func_mmap_file+set}" = set; then
21737 echo $ECHO_N "(cached) $ECHO_C" >&6
21740 ac_cpp='$CPP $CPPFLAGS'
21741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21745 if test "$cross_compiling" = yes; then
21746 ac_cv_func_mmap_file=no
21748 cat >conftest.$ac_ext <<_ACEOF
21752 cat confdefs.h >>conftest.$ac_ext
21753 cat >>conftest.$ac_ext <<_ACEOF
21754 /* end confdefs.h. */
21756 #include <sys/types.h>
21757 #include <sys/mman.h>
21765 fd = creat ("foo",0777);
21766 fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0);
21768 return (fd != (int) MAP_FAILED);
21773 rm -f conftest$ac_exeext
21774 if { (ac_try="$ac_link"
21775 case "(($ac_try" in
21776 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21777 *) ac_try_echo
=$ac_try;;
21779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21780 (eval "$ac_link") 2>&5
21782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21783 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21784 { (case "(($ac_try" in
21785 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21786 *) ac_try_echo=$ac_try;;
21788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21789 (eval "$ac_try") 2>&5
21791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21792 (exit $ac_status); }; }; then
21793 ac_cv_func_mmap_file=yes
21795 echo "$as_me: program exited with status $ac_status" >&5
21796 echo "$as_me: failed program was:" >&5
21797 sed 's/^/| /' conftest.$ac_ext >&5
21799 ( exit $ac_status )
21800 ac_cv_func_mmap_file=no
21802 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21807 ac_cpp='$CPP $CPPFLAGS'
21808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21814 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
21815 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6; }
21816 if test "$ac_cv_func_mmap_file" = yes; then
21818 cat >>confdefs.h <<\_ACEOF
21819 #define HAVE_MMAP_FILE
21826 { echo "$as_me:$LINENO: checking if /dev/zero is needed for mmap" >&5
21827 echo $ECHO_N "checking if /dev/zero is needed for mmap... $ECHO_C" >&6; }
21828 if test "${ac_cv_need_dev_zero_for_mmap+set}" = set; then
21829 echo $ECHO_N "(cached) $ECHO_C" >&6
21831 if test "$llvm_cv_os_type" = "Interix" ; then
21832 ac_cv_need_dev_zero_for_mmap=yes
21834 ac_cv_need_dev_zero_for_mmap=no
21838 { echo "$as_me:$LINENO: result: $ac_cv_need_dev_zero_for_mmap" >&5
21839 echo "${ECHO_T}$ac_cv_need_dev_zero_for_mmap" >&6; }
21840 if test "$ac_cv_need_dev_zero_for_mmap" = yes; then
21842 cat >>confdefs.h <<\_ACEOF
21843 #define NEED_DEV_ZERO_FOR_MMAP 1
21848 if test "$ac_cv_func_mmap_fixed_mapped" = "no"
21850 { echo "$as_me:$LINENO: WARNING: mmap() of a fixed address required but not supported" >&5
21851 echo "$as_me: WARNING: mmap() of a fixed address required but not supported" >&2;}
21853 if test "$ac_cv_func_mmap_file" = "no"
21855 { echo "$as_me:$LINENO: WARNING: mmap() of files required but not found" >&5
21856 echo "$as_me: WARNING: mmap() of files required but not found" >&2;}
21860 { echo "$as_me:$LINENO: checking for GCC atomic builtins" >&5
21861 echo $ECHO_N "checking for GCC atomic builtins... $ECHO_C" >&6; }
21863 ac_cpp='$CXXCPP $CPPFLAGS'
21864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21868 cat >conftest.$ac_ext <<_ACEOF
21871 cat confdefs.h >>conftest.$ac_ext
21872 cat >>conftest.$ac_ext <<_ACEOF
21873 /* end confdefs.h. */
21875 volatile unsigned long val = 1;
21876 __sync_synchronize();
21877 __sync_val_compare_and_swap(&val, 1, 0);
21878 __sync_add_and_fetch(&val, 1);
21879 __sync_sub_and_fetch(&val, 1);
21884 rm -f conftest.$ac_objext conftest$ac_exeext
21885 if { (ac_try="$ac_link"
21886 case "(($ac_try" in
21887 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21888 *) ac_try_echo
=$ac_try;;
21890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21891 (eval "$ac_link") 2>conftest.er1
21893 grep -v '^ *+' conftest.er1
>conftest.err
21895 cat conftest.err
>&5
21896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21897 (exit $ac_status); } &&
21898 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21899 { (case "(($ac_try" in
21900 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21901 *) ac_try_echo=$ac_try;;
21903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21904 (eval "$ac_try") 2>&5
21906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21907 (exit $ac_status); }; } &&
21908 { ac_try='test -s conftest$ac_exeext'
21909 { (case "(($ac_try" in
21910 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21911 *) ac_try_echo
=$ac_try;;
21913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21914 (eval "$ac_try") 2>&5
21916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21917 (exit $ac_status); }; }; then
21919 ac_cpp
='$CPP $CPPFLAGS'
21920 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21921 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21922 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21924 { echo "$as_me:$LINENO: result: yes" >&5
21925 echo "${ECHO_T}yes" >&6; }
21927 cat >>confdefs.h
<<\_ACEOF
21928 #define LLVM_MULTITHREADED 1
21932 echo "$as_me: failed program was:" >&5
21933 sed 's/^/| /' conftest.
$ac_ext >&5
21935 { echo "$as_me:$LINENO: result: no" >&5
21936 echo "${ECHO_T}no" >&6; }
21938 cat >>confdefs.h
<<\_ACEOF
21939 #define LLVM_MULTITHREADED 0
21942 { echo "$as_me:$LINENO: WARNING: LLVM will be built thread-unsafe because atomic builtins are missing" >&5
21943 echo "$as_me: WARNING: LLVM will be built thread-unsafe because atomic builtins are missing" >&2;}
21946 rm -f core conftest.err conftest.
$ac_objext \
21947 conftest
$ac_exeext conftest.
$ac_ext
21950 if test "$llvm_cv_os_type" = "Linux" -a "$llvm_cv_target_arch" = "x86_64" ; then
21951 { echo "$as_me:$LINENO: checking for 32-bit userspace on 64-bit system" >&5
21952 echo $ECHO_N "checking for 32-bit userspace on 64-bit system... $ECHO_C" >&6; }
21953 if test "${llvm_cv_linux_mixed+set}" = set; then
21954 echo $ECHO_N "(cached) $ECHO_C" >&6
21957 ac_cpp
='$CPP $CPPFLAGS'
21958 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21959 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21960 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21962 cat >conftest.
$ac_ext <<_ACEOF
21965 cat confdefs.h
>>conftest.
$ac_ext
21966 cat >>conftest.
$ac_ext <<_ACEOF
21967 /* end confdefs.h. */
21969 error: Not x86-64 even if uname says so!
21980 rm -f conftest.
$ac_objext
21981 if { (ac_try
="$ac_compile"
21982 case "(($ac_try" in
21983 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21984 *) ac_try_echo=$ac_try;;
21986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21987 (eval "$ac_compile") 2>conftest.er1
21989 grep -v '^ *+' conftest.er1 >conftest.err
21991 cat conftest.err >&5
21992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21993 (exit $ac_status); } &&
21994 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21995 { (case "(($ac_try" in
21996 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21997 *) ac_try_echo
=$ac_try;;
21999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22000 (eval "$ac_try") 2>&5
22002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22003 (exit $ac_status); }; } &&
22004 { ac_try
='test -s conftest.$ac_objext'
22005 { (case "(($ac_try" in
22006 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22007 *) ac_try_echo=$ac_try;;
22009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22010 (eval "$ac_try") 2>&5
22012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22013 (exit $ac_status); }; }; then
22014 llvm_cv_linux_mixed=no
22016 echo "$as_me: failed program was:" >&5
22017 sed 's/^/| /' conftest.$ac_ext >&5
22019 llvm_cv_linux_mixed=yes
22022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22024 ac_cpp='$CPP $CPPFLAGS'
22025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22031 { echo "$as_me:$LINENO: result: $llvm_cv_linux_mixed" >&5
22032 echo "${ECHO_T}$llvm_cv_linux_mixed" >&6; }
22034 if test "$llvm_cv_linux_mixed" = "yes"; then
22035 llvm_cv_target_arch="x86"
22041 for ac_func in __dso_handle
22043 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
22044 { echo "$as_me:$LINENO: checking for $ac_func" >&5
22045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22046 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22047 echo $ECHO_N "(cached) $ECHO_C" >&6
22049 cat >conftest.$ac_ext <<_ACEOF
22052 cat confdefs.h >>conftest.$ac_ext
22053 cat >>conftest.$ac_ext <<_ACEOF
22054 /* end confdefs.h. */
22055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22057 #define $ac_func innocuous_$ac_func
22059 /* System header to define __stub macros and hopefully few prototypes,
22060 which can conflict with char $ac_func (); below.
22061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22062 <limits.h> exists even on freestanding compilers. */
22065 # include <limits.h>
22067 # include <assert.h>
22072 /* Override any GCC internal prototype to avoid an error.
22073 Use char because int might match the return type of a GCC
22074 builtin and then its argument prototype would still apply. */
22079 /* The GNU C library defines this for functions which it implements
22080 to always fail with ENOSYS. Some functions are actually named
22081 something starting with __ and the normal name is an alias. */
22082 #if defined __stub_$ac_func || defined __stub___$ac_func
22089 return $ac_func ();
22094 rm -f conftest.$ac_objext conftest$ac_exeext
22095 if { (ac_try="$ac_link"
22096 case "(($ac_try" in
22097 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22098 *) ac_try_echo
=$ac_try;;
22100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22101 (eval "$ac_link") 2>conftest.er1
22103 grep -v '^ *+' conftest.er1
>conftest.err
22105 cat conftest.err
>&5
22106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22107 (exit $ac_status); } &&
22108 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22109 { (case "(($ac_try" in
22110 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22111 *) ac_try_echo=$ac_try;;
22113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22114 (eval "$ac_try") 2>&5
22116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22117 (exit $ac_status); }; } &&
22118 { ac_try='test -s conftest$ac_exeext'
22119 { (case "(($ac_try" in
22120 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22121 *) ac_try_echo
=$ac_try;;
22123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22124 (eval "$ac_try") 2>&5
22126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22127 (exit $ac_status); }; }; then
22128 eval "$as_ac_var=yes"
22130 echo "$as_me: failed program was:" >&5
22131 sed 's/^/| /' conftest.
$ac_ext >&5
22133 eval "$as_ac_var=no"
22136 rm -f core conftest.err conftest.
$ac_objext \
22137 conftest
$ac_exeext conftest.
$ac_ext
22139 ac_res
=`eval echo '${'$as_ac_var'}'`
22140 { echo "$as_me:$LINENO: result: $ac_res" >&5
22141 echo "${ECHO_T}$ac_res" >&6; }
22142 if test `eval echo '${'$as_ac_var'}'` = yes; then
22143 cat >>confdefs.h
<<_ACEOF
22144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22151 { echo "$as_me:$LINENO: checking whether llvm-gcc is dragonegg" >&5
22152 echo $ECHO_N "checking whether llvm-gcc is dragonegg... $ECHO_C" >&6; }
22153 if test "${llvm_cv_llvmgcc_dragonegg+set}" = set; then
22154 echo $ECHO_N "(cached) $ECHO_C" >&6
22156 llvm_cv_llvmgcc_dragonegg
="no"
22157 if test -n "$LLVMGCC" ; then
22158 cp /dev
/null conftest.c
22159 $LLVMGCC -fplugin-arg-dragonegg-emit-ir -S -o - conftest.c
> /dev
/null
2>&1
22160 if test $?
-eq 0 ; then
22161 llvm_cv_llvmgcc_dragonegg
="yes"
22166 { echo "$as_me:$LINENO: result: $llvm_cv_llvmgcc_dragonegg" >&5
22167 echo "${ECHO_T}$llvm_cv_llvmgcc_dragonegg" >&6; }
22169 if test "$llvm_cv_llvmgcc_dragonegg" = "yes" ; then
22170 LLVMCC_EMITIR_FLAG
="-fplugin-arg-dragonegg-emit-ir"
22171 LLVMCC_DISABLEOPT_FLAGS
="-fplugin-arg-dragonegg-disable-llvm-optzns"
22173 LLVMCC_EMITIR_FLAG
="-emit-llvm"
22174 LLVMCC_DISABLEOPT_FLAGS
="-mllvm -disable-llvm-optzns"
22179 { echo "$as_me:$LINENO: checking whether llvm-gcc is sane" >&5
22180 echo $ECHO_N "checking whether llvm-gcc is sane... $ECHO_C" >&6; }
22181 if test "${llvm_cv_llvmgcc_sanity+set}" = set; then
22182 echo $ECHO_N "(cached) $ECHO_C" >&6
22184 llvm_cv_llvmgcc_sanity
="no"
22185 if test -n "$LLVMGCC" ; then
22186 cp /dev
/null conftest.c
22187 $LLVMGCC "$LLVMCC_EMITIR_FLAG" -S -o - conftest.c | \
22188 grep 'target datalayout =' > /dev
/null
2>&1
22189 if test $?
-eq 0 ; then
22190 llvm_cv_llvmgcc_sanity
="yes"
22195 { echo "$as_me:$LINENO: result: $llvm_cv_llvmgcc_sanity" >&5
22196 echo "${ECHO_T}$llvm_cv_llvmgcc_sanity" >&6; }
22198 if test "$llvm_cv_llvmgcc_sanity" = "yes" ; then
22199 { echo "$as_me:$LINENO: checking llvm-gcc component support" >&5
22200 echo $ECHO_N "checking llvm-gcc component support... $ECHO_C" >&6; }
22201 llvmcc1path
=`$LLVMGCC --print-prog-name=cc1`
22202 LLVMCC1
=$llvmcc1path
22204 llvmcc1pluspath
=`$LLVMGCC --print-prog-name=cc1plus`
22205 LLVMCC1PLUS
=$llvmcc1pluspath
22207 llvmgccdir
=`echo "$llvmcc1path" | sed 's,/libexec/.*,,'`
22208 LLVMGCCDIR
=$llvmgccdir
22210 llvmgcclangs
=`$LLVMGCC -v --help 2>&1 | grep '^Configured with:' | sed 's/^.*--enable-languages=\([^ ]*\).*/\1/'`
22211 LLVMGCC_LANGS
=$llvmgcclangs
22213 LLVMGCC_DRAGONEGG
=$llvm_cv_llvmgcc_dragonegg
22216 { echo "$as_me:$LINENO: result: ok" >&5
22217 echo "${ECHO_T}ok" >&6; }
22220 SHLIBEXT
=$libltdl_cv_shlibext
22223 SHLIBPATH_VAR
=$libltdl_cv_shlibpath_var
22226 # Translate the various configuration directories and other basic
22227 # information into substitutions that will end up in Makefile.config.in
22228 # that these configured values can be used by the makefiles
22229 if test "${prefix}" = "NONE" ; then
22230 prefix
="/usr/local"
22232 eval LLVM_PREFIX
="${prefix}";
22233 eval LLVM_BINDIR
="${prefix}/bin";
22234 eval LLVM_LIBDIR
="${prefix}/lib";
22235 eval LLVM_DATADIR
="${prefix}/share/llvm";
22236 eval LLVM_DOCSDIR
="${prefix}/share/doc/llvm";
22237 eval LLVM_ETCDIR
="${prefix}/etc/llvm";
22238 eval LLVM_INCLUDEDIR
="${prefix}/include";
22239 eval LLVM_INFODIR
="${prefix}/info";
22240 eval LLVM_MANDIR
="${prefix}/man";
22241 LLVM_CONFIGTIME
=`date`
22253 # Place the various directores into the config.h file as #defines so that we
22254 # can know about the installation paths within LLVM.
22256 cat >>confdefs.h
<<_ACEOF
22257 #define LLVM_PREFIX "$LLVM_PREFIX"
22261 cat >>confdefs.h
<<_ACEOF
22262 #define LLVM_BINDIR "$LLVM_BINDIR"
22266 cat >>confdefs.h
<<_ACEOF
22267 #define LLVM_LIBDIR "$LLVM_LIBDIR"
22271 cat >>confdefs.h
<<_ACEOF
22272 #define LLVM_DATADIR "$LLVM_DATADIR"
22276 cat >>confdefs.h
<<_ACEOF
22277 #define LLVM_DOCSDIR "$LLVM_DOCSDIR"
22281 cat >>confdefs.h
<<_ACEOF
22282 #define LLVM_ETCDIR "$LLVM_ETCDIR"
22286 cat >>confdefs.h
<<_ACEOF
22287 #define LLVM_INCLUDEDIR "$LLVM_INCLUDEDIR"
22291 cat >>confdefs.h
<<_ACEOF
22292 #define LLVM_INFODIR "$LLVM_INFODIR"
22296 cat >>confdefs.h
<<_ACEOF
22297 #define LLVM_MANDIR "$LLVM_MANDIR"
22301 cat >>confdefs.h
<<_ACEOF
22302 #define LLVM_CONFIGTIME "$LLVM_CONFIGTIME"
22306 cat >>confdefs.h
<<_ACEOF
22307 #define LLVM_HOSTTRIPLE "$host"
22311 # Determine which bindings to build.
22312 if test "$BINDINGS_TO_BUILD" = auto
; then
22313 BINDINGS_TO_BUILD
=""
22314 if test "x$OCAMLC" != x
-a "x$OCAMLDEP" != x
; then
22315 BINDINGS_TO_BUILD
="ocaml $BINDINGS_TO_BUILD"
22318 BINDINGS_TO_BUILD
=$BINDINGS_TO_BUILD
22321 # This isn't really configurey, but it avoids having to repeat the list in
22326 # Do any work necessary to ensure that bindings have what they need.
22327 binding_prereqs_failed
=0
22328 for a_binding
in $BINDINGS_TO_BUILD ; do
22329 case "$a_binding" in
22331 if test "x$OCAMLC" = x
; then
22332 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamlc not found. Try configure OCAMLC=/path/to/ocamlc" >&5
22333 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamlc not found. Try configure OCAMLC=/path/to/ocamlc" >&2;}
22334 binding_prereqs_failed
=1
22336 if test "x$OCAMLDEP" = x
; then
22337 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamldep not found. Try configure OCAMLDEP=/path/to/ocamldep" >&5
22338 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamldep not found. Try configure OCAMLDEP=/path/to/ocamldep" >&2;}
22339 binding_prereqs_failed
=1
22341 if test "x$OCAMLOPT" = x
; then
22342 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamlopt not found. Try configure OCAMLOPT=/path/to/ocamlopt" >&5
22343 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamlopt not found. Try configure OCAMLOPT=/path/to/ocamlopt" >&2;}
22345 if test "x$with_ocaml_libdir" != xauto
; then
22346 OCAML_LIBDIR
=$with_ocaml_libdir
22349 ocaml_stdlib
="`"$OCAMLC" -where`"
22350 if test "$LLVM_PREFIX" '<' "$ocaml_stdlib" -a "$ocaml_stdlib" '<' "$LLVM_PREFIX~"
22352 # ocaml stdlib is beneath our prefix; use stdlib
22353 OCAML_LIBDIR
=$ocaml_stdlib
22356 # ocaml stdlib is outside our prefix; use libdir/ocaml
22357 OCAML_LIBDIR
=$LLVM_LIBDIR/ocaml
22364 if test "$binding_prereqs_failed" = 1 ; then
22365 { { echo "$as_me:$LINENO: error: Prequisites for bindings not satisfied. Fix them or use configure --disable-bindings." >&5
22366 echo "$as_me: error: Prequisites for bindings not satisfied. Fix them or use configure --disable-bindings." >&2;}
22367 { (exit 1); exit 1; }; }
22370 { echo "$as_me:$LINENO: checking for compiler -fvisibility-inlines-hidden option" >&5
22371 echo $ECHO_N "checking for compiler -fvisibility-inlines-hidden option... $ECHO_C" >&6; }
22372 if test "${llvm_cv_cxx_visibility_inlines_hidden+set}" = set; then
22373 echo $ECHO_N "(cached) $ECHO_C" >&6
22376 ac_cpp
='$CXXCPP $CPPFLAGS'
22377 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22378 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22379 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22381 oldcxxflags
="$CXXFLAGS"
22382 CXXFLAGS
="$CXXFLAGS -fvisibility-inlines-hidden"
22383 cat >conftest.
$ac_ext <<_ACEOF
22386 cat confdefs.h
>>conftest.
$ac_ext
22387 cat >>conftest.
$ac_ext <<_ACEOF
22388 /* end confdefs.h. */
22398 rm -f conftest.
$ac_objext
22399 if { (ac_try
="$ac_compile"
22400 case "(($ac_try" in
22401 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22402 *) ac_try_echo=$ac_try;;
22404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22405 (eval "$ac_compile") 2>conftest.er1
22407 grep -v '^ *+' conftest.er1 >conftest.err
22409 cat conftest.err >&5
22410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22411 (exit $ac_status); } &&
22412 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22413 { (case "(($ac_try" in
22414 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22415 *) ac_try_echo
=$ac_try;;
22417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22418 (eval "$ac_try") 2>&5
22420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421 (exit $ac_status); }; } &&
22422 { ac_try
='test -s conftest.$ac_objext'
22423 { (case "(($ac_try" in
22424 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22425 *) ac_try_echo=$ac_try;;
22427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22428 (eval "$ac_try") 2>&5
22430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22431 (exit $ac_status); }; }; then
22432 llvm_cv_cxx_visibility_inlines_hidden=yes
22434 echo "$as_me: failed program was:" >&5
22435 sed 's/^/| /' conftest.$ac_ext >&5
22437 llvm_cv_cxx_visibility_inlines_hidden=no
22440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22441 CXXFLAGS="$oldcxxflags"
22443 ac_cpp='$CPP $CPPFLAGS'
22444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22450 { echo "$as_me:$LINENO: result: $llvm_cv_cxx_visibility_inlines_hidden" >&5
22451 echo "${ECHO_T}$llvm_cv_cxx_visibility_inlines_hidden" >&6; }
22452 if test "$llvm_cv_cxx_visibility_inlines_hidden" = yes ; then
22453 ENABLE_VISIBILITY_INLINES_HIDDEN=1
22456 ENABLE_VISIBILITY_INLINES_HIDDEN=0
22461 if test "$llvm_cv_link_use_r" = "yes" ; then
22468 if test "$llvm_cv_link_use_export_dynamic" = "yes" ; then
22469 RDYNAMIC="-Wl,-export-dynamic"
22476 ac_config_headers="$ac_config_headers include/llvm/Config/config.h include/llvm/Config/llvm-config.h"
22483 ac_config_files="$ac_config_files include/llvm/Config/Targets.def"
22485 ac_config_files="$ac_config_files include/llvm/Config/AsmPrinters.def"
22487 ac_config_files="$ac_config_files include/llvm/Config/AsmParsers.def"
22489 ac_config_files="$ac_config_files include/llvm/Config/Disassemblers.def"
22491 ac_config_headers="$ac_config_headers include/llvm/Support/DataTypes.h"
22494 ac_config_files="$ac_config_files Makefile.config"
22497 ac_config_files="$ac_config_files llvm.spec"
22500 ac_config_files="$ac_config_files tools/llvmc/src/Base.td"
22503 ac_config_files="$ac_config_files tools/llvm-config/llvm-config.in"
22506 ac_config_commands="$ac_config_commands setup"
22508 ac_config_commands="$ac_config_commands Makefile"
22511 ac_config_commands="$ac_config_commands Makefile.common"
22514 ac_config_commands="$ac_config_commands examples/Makefile"
22517 ac_config_commands="$ac_config_commands lib/Makefile"
22520 ac_config_commands="$ac_config_commands runtime/Makefile"
22523 ac_config_commands="$ac_config_commands test/Makefile"
22526 ac_config_commands="$ac_config_commands test/Makefile.tests"
22529 ac_config_commands="$ac_config_commands unittests/Makefile"
22532 ac_config_commands="$ac_config_commands tools/Makefile"
22535 ac_config_commands="$ac_config_commands utils/Makefile"
22538 ac_config_commands="$ac_config_commands projects/Makefile"
22541 ac_config_commands="$ac_config_commands bindings/Makefile"
22544 ac_config_commands="$ac_config_commands bindings/ocaml/Makefile.ocaml"
22548 cat >confcache <<\_ACEOF
22549 # This file is a shell script that caches the results of configure
22550 # tests run on this system so they can be shared between configure
22551 # scripts and configure runs, see configure's option --config-cache.
22552 # It is not useful on other systems. If it contains results you don't
22553 # want to keep, you may remove or edit it.
22555 # config.status only pays attention to the cache file if you give it
22556 # the --recheck option to rerun configure.
22558 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
22559 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22560 # following values.
22564 # The following way of writing the cache mishandles newlines in values,
22565 # but we know of no workaround that is simple, portable, and efficient.
22566 # So, we kill variables containing newlines.
22567 # Ultrix sh set writes to stderr and can't be redirected directly,
22568 # and sets the high bit in the cache file unless we assign to the vars.
22570 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22571 eval ac_val
=\$
$ac_var
22575 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22576 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22579 _ | IFS | as_nl
) ;; #(
22580 *) $as_unset $ac_var ;;
22586 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22587 *${as_nl}ac_space
=\
*)
22588 # `set' does not quote correctly, so add quotes (double-quote
22589 # substitution turns \\\\ into \\, and sed turns \\ into \).
22592 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22595 # `set' quotes correctly as required by POSIX, so do not add quotes.
22596 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22605 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22607 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22609 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22610 if test -w "$cache_file"; then
22611 test "x$cache_file" != "x/dev/null" &&
22612 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22613 echo "$as_me: updating cache $cache_file" >&6;}
22614 cat confcache
>$cache_file
22616 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22617 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22622 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22623 # Let make expand exec_prefix.
22624 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22626 DEFS
=-DHAVE_CONFIG_H
22630 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22631 # 1. Remove the extension, and $U if already installed.
22632 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22633 ac_i
=`echo "$ac_i" | sed "$ac_script"`
22634 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22635 # will be set to the directory where LIBOBJS objects are built.
22636 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22637 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22639 LIBOBJS
=$ac_libobjs
22641 LTLIBOBJS
=$ac_ltlibobjs
22644 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
22645 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
22646 Usually this means the macro was only invoked conditionally." >&5
22647 echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
22648 Usually this means the macro was only invoked conditionally." >&2;}
22649 { (exit 1); exit 1; }; }
22651 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
22652 { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
22653 Usually this means the macro was only invoked conditionally." >&5
22654 echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
22655 Usually this means the macro was only invoked conditionally." >&2;}
22656 { (exit 1); exit 1; }; }
22659 : ${CONFIG_STATUS=./config.status}
22660 ac_clean_files_save
=$ac_clean_files
22661 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22662 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22663 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22664 cat >$CONFIG_STATUS <<_ACEOF
22666 # Generated by $as_me.
22667 # Run this file to recreate the current configuration.
22668 # Compiler output produced by configure, useful for debugging
22669 # configure, is in config.log if it exists.
22672 ac_cs_recheck=false
22674 SHELL=\${CONFIG_SHELL-$SHELL}
22677 cat >>$CONFIG_STATUS <<\_ACEOF
22678 ## --------------------- ##
22679 ## M4sh Initialization. ##
22680 ## --------------------- ##
22682 # Be Bourne compatible
22683 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22686 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22687 # is contrary to our usage. Disable this feature.
22688 alias -g '${1+"$@"}'='"$@"'
22689 setopt NO_GLOB_SUBST
22691 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
22693 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
22694 DUALCASE
=1; export DUALCASE
# for MKS sh
22698 # Avoid depending upon Character Ranges.
22699 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22700 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22701 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22702 as_cr_digits
='0123456789'
22703 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22705 # The user is always right.
22706 if test "${PATH_SEPARATOR+set}" != set; then
22707 echo "#! /bin/sh" >conf$$.sh
22708 echo "exit 0" >>conf$$.sh
22710 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22718 # Support unset when possible.
22719 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22727 # We need space, tab and new line, in precisely that order. Quoting is
22728 # there to prevent editors from complaining about space-tab.
22729 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22730 # splitting by setting IFS to empty value.)
22735 # Find who we are. Look in the path if we contain no directory separator.
22737 *[\\/]* ) as_myself
=$0 ;;
22738 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22739 for as_dir
in $PATH
22742 test -z "$as_dir" && as_dir
=.
22743 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22749 # We did not find ourselves, most probably we were run as `sh COMMAND'
22750 # in which case we are not to be found in the path.
22751 if test "x$as_myself" = x
; then
22754 if test ! -f "$as_myself"; then
22755 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22756 { (exit 1); exit 1; }
22759 # Work around bugs in pre-3.0 UWIN ksh.
22760 for as_var
in ENV MAIL MAILPATH
22761 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22769 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22770 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22771 LC_TELEPHONE LC_TIME
22773 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22774 eval $as_var=C
; export $as_var
22776 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22780 # Required to use basename.
22781 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22782 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22788 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22789 as_basename
=basename
22795 # Name of the executable.
22796 as_me
=`$as_basename -- "$0" ||
22797 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22798 X"$0" : 'X\(//\)$' \| \
22799 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22801 sed '/^.*\/\([^/][^/]*\)\/*$/{
22820 as_lineno_1
=$LINENO
22821 as_lineno_2
=$LINENO
22822 test "x$as_lineno_1" != "x$as_lineno_2" &&
22823 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
22825 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22826 # uniformly replaced by the line number. The first 'sed' inserts a
22827 # line-number line after each line using $LINENO; the second 'sed'
22828 # does the real work. The second script uses 'N' to pair each
22829 # line-number line with the line containing $LINENO, and appends
22830 # trailing '-' during substitution so that $LINENO is not a special
22831 # case at line end.
22832 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22833 # scripts with optimization help from Paolo Bonzini. Blame Lee
22834 # E. McMahon (1931-1989) for sed's syntax. :-)
22846 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22849 ' >$as_me.lineno
&&
22850 chmod +x
"$as_me.lineno" ||
22851 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22852 { (exit 1); exit 1; }; }
22854 # Don't try to exec as it changes $[0], causing all sort of problems
22855 # (the dirname of $[0] is not the place where we might find the
22856 # original and so on. Autoconf is especially sensitive to this).
22857 .
"./$as_me.lineno"
22858 # Exit status is that of the last command.
22863 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22869 ECHO_C
= ECHO_N
= ECHO_T
=
22870 case `echo -n x` in
22872 case `echo 'x\c'` in
22873 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22880 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22881 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22887 rm -f conf$$ conf$$.exe conf$$.
file
22888 if test -d conf$$.dir
; then
22889 rm -f conf$$.dir
/conf$$.
file
22895 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22897 # ... but there are two gotchas:
22898 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22899 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22900 # In both cases, we have to default to `cp -p'.
22901 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22903 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22908 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22909 rmdir conf$$.dir
2>/dev
/null
22911 if mkdir
-p .
2>/dev
/null
; then
22914 test -d .
/-p && rmdir .
/-p
22918 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
22919 # systems may use methods other than mode bits to determine executability.
22920 cat >conf$$.
file <<_ASEOF
22924 chmod +x conf$$.
file
22925 if test -x conf$$.
file >/dev
/null
2>&1; then
22926 as_executable_p
="test -x"
22932 # Sed expression to map a string onto a valid CPP name.
22933 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22935 # Sed expression to map a string onto a valid variable name.
22936 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22941 # Save the log message, to keep $[0] and so on meaningful, and to
22942 # report actual input values of CONFIG_FILES etc. instead of their
22943 # values after options handling.
22945 This file was extended by llvm $as_me 2.9svn, which was
22946 generated by GNU Autoconf 2.60. Invocation command line was
22948 CONFIG_FILES = $CONFIG_FILES
22949 CONFIG_HEADERS = $CONFIG_HEADERS
22950 CONFIG_LINKS = $CONFIG_LINKS
22951 CONFIG_COMMANDS = $CONFIG_COMMANDS
22954 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22959 cat >>$CONFIG_STATUS <<_ACEOF
22960 # Files that config.status was made for.
22961 config_files="$ac_config_files"
22962 config_headers="$ac_config_headers"
22963 config_commands="$ac_config_commands"
22967 cat >>$CONFIG_STATUS <<\_ACEOF
22969 \`$as_me' instantiates files from templates according to the
22970 current configuration.
22972 Usage: $0 [OPTIONS] [FILE]...
22974 -h, --help print this help, then exit
22975 -V, --version print version number, then exit
22976 -q, --quiet do not print progress messages
22977 -d, --debug don't remove temporary files
22978 --recheck update $as_me by reconfiguring in the same conditions
22979 --file=FILE[:TEMPLATE]
22980 instantiate the configuration file FILE
22981 --header=FILE[:TEMPLATE]
22982 instantiate the configuration header FILE
22984 Configuration files:
22987 Configuration headers:
22990 Configuration commands:
22993 Report bugs to <bug-autoconf@gnu.org>."
22996 cat >>$CONFIG_STATUS <<_ACEOF
22998 llvm config.status 2.9svn
22999 configured by $0, generated by GNU Autoconf 2.60,
23000 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
23002 Copyright (C) 2006 Free Software Foundation, Inc.
23003 This config.status script is free software; the Free Software Foundation
23004 gives unlimited permission to copy, distribute and modify it."
23011 cat >>$CONFIG_STATUS <<\_ACEOF
23012 # If no file are specified by the user, then we need to provide default
23013 # value. By we need to know if files were specified by the user.
23019 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23020 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23031 # Handling of the options.
23032 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23034 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23035 echo "$ac_cs_version"; exit ;;
23036 --debug |
--debu |
--deb |
--de |
--d |
-d )
23038 --file |
--fil |
--fi |
--f )
23040 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
23041 ac_need_defaults
=false
;;
23042 --header |
--heade |
--head |
--hea )
23044 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
23045 ac_need_defaults
=false
;;
23047 # Conflict between --help and --header
23048 { echo "$as_me: error: ambiguous option: $1
23049 Try \`$0 --help' for more information." >&2
23050 { (exit 1); exit 1; }; };;
23051 --help |
--hel |
-h )
23052 echo "$ac_cs_usage"; exit ;;
23053 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23054 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23057 # This is an error.
23058 -*) { echo "$as_me: error: unrecognized option: $1
23059 Try \`$0 --help' for more information." >&2
23060 { (exit 1); exit 1; }; } ;;
23062 *) ac_config_targets
="$ac_config_targets $1"
23063 ac_need_defaults
=false
;;
23069 ac_configure_extra_args
=
23071 if $ac_cs_silent; then
23073 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23077 cat >>$CONFIG_STATUS <<_ACEOF
23078 if \$ac_cs_recheck; then
23079 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23080 CONFIG_SHELL=$SHELL
23081 export CONFIG_SHELL
23082 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23086 cat >>$CONFIG_STATUS <<\_ACEOF
23090 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23091 ## Running $as_me. ##
23097 cat >>$CONFIG_STATUS <<_ACEOF
23101 llvm_src="${srcdir}"
23105 cat >>$CONFIG_STATUS <<\_ACEOF
23107 # Handling of arguments.
23108 for ac_config_target
in $ac_config_targets
23110 case $ac_config_target in
23111 "include/llvm/Config/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/Config/config.h" ;;
23112 "include/llvm/Config/llvm-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/Config/llvm-config.h" ;;
23113 "include/llvm/Config/Targets.def") CONFIG_FILES
="$CONFIG_FILES include/llvm/Config/Targets.def" ;;
23114 "include/llvm/Config/AsmPrinters.def") CONFIG_FILES
="$CONFIG_FILES include/llvm/Config/AsmPrinters.def" ;;
23115 "include/llvm/Config/AsmParsers.def") CONFIG_FILES
="$CONFIG_FILES include/llvm/Config/AsmParsers.def" ;;
23116 "include/llvm/Config/Disassemblers.def") CONFIG_FILES
="$CONFIG_FILES include/llvm/Config/Disassemblers.def" ;;
23117 "include/llvm/Support/DataTypes.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/Support/DataTypes.h" ;;
23118 "Makefile.config") CONFIG_FILES
="$CONFIG_FILES Makefile.config" ;;
23119 "llvm.spec") CONFIG_FILES
="$CONFIG_FILES llvm.spec" ;;
23120 "tools/llvmc/src/Base.td") CONFIG_FILES
="$CONFIG_FILES tools/llvmc/src/Base.td" ;;
23121 "tools/llvm-config/llvm-config.in") CONFIG_FILES
="$CONFIG_FILES tools/llvm-config/llvm-config.in" ;;
23122 "setup") CONFIG_COMMANDS
="$CONFIG_COMMANDS setup" ;;
23123 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
23124 "Makefile.common") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile.common" ;;
23125 "examples/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS examples/Makefile" ;;
23126 "lib/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS lib/Makefile" ;;
23127 "runtime/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS runtime/Makefile" ;;
23128 "test/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS test/Makefile" ;;
23129 "test/Makefile.tests") CONFIG_COMMANDS
="$CONFIG_COMMANDS test/Makefile.tests" ;;
23130 "unittests/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS unittests/Makefile" ;;
23131 "tools/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/Makefile" ;;
23132 "utils/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS utils/Makefile" ;;
23133 "projects/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS projects/Makefile" ;;
23134 "bindings/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS bindings/Makefile" ;;
23135 "bindings/ocaml/Makefile.ocaml") CONFIG_COMMANDS
="$CONFIG_COMMANDS bindings/ocaml/Makefile.ocaml" ;;
23137 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23138 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23139 { (exit 1); exit 1; }; };;
23144 # If the user did not use the arguments to specify the items to instantiate,
23145 # then the envvar interface is used. Set only those that are not.
23146 # We use the long form for the default assignment because of an extremely
23147 # bizarre bug on SunOS 4.1.3.
23148 if $ac_need_defaults; then
23149 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23150 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23151 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23154 # Have a temporary directory for convenience. Make it in the build tree
23155 # simply because there is no reason against having it here, and in addition,
23156 # creating and moving files from /tmp can sometimes cause problems.
23157 # Hook for its removal unless debugging.
23158 # Note that there is a small window in which the directory will not be cleaned:
23159 # after its creation but before its name has been assigned to `$tmp'.
23163 trap 'exit_status=$?
23164 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23166 trap '{ (exit 1); exit 1; }' 1 2 13 15
23168 # Create a (secure) tmp directory for tmp files.
23171 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23172 test -n "$tmp" && test -d "$tmp"
23175 tmp
=.
/conf$$
-$RANDOM
23176 (umask 077 && mkdir
"$tmp")
23179 echo "$me: cannot create a temporary directory in ." >&2
23180 { (exit 1); exit 1; }
23184 # Set up the sed scripts for CONFIG_FILES section.
23187 # No need to generate the scripts if there are no CONFIG_FILES.
23188 # This happens for instance when ./config.status config.h
23189 if test -n "$CONFIG_FILES"; then
23196 for ac_last_try
in false false false false false
:; do
23197 cat >conf$
$subs.
sed <<_ACEOF
23198 SHELL!$SHELL$ac_delim
23199 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23200 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23201 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23202 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23203 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23204 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23205 exec_prefix!$exec_prefix$ac_delim
23206 prefix!$prefix$ac_delim
23207 program_transform_name!$program_transform_name$ac_delim
23208 bindir!$bindir$ac_delim
23209 sbindir!$sbindir$ac_delim
23210 libexecdir!$libexecdir$ac_delim
23211 datarootdir!$datarootdir$ac_delim
23212 datadir!$datadir$ac_delim
23213 sysconfdir!$sysconfdir$ac_delim
23214 sharedstatedir!$sharedstatedir$ac_delim
23215 localstatedir!$localstatedir$ac_delim
23216 includedir!$includedir$ac_delim
23217 oldincludedir!$oldincludedir$ac_delim
23218 docdir!$docdir$ac_delim
23219 infodir!$infodir$ac_delim
23220 htmldir!$htmldir$ac_delim
23221 dvidir!$dvidir$ac_delim
23222 pdfdir!$pdfdir$ac_delim
23223 psdir!$psdir$ac_delim
23224 libdir!$libdir$ac_delim
23225 localedir!$localedir$ac_delim
23226 mandir!$mandir$ac_delim
23227 DEFS!$DEFS$ac_delim
23228 ECHO_C!$ECHO_C$ac_delim
23229 ECHO_N!$ECHO_N$ac_delim
23230 ECHO_T!$ECHO_T$ac_delim
23231 LIBS!$LIBS$ac_delim
23232 build_alias!$build_alias$ac_delim
23233 host_alias!$host_alias$ac_delim
23234 target_alias!$target_alias$ac_delim
23235 LLVM_COPYRIGHT!$LLVM_COPYRIGHT$ac_delim
23236 subdirs!$subdirs$ac_delim
23237 ENABLE_POLLY!$ENABLE_POLLY$ac_delim
23238 LLVM_HAS_POLLY!$LLVM_HAS_POLLY$ac_delim
23239 build!$build$ac_delim
23240 build_cpu!$build_cpu$ac_delim
23241 build_vendor!$build_vendor$ac_delim
23242 build_os!$build_os$ac_delim
23243 host!$host$ac_delim
23244 host_cpu!$host_cpu$ac_delim
23245 host_vendor!$host_vendor$ac_delim
23246 host_os!$host_os$ac_delim
23247 target!$target$ac_delim
23248 target_cpu!$target_cpu$ac_delim
23249 target_vendor!$target_vendor$ac_delim
23250 target_os!$target_os$ac_delim
23252 HOST_OS!$HOST_OS$ac_delim
23253 TARGET_OS!$TARGET_OS$ac_delim
23254 LINKALL!$LINKALL$ac_delim
23255 NOLINKALL!$NOLINKALL$ac_delim
23256 LLVM_ON_UNIX!$LLVM_ON_UNIX$ac_delim
23257 LLVM_ON_WIN32!$LLVM_ON_WIN32$ac_delim
23258 ARCH!$ARCH$ac_delim
23259 ENDIAN!$ENDIAN$ac_delim
23261 CFLAGS!$CFLAGS$ac_delim
23262 LDFLAGS!$LDFLAGS$ac_delim
23263 CPPFLAGS!$CPPFLAGS$ac_delim
23264 ac_ct_CC!$ac_ct_CC$ac_delim
23265 EXEEXT!$EXEEXT$ac_delim
23266 OBJEXT!$OBJEXT$ac_delim
23268 GREP!$GREP$ac_delim
23269 EGREP!$EGREP$ac_delim
23270 LLVM_CROSS_COMPILING!$LLVM_CROSS_COMPILING$ac_delim
23271 BUILD_CC!$BUILD_CC$ac_delim
23272 BUILD_EXEEXT!$BUILD_EXEEXT$ac_delim
23273 BUILD_CXX!$BUILD_CXX$ac_delim
23274 CVSBUILD!$CVSBUILD$ac_delim
23275 ENABLE_OPTIMIZED!$ENABLE_OPTIMIZED$ac_delim
23276 ENABLE_PROFILING!$ENABLE_PROFILING$ac_delim
23277 DISABLE_ASSERTIONS!$DISABLE_ASSERTIONS$ac_delim
23278 ENABLE_EXPENSIVE_CHECKS!$ENABLE_EXPENSIVE_CHECKS$ac_delim
23279 EXPENSIVE_CHECKS!$EXPENSIVE_CHECKS$ac_delim
23280 DEBUG_RUNTIME!$DEBUG_RUNTIME$ac_delim
23281 DEBUG_SYMBOLS!$DEBUG_SYMBOLS$ac_delim
23283 TARGET_HAS_JIT!$TARGET_HAS_JIT$ac_delim
23284 ENABLE_DOCS!$ENABLE_DOCS$ac_delim
23285 ENABLE_DOXYGEN!$ENABLE_DOXYGEN$ac_delim
23286 ENABLE_THREADS!$ENABLE_THREADS$ac_delim
23287 ENABLE_PTHREADS!$ENABLE_PTHREADS$ac_delim
23288 ENABLE_PIC!$ENABLE_PIC$ac_delim
23289 ENABLE_SHARED!$ENABLE_SHARED$ac_delim
23290 ENABLE_EMBED_STDCXX!$ENABLE_EMBED_STDCXX$ac_delim
23291 ENABLE_TIMESTAMPS!$ENABLE_TIMESTAMPS$ac_delim
23292 TARGETS_TO_BUILD!$TARGETS_TO_BUILD$ac_delim
23293 LLVM_ENUM_TARGETS!$LLVM_ENUM_TARGETS$ac_delim
23294 LLVM_ENUM_ASM_PRINTERS!$LLVM_ENUM_ASM_PRINTERS$ac_delim
23297 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
23299 elif $ac_last_try; then
23300 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23301 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23302 { (exit 1); exit 1; }; }
23304 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23308 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23309 if test -n "$ac_eof"; then
23310 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23311 ac_eof
=`expr $ac_eof + 1`
23314 cat >>$CONFIG_STATUS <<_ACEOF
23315 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23316 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23319 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23320 s/^/s,@/; s/!/@,|#_!!_#|/
23323 s/'"$ac_delim"'$/,g/; t
23325 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23326 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23327 rm -f conf$
$subs.
sed
23328 cat >>$CONFIG_STATUS <<_ACEOF
23334 for ac_last_try
in false false false false false
:; do
23335 cat >conf$
$subs.
sed <<_ACEOF
23336 LLVM_ENUM_ASM_PARSERS!$LLVM_ENUM_ASM_PARSERS$ac_delim
23337 LLVM_ENUM_DISASSEMBLERS!$LLVM_ENUM_DISASSEMBLERS$ac_delim
23338 ENABLE_CBE_PRINTF_A!$ENABLE_CBE_PRINTF_A$ac_delim
23339 CLANGPATH!$CLANGPATH$ac_delim
23340 CLANGXXPATH!$CLANGXXPATH$ac_delim
23341 ENABLE_BUILT_CLANG!$ENABLE_BUILT_CLANG$ac_delim
23342 OPTIMIZE_OPTION!$OPTIMIZE_OPTION$ac_delim
23343 EXTRA_OPTIONS!$EXTRA_OPTIONS$ac_delim
23344 BINUTILS_INCDIR!$BINUTILS_INCDIR$ac_delim
23346 CXXFLAGS!$CXXFLAGS$ac_delim
23347 ac_ct_CXX!$ac_ct_CXX$ac_delim
23349 ifGNUmake!$ifGNUmake$ac_delim
23350 LN_S!$LN_S$ac_delim
23353 DATE!$DATE$ac_delim
23354 FIND!$FIND$ac_delim
23355 MKDIR!$MKDIR$ac_delim
23357 RANLIB!$RANLIB$ac_delim
23362 BINPWD!$BINPWD$ac_delim
23363 GRAPHVIZ!$GRAPHVIZ$ac_delim
23366 NEATO!$NEATO$ac_delim
23367 TWOPI!$TWOPI$ac_delim
23368 CIRCO!$CIRCO$ac_delim
23370 DOTTY!$DOTTY$ac_delim
23371 XDOT_PY!$XDOT_PY$ac_delim
23372 PERL!$PERL$ac_delim
23373 HAVE_PERL!$HAVE_PERL$ac_delim
23374 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23375 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23376 INSTALL_DATA!$INSTALL_DATA$ac_delim
23377 BZIP2!$BZIP2$ac_delim
23379 DOXYGEN!$DOXYGEN$ac_delim
23380 GROFF!$GROFF$ac_delim
23381 GZIPBIN!$GZIPBIN$ac_delim
23382 POD2HTML!$POD2HTML$ac_delim
23383 POD2MAN!$POD2MAN$ac_delim
23384 PDFROFF!$PDFROFF$ac_delim
23385 RUNTEST!$RUNTEST$ac_delim
23386 TCLSH!$TCLSH$ac_delim
23388 OCAMLC!$OCAMLC$ac_delim
23389 OCAMLOPT!$OCAMLOPT$ac_delim
23390 OCAMLDEP!$OCAMLDEP$ac_delim
23391 OCAMLDOC!$OCAMLDOC$ac_delim
23393 HAVE_LINK_VERSION_SCRIPT!$HAVE_LINK_VERSION_SCRIPT$ac_delim
23394 INSTALL_LTDL_TRUE!$INSTALL_LTDL_TRUE$ac_delim
23395 INSTALL_LTDL_FALSE!$INSTALL_LTDL_FALSE$ac_delim
23396 CONVENIENCE_LTDL_TRUE!$CONVENIENCE_LTDL_TRUE$ac_delim
23397 CONVENIENCE_LTDL_FALSE!$CONVENIENCE_LTDL_FALSE$ac_delim
23398 LIBADD_DL!$LIBADD_DL$ac_delim
23399 LLVMGCCCOMMAND!$LLVMGCCCOMMAND$ac_delim
23400 LLVMGXXCOMMAND!$LLVMGXXCOMMAND$ac_delim
23401 LLVMGCC!$LLVMGCC$ac_delim
23402 LLVMGXX!$LLVMGXX$ac_delim
23403 LLVMCC_OPTION!$LLVMCC_OPTION$ac_delim
23404 NO_VARIADIC_MACROS!$NO_VARIADIC_MACROS$ac_delim
23405 NO_MISSING_FIELD_INITIALIZERS!$NO_MISSING_FIELD_INITIALIZERS$ac_delim
23406 USE_UDIS86!$USE_UDIS86$ac_delim
23407 USE_OPROFILE!$USE_OPROFILE$ac_delim
23408 HAVE_PTHREAD!$HAVE_PTHREAD$ac_delim
23409 HUGE_VAL_SANITY!$HUGE_VAL_SANITY$ac_delim
23410 MMAP_FILE!$MMAP_FILE$ac_delim
23411 LLVMCC_EMITIR_FLAG!$LLVMCC_EMITIR_FLAG$ac_delim
23412 LLVMCC1!$LLVMCC1$ac_delim
23413 LLVMCC1PLUS!$LLVMCC1PLUS$ac_delim
23414 LLVMGCCDIR!$LLVMGCCDIR$ac_delim
23415 LLVMGCC_LANGS!$LLVMGCC_LANGS$ac_delim
23416 LLVMGCC_DRAGONEGG!$LLVMGCC_DRAGONEGG$ac_delim
23417 LLVMCC_DISABLEOPT_FLAGS!$LLVMCC_DISABLEOPT_FLAGS$ac_delim
23418 SHLIBEXT!$SHLIBEXT$ac_delim
23419 SHLIBPATH_VAR!$SHLIBPATH_VAR$ac_delim
23420 LLVM_PREFIX!$LLVM_PREFIX$ac_delim
23421 LLVM_BINDIR!$LLVM_BINDIR$ac_delim
23422 LLVM_LIBDIR!$LLVM_LIBDIR$ac_delim
23423 LLVM_DATADIR!$LLVM_DATADIR$ac_delim
23424 LLVM_DOCSDIR!$LLVM_DOCSDIR$ac_delim
23425 LLVM_ETCDIR!$LLVM_ETCDIR$ac_delim
23426 LLVM_INCLUDEDIR!$LLVM_INCLUDEDIR$ac_delim
23427 LLVM_INFODIR!$LLVM_INFODIR$ac_delim
23428 LLVM_MANDIR!$LLVM_MANDIR$ac_delim
23429 LLVM_CONFIGTIME!$LLVM_CONFIGTIME$ac_delim
23430 BINDINGS_TO_BUILD!$BINDINGS_TO_BUILD$ac_delim
23431 ALL_BINDINGS!$ALL_BINDINGS$ac_delim
23432 OCAML_LIBDIR!$OCAML_LIBDIR$ac_delim
23435 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
23437 elif $ac_last_try; then
23438 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23439 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23440 { (exit 1); exit 1; }; }
23442 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23446 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23447 if test -n "$ac_eof"; then
23448 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23449 ac_eof
=`expr $ac_eof + 1`
23452 cat >>$CONFIG_STATUS <<_ACEOF
23453 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23454 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23457 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23458 s/^/s,@/; s/!/@,|#_!!_#|/
23461 s/'"$ac_delim"'$/,g/; t
23463 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23464 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23465 rm -f conf$
$subs.
sed
23466 cat >>$CONFIG_STATUS <<_ACEOF
23472 for ac_last_try
in false false false false false
:; do
23473 cat >conf$
$subs.
sed <<_ACEOF
23474 ENABLE_VISIBILITY_INLINES_HIDDEN!$ENABLE_VISIBILITY_INLINES_HIDDEN$ac_delim
23475 RPATH!$RPATH$ac_delim
23476 RDYNAMIC!$RDYNAMIC$ac_delim
23477 LIBOBJS!$LIBOBJS$ac_delim
23478 LTLIBOBJS!$LTLIBOBJS$ac_delim
23481 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 5; then
23483 elif $ac_last_try; then
23484 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23485 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23486 { (exit 1); exit 1; }; }
23488 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23492 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23493 if test -n "$ac_eof"; then
23494 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23495 ac_eof
=`expr $ac_eof + 1`
23498 cat >>$CONFIG_STATUS <<_ACEOF
23499 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
23500 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23503 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23504 s/^/s,@/; s/!/@,|#_!!_#|/
23507 s/'"$ac_delim"'$/,g/; t
23509 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23510 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23511 rm -f conf$
$subs.
sed
23512 cat >>$CONFIG_STATUS <<_ACEOF
23519 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23520 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23521 # trailing colons and then remove the whole line if VPATH becomes empty
23522 # (actually we leave an empty line to preserve line numbers).
23523 if test "x$srcdir" = x.
; then
23524 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
23525 s/:*\$(srcdir):*/:/
23526 s/:*\${srcdir}:*/:/
23528 s/^\([^=]*=[ ]*\):*/\1/
23534 cat >>$CONFIG_STATUS <<\_ACEOF
23535 fi # test -n "$CONFIG_FILES"
23538 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
23541 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23543 case $ac_mode$ac_tag in
23545 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23546 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23547 { (exit 1); exit 1; }; };;
23548 :[FH
]-) ac_tag
=-:-;;
23549 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23566 -) ac_f
="$tmp/stdin";;
23567 *) # Look for the file first in the build tree, then in the source tree
23568 # (if the path is not absolute). The absolute path cannot be DOS-style,
23569 # because $ac_f cannot contain `:'.
23573 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23575 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23576 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23577 { (exit 1); exit 1; }; };;
23579 ac_file_inputs
="$ac_file_inputs $ac_f"
23582 # Let's still pretend it is `configure' which instantiates (i.e., don't
23583 # use $as_me), people would be surprised to read:
23584 # /* config.h. Generated by config.status. */
23585 configure_input
="Generated from "`IFS=:
23586 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23587 if test x
"$ac_file" != x-
; then
23588 configure_input
="$ac_file. $configure_input"
23589 { echo "$as_me:$LINENO: creating $ac_file" >&5
23590 echo "$as_me: creating $ac_file" >&6;}
23594 *:-:* |
*:-) cat >"$tmp/stdin";;
23599 ac_dir
=`$as_dirname -- "$ac_file" ||
23600 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23601 X"$ac_file" : 'X\(//\)[^/]' \| \
23602 X"$ac_file" : 'X\(//\)$' \| \
23603 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23605 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23609 /^X\(\/\/\)[^/].*/{
23624 -*) as_dir
=.
/$as_dir;;
23626 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
23630 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23631 *) as_qdir
=$as_dir;;
23633 as_dirs
="'$as_qdir' $as_dirs"
23634 as_dir
=`$as_dirname -- "$as_dir" ||
23635 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23636 X"$as_dir" : 'X\(//\)[^/]' \| \
23637 X"$as_dir" : 'X\(//\)$' \| \
23638 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23640 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23644 /^X\(\/\/\)[^/].*/{
23657 test -d "$as_dir" && break
23659 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23660 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23661 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23662 { (exit 1); exit 1; }; }; }
23666 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23668 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23669 # A ".." for each directory in $ac_dir_suffix.
23670 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23671 case $ac_top_builddir_sub in
23672 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23673 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23676 ac_abs_top_builddir
=$ac_pwd
23677 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23678 # for backward compatibility:
23679 ac_top_builddir
=$ac_top_build_prefix
23682 .
) # We are building in place.
23684 ac_top_srcdir
=$ac_top_builddir_sub
23685 ac_abs_top_srcdir
=$ac_pwd ;;
23686 [\\/]* | ?
:[\\/]* ) # Absolute name.
23687 ac_srcdir
=$srcdir$ac_dir_suffix;
23688 ac_top_srcdir
=$srcdir
23689 ac_abs_top_srcdir
=$srcdir ;;
23690 *) # Relative name.
23691 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23692 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23693 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23695 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23705 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23706 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
23710 cat >>$CONFIG_STATUS <<\_ACEOF
23711 # If the template does not know about datarootdir, expand it.
23712 # FIXME: This hack should be removed a few years after 2.60.
23713 ac_datarootdir_hack
=; ac_datarootdir_seen
=
23715 case `sed -n '/datarootdir/ {
23724 ' $ac_file_inputs` in
23725 *datarootdir
*) ac_datarootdir_seen
=yes;;
23726 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
23727 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23728 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23730 cat >>$CONFIG_STATUS <<_ACEOF
23731 ac_datarootdir_hack='
23732 s&@datadir@&$datadir&g
23733 s&@docdir@&$docdir&g
23734 s&@infodir@&$infodir&g
23735 s&@localedir@&$localedir&g
23736 s&@mandir@&$mandir&g
23737 s&\\\${datarootdir}&$datarootdir&g' ;;
23741 # Neutralize VPATH when `$srcdir' = `.'.
23742 # Shell code in configure.ac might set extrasub.
23743 # FIXME: do we really want to maintain this feature?
23744 cat >>$CONFIG_STATUS <<_ACEOF
23748 cat >>$CONFIG_STATUS <<\_ACEOF
23750 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23751 s
&@configure_input@
&$configure_input&;t t
23752 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23753 s
&@srcdir@
&$ac_srcdir&;t t
23754 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23755 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23756 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23757 s
&@builddir@
&$ac_builddir&;t t
23758 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23759 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23760 s
&@INSTALL@
&$ac_INSTALL&;t t
23761 $ac_datarootdir_hack
23762 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" | sed -f "$tmp/subs-3.
sed" >$tmp/out
23764 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23765 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
23766 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
23767 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23768 which seems to be undefined. Please make sure it is defined." >&5
23769 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23770 which seems to be undefined. Please make sure it is defined." >&2;}
23774 -) cat "$tmp/out"; rm -f "$tmp/out";;
23775 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23784 # Transform confdefs.h into a sed script `conftest.defines', that
23785 # substitutes the proper values into config.h.in to produce config.h.
23786 rm -f conftest.defines conftest.
tail
23787 # First, append a space to every undef/define line, to ease matching.
23788 echo 's/$/ /' >conftest.defines
23789 # Then, protect against being on the right side of a sed subst, or in
23790 # an unquoted here document, in config.status. If some macros were
23791 # called several times there might be several #defines for the same
23792 # symbol, which is useless. But do not sort them, since the last
23793 # AC_DEFINE must be honored.
23794 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23795 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23796 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23797 # PARAMS is the parameter list in the macro definition--in most cases, it's
23798 # just an empty string.
23799 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23800 ac_dB
='\\)[ (].*,\\1define\\2'
23808 s/^[ ]*#[ ]*define[ ][ ]*//
23813 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23814 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23815 ' >>conftest.defines
23817 # Remove the space that was appended to ease matching.
23818 # Then replace #undef with comments. This is necessary, for
23819 # example, in the case of _POSIX_SOURCE, which is predefined and required
23820 # on some systems where configure will not decide to define it.
23821 # (The regexp can be short, since the line contains either #define or #undef.)
23823 s,^[ #]*u.*,/* & */,' >>conftest.defines
23825 # Break up conftest.defines:
23826 ac_max_sed_lines
=50
23828 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23829 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23830 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23832 ac_in
='$ac_file_inputs'
23833 ac_out
='"$tmp/out1"'
23834 ac_nxt
='"$tmp/out2"'
23838 # Write a here document:
23839 cat >>$CONFIG_STATUS <<_ACEOF
23840 # First, check the format of the line:
23841 cat >"\$tmp/defines.sed" <<\\CEOF
23842 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23843 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23847 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
23849 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23850 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
23851 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
23852 grep . conftest.
tail >/dev
/null ||
break
23853 rm -f conftest.defines
23854 mv conftest.
tail conftest.defines
23856 rm -f conftest.defines conftest.
tail
23858 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23859 cat >>$CONFIG_STATUS <<\_ACEOF
23860 if test x
"$ac_file" != x-
; then
23861 echo "/* $configure_input */" >"$tmp/config.h"
23862 cat "$ac_result" >>"$tmp/config.h"
23863 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
23864 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23865 echo "$as_me: $ac_file is unchanged" >&6;}
23868 mv "$tmp/config.h" $ac_file
23871 echo "/* $configure_input */"
23877 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23878 echo "$as_me: executing $ac_file commands" >&6;}
23883 case $ac_file$ac_mode in
23884 "Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname Makefile`
23885 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/Makefile Makefile
;;
23886 "Makefile.common":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname Makefile.common`
23887 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/Makefile.common Makefile.common
;;
23888 "examples/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname examples/Makefile`
23889 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/examples
/Makefile examples
/Makefile
;;
23890 "lib/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname lib/Makefile`
23891 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/lib
/Makefile lib
/Makefile
;;
23892 "runtime/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname runtime/Makefile`
23893 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/runtime
/Makefile runtime
/Makefile
;;
23894 "test/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname test/Makefile`
23895 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/test
/Makefile test
/Makefile
;;
23896 "test/Makefile.tests":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname test/Makefile.tests`
23897 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/test
/Makefile.tests test
/Makefile.tests
;;
23898 "unittests/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname unittests/Makefile`
23899 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/unittests
/Makefile unittests
/Makefile
;;
23900 "tools/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname tools/Makefile`
23901 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/tools
/Makefile tools
/Makefile
;;
23902 "utils/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname utils/Makefile`
23903 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/utils
/Makefile utils
/Makefile
;;
23904 "projects/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname projects/Makefile`
23905 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/projects
/Makefile projects
/Makefile
;;
23906 "bindings/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname bindings/Makefile`
23907 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/bindings
/Makefile bindings
/Makefile
;;
23908 "bindings/ocaml/Makefile.ocaml":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname bindings/ocaml/Makefile.ocaml`
23909 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/bindings
/ocaml
/Makefile.ocaml bindings
/ocaml
/Makefile.ocaml
;;
23915 { (exit 0); exit 0; }
23917 chmod +x
$CONFIG_STATUS
23918 ac_clean_files
=$ac_clean_files_save
23921 # configure is writing to config.log, and then calls config.status.
23922 # config.status does its own redirection, appending to config.log.
23923 # Unfortunately, on DOS this fails, as config.log is still kept open
23924 # by configure, so config.status won't be able to write to it; its
23925 # output is simply discarded. So we exec the FD to /dev/null,
23926 # effectively closing config.log, so it can be properly (re)opened and
23927 # appended to by config.status. When coming back to configure, we
23928 # need to make the FD available again.
23929 if test "$no_create" != yes; then
23931 ac_config_status_args
=
23932 test "$silent" = yes &&
23933 ac_config_status_args
="$ac_config_status_args --quiet"
23935 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23937 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23938 # would make configure fail if this is the last instruction.
23939 $ac_cs_success ||
{ (exit 1); exit 1; }
23943 # CONFIG_SUBDIRS section.
23945 if test "$no_recursion" != yes; then
23947 # Remove --cache-file and --srcdir arguments so they do not pile up.
23948 ac_sub_configure_args
=
23950 eval "set x $ac_configure_args"
23954 if test -n "$ac_prev"; then
23959 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
23960 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
23961 ac_prev
=cache_file
;;
23962 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
23963 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
23966 --config-cache |
-C)
23968 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
23970 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
23972 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
23974 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
23978 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
23980 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
23984 # Always prepend --prefix to ensure using the same prefix
23985 # in subdir configurations.
23986 ac_arg
="--prefix=$prefix"
23988 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
23990 ac_sub_configure_args
="$ac_arg $ac_sub_configure_args"
23993 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
23995 # Do not complain, so a configure script can configure whichever
23996 # parts of a large source tree are present.
23997 test -d "$srcdir/$ac_dir" ||
continue
23999 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
24000 echo "$as_me:$LINENO: $ac_msg" >&5
24004 -*) as_dir
=.
/$as_dir;;
24006 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
24010 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
24011 *) as_qdir
=$as_dir;;
24013 as_dirs
="'$as_qdir' $as_dirs"
24014 as_dir
=`$as_dirname -- "$as_dir" ||
24015 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24016 X"$as_dir" : 'X\(//\)[^/]' \| \
24017 X"$as_dir" : 'X\(//\)$' \| \
24018 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24020 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24024 /^X\(\/\/\)[^/].*/{
24037 test -d "$as_dir" && break
24039 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
24040 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24041 echo "$as_me: error: cannot create directory $as_dir" >&2;}
24042 { (exit 1); exit 1; }; }; }
24046 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24048 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24049 # A ".." for each directory in $ac_dir_suffix.
24050 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
24051 case $ac_top_builddir_sub in
24052 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24053 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
24056 ac_abs_top_builddir
=$ac_pwd
24057 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
24058 # for backward compatibility:
24059 ac_top_builddir
=$ac_top_build_prefix
24062 .
) # We are building in place.
24064 ac_top_srcdir
=$ac_top_builddir_sub
24065 ac_abs_top_srcdir
=$ac_pwd ;;
24066 [\\/]* | ?
:[\\/]* ) # Absolute name.
24067 ac_srcdir
=$srcdir$ac_dir_suffix;
24068 ac_top_srcdir
=$srcdir
24069 ac_abs_top_srcdir
=$srcdir ;;
24070 *) # Relative name.
24071 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
24072 ac_top_srcdir
=$ac_top_build_prefix$srcdir
24073 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
24075 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
24080 # Check for guested configure; otherwise get Cygnus style configure.
24081 if test -f "$ac_srcdir/configure.gnu"; then
24082 ac_sub_configure
=$ac_srcdir/configure.gnu
24083 elif test -f "$ac_srcdir/configure"; then
24084 ac_sub_configure
=$ac_srcdir/configure
24085 elif test -f "$ac_srcdir/configure.in"; then
24086 # This should be Cygnus configure.
24087 ac_sub_configure
=$ac_aux_dir/configure
24089 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
24090 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
24094 # The recursion is here.
24095 if test -n "$ac_sub_configure"; then
24096 # Make the cache file name correct relative to the subdirectory.
24097 case $cache_file in
24098 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
24099 *) # Relative name.
24100 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
24103 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
24104 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
24105 # The eval makes quoting arguments work.
24106 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
24107 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
24108 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
24109 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
24110 { (exit 1); exit 1; }; }