2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60 for llvm 3.1svn.
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-2011 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
='3.1svn'
565 PACKAGE_STRING
='llvm 3.1svn'
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
688 ENABLE_EXPENSIVE_CHECKS
704 LLVM_ENUM_ASM_PRINTERS
705 LLVM_ENUM_ASM_PARSERS
706 LLVM_ENUM_DISASSEMBLERS
758 HAVE_LINK_VERSION_SCRIPT
761 CONVENIENCE_LTDL_TRUE
762 CONVENIENCE_LTDL_FALSE
765 NO_MISSING_FIELD_INITIALIZERS
786 ENABLE_VISIBILITY_INLINES_HIDDEN
792 ac_precious_vars
='build_alias
803 ac_subdirs_all
='projects/llvm-gcc
807 projects/llvm-poolalloc
810 projects/llvm-stacker
818 # Initialize some variables set by options.
820 ac_init_version
=false
821 # The variables have the same names as the options, with
822 # dashes changed to underlines.
830 program_transform_name
=s
,x
,x
,
838 # Installation directory options.
839 # These are left unexpanded so users can "make install exec_prefix=/foo"
840 # and all the variables that are supposed to be based on exec_prefix
841 # by default will actually change.
842 # Use braces instead of parens because sh, perl, etc. also accept them.
843 # (The list follows the same order as the GNU Coding Standards.)
844 bindir
='${exec_prefix}/bin'
845 sbindir
='${exec_prefix}/sbin'
846 libexecdir
='${exec_prefix}/libexec'
847 datarootdir
='${prefix}/share'
848 datadir
='${datarootdir}'
849 sysconfdir
='${prefix}/etc'
850 sharedstatedir
='${prefix}/com'
851 localstatedir
='${prefix}/var'
852 includedir
='${prefix}/include'
853 oldincludedir
='/usr/include'
854 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
855 infodir
='${datarootdir}/info'
860 libdir
='${exec_prefix}/lib'
861 localedir
='${datarootdir}/locale'
862 mandir
='${datarootdir}/man'
868 # If the previous option needs an argument, assign it.
869 if test -n "$ac_prev"; then
870 eval $ac_prev=\
$ac_option
876 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
880 # Accept the important Cygnus configure options, so we can diagnose typos.
882 case $ac_dashdash$ac_option in
886 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
888 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
891 -build |
--build |
--buil |
--bui |
--bu)
892 ac_prev
=build_alias
;;
893 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
894 build_alias
=$ac_optarg ;;
896 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
897 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
898 ac_prev
=cache_file
;;
899 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
900 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
901 cache_file
=$ac_optarg ;;
904 cache_file
=config.cache
;;
906 -datadir |
--datadir |
--datadi |
--datad)
908 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
909 datadir
=$ac_optarg ;;
911 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
912 |
--dataroo |
--dataro |
--datar)
913 ac_prev
=datarootdir
;;
914 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
915 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
916 datarootdir
=$ac_optarg ;;
918 -disable-* |
--disable-*)
919 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
920 # Reject names that are not valid shell variable names.
921 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
922 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
923 { (exit 1); exit 1; }; }
924 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
925 eval enable_
$ac_feature=no
;;
927 -docdir |
--docdir |
--docdi |
--doc |
--do)
929 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
932 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
934 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
937 -enable-* |
--enable-*)
938 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
939 # Reject names that are not valid shell variable names.
940 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
941 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
942 { (exit 1); exit 1; }; }
943 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
944 eval enable_
$ac_feature=\
$ac_optarg ;;
946 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
947 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
948 |
--exec |
--exe |
--ex)
949 ac_prev
=exec_prefix
;;
950 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
951 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
952 |
--exec=* |
--exe=* |
--ex=*)
953 exec_prefix
=$ac_optarg ;;
955 -gas |
--gas |
--ga |
--g)
956 # Obsolete; use --with-gas.
959 -help |
--help |
--hel |
--he |
-h)
961 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
962 ac_init_help
=recursive
;;
963 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
964 ac_init_help
=short
;;
966 -host |
--host |
--hos |
--ho)
967 ac_prev
=host_alias
;;
968 -host=* |
--host=* |
--hos=* |
--ho=*)
969 host_alias
=$ac_optarg ;;
971 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
973 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
975 htmldir
=$ac_optarg ;;
977 -includedir |
--includedir |
--includedi |
--included |
--include \
978 |
--includ |
--inclu |
--incl |
--inc)
979 ac_prev
=includedir
;;
980 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
981 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
982 includedir
=$ac_optarg ;;
984 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
986 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
987 infodir
=$ac_optarg ;;
989 -libdir |
--libdir |
--libdi |
--libd)
991 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
994 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
995 |
--libexe |
--libex |
--libe)
996 ac_prev
=libexecdir
;;
997 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
998 |
--libexe=* |
--libex=* |
--libe=*)
999 libexecdir
=$ac_optarg ;;
1001 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1002 ac_prev
=localedir
;;
1003 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1004 localedir
=$ac_optarg ;;
1006 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1007 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1008 ac_prev
=localstatedir
;;
1009 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1010 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1011 localstatedir
=$ac_optarg ;;
1013 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1015 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1016 mandir
=$ac_optarg ;;
1018 -nfp |
--nfp |
--nf)
1019 # Obsolete; use --without-fp.
1022 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1023 |
--no-cr |
--no-c |
-n)
1026 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1027 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1030 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1031 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1032 |
--oldin |
--oldi |
--old |
--ol |
--o)
1033 ac_prev
=oldincludedir
;;
1034 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1035 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1036 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1037 oldincludedir
=$ac_optarg ;;
1039 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1041 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1042 prefix
=$ac_optarg ;;
1044 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1045 |
--program-pre |
--program-pr |
--program-p)
1046 ac_prev
=program_prefix
;;
1047 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1048 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1049 program_prefix
=$ac_optarg ;;
1051 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1052 |
--program-suf |
--program-su |
--program-s)
1053 ac_prev
=program_suffix
;;
1054 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1055 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1056 program_suffix
=$ac_optarg ;;
1058 -program-transform-name |
--program-transform-name \
1059 |
--program-transform-nam |
--program-transform-na \
1060 |
--program-transform-n |
--program-transform- \
1061 |
--program-transform |
--program-transfor \
1062 |
--program-transfo |
--program-transf \
1063 |
--program-trans |
--program-tran \
1064 |
--progr-tra |
--program-tr |
--program-t)
1065 ac_prev
=program_transform_name
;;
1066 -program-transform-name=* |
--program-transform-name=* \
1067 |
--program-transform-nam=* |
--program-transform-na=* \
1068 |
--program-transform-n=* |
--program-transform-=* \
1069 |
--program-transform=* |
--program-transfor=* \
1070 |
--program-transfo=* |
--program-transf=* \
1071 |
--program-trans=* |
--program-tran=* \
1072 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1073 program_transform_name
=$ac_optarg ;;
1075 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1077 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1078 pdfdir
=$ac_optarg ;;
1080 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1082 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1085 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1086 |
-silent |
--silent |
--silen |
--sile |
--sil)
1089 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1091 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1093 sbindir
=$ac_optarg ;;
1095 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1096 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1097 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1099 ac_prev
=sharedstatedir
;;
1100 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1101 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1102 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1104 sharedstatedir
=$ac_optarg ;;
1106 -site |
--site |
--sit)
1108 -site=* |
--site=* |
--sit=*)
1111 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1113 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1114 srcdir
=$ac_optarg ;;
1116 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1117 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1118 ac_prev
=sysconfdir
;;
1119 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1120 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1121 sysconfdir
=$ac_optarg ;;
1123 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1124 ac_prev
=target_alias
;;
1125 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1126 target_alias
=$ac_optarg ;;
1128 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1131 -version |
--version |
--versio |
--versi |
--vers |
-V)
1132 ac_init_version
=: ;;
1135 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1136 # Reject names that are not valid shell variable names.
1137 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1138 { echo "$as_me: error: invalid package name: $ac_package" >&2
1139 { (exit 1); exit 1; }; }
1140 ac_package
=`echo $ac_package| sed 's/-/_/g'`
1141 eval with_
$ac_package=\
$ac_optarg ;;
1143 -without-* |
--without-*)
1144 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1145 # Reject names that are not valid shell variable names.
1146 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1147 { echo "$as_me: error: invalid package name: $ac_package" >&2
1148 { (exit 1); exit 1; }; }
1149 ac_package
=`echo $ac_package | sed 's/-/_/g'`
1150 eval with_
$ac_package=no
;;
1153 # Obsolete; use --with-x.
1156 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1157 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1158 ac_prev
=x_includes
;;
1159 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1160 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1161 x_includes
=$ac_optarg ;;
1163 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1164 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1165 ac_prev
=x_libraries
;;
1166 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1167 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1168 x_libraries
=$ac_optarg ;;
1170 -*) { echo "$as_me: error: unrecognized option: $ac_option
1171 Try \`$0 --help' for more information." >&2
1172 { (exit 1); exit 1; }; }
1176 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1177 # Reject names that are not valid shell variable names.
1178 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1179 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1180 { (exit 1); exit 1; }; }
1181 eval $ac_envvar=\
$ac_optarg
1182 export $ac_envvar ;;
1185 # FIXME: should be removed in autoconf 3.0.
1186 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1187 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1188 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1189 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1195 if test -n "$ac_prev"; then
1196 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1197 { echo "$as_me: error: missing argument to $ac_option" >&2
1198 { (exit 1); exit 1; }; }
1201 # Be sure to have absolute directory names.
1202 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1203 datadir sysconfdir sharedstatedir localstatedir includedir \
1204 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1205 libdir localedir mandir
1207 eval ac_val
=\$
$ac_var
1209 [\\/$
]* | ?
:[\\/]* ) continue;;
1210 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1212 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1213 { (exit 1); exit 1; }; }
1216 # There might be people who depend on the old broken behavior: `$host'
1217 # used to hold the argument of --host etc.
1218 # FIXME: To remove some day.
1221 target
=$target_alias
1223 # FIXME: To remove some day.
1224 if test "x$host_alias" != x
; then
1225 if test "x$build_alias" = x
; then
1226 cross_compiling
=maybe
1227 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1228 If a cross compiler is detected then cross compile mode will be used." >&2
1229 elif test "x$build_alias" != "x$host_alias"; then
1235 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1237 test "$silent" = yes && exec 6>/dev
/null
1240 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1241 ac_ls_di
=`ls -di .` &&
1242 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1243 { echo "$as_me: error: Working directory cannot be determined" >&2
1244 { (exit 1); exit 1; }; }
1245 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1246 { echo "$as_me: error: pwd does not report name of working directory" >&2
1247 { (exit 1); exit 1; }; }
1250 # Find the source files, if location was not specified.
1251 if test -z "$srcdir"; then
1252 ac_srcdir_defaulted
=yes
1253 # Try the directory containing this script, then the parent directory.
1254 ac_confdir
=`$as_dirname -- "$0" ||
1255 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1256 X"$0" : 'X\(//\)[^/]' \| \
1257 X"$0" : 'X\(//\)$' \| \
1258 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1260 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1278 if test ! -r "$srcdir/$ac_unique_file"; then
1282 ac_srcdir_defaulted
=no
1284 if test ! -r "$srcdir/$ac_unique_file"; then
1285 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1286 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1287 { (exit 1); exit 1; }; }
1289 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1291 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1292 { (exit 1); exit 1; }; }
1294 # When building in place, set srcdir=.
1295 if test "$ac_abs_confdir" = "$ac_pwd"; then
1298 # Remove unnecessary trailing slashes from srcdir.
1299 # Double slashes in file names in object file debugging info
1300 # mess up M-x gdb in Emacs.
1302 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1304 for ac_var
in $ac_precious_vars; do
1305 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1306 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1307 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1308 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1312 # Report the --help message.
1314 if test "$ac_init_help" = "long"; then
1315 # Omit some internal or obsolete options to make the list less imposing.
1316 # This message is too long to be a string in the A/UX 3.1 sh.
1318 \`configure' configures llvm 3.1svn to adapt to many kinds of systems.
1320 Usage: $0 [OPTION]... [VAR=VALUE]...
1322 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1323 VAR=VALUE. See below for descriptions of some of the useful variables.
1325 Defaults for the options are specified in brackets.
1328 -h, --help display this help and exit
1329 --help=short display options specific to this package
1330 --help=recursive display the short help of all the included packages
1331 -V, --version display version information and exit
1332 -q, --quiet, --silent do not print \`checking...' messages
1333 --cache-file=FILE cache test results in FILE [disabled]
1334 -C, --config-cache alias for \`--cache-file=config.cache'
1335 -n, --no-create do not create output files
1336 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1338 Installation directories:
1339 --prefix=PREFIX install architecture-independent files in PREFIX
1340 [$ac_default_prefix]
1341 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1344 By default, \`make install' will install all the files in
1345 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1346 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1347 for instance \`--prefix=\$HOME'.
1349 For better control, use the options below.
1351 Fine tuning of the installation directories:
1352 --bindir=DIR user executables [EPREFIX/bin]
1353 --sbindir=DIR system admin executables [EPREFIX/sbin]
1354 --libexecdir=DIR program executables [EPREFIX/libexec]
1355 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1356 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1357 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1358 --libdir=DIR object code libraries [EPREFIX/lib]
1359 --includedir=DIR C header files [PREFIX/include]
1360 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1361 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1362 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1363 --infodir=DIR info documentation [DATAROOTDIR/info]
1364 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1365 --mandir=DIR man documentation [DATAROOTDIR/man]
1366 --docdir=DIR documentation root [DATAROOTDIR/doc/-llvm-]
1367 --htmldir=DIR html documentation [DOCDIR]
1368 --dvidir=DIR dvi documentation [DOCDIR]
1369 --pdfdir=DIR pdf documentation [DOCDIR]
1370 --psdir=DIR ps documentation [DOCDIR]
1376 --build=BUILD configure
for building on BUILD
[guessed
]
1377 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1378 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1382 if test -n "$ac_init_help"; then
1383 case $ac_init_help in
1384 short | recursive
) echo "Configuration of llvm 3.1svn:";;
1389 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1390 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1391 --enable-polly Use polly
if available
(default is YES
)
1392 --enable-optimized Compile with optimizations enabled
(default is NO
)
1393 --enable-profiling Compile with profiling enabled
(default is NO
)
1394 --enable-assertions Compile with assertion checks enabled
(default is
1396 --enable-expensive-checks
1397 Compile with expensive debug checks enabled
(default
1399 --enable-debug-runtime Build runtime libs with debug symbols
(default is
1401 --enable-debug-symbols Build compiler with debug symbols
(default is NO
if
1402 optimization is on and YES
if it
's off)
1403 --enable-jit Enable Just In Time Compiling (default is YES)
1404 --enable-docs Build documents (default is YES)
1405 --enable-doxygen Build doxygen documentation (default is NO)
1406 --enable-threads Use threads if available (default is YES)
1407 --enable-pthreads Use pthreads if available (default is YES)
1408 --enable-pic Build LLVM with Position Independent Code (default
1410 --enable-shared Build a shared library and link tools against it
1412 --enable-embed-stdcxx Build a shared library with embedded libstdc++ for
1413 Win32 DLL (default is NO)
1414 --enable-timestamps Enable embedding timestamp information in build
1416 --enable-targets Build specific host targets: all or
1417 target1,target2,... Valid targets are: host, x86,
1418 x86_64, sparc, powerpc, alpha, arm, mips, spu,
1419 xcore, msp430, systemz, blackfin, ptx, cbe, and cpp
1421 --enable-cbe-printf-a Enable C Backend output with hex floating point via
1423 --enable-bindings Build specific language bindings:
1424 all,auto,none,{binding-name} (default=auto)
1425 --enable-libffi Check for the presence of libffi (default is NO)
1426 --enable-ltdl-install install libltdl
1429 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1430 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1431 --with-optimize-option Select the compiler options to use for optimized
1433 --with-extra-options Specify additional options to compile LLVM with
1434 --with-extra-ld-options Specify additional options to link LLVM with
1435 --with-ocaml-libdir Specify install location for ocaml bindings (default
1437 --with-clang-srcdir Directory to the out-of-tree Clang source
1438 --with-clang-resource-dir
1439 Relative directory from the Clang binary for
1441 --with-c-include-dirs Colon separated list of directories clang will
1443 --with-cxx-include-root Directory with the libstdc++ headers.
1444 --with-cxx-include-arch Architecture of the libstdc++ headers.
1445 --with-cxx-include-32bit-dir
1446 32 bit multilib dir.
1447 --with-cxx-include-64bit-dir
1448 64 bit multilib directory.
1449 --with-binutils-include Specify path to binutils/include/ containing
1450 plugin-api.h file for gold plugin.
1451 --with-bug-report-url Specify the URL where bug reports should be
1452 submitted (default=http://llvm.org/bugs/)
1453 --with-tclinclude directory where tcl headers are
1454 --with-udis86=<path> Use udis86 external x86 disassembler library
1455 --with-oprofile=<prefix>
1456 Tell OProfile >= 0.9.4 how to symbolize JIT output
1458 Some influential environment variables:
1459 CC C compiler command
1460 CFLAGS C compiler flags
1461 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1462 nonstandard directory <lib dir>
1463 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1464 you have headers in a nonstandard directory <include dir>
1465 CXX C++ compiler command
1466 CXXFLAGS C++ compiler flags
1469 Use these variables to override the choices made by `configure' or to
help
1470 it to
find libraries and programs with nonstandard names
/locations.
1472 Report bugs to
<llvmbugs@cs.uiuc.edu
>.
1477 if test "$ac_init_help" = "recursive"; then
1478 # If there are subdirs, report their specific --help.
1479 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1480 test -d "$ac_dir" ||
continue
1484 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1486 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1487 # A ".." for each directory in $ac_dir_suffix.
1488 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1489 case $ac_top_builddir_sub in
1490 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1491 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1494 ac_abs_top_builddir
=$ac_pwd
1495 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1496 # for backward compatibility:
1497 ac_top_builddir
=$ac_top_build_prefix
1500 .
) # We are building in place.
1502 ac_top_srcdir
=$ac_top_builddir_sub
1503 ac_abs_top_srcdir
=$ac_pwd ;;
1504 [\\/]* | ?
:[\\/]* ) # Absolute name.
1505 ac_srcdir
=$srcdir$ac_dir_suffix;
1506 ac_top_srcdir
=$srcdir
1507 ac_abs_top_srcdir
=$srcdir ;;
1509 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1510 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1511 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1513 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1515 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1516 # Check for guested configure.
1517 if test -f "$ac_srcdir/configure.gnu"; then
1519 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1520 elif test -f "$ac_srcdir/configure"; then
1522 $SHELL "$ac_srcdir/configure" --help=recursive
1524 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1526 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1530 test -n "$ac_init_help" && exit $ac_status
1531 if $ac_init_version; then
1533 llvm configure
3.1svn
1534 generated by GNU Autoconf
2.60
1536 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1537 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1538 This configure
script is free software
; the Free Software Foundation
1539 gives unlimited permission to copy
, distribute and modify it.
1541 Copyright
(c
) 2003-2011 University of Illinois
at Urbana-Champaign.
1545 cat >config.log
<<_ACEOF
1546 This file contains any messages produced by compilers while
1547 running configure, to aid debugging if configure makes a mistake.
1549 It was created by llvm $as_me 3.1svn, which was
1550 generated by GNU Autoconf 2.60. Invocation command line was
1562 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1563 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1564 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1565 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1566 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1568 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1569 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1571 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1572 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1573 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1574 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1575 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1576 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1577 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1585 test -z "$as_dir" && as_dir
=.
1586 echo "PATH: $as_dir"
1602 # Keep a trace of the command line.
1603 # Strip out --no-create and --no-recursion so they do not pile up.
1604 # Strip out --silent because we don't want to record it for future runs.
1605 # Also quote any args containing shell meta-characters.
1606 # Make two passes to allow for proper duplicate-argument suppression.
1610 ac_must_keep_next
=false
1616 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1617 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1618 |
-silent |
--silent |
--silen |
--sile |
--sil)
1621 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1624 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1626 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1627 if test $ac_must_keep_next = true
; then
1628 ac_must_keep_next
=false
# Got value, back to normal.
1631 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1632 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1633 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1634 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1635 case "$ac_configure_args0 " in
1636 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1639 -* ) ac_must_keep_next
=true
;;
1642 ac_configure_args
="$ac_configure_args '$ac_arg'"
1647 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1648 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1650 # When interrupted or exit'd, cleanup temporary files, and complete
1651 # config.log. We remove comments because anyway the quotes in there
1652 # would cause problems or look ugly.
1653 # WARNING: Use '\'' to represent an apostrophe within the trap.
1654 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1655 trap 'exit_status=$?
1656 # Save into config.log some information that might help in debugging.
1661 ## ---------------- ##
1662 ## Cache variables. ##
1663 ## ---------------- ##
1666 # The following way of writing the cache mishandles newlines in values,
1668 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1669 eval ac_val=\$$ac_var
1673 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1674 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1677 _ | IFS | as_nl) ;; #(
1678 *) $as_unset $ac_var ;;
1683 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1684 *${as_nl}ac_space=\ *)
1686 "s/'\''/'\''\\\\'\'''\''/g;
1687 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1690 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1698 ## ----------------- ##
1699 ## Output variables. ##
1700 ## ----------------- ##
1703 for ac_var in $ac_subst_vars
1705 eval ac_val=\$$ac_var
1707 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1709 echo "$ac_var='\''$ac_val'\''"
1713 if test -n "$ac_subst_files"; then
1715 ## ------------------- ##
1716 ## File substitutions. ##
1717 ## ------------------- ##
1720 for ac_var
in $ac_subst_files
1722 eval ac_val
=\$
$ac_var
1724 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1726 echo "$ac_var='\''$ac_val'\''"
1731 if test -s confdefs.h; then
1741 test "$ac_signal" != 0 &&
1742 echo "$as_me: caught signal $ac_signal"
1743 echo "$as_me: exit $exit_status"
1745 rm -f core *.core core.conftest.* &&
1746 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1749 for ac_signal
in 1 2 13 15; do
1750 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1754 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1755 rm -f -r conftest
* confdefs.h
1757 # Predefined preprocessor variables.
1759 cat >>confdefs.h
<<_ACEOF
1760 #define PACKAGE_NAME "$PACKAGE_NAME"
1764 cat >>confdefs.h
<<_ACEOF
1765 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1769 cat >>confdefs.h
<<_ACEOF
1770 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1774 cat >>confdefs.h
<<_ACEOF
1775 #define PACKAGE_STRING "$PACKAGE_STRING"
1779 cat >>confdefs.h
<<_ACEOF
1780 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1784 # Let the site file select an alternate cache file if it wants to.
1785 # Prefer explicitly selected file to automatically selected ones.
1786 if test -n "$CONFIG_SITE"; then
1787 set x
"$CONFIG_SITE"
1788 elif test "x$prefix" != xNONE
; then
1789 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1791 set x
"$ac_default_prefix/share/config.site" \
1792 "$ac_default_prefix/etc/config.site"
1797 if test -r "$ac_site_file"; then
1798 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1799 echo "$as_me: loading site script $ac_site_file" >&6;}
1800 sed 's/^/| /' "$ac_site_file" >&5
1805 if test -r "$cache_file"; then
1806 # Some versions of bash will fail to source /dev/null (special
1807 # files actually), so we avoid doing that.
1808 if test -f "$cache_file"; then
1809 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1810 echo "$as_me: loading cache $cache_file" >&6;}
1812 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1813 *) .
"./$cache_file";;
1817 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1818 echo "$as_me: creating cache $cache_file" >&6;}
1822 # Check that the precious variables saved in the cache have kept the same
1824 ac_cache_corrupted
=false
1825 for ac_var
in $ac_precious_vars; do
1826 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1827 eval ac_new_set
=\
$ac_env_${ac_var}_set
1828 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1829 eval ac_new_val
=\
$ac_env_${ac_var}_value
1830 case $ac_old_set,$ac_new_set in
1832 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1833 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1834 ac_cache_corrupted
=: ;;
1836 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1837 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1838 ac_cache_corrupted
=: ;;
1841 if test "x$ac_old_val" != "x$ac_new_val"; then
1842 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1843 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1844 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1845 echo "$as_me: former value: $ac_old_val" >&2;}
1846 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1847 echo "$as_me: current value: $ac_new_val" >&2;}
1848 ac_cache_corrupted
=:
1851 # Pass precious variables to config.status.
1852 if test "$ac_new_set" = set; then
1854 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1855 *) ac_arg
=$ac_var=$ac_new_val ;;
1857 case " $ac_configure_args " in
1858 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1859 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1863 if $ac_cache_corrupted; then
1864 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1865 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1866 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1867 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1868 { (exit 1); exit 1; }; }
1896 ac_cpp
='$CPP $CPPFLAGS'
1897 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1898 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1899 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1903 LLVM_COPYRIGHT
="Copyright (c) 2003-2011 University of Illinois at Urbana-Champaign."
1912 for ac_dir
in autoconf
"$srcdir"/autoconf
; do
1913 if test -f "$ac_dir/install-sh"; then
1915 ac_install_sh
="$ac_aux_dir/install-sh -c"
1917 elif test -f "$ac_dir/install.sh"; then
1919 ac_install_sh
="$ac_aux_dir/install.sh -c"
1921 elif test -f "$ac_dir/shtool"; then
1923 ac_install_sh
="$ac_aux_dir/shtool install -c"
1927 if test -z "$ac_aux_dir"; then
1928 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
1929 echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
1930 { (exit 1); exit 1; }; }
1933 # These three variables are undocumented and unsupported,
1934 # and are intended to be withdrawn in a future Autoconf release.
1935 # They can cause serious problems if a builder's source tree is in a directory
1936 # whose full name contains unusual characters.
1937 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1938 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1939 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1943 if test ${srcdir} != "." ; then
1944 if test -f ${srcdir}/include
/llvm
/Config
/config.h
; then
1945 { { echo "$as_me:$LINENO: error: Already configured in ${srcdir}" >&5
1946 echo "$as_me: error: Already configured in ${srcdir}" >&2;}
1947 { (exit 1); exit 1; }; }
1952 ac_cpp
='$CPP $CPPFLAGS'
1953 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1954 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1955 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1956 if test -n "$ac_tool_prefix"; then
1957 for ac_prog
in clang llvm-gcc gcc
1959 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1960 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1961 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1963 if test "${ac_cv_prog_CC+set}" = set; then
1964 echo $ECHO_N "(cached) $ECHO_C" >&6
1966 if test -n "$CC"; then
1967 ac_cv_prog_CC
="$CC" # Let the user override the test.
1969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1973 test -z "$as_dir" && as_dir
=.
1974 for ac_exec_ext
in '' $ac_executable_extensions; do
1975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1976 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1987 if test -n "$CC"; then
1988 { echo "$as_me:$LINENO: result: $CC" >&5
1989 echo "${ECHO_T}$CC" >&6; }
1991 { echo "$as_me:$LINENO: result: no" >&5
1992 echo "${ECHO_T}no" >&6; }
1996 test -n "$CC" && break
1999 if test -z "$CC"; then
2001 for ac_prog
in clang llvm-gcc gcc
2003 # Extract the first word of "$ac_prog", so it can be a program name with args.
2004 set dummy
$ac_prog; ac_word
=$2
2005 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2007 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2008 echo $ECHO_N "(cached) $ECHO_C" >&6
2010 if test -n "$ac_ct_CC"; then
2011 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2017 test -z "$as_dir" && as_dir
=.
2018 for ac_exec_ext
in '' $ac_executable_extensions; do
2019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2020 ac_cv_prog_ac_ct_CC
="$ac_prog"
2021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2030 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2031 if test -n "$ac_ct_CC"; then
2032 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2033 echo "${ECHO_T}$ac_ct_CC" >&6; }
2035 { echo "$as_me:$LINENO: result: no" >&5
2036 echo "${ECHO_T}no" >&6; }
2040 test -n "$ac_ct_CC" && break
2043 if test "x$ac_ct_CC" = x
; then
2046 case $cross_compiling:$ac_tool_warned in
2048 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2049 whose name does not start with the host triplet. If you think this
2050 configuration is useful to you, please write to autoconf@gnu.org." >&5
2051 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2052 whose name does not start with the host triplet. If you think this
2053 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2054 ac_tool_warned
=yes ;;
2061 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2062 See \`config.log' for more details." >&5
2063 echo "$as_me: error: no acceptable C compiler found in \$PATH
2064 See \`config.log' for more details." >&2;}
2065 { (exit 1); exit 1; }; }
2067 # Provide some information about the compiler.
2068 echo "$as_me:$LINENO: checking for C compiler version" >&5
2069 ac_compiler
=`set X $ac_compile; echo $2`
2070 { (ac_try
="$ac_compiler --version >&5"
2072 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2073 *) ac_try_echo=$ac_try;;
2075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2076 (eval "$ac_compiler --version >&5") 2>&5
2078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2079 (exit $ac_status); }
2080 { (ac_try="$ac_compiler -v >&5"
2082 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2083 *) ac_try_echo
=$ac_try;;
2085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2086 (eval "$ac_compiler -v >&5") 2>&5
2088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2089 (exit $ac_status); }
2090 { (ac_try
="$ac_compiler -V >&5"
2092 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2093 *) ac_try_echo=$ac_try;;
2095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2096 (eval "$ac_compiler -V >&5") 2>&5
2098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2099 (exit $ac_status); }
2101 cat >conftest.$ac_ext <<_ACEOF
2104 cat confdefs.h >>conftest.$ac_ext
2105 cat >>conftest.$ac_ext <<_ACEOF
2106 /* end confdefs.h. */
2116 ac_clean_files_save=$ac_clean_files
2117 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2118 # Try to create an executable without -o first, disregard a.out.
2119 # It will help us diagnose broken compilers, and finding out an intuition
2121 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2122 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2123 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2125 # List of possible output files, starting from the most likely.
2126 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2127 # only as a last resort. b.out is created by i960 compilers.
2128 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2130 # The IRIX 6 linker writes into existing files which may not be
2131 # executable, retaining their permissions. Remove them first so a
2132 # subsequent execution test works.
2134 for ac_file in $ac_files
2137 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2138 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2143 if { (ac_try="$ac_link_default"
2145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2146 *) ac_try_echo=$ac_try;;
2148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2149 (eval "$ac_link_default") 2>&5
2151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2152 (exit $ac_status); }; then
2153 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2154 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2155 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2156 # so that the user can short-circuit this test for compilers unknown to
2158 for ac_file
in $ac_files
2160 test -f "$ac_file" ||
continue
2162 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2165 # We found the default executable, but exeext='' is most
2169 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2171 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2173 # We set ac_cv_exeext here because the later test for it is not
2174 # safe: cross compilers may not add the suffix if given an `-o'
2175 # argument, so we may need to know it at that point already.
2176 # Even if this section looks crufty: it has the advantage of
2183 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2186 echo "$as_me: failed program was:" >&5
2187 sed 's/^/| /' conftest.
$ac_ext >&5
2189 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2190 See \`config.log' for more details." >&5
2191 echo "$as_me: error: C compiler cannot create executables
2192 See \`config.log' for more details." >&2;}
2193 { (exit 77); exit 77; }; }
2196 ac_exeext
=$ac_cv_exeext
2197 { echo "$as_me:$LINENO: result: $ac_file" >&5
2198 echo "${ECHO_T}$ac_file" >&6; }
2200 # Check that the compiler produces executables we can run. If not, either
2201 # the compiler is broken, or we cross compile.
2202 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2203 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2204 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2205 # If not cross compiling, check that we can run a simple program.
2206 if test "$cross_compiling" != yes; then
2207 if { ac_try
='./$ac_file'
2208 { (case "(($ac_try" in
2209 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2210 *) ac_try_echo=$ac_try;;
2212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2213 (eval "$ac_try") 2>&5
2215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2216 (exit $ac_status); }; }; then
2219 if test "$cross_compiling" = maybe; then
2222 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2223 If you meant to cross compile, use \`--host'.
2224 See \`config.log' for more details.
" >&5
2225 echo "$as_me: error
: cannot run C compiled programs.
2226 If you meant to cross compile
, use \
`--host'.
2227 See \`config.log
' for more details." >&2;}
2228 { (exit 1); exit 1; }; }
2232 { echo "$as_me:$LINENO: result: yes" >&5
2233 echo "${ECHO_T}yes" >&6; }
2235 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2236 ac_clean_files=$ac_clean_files_save
2237 # Check that the compiler produces executables we can run. If not, either
2238 # the compiler is broken, or we cross compile.
2239 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2240 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2241 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2242 echo "${ECHO_T}$cross_compiling" >&6; }
2244 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2245 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2246 if { (ac_try="$ac_link"
2248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2249 *) ac_try_echo=$ac_try;;
2251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2252 (eval "$ac_link") 2>&5
2254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2255 (exit $ac_status); }; then
2256 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2257 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2258 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2260 for ac_file
in conftest.exe conftest conftest.
*; do
2261 test -f "$ac_file" ||
continue
2263 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2264 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2270 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2271 See \`config.log' for more details." >&5
2272 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2273 See \`config.log' for more details." >&2;}
2274 { (exit 1); exit 1; }; }
2277 rm -f conftest
$ac_cv_exeext
2278 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2279 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2281 rm -f conftest.
$ac_ext
2282 EXEEXT
=$ac_cv_exeext
2284 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2285 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2286 if test "${ac_cv_objext+set}" = set; then
2287 echo $ECHO_N "(cached) $ECHO_C" >&6
2289 cat >conftest.
$ac_ext <<_ACEOF
2292 cat confdefs.h
>>conftest.
$ac_ext
2293 cat >>conftest.
$ac_ext <<_ACEOF
2294 /* end confdefs.h. */
2304 rm -f conftest.o conftest.obj
2305 if { (ac_try
="$ac_compile"
2307 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2308 *) ac_try_echo=$ac_try;;
2310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2311 (eval "$ac_compile") 2>&5
2313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2314 (exit $ac_status); }; then
2315 for ac_file in conftest.o conftest.obj conftest.*; do
2316 test -f "$ac_file" || continue;
2318 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2319 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2324 echo "$as_me: failed program was:" >&5
2325 sed 's/^/| /' conftest.$ac_ext >&5
2327 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2328 See \`config.log
' for more details." >&5
2329 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2330 See \`config.log' for more details.
" >&2;}
2331 { (exit 1); exit 1; }; }
2334 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2336 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2337 echo "${ECHO_T}$ac_cv_objext" >&6; }
2338 OBJEXT=$ac_cv_objext
2340 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2341 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2342 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2343 echo $ECHO_N "(cached
) $ECHO_C" >&6
2345 cat >conftest.$ac_ext <<_ACEOF
2348 cat confdefs.h >>conftest.$ac_ext
2349 cat >>conftest.$ac_ext <<_ACEOF
2350 /* end confdefs.h. */
2363 rm -f conftest.$ac_objext
2364 if { (ac_try="$ac_compile"
2366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2367 *) ac_try_echo=$ac_try;;
2369 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2370 (eval "$ac_compile") 2>conftest.er1
2372 grep -v '^ *+' conftest.er1 >conftest.err
2374 cat conftest.err >&5
2375 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2376 (exit $ac_status); } &&
2377 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2378 { (case "(($ac_try" in
2379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2380 *) ac_try_echo=$ac_try;;
2382 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2383 (eval "$ac_try") 2>&5
2385 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2386 (exit $ac_status); }; } &&
2387 { ac_try='test -s conftest.$ac_objext'
2388 { (case "(($ac_try" in
2389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2390 *) ac_try_echo=$ac_try;;
2392 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2393 (eval "$ac_try") 2>&5
2395 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2396 (exit $ac_status); }; }; then
2399 echo "$as_me: failed program was
:" >&5
2400 sed 's/^/| /' conftest.$ac_ext >&5
2405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2406 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2409 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2410 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2411 GCC=`test $ac_compiler_gnu = yes && echo yes`
2412 ac_test_CFLAGS=${CFLAGS+set}
2413 ac_save_CFLAGS=$CFLAGS
2414 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2415 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2416 if test "${ac_cv_prog_cc_g+set}" = set; then
2417 echo $ECHO_N "(cached
) $ECHO_C" >&6
2419 ac_save_c_werror_flag=$ac_c_werror_flag
2420 ac_c_werror_flag=yes
2423 cat >conftest.$ac_ext <<_ACEOF
2426 cat confdefs.h >>conftest.$ac_ext
2427 cat >>conftest.$ac_ext <<_ACEOF
2428 /* end confdefs.h. */
2438 rm -f conftest.$ac_objext
2439 if { (ac_try="$ac_compile"
2441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2442 *) ac_try_echo=$ac_try;;
2444 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2445 (eval "$ac_compile") 2>conftest.er1
2447 grep -v '^ *+' conftest.er1 >conftest.err
2449 cat conftest.err >&5
2450 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2451 (exit $ac_status); } &&
2452 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2453 { (case "(($ac_try" in
2454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2455 *) ac_try_echo=$ac_try;;
2457 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2458 (eval "$ac_try") 2>&5
2460 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2461 (exit $ac_status); }; } &&
2462 { ac_try='test -s conftest.$ac_objext'
2463 { (case "(($ac_try" in
2464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2465 *) ac_try_echo=$ac_try;;
2467 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2468 (eval "$ac_try") 2>&5
2470 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2471 (exit $ac_status); }; }; then
2474 echo "$as_me: failed program was
:" >&5
2475 sed 's/^/| /' conftest.$ac_ext >&5
2478 cat >conftest.$ac_ext <<_ACEOF
2481 cat confdefs.h >>conftest.$ac_ext
2482 cat >>conftest.$ac_ext <<_ACEOF
2483 /* end confdefs.h. */
2493 rm -f conftest.$ac_objext
2494 if { (ac_try="$ac_compile"
2496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2497 *) ac_try_echo=$ac_try;;
2499 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2500 (eval "$ac_compile") 2>conftest.er1
2502 grep -v '^ *+' conftest.er1 >conftest.err
2504 cat conftest.err >&5
2505 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2506 (exit $ac_status); } &&
2507 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2508 { (case "(($ac_try" in
2509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2510 *) ac_try_echo=$ac_try;;
2512 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2513 (eval "$ac_try") 2>&5
2515 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2516 (exit $ac_status); }; } &&
2517 { ac_try='test -s conftest.$ac_objext'
2518 { (case "(($ac_try" in
2519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2520 *) ac_try_echo=$ac_try;;
2522 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2523 (eval "$ac_try") 2>&5
2525 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2526 (exit $ac_status); }; }; then
2529 echo "$as_me: failed program was
:" >&5
2530 sed 's/^/| /' conftest.$ac_ext >&5
2532 ac_c_werror_flag=$ac_save_c_werror_flag
2534 cat >conftest.$ac_ext <<_ACEOF
2537 cat confdefs.h >>conftest.$ac_ext
2538 cat >>conftest.$ac_ext <<_ACEOF
2539 /* end confdefs.h. */
2549 rm -f conftest.$ac_objext
2550 if { (ac_try="$ac_compile"
2552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2553 *) ac_try_echo=$ac_try;;
2555 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2556 (eval "$ac_compile") 2>conftest.er1
2558 grep -v '^ *+' conftest.er1 >conftest.err
2560 cat conftest.err >&5
2561 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2562 (exit $ac_status); } &&
2563 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2564 { (case "(($ac_try" in
2565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2566 *) ac_try_echo=$ac_try;;
2568 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2569 (eval "$ac_try") 2>&5
2571 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2572 (exit $ac_status); }; } &&
2573 { ac_try='test -s conftest.$ac_objext'
2574 { (case "(($ac_try" in
2575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2576 *) ac_try_echo=$ac_try;;
2578 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2579 (eval "$ac_try") 2>&5
2581 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2582 (exit $ac_status); }; }; then
2585 echo "$as_me: failed program was
:" >&5
2586 sed 's/^/| /' conftest.$ac_ext >&5
2591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2598 ac_c_werror_flag=$ac_save_c_werror_flag
2600 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
2601 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2602 if test "$ac_test_CFLAGS" = set; then
2603 CFLAGS=$ac_save_CFLAGS
2604 elif test $ac_cv_prog_cc_g = yes; then
2605 if test "$GCC" = yes; then
2611 if test "$GCC" = yes; then
2617 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
2618 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
2619 if test "${ac_cv_prog_cc_c89+set}" = set; then
2620 echo $ECHO_N "(cached
) $ECHO_C" >&6
2622 ac_cv_prog_cc_c89=no
2624 cat >conftest.$ac_ext <<_ACEOF
2627 cat confdefs.h >>conftest.$ac_ext
2628 cat >>conftest.$ac_ext <<_ACEOF
2629 /* end confdefs.h. */
2632 #include <sys/types.h>
2633 #include <sys/stat.h>
2634 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2635 struct buf { int x; };
2636 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2637 static char *e (p, i)
2643 static char *f (char * (*g) (char **, int), char **p, ...)
2648 s = g (p, va_arg (v,int));
2653 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2654 function prototypes and stuff, but not '\xHH' hex character constants.
2655 These don't provoke an error unfortunately, instead are silently treated
2656 as 'x'. The following induces an error, until -std is added to get
2657 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2658 array size at least. It's necessary to write '\x00'==0 to get something
2659 that's true only with -std. */
2660 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2662 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2663 inside strings and character constants. */
2665 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2667 int test (int i, double x);
2668 struct s1 {int (*f) (int a);};
2669 struct s2 {int (*f) (double a);};
2670 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2676 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2681 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2682 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2684 CC="$ac_save_CC $ac_arg"
2685 rm -f conftest.$ac_objext
2686 if { (ac_try="$ac_compile"
2688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2689 *) ac_try_echo=$ac_try;;
2691 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2692 (eval "$ac_compile") 2>conftest.er1
2694 grep -v '^ *+' conftest.er1 >conftest.err
2696 cat conftest.err >&5
2697 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2698 (exit $ac_status); } &&
2699 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2700 { (case "(($ac_try" in
2701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2702 *) ac_try_echo=$ac_try;;
2704 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2705 (eval "$ac_try") 2>&5
2707 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2708 (exit $ac_status); }; } &&
2709 { ac_try='test -s conftest.$ac_objext'
2710 { (case "(($ac_try" in
2711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2712 *) ac_try_echo=$ac_try;;
2714 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2715 (eval "$ac_try") 2>&5
2717 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2718 (exit $ac_status); }; }; then
2719 ac_cv_prog_cc_c89=$ac_arg
2721 echo "$as_me: failed program was
:" >&5
2722 sed 's/^/| /' conftest.$ac_ext >&5
2727 rm -f core conftest.err conftest.$ac_objext
2728 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
2730 rm -f conftest.$ac_ext
2735 case "x
$ac_cv_prog_cc_c89" in
2737 { echo "$as_me:$LINENO: result
: none needed
" >&5
2738 echo "${ECHO_T}none needed
" >&6; } ;;
2740 { echo "$as_me:$LINENO: result
: unsupported
" >&5
2741 echo "${ECHO_T}unsupported
" >&6; } ;;
2743 CC="$CC $ac_cv_prog_cc_c89"
2744 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
2745 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2750 ac_cpp='$CPP $CPPFLAGS'
2751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2756 ac_cpp='$CXXCPP $CPPFLAGS'
2757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2760 if test -z "$CXX"; then
2761 if test -n "$CCC"; then
2764 if test -n "$ac_tool_prefix"; then
2765 for ac_prog in clang++ llvm-g++ g++
2767 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2768 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2769 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
2770 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
2771 if test "${ac_cv_prog_CXX+set}" = set; then
2772 echo $ECHO_N "(cached
) $ECHO_C" >&6
2774 if test -n "$CXX"; then
2775 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2781 test -z "$as_dir" && as_dir=.
2782 for ac_exec_ext in '' $ac_executable_extensions; do
2783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2784 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2785 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2795 if test -n "$CXX"; then
2796 { echo "$as_me:$LINENO: result
: $CXX" >&5
2797 echo "${ECHO_T}$CXX" >&6; }
2799 { echo "$as_me:$LINENO: result
: no
" >&5
2800 echo "${ECHO_T}no
" >&6; }
2804 test -n "$CXX" && break
2807 if test -z "$CXX"; then
2809 for ac_prog in clang++ llvm-g++ g++
2811 # Extract the first word of "$ac_prog", so it can be a program name with args.
2812 set dummy $ac_prog; ac_word=$2
2813 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
2814 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
2815 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2816 echo $ECHO_N "(cached
) $ECHO_C" >&6
2818 if test -n "$ac_ct_CXX"; then
2819 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2825 test -z "$as_dir" && as_dir=.
2826 for ac_exec_ext in '' $ac_executable_extensions; do
2827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2828 ac_cv_prog_ac_ct_CXX="$ac_prog"
2829 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2838 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2839 if test -n "$ac_ct_CXX"; then
2840 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
2841 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2843 { echo "$as_me:$LINENO: result
: no
" >&5
2844 echo "${ECHO_T}no
" >&6; }
2848 test -n "$ac_ct_CXX" && break
2851 if test "x
$ac_ct_CXX" = x; then
2854 case $cross_compiling:$ac_tool_warned in
2856 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
2857 whose name does not start with the
host triplet. If you think this
2858 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
2859 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
2860 whose name does not start with the
host triplet. If you think this
2861 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
2862 ac_tool_warned=yes ;;
2870 # Provide some information about the compiler.
2871 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
2872 ac_compiler=`set X $ac_compile; echo $2`
2873 { (ac_try="$ac_compiler --version >&5"
2875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2876 *) ac_try_echo=$ac_try;;
2878 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2879 (eval "$ac_compiler --version >&5") 2>&5
2881 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2882 (exit $ac_status); }
2883 { (ac_try="$ac_compiler -v >&5"
2885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2886 *) ac_try_echo=$ac_try;;
2888 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2889 (eval "$ac_compiler -v >&5") 2>&5
2891 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2892 (exit $ac_status); }
2893 { (ac_try="$ac_compiler -V >&5"
2895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2896 *) ac_try_echo=$ac_try;;
2898 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2899 (eval "$ac_compiler -V >&5") 2>&5
2901 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2902 (exit $ac_status); }
2904 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
2905 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
2906 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2907 echo $ECHO_N "(cached
) $ECHO_C" >&6
2909 cat >conftest.$ac_ext <<_ACEOF
2912 cat confdefs.h >>conftest.$ac_ext
2913 cat >>conftest.$ac_ext <<_ACEOF
2914 /* end confdefs.h. */
2927 rm -f conftest.$ac_objext
2928 if { (ac_try="$ac_compile"
2930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2931 *) ac_try_echo=$ac_try;;
2933 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2934 (eval "$ac_compile") 2>conftest.er1
2936 grep -v '^ *+' conftest.er1 >conftest.err
2938 cat conftest.err >&5
2939 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2940 (exit $ac_status); } &&
2941 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2942 { (case "(($ac_try" in
2943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2944 *) ac_try_echo=$ac_try;;
2946 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2947 (eval "$ac_try") 2>&5
2949 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2950 (exit $ac_status); }; } &&
2951 { ac_try='test -s conftest.$ac_objext'
2952 { (case "(($ac_try" in
2953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2954 *) ac_try_echo=$ac_try;;
2956 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2957 (eval "$ac_try") 2>&5
2959 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2960 (exit $ac_status); }; }; then
2963 echo "$as_me: failed program was
:" >&5
2964 sed 's/^/| /' conftest.$ac_ext >&5
2969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2970 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2973 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
2974 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
2975 GXX=`test $ac_compiler_gnu = yes && echo yes`
2976 ac_test_CXXFLAGS=${CXXFLAGS+set}
2977 ac_save_CXXFLAGS=$CXXFLAGS
2978 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
2979 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
2980 if test "${ac_cv_prog_cxx_g+set}" = set; then
2981 echo $ECHO_N "(cached
) $ECHO_C" >&6
2983 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2984 ac_cxx_werror_flag=yes
2987 cat >conftest.$ac_ext <<_ACEOF
2990 cat confdefs.h >>conftest.$ac_ext
2991 cat >>conftest.$ac_ext <<_ACEOF
2992 /* end confdefs.h. */
3002 rm -f conftest.$ac_objext
3003 if { (ac_try="$ac_compile"
3005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3006 *) ac_try_echo=$ac_try;;
3008 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3009 (eval "$ac_compile") 2>conftest.er1
3011 grep -v '^ *+' conftest.er1 >conftest.err
3013 cat conftest.err >&5
3014 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3015 (exit $ac_status); } &&
3016 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3017 { (case "(($ac_try" in
3018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3019 *) ac_try_echo=$ac_try;;
3021 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3022 (eval "$ac_try") 2>&5
3024 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3025 (exit $ac_status); }; } &&
3026 { ac_try='test -s conftest.$ac_objext'
3027 { (case "(($ac_try" in
3028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3029 *) ac_try_echo=$ac_try;;
3031 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3032 (eval "$ac_try") 2>&5
3034 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3035 (exit $ac_status); }; }; then
3036 ac_cv_prog_cxx_g=yes
3038 echo "$as_me: failed program was
:" >&5
3039 sed 's/^/| /' conftest.$ac_ext >&5
3042 cat >conftest.$ac_ext <<_ACEOF
3045 cat confdefs.h >>conftest.$ac_ext
3046 cat >>conftest.$ac_ext <<_ACEOF
3047 /* end confdefs.h. */
3057 rm -f conftest.$ac_objext
3058 if { (ac_try="$ac_compile"
3060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3061 *) ac_try_echo=$ac_try;;
3063 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3064 (eval "$ac_compile") 2>conftest.er1
3066 grep -v '^ *+' conftest.er1 >conftest.err
3068 cat conftest.err >&5
3069 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3070 (exit $ac_status); } &&
3071 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3072 { (case "(($ac_try" in
3073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3074 *) ac_try_echo=$ac_try;;
3076 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3077 (eval "$ac_try") 2>&5
3079 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3080 (exit $ac_status); }; } &&
3081 { ac_try='test -s conftest.$ac_objext'
3082 { (case "(($ac_try" in
3083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3084 *) ac_try_echo=$ac_try;;
3086 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3087 (eval "$ac_try") 2>&5
3089 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3090 (exit $ac_status); }; }; then
3093 echo "$as_me: failed program was
:" >&5
3094 sed 's/^/| /' conftest.$ac_ext >&5
3096 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
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_cxx_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
3147 ac_cv_prog_cxx_g=yes
3149 echo "$as_me: failed program was
:" >&5
3150 sed 's/^/| /' conftest.$ac_ext >&5
3155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3162 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3164 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3165 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3166 if test "$ac_test_CXXFLAGS" = set; then
3167 CXXFLAGS=$ac_save_CXXFLAGS
3168 elif test $ac_cv_prog_cxx_g = yes; then
3169 if test "$GXX" = yes; then
3175 if test "$GXX" = yes; then
3182 ac_cpp='$CPP $CPPFLAGS'
3183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3188 ac_cpp='$CPP $CPPFLAGS'
3189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3192 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3193 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3194 # On Suns, sometimes $CPP names a directory.
3195 if test -n "$CPP" && test -d "$CPP"; then
3198 if test -z "$CPP"; then
3199 if test "${ac_cv_prog_CPP+set}" = set; then
3200 echo $ECHO_N "(cached
) $ECHO_C" >&6
3202 # Double quotes because CPP needs to be expanded
3203 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3206 for ac_c_preproc_warn_flag in '' yes
3208 # Use a header file that comes with gcc, so configuring glibc
3209 # with a fresh cross-compiler works.
3210 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3211 # <limits.h> exists even on freestanding compilers.
3212 # On the NeXT, cc -E runs the code through the compiler's parser,
3213 # not just through cpp. "Syntax error
" is here to catch this case.
3214 cat >conftest.$ac_ext <<_ACEOF
3217 cat confdefs.h >>conftest.$ac_ext
3218 cat >>conftest.$ac_ext <<_ACEOF
3219 /* end confdefs.h. */
3221 # include <limits.h>
3223 # include <assert.h>
3227 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3230 *) ac_try_echo=$ac_try;;
3232 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3233 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3235 grep -v '^ *+' conftest.er1 >conftest.err
3237 cat conftest.err >&5
3238 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3239 (exit $ac_status); } >/dev/null; then
3240 if test -s conftest.err; then
3241 ac_cpp_err=$ac_c_preproc_warn_flag
3242 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3249 if test -z "$ac_cpp_err"; then
3252 echo "$as_me: failed program was
:" >&5
3253 sed 's/^/| /' conftest.$ac_ext >&5
3255 # Broken: fails on valid input.
3259 rm -f conftest.err conftest.$ac_ext
3261 # OK, works on sane cases. Now check whether nonexistent headers
3262 # can be detected and how.
3263 cat >conftest.$ac_ext <<_ACEOF
3266 cat confdefs.h >>conftest.$ac_ext
3267 cat >>conftest.$ac_ext <<_ACEOF
3268 /* end confdefs.h. */
3269 #include <ac_nonexistent.h>
3271 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3274 *) ac_try_echo=$ac_try;;
3276 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3277 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3279 grep -v '^ *+' conftest.er1 >conftest.err
3281 cat conftest.err >&5
3282 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3283 (exit $ac_status); } >/dev/null; then
3284 if test -s conftest.err; then
3285 ac_cpp_err=$ac_c_preproc_warn_flag
3286 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3293 if test -z "$ac_cpp_err"; then
3294 # Broken: success on invalid input.
3297 echo "$as_me: failed program was
:" >&5
3298 sed 's/^/| /' conftest.$ac_ext >&5
3300 # Passes both tests.
3305 rm -f conftest.err conftest.$ac_ext
3308 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3309 rm -f conftest.err conftest.$ac_ext
3310 if $ac_preproc_ok; then
3322 { echo "$as_me:$LINENO: result
: $CPP" >&5
3323 echo "${ECHO_T}$CPP" >&6; }
3325 for ac_c_preproc_warn_flag in '' yes
3327 # Use a header file that comes with gcc, so configuring glibc
3328 # with a fresh cross-compiler works.
3329 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3330 # <limits.h> exists even on freestanding compilers.
3331 # On the NeXT, cc -E runs the code through the compiler's parser,
3332 # not just through cpp. "Syntax error
" is here to catch this case.
3333 cat >conftest.$ac_ext <<_ACEOF
3336 cat confdefs.h >>conftest.$ac_ext
3337 cat >>conftest.$ac_ext <<_ACEOF
3338 /* end confdefs.h. */
3340 # include <limits.h>
3342 # include <assert.h>
3346 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3349 *) ac_try_echo=$ac_try;;
3351 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3352 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3354 grep -v '^ *+' conftest.er1 >conftest.err
3356 cat conftest.err >&5
3357 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3358 (exit $ac_status); } >/dev/null; then
3359 if test -s conftest.err; then
3360 ac_cpp_err=$ac_c_preproc_warn_flag
3361 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3368 if test -z "$ac_cpp_err"; then
3371 echo "$as_me: failed program was
:" >&5
3372 sed 's/^/| /' conftest.$ac_ext >&5
3374 # Broken: fails on valid input.
3378 rm -f conftest.err conftest.$ac_ext
3380 # OK, works on sane cases. Now check whether nonexistent headers
3381 # can be detected and how.
3382 cat >conftest.$ac_ext <<_ACEOF
3385 cat confdefs.h >>conftest.$ac_ext
3386 cat >>conftest.$ac_ext <<_ACEOF
3387 /* end confdefs.h. */
3388 #include <ac_nonexistent.h>
3390 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3393 *) ac_try_echo=$ac_try;;
3395 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3396 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3398 grep -v '^ *+' conftest.er1 >conftest.err
3400 cat conftest.err >&5
3401 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3402 (exit $ac_status); } >/dev/null; then
3403 if test -s conftest.err; then
3404 ac_cpp_err=$ac_c_preproc_warn_flag
3405 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3412 if test -z "$ac_cpp_err"; then
3413 # Broken: success on invalid input.
3416 echo "$as_me: failed program was
:" >&5
3417 sed 's/^/| /' conftest.$ac_ext >&5
3419 # Passes both tests.
3424 rm -f conftest.err conftest.$ac_ext
3427 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3428 rm -f conftest.err conftest.$ac_ext
3429 if $ac_preproc_ok; then
3432 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3433 See \
`config.log' for more details." >&5
3434 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3435 See \`config.log
' for more details." >&2;}
3436 { (exit 1); exit 1; }; }
3440 ac_cpp='$CPP $CPPFLAGS'
3441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3442 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3448 if test -d ${srcdir}/projects/llvm-gcc ; then
3449 subdirs="$subdirs projects/llvm-gcc"
3453 if test -d ${srcdir}/projects/test-suite ; then
3454 subdirs="$subdirs projects/test-suite"
3458 if test -d ${srcdir}/projects/llvm-test ; then
3459 subdirs="$subdirs projects/llvm-test"
3463 if test -d ${srcdir}/projects/poolalloc ; then
3464 subdirs="$subdirs projects/poolalloc"
3468 if test -d ${srcdir}/projects/llvm-poolalloc ; then
3469 subdirs="$subdirs projects/llvm-poolalloc"
3473 for i in `ls ${srcdir}/projects`
3475 if test -d ${srcdir}/projects/${i} ; then
3477 sample) subdirs="$subdirs projects/sample"
3479 privbracket) subdirs="$subdirs projects/privbracket"
3481 llvm-stacker) subdirs="$subdirs projects/llvm-stacker"
3483 llvm-reopt) subdirs="$subdirs projects/llvm-reopt"
3485 llvm-java) subdirs="$subdirs projects/llvm-java"
3487 llvm-tv) subdirs="$subdirs projects/llvm-tv"
3489 safecode) subdirs="$subdirs projects/safecode"
3491 llvm-kernel) subdirs="$subdirs projects/llvm-kernel"
3499 { echo "$as_me:$LINENO: WARNING: Unknown project (${i}) won't be configured automatically
" >&5
3500 echo "$as_me: WARNING
: Unknown project
(${i}) won
't be configured automatically" >&2;}
3506 # Check whether --enable-polly was given.
3507 if test "${enable_polly+set}" = set; then
3508 enableval=$enable_polly;
3513 case "$enableval" in
3518 default) ENABLE_POLLY=1
3520 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-polly. Use \"yes\" or \"no\"" >&5
3521 echo "$as_me: error: Invalid setting for --enable-polly. Use \"yes\" or \"no\"" >&2;}
3522 { (exit 1); exit 1; }; } ;;
3526 if (test -d ${srcdir}/tools/polly) && (test $ENABLE_POLLY -eq 1) ; then
3529 subdirs="$subdirs tools/polly"
3534 # Make sure we can run config.sub.
3535 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3536 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3537 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3538 { (exit 1); exit 1; }; }
3540 { echo "$as_me:$LINENO: checking build system type" >&5
3541 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3542 if test "${ac_cv_build+set}" = set; then
3543 echo $ECHO_N "(cached) $ECHO_C" >&6
3545 ac_build_alias=$build_alias
3546 test "x$ac_build_alias" = x &&
3547 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3548 test "x$ac_build_alias" = x &&
3549 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3550 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3551 { (exit 1); exit 1; }; }
3552 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3553 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3554 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3555 { (exit 1); exit 1; }; }
3558 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3559 echo "${ECHO_T}$ac_cv_build" >&6; }
3560 case $ac_cv_build in
3562 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3563 echo "$as_me: error: invalid value of canonical build" >&2;}
3564 { (exit 1); exit 1; }; };;
3567 ac_save_IFS=$IFS; IFS='-'
3573 # Remember, the first character of IFS is used to create $*,
3574 # except with old shells:
3577 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's
/ /-/g
'`;; esac
3580 { echo "$as_me:$LINENO: checking host system type" >&5
3581 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3582 if test "${ac_cv_host+set}" = set; then
3583 echo $ECHO_N "(cached) $ECHO_C" >&6
3585 if test "x$host_alias" = x; then
3586 ac_cv_host=$ac_cv_build
3588 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3589 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3590 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3591 { (exit 1); exit 1; }; }
3595 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3596 echo "${ECHO_T}$ac_cv_host" >&6; }
3599 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3600 echo "$as_me: error: invalid value of canonical host" >&2;}
3601 { (exit 1); exit 1; }; };;
3604 ac_save_IFS=$IFS; IFS='-'
3610 # Remember, the first character of IFS is used to create $*,
3611 # except with old shells:
3614 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's
/ /-/g
'`;; esac
3617 { echo "$as_me:$LINENO: checking target system type" >&5
3618 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
3619 if test "${ac_cv_target+set}" = set; then
3620 echo $ECHO_N "(cached) $ECHO_C" >&6
3622 if test "x$target_alias" = x; then
3623 ac_cv_target=$ac_cv_host
3625 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3626 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
3627 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
3628 { (exit 1); exit 1; }; }
3632 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
3633 echo "${ECHO_T}$ac_cv_target" >&6; }
3634 case $ac_cv_target in
3636 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
3637 echo "$as_me: error: invalid value of canonical target" >&2;}
3638 { (exit 1); exit 1; }; };;
3640 target=$ac_cv_target
3641 ac_save_IFS=$IFS; IFS='-'
3647 # Remember, the first character of IFS is used to create $*,
3648 # except with old shells:
3651 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's
/ /-/g
'`;; esac
3654 # The aliases save the names the user supplied, while $host etc.
3655 # will get canonicalized.
3656 test -n "$target_alias" &&
3657 test "$program_prefix$program_suffix$program_transform_name" = \
3659 program_prefix=${target_alias}-
3661 { echo "$as_me:$LINENO: checking type of operating system we're going to
host on
" >&5
3662 echo $ECHO_N "checking
type of operating system we
're going to host on... $ECHO_C" >&6; }
3663 if test "${llvm_cv_os_type+set}" = set; then
3664 echo $ECHO_N "(cached) $ECHO_C" >&6
3668 llvm_cv_link_all_option="-Wl,--whole-archive"
3669 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
3670 llvm_cv_os_type="AIX"
3671 llvm_cv_platform_type="Unix" ;;
3673 llvm_cv_link_all_option="-Wl,--whole-archive"
3674 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
3675 llvm_cv_os_type="IRIX"
3676 llvm_cv_platform_type="Unix" ;;
3678 llvm_cv_link_all_option="-Wl,--whole-archive"
3679 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
3680 llvm_cv_os_type="Cygwin"
3681 llvm_cv_platform_type="Unix" ;;
3683 llvm_cv_link_all_option="-Wl,-all_load"
3684 llvm_cv_no_link_all_option="-Wl,-noall_load"
3685 llvm_cv_os_type="Darwin"
3686 llvm_cv_platform_type="Unix" ;;
3688 llvm_cv_link_all_option="-Wl,-all_load"
3689 llvm_cv_no_link_all_option="-Wl,-noall_load"
3690 llvm_cv_os_type="Minix"
3691 llvm_cv_platform_type="Unix" ;;
3693 llvm_cv_link_all_option="-Wl,--whole-archive"
3694 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
3695 llvm_cv_os_type="FreeBSD"
3696 llvm_cv_platform_type="Unix" ;;
3698 llvm_cv_link_all_option="-Wl,--whole-archive"
3699 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
3700 llvm_cv_os_type="OpenBSD"
3701 llvm_cv_platform_type="Unix" ;;
3703 llvm_cv_link_all_option="-Wl,--whole-archive"
3704 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
3705 llvm_cv_os_type="NetBSD"
3706 llvm_cv_platform_type="Unix" ;;
3708 llvm_cv_link_all_option="-Wl,--whole-archive"
3709 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
3710 llvm_cv_os_type="DragonFly"
3711 llvm_cv_platform_type="Unix" ;;
3713 llvm_cv_link_all_option="-Wl,--whole-archive"
3714 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
3715 llvm_cv_os_type="HP-UX"
3716 llvm_cv_platform_type="Unix" ;;
3718 llvm_cv_link_all_option="-Wl,--whole-archive"
3719 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
3720 llvm_cv_os_type="Interix"
3721 llvm_cv_platform_type="Unix" ;;
3723 llvm_cv_link_all_option="-Wl,--whole-archive"
3724 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
3725 llvm_cv_os_type="Linux"
3726 llvm_cv_platform_type="Unix" ;;
3728 llvm_cv_link_all_option="-Wl,-z,allextract"
3729 llvm_cv_no_link_all_option="-Wl,-z,defaultextract"
3730 llvm_cv_os_type="SunOS"
3731 llvm_cv_platform_type="Unix" ;;
3733 llvm_cv_link_all_option="-Wl,-z,allextract"
3734 llvm_cv_link_all_option="-Wl,-z,defaultextract"
3735 llvm_cv_os_type="AuroraUX"
3736 llvm_cv_platform_type="Unix" ;;
3738 llvm_cv_link_all_option="-Wl,--whole-archive"
3739 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
3740 llvm_cv_os_type="Win32"
3741 llvm_cv_platform_type="Win32" ;;
3743 llvm_cv_link_all_option="-Wl,--whole-archive"
3744 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
3745 llvm_cv_os_type="MingW"
3746 llvm_cv_platform_type="Win32" ;;
3748 llvm_cv_link_all_option="-Wl,--whole-archive"
3749 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
3750 llvm_cv_os_type="Haiku"
3751 llvm_cv_platform_type="Unix" ;;
3753 llvm_cv_link_all_option="-Wl,--whole-archive"
3754 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
3755 llvm_cv_os_type="Freestanding"
3756 llvm_cv_platform_type="Unix" ;;
3758 llvm_cv_link_all_option="-Wl,--whole-archive"
3759 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
3760 llvm_cv_os_type="Freestanding"
3761 llvm_cv_platform_type="Unix" ;;
3763 llvm_cv_link_all_option=""
3764 llvm_cv_no_link_all_option=""
3765 llvm_cv_os_type="Unknown"
3766 llvm_cv_platform_type="Unknown" ;;
3769 { echo "$as_me:$LINENO: result: $llvm_cv_os_type" >&5
3770 echo "${ECHO_T}$llvm_cv_os_type" >&6; }
3772 { echo "$as_me:$LINENO: checking type of operating system we're going to target
" >&5
3773 echo $ECHO_N "checking
type of operating system we
're going to target... $ECHO_C" >&6; }
3774 if test "${llvm_cv_target_os_type+set}" = set; then
3775 echo $ECHO_N "(cached) $ECHO_C" >&6
3779 llvm_cv_target_os_type="AIX" ;;
3781 llvm_cv_target_os_type="IRIX" ;;
3783 llvm_cv_target_os_type="Cygwin" ;;
3785 llvm_cv_target_os_type="Darwin" ;;
3787 llvm_cv_target_os_type="Minix" ;;
3789 llvm_cv_target_os_type="FreeBSD" ;;
3791 llvm_cv_target_os_type="OpenBSD" ;;
3793 llvm_cv_target_os_type="NetBSD" ;;
3795 llvm_cv_target_os_type="DragonFly" ;;
3797 llvm_cv_target_os_type="HP-UX" ;;
3799 llvm_cv_target_os_type="Interix" ;;
3801 llvm_cv_target_os_type="Linux" ;;
3803 llvm_cv_target_os_type="SunOS" ;;
3805 llvm_cv_target_os_type="AuroraUX" ;;
3807 llvm_cv_target_os_type="Win32" ;;
3809 llvm_cv_target_os_type="MingW" ;;
3811 llvm_cv_target_os_type="Haiku" ;;
3813 llvm_cv_target_os_type="RTEMS" ;;
3815 llvm_cv_target_os_type="NativeClient" ;;
3817 llvm_cv_target_os_type="Freestanding" ;;
3819 llvm_cv_target_os_type="Unknown" ;;
3822 { echo "$as_me:$LINENO: result: $llvm_cv_target_os_type" >&5
3823 echo "${ECHO_T}$llvm_cv_target_os_type" >&6; }
3825 if test "$llvm_cv_os_type" = "Unknown" ; then
3826 { { echo "$as_me:$LINENO: error: Operating system is unknown, configure can't
continue" >&5
3827 echo "$as_me: error
: Operating system is unknown
, configure can
't continue" >&2;}
3828 { (exit 1); exit 1; }; }
3833 HOST_OS=$llvm_cv_os_type
3835 TARGET_OS=$llvm_cv_target_os_type
3838 LINKALL=$llvm_cv_link_all_option
3840 NOLINKALL=$llvm_cv_no_link_all_option
3843 case $llvm_cv_platform_type in
3846 cat >>confdefs.h <<\_ACEOF
3847 #define LLVM_ON_UNIX 1
3857 cat >>confdefs.h <<\_ACEOF
3858 #define LLVM_ON_WIN32 1
3868 { echo "$as_me:$LINENO: checking target architecture" >&5
3869 echo $ECHO_N "checking target architecture... $ECHO_C" >&6; }
3870 if test "${llvm_cv_target_arch+set}" = set; then
3871 echo $ECHO_N "(cached) $ECHO_C" >&6
3874 i?86-*) llvm_cv_target_arch="x86" ;;
3875 amd64-* | x86_64-*) llvm_cv_target_arch="x86_64" ;;
3876 sparc*-*) llvm_cv_target_arch="Sparc" ;;
3877 powerpc*-*) llvm_cv_target_arch="PowerPC" ;;
3878 alpha*-*) llvm_cv_target_arch="Alpha" ;;
3879 arm*-*) llvm_cv_target_arch="ARM" ;;
3880 mips-*) llvm_cv_target_arch="Mips" ;;
3881 xcore-*) llvm_cv_target_arch="XCore" ;;
3882 msp430-*) llvm_cv_target_arch="MSP430" ;;
3883 s390x-*) llvm_cv_target_arch="SystemZ" ;;
3884 bfin-*) llvm_cv_target_arch="Blackfin" ;;
3885 mblaze-*) llvm_cv_target_arch="MBlaze" ;;
3886 ptx-*) llvm_cv_target_arch="PTX" ;;
3887 *) llvm_cv_target_arch="Unknown" ;;
3890 { echo "$as_me:$LINENO: result: $llvm_cv_target_arch" >&5
3891 echo "${ECHO_T}$llvm_cv_target_arch" >&6; }
3893 if test "$llvm_cv_target_arch" = "Unknown" ; then
3894 { echo "$as_me:$LINENO: WARNING: Configuring LLVM for an unknown target archicture" >&5
3895 echo "$as_me: WARNING: Configuring LLVM for an unknown target archicture" >&2;}
3898 # Determine the LLVM native architecture for the target
3899 case "$llvm_cv_target_arch" in
3900 x86) LLVM_NATIVE_ARCH="X86" ;;
3901 x86_64) LLVM_NATIVE_ARCH="X86" ;;
3902 *) LLVM_NATIVE_ARCH="$llvm_cv_target_arch" ;;
3905 ARCH=$llvm_cv_target_arch
3910 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3911 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3912 if test "${ac_cv_path_GREP+set}" = set; then
3913 echo $ECHO_N "(cached) $ECHO_C" >&6
3915 # Extract the first word of "grep ggrep" to use in msg output
3916 if test -z "$GREP"; then
3917 set dummy grep ggrep; ac_prog_name=$2
3918 if test "${ac_cv_path_GREP+set}" = set; then
3919 echo $ECHO_N "(cached) $ECHO_C" >&6
3921 ac_path_GREP_found=false
3922 # Loop through the user's path and
test for each of PROGNAME-LIST
3923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3924 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3927 test -z "$as_dir" && as_dir
=.
3928 for ac_prog
in grep ggrep
; do
3929 for ac_exec_ext
in '' $ac_executable_extensions; do
3930 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3931 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } ||
continue
3932 # Check for GNU ac_path_GREP and select it if it is found.
3933 # Check for GNU $ac_path_GREP
3934 case `"$ac_path_GREP" --version 2>&1` in
3936 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3939 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3942 cat "conftest.in" "conftest.in" >"conftest.tmp"
3943 mv "conftest.tmp" "conftest.in"
3944 cp "conftest.in" "conftest.nl"
3945 echo 'GREP' >> "conftest.nl"
3946 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3947 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3948 ac_count
=`expr $ac_count + 1`
3949 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3950 # Best one so far, save it but keep looking for a better one
3951 ac_cv_path_GREP
="$ac_path_GREP"
3952 ac_path_GREP_max
=$ac_count
3954 # 10*(2^10) chars as input seems more than enough
3955 test $ac_count -gt 10 && break
3957 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3961 $ac_path_GREP_found && break 3
3971 GREP
="$ac_cv_path_GREP"
3972 if test -z "$GREP"; then
3973 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3974 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3975 { (exit 1); exit 1; }; }
3979 ac_cv_path_GREP
=$GREP
3984 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3985 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3986 GREP
="$ac_cv_path_GREP"
3989 { echo "$as_me:$LINENO: checking for egrep" >&5
3990 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3991 if test "${ac_cv_path_EGREP+set}" = set; then
3992 echo $ECHO_N "(cached) $ECHO_C" >&6
3994 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3995 then ac_cv_path_EGREP
="$GREP -E"
3997 # Extract the first word of "egrep" to use in msg output
3998 if test -z "$EGREP"; then
3999 set dummy
egrep; ac_prog_name
=$2
4000 if test "${ac_cv_path_EGREP+set}" = set; then
4001 echo $ECHO_N "(cached) $ECHO_C" >&6
4003 ac_path_EGREP_found
=false
4004 # Loop through the user's path and test for each of PROGNAME-LIST
4005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4006 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4009 test -z "$as_dir" && as_dir
=.
4010 for ac_prog
in egrep; do
4011 for ac_exec_ext
in '' $ac_executable_extensions; do
4012 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4013 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } ||
continue
4014 # Check for GNU ac_path_EGREP and select it if it is found.
4015 # Check for GNU $ac_path_EGREP
4016 case `"$ac_path_EGREP" --version 2>&1` in
4018 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4021 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4024 cat "conftest.in" "conftest.in" >"conftest.tmp"
4025 mv "conftest.tmp" "conftest.in"
4026 cp "conftest.in" "conftest.nl"
4027 echo 'EGREP' >> "conftest.nl"
4028 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4029 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4030 ac_count
=`expr $ac_count + 1`
4031 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4032 # Best one so far, save it but keep looking for a better one
4033 ac_cv_path_EGREP
="$ac_path_EGREP"
4034 ac_path_EGREP_max
=$ac_count
4036 # 10*(2^10) chars as input seems more than enough
4037 test $ac_count -gt 10 && break
4039 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4043 $ac_path_EGREP_found && break 3
4053 EGREP
="$ac_cv_path_EGREP"
4054 if test -z "$EGREP"; then
4055 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4056 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4057 { (exit 1); exit 1; }; }
4061 ac_cv_path_EGREP
=$EGREP
4067 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4068 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4069 EGREP
="$ac_cv_path_EGREP"
4072 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4073 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4074 if test "${ac_cv_header_stdc+set}" = set; then
4075 echo $ECHO_N "(cached) $ECHO_C" >&6
4077 cat >conftest.
$ac_ext <<_ACEOF
4080 cat confdefs.h
>>conftest.
$ac_ext
4081 cat >>conftest.
$ac_ext <<_ACEOF
4082 /* end confdefs.h. */
4096 rm -f conftest.
$ac_objext
4097 if { (ac_try
="$ac_compile"
4099 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4100 *) ac_try_echo=$ac_try;;
4102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4103 (eval "$ac_compile") 2>conftest.er1
4105 grep -v '^ *+' conftest.er1 >conftest.err
4107 cat conftest.err >&5
4108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4109 (exit $ac_status); } &&
4110 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4111 { (case "(($ac_try" in
4112 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4113 *) ac_try_echo
=$ac_try;;
4115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4116 (eval "$ac_try") 2>&5
4118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4119 (exit $ac_status); }; } &&
4120 { ac_try
='test -s conftest.$ac_objext'
4121 { (case "(($ac_try" in
4122 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4123 *) ac_try_echo=$ac_try;;
4125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4126 (eval "$ac_try") 2>&5
4128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4129 (exit $ac_status); }; }; then
4130 ac_cv_header_stdc=yes
4132 echo "$as_me: failed program was:" >&5
4133 sed 's/^/| /' conftest.$ac_ext >&5
4135 ac_cv_header_stdc=no
4138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4140 if test $ac_cv_header_stdc = yes; then
4141 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4142 cat >conftest.$ac_ext <<_ACEOF
4145 cat confdefs.h >>conftest.$ac_ext
4146 cat >>conftest.$ac_ext <<_ACEOF
4147 /* end confdefs.h. */
4151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4152 $EGREP "memchr" >/dev/null 2>&1; then
4155 ac_cv_header_stdc=no
4161 if test $ac_cv_header_stdc = yes; then
4162 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4163 cat >conftest.$ac_ext <<_ACEOF
4166 cat confdefs.h >>conftest.$ac_ext
4167 cat >>conftest.$ac_ext <<_ACEOF
4168 /* end confdefs.h. */
4172 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4173 $EGREP "free" >/dev/null 2>&1; then
4176 ac_cv_header_stdc=no
4182 if test $ac_cv_header_stdc = yes; then
4183 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4184 if test "$cross_compiling" = yes; then
4187 cat >conftest.$ac_ext <<_ACEOF
4190 cat confdefs.h >>conftest.$ac_ext
4191 cat >>conftest.$ac_ext <<_ACEOF
4192 /* end confdefs.h. */
4195 #if ((' ' & 0x0FF) == 0x020)
4196 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4197 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4199 # define ISLOWER(c) \
4200 (('a' <= (c) && (c) <= 'i') \
4201 || ('j' <= (c) && (c) <= 'r') \
4202 || ('s' <= (c) && (c) <= 'z'))
4203 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4206 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4211 for (i = 0; i < 256; i++)
4212 if (XOR (islower (i), ISLOWER (i))
4213 || toupper (i) != TOUPPER (i))
4218 rm -f conftest$ac_exeext
4219 if { (ac_try="$ac_link"
4221 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4222 *) ac_try_echo
=$ac_try;;
4224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4225 (eval "$ac_link") 2>&5
4227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4228 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4229 { (case "(($ac_try" in
4230 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4231 *) ac_try_echo=$ac_try;;
4233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4234 (eval "$ac_try") 2>&5
4236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4237 (exit $ac_status); }; }; then
4240 echo "$as_me: program exited with status $ac_status" >&5
4241 echo "$as_me: failed program was:" >&5
4242 sed 's/^/| /' conftest.$ac_ext >&5
4245 ac_cv_header_stdc=no
4247 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4253 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4254 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4255 if test $ac_cv_header_stdc = yes; then
4257 cat >>confdefs.h <<\_ACEOF
4258 #define STDC_HEADERS 1
4263 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4273 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4274 inttypes.h stdint.h unistd.h
4276 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4277 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4278 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4279 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4280 echo $ECHO_N "(cached) $ECHO_C" >&6
4282 cat >conftest.$ac_ext <<_ACEOF
4285 cat confdefs.h >>conftest.$ac_ext
4286 cat >>conftest.$ac_ext <<_ACEOF
4287 /* end confdefs.h. */
4288 $ac_includes_default
4290 #include <$ac_header>
4292 rm -f conftest.$ac_objext
4293 if { (ac_try="$ac_compile"
4295 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4296 *) ac_try_echo
=$ac_try;;
4298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4299 (eval "$ac_compile") 2>conftest.er1
4301 grep -v '^ *+' conftest.er1
>conftest.err
4303 cat conftest.err
>&5
4304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4305 (exit $ac_status); } &&
4306 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4307 { (case "(($ac_try" in
4308 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4309 *) ac_try_echo=$ac_try;;
4311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4312 (eval "$ac_try") 2>&5
4314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4315 (exit $ac_status); }; } &&
4316 { ac_try='test -s conftest.$ac_objext'
4317 { (case "(($ac_try" in
4318 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4319 *) ac_try_echo
=$ac_try;;
4321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4322 (eval "$ac_try") 2>&5
4324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4325 (exit $ac_status); }; }; then
4326 eval "$as_ac_Header=yes"
4328 echo "$as_me: failed program was:" >&5
4329 sed 's/^/| /' conftest.
$ac_ext >&5
4331 eval "$as_ac_Header=no"
4334 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4336 ac_res
=`eval echo '${'$as_ac_Header'}'`
4337 { echo "$as_me:$LINENO: result: $ac_res" >&5
4338 echo "${ECHO_T}$ac_res" >&6; }
4339 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4340 cat >>confdefs.h
<<_ACEOF
4341 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4349 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4350 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
4351 if test "${ac_cv_c_bigendian+set}" = set; then
4352 echo $ECHO_N "(cached) $ECHO_C" >&6
4354 # See if sys/param.h defines the BYTE_ORDER macro.
4355 cat >conftest.
$ac_ext <<_ACEOF
4358 cat confdefs.h
>>conftest.
$ac_ext
4359 cat >>conftest.
$ac_ext <<_ACEOF
4360 /* end confdefs.h. */
4361 #include <sys/types.h>
4362 #include <sys/param.h>
4367 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4375 rm -f conftest.
$ac_objext
4376 if { (ac_try
="$ac_compile"
4378 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4379 *) ac_try_echo=$ac_try;;
4381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4382 (eval "$ac_compile") 2>conftest.er1
4384 grep -v '^ *+' conftest.er1 >conftest.err
4386 cat conftest.err >&5
4387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4388 (exit $ac_status); } &&
4389 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4390 { (case "(($ac_try" in
4391 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4392 *) ac_try_echo
=$ac_try;;
4394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4395 (eval "$ac_try") 2>&5
4397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4398 (exit $ac_status); }; } &&
4399 { ac_try
='test -s conftest.$ac_objext'
4400 { (case "(($ac_try" in
4401 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4402 *) ac_try_echo=$ac_try;;
4404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4405 (eval "$ac_try") 2>&5
4407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4408 (exit $ac_status); }; }; then
4409 # It does; now see whether it defined to BIG_ENDIAN or not.
4410 cat >conftest.$ac_ext <<_ACEOF
4413 cat confdefs.h >>conftest.$ac_ext
4414 cat >>conftest.$ac_ext <<_ACEOF
4415 /* end confdefs.h. */
4416 #include <sys/types.h>
4417 #include <sys/param.h>
4422 #if BYTE_ORDER != BIG_ENDIAN
4430 rm -f conftest.$ac_objext
4431 if { (ac_try="$ac_compile"
4433 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4434 *) ac_try_echo
=$ac_try;;
4436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4437 (eval "$ac_compile") 2>conftest.er1
4439 grep -v '^ *+' conftest.er1
>conftest.err
4441 cat conftest.err
>&5
4442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4443 (exit $ac_status); } &&
4444 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4445 { (case "(($ac_try" in
4446 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4447 *) ac_try_echo=$ac_try;;
4449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4450 (eval "$ac_try") 2>&5
4452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4453 (exit $ac_status); }; } &&
4454 { ac_try='test -s conftest.$ac_objext'
4455 { (case "(($ac_try" in
4456 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4457 *) ac_try_echo
=$ac_try;;
4459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4460 (eval "$ac_try") 2>&5
4462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4463 (exit $ac_status); }; }; then
4464 ac_cv_c_bigendian
=yes
4466 echo "$as_me: failed program was:" >&5
4467 sed 's/^/| /' conftest.
$ac_ext >&5
4469 ac_cv_c_bigendian
=no
4472 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4474 echo "$as_me: failed program was:" >&5
4475 sed 's/^/| /' conftest.
$ac_ext >&5
4477 # It does not; compile a test program.
4478 if test "$cross_compiling" = yes; then
4479 # try to guess the endianness by grepping values into an object file
4480 ac_cv_c_bigendian
=unknown
4481 cat >conftest.
$ac_ext <<_ACEOF
4484 cat confdefs.h
>>conftest.
$ac_ext
4485 cat >>conftest.
$ac_ext <<_ACEOF
4486 /* end confdefs.h. */
4487 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4488 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4489 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4490 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4491 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4492 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4496 _ascii (); _ebcdic ();
4501 rm -f conftest.
$ac_objext
4502 if { (ac_try
="$ac_compile"
4504 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4505 *) ac_try_echo=$ac_try;;
4507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4508 (eval "$ac_compile") 2>conftest.er1
4510 grep -v '^ *+' conftest.er1 >conftest.err
4512 cat conftest.err >&5
4513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4514 (exit $ac_status); } &&
4515 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4516 { (case "(($ac_try" in
4517 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4518 *) ac_try_echo
=$ac_try;;
4520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4521 (eval "$ac_try") 2>&5
4523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4524 (exit $ac_status); }; } &&
4525 { ac_try
='test -s conftest.$ac_objext'
4526 { (case "(($ac_try" in
4527 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4528 *) ac_try_echo=$ac_try;;
4530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4531 (eval "$ac_try") 2>&5
4533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4534 (exit $ac_status); }; }; then
4535 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4536 ac_cv_c_bigendian=yes
4538 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4539 if test "$ac_cv_c_bigendian" = unknown; then
4540 ac_cv_c_bigendian=no
4542 # finding both strings is unlikely to happen, but who knows?
4543 ac_cv_c_bigendian=unknown
4547 echo "$as_me: failed program was:" >&5
4548 sed 's/^/| /' conftest.$ac_ext >&5
4553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4555 cat >conftest.$ac_ext <<_ACEOF
4558 cat confdefs.h >>conftest.$ac_ext
4559 cat >>conftest.$ac_ext <<_ACEOF
4560 /* end confdefs.h. */
4561 $ac_includes_default
4566 /* Are we little or big endian? From Harbison&Steele. */
4570 char c[sizeof (long int)];
4573 return u.c[sizeof (long int) - 1] == 1;
4579 rm -f conftest$ac_exeext
4580 if { (ac_try="$ac_link"
4582 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4583 *) ac_try_echo
=$ac_try;;
4585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4586 (eval "$ac_link") 2>&5
4588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4589 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4590 { (case "(($ac_try" in
4591 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4592 *) ac_try_echo=$ac_try;;
4594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4595 (eval "$ac_try") 2>&5
4597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4598 (exit $ac_status); }; }; then
4599 ac_cv_c_bigendian=no
4601 echo "$as_me: program exited with status $ac_status" >&5
4602 echo "$as_me: failed program was:" >&5
4603 sed 's/^/| /' conftest.$ac_ext >&5
4606 ac_cv_c_bigendian=yes
4608 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4616 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4617 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
4618 case $ac_cv_c_bigendian in
4626 { { echo "$as_me:$LINENO: error: unknown endianness
4627 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4628 echo "$as_me: error: unknown endianness
4629 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4630 { (exit 1); exit 1; }; } ;;
4634 if test "$cross_compiling" = yes; then
4635 LLVM_CROSS_COMPILING=1
4638 { echo "$as_me:$LINENO: checking for executable suffix on build platform" >&5
4639 echo $ECHO_N "checking for executable suffix on build platform... $ECHO_C" >&6; }
4640 if test "${ac_cv_build_exeext+set}" = set; then
4641 echo $ECHO_N "(cached) $ECHO_C" >&6
4643 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
4644 ac_cv_build_exeext=.exe
4646 ac_build_prefix=${build_alias}-
4648 # Extract the first word of "${ac_build_prefix}gcc", so it can be a program name with args.
4649 set dummy ${ac_build_prefix}gcc; ac_word=$2
4650 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4652 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4653 echo $ECHO_N "(cached) $ECHO_C" >&6
4655 if test -n "$BUILD_CC"; then
4656 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4662 test -z "$as_dir" && as_dir=.
4663 for ac_exec_ext in '' $ac_executable_extensions; do
4664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4665 ac_cv_prog_BUILD_CC="${ac_build_prefix}gcc"
4666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4675 BUILD_CC=$ac_cv_prog_BUILD_CC
4676 if test -n "$BUILD_CC"; then
4677 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4678 echo "${ECHO_T}$BUILD_CC" >&6; }
4680 { echo "$as_me:$LINENO: result: no" >&5
4681 echo "${ECHO_T}no" >&6; }
4685 if test -z "$BUILD_CC"; then
4686 # Extract the first word of "gcc", so it can be a program name with args.
4687 set dummy gcc; ac_word=$2
4688 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4690 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4691 echo $ECHO_N "(cached) $ECHO_C" >&6
4693 if test -n "$BUILD_CC"; then
4694 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4700 test -z "$as_dir" && as_dir=.
4701 for ac_exec_ext in '' $ac_executable_extensions; do
4702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4703 ac_cv_prog_BUILD_CC="gcc"
4704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4713 BUILD_CC=$ac_cv_prog_BUILD_CC
4714 if test -n "$BUILD_CC"; then
4715 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4716 echo "${ECHO_T}$BUILD_CC" >&6; }
4718 { echo "$as_me:$LINENO: result: no" >&5
4719 echo "${ECHO_T}no" >&6; }
4723 if test -z "$BUILD_CC"; then
4724 # Extract the first word of "cc", so it can be a program name with args.
4725 set dummy cc; ac_word=$2
4726 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4728 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4729 echo $ECHO_N "(cached) $ECHO_C" >&6
4731 if test -n "$BUILD_CC"; then
4732 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4739 test -z "$as_dir" && as_dir=.
4740 for ac_exec_ext in '' $ac_executable_extensions; do
4741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4742 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4743 ac_prog_rejected=yes
4746 ac_cv_prog_BUILD_CC="cc"
4747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4754 if test $ac_prog_rejected = yes; then
4755 # We found a bogon in the path, so make sure we never use it.
4756 set dummy $ac_cv_prog_BUILD_CC
4758 if test $# != 0; then
4759 # We chose a different compiler from the bogus one.
4760 # However, it has the same basename, so the bogon will be chosen
4761 # first if we set BUILD_CC to just the basename; use the full file name.
4763 ac_cv_prog_BUILD_CC="$as_dir/$ac_word${1+' '}$@"
4768 BUILD_CC=$ac_cv_prog_BUILD_CC
4769 if test -n "$BUILD_CC"; then
4770 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4771 echo "${ECHO_T}$BUILD_CC" >&6; }
4773 { echo "$as_me:$LINENO: result: no" >&5
4774 echo "${ECHO_T}no" >&6; }
4780 test -z "$BUILD_CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
4781 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
4782 { (exit 1); exit 1; }; }
4783 ac_build_link='${BUILD_CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4785 echo 'int main () { return 0; }' > conftest.$ac_ext
4787 if { (eval echo "$as_me:$LINENO: \"$ac_build_link\"") >&5
4788 (eval $ac_build_link) 2>&5
4790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4791 (exit $ac_status); }; then
4792 for file in conftest.*; do
4794 *.c | *.o | *.obj | *.dSYM) ;;
4795 *) ac_cv_build_exeext=`echo $file |
sed -e s
/conftest
//` ;;
4799 { { echo "$as_me:$LINENO: error: installation or configuration problem: compiler cannot create executables." >&5
4800 echo "$as_me: error: installation or configuration problem: compiler cannot create executables." >&2;}
4801 { (exit 1); exit 1; }; }
4804 test x"${ac_cv_build_exeext}" = x && ac_cv_build_exeext=blank
4809 test x"${ac_cv_build_exeext}" != xblank && BUILD_EXEEXT=${ac_cv_build_exeext}
4810 { echo "$as_me:$LINENO: result: ${ac_cv_build_exeext}" >&5
4811 echo "${ECHO_T}${ac_cv_build_exeext}" >&6; }
4812 ac_build_exeext=$BUILD_EXEEXT
4814 ac_build_prefix=${build_alias}-
4815 # Extract the first word of "${ac_build_prefix}g++", so it can be a program name with args.
4816 set dummy ${ac_build_prefix}g++; ac_word=$2
4817 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4819 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
4820 echo $ECHO_N "(cached) $ECHO_C" >&6
4822 if test -n "$BUILD_CXX"; then
4823 ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
4825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4829 test -z "$as_dir" && as_dir=.
4830 for ac_exec_ext in '' $ac_executable_extensions; do
4831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4832 ac_cv_prog_BUILD_CXX="${ac_build_prefix}g++"
4833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4842 BUILD_CXX=$ac_cv_prog_BUILD_CXX
4843 if test -n "$BUILD_CXX"; then
4844 { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
4845 echo "${ECHO_T}$BUILD_CXX" >&6; }
4847 { echo "$as_me:$LINENO: result: no" >&5
4848 echo "${ECHO_T}no" >&6; }
4852 if test -z "$BUILD_CXX"; then
4853 # Extract the first word of "g++", so it can be a program name with args.
4854 set dummy g++; ac_word=$2
4855 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4857 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
4858 echo $ECHO_N "(cached) $ECHO_C" >&6
4860 if test -n "$BUILD_CXX"; then
4861 ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
4863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4867 test -z "$as_dir" && as_dir=.
4868 for ac_exec_ext in '' $ac_executable_extensions; do
4869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4870 ac_cv_prog_BUILD_CXX="g++"
4871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4880 BUILD_CXX=$ac_cv_prog_BUILD_CXX
4881 if test -n "$BUILD_CXX"; then
4882 { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
4883 echo "${ECHO_T}$BUILD_CXX" >&6; }
4885 { echo "$as_me:$LINENO: result: no" >&5
4886 echo "${ECHO_T}no" >&6; }
4890 if test -z "$BUILD_CXX"; then
4891 # Extract the first word of "c++", so it can be a program name with args.
4892 set dummy c++; ac_word=$2
4893 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4895 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
4896 echo $ECHO_N "(cached) $ECHO_C" >&6
4898 if test -n "$BUILD_CXX"; then
4899 ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
4902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4906 test -z "$as_dir" && as_dir=.
4907 for ac_exec_ext in '' $ac_executable_extensions; do
4908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4909 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/c++"; then
4910 ac_prog_rejected=yes
4913 ac_cv_prog_BUILD_CXX="c++"
4914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4921 if test $ac_prog_rejected = yes; then
4922 # We found a bogon in the path, so make sure we never use it.
4923 set dummy $ac_cv_prog_BUILD_CXX
4925 if test $# != 0; then
4926 # We chose a different compiler from the bogus one.
4927 # However, it has the same basename, so the bogon will be chosen
4928 # first if we set BUILD_CXX to just the basename; use the full file name.
4930 ac_cv_prog_BUILD_CXX="$as_dir/$ac_word${1+' '}$@"
4935 BUILD_CXX=$ac_cv_prog_BUILD_CXX
4936 if test -n "$BUILD_CXX"; then
4937 { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
4938 echo "${ECHO_T}$BUILD_CXX" >&6; }
4940 { echo "$as_me:$LINENO: result: no" >&5
4941 echo "${ECHO_T}no" >&6; }
4948 LLVM_CROSS_COMPILING=0
4952 if test -d ".svn" -o -d "${srcdir}/.svn" -o -d ".git" -o -d "${srcdir}/.git"; then
4963 # Check whether --enable-optimized was given.
4964 if test "${enable_optimized+set}" = set; then
4965 enableval=$enable_optimized;
4970 if test ${enableval} = "no" ; then
4974 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
4978 # Check whether --enable-profiling was given.
4979 if test "${enable_profiling+set}" = set; then
4980 enableval=$enable_profiling;
4985 if test ${enableval} = "no" ; then
4989 ENABLE_PROFILING=ENABLE_PROFILING=1
4993 # Check whether --enable-assertions was given.
4994 if test "${enable_assertions+set}" = set; then
4995 enableval=$enable_assertions;
5000 if test ${enableval} = "yes" ; then
5004 DISABLE_ASSERTIONS=DISABLE_ASSERTIONS=1
5008 # Check whether --enable-expensive-checks was given.
5009 if test "${enable_expensive_checks+set}" = set; then
5010 enableval=$enable_expensive_checks;
5015 if test ${enableval} = "yes" ; then
5016 ENABLE_EXPENSIVE_CHECKS=ENABLE_EXPENSIVE_CHECKS=1
5018 EXPENSIVE_CHECKS=yes
5021 ENABLE_EXPENSIVE_CHECKS=
5027 # Check whether --enable-debug-runtime was given.
5028 if test "${enable_debug_runtime+set}" = set; then
5029 enableval=$enable_debug_runtime;
5034 if test ${enableval} = "no" ; then
5038 DEBUG_RUNTIME=DEBUG_RUNTIME=1
5042 # Check whether --enable-debug-symbols was given.
5043 if test "${enable_debug_symbols+set}" = set; then
5044 enableval=$enable_debug_symbols;
5049 if test ${enableval} = "no" ; then
5053 DEBUG_SYMBOLS=DEBUG_SYMBOLS=1
5057 # Check whether --enable-jit was given.
5058 if test "${enable_jit+set}" = set; then
5059 enableval=$enable_jit;
5064 if test ${enableval} = "no"
5069 case "$llvm_cv_target_arch" in
5070 x86) TARGET_HAS_JIT=1
5072 Sparc) TARGET_HAS_JIT=0
5074 PowerPC) TARGET_HAS_JIT=1
5076 x86_64) TARGET_HAS_JIT=1
5078 Alpha) TARGET_HAS_JIT=0
5080 ARM) TARGET_HAS_JIT=1
5082 Mips) TARGET_HAS_JIT=1
5084 XCore) TARGET_HAS_JIT=0
5086 MSP430) TARGET_HAS_JIT=0
5088 SystemZ) TARGET_HAS_JIT=0
5090 Blackfin) TARGET_HAS_JIT=0
5092 MBlaze) TARGET_HAS_JIT=0
5094 PTX) TARGET_HAS_JIT=0
5101 # Check whether --enable-docs was given.
5102 if test "${enable_docs+set}" = set; then
5103 enableval=$enable_docs;
5108 case "$enableval" in
5113 default) ENABLE_DOCS=1
5115 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-docs. Use \"yes\" or \"no\"" >&5
5116 echo "$as_me: error: Invalid setting for --enable-docs. Use \"yes\" or \"no\"" >&2;}
5117 { (exit 1); exit 1; }; } ;;
5120 # Check whether --enable-doxygen was given.
5121 if test "${enable_doxygen+set}" = set; then
5122 enableval=$enable_doxygen;
5127 case "$enableval" in
5128 yes) ENABLE_DOXYGEN=1
5130 no) ENABLE_DOXYGEN=0
5132 default) ENABLE_DOXYGEN=0
5134 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&5
5135 echo "$as_me: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&2;}
5136 { (exit 1); exit 1; }; } ;;
5139 # Check whether --enable-threads was given.
5140 if test "${enable_threads+set}" = set; then
5141 enableval=$enable_threads;
5146 case "$enableval" in
5147 yes) ENABLE_THREADS=1
5149 no) ENABLE_THREADS=0
5151 default) ENABLE_THREADS=1
5153 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&5
5154 echo "$as_me: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&2;}
5155 { (exit 1); exit 1; }; } ;;
5158 cat >>confdefs.h <<_ACEOF
5159 #define ENABLE_THREADS $ENABLE_THREADS
5163 # Check whether --enable-pthreads was given.
5164 if test "${enable_pthreads+set}" = set; then
5165 enableval=$enable_pthreads;
5170 case "$enableval" in
5171 yes) ENABLE_PTHREADS=1
5173 no) ENABLE_PTHREADS=0
5175 default) ENABLE_PTHREADS=1
5177 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-pthreads. Use \"yes\" or \"no\"" >&5
5178 echo "$as_me: error: Invalid setting for --enable-pthreads. Use \"yes\" or \"no\"" >&2;}
5179 { (exit 1); exit 1; }; } ;;
5182 # Check whether --enable-pic was given.
5183 if test "${enable_pic+set}" = set; then
5184 enableval=$enable_pic;
5189 case "$enableval" in
5194 default) ENABLE_PIC=1
5196 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-pic. Use \"yes\" or \"no\"" >&5
5197 echo "$as_me: error: Invalid setting for --enable-pic. Use \"yes\" or \"no\"" >&2;}
5198 { (exit 1); exit 1; }; } ;;
5201 cat >>confdefs.h <<_ACEOF
5202 #define ENABLE_PIC $ENABLE_PIC
5206 # Check whether --enable-shared was given.
5207 if test "${enable_shared+set}" = set; then
5208 enableval=$enable_shared;
5213 case "$enableval" in
5214 yes) ENABLE_SHARED=1
5218 default) ENABLE_SHARED=0
5220 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-shared. Use \"yes\" or \"no\"" >&5
5221 echo "$as_me: error: Invalid setting for --enable-shared. Use \"yes\" or \"no\"" >&2;}
5222 { (exit 1); exit 1; }; } ;;
5225 # Check whether --enable-embed-stdcxx was given.
5226 if test "${enable_embed_stdcxx+set}" = set; then
5227 enableval=$enable_embed_stdcxx;
5232 case "$enableval" in
5233 yes) ENABLE_EMBED_STDCXX=1
5235 no) ENABLE_EMBED_STDCXX=0
5237 default) ENABLE_EMBED_STDCXX=0
5239 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-embed-stdcxx. Use \"yes\" or \"no\"" >&5
5240 echo "$as_me: error: Invalid setting for --enable-embed-stdcxx. Use \"yes\" or \"no\"" >&2;}
5241 { (exit 1); exit 1; }; } ;;
5244 # Check whether --enable-timestamps was given.
5245 if test "${enable_timestamps+set}" = set; then
5246 enableval=$enable_timestamps;
5251 case "$enableval" in
5252 yes) ENABLE_TIMESTAMPS=1
5254 no) ENABLE_TIMESTAMPS=0
5256 default) ENABLE_TIMESTAMPS=1
5258 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-timestamps. Use \"yes\" or \"no\"" >&5
5259 echo "$as_me: error: Invalid setting for --enable-timestamps. Use \"yes\" or \"no\"" >&2;}
5260 { (exit 1); exit 1; }; } ;;
5263 cat >>confdefs.h <<_ACEOF
5264 #define ENABLE_TIMESTAMPS $ENABLE_TIMESTAMPS
5269 # Check whether --enable-targets was given.
5270 if test "${enable_targets+set}" = set; then
5271 enableval=$enable_targets;
5276 if test "$enableval" = host-only ; then
5279 case "$enableval" in
5280 all) TARGETS_TO_BUILD="X86 Sparc PowerPC Alpha ARM Mips CellSPU XCore MSP430 SystemZ Blackfin CBackend CppBackend MBlaze PTX" ;;
5281 *)for a_target in `echo $enableval|
sed -e 's/,/ /g' ` ; do
5283 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
5284 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
5285 sparc) TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;;
5286 powerpc) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
5287 alpha) TARGETS_TO_BUILD="Alpha $TARGETS_TO_BUILD" ;;
5288 arm) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
5289 mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
5290 spu) TARGETS_TO_BUILD="CellSPU $TARGETS_TO_BUILD" ;;
5291 xcore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;;
5292 msp430) TARGETS_TO_BUILD="MSP430 $TARGETS_TO_BUILD" ;;
5293 systemz) TARGETS_TO_BUILD="SystemZ $TARGETS_TO_BUILD" ;;
5294 blackfin) TARGETS_TO_BUILD="Blackfin $TARGETS_TO_BUILD" ;;
5295 cbe) TARGETS_TO_BUILD="CBackend $TARGETS_TO_BUILD" ;;
5296 cpp) TARGETS_TO_BUILD="CppBackend $TARGETS_TO_BUILD" ;;
5297 mblaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;;
5298 ptx) TARGETS_TO_BUILD="PTX $TARGETS_TO_BUILD" ;;
5299 host) case "$llvm_cv_target_arch" in
5300 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
5301 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
5302 Sparc) TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;;
5303 PowerPC) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
5304 Alpha) TARGETS_TO_BUILD="Alpha $TARGETS_TO_BUILD" ;;
5305 ARM) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
5306 Mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
5307 MBlaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;;
5308 CellSPU|SPU) TARGETS_TO_BUILD="CellSPU $TARGETS_TO_BUILD" ;;
5309 XCore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;;
5310 MSP430) TARGETS_TO_BUILD="MSP430 $TARGETS_TO_BUILD" ;;
5311 s390x) TARGETS_TO_BUILD="SystemZ $TARGETS_TO_BUILD" ;;
5312 Blackfin) TARGETS_TO_BUILD="Blackfin $TARGETS_TO_BUILD" ;;
5313 PTX) TARGETS_TO_BUILD="PTX $TARGETS_TO_BUILD" ;;
5314 *) { { echo "$as_me:$LINENO: error: Can not set target to build" >&5
5315 echo "$as_me: error: Can not set target to build" >&2;}
5316 { (exit 1); exit 1; }; } ;;
5318 *) { { echo "$as_me:$LINENO: error: Unrecognized target $a_target" >&5
5319 echo "$as_me: error: Unrecognized target $a_target" >&2;}
5320 { (exit 1); exit 1; }; } ;;
5325 TARGETS_TO_BUILD=$TARGETS_TO_BUILD
5328 # Determine whether we are building LLVM support for the native architecture.
5329 # If so, define LLVM_NATIVE_ARCH to that LLVM target.
5330 for a_target in $TARGETS_TO_BUILD; do
5331 if test "$a_target" = "$LLVM_NATIVE_ARCH"; then
5333 cat >>confdefs.h <<_ACEOF
5334 #define LLVM_NATIVE_ARCH $LLVM_NATIVE_ARCH
5337 LLVM_NATIVE_TARGET="LLVMInitialize${LLVM_NATIVE_ARCH}Target"
5338 LLVM_NATIVE_TARGETINFO="LLVMInitialize${LLVM_NATIVE_ARCH}TargetInfo"
5339 LLVM_NATIVE_TARGETMC="LLVMInitialize${LLVM_NATIVE_ARCH}TargetMC"
5340 LLVM_NATIVE_ASMPRINTER="LLVMInitialize${LLVM_NATIVE_ARCH}AsmPrinter"
5341 if test -f ${srcdir}/lib/Target/${LLVM_NATIVE_ARCH}/AsmParser/Makefile ; then
5342 LLVM_NATIVE_ASMPARSER="LLVMInitialize${LLVM_NATIVE_ARCH}AsmParser"
5345 cat >>confdefs.h <<_ACEOF
5346 #define LLVM_NATIVE_TARGET $LLVM_NATIVE_TARGET
5350 cat >>confdefs.h <<_ACEOF
5351 #define LLVM_NATIVE_TARGETINFO $LLVM_NATIVE_TARGETINFO
5355 cat >>confdefs.h <<_ACEOF
5356 #define LLVM_NATIVE_TARGETMC $LLVM_NATIVE_TARGETMC
5360 cat >>confdefs.h <<_ACEOF
5361 #define LLVM_NATIVE_ASMPRINTER $LLVM_NATIVE_ASMPRINTER
5364 if test -f ${srcdir}/lib/Target/${LLVM_NATIVE_ARCH}/AsmParser/Makefile ; then
5366 cat >>confdefs.h <<_ACEOF
5367 #define LLVM_NATIVE_ASMPARSER $LLVM_NATIVE_ASMPARSER
5374 # Build the LLVM_TARGET and LLVM_... macros for Targets.def and the individual
5375 # target feature def files.
5376 LLVM_ENUM_TARGETS=""
5377 LLVM_ENUM_ASM_PRINTERS=""
5378 LLVM_ENUM_ASM_PARSERS=""
5379 LLVM_ENUM_DISASSEMBLERS=""
5380 for target_to_build in $TARGETS_TO_BUILD; do
5381 LLVM_ENUM_TARGETS="LLVM_TARGET($target_to_build) $LLVM_ENUM_TARGETS"
5382 if test -f ${srcdir}/lib/Target/${target_to_build}/*AsmPrinter.cpp ; then
5383 LLVM_ENUM_ASM_PRINTERS="LLVM_ASM_PRINTER($target_to_build) $LLVM_ENUM_ASM_PRINTERS";
5385 if test -f ${srcdir}/lib/Target/${target_to_build}/AsmParser/Makefile ; then
5386 LLVM_ENUM_ASM_PARSERS="LLVM_ASM_PARSER($target_to_build) $LLVM_ENUM_ASM_PARSERS";
5388 if test -f ${srcdir}/lib/Target/${target_to_build}/Disassembler/Makefile ; then
5389 LLVM_ENUM_DISASSEMBLERS="LLVM_DISASSEMBLER($target_to_build) $LLVM_ENUM_DISASSEMBLERS";
5397 # Check whether --enable-cbe-printf-a was given.
5398 if test "${enable_cbe_printf_a+set}" = set; then
5399 enableval=$enable_cbe_printf_a;
5404 case "$enableval" in
5405 yes) ENABLE_CBE_PRINTF_A=1
5407 no) ENABLE_CBE_PRINTF_A=0
5409 default) ENABLE_CBE_PRINTF_A=1
5411 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-cbe-printf-a. Use \"yes\" or \"no\"" >&5
5412 echo "$as_me: error: Invalid setting for --enable-cbe-printf-a. Use \"yes\" or \"no\"" >&2;}
5413 { (exit 1); exit 1; }; } ;;
5416 cat >>confdefs.h <<_ACEOF
5417 #define ENABLE_CBE_PRINTF_A $ENABLE_CBE_PRINTF_A
5422 # Check whether --with-optimize-option was given.
5423 if test "${with_optimize_option+set}" = set; then
5424 withval=$with_optimize_option;
5429 { echo "$as_me:$LINENO: checking optimization flags" >&5
5430 echo $ECHO_N "checking optimization flags... $ECHO_C" >&6; }
5433 case "$llvm_cv_os_type" in
5434 FreeBSD) optimize_option=-O2 ;;
5435 MingW) optimize_option=-O2 ;;
5436 *) optimize_option=-O3 ;;
5438 *) optimize_option="$withval" ;;
5440 OPTIMIZE_OPTION=$optimize_option
5442 { echo "$as_me:$LINENO: result: $optimize_option" >&5
5443 echo "${ECHO_T}$optimize_option" >&6; }
5446 # Check whether --with-extra-options was given.
5447 if test "${with_extra_options+set}" = set; then
5448 withval=$with_extra_options;
5454 default) EXTRA_OPTIONS= ;;
5455 *) EXTRA_OPTIONS=$withval ;;
5457 EXTRA_OPTIONS=$EXTRA_OPTIONS
5461 # Check whether --with-extra-ld-options was given.
5462 if test "${with_extra_ld_options+set}" = set; then
5463 withval=$with_extra_ld_options;
5469 default) EXTRA_LD_OPTIONS= ;;
5470 *) EXTRA_LD_OPTIONS=$withval ;;
5472 EXTRA_LD_OPTIONS=$EXTRA_LD_OPTIONS
5475 # Check whether --enable-bindings was given.
5476 if test "${enable_bindings+set}" = set; then
5477 enableval=$enable_bindings;
5482 BINDINGS_TO_BUILD=""
5483 case "$enableval" in
5484 yes | default | auto) BINDINGS_TO_BUILD="auto" ;;
5485 all ) BINDINGS_TO_BUILD="ocaml" ;;
5486 none | no) BINDINGS_TO_BUILD="" ;;
5487 *)for a_binding in `echo $enableval|
sed -e 's/,/ /g' ` ; do
5488 case "$a_binding" in
5489 ocaml) BINDINGS_TO_BUILD="ocaml $BINDINGS_TO_BUILD" ;;
5490 *) { { echo "$as_me:$LINENO: error: Unrecognized binding $a_binding" >&5
5491 echo "$as_me: error: Unrecognized binding $a_binding" >&2;}
5492 { (exit 1); exit 1; }; } ;;
5499 # Check whether --with-ocaml-libdir was given.
5500 if test "${with_ocaml_libdir+set}" = set; then
5501 withval=$with_ocaml_libdir;
5507 auto) with_ocaml_libdir="$withval" ;;
5508 /* | [A-Za-z]:[\\/]*) with_ocaml_libdir="$withval" ;;
5509 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-ocaml-libdir. Provide full path" >&5
5510 echo "$as_me: error: Invalid path for --with-ocaml-libdir. Provide full path" >&2;}
5511 { (exit 1); exit 1; }; } ;;
5515 # Check whether --with-clang-srcdir was given.
5516 if test "${with_clang_srcdir+set}" = set; then
5517 withval=$with_clang_srcdir;
5523 -) clang_src_root="" ;;
5524 /* | [A-Za-z]:[\\/]*) clang_src_root="$withval" ;;
5525 *) clang_src_root="$ac_pwd/$withval" ;;
5527 CLANG_SRC_ROOT=$clang_src_root
5531 # Check whether --with-clang-resource-dir was given.
5532 if test "${with_clang_resource_dir+set}" = set; then
5533 withval=$with_clang_resource_dir;
5539 cat >>confdefs.h <<_ACEOF
5540 #define CLANG_RESOURCE_DIR "$withval"
5545 # Check whether --with-c-include-dirs was given.
5546 if test "${with_c_include_dirs+set}" = set; then
5547 withval=$with_c_include_dirs;
5553 cat >>confdefs.h <<_ACEOF
5554 #define C_INCLUDE_DIRS "$withval"
5559 # Check whether --with-cxx-include-root was given.
5560 if test "${with_cxx_include_root+set}" = set; then
5561 withval=$with_cxx_include_root;
5567 cat >>confdefs.h <<_ACEOF
5568 #define CXX_INCLUDE_ROOT "$withval"
5573 # Check whether --with-cxx-include-arch was given.
5574 if test "${with_cxx_include_arch+set}" = set; then
5575 withval=$with_cxx_include_arch;
5581 cat >>confdefs.h <<_ACEOF
5582 #define CXX_INCLUDE_ARCH "$withval"
5587 # Check whether --with-cxx-include-32bit-dir was given.
5588 if test "${with_cxx_include_32bit_dir+set}" = set; then
5589 withval=$with_cxx_include_32bit_dir;
5595 cat >>confdefs.h <<_ACEOF
5596 #define CXX_INCLUDE_32BIT_DIR "$withval"
5601 # Check whether --with-cxx-include-64bit-dir was given.
5602 if test "${with_cxx_include_64bit_dir+set}" = set; then
5603 withval=$with_cxx_include_64bit_dir;
5609 cat >>confdefs.h <<_ACEOF
5610 #define CXX_INCLUDE_64BIT_DIR "$withval"
5615 # Check whether --with-binutils-include was given.
5616 if test "${with_binutils_include+set}" = set; then
5617 withval=$with_binutils_include;
5623 default) WITH_BINUTILS_INCDIR=default ;;
5624 /* | [A-Za-z]:[\\/]*) WITH_BINUTILS_INCDIR=$withval ;;
5625 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-binutils-include. Provide full path" >&5
5626 echo "$as_me: error: Invalid path for --with-binutils-include. Provide full path" >&2;}
5627 { (exit 1); exit 1; }; } ;;
5629 if test "x$WITH_BINUTILS_INCDIR" != xdefault ; then
5630 BINUTILS_INCDIR=$WITH_BINUTILS_INCDIR
5632 if test ! -f "$WITH_BINUTILS_INCDIR/plugin-api.h"; then
5633 echo "$WITH_BINUTILS_INCDIR/plugin-api.h"
5634 { { echo "$as_me:$LINENO: error: Invalid path to directory containing plugin-api.h." >&5
5635 echo "$as_me: error: Invalid path to directory containing plugin-api.h." >&2;}
5636 { (exit 1); exit 1; }; };
5641 # Check whether --with-bug-report-url was given.
5642 if test "${with_bug_report_url+set}" = set; then
5643 withval=$with_bug_report_url;
5645 withval="http://llvm.org/bugs/"
5649 cat >>confdefs.h <<_ACEOF
5650 #define BUG_REPORT_URL "$withval"
5654 # Check whether --enable-libffi was given.
5655 if test "${enable_libffi+set}" = set; then
5656 enableval=$enable_libffi; case "$enableval" in
5657 yes) llvm_cv_enable_libffi="yes" ;;
5658 no) llvm_cv_enable_libffi="no" ;;
5659 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-libffi. Use \"yes\" or \"no\"" >&5
5660 echo "$as_me: error: Invalid setting for --enable-libffi. Use \"yes\" or \"no\"" >&2;}
5661 { (exit 1); exit 1; }; } ;;
5664 llvm_cv_enable_libffi=no
5669 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5670 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
5671 if test "${lt_cv_path_NM+set}" = set; then
5672 echo $ECHO_N "(cached) $ECHO_C" >&6
5674 if test -n "$NM"; then
5675 # Let the user override the test.
5678 lt_nm_to_check="${ac_tool_prefix}nm"
5679 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5680 lt_nm_to_check="$lt_nm_to_check nm"
5682 for lt_tmp_nm in $lt_nm_to_check; do
5683 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5684 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5686 test -z "$ac_dir" && ac_dir=.
5687 tmp_nm="$ac_dir/$lt_tmp_nm"
5688 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5689 # Check to see if the nm accepts a BSD-compat flag.
5690 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
5691 # nm: unknown option "B" ignored
5692 # Tru64's nm complains that
/dev
/null is an invalid object
file
5693 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5694 */dev
/null
* |
*'Invalid file or object type'*)
5695 lt_cv_path_NM
="$tmp_nm -B"
5699 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5701 lt_cv_path_NM
="$tmp_nm -p"
5705 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5706 continue # so that we can try to find one that supports BSD flags
5715 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
5718 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5719 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
5724 { echo "$as_me:$LINENO: checking for GNU make" >&5
5725 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6; }
5726 if test "${llvm_cv_gnu_make_command+set}" = set; then
5727 echo $ECHO_N "(cached) $ECHO_C" >&6
5729 llvm_cv_gnu_make_command
=''
5730 for a
in "$MAKE" make gmake gnumake
; do
5731 if test -z "$a" ; then continue ; fi ;
5732 if ( sh
-c "$a --version" 2> /dev
/null |
grep GNU
2>&1 > /dev
/null
)
5734 llvm_cv_gnu_make_command
=$a ;
5739 { echo "$as_me:$LINENO: result: $llvm_cv_gnu_make_command" >&5
5740 echo "${ECHO_T}$llvm_cv_gnu_make_command" >&6; }
5741 if test "x$llvm_cv_gnu_make_command" != "x" ; then
5745 { echo "$as_me:$LINENO: result: \"Not found\"" >&5
5746 echo "${ECHO_T}\"Not found\"" >&6; };
5750 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5751 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5753 if test "$LN_S" = "ln -s"; then
5754 { echo "$as_me:$LINENO: result: yes" >&5
5755 echo "${ECHO_T}yes" >&6; }
5757 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5758 echo "${ECHO_T}no, using $LN_S" >&6; }
5761 # Extract the first word of "cmp", so it can be a program name with args.
5762 set dummy
cmp; ac_word
=$2
5763 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5765 if test "${ac_cv_path_CMP+set}" = set; then
5766 echo $ECHO_N "(cached) $ECHO_C" >&6
5770 ac_cv_path_CMP
="$CMP" # Let the user override the test with a path.
5773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5777 test -z "$as_dir" && as_dir
=.
5778 for ac_exec_ext
in '' $ac_executable_extensions; do
5779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5780 ac_cv_path_CMP
="$as_dir/$ac_word$ac_exec_ext"
5781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5788 test -z "$ac_cv_path_CMP" && ac_cv_path_CMP
="cmp"
5793 if test -n "$CMP"; then
5794 { echo "$as_me:$LINENO: result: $CMP" >&5
5795 echo "${ECHO_T}$CMP" >&6; }
5797 { echo "$as_me:$LINENO: result: no" >&5
5798 echo "${ECHO_T}no" >&6; }
5802 # Extract the first word of "cp", so it can be a program name with args.
5803 set dummy
cp; ac_word
=$2
5804 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5806 if test "${ac_cv_path_CP+set}" = set; then
5807 echo $ECHO_N "(cached) $ECHO_C" >&6
5811 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
5814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5818 test -z "$as_dir" && as_dir
=.
5819 for ac_exec_ext
in '' $ac_executable_extensions; do
5820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5821 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
5822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5829 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
5834 if test -n "$CP"; then
5835 { echo "$as_me:$LINENO: result: $CP" >&5
5836 echo "${ECHO_T}$CP" >&6; }
5838 { echo "$as_me:$LINENO: result: no" >&5
5839 echo "${ECHO_T}no" >&6; }
5843 # Extract the first word of "date", so it can be a program name with args.
5844 set dummy
date; ac_word
=$2
5845 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5847 if test "${ac_cv_path_DATE+set}" = set; then
5848 echo $ECHO_N "(cached) $ECHO_C" >&6
5852 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
5855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5859 test -z "$as_dir" && as_dir
=.
5860 for ac_exec_ext
in '' $ac_executable_extensions; do
5861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5862 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
5863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5870 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE
="date"
5874 DATE
=$ac_cv_path_DATE
5875 if test -n "$DATE"; then
5876 { echo "$as_me:$LINENO: result: $DATE" >&5
5877 echo "${ECHO_T}$DATE" >&6; }
5879 { echo "$as_me:$LINENO: result: no" >&5
5880 echo "${ECHO_T}no" >&6; }
5884 # Extract the first word of "find", so it can be a program name with args.
5885 set dummy
find; ac_word
=$2
5886 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5888 if test "${ac_cv_path_FIND+set}" = set; then
5889 echo $ECHO_N "(cached) $ECHO_C" >&6
5893 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
5896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5900 test -z "$as_dir" && as_dir
=.
5901 for ac_exec_ext
in '' $ac_executable_extensions; do
5902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5903 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
5904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5911 test -z "$ac_cv_path_FIND" && ac_cv_path_FIND
="find"
5915 FIND
=$ac_cv_path_FIND
5916 if test -n "$FIND"; then
5917 { echo "$as_me:$LINENO: result: $FIND" >&5
5918 echo "${ECHO_T}$FIND" >&6; }
5920 { echo "$as_me:$LINENO: result: no" >&5
5921 echo "${ECHO_T}no" >&6; }
5925 # Extract the first word of "grep", so it can be a program name with args.
5926 set dummy
grep; ac_word
=$2
5927 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5929 if test "${ac_cv_path_GREP+set}" = set; then
5930 echo $ECHO_N "(cached) $ECHO_C" >&6
5934 ac_cv_path_GREP
="$GREP" # Let the user override the test with a path.
5937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5941 test -z "$as_dir" && as_dir
=.
5942 for ac_exec_ext
in '' $ac_executable_extensions; do
5943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5944 ac_cv_path_GREP
="$as_dir/$ac_word$ac_exec_ext"
5945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5952 test -z "$ac_cv_path_GREP" && ac_cv_path_GREP
="grep"
5956 GREP
=$ac_cv_path_GREP
5957 if test -n "$GREP"; then
5958 { echo "$as_me:$LINENO: result: $GREP" >&5
5959 echo "${ECHO_T}$GREP" >&6; }
5961 { echo "$as_me:$LINENO: result: no" >&5
5962 echo "${ECHO_T}no" >&6; }
5966 # Extract the first word of "mkdir", so it can be a program name with args.
5967 set dummy mkdir
; ac_word
=$2
5968 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5970 if test "${ac_cv_path_MKDIR+set}" = set; then
5971 echo $ECHO_N "(cached) $ECHO_C" >&6
5975 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
5978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5982 test -z "$as_dir" && as_dir
=.
5983 for ac_exec_ext
in '' $ac_executable_extensions; do
5984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5985 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
5986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5993 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR
="mkdir"
5997 MKDIR
=$ac_cv_path_MKDIR
5998 if test -n "$MKDIR"; then
5999 { echo "$as_me:$LINENO: result: $MKDIR" >&5
6000 echo "${ECHO_T}$MKDIR" >&6; }
6002 { echo "$as_me:$LINENO: result: no" >&5
6003 echo "${ECHO_T}no" >&6; }
6007 # Extract the first word of "mv", so it can be a program name with args.
6008 set dummy
mv; ac_word
=$2
6009 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6011 if test "${ac_cv_path_MV+set}" = set; then
6012 echo $ECHO_N "(cached) $ECHO_C" >&6
6016 ac_cv_path_MV
="$MV" # Let the user override the test with a path.
6019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6023 test -z "$as_dir" && as_dir
=.
6024 for ac_exec_ext
in '' $ac_executable_extensions; do
6025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6026 ac_cv_path_MV
="$as_dir/$ac_word$ac_exec_ext"
6027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6034 test -z "$ac_cv_path_MV" && ac_cv_path_MV
="mv"
6039 if test -n "$MV"; then
6040 { echo "$as_me:$LINENO: result: $MV" >&5
6041 echo "${ECHO_T}$MV" >&6; }
6043 { echo "$as_me:$LINENO: result: no" >&5
6044 echo "${ECHO_T}no" >&6; }
6048 if test -n "$ac_tool_prefix"; then
6049 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6050 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6051 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6053 if test "${ac_cv_prog_RANLIB+set}" = set; then
6054 echo $ECHO_N "(cached) $ECHO_C" >&6
6056 if test -n "$RANLIB"; then
6057 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6063 test -z "$as_dir" && as_dir
=.
6064 for ac_exec_ext
in '' $ac_executable_extensions; do
6065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6066 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6076 RANLIB
=$ac_cv_prog_RANLIB
6077 if test -n "$RANLIB"; then
6078 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6079 echo "${ECHO_T}$RANLIB" >&6; }
6081 { echo "$as_me:$LINENO: result: no" >&5
6082 echo "${ECHO_T}no" >&6; }
6087 if test -z "$ac_cv_prog_RANLIB"; then
6088 ac_ct_RANLIB
=$RANLIB
6089 # Extract the first word of "ranlib", so it can be a program name with args.
6090 set dummy ranlib
; ac_word
=$2
6091 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6093 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6094 echo $ECHO_N "(cached) $ECHO_C" >&6
6096 if test -n "$ac_ct_RANLIB"; then
6097 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6103 test -z "$as_dir" && as_dir
=.
6104 for ac_exec_ext
in '' $ac_executable_extensions; do
6105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6106 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6116 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6117 if test -n "$ac_ct_RANLIB"; then
6118 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6119 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6121 { echo "$as_me:$LINENO: result: no" >&5
6122 echo "${ECHO_T}no" >&6; }
6125 if test "x$ac_ct_RANLIB" = x
; then
6128 case $cross_compiling:$ac_tool_warned in
6130 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6131 whose name does not start with the host triplet. If you think this
6132 configuration is useful to you, please write to autoconf@gnu.org." >&5
6133 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6134 whose name does not start with the host triplet. If you think this
6135 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6136 ac_tool_warned
=yes ;;
6138 RANLIB
=$ac_ct_RANLIB
6141 RANLIB
="$ac_cv_prog_RANLIB"
6144 if test -n "$ac_tool_prefix"; then
6145 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6146 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6147 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6149 if test "${ac_cv_prog_AR+set}" = set; then
6150 echo $ECHO_N "(cached) $ECHO_C" >&6
6152 if test -n "$AR"; then
6153 ac_cv_prog_AR
="$AR" # Let the user override the test.
6155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6159 test -z "$as_dir" && as_dir
=.
6160 for ac_exec_ext
in '' $ac_executable_extensions; do
6161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6162 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6173 if test -n "$AR"; then
6174 { echo "$as_me:$LINENO: result: $AR" >&5
6175 echo "${ECHO_T}$AR" >&6; }
6177 { echo "$as_me:$LINENO: result: no" >&5
6178 echo "${ECHO_T}no" >&6; }
6183 if test -z "$ac_cv_prog_AR"; then
6185 # Extract the first word of "ar", so it can be a program name with args.
6186 set dummy
ar; ac_word
=$2
6187 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6189 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6190 echo $ECHO_N "(cached) $ECHO_C" >&6
6192 if test -n "$ac_ct_AR"; then
6193 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6199 test -z "$as_dir" && as_dir
=.
6200 for ac_exec_ext
in '' $ac_executable_extensions; do
6201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6202 ac_cv_prog_ac_ct_AR
="ar"
6203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6212 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6213 if test -n "$ac_ct_AR"; then
6214 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6215 echo "${ECHO_T}$ac_ct_AR" >&6; }
6217 { echo "$as_me:$LINENO: result: no" >&5
6218 echo "${ECHO_T}no" >&6; }
6221 if test "x$ac_ct_AR" = x
; then
6224 case $cross_compiling:$ac_tool_warned in
6226 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6227 whose name does not start with the host triplet. If you think this
6228 configuration is useful to you, please write to autoconf@gnu.org." >&5
6229 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6230 whose name does not start with the host triplet. If you think this
6231 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6232 ac_tool_warned
=yes ;;
6240 # Extract the first word of "rm", so it can be a program name with args.
6241 set dummy
rm; ac_word
=$2
6242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6244 if test "${ac_cv_path_RM+set}" = set; then
6245 echo $ECHO_N "(cached) $ECHO_C" >&6
6249 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
6252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6256 test -z "$as_dir" && as_dir
=.
6257 for ac_exec_ext
in '' $ac_executable_extensions; do
6258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6259 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
6260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6267 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
6272 if test -n "$RM"; then
6273 { echo "$as_me:$LINENO: result: $RM" >&5
6274 echo "${ECHO_T}$RM" >&6; }
6276 { echo "$as_me:$LINENO: result: no" >&5
6277 echo "${ECHO_T}no" >&6; }
6281 # Extract the first word of "sed", so it can be a program name with args.
6282 set dummy
sed; ac_word
=$2
6283 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6285 if test "${ac_cv_path_SED+set}" = set; then
6286 echo $ECHO_N "(cached) $ECHO_C" >&6
6290 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
6293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6297 test -z "$as_dir" && as_dir
=.
6298 for ac_exec_ext
in '' $ac_executable_extensions; do
6299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6300 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
6301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6308 test -z "$ac_cv_path_SED" && ac_cv_path_SED
="sed"
6313 if test -n "$SED"; then
6314 { echo "$as_me:$LINENO: result: $SED" >&5
6315 echo "${ECHO_T}$SED" >&6; }
6317 { echo "$as_me:$LINENO: result: no" >&5
6318 echo "${ECHO_T}no" >&6; }
6322 # Extract the first word of "tar", so it can be a program name with args.
6323 set dummy
tar; ac_word
=$2
6324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6326 if test "${ac_cv_path_TAR+set}" = set; then
6327 echo $ECHO_N "(cached) $ECHO_C" >&6
6331 ac_cv_path_TAR
="$TAR" # Let the user override the test with a path.
6334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6338 test -z "$as_dir" && as_dir
=.
6339 for ac_exec_ext
in '' $ac_executable_extensions; do
6340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6341 ac_cv_path_TAR
="$as_dir/$ac_word$ac_exec_ext"
6342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6349 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR
="gtar"
6354 if test -n "$TAR"; then
6355 { echo "$as_me:$LINENO: result: $TAR" >&5
6356 echo "${ECHO_T}$TAR" >&6; }
6358 { echo "$as_me:$LINENO: result: no" >&5
6359 echo "${ECHO_T}no" >&6; }
6363 # Extract the first word of "pwd", so it can be a program name with args.
6364 set dummy
pwd; ac_word
=$2
6365 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6367 if test "${ac_cv_path_BINPWD+set}" = set; then
6368 echo $ECHO_N "(cached) $ECHO_C" >&6
6372 ac_cv_path_BINPWD
="$BINPWD" # Let the user override the test with a path.
6375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6379 test -z "$as_dir" && as_dir
=.
6380 for ac_exec_ext
in '' $ac_executable_extensions; do
6381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6382 ac_cv_path_BINPWD
="$as_dir/$ac_word$ac_exec_ext"
6383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6390 test -z "$ac_cv_path_BINPWD" && ac_cv_path_BINPWD
="pwd"
6394 BINPWD
=$ac_cv_path_BINPWD
6395 if test -n "$BINPWD"; then
6396 { echo "$as_me:$LINENO: result: $BINPWD" >&5
6397 echo "${ECHO_T}$BINPWD" >&6; }
6399 { echo "$as_me:$LINENO: result: no" >&5
6400 echo "${ECHO_T}no" >&6; }
6405 # Extract the first word of "Graphviz", so it can be a program name with args.
6406 set dummy Graphviz
; ac_word
=$2
6407 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6409 if test "${ac_cv_path_GRAPHVIZ+set}" = set; then
6410 echo $ECHO_N "(cached) $ECHO_C" >&6
6414 ac_cv_path_GRAPHVIZ
="$GRAPHVIZ" # Let the user override the test with a path.
6417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6421 test -z "$as_dir" && as_dir
=.
6422 for ac_exec_ext
in '' $ac_executable_extensions; do
6423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6424 ac_cv_path_GRAPHVIZ
="$as_dir/$ac_word$ac_exec_ext"
6425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6432 test -z "$ac_cv_path_GRAPHVIZ" && ac_cv_path_GRAPHVIZ
="echo Graphviz"
6436 GRAPHVIZ
=$ac_cv_path_GRAPHVIZ
6437 if test -n "$GRAPHVIZ"; then
6438 { echo "$as_me:$LINENO: result: $GRAPHVIZ" >&5
6439 echo "${ECHO_T}$GRAPHVIZ" >&6; }
6441 { echo "$as_me:$LINENO: result: no" >&5
6442 echo "${ECHO_T}no" >&6; }
6446 if test "$GRAPHVIZ" != "echo Graphviz" ; then
6448 cat >>confdefs.h
<<\_ACEOF
6449 #define HAVE_GRAPHVIZ 1
6452 if test "$llvm_cv_os_type" = "MingW" ; then
6453 GRAPHVIZ
=`echo $GRAPHVIZ | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
6456 cat >>confdefs.h
<<_ACEOF
6457 #define LLVM_PATH_GRAPHVIZ "$GRAPHVIZ${EXEEXT}"
6461 # Extract the first word of "dot", so it can be a program name with args.
6462 set dummy dot
; ac_word
=$2
6463 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6465 if test "${ac_cv_path_DOT+set}" = set; then
6466 echo $ECHO_N "(cached) $ECHO_C" >&6
6470 ac_cv_path_DOT
="$DOT" # Let the user override the test with a path.
6473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6477 test -z "$as_dir" && as_dir
=.
6478 for ac_exec_ext
in '' $ac_executable_extensions; do
6479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6480 ac_cv_path_DOT
="$as_dir/$ac_word$ac_exec_ext"
6481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6488 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT
="echo dot"
6493 if test -n "$DOT"; then
6494 { echo "$as_me:$LINENO: result: $DOT" >&5
6495 echo "${ECHO_T}$DOT" >&6; }
6497 { echo "$as_me:$LINENO: result: no" >&5
6498 echo "${ECHO_T}no" >&6; }
6502 if test "$DOT" != "echo dot" ; then
6504 cat >>confdefs.h
<<\_ACEOF
6508 if test "$llvm_cv_os_type" = "MingW" ; then
6509 DOT
=`echo $DOT | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
6512 cat >>confdefs.h
<<_ACEOF
6513 #define LLVM_PATH_DOT "$DOT${EXEEXT}"
6517 # Extract the first word of "fdp", so it can be a program name with args.
6518 set dummy fdp
; ac_word
=$2
6519 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6521 if test "${ac_cv_path_FDP+set}" = set; then
6522 echo $ECHO_N "(cached) $ECHO_C" >&6
6526 ac_cv_path_FDP
="$FDP" # Let the user override the test with a path.
6529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6533 test -z "$as_dir" && as_dir
=.
6534 for ac_exec_ext
in '' $ac_executable_extensions; do
6535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6536 ac_cv_path_FDP
="$as_dir/$ac_word$ac_exec_ext"
6537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6544 test -z "$ac_cv_path_FDP" && ac_cv_path_FDP
="echo fdp"
6549 if test -n "$FDP"; then
6550 { echo "$as_me:$LINENO: result: $FDP" >&5
6551 echo "${ECHO_T}$FDP" >&6; }
6553 { echo "$as_me:$LINENO: result: no" >&5
6554 echo "${ECHO_T}no" >&6; }
6558 if test "$FDP" != "echo fdp" ; then
6560 cat >>confdefs.h
<<\_ACEOF
6564 if test "$llvm_cv_os_type" = "MingW" ; then
6565 FDP
=`echo $FDP | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
6568 cat >>confdefs.h
<<_ACEOF
6569 #define LLVM_PATH_FDP "$FDP${EXEEXT}"
6573 # Extract the first word of "neato", so it can be a program name with args.
6574 set dummy neato
; ac_word
=$2
6575 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6577 if test "${ac_cv_path_NEATO+set}" = set; then
6578 echo $ECHO_N "(cached) $ECHO_C" >&6
6582 ac_cv_path_NEATO
="$NEATO" # Let the user override the test with a path.
6585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6589 test -z "$as_dir" && as_dir
=.
6590 for ac_exec_ext
in '' $ac_executable_extensions; do
6591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6592 ac_cv_path_NEATO
="$as_dir/$ac_word$ac_exec_ext"
6593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6600 test -z "$ac_cv_path_NEATO" && ac_cv_path_NEATO
="echo neato"
6604 NEATO
=$ac_cv_path_NEATO
6605 if test -n "$NEATO"; then
6606 { echo "$as_me:$LINENO: result: $NEATO" >&5
6607 echo "${ECHO_T}$NEATO" >&6; }
6609 { echo "$as_me:$LINENO: result: no" >&5
6610 echo "${ECHO_T}no" >&6; }
6614 if test "$NEATO" != "echo neato" ; then
6616 cat >>confdefs.h
<<\_ACEOF
6617 #define HAVE_NEATO 1
6620 if test "$llvm_cv_os_type" = "MingW" ; then
6621 NEATO
=`echo $NEATO | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
6624 cat >>confdefs.h
<<_ACEOF
6625 #define LLVM_PATH_NEATO "$NEATO${EXEEXT}"
6629 # Extract the first word of "twopi", so it can be a program name with args.
6630 set dummy twopi
; ac_word
=$2
6631 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6633 if test "${ac_cv_path_TWOPI+set}" = set; then
6634 echo $ECHO_N "(cached) $ECHO_C" >&6
6638 ac_cv_path_TWOPI
="$TWOPI" # Let the user override the test with a path.
6641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6645 test -z "$as_dir" && as_dir
=.
6646 for ac_exec_ext
in '' $ac_executable_extensions; do
6647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6648 ac_cv_path_TWOPI
="$as_dir/$ac_word$ac_exec_ext"
6649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6656 test -z "$ac_cv_path_TWOPI" && ac_cv_path_TWOPI
="echo twopi"
6660 TWOPI
=$ac_cv_path_TWOPI
6661 if test -n "$TWOPI"; then
6662 { echo "$as_me:$LINENO: result: $TWOPI" >&5
6663 echo "${ECHO_T}$TWOPI" >&6; }
6665 { echo "$as_me:$LINENO: result: no" >&5
6666 echo "${ECHO_T}no" >&6; }
6670 if test "$TWOPI" != "echo twopi" ; then
6672 cat >>confdefs.h
<<\_ACEOF
6673 #define HAVE_TWOPI 1
6676 if test "$llvm_cv_os_type" = "MingW" ; then
6677 TWOPI
=`echo $TWOPI | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
6680 cat >>confdefs.h
<<_ACEOF
6681 #define LLVM_PATH_TWOPI "$TWOPI${EXEEXT}"
6685 # Extract the first word of "circo", so it can be a program name with args.
6686 set dummy circo
; ac_word
=$2
6687 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6689 if test "${ac_cv_path_CIRCO+set}" = set; then
6690 echo $ECHO_N "(cached) $ECHO_C" >&6
6694 ac_cv_path_CIRCO
="$CIRCO" # Let the user override the test with a path.
6697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6701 test -z "$as_dir" && as_dir
=.
6702 for ac_exec_ext
in '' $ac_executable_extensions; do
6703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6704 ac_cv_path_CIRCO
="$as_dir/$ac_word$ac_exec_ext"
6705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6712 test -z "$ac_cv_path_CIRCO" && ac_cv_path_CIRCO
="echo circo"
6716 CIRCO
=$ac_cv_path_CIRCO
6717 if test -n "$CIRCO"; then
6718 { echo "$as_me:$LINENO: result: $CIRCO" >&5
6719 echo "${ECHO_T}$CIRCO" >&6; }
6721 { echo "$as_me:$LINENO: result: no" >&5
6722 echo "${ECHO_T}no" >&6; }
6726 if test "$CIRCO" != "echo circo" ; then
6728 cat >>confdefs.h
<<\_ACEOF
6729 #define HAVE_CIRCO 1
6732 if test "$llvm_cv_os_type" = "MingW" ; then
6733 CIRCO
=`echo $CIRCO | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
6736 cat >>confdefs.h
<<_ACEOF
6737 #define LLVM_PATH_CIRCO "$CIRCO${EXEEXT}"
6741 for ac_prog
in gv gsview32
6743 # Extract the first word of "$ac_prog", so it can be a program name with args.
6744 set dummy
$ac_prog; ac_word
=$2
6745 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6747 if test "${ac_cv_path_GV+set}" = set; then
6748 echo $ECHO_N "(cached) $ECHO_C" >&6
6752 ac_cv_path_GV
="$GV" # Let the user override the test with a path.
6755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6759 test -z "$as_dir" && as_dir
=.
6760 for ac_exec_ext
in '' $ac_executable_extensions; do
6761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6762 ac_cv_path_GV
="$as_dir/$ac_word$ac_exec_ext"
6763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6774 if test -n "$GV"; then
6775 { echo "$as_me:$LINENO: result: $GV" >&5
6776 echo "${ECHO_T}$GV" >&6; }
6778 { echo "$as_me:$LINENO: result: no" >&5
6779 echo "${ECHO_T}no" >&6; }
6783 test -n "$GV" && break
6785 test -n "$GV" || GV
="echo gv"
6787 if test "$GV" != "echo gv" ; then
6789 cat >>confdefs.h
<<\_ACEOF
6793 if test "$llvm_cv_os_type" = "MingW" ; then
6794 GV
=`echo $GV | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
6797 cat >>confdefs.h
<<_ACEOF
6798 #define LLVM_PATH_GV "$GV${EXEEXT}"
6802 # Extract the first word of "dotty", so it can be a program name with args.
6803 set dummy dotty
; ac_word
=$2
6804 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6806 if test "${ac_cv_path_DOTTY+set}" = set; then
6807 echo $ECHO_N "(cached) $ECHO_C" >&6
6811 ac_cv_path_DOTTY
="$DOTTY" # Let the user override the test with a path.
6814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6818 test -z "$as_dir" && as_dir
=.
6819 for ac_exec_ext
in '' $ac_executable_extensions; do
6820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6821 ac_cv_path_DOTTY
="$as_dir/$ac_word$ac_exec_ext"
6822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6829 test -z "$ac_cv_path_DOTTY" && ac_cv_path_DOTTY
="echo dotty"
6833 DOTTY
=$ac_cv_path_DOTTY
6834 if test -n "$DOTTY"; then
6835 { echo "$as_me:$LINENO: result: $DOTTY" >&5
6836 echo "${ECHO_T}$DOTTY" >&6; }
6838 { echo "$as_me:$LINENO: result: no" >&5
6839 echo "${ECHO_T}no" >&6; }
6843 if test "$DOTTY" != "echo dotty" ; then
6845 cat >>confdefs.h
<<\_ACEOF
6846 #define HAVE_DOTTY 1
6849 if test "$llvm_cv_os_type" = "MingW" ; then
6850 DOTTY
=`echo $DOTTY | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
6853 cat >>confdefs.h
<<_ACEOF
6854 #define LLVM_PATH_DOTTY "$DOTTY${EXEEXT}"
6858 # Extract the first word of "xdot.py", so it can be a program name with args.
6859 set dummy xdot.py
; ac_word
=$2
6860 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6862 if test "${ac_cv_path_XDOT_PY+set}" = set; then
6863 echo $ECHO_N "(cached) $ECHO_C" >&6
6867 ac_cv_path_XDOT_PY
="$XDOT_PY" # Let the user override the test with a path.
6870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6874 test -z "$as_dir" && as_dir
=.
6875 for ac_exec_ext
in '' $ac_executable_extensions; do
6876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6877 ac_cv_path_XDOT_PY
="$as_dir/$ac_word$ac_exec_ext"
6878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6885 test -z "$ac_cv_path_XDOT_PY" && ac_cv_path_XDOT_PY
="echo xdot.py"
6889 XDOT_PY
=$ac_cv_path_XDOT_PY
6890 if test -n "$XDOT_PY"; then
6891 { echo "$as_me:$LINENO: result: $XDOT_PY" >&5
6892 echo "${ECHO_T}$XDOT_PY" >&6; }
6894 { echo "$as_me:$LINENO: result: no" >&5
6895 echo "${ECHO_T}no" >&6; }
6899 if test "$XDOT_PY" != "echo xdot.py" ; then
6901 cat >>confdefs.h
<<\_ACEOF
6902 #define HAVE_XDOT_PY 1
6905 if test "$llvm_cv_os_type" = "MingW" ; then
6906 XDOT_PY
=`echo $XDOT_PY | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
6909 cat >>confdefs.h
<<_ACEOF
6910 #define LLVM_PATH_XDOT_PY "$XDOT_PY${EXEEXT}"
6916 # Extract the first word of "perl", so it can be a program name with args.
6917 set dummy perl
; ac_word
=$2
6918 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6920 if test "${ac_cv_path_PERL+set}" = set; then
6921 echo $ECHO_N "(cached) $ECHO_C" >&6
6925 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
6928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6932 test -z "$as_dir" && as_dir
=.
6933 for ac_exec_ext
in '' $ac_executable_extensions; do
6934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6935 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
6936 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6943 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="none"
6947 PERL
=$ac_cv_path_PERL
6948 if test -n "$PERL"; then
6949 { echo "$as_me:$LINENO: result: $PERL" >&5
6950 echo "${ECHO_T}$PERL" >&6; }
6952 { echo "$as_me:$LINENO: result: no" >&5
6953 echo "${ECHO_T}no" >&6; }
6957 if test "$PERL" != "none"; then
6958 { echo "$as_me:$LINENO: checking for Perl 5.006 or newer" >&5
6959 echo $ECHO_N "checking for Perl 5.006 or newer... $ECHO_C" >&6; }
6960 if $PERL -e 'use 5.006;' 2>&1 > /dev
/null
; then
6961 { echo "$as_me:$LINENO: result: yes" >&5
6962 echo "${ECHO_T}yes" >&6; }
6965 { echo "$as_me:$LINENO: result: not found" >&5
6966 echo "${ECHO_T}not found" >&6; }
6971 if test x
"$PERL" = xnone
; then
6974 { { echo "$as_me:$LINENO: error: perl is required but was not found, please install it" >&5
6975 echo "$as_me: error: perl is required but was not found, please install it" >&2;}
6976 { (exit 1); exit 1; }; }
6982 # Find a good install program. We prefer a C program (faster),
6983 # so one script is as good as another. But avoid the broken or
6984 # incompatible versions:
6985 # SysV /etc/install, /usr/sbin/install
6986 # SunOS /usr/etc/install
6987 # IRIX /sbin/install
6989 # AmigaOS /C/install, which installs bootblocks on floppy discs
6990 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6991 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6992 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6993 # OS/2's system install, which has a completely different semantic
6994 # ./install, which can be erroneously created by make from ./install.sh.
6995 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6996 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6997 if test -z "$INSTALL"; then
6998 if test "${ac_cv_path_install+set}" = set; then
6999 echo $ECHO_N "(cached) $ECHO_C" >&6
7001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7005 test -z "$as_dir" && as_dir
=.
7006 # Account for people who put trailing slashes in PATH elements.
7008 .
/ | .
// |
/cC
/* | \
7009 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
7010 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
7013 # OSF1 and SCO ODT 3.0 have their own names for install.
7014 # Don't use installbsd from OSF since it installs stuff as root
7016 for ac_prog
in ginstall scoinst
install; do
7017 for ac_exec_ext
in '' $ac_executable_extensions; do
7018 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
7019 if test $ac_prog = install &&
7020 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7021 # AIX install. It has an incompatible calling convention.
7023 elif test $ac_prog = install &&
7024 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7025 # program-specific install script used by HP pwplus--don't use.
7028 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
7041 if test "${ac_cv_path_install+set}" = set; then
7042 INSTALL
=$ac_cv_path_install
7044 # As a last resort, use the slow shell script. Don't cache a
7045 # value for INSTALL within a source directory, because that will
7046 # break other packages using the cache if that directory is
7047 # removed, or if the value is a relative name.
7048 INSTALL
=$ac_install_sh
7051 { echo "$as_me:$LINENO: result: $INSTALL" >&5
7052 echo "${ECHO_T}$INSTALL" >&6; }
7054 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7055 # It thinks the first close brace ends the variable substitution.
7056 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
7058 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
7060 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
7063 [\\/$
]* | ?
:[\\/]* ) ;;
7064 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
7067 # Extract the first word of "bzip2", so it can be a program name with args.
7068 set dummy
bzip2; ac_word
=$2
7069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7071 if test "${ac_cv_path_BZIP2+set}" = set; then
7072 echo $ECHO_N "(cached) $ECHO_C" >&6
7076 ac_cv_path_BZIP2
="$BZIP2" # Let the user override the test with a path.
7079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7083 test -z "$as_dir" && as_dir
=.
7084 for ac_exec_ext
in '' $ac_executable_extensions; do
7085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7086 ac_cv_path_BZIP2
="$as_dir/$ac_word$ac_exec_ext"
7087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7097 BZIP2
=$ac_cv_path_BZIP2
7098 if test -n "$BZIP2"; then
7099 { echo "$as_me:$LINENO: result: $BZIP2" >&5
7100 echo "${ECHO_T}$BZIP2" >&6; }
7102 { echo "$as_me:$LINENO: result: no" >&5
7103 echo "${ECHO_T}no" >&6; }
7107 # Extract the first word of "cat", so it can be a program name with args.
7108 set dummy
cat; ac_word
=$2
7109 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7111 if test "${ac_cv_path_CAT+set}" = set; then
7112 echo $ECHO_N "(cached) $ECHO_C" >&6
7116 ac_cv_path_CAT
="$CAT" # Let the user override the test with a path.
7119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7123 test -z "$as_dir" && as_dir
=.
7124 for ac_exec_ext
in '' $ac_executable_extensions; do
7125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7126 ac_cv_path_CAT
="$as_dir/$ac_word$ac_exec_ext"
7127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7138 if test -n "$CAT"; then
7139 { echo "$as_me:$LINENO: result: $CAT" >&5
7140 echo "${ECHO_T}$CAT" >&6; }
7142 { echo "$as_me:$LINENO: result: no" >&5
7143 echo "${ECHO_T}no" >&6; }
7147 # Extract the first word of "doxygen", so it can be a program name with args.
7148 set dummy doxygen
; ac_word
=$2
7149 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7151 if test "${ac_cv_path_DOXYGEN+set}" = set; then
7152 echo $ECHO_N "(cached) $ECHO_C" >&6
7156 ac_cv_path_DOXYGEN
="$DOXYGEN" # Let the user override the test with a path.
7159 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7163 test -z "$as_dir" && as_dir
=.
7164 for ac_exec_ext
in '' $ac_executable_extensions; do
7165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7166 ac_cv_path_DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
7167 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7177 DOXYGEN
=$ac_cv_path_DOXYGEN
7178 if test -n "$DOXYGEN"; then
7179 { echo "$as_me:$LINENO: result: $DOXYGEN" >&5
7180 echo "${ECHO_T}$DOXYGEN" >&6; }
7182 { echo "$as_me:$LINENO: result: no" >&5
7183 echo "${ECHO_T}no" >&6; }
7187 # Extract the first word of "groff", so it can be a program name with args.
7188 set dummy
groff; ac_word
=$2
7189 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7191 if test "${ac_cv_path_GROFF+set}" = set; then
7192 echo $ECHO_N "(cached) $ECHO_C" >&6
7196 ac_cv_path_GROFF
="$GROFF" # Let the user override the test with a path.
7199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7203 test -z "$as_dir" && as_dir
=.
7204 for ac_exec_ext
in '' $ac_executable_extensions; do
7205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7206 ac_cv_path_GROFF
="$as_dir/$ac_word$ac_exec_ext"
7207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7217 GROFF
=$ac_cv_path_GROFF
7218 if test -n "$GROFF"; then
7219 { echo "$as_me:$LINENO: result: $GROFF" >&5
7220 echo "${ECHO_T}$GROFF" >&6; }
7222 { echo "$as_me:$LINENO: result: no" >&5
7223 echo "${ECHO_T}no" >&6; }
7227 # Extract the first word of "gzip", so it can be a program name with args.
7228 set dummy
gzip; ac_word
=$2
7229 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7231 if test "${ac_cv_path_GZIPBIN+set}" = set; then
7232 echo $ECHO_N "(cached) $ECHO_C" >&6
7236 ac_cv_path_GZIPBIN
="$GZIPBIN" # Let the user override the test with a path.
7239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7243 test -z "$as_dir" && as_dir
=.
7244 for ac_exec_ext
in '' $ac_executable_extensions; do
7245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7246 ac_cv_path_GZIPBIN
="$as_dir/$ac_word$ac_exec_ext"
7247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7257 GZIPBIN
=$ac_cv_path_GZIPBIN
7258 if test -n "$GZIPBIN"; then
7259 { echo "$as_me:$LINENO: result: $GZIPBIN" >&5
7260 echo "${ECHO_T}$GZIPBIN" >&6; }
7262 { echo "$as_me:$LINENO: result: no" >&5
7263 echo "${ECHO_T}no" >&6; }
7267 # Extract the first word of "pod2html", so it can be a program name with args.
7268 set dummy pod2html
; ac_word
=$2
7269 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7271 if test "${ac_cv_path_POD2HTML+set}" = set; then
7272 echo $ECHO_N "(cached) $ECHO_C" >&6
7276 ac_cv_path_POD2HTML
="$POD2HTML" # Let the user override the test with a path.
7279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7283 test -z "$as_dir" && as_dir
=.
7284 for ac_exec_ext
in '' $ac_executable_extensions; do
7285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7286 ac_cv_path_POD2HTML
="$as_dir/$ac_word$ac_exec_ext"
7287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7297 POD2HTML
=$ac_cv_path_POD2HTML
7298 if test -n "$POD2HTML"; then
7299 { echo "$as_me:$LINENO: result: $POD2HTML" >&5
7300 echo "${ECHO_T}$POD2HTML" >&6; }
7302 { echo "$as_me:$LINENO: result: no" >&5
7303 echo "${ECHO_T}no" >&6; }
7307 # Extract the first word of "pod2man", so it can be a program name with args.
7308 set dummy pod2man
; ac_word
=$2
7309 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7311 if test "${ac_cv_path_POD2MAN+set}" = set; then
7312 echo $ECHO_N "(cached) $ECHO_C" >&6
7316 ac_cv_path_POD2MAN
="$POD2MAN" # Let the user override the test with a path.
7319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7323 test -z "$as_dir" && as_dir
=.
7324 for ac_exec_ext
in '' $ac_executable_extensions; do
7325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7326 ac_cv_path_POD2MAN
="$as_dir/$ac_word$ac_exec_ext"
7327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7337 POD2MAN
=$ac_cv_path_POD2MAN
7338 if test -n "$POD2MAN"; then
7339 { echo "$as_me:$LINENO: result: $POD2MAN" >&5
7340 echo "${ECHO_T}$POD2MAN" >&6; }
7342 { echo "$as_me:$LINENO: result: no" >&5
7343 echo "${ECHO_T}no" >&6; }
7347 # Extract the first word of "pdfroff", so it can be a program name with args.
7348 set dummy pdfroff
; ac_word
=$2
7349 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7351 if test "${ac_cv_path_PDFROFF+set}" = set; then
7352 echo $ECHO_N "(cached) $ECHO_C" >&6
7356 ac_cv_path_PDFROFF
="$PDFROFF" # Let the user override the test with a path.
7359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7363 test -z "$as_dir" && as_dir
=.
7364 for ac_exec_ext
in '' $ac_executable_extensions; do
7365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7366 ac_cv_path_PDFROFF
="$as_dir/$ac_word$ac_exec_ext"
7367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7377 PDFROFF
=$ac_cv_path_PDFROFF
7378 if test -n "$PDFROFF"; then
7379 { echo "$as_me:$LINENO: result: $PDFROFF" >&5
7380 echo "${ECHO_T}$PDFROFF" >&6; }
7382 { echo "$as_me:$LINENO: result: no" >&5
7383 echo "${ECHO_T}no" >&6; }
7387 # Extract the first word of "runtest", so it can be a program name with args.
7388 set dummy runtest
; ac_word
=$2
7389 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7391 if test "${ac_cv_path_RUNTEST+set}" = set; then
7392 echo $ECHO_N "(cached) $ECHO_C" >&6
7396 ac_cv_path_RUNTEST
="$RUNTEST" # Let the user override the test with a path.
7399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7403 test -z "$as_dir" && as_dir
=.
7404 for ac_exec_ext
in '' $ac_executable_extensions; do
7405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7406 ac_cv_path_RUNTEST
="$as_dir/$ac_word$ac_exec_ext"
7407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7417 RUNTEST
=$ac_cv_path_RUNTEST
7418 if test -n "$RUNTEST"; then
7419 { echo "$as_me:$LINENO: result: $RUNTEST" >&5
7420 echo "${ECHO_T}$RUNTEST" >&6; }
7422 { echo "$as_me:$LINENO: result: no" >&5
7423 echo "${ECHO_T}no" >&6; }
7429 { echo "$as_me:$LINENO: checking for the tclsh program in tclinclude directory" >&5
7430 echo $ECHO_N "checking for the tclsh program in tclinclude directory... $ECHO_C" >&6; }
7432 # Check whether --with-tclinclude was given.
7433 if test "${with_tclinclude+set}" = set; then
7434 withval
=$with_tclinclude; with_tclinclude
=${withval}
7439 if test "${ac_cv_path_tclsh+set}" = set; then
7440 echo $ECHO_N "(cached) $ECHO_C" >&6
7443 if test x
"${with_tclinclude}" != x
; then
7444 if test -f ${with_tclinclude}/tclsh
; then
7445 ac_cv_path_tclsh
=`(cd ${with_tclinclude}; pwd)`
7446 elif test -f ${with_tclinclude}/src
/tclsh
; then
7447 ac_cv_path_tclsh
=`(cd ${with_tclinclude}/src; pwd)`
7449 { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain tclsh" >&5
7450 echo "$as_me: error: ${with_tclinclude} directory doesn't contain tclsh" >&2;}
7451 { (exit 1); exit 1; }; }
7457 if test x
"${ac_cv_path_tclsh}" = x
; then
7458 { echo "$as_me:$LINENO: result: none" >&5
7459 echo "${ECHO_T}none" >&6; }
7460 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
7462 # Extract the first word of "$ac_prog", so it can be a program name with args.
7463 set dummy
$ac_prog; ac_word
=$2
7464 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7466 if test "${ac_cv_path_TCLSH+set}" = set; then
7467 echo $ECHO_N "(cached) $ECHO_C" >&6
7471 ac_cv_path_TCLSH
="$TCLSH" # Let the user override the test with a path.
7474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7478 test -z "$as_dir" && as_dir
=.
7479 for ac_exec_ext
in '' $ac_executable_extensions; do
7480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7481 ac_cv_path_TCLSH
="$as_dir/$ac_word$ac_exec_ext"
7482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7492 TCLSH
=$ac_cv_path_TCLSH
7493 if test -n "$TCLSH"; then
7494 { echo "$as_me:$LINENO: result: $TCLSH" >&5
7495 echo "${ECHO_T}$TCLSH" >&6; }
7497 { echo "$as_me:$LINENO: result: no" >&5
7498 echo "${ECHO_T}no" >&6; }
7502 test -n "$TCLSH" && break
7505 if test x
"${TCLSH}" = x
; then
7506 ac_cv_path_tclsh
='';
7508 ac_cv_path_tclsh
="${TCLSH}";
7511 { echo "$as_me:$LINENO: result: ${ac_cv_path_tclsh}" >&5
7512 echo "${ECHO_T}${ac_cv_path_tclsh}" >&6; }
7513 TCLSH="${ac_cv_path_tclsh}"
7517 # Extract the first word of "zip", so it can be a program name with args.
7518 set dummy zip; ac_word=$2
7519 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7520 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7521 if test "${ac_cv_path_ZIP+set}" = set; then
7522 echo $ECHO_N "(cached
) $ECHO_C" >&6
7526 ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
7529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7533 test -z "$as_dir" && as_dir=.
7534 for ac_exec_ext in '' $ac_executable_extensions; do
7535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7536 ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
7537 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7548 if test -n "$ZIP"; then
7549 { echo "$as_me:$LINENO: result
: $ZIP" >&5
7550 echo "${ECHO_T}$ZIP" >&6; }
7552 { echo "$as_me:$LINENO: result
: no
" >&5
7553 echo "${ECHO_T}no
" >&6; }
7557 for ac_prog in ocamlc
7559 # Extract the first word of "$ac_prog", so it can be a program name with args.
7560 set dummy $ac_prog; ac_word=$2
7561 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7562 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7563 if test "${ac_cv_path_OCAMLC+set}" = set; then
7564 echo $ECHO_N "(cached
) $ECHO_C" >&6
7568 ac_cv_path_OCAMLC="$OCAMLC" # Let the user override the test with a path.
7571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7575 test -z "$as_dir" && as_dir=.
7576 for ac_exec_ext in '' $ac_executable_extensions; do
7577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7578 ac_cv_path_OCAMLC="$as_dir/$ac_word$ac_exec_ext"
7579 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7589 OCAMLC=$ac_cv_path_OCAMLC
7590 if test -n "$OCAMLC"; then
7591 { echo "$as_me:$LINENO: result
: $OCAMLC" >&5
7592 echo "${ECHO_T}$OCAMLC" >&6; }
7594 { echo "$as_me:$LINENO: result
: no
" >&5
7595 echo "${ECHO_T}no
" >&6; }
7599 test -n "$OCAMLC" && break
7602 for ac_prog in ocamlopt
7604 # Extract the first word of "$ac_prog", so it can be a program name with args.
7605 set dummy $ac_prog; ac_word=$2
7606 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7607 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7608 if test "${ac_cv_path_OCAMLOPT+set}" = set; then
7609 echo $ECHO_N "(cached
) $ECHO_C" >&6
7613 ac_cv_path_OCAMLOPT="$OCAMLOPT" # Let the user override the test with a path.
7616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7620 test -z "$as_dir" && as_dir=.
7621 for ac_exec_ext in '' $ac_executable_extensions; do
7622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7623 ac_cv_path_OCAMLOPT="$as_dir/$ac_word$ac_exec_ext"
7624 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7634 OCAMLOPT=$ac_cv_path_OCAMLOPT
7635 if test -n "$OCAMLOPT"; then
7636 { echo "$as_me:$LINENO: result
: $OCAMLOPT" >&5
7637 echo "${ECHO_T}$OCAMLOPT" >&6; }
7639 { echo "$as_me:$LINENO: result
: no
" >&5
7640 echo "${ECHO_T}no
" >&6; }
7644 test -n "$OCAMLOPT" && break
7647 for ac_prog in ocamldep
7649 # Extract the first word of "$ac_prog", so it can be a program name with args.
7650 set dummy $ac_prog; ac_word=$2
7651 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7652 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7653 if test "${ac_cv_path_OCAMLDEP+set}" = set; then
7654 echo $ECHO_N "(cached
) $ECHO_C" >&6
7658 ac_cv_path_OCAMLDEP="$OCAMLDEP" # Let the user override the test with a path.
7661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7665 test -z "$as_dir" && as_dir=.
7666 for ac_exec_ext in '' $ac_executable_extensions; do
7667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7668 ac_cv_path_OCAMLDEP="$as_dir/$ac_word$ac_exec_ext"
7669 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7679 OCAMLDEP=$ac_cv_path_OCAMLDEP
7680 if test -n "$OCAMLDEP"; then
7681 { echo "$as_me:$LINENO: result
: $OCAMLDEP" >&5
7682 echo "${ECHO_T}$OCAMLDEP" >&6; }
7684 { echo "$as_me:$LINENO: result
: no
" >&5
7685 echo "${ECHO_T}no
" >&6; }
7689 test -n "$OCAMLDEP" && break
7692 for ac_prog in ocamldoc
7694 # Extract the first word of "$ac_prog", so it can be a program name with args.
7695 set dummy $ac_prog; ac_word=$2
7696 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7697 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7698 if test "${ac_cv_path_OCAMLDOC+set}" = set; then
7699 echo $ECHO_N "(cached
) $ECHO_C" >&6
7703 ac_cv_path_OCAMLDOC="$OCAMLDOC" # Let the user override the test with a path.
7706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7710 test -z "$as_dir" && as_dir=.
7711 for ac_exec_ext in '' $ac_executable_extensions; do
7712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7713 ac_cv_path_OCAMLDOC="$as_dir/$ac_word$ac_exec_ext"
7714 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7724 OCAMLDOC=$ac_cv_path_OCAMLDOC
7725 if test -n "$OCAMLDOC"; then
7726 { echo "$as_me:$LINENO: result
: $OCAMLDOC" >&5
7727 echo "${ECHO_T}$OCAMLDOC" >&6; }
7729 { echo "$as_me:$LINENO: result
: no
" >&5
7730 echo "${ECHO_T}no
" >&6; }
7734 test -n "$OCAMLDOC" && break
7737 for ac_prog in gas as
7739 # Extract the first word of "$ac_prog", so it can be a program name with args.
7740 set dummy $ac_prog; ac_word=$2
7741 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7742 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7743 if test "${ac_cv_path_GAS+set}" = set; then
7744 echo $ECHO_N "(cached
) $ECHO_C" >&6
7748 ac_cv_path_GAS="$GAS" # Let the user override the test with a path.
7751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7755 test -z "$as_dir" && as_dir=.
7756 for ac_exec_ext in '' $ac_executable_extensions; do
7757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7758 ac_cv_path_GAS="$as_dir/$ac_word$ac_exec_ext"
7759 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7770 if test -n "$GAS"; then
7771 { echo "$as_me:$LINENO: result
: $GAS" >&5
7772 echo "${ECHO_T}$GAS" >&6; }
7774 { echo "$as_me:$LINENO: result
: no
" >&5
7775 echo "${ECHO_T}no
" >&6; }
7779 test -n "$GAS" && break
7783 { echo "$as_me:$LINENO: checking
for linker version
" >&5
7784 echo $ECHO_N "checking
for linker version...
$ECHO_C" >&6; }
7785 if test "${llvm_cv_link_version+set}" = set; then
7786 echo $ECHO_N "(cached
) $ECHO_C" >&6
7789 version_string="$
(ld
-v 2>&1 |
head -1)"
7792 if (echo "$version_string" | grep -q "ld64
"); then
7793 llvm_cv_link_version=$(echo "$version_string" | sed -e "s
#.*ld64-\([^ ]*\)#\1#")
7795 llvm_cv_link_version
=$
(echo "$version_string" |
sed -e "s#[^0-9]*\([0-9.]*\).*#\1#")
7799 { echo "$as_me:$LINENO: result: $llvm_cv_link_version" >&5
7800 echo "${ECHO_T}$llvm_cv_link_version" >&6; }
7802 cat >>confdefs.h
<<_ACEOF
7803 #define HOST_LINK_VERSION "$llvm_cv_link_version"
7808 { echo "$as_me:$LINENO: checking for compiler -Wl,-R<path> option" >&5
7809 echo $ECHO_N "checking for compiler -Wl,-R<path> option... $ECHO_C" >&6; }
7810 if test "${llvm_cv_link_use_r+set}" = set; then
7811 echo $ECHO_N "(cached) $ECHO_C" >&6
7814 ac_cpp
='$CPP $CPPFLAGS'
7815 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7816 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7817 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7820 CFLAGS
="$CFLAGS -Wl,-R."
7821 cat >conftest.
$ac_ext <<_ACEOF
7824 cat confdefs.h
>>conftest.
$ac_ext
7825 cat >>conftest.
$ac_ext <<_ACEOF
7826 /* end confdefs.h. */
7836 rm -f conftest.
$ac_objext conftest
$ac_exeext
7837 if { (ac_try
="$ac_link"
7839 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7840 *) ac_try_echo=$ac_try;;
7842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7843 (eval "$ac_link") 2>conftest.er1
7845 grep -v '^ *+' conftest.er1 >conftest.err
7847 cat conftest.err >&5
7848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7849 (exit $ac_status); } &&
7850 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7851 { (case "(($ac_try" in
7852 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7853 *) ac_try_echo
=$ac_try;;
7855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7856 (eval "$ac_try") 2>&5
7858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7859 (exit $ac_status); }; } &&
7860 { ac_try
='test -s conftest$ac_exeext'
7861 { (case "(($ac_try" in
7862 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7863 *) ac_try_echo=$ac_try;;
7865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7866 (eval "$ac_try") 2>&5
7868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7869 (exit $ac_status); }; }; then
7870 llvm_cv_link_use_r=yes
7872 echo "$as_me: failed program was:" >&5
7873 sed 's/^/| /' conftest.$ac_ext >&5
7875 llvm_cv_link_use_r=no
7878 rm -f core conftest.err conftest.$ac_objext \
7879 conftest$ac_exeext conftest.$ac_ext
7882 ac_cpp='$CPP $CPPFLAGS'
7883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7889 { echo "$as_me:$LINENO: result: $llvm_cv_link_use_r" >&5
7890 echo "${ECHO_T}$llvm_cv_link_use_r" >&6; }
7891 if test "$llvm_cv_link_use_r" = yes ; then
7893 cat >>confdefs.h <<\_ACEOF
7894 #define HAVE_LINK_R 1
7900 { echo "$as_me:$LINENO: checking for compiler -Wl,-export-dynamic option" >&5
7901 echo $ECHO_N "checking for compiler -Wl,-export-dynamic option... $ECHO_C" >&6; }
7902 if test "${llvm_cv_link_use_export_dynamic+set}" = set; then
7903 echo $ECHO_N "(cached) $ECHO_C" >&6
7906 ac_cpp='$CPP $CPPFLAGS'
7907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7912 CFLAGS="$CFLAGS -Wl,-export-dynamic"
7913 cat >conftest.$ac_ext <<_ACEOF
7916 cat confdefs.h >>conftest.$ac_ext
7917 cat >>conftest.$ac_ext <<_ACEOF
7918 /* end confdefs.h. */
7928 rm -f conftest.$ac_objext conftest$ac_exeext
7929 if { (ac_try="$ac_link"
7931 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7932 *) ac_try_echo
=$ac_try;;
7934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7935 (eval "$ac_link") 2>conftest.er1
7937 grep -v '^ *+' conftest.er1
>conftest.err
7939 cat conftest.err
>&5
7940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7941 (exit $ac_status); } &&
7942 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7943 { (case "(($ac_try" in
7944 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7945 *) ac_try_echo=$ac_try;;
7947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7948 (eval "$ac_try") 2>&5
7950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7951 (exit $ac_status); }; } &&
7952 { ac_try='test -s conftest$ac_exeext'
7953 { (case "(($ac_try" in
7954 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7955 *) ac_try_echo
=$ac_try;;
7957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7958 (eval "$ac_try") 2>&5
7960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7961 (exit $ac_status); }; }; then
7962 llvm_cv_link_use_export_dynamic
=yes
7964 echo "$as_me: failed program was:" >&5
7965 sed 's/^/| /' conftest.
$ac_ext >&5
7967 llvm_cv_link_use_export_dynamic
=no
7970 rm -f core conftest.err conftest.
$ac_objext \
7971 conftest
$ac_exeext conftest.
$ac_ext
7974 ac_cpp
='$CPP $CPPFLAGS'
7975 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7976 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7977 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7981 { echo "$as_me:$LINENO: result: $llvm_cv_link_use_export_dynamic" >&5
7982 echo "${ECHO_T}$llvm_cv_link_use_export_dynamic" >&6; }
7983 if test "$llvm_cv_link_use_export_dynamic" = yes ; then
7985 cat >>confdefs.h
<<\_ACEOF
7986 #define HAVE_LINK_EXPORT_DYNAMIC 1
7992 { echo "$as_me:$LINENO: checking for compiler -Wl,--version-script option" >&5
7993 echo $ECHO_N "checking for compiler -Wl,--version-script option... $ECHO_C" >&6; }
7994 if test "${llvm_cv_link_use_version_script+set}" = set; then
7995 echo $ECHO_N "(cached) $ECHO_C" >&6
7998 ac_cpp
='$CPP $CPPFLAGS'
7999 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8000 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8001 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8005 # The following code is from the autoconf manual,
8006 # "11.13: Limitations of Usual Tools".
8007 # Create a temporary directory $tmp in $TMPDIR (default /tmp).
8008 # Use mktemp if possible; otherwise fall back on mkdir,
8009 # with $RANDOM to make collisions less likely.
8013 (umask 077 && mktemp -d "$TMPDIR/fooXXXXXX") 2>/dev/null
8015 test -n "$tmp" && test -d "$tmp"
8017 tmp
=$TMPDIR/foo$$
-$RANDOM
8018 (umask 077 && mkdir
"$tmp")
8021 echo "{" > "$tmp/export.map"
8022 echo " global: main;" >> "$tmp/export.map"
8023 echo " local: *;" >> "$tmp/export.map"
8024 echo "};" >> "$tmp/export.map"
8026 CFLAGS
="$CFLAGS -Wl,--version-script=$tmp/export.map"
8027 cat >conftest.
$ac_ext <<_ACEOF
8030 cat confdefs.h
>>conftest.
$ac_ext
8031 cat >>conftest.
$ac_ext <<_ACEOF
8032 /* end confdefs.h. */
8042 rm -f conftest.
$ac_objext conftest
$ac_exeext
8043 if { (ac_try
="$ac_link"
8045 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8046 *) ac_try_echo=$ac_try;;
8048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8049 (eval "$ac_link") 2>conftest.er1
8051 grep -v '^ *+' conftest.er1 >conftest.err
8053 cat conftest.err >&5
8054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8055 (exit $ac_status); } &&
8056 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8057 { (case "(($ac_try" in
8058 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8059 *) ac_try_echo
=$ac_try;;
8061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8062 (eval "$ac_try") 2>&5
8064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8065 (exit $ac_status); }; } &&
8066 { ac_try
='test -s conftest$ac_exeext'
8067 { (case "(($ac_try" in
8068 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8069 *) ac_try_echo=$ac_try;;
8071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8072 (eval "$ac_try") 2>&5
8074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8075 (exit $ac_status); }; }; then
8076 llvm_cv_link_use_version_script=yes
8078 echo "$as_me: failed program was:" >&5
8079 sed 's/^/| /' conftest.$ac_ext >&5
8081 llvm_cv_link_use_version_script=no
8084 rm -f core conftest.err conftest.$ac_objext \
8085 conftest$ac_exeext conftest.$ac_ext
8086 rm "$tmp/export.map"
8090 ac_cpp='$CPP $CPPFLAGS'
8091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8097 { echo "$as_me:$LINENO: result: $llvm_cv_link_use_version_script" >&5
8098 echo "${ECHO_T}$llvm_cv_link_use_version_script" >&6; }
8099 if test "$llvm_cv_link_use_version_script" = yes ; then
8100 HAVE_LINK_VERSION_SCRIPT=1
8107 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
8108 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
8109 if test "${ac_cv_c_const+set}" = set; then
8110 echo $ECHO_N "(cached) $ECHO_C" >&6
8112 cat >conftest.$ac_ext <<_ACEOF
8115 cat confdefs.h >>conftest.$ac_ext
8116 cat >>conftest.$ac_ext <<_ACEOF
8117 /* end confdefs.h. */
8122 /* FIXME: Include the comments suggested by Paul. */
8124 /* Ultrix mips cc rejects this. */
8125 typedef int charset[2];
8127 /* SunOS 4.1.1 cc rejects this. */
8128 char const *const *ccp;
8130 /* NEC SVR4.0.2 mips cc rejects this. */
8131 struct point {int x, y;};
8132 static struct point const zero = {0,0};
8133 /* AIX XL C 1.02.0.0 rejects this.
8134 It does not let you subtract one const X* pointer from another in
8135 an arm of an if-expression whose if-part is not a constant
8137 const char *g = "string";
8138 ccp = &g + (g ? g-g : 0);
8139 /* HPUX 7.0 cc rejects these. */
8142 ccp = (char const *const *) p;
8143 { /* SCO 3.2v4 cc rejects this. */
8145 char const *s = 0 ? (char *) 0 : (char const *) 0;
8150 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8152 const int *foo = &x[0];
8155 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8156 typedef const int *iptr;
8160 { /* AIX XL C 1.02.0.0 rejects this saying
8161 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8162 struct s { int j; const int *ap[3]; };
8163 struct s *b; b->j = 5;
8165 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8169 return !x[0] && !zero.x;
8176 rm -f conftest.$ac_objext
8177 if { (ac_try="$ac_compile"
8179 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8180 *) ac_try_echo
=$ac_try;;
8182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8183 (eval "$ac_compile") 2>conftest.er1
8185 grep -v '^ *+' conftest.er1
>conftest.err
8187 cat conftest.err
>&5
8188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8189 (exit $ac_status); } &&
8190 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8191 { (case "(($ac_try" in
8192 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8193 *) ac_try_echo=$ac_try;;
8195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8196 (eval "$ac_try") 2>&5
8198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8199 (exit $ac_status); }; } &&
8200 { ac_try='test -s conftest.$ac_objext'
8201 { (case "(($ac_try" in
8202 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8203 *) ac_try_echo
=$ac_try;;
8205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8206 (eval "$ac_try") 2>&5
8208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8209 (exit $ac_status); }; }; then
8212 echo "$as_me: failed program was:" >&5
8213 sed 's/^/| /' conftest.
$ac_ext >&5
8218 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8220 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
8221 echo "${ECHO_T}$ac_cv_c_const" >&6; }
8222 if test $ac_cv_c_const = no
; then
8224 cat >>confdefs.h
<<\_ACEOF
8236 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
8237 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
8238 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
8239 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
8240 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8241 echo $ECHO_N "(cached) $ECHO_C" >&6
8243 cat >conftest.
$ac_ext <<_ACEOF
8246 cat confdefs.h
>>conftest.
$ac_ext
8247 cat >>conftest.
$ac_ext <<_ACEOF
8248 /* end confdefs.h. */
8249 #include <sys/types.h>
8261 rm -f conftest.
$ac_objext
8262 if { (ac_try
="$ac_compile"
8264 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8265 *) ac_try_echo=$ac_try;;
8267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8268 (eval "$ac_compile") 2>conftest.er1
8270 grep -v '^ *+' conftest.er1 >conftest.err
8272 cat conftest.err >&5
8273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8274 (exit $ac_status); } &&
8275 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8276 { (case "(($ac_try" in
8277 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8278 *) ac_try_echo
=$ac_try;;
8280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8281 (eval "$ac_try") 2>&5
8283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8284 (exit $ac_status); }; } &&
8285 { ac_try
='test -s conftest.$ac_objext'
8286 { (case "(($ac_try" in
8287 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8288 *) ac_try_echo=$ac_try;;
8290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8291 (eval "$ac_try") 2>&5
8293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8294 (exit $ac_status); }; }; then
8295 eval "$as_ac_Header=yes"
8297 echo "$as_me: failed program was:" >&5
8298 sed 's/^/| /' conftest.$ac_ext >&5
8300 eval "$as_ac_Header=no"
8303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8305 ac_res=`eval echo '${'$as_ac_Header'}'`
8306 { echo "$as_me:$LINENO: result: $ac_res" >&5
8307 echo "${ECHO_T}$ac_res" >&6; }
8308 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8309 cat >>confdefs.h <<_ACEOF
8310 #define `echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
8313 ac_header_dirent=$ac_hdr; break
8317 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8318 if test $ac_header_dirent = dirent.h; then
8319 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
8320 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
8321 if test "${ac_cv_search_opendir+set}" = set; then
8322 echo $ECHO_N "(cached) $ECHO_C" >&6
8324 ac_func_search_save_LIBS=$LIBS
8325 cat >conftest.$ac_ext <<_ACEOF
8328 cat confdefs.h >>conftest.$ac_ext
8329 cat >>conftest.$ac_ext <<_ACEOF
8330 /* end confdefs.h. */
8332 /* Override any GCC internal prototype to avoid an error.
8333 Use char because int might match the return type of a GCC
8334 builtin and then its argument prototype would still apply. */
8347 for ac_lib in '' dir; do
8348 if test -z "$ac_lib"; then
8349 ac_res="none required"
8352 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8354 rm -f conftest.$ac_objext conftest$ac_exeext
8355 if { (ac_try="$ac_link"
8357 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8358 *) ac_try_echo
=$ac_try;;
8360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8361 (eval "$ac_link") 2>conftest.er1
8363 grep -v '^ *+' conftest.er1
>conftest.err
8365 cat conftest.err
>&5
8366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8367 (exit $ac_status); } &&
8368 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8369 { (case "(($ac_try" in
8370 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8371 *) ac_try_echo=$ac_try;;
8373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8374 (eval "$ac_try") 2>&5
8376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8377 (exit $ac_status); }; } &&
8378 { ac_try='test -s conftest$ac_exeext'
8379 { (case "(($ac_try" in
8380 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8381 *) ac_try_echo
=$ac_try;;
8383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8384 (eval "$ac_try") 2>&5
8386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8387 (exit $ac_status); }; }; then
8388 ac_cv_search_opendir
=$ac_res
8390 echo "$as_me: failed program was:" >&5
8391 sed 's/^/| /' conftest.
$ac_ext >&5
8396 rm -f core conftest.err conftest.
$ac_objext \
8398 if test "${ac_cv_search_opendir+set}" = set; then
8402 if test "${ac_cv_search_opendir+set}" = set; then
8405 ac_cv_search_opendir
=no
8408 LIBS
=$ac_func_search_save_LIBS
8410 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8411 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
8412 ac_res
=$ac_cv_search_opendir
8413 if test "$ac_res" != no
; then
8414 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
8419 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
8420 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
8421 if test "${ac_cv_search_opendir+set}" = set; then
8422 echo $ECHO_N "(cached) $ECHO_C" >&6
8424 ac_func_search_save_LIBS
=$LIBS
8425 cat >conftest.
$ac_ext <<_ACEOF
8428 cat confdefs.h
>>conftest.
$ac_ext
8429 cat >>conftest.
$ac_ext <<_ACEOF
8430 /* end confdefs.h. */
8432 /* Override any GCC internal prototype to avoid an error.
8433 Use char because int might match the return type of a GCC
8434 builtin and then its argument prototype would still apply. */
8447 for ac_lib
in '' x
; do
8448 if test -z "$ac_lib"; then
8449 ac_res
="none required"
8452 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8454 rm -f conftest.
$ac_objext conftest
$ac_exeext
8455 if { (ac_try
="$ac_link"
8457 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8458 *) ac_try_echo=$ac_try;;
8460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8461 (eval "$ac_link") 2>conftest.er1
8463 grep -v '^ *+' conftest.er1 >conftest.err
8465 cat conftest.err >&5
8466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8467 (exit $ac_status); } &&
8468 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8469 { (case "(($ac_try" in
8470 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8471 *) ac_try_echo
=$ac_try;;
8473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8474 (eval "$ac_try") 2>&5
8476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8477 (exit $ac_status); }; } &&
8478 { ac_try
='test -s conftest$ac_exeext'
8479 { (case "(($ac_try" in
8480 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8481 *) ac_try_echo=$ac_try;;
8483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8484 (eval "$ac_try") 2>&5
8486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8487 (exit $ac_status); }; }; then
8488 ac_cv_search_opendir=$ac_res
8490 echo "$as_me: failed program was:" >&5
8491 sed 's/^/| /' conftest.$ac_ext >&5
8496 rm -f core conftest.err conftest.$ac_objext \
8498 if test "${ac_cv_search_opendir+set}" = set; then
8502 if test "${ac_cv_search_opendir+set}" = set; then
8505 ac_cv_search_opendir=no
8508 LIBS=$ac_func_search_save_LIBS
8510 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8511 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
8512 ac_res=$ac_cv_search_opendir
8513 if test "$ac_res" != no; then
8514 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8521 for ac_header in dlfcn.h
8523 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8524 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8525 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8526 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8527 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8528 echo $ECHO_N "(cached) $ECHO_C" >&6
8530 ac_res=`eval echo '${'$as_ac_Header'}'`
8531 { echo "$as_me:$LINENO: result: $ac_res" >&5
8532 echo "${ECHO_T}$ac_res" >&6; }
8534 # Is the header compilable?
8535 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8536 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8537 cat >conftest.$ac_ext <<_ACEOF
8540 cat confdefs.h >>conftest.$ac_ext
8541 cat >>conftest.$ac_ext <<_ACEOF
8542 /* end confdefs.h. */
8543 $ac_includes_default
8544 #include <$ac_header>
8546 rm -f conftest.$ac_objext
8547 if { (ac_try="$ac_compile"
8549 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8550 *) ac_try_echo
=$ac_try;;
8552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8553 (eval "$ac_compile") 2>conftest.er1
8555 grep -v '^ *+' conftest.er1
>conftest.err
8557 cat conftest.err
>&5
8558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8559 (exit $ac_status); } &&
8560 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8561 { (case "(($ac_try" in
8562 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8563 *) ac_try_echo=$ac_try;;
8565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8566 (eval "$ac_try") 2>&5
8568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8569 (exit $ac_status); }; } &&
8570 { ac_try='test -s conftest.$ac_objext'
8571 { (case "(($ac_try" in
8572 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8573 *) ac_try_echo
=$ac_try;;
8575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8576 (eval "$ac_try") 2>&5
8578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8579 (exit $ac_status); }; }; then
8580 ac_header_compiler
=yes
8582 echo "$as_me: failed program was:" >&5
8583 sed 's/^/| /' conftest.
$ac_ext >&5
8585 ac_header_compiler
=no
8588 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8589 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8590 echo "${ECHO_T}$ac_header_compiler" >&6; }
8592 # Is the header present?
8593 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8594 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8595 cat >conftest.
$ac_ext <<_ACEOF
8598 cat confdefs.h
>>conftest.
$ac_ext
8599 cat >>conftest.
$ac_ext <<_ACEOF
8600 /* end confdefs.h. */
8601 #include <$ac_header>
8603 if { (ac_try
="$ac_cpp conftest.$ac_ext"
8605 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8606 *) ac_try_echo=$ac_try;;
8608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8609 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8611 grep -v '^ *+' conftest.er1 >conftest.err
8613 cat conftest.err >&5
8614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8615 (exit $ac_status); } >/dev/null; then
8616 if test -s conftest.err; then
8617 ac_cpp_err=$ac_c_preproc_warn_flag
8618 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8625 if test -z "$ac_cpp_err"; then
8626 ac_header_preproc=yes
8628 echo "$as_me: failed program was:" >&5
8629 sed 's/^/| /' conftest.$ac_ext >&5
8631 ac_header_preproc=no
8634 rm -f conftest.err conftest.$ac_ext
8635 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8636 echo "${ECHO_T}$ac_header_preproc" >&6; }
8638 # So? What about this header?
8639 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8641 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8642 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8643 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8644 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8645 ac_header_preproc=yes
8648 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8649 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8650 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8651 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8652 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8653 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8654 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8655 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8656 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8657 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8658 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8659 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8661 ## ----------------------------------- ##
8662 ## Report this to llvmbugs@cs.uiuc.edu ##
8663 ## ----------------------------------- ##
8665 ) | sed "s/^/$as_me: WARNING: /" >&2
8668 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8670 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8671 echo $ECHO_N "(cached) $ECHO_C" >&6
8673 eval "$as_ac_Header=\$ac_header_preproc"
8675 ac_res=`eval echo '${'$as_ac_Header'}'`
8676 { echo "$as_me:$LINENO: result: $ac_res" >&5
8677 echo "${ECHO_T}$ac_res" >&6; }
8680 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8681 cat >>confdefs.h <<_ACEOF
8682 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8689 # Check whether --enable-ltdl-install was given.
8690 if test "${enable_ltdl_install+set}" = set; then
8691 enableval=$enable_ltdl_install;
8697 if test x"${enable_ltdl_install-no}" != xno; then
8699 INSTALL_LTDL_FALSE='#'
8701 INSTALL_LTDL_TRUE='#'
8707 if test x"${enable_ltdl_convenience-no}" != xno; then
8708 CONVENIENCE_LTDL_TRUE=
8709 CONVENIENCE_LTDL_FALSE='#'
8711 CONVENIENCE_LTDL_TRUE='#'
8712 CONVENIENCE_LTDL_FALSE=
8716 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8717 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8719 libname_spec='lib$name'
8727 shlibpath_overrides_runpath=unknown
8729 dynamic_linker="$host_os ld.so"
8730 sys_lib_dlsearch_path_spec="/lib /usr/lib"
8731 if test "$GCC" = yes; then
8732 sys_lib_search_path_spec=`$CC -print-search-dirs |
grep "^libraries:" |
$SED -e "s/^libraries://" -e "s,=/,/,g"`
8733 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
8734 # if the path contains ";" then we assume it to be the separator
8735 # otherwise default to the standard path separator (i.e. ":") - it is
8736 # assumed that no part of a normal pathname contains ";" but that should
8737 # okay in the real world where ";" in dirpaths is itself problematic.
8738 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" |
$SED -e 's/;/ /g'`
8740 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" |
$SED -e "s/$PATH_SEPARATOR/ /g"`
8743 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8745 need_lib_prefix=unknown
8746 hardcode_into_libs=no
8748 # when you set need_version to no, make sure it does not cause -set_version
8749 # flags to be left without arguments
8750 need_version=unknown
8755 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8756 shlibpath_var=LIBPATH
8758 # AIX 3 has no versioning support, so we append a major version to the name.
8759 soname_spec='${libname}${release}${shared_ext}$major'
8766 hardcode_into_libs=yes
8767 if test "$host_cpu" = ia64; then
8768 # AIX 5 supports IA64
8769 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8770 shlibpath_var=LD_LIBRARY_PATH
8772 # With GCC up to 2.95.x, collect2 would create an import file
8773 # for dependence libraries. The import file would start with
8774 # the line `#! .'. This would cause the generated library to
8775 # depend on `.', always an invalid library. This was fixed in
8776 # development snapshots of GCC prior to 3.0.
8778 aix4 | aix4.
[01] | aix4.
[01].
*)
8779 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8781 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8788 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8789 # soname into executable. Probably we can add versioning support to
8790 # collect2, so additional links can be useful in future.
8791 if test "$aix_use_runtimelinking" = yes; then
8792 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8793 # instead of lib<name>.a to let people know that these are not
8794 # typical AIX shared libraries.
8795 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8797 # We preserve .a as extension for shared libraries through AIX4.2
8798 # and later when we are not doing run time linking.
8799 library_names_spec
='${libname}${release}.a $libname.a'
8800 soname_spec
='${libname}${release}${shared_ext}$major'
8802 shlibpath_var
=LIBPATH
8807 library_names_spec
='$libname.ixlibrary $libname.a'
8808 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8809 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'
8813 library_names_spec
='${libname}${shared_ext}'
8814 dynamic_linker
="$host_os ld.so"
8815 shlibpath_var
=LIBRARY_PATH
8821 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8822 soname_spec
='${libname}${release}${shared_ext}$major'
8823 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8824 shlibpath_var
=LD_LIBRARY_PATH
8825 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8826 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8827 # the default ld.so.conf also contains /usr/contrib/lib and
8828 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8829 # libtool to hard-code these into programs
8832 cygwin
* | mingw
* | pw32
*)
8833 version_type
=windows
8838 case $GCC,$host_os in
8839 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8840 library_names_spec
='$libname.dll.a'
8841 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8842 postinstall_cmds
='base_file=`basename \${file}`~
8843 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8844 dldir=$destdir/`dirname \$dlpath`~
8845 test -d \$dldir || mkdir -p \$dldir~
8846 $install_prog $dir/$dlname \$dldir/$dlname~
8847 chmod a+x \$dldir/$dlname'
8848 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8849 dlpath=$dir/\$dldll~
8851 shlibpath_overrides_runpath
=yes
8855 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8856 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8857 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8860 # MinGW DLLs use traditional 'lib' prefix
8861 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8862 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8863 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8864 # It is most probably a Windows format PATH printed by
8865 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8866 # path with ; separators, and with drive letters. We can handle the
8867 # drive letters (cygwin fileutils understands them), so leave them,
8868 # especially as we might pass files found there to a mingw objdump,
8869 # which wouldn't understand a cygwinified path. Ahh.
8870 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8872 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8876 # pw32 DLLs use 'pw' prefix rather than 'lib'
8877 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8883 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8886 dynamic_linker
='Win32 ld.exe'
8887 # FIXME: first we should search . and the directory the executable is in
8891 darwin
* | rhapsody
*)
8892 dynamic_linker
="$host_os dyld"
8896 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8897 soname_spec
='${libname}${release}${major}$shared_ext'
8898 shlibpath_overrides_runpath
=yes
8899 shlibpath_var
=DYLD_LIBRARY_PATH
8900 shrext_cmds
='.dylib'
8901 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8902 if test "$GCC" = yes; then
8903 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"`
8905 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8907 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8914 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8915 soname_spec
='${libname}${release}${shared_ext}$major'
8916 shlibpath_var
=LD_LIBRARY_PATH
8927 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8928 soname_spec
='${libname}${release}${shared_ext}$major'
8929 shlibpath_var
=LD_LIBRARY_PATH
8930 shlibpath_overrides_runpath
=no
8931 hardcode_into_libs
=yes
8932 dynamic_linker
='GNU ld.so'
8935 freebsd
* | dragonfly
*)
8936 # DragonFly does not have aout. When/if they implement a new
8937 # versioning mechanism, adjust this.
8938 if test -x /usr
/bin
/objformat
; then
8939 objformat
=`/usr/bin/objformat`
8942 freebsd
[123]*) objformat
=aout
;;
8946 version_type
=freebsd-
$objformat
8947 case $version_type in
8949 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8954 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8958 shlibpath_var
=LD_LIBRARY_PATH
8961 shlibpath_overrides_runpath
=yes
8963 freebsd3.
[01]* | freebsdelf3.
[01]*)
8964 shlibpath_overrides_runpath
=yes
8965 hardcode_into_libs
=yes
8967 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8968 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8969 shlibpath_overrides_runpath
=no
8970 hardcode_into_libs
=yes
8972 freebsd
*) # from 4.6 on
8973 shlibpath_overrides_runpath
=yes
8974 hardcode_into_libs
=yes
8983 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8984 soname_spec
='${libname}${release}${shared_ext}$major'
8985 shlibpath_var
=LD_LIBRARY_PATH
8986 hardcode_into_libs
=yes
8989 hpux9
* | hpux10
* | hpux11
*)
8990 # Give a soname corresponding to the major version so that dld.sl refuses to
8991 # link against other versions.
8998 hardcode_into_libs
=yes
8999 dynamic_linker
="$host_os dld.so"
9000 shlibpath_var
=LD_LIBRARY_PATH
9001 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9002 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9003 soname_spec
='${libname}${release}${shared_ext}$major'
9004 if test "X$HPUX_IA64_MODE" = X32
; then
9005 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9007 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9009 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9013 hardcode_into_libs
=yes
9014 dynamic_linker
="$host_os dld.sl"
9015 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9016 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9017 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9018 soname_spec
='${libname}${release}${shared_ext}$major'
9019 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9020 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9024 dynamic_linker
="$host_os dld.sl"
9025 shlibpath_var
=SHLIB_PATH
9026 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9027 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9028 soname_spec
='${libname}${release}${shared_ext}$major'
9031 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9032 postinstall_cmds
='chmod 555 $lib'
9039 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9040 soname_spec
='${libname}${release}${shared_ext}$major'
9041 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9042 shlibpath_var
=LD_LIBRARY_PATH
9043 shlibpath_overrides_runpath
=no
9044 hardcode_into_libs
=yes
9047 irix5
* | irix6
* | nonstopux
*)
9049 nonstopux
*) version_type
=nonstopux
;;
9051 if test "$lt_cv_prog_gnu_ld" = yes; then
9059 soname_spec
='${libname}${release}${shared_ext}$major'
9060 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9062 irix5
* | nonstopux
*)
9066 case $LD in # libtool.m4 will add one of these switches to LD
9067 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9068 libsuff
= shlibsuff
= libmagic
=32-bit;;
9069 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9070 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9071 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9072 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9073 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9077 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9078 shlibpath_overrides_runpath
=no
9079 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9080 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9081 hardcode_into_libs
=yes
9084 # No shared lib support for Linux oldld, aout, or coff.
9085 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9089 # This must be Linux ELF.
9094 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9095 soname_spec
='${libname}${release}${shared_ext}$major'
9096 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9097 shlibpath_var
=LD_LIBRARY_PATH
9098 shlibpath_overrides_runpath
=no
9099 # This implies no fast_install, which is unacceptable.
9100 # Some rework will be needed to allow for fast_install
9101 # before this can be enabled.
9102 hardcode_into_libs
=yes
9104 # Append ld.so.conf contents to the search path
9105 if test -f /etc
/ld.so.conf
; then
9106 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' ' '`
9107 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9110 # We used to test for /lib/ld.so.1 and disable shared libraries on
9111 # powerpc, because MkLinux only supported shared libraries with the
9112 # GNU dynamic linker. Since this was broken with cross compilers,
9113 # most powerpc-linux boxes support dynamic linking these days and
9114 # people can always --disable-shared, the test was removed, and we
9115 # assume the GNU/Linux dynamic linker is in use.
9116 dynamic_linker
='GNU/Linux ld.so'
9123 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9124 soname_spec
='${libname}${release}${shared_ext}$major'
9125 shlibpath_var
=LD_LIBRARY_PATH
9126 shlibpath_overrides_runpath
=no
9127 hardcode_into_libs
=yes
9128 dynamic_linker
='GNU ld.so'
9135 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9136 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9137 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9138 dynamic_linker
='NetBSD (a.out) ld.so'
9140 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9141 soname_spec
='${libname}${release}${shared_ext}$major'
9142 dynamic_linker
='NetBSD ld.elf_so'
9144 shlibpath_var
=LD_LIBRARY_PATH
9145 shlibpath_overrides_runpath
=yes
9146 hardcode_into_libs
=yes
9151 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9152 shlibpath_var
=LD_LIBRARY_PATH
9153 shlibpath_overrides_runpath
=yes
9160 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9161 soname_spec
='${libname}${release}${shared_ext}$major'
9162 shlibpath_var
=LD_LIBRARY_PATH
9163 shlibpath_overrides_runpath
=yes
9168 sys_lib_dlsearch_path_spec
="/usr/lib"
9170 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9172 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9173 *) need_version
=no
;;
9175 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9176 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9177 shlibpath_var
=LD_LIBRARY_PATH
9178 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9180 openbsd2.
[89] | openbsd2.
[89].
*)
9181 shlibpath_overrides_runpath
=no
9184 shlibpath_overrides_runpath
=yes
9188 shlibpath_overrides_runpath
=yes
9193 libname_spec
='$name'
9196 library_names_spec
='$libname${shared_ext} $libname.a'
9197 dynamic_linker
='OS/2 ld.exe'
9198 shlibpath_var
=LIBPATH
9201 osf3
* | osf4
* | osf5
*)
9205 soname_spec
='${libname}${release}${shared_ext}$major'
9206 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9207 shlibpath_var
=LD_LIBRARY_PATH
9208 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9209 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9216 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9217 soname_spec
='${libname}${release}${shared_ext}$major'
9218 shlibpath_var
=LD_LIBRARY_PATH
9219 shlibpath_overrides_runpath
=yes
9220 hardcode_into_libs
=yes
9221 # ldd complains unless libraries are executable
9222 postinstall_cmds
='chmod +x $lib'
9227 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9228 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9229 shlibpath_var
=LD_LIBRARY_PATH
9230 shlibpath_overrides_runpath
=yes
9231 if test "$with_gnu_ld" = yes; then
9239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9240 soname_spec
='${libname}${release}${shared_ext}$major'
9241 shlibpath_var
=LD_LIBRARY_PATH
9242 case $host_vendor in
9244 shlibpath_overrides_runpath
=no
9246 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9247 runpath_var
=LD_RUN_PATH
9255 shlibpath_overrides_runpath
=no
9256 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9262 if test -d /usr
/nec
;then
9264 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9265 soname_spec
='$libname${shared_ext}.$major'
9266 shlibpath_var
=LD_LIBRARY_PATH
9270 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9271 version_type
=freebsd-elf
9274 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9275 soname_spec
='${libname}${release}${shared_ext}$major'
9276 shlibpath_var
=LD_LIBRARY_PATH
9277 hardcode_into_libs
=yes
9278 if test "$with_gnu_ld" = yes; then
9279 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9280 shlibpath_overrides_runpath
=no
9282 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9283 shlibpath_overrides_runpath
=yes
9286 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9290 sys_lib_dlsearch_path_spec
='/usr/lib'
9295 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9296 soname_spec
='${libname}${release}${shared_ext}$major'
9297 shlibpath_var
=LD_LIBRARY_PATH
9304 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9305 echo "${ECHO_T}$dynamic_linker" >&6; }
9306 test "$dynamic_linker" = no
&& can_build_shared
=no
9308 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9309 if test "$GCC" = yes; then
9310 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9314 { echo "$as_me:$LINENO: checking which extension is used for loadable modules" >&5
9315 echo $ECHO_N "checking which extension is used for loadable modules... $ECHO_C" >&6; }
9316 if test "${libltdl_cv_shlibext+set}" = set; then
9317 echo $ECHO_N "(cached) $ECHO_C" >&6
9321 eval libltdl_cv_shlibext
=$shrext_cmds
9324 { echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
9325 echo "${ECHO_T}$libltdl_cv_shlibext" >&6; }
9326 if test -n "$libltdl_cv_shlibext"; then
9328 cat >>confdefs.h
<<_ACEOF
9329 #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
9335 { echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
9336 echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6; }
9337 if test "${libltdl_cv_shlibpath_var+set}" = set; then
9338 echo $ECHO_N "(cached) $ECHO_C" >&6
9340 libltdl_cv_shlibpath_var
="$shlibpath_var"
9342 { echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
9343 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6; }
9344 if test -n "$libltdl_cv_shlibpath_var"; then
9346 cat >>confdefs.h
<<_ACEOF
9347 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
9353 { echo "$as_me:$LINENO: checking for the default library search path" >&5
9354 echo $ECHO_N "checking for the default library search path... $ECHO_C" >&6; }
9355 if test "${libltdl_cv_sys_search_path+set}" = set; then
9356 echo $ECHO_N "(cached) $ECHO_C" >&6
9358 libltdl_cv_sys_search_path
="$sys_lib_dlsearch_path_spec"
9360 { echo "$as_me:$LINENO: result: $libltdl_cv_sys_search_path" >&5
9361 echo "${ECHO_T}$libltdl_cv_sys_search_path" >&6; }
9362 if test -n "$libltdl_cv_sys_search_path"; then
9364 for dir
in $libltdl_cv_sys_search_path; do
9365 if test -z "$sys_search_path"; then
9366 sys_search_path
="$dir"
9368 sys_search_path
="$sys_search_path$PATH_SEPARATOR$dir"
9372 cat >>confdefs.h
<<_ACEOF
9373 #define LTDL_SYSSEARCHPATH "$sys_search_path"
9378 { echo "$as_me:$LINENO: checking for objdir" >&5
9379 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
9380 if test "${libltdl_cv_objdir+set}" = set; then
9381 echo $ECHO_N "(cached) $ECHO_C" >&6
9383 libltdl_cv_objdir
="$objdir"
9384 if test -n "$objdir"; then
9387 rm -f .libs
2>/dev
/null
9388 mkdir .libs
2>/dev
/null
9389 if test -d .libs
; then
9390 libltdl_cv_objdir
=.libs
9392 # MS-DOS does not allow filenames that begin with a dot.
9393 libltdl_cv_objdir
=_libs
9395 rmdir .libs
2>/dev
/null
9399 { echo "$as_me:$LINENO: result: $libltdl_cv_objdir" >&5
9400 echo "${ECHO_T}$libltdl_cv_objdir" >&6; }
9402 cat >>confdefs.h
<<_ACEOF
9403 #define LTDL_OBJDIR "$libltdl_cv_objdir/"
9411 # Check for command to grab the raw symbol name followed by C symbol from nm.
9412 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
9413 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
9414 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
9415 echo $ECHO_N "(cached) $ECHO_C" >&6
9418 # These are sane defaults that work on at least a few old systems.
9419 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9421 # Character class describing NM global symbol codes.
9422 symcode
='[BCDEGRST]'
9424 # Regexp to match symbols that can be accessed directly from C.
9425 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
9427 # Transform an extracted symbol line into a proper C declaration
9428 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
9430 # Transform an extracted symbol line into symbol name and symbol address
9431 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'"
9433 # Define system-specific variables.
9438 cygwin
* | mingw
* | pw32
*)
9439 symcode
='[ABCDGISTW]'
9441 hpux
*) # Its linker distinguishes data from code symbols
9442 if test "$host_cpu" = ia64
; then
9443 symcode
='[ABCDEGRST]'
9445 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9446 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'"
9449 if test "$host_cpu" = ia64
; then
9450 symcode
='[ABCDGIRSTW]'
9451 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9452 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'"
9456 symcode
='[BCDEGRST]'
9459 symcode
='[BCDEGQRST]'
9470 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9478 # Handle CRLF in mingw tool chain
9482 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9486 # If we're using GNU nm, then use its standard symbol codes.
9487 case `$NM -V 2>&1` in
9488 *GNU
* |
*'with BFD'*)
9489 symcode
='[ABCDGIRSTW]' ;;
9492 # Try without a prefix undercore, then with it.
9493 for ac_symprfx
in "" "_"; do
9495 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9496 symxfrm
="\\1 $ac_symprfx\\2 \\2"
9498 # Write the raw and C identifiers.
9499 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9501 # Check to see that the pipe works correctly.
9505 cat > conftest.
$ac_ext <<EOF
9510 void nm_test_func(){}
9514 int main(){nm_test_var='a';nm_test_func();return(0);}
9517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9518 (eval $ac_compile) 2>&5
9520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9521 (exit $ac_status); }; then
9522 # Now try to grab the symbols.
9524 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
9525 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
9527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9528 (exit $ac_status); } && test -s "$nlist"; then
9529 # Try sorting and uniquifying the output.
9530 if sort "$nlist" |
uniq > "$nlist"T
; then
9531 mv -f "$nlist"T
"$nlist"
9536 # Make sure that we snagged all the symbols we need.
9537 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
9538 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
9539 cat <<EOF > conftest.$ac_ext
9545 # Now generate the symbol file.
9546 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
9548 cat <<EOF >> conftest.$ac_ext
9549 #if defined (__STDC__) && __STDC__
9550 # define lt_ptr_t void *
9552 # define lt_ptr_t char *
9556 /* The mapping between symbol names and symbols. */
9561 lt_preloaded_symbols[] =
9564 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
9565 cat <<\EOF
>> conftest.
$ac_ext
9573 # Now try linking the two files.
9574 mv conftest.
$ac_objext conftstm.
$ac_objext
9575 lt_save_LIBS
="$LIBS"
9576 lt_save_CFLAGS
="$CFLAGS"
9577 LIBS
="conftstm.$ac_objext"
9578 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9580 (eval $ac_link) 2>&5
9582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9583 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
9586 LIBS
="$lt_save_LIBS"
9587 CFLAGS
="$lt_save_CFLAGS"
9589 echo "cannot find nm_test_func in $nlist" >&5
9592 echo "cannot find nm_test_var in $nlist" >&5
9595 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9598 echo "$progname: failed program was:" >&5
9599 cat conftest.
$ac_ext >&5
9601 rm -f conftest
* conftst
*
9603 # Do not use the global_symbol_pipe unless it works.
9604 if test "$pipe_works" = yes; then
9607 lt_cv_sys_global_symbol_pipe
=
9613 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9614 lt_cv_sys_global_symbol_to_cdecl
=
9616 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9617 { echo "$as_me:$LINENO: result: failed" >&5
9618 echo "${ECHO_T}failed" >&6; }
9620 { echo "$as_me:$LINENO: result: ok" >&5
9621 echo "${ECHO_T}ok" >&6; }
9625 { echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
9626 echo $ECHO_N "checking whether libtool supports -dlopen/-dlpreopen... $ECHO_C" >&6; }
9627 if test "${libltdl_cv_preloaded_symbols+set}" = set; then
9628 echo $ECHO_N "(cached) $ECHO_C" >&6
9630 if test -n "$lt_cv_sys_global_symbol_pipe"; then
9631 libltdl_cv_preloaded_symbols
=yes
9633 libltdl_cv_preloaded_symbols
=no
9637 { echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
9638 echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6; }
9639 if test x
"$libltdl_cv_preloaded_symbols" = xyes
; then
9641 cat >>confdefs.h
<<\_ACEOF
9642 #define HAVE_PRELOADED_SYMBOLS 1
9650 ac_cpp
='$CPP $CPPFLAGS'
9651 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9652 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9653 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9656 { echo "$as_me:$LINENO: checking for shl_load" >&5
9657 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9658 if test "${ac_cv_func_shl_load+set}" = set; then
9659 echo $ECHO_N "(cached) $ECHO_C" >&6
9661 cat >conftest.
$ac_ext <<_ACEOF
9664 cat confdefs.h
>>conftest.
$ac_ext
9665 cat >>conftest.
$ac_ext <<_ACEOF
9666 /* end confdefs.h. */
9667 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9669 #define shl_load innocuous_shl_load
9671 /* System header to define __stub macros and hopefully few prototypes,
9672 which can conflict with char shl_load (); below.
9673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9674 <limits.h> exists even on freestanding compilers. */
9677 # include <limits.h>
9679 # include <assert.h>
9684 /* Override any GCC internal prototype to avoid an error.
9685 Use char because int might match the return type of a GCC
9686 builtin and then its argument prototype would still apply. */
9691 /* The GNU C library defines this for functions which it implements
9692 to always fail with ENOSYS. Some functions are actually named
9693 something starting with __ and the normal name is an alias. */
9694 #if defined __stub_shl_load || defined __stub___shl_load
9706 rm -f conftest.
$ac_objext conftest
$ac_exeext
9707 if { (ac_try
="$ac_link"
9709 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9710 *) ac_try_echo=$ac_try;;
9712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9713 (eval "$ac_link") 2>conftest.er1
9715 grep -v '^ *+' conftest.er1 >conftest.err
9717 cat conftest.err >&5
9718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9719 (exit $ac_status); } &&
9720 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9721 { (case "(($ac_try" in
9722 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9723 *) ac_try_echo
=$ac_try;;
9725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9726 (eval "$ac_try") 2>&5
9728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9729 (exit $ac_status); }; } &&
9730 { ac_try
='test -s conftest$ac_exeext'
9731 { (case "(($ac_try" in
9732 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9733 *) ac_try_echo=$ac_try;;
9735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9736 (eval "$ac_try") 2>&5
9738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9739 (exit $ac_status); }; }; then
9740 ac_cv_func_shl_load=yes
9742 echo "$as_me: failed program was:" >&5
9743 sed 's/^/| /' conftest.$ac_ext >&5
9745 ac_cv_func_shl_load=no
9748 rm -f core conftest.err conftest.$ac_objext \
9749 conftest$ac_exeext conftest.$ac_ext
9751 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9752 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9753 if test $ac_cv_func_shl_load = yes; then
9755 cat >>confdefs.h <<\_ACEOF
9756 #define HAVE_SHL_LOAD 1
9760 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9761 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9762 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9763 echo $ECHO_N "(cached) $ECHO_C" >&6
9765 ac_check_lib_save_LIBS=$LIBS
9767 cat >conftest.$ac_ext <<_ACEOF
9770 cat confdefs.h >>conftest.$ac_ext
9771 cat >>conftest.$ac_ext <<_ACEOF
9772 /* end confdefs.h. */
9774 /* Override any GCC internal prototype to avoid an error.
9775 Use char because int might match the return type of a GCC
9776 builtin and then its argument prototype would still apply. */
9789 rm -f conftest.$ac_objext conftest$ac_exeext
9790 if { (ac_try="$ac_link"
9792 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9793 *) ac_try_echo
=$ac_try;;
9795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9796 (eval "$ac_link") 2>conftest.er1
9798 grep -v '^ *+' conftest.er1
>conftest.err
9800 cat conftest.err
>&5
9801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9802 (exit $ac_status); } &&
9803 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9804 { (case "(($ac_try" in
9805 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9806 *) ac_try_echo=$ac_try;;
9808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9809 (eval "$ac_try") 2>&5
9811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9812 (exit $ac_status); }; } &&
9813 { ac_try='test -s conftest$ac_exeext'
9814 { (case "(($ac_try" in
9815 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9816 *) ac_try_echo
=$ac_try;;
9818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9819 (eval "$ac_try") 2>&5
9821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9822 (exit $ac_status); }; }; then
9823 ac_cv_lib_dld_shl_load
=yes
9825 echo "$as_me: failed program was:" >&5
9826 sed 's/^/| /' conftest.
$ac_ext >&5
9828 ac_cv_lib_dld_shl_load
=no
9831 rm -f core conftest.err conftest.
$ac_objext \
9832 conftest
$ac_exeext conftest.
$ac_ext
9833 LIBS
=$ac_check_lib_save_LIBS
9835 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9836 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9837 if test $ac_cv_lib_dld_shl_load = yes; then
9839 cat >>confdefs.h
<<\_ACEOF
9840 #define HAVE_SHL_LOAD 1
9843 LIBADD_DL
="$LIBADD_DL -ldld"
9845 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9846 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9847 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9848 echo $ECHO_N "(cached) $ECHO_C" >&6
9850 ac_check_lib_save_LIBS
=$LIBS
9852 cat >conftest.
$ac_ext <<_ACEOF
9855 cat confdefs.h
>>conftest.
$ac_ext
9856 cat >>conftest.
$ac_ext <<_ACEOF
9857 /* end confdefs.h. */
9859 /* Override any GCC internal prototype to avoid an error.
9860 Use char because int might match the return type of a GCC
9861 builtin and then its argument prototype would still apply. */
9874 rm -f conftest.
$ac_objext conftest
$ac_exeext
9875 if { (ac_try
="$ac_link"
9877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9878 *) ac_try_echo=$ac_try;;
9880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9881 (eval "$ac_link") 2>conftest.er1
9883 grep -v '^ *+' conftest.er1 >conftest.err
9885 cat conftest.err >&5
9886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9887 (exit $ac_status); } &&
9888 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9889 { (case "(($ac_try" in
9890 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9891 *) ac_try_echo
=$ac_try;;
9893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9894 (eval "$ac_try") 2>&5
9896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9897 (exit $ac_status); }; } &&
9898 { ac_try
='test -s conftest$ac_exeext'
9899 { (case "(($ac_try" in
9900 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9901 *) ac_try_echo=$ac_try;;
9903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9904 (eval "$ac_try") 2>&5
9906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9907 (exit $ac_status); }; }; then
9908 ac_cv_lib_dl_dlopen=yes
9910 echo "$as_me: failed program was:" >&5
9911 sed 's/^/| /' conftest.$ac_ext >&5
9913 ac_cv_lib_dl_dlopen=no
9916 rm -f core conftest.err conftest.$ac_objext \
9917 conftest$ac_exeext conftest.$ac_ext
9918 LIBS=$ac_check_lib_save_LIBS
9920 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9921 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9922 if test $ac_cv_lib_dl_dlopen = yes; then
9924 cat >>confdefs.h <<\_ACEOF
9925 #define HAVE_LIBDL 1
9928 LIBADD_DL="-ldl" libltdl_cv_lib_dl_dlopen="yes"
9930 cat >conftest.$ac_ext <<_ACEOF
9933 cat confdefs.h >>conftest.$ac_ext
9934 cat >>conftest.$ac_ext <<_ACEOF
9935 /* end confdefs.h. */
9948 rm -f conftest.$ac_objext conftest$ac_exeext
9949 if { (ac_try="$ac_link"
9951 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9952 *) ac_try_echo
=$ac_try;;
9954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9955 (eval "$ac_link") 2>conftest.er1
9957 grep -v '^ *+' conftest.er1
>conftest.err
9959 cat conftest.err
>&5
9960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9961 (exit $ac_status); } &&
9962 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9963 { (case "(($ac_try" in
9964 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9965 *) ac_try_echo=$ac_try;;
9967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9968 (eval "$ac_try") 2>&5
9970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9971 (exit $ac_status); }; } &&
9972 { ac_try='test -s conftest$ac_exeext'
9973 { (case "(($ac_try" in
9974 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9975 *) ac_try_echo
=$ac_try;;
9977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9978 (eval "$ac_try") 2>&5
9980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9981 (exit $ac_status); }; }; then
9983 cat >>confdefs.h
<<\_ACEOF
9984 #define HAVE_LIBDL 1
9986 libltdl_cv_func_dlopen
="yes"
9988 echo "$as_me: failed program was:" >&5
9989 sed 's/^/| /' conftest.
$ac_ext >&5
9991 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9992 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9993 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9994 echo $ECHO_N "(cached) $ECHO_C" >&6
9996 ac_check_lib_save_LIBS
=$LIBS
9998 cat >conftest.
$ac_ext <<_ACEOF
10001 cat confdefs.h
>>conftest.
$ac_ext
10002 cat >>conftest.
$ac_ext <<_ACEOF
10003 /* end confdefs.h. */
10005 /* Override any GCC internal prototype to avoid an error.
10006 Use char because int might match the return type of a GCC
10007 builtin and then its argument prototype would still apply. */
10020 rm -f conftest.
$ac_objext conftest
$ac_exeext
10021 if { (ac_try
="$ac_link"
10022 case "(($ac_try" in
10023 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10024 *) ac_try_echo=$ac_try;;
10026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10027 (eval "$ac_link") 2>conftest.er1
10029 grep -v '^ *+' conftest.er1 >conftest.err
10031 cat conftest.err >&5
10032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10033 (exit $ac_status); } &&
10034 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10035 { (case "(($ac_try" in
10036 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10037 *) ac_try_echo
=$ac_try;;
10039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10040 (eval "$ac_try") 2>&5
10042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10043 (exit $ac_status); }; } &&
10044 { ac_try
='test -s conftest$ac_exeext'
10045 { (case "(($ac_try" in
10046 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10047 *) ac_try_echo=$ac_try;;
10049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10050 (eval "$ac_try") 2>&5
10052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10053 (exit $ac_status); }; }; then
10054 ac_cv_lib_svld_dlopen=yes
10056 echo "$as_me: failed program was:" >&5
10057 sed 's/^/| /' conftest.$ac_ext >&5
10059 ac_cv_lib_svld_dlopen=no
10062 rm -f core conftest.err conftest.$ac_objext \
10063 conftest$ac_exeext conftest.$ac_ext
10064 LIBS=$ac_check_lib_save_LIBS
10066 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10067 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10068 if test $ac_cv_lib_svld_dlopen = yes; then
10070 cat >>confdefs.h <<\_ACEOF
10071 #define HAVE_LIBDL 1
10074 LIBADD_DL="-lsvld" libltdl_cv_func_dlopen="yes"
10076 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10077 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10078 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10079 echo $ECHO_N "(cached) $ECHO_C" >&6
10081 ac_check_lib_save_LIBS=$LIBS
10083 cat >conftest.$ac_ext <<_ACEOF
10086 cat confdefs.h >>conftest.$ac_ext
10087 cat >>conftest.$ac_ext <<_ACEOF
10088 /* end confdefs.h. */
10090 /* Override any GCC internal prototype to avoid an error.
10091 Use char because int might match the return type of a GCC
10092 builtin and then its argument prototype would still apply. */
10100 return dld_link ();
10105 rm -f conftest.$ac_objext conftest$ac_exeext
10106 if { (ac_try="$ac_link"
10107 case "(($ac_try" in
10108 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10109 *) ac_try_echo
=$ac_try;;
10111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10112 (eval "$ac_link") 2>conftest.er1
10114 grep -v '^ *+' conftest.er1
>conftest.err
10116 cat conftest.err
>&5
10117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10118 (exit $ac_status); } &&
10119 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10120 { (case "(($ac_try" in
10121 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10122 *) ac_try_echo=$ac_try;;
10124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10125 (eval "$ac_try") 2>&5
10127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10128 (exit $ac_status); }; } &&
10129 { ac_try='test -s conftest$ac_exeext'
10130 { (case "(($ac_try" in
10131 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10132 *) ac_try_echo
=$ac_try;;
10134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10135 (eval "$ac_try") 2>&5
10137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10138 (exit $ac_status); }; }; then
10139 ac_cv_lib_dld_dld_link
=yes
10141 echo "$as_me: failed program was:" >&5
10142 sed 's/^/| /' conftest.
$ac_ext >&5
10144 ac_cv_lib_dld_dld_link
=no
10147 rm -f core conftest.err conftest.
$ac_objext \
10148 conftest
$ac_exeext conftest.
$ac_ext
10149 LIBS
=$ac_check_lib_save_LIBS
10151 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10152 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10153 if test $ac_cv_lib_dld_dld_link = yes; then
10155 cat >>confdefs.h
<<\_ACEOF
10159 LIBADD_DL
="$LIBADD_DL -ldld"
10161 { echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
10162 echo $ECHO_N "checking for _dyld_func_lookup... $ECHO_C" >&6; }
10163 if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
10164 echo $ECHO_N "(cached) $ECHO_C" >&6
10166 cat >conftest.
$ac_ext <<_ACEOF
10169 cat confdefs.h
>>conftest.
$ac_ext
10170 cat >>conftest.
$ac_ext <<_ACEOF
10171 /* end confdefs.h. */
10172 /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
10173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10174 #define _dyld_func_lookup innocuous__dyld_func_lookup
10176 /* System header to define __stub macros and hopefully few prototypes,
10177 which can conflict with char _dyld_func_lookup (); below.
10178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10179 <limits.h> exists even on freestanding compilers. */
10182 # include <limits.h>
10184 # include <assert.h>
10187 #undef _dyld_func_lookup
10189 /* Override any GCC internal prototype to avoid an error.
10190 Use char because int might match the return type of a GCC
10191 builtin and then its argument prototype would still apply. */
10195 char _dyld_func_lookup ();
10196 /* The GNU C library defines this for functions which it implements
10197 to always fail with ENOSYS. Some functions are actually named
10198 something starting with __ and the normal name is an alias. */
10199 #if defined __stub__dyld_func_lookup || defined __stub____dyld_func_lookup
10206 return _dyld_func_lookup ();
10211 rm -f conftest.
$ac_objext conftest
$ac_exeext
10212 if { (ac_try
="$ac_link"
10213 case "(($ac_try" in
10214 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10215 *) ac_try_echo=$ac_try;;
10217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10218 (eval "$ac_link") 2>conftest.er1
10220 grep -v '^ *+' conftest.er1 >conftest.err
10222 cat conftest.err >&5
10223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10224 (exit $ac_status); } &&
10225 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10226 { (case "(($ac_try" in
10227 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10228 *) ac_try_echo
=$ac_try;;
10230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10231 (eval "$ac_try") 2>&5
10233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10234 (exit $ac_status); }; } &&
10235 { ac_try
='test -s conftest$ac_exeext'
10236 { (case "(($ac_try" in
10237 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10238 *) ac_try_echo=$ac_try;;
10240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10241 (eval "$ac_try") 2>&5
10243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10244 (exit $ac_status); }; }; then
10245 ac_cv_func__dyld_func_lookup=yes
10247 echo "$as_me: failed program was:" >&5
10248 sed 's/^/| /' conftest.$ac_ext >&5
10250 ac_cv_func__dyld_func_lookup=no
10253 rm -f core conftest.err conftest.$ac_objext \
10254 conftest$ac_exeext conftest.$ac_ext
10256 { echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
10257 echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6; }
10258 if test $ac_cv_func__dyld_func_lookup = yes; then
10260 cat >>confdefs.h <<\_ACEOF
10261 #define HAVE_DYLD 1
10275 rm -f core conftest.err conftest.$ac_objext \
10276 conftest$ac_exeext conftest.$ac_ext
10287 if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
10289 lt_save_LIBS="$LIBS"
10290 LIBS="$LIBS $LIBADD_DL"
10292 for ac_func in dlerror
10294 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
10295 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10297 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10298 echo $ECHO_N "(cached) $ECHO_C" >&6
10300 cat >conftest.$ac_ext <<_ACEOF
10303 cat confdefs.h >>conftest.$ac_ext
10304 cat >>conftest.$ac_ext <<_ACEOF
10305 /* end confdefs.h. */
10306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10308 #define $ac_func innocuous_$ac_func
10310 /* System header to define __stub macros and hopefully few prototypes,
10311 which can conflict with char $ac_func (); below.
10312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10313 <limits.h> exists even on freestanding compilers. */
10316 # include <limits.h>
10318 # include <assert.h>
10323 /* Override any GCC internal prototype to avoid an error.
10324 Use char because int might match the return type of a GCC
10325 builtin and then its argument prototype would still apply. */
10330 /* The GNU C library defines this for functions which it implements
10331 to always fail with ENOSYS. Some functions are actually named
10332 something starting with __ and the normal name is an alias. */
10333 #if defined __stub_$ac_func || defined __stub___$ac_func
10340 return $ac_func ();
10345 rm -f conftest.$ac_objext conftest$ac_exeext
10346 if { (ac_try="$ac_link"
10347 case "(($ac_try" in
10348 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10349 *) ac_try_echo
=$ac_try;;
10351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10352 (eval "$ac_link") 2>conftest.er1
10354 grep -v '^ *+' conftest.er1
>conftest.err
10356 cat conftest.err
>&5
10357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10358 (exit $ac_status); } &&
10359 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10360 { (case "(($ac_try" in
10361 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10362 *) ac_try_echo=$ac_try;;
10364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10365 (eval "$ac_try") 2>&5
10367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10368 (exit $ac_status); }; } &&
10369 { ac_try='test -s conftest$ac_exeext'
10370 { (case "(($ac_try" in
10371 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10372 *) ac_try_echo
=$ac_try;;
10374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10375 (eval "$ac_try") 2>&5
10377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10378 (exit $ac_status); }; }; then
10379 eval "$as_ac_var=yes"
10381 echo "$as_me: failed program was:" >&5
10382 sed 's/^/| /' conftest.
$ac_ext >&5
10384 eval "$as_ac_var=no"
10387 rm -f core conftest.err conftest.
$ac_objext \
10388 conftest
$ac_exeext conftest.
$ac_ext
10390 ac_res
=`eval echo '${'$as_ac_var'}'`
10391 { echo "$as_me:$LINENO: result: $ac_res" >&5
10392 echo "${ECHO_T}$ac_res" >&6; }
10393 if test `eval echo '${'$as_ac_var'}'` = yes; then
10394 cat >>confdefs.h
<<_ACEOF
10395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10401 LIBS
="$lt_save_LIBS"
10404 ac_cpp
='$CPP $CPPFLAGS'
10405 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10406 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10407 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10411 { echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
10412 echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6; }
10413 if test "${ac_cv_sys_symbol_underscore+set}" = set; then
10414 echo $ECHO_N "(cached) $ECHO_C" >&6
10416 ac_cv_sys_symbol_underscore
=no
10417 cat > conftest.
$ac_ext <<EOF
10418 void nm_test_func(){}
10419 int main(){nm_test_func;return 0;}
10421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10422 (eval $ac_compile) 2>&5
10424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10425 (exit $ac_status); }; then
10426 # Now try to grab the symbols.
10427 ac_nlist
=conftest.nm
10428 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
10429 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $ac_nlist) 2>&5
10431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10432 (exit $ac_status); } && test -s "$ac_nlist"; then
10433 # See whether the symbols have a leading underscore.
10434 if grep '^. _nm_test_func' "$ac_nlist" >/dev
/null
; then
10435 ac_cv_sys_symbol_underscore
=yes
10437 if grep '^. nm_test_func ' "$ac_nlist" >/dev
/null
; then
10440 echo "configure: cannot find nm_test_func in $ac_nlist" >&5
10444 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
10447 echo "configure: failed program was:" >&5
10453 { echo "$as_me:$LINENO: result: $ac_cv_sys_symbol_underscore" >&5
10454 echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6; }
10457 if test x
"$ac_cv_sys_symbol_underscore" = xyes
; then
10458 if test x
"$libltdl_cv_func_dlopen" = xyes ||
10459 test x
"$libltdl_cv_lib_dl_dlopen" = xyes
; then
10460 { echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
10461 echo $ECHO_N "checking whether we have to add an underscore for dlsym... $ECHO_C" >&6; }
10462 if test "${libltdl_cv_need_uscore+set}" = set; then
10463 echo $ECHO_N "(cached) $ECHO_C" >&6
10465 libltdl_cv_need_uscore
=unknown
10467 LIBS
="$LIBS $LIBADD_DL"
10468 if test "$cross_compiling" = yes; then :
10469 libltdl_cv_need_uscore
=cross
10471 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10472 lt_status
=$lt_dlunknown
10473 cat > conftest.
$ac_ext <<EOF
10474 #line 10474 "configure"
10475 #include "confdefs.h"
10484 # define LT_DLGLOBAL RTLD_GLOBAL
10487 # define LT_DLGLOBAL DL_GLOBAL
10489 # define LT_DLGLOBAL 0
10493 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10494 find out it does not work in some platform. */
10495 #ifndef LT_DLLAZY_OR_NOW
10497 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10500 # define LT_DLLAZY_OR_NOW DL_LAZY
10503 # define LT_DLLAZY_OR_NOW RTLD_NOW
10506 # define LT_DLLAZY_OR_NOW DL_NOW
10508 # define LT_DLLAZY_OR_NOW 0
10516 extern "C" void exit (int);
10519 void fnord() { int i=42;}
10522 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10523 int status = $lt_dlunknown;
10527 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10528 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10529 /* dlclose (self); */
10537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10538 (eval $ac_link) 2>&5
10540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10541 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10542 (.
/conftest
; exit; ) >&5 2>/dev
/null
10544 case x
$lt_status in
10545 x
$lt_dlno_uscore) libltdl_cv_need_uscore
=no
;;
10546 x
$lt_dlneed_uscore) libltdl_cv_need_uscore
=yes ;;
10547 x
$lt_dlunknown|x
*) ;;
10550 # compilation failed
10559 { echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
10560 echo "${ECHO_T}$libltdl_cv_need_uscore" >&6; }
10564 if test x
"$libltdl_cv_need_uscore" = xyes
; then
10566 cat >>confdefs.h
<<\_ACEOF
10567 #define NEED_USCORE 1
10573 { echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
10574 echo $ECHO_N "checking whether deplibs are loaded by dlopen... $ECHO_C" >&6; }
10575 if test "${libltdl_cv_sys_dlopen_deplibs+set}" = set; then
10576 echo $ECHO_N "(cached) $ECHO_C" >&6
10578 # PORTME does your system automatically load deplibs for dlopen?
10579 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
10580 # For now, we just catch OSes we know something about -- in the
10581 # future, we'll try test this programmatically.
10582 libltdl_cv_sys_dlopen_deplibs
=unknown
10584 aix3
*|aix4.1.
*|aix4.2.
*)
10585 # Unknown whether this is true for these versions of AIX, but
10586 # we want this `case' here to explicitly catch those versions.
10587 libltdl_cv_sys_dlopen_deplibs
=unknown
10590 libltdl_cv_sys_dlopen_deplibs
=yes
10593 # Assuming the user has installed a libdl from somewhere, this is true
10594 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
10595 libltdl_cv_sys_dlopen_deplibs
=yes
10597 gnu
* | linux
* | kfreebsd
*-gnu | knetbsd
*-gnu)
10598 # GNU and its variants, using gnu ld.so (Glibc)
10599 libltdl_cv_sys_dlopen_deplibs
=yes
10602 libltdl_cv_sys_dlopen_deplibs
=yes
10605 libltdl_cv_sys_dlopen_deplibs
=yes
10607 irix
[12345]*|irix6.
[01]*)
10608 # Catch all versions of IRIX before 6.2, and indicate that we don't
10609 # know how it worked for any of those versions.
10610 libltdl_cv_sys_dlopen_deplibs
=unknown
10613 # The case above catches anything before 6.2, and it's known that
10614 # at 6.2 and later dlopen does load deplibs.
10615 libltdl_cv_sys_dlopen_deplibs
=yes
10618 libltdl_cv_sys_dlopen_deplibs
=yes
10621 libltdl_cv_sys_dlopen_deplibs
=yes
10624 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
10625 # it did *not* use an RPATH in a shared library to find objects the
10626 # library depends on, so we explicitly say `no'.
10627 libltdl_cv_sys_dlopen_deplibs
=no
10629 osf5.0|osf5.0a|osf5.1
)
10630 # dlopen *does* load deplibs and with the right loader patch applied
10631 # it even uses RPATH in a shared library to search for shared objects
10632 # that the library depends on, but there's no easy way to know if that
10633 # patch is installed. Since this is the case, all we can really
10634 # say is unknown -- it depends on the patch being installed. If
10635 # it is, this changes to `yes'. Without it, it would be `no'.
10636 libltdl_cv_sys_dlopen_deplibs
=unknown
10639 # the two cases above should catch all versions of osf <= 5.1. Read
10640 # the comments above for what we know about them.
10641 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
10642 # is used to find them so we can finally say `yes'.
10643 libltdl_cv_sys_dlopen_deplibs
=yes
10646 libltdl_cv_sys_dlopen_deplibs
=yes
10648 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10649 libltdl_cv_sys_dlopen_deplibs
=yes
10654 { echo "$as_me:$LINENO: result: $libltdl_cv_sys_dlopen_deplibs" >&5
10655 echo "${ECHO_T}$libltdl_cv_sys_dlopen_deplibs" >&6; }
10656 if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
10658 cat >>confdefs.h
<<\_ACEOF
10659 #define LTDL_DLOPEN_DEPLIBS 1
10665 for ac_header
in argz.h
10667 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10668 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10669 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10670 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10671 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10672 echo $ECHO_N "(cached) $ECHO_C" >&6
10674 ac_res
=`eval echo '${'$as_ac_Header'}'`
10675 { echo "$as_me:$LINENO: result: $ac_res" >&5
10676 echo "${ECHO_T}$ac_res" >&6; }
10678 # Is the header compilable?
10679 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10680 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10681 cat >conftest.
$ac_ext <<_ACEOF
10684 cat confdefs.h
>>conftest.
$ac_ext
10685 cat >>conftest.
$ac_ext <<_ACEOF
10686 /* end confdefs.h. */
10687 $ac_includes_default
10688 #include <$ac_header>
10690 rm -f conftest.
$ac_objext
10691 if { (ac_try
="$ac_compile"
10692 case "(($ac_try" in
10693 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10694 *) ac_try_echo=$ac_try;;
10696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10697 (eval "$ac_compile") 2>conftest.er1
10699 grep -v '^ *+' conftest.er1 >conftest.err
10701 cat conftest.err >&5
10702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10703 (exit $ac_status); } &&
10704 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10705 { (case "(($ac_try" in
10706 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10707 *) ac_try_echo
=$ac_try;;
10709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10710 (eval "$ac_try") 2>&5
10712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10713 (exit $ac_status); }; } &&
10714 { ac_try
='test -s conftest.$ac_objext'
10715 { (case "(($ac_try" in
10716 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10717 *) ac_try_echo=$ac_try;;
10719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10720 (eval "$ac_try") 2>&5
10722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10723 (exit $ac_status); }; }; then
10724 ac_header_compiler=yes
10726 echo "$as_me: failed program was:" >&5
10727 sed 's/^/| /' conftest.$ac_ext >&5
10729 ac_header_compiler=no
10732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10733 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10734 echo "${ECHO_T}$ac_header_compiler" >&6; }
10736 # Is the header present?
10737 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10738 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10739 cat >conftest.$ac_ext <<_ACEOF
10742 cat confdefs.h >>conftest.$ac_ext
10743 cat >>conftest.$ac_ext <<_ACEOF
10744 /* end confdefs.h. */
10745 #include <$ac_header>
10747 if { (ac_try="$ac_cpp conftest.$ac_ext"
10748 case "(($ac_try" in
10749 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10750 *) ac_try_echo
=$ac_try;;
10752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10753 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10755 grep -v '^ *+' conftest.er1
>conftest.err
10757 cat conftest.err
>&5
10758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10759 (exit $ac_status); } >/dev
/null
; then
10760 if test -s conftest.err
; then
10761 ac_cpp_err
=$ac_c_preproc_warn_flag
10762 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10769 if test -z "$ac_cpp_err"; then
10770 ac_header_preproc
=yes
10772 echo "$as_me: failed program was:" >&5
10773 sed 's/^/| /' conftest.
$ac_ext >&5
10775 ac_header_preproc
=no
10778 rm -f conftest.err conftest.
$ac_ext
10779 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10780 echo "${ECHO_T}$ac_header_preproc" >&6; }
10782 # So? What about this header?
10783 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10785 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10786 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10787 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10788 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10789 ac_header_preproc
=yes
10792 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10793 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10794 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10795 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10796 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10797 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10798 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10799 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10800 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10801 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10802 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10803 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10805 ## ----------------------------------- ##
10806 ## Report this to llvmbugs@cs.uiuc.edu ##
10807 ## ----------------------------------- ##
10809 ) |
sed "s/^/$as_me: WARNING: /" >&2
10812 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10813 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10814 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10815 echo $ECHO_N "(cached) $ECHO_C" >&6
10817 eval "$as_ac_Header=\$ac_header_preproc"
10819 ac_res
=`eval echo '${'$as_ac_Header'}'`
10820 { echo "$as_me:$LINENO: result: $ac_res" >&5
10821 echo "${ECHO_T}$ac_res" >&6; }
10824 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10825 cat >>confdefs.h
<<_ACEOF
10826 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10834 { echo "$as_me:$LINENO: checking for error_t" >&5
10835 echo $ECHO_N "checking for error_t... $ECHO_C" >&6; }
10836 if test "${ac_cv_type_error_t+set}" = set; then
10837 echo $ECHO_N "(cached) $ECHO_C" >&6
10839 cat >conftest.
$ac_ext <<_ACEOF
10842 cat confdefs.h
>>conftest.
$ac_ext
10843 cat >>conftest.
$ac_ext <<_ACEOF
10844 /* end confdefs.h. */
10849 typedef error_t ac__type_new_;
10853 if ((ac__type_new_ *) 0)
10855 if (sizeof (ac__type_new_))
10861 rm -f conftest.
$ac_objext
10862 if { (ac_try
="$ac_compile"
10863 case "(($ac_try" in
10864 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10865 *) ac_try_echo=$ac_try;;
10867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10868 (eval "$ac_compile") 2>conftest.er1
10870 grep -v '^ *+' conftest.er1 >conftest.err
10872 cat conftest.err >&5
10873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10874 (exit $ac_status); } &&
10875 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10876 { (case "(($ac_try" in
10877 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10878 *) ac_try_echo
=$ac_try;;
10880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10881 (eval "$ac_try") 2>&5
10883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10884 (exit $ac_status); }; } &&
10885 { ac_try
='test -s conftest.$ac_objext'
10886 { (case "(($ac_try" in
10887 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10888 *) ac_try_echo=$ac_try;;
10890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10891 (eval "$ac_try") 2>&5
10893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10894 (exit $ac_status); }; }; then
10895 ac_cv_type_error_t=yes
10897 echo "$as_me: failed program was:" >&5
10898 sed 's/^/| /' conftest.$ac_ext >&5
10900 ac_cv_type_error_t=no
10903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10905 { echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
10906 echo "${ECHO_T}$ac_cv_type_error_t" >&6; }
10907 if test $ac_cv_type_error_t = yes; then
10909 cat >>confdefs.h <<_ACEOF
10910 #define HAVE_ERROR_T 1
10916 cat >>confdefs.h <<\_ACEOF
10917 #define error_t int
10928 for ac_func in argz_append argz_create_sep argz_insert argz_next argz_stringify
10930 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
10931 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10933 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10934 echo $ECHO_N "(cached) $ECHO_C" >&6
10936 cat >conftest.$ac_ext <<_ACEOF
10939 cat confdefs.h >>conftest.$ac_ext
10940 cat >>conftest.$ac_ext <<_ACEOF
10941 /* end confdefs.h. */
10942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10944 #define $ac_func innocuous_$ac_func
10946 /* System header to define __stub macros and hopefully few prototypes,
10947 which can conflict with char $ac_func (); below.
10948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10949 <limits.h> exists even on freestanding compilers. */
10952 # include <limits.h>
10954 # include <assert.h>
10959 /* Override any GCC internal prototype to avoid an error.
10960 Use char because int might match the return type of a GCC
10961 builtin and then its argument prototype would still apply. */
10966 /* The GNU C library defines this for functions which it implements
10967 to always fail with ENOSYS. Some functions are actually named
10968 something starting with __ and the normal name is an alias. */
10969 #if defined __stub_$ac_func || defined __stub___$ac_func
10976 return $ac_func ();
10981 rm -f conftest.$ac_objext conftest$ac_exeext
10982 if { (ac_try="$ac_link"
10983 case "(($ac_try" in
10984 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10985 *) ac_try_echo
=$ac_try;;
10987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10988 (eval "$ac_link") 2>conftest.er1
10990 grep -v '^ *+' conftest.er1
>conftest.err
10992 cat conftest.err
>&5
10993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10994 (exit $ac_status); } &&
10995 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10996 { (case "(($ac_try" in
10997 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10998 *) ac_try_echo=$ac_try;;
11000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11001 (eval "$ac_try") 2>&5
11003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11004 (exit $ac_status); }; } &&
11005 { ac_try='test -s conftest$ac_exeext'
11006 { (case "(($ac_try" in
11007 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11008 *) ac_try_echo
=$ac_try;;
11010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11011 (eval "$ac_try") 2>&5
11013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11014 (exit $ac_status); }; }; then
11015 eval "$as_ac_var=yes"
11017 echo "$as_me: failed program was:" >&5
11018 sed 's/^/| /' conftest.
$ac_ext >&5
11020 eval "$as_ac_var=no"
11023 rm -f core conftest.err conftest.
$ac_objext \
11024 conftest
$ac_exeext conftest.
$ac_ext
11026 ac_res
=`eval echo '${'$as_ac_var'}'`
11027 { echo "$as_me:$LINENO: result: $ac_res" >&5
11028 echo "${ECHO_T}$ac_res" >&6; }
11029 if test `eval echo '${'$as_ac_var'}'` = yes; then
11030 cat >>confdefs.h
<<_ACEOF
11031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11064 for ac_header
in assert.h ctype.h errno.h malloc.h memory.h stdlib.h \
11067 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11068 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11069 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11071 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11072 echo $ECHO_N "(cached) $ECHO_C" >&6
11074 ac_res
=`eval echo '${'$as_ac_Header'}'`
11075 { echo "$as_me:$LINENO: result: $ac_res" >&5
11076 echo "${ECHO_T}$ac_res" >&6; }
11078 # Is the header compilable?
11079 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11080 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11081 cat >conftest.
$ac_ext <<_ACEOF
11084 cat confdefs.h
>>conftest.
$ac_ext
11085 cat >>conftest.
$ac_ext <<_ACEOF
11086 /* end confdefs.h. */
11087 $ac_includes_default
11088 #include <$ac_header>
11090 rm -f conftest.
$ac_objext
11091 if { (ac_try
="$ac_compile"
11092 case "(($ac_try" in
11093 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11094 *) ac_try_echo=$ac_try;;
11096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11097 (eval "$ac_compile") 2>conftest.er1
11099 grep -v '^ *+' conftest.er1 >conftest.err
11101 cat conftest.err >&5
11102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11103 (exit $ac_status); } &&
11104 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11105 { (case "(($ac_try" in
11106 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11107 *) ac_try_echo
=$ac_try;;
11109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11110 (eval "$ac_try") 2>&5
11112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11113 (exit $ac_status); }; } &&
11114 { ac_try
='test -s conftest.$ac_objext'
11115 { (case "(($ac_try" in
11116 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11117 *) ac_try_echo=$ac_try;;
11119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11120 (eval "$ac_try") 2>&5
11122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11123 (exit $ac_status); }; }; then
11124 ac_header_compiler=yes
11126 echo "$as_me: failed program was:" >&5
11127 sed 's/^/| /' conftest.$ac_ext >&5
11129 ac_header_compiler=no
11132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11133 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11134 echo "${ECHO_T}$ac_header_compiler" >&6; }
11136 # Is the header present?
11137 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11138 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11139 cat >conftest.$ac_ext <<_ACEOF
11142 cat confdefs.h >>conftest.$ac_ext
11143 cat >>conftest.$ac_ext <<_ACEOF
11144 /* end confdefs.h. */
11145 #include <$ac_header>
11147 if { (ac_try="$ac_cpp conftest.$ac_ext"
11148 case "(($ac_try" in
11149 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11150 *) ac_try_echo
=$ac_try;;
11152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11153 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11155 grep -v '^ *+' conftest.er1
>conftest.err
11157 cat conftest.err
>&5
11158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11159 (exit $ac_status); } >/dev
/null
; then
11160 if test -s conftest.err
; then
11161 ac_cpp_err
=$ac_c_preproc_warn_flag
11162 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11169 if test -z "$ac_cpp_err"; then
11170 ac_header_preproc
=yes
11172 echo "$as_me: failed program was:" >&5
11173 sed 's/^/| /' conftest.
$ac_ext >&5
11175 ac_header_preproc
=no
11178 rm -f conftest.err conftest.
$ac_ext
11179 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11180 echo "${ECHO_T}$ac_header_preproc" >&6; }
11182 # So? What about this header?
11183 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11185 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11186 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11187 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11188 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11189 ac_header_preproc
=yes
11192 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11193 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11194 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11195 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11196 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11197 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11198 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11199 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11200 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11201 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11202 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11203 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11205 ## ----------------------------------- ##
11206 ## Report this to llvmbugs@cs.uiuc.edu ##
11207 ## ----------------------------------- ##
11209 ) |
sed "s/^/$as_me: WARNING: /" >&2
11212 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11213 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11214 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11215 echo $ECHO_N "(cached) $ECHO_C" >&6
11217 eval "$as_ac_Header=\$ac_header_preproc"
11219 ac_res
=`eval echo '${'$as_ac_Header'}'`
11220 { echo "$as_me:$LINENO: result: $ac_res" >&5
11221 echo "${ECHO_T}$ac_res" >&6; }
11224 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11225 cat >>confdefs.h
<<_ACEOF
11226 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11237 for ac_header
in dl.h sys
/dl.h dld.h mach-o
/dyld.h
11239 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11240 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11241 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11242 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11243 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11244 echo $ECHO_N "(cached) $ECHO_C" >&6
11246 ac_res
=`eval echo '${'$as_ac_Header'}'`
11247 { echo "$as_me:$LINENO: result: $ac_res" >&5
11248 echo "${ECHO_T}$ac_res" >&6; }
11250 # Is the header compilable?
11251 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11252 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11253 cat >conftest.
$ac_ext <<_ACEOF
11256 cat confdefs.h
>>conftest.
$ac_ext
11257 cat >>conftest.
$ac_ext <<_ACEOF
11258 /* end confdefs.h. */
11259 $ac_includes_default
11260 #include <$ac_header>
11262 rm -f conftest.
$ac_objext
11263 if { (ac_try
="$ac_compile"
11264 case "(($ac_try" in
11265 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11266 *) ac_try_echo=$ac_try;;
11268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11269 (eval "$ac_compile") 2>conftest.er1
11271 grep -v '^ *+' conftest.er1 >conftest.err
11273 cat conftest.err >&5
11274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11275 (exit $ac_status); } &&
11276 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11277 { (case "(($ac_try" in
11278 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11279 *) ac_try_echo
=$ac_try;;
11281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11282 (eval "$ac_try") 2>&5
11284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11285 (exit $ac_status); }; } &&
11286 { ac_try
='test -s conftest.$ac_objext'
11287 { (case "(($ac_try" in
11288 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11289 *) ac_try_echo=$ac_try;;
11291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11292 (eval "$ac_try") 2>&5
11294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11295 (exit $ac_status); }; }; then
11296 ac_header_compiler=yes
11298 echo "$as_me: failed program was:" >&5
11299 sed 's/^/| /' conftest.$ac_ext >&5
11301 ac_header_compiler=no
11304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11305 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11306 echo "${ECHO_T}$ac_header_compiler" >&6; }
11308 # Is the header present?
11309 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11310 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11311 cat >conftest.$ac_ext <<_ACEOF
11314 cat confdefs.h >>conftest.$ac_ext
11315 cat >>conftest.$ac_ext <<_ACEOF
11316 /* end confdefs.h. */
11317 #include <$ac_header>
11319 if { (ac_try="$ac_cpp conftest.$ac_ext"
11320 case "(($ac_try" in
11321 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11322 *) ac_try_echo
=$ac_try;;
11324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11325 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11327 grep -v '^ *+' conftest.er1
>conftest.err
11329 cat conftest.err
>&5
11330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11331 (exit $ac_status); } >/dev
/null
; then
11332 if test -s conftest.err
; then
11333 ac_cpp_err
=$ac_c_preproc_warn_flag
11334 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11341 if test -z "$ac_cpp_err"; then
11342 ac_header_preproc
=yes
11344 echo "$as_me: failed program was:" >&5
11345 sed 's/^/| /' conftest.
$ac_ext >&5
11347 ac_header_preproc
=no
11350 rm -f conftest.err conftest.
$ac_ext
11351 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11352 echo "${ECHO_T}$ac_header_preproc" >&6; }
11354 # So? What about this header?
11355 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11357 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11358 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11359 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11360 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11361 ac_header_preproc
=yes
11364 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11365 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11366 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11367 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11368 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11369 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11370 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11371 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11372 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11373 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11374 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11375 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11377 ## ----------------------------------- ##
11378 ## Report this to llvmbugs@cs.uiuc.edu ##
11379 ## ----------------------------------- ##
11381 ) |
sed "s/^/$as_me: WARNING: /" >&2
11384 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11385 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11386 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11387 echo $ECHO_N "(cached) $ECHO_C" >&6
11389 eval "$as_ac_Header=\$ac_header_preproc"
11391 ac_res
=`eval echo '${'$as_ac_Header'}'`
11392 { echo "$as_me:$LINENO: result: $ac_res" >&5
11393 echo "${ECHO_T}$ac_res" >&6; }
11396 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11397 cat >>confdefs.h
<<_ACEOF
11398 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11407 for ac_header
in string.h
strings.h
11409 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11410 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11411 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11412 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11413 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11414 echo $ECHO_N "(cached) $ECHO_C" >&6
11416 ac_res
=`eval echo '${'$as_ac_Header'}'`
11417 { echo "$as_me:$LINENO: result: $ac_res" >&5
11418 echo "${ECHO_T}$ac_res" >&6; }
11420 # Is the header compilable?
11421 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11422 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11423 cat >conftest.
$ac_ext <<_ACEOF
11426 cat confdefs.h
>>conftest.
$ac_ext
11427 cat >>conftest.
$ac_ext <<_ACEOF
11428 /* end confdefs.h. */
11429 $ac_includes_default
11430 #include <$ac_header>
11432 rm -f conftest.
$ac_objext
11433 if { (ac_try
="$ac_compile"
11434 case "(($ac_try" in
11435 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11436 *) ac_try_echo=$ac_try;;
11438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11439 (eval "$ac_compile") 2>conftest.er1
11441 grep -v '^ *+' conftest.er1 >conftest.err
11443 cat conftest.err >&5
11444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11445 (exit $ac_status); } &&
11446 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11447 { (case "(($ac_try" in
11448 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11449 *) ac_try_echo
=$ac_try;;
11451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11452 (eval "$ac_try") 2>&5
11454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11455 (exit $ac_status); }; } &&
11456 { ac_try
='test -s conftest.$ac_objext'
11457 { (case "(($ac_try" in
11458 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11459 *) ac_try_echo=$ac_try;;
11461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11462 (eval "$ac_try") 2>&5
11464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11465 (exit $ac_status); }; }; then
11466 ac_header_compiler=yes
11468 echo "$as_me: failed program was:" >&5
11469 sed 's/^/| /' conftest.$ac_ext >&5
11471 ac_header_compiler=no
11474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11475 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11476 echo "${ECHO_T}$ac_header_compiler" >&6; }
11478 # Is the header present?
11479 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11480 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11481 cat >conftest.$ac_ext <<_ACEOF
11484 cat confdefs.h >>conftest.$ac_ext
11485 cat >>conftest.$ac_ext <<_ACEOF
11486 /* end confdefs.h. */
11487 #include <$ac_header>
11489 if { (ac_try="$ac_cpp conftest.$ac_ext"
11490 case "(($ac_try" in
11491 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11492 *) ac_try_echo
=$ac_try;;
11494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11495 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11497 grep -v '^ *+' conftest.er1
>conftest.err
11499 cat conftest.err
>&5
11500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11501 (exit $ac_status); } >/dev
/null
; then
11502 if test -s conftest.err
; then
11503 ac_cpp_err
=$ac_c_preproc_warn_flag
11504 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11511 if test -z "$ac_cpp_err"; then
11512 ac_header_preproc
=yes
11514 echo "$as_me: failed program was:" >&5
11515 sed 's/^/| /' conftest.
$ac_ext >&5
11517 ac_header_preproc
=no
11520 rm -f conftest.err conftest.
$ac_ext
11521 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11522 echo "${ECHO_T}$ac_header_preproc" >&6; }
11524 # So? What about this header?
11525 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11527 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11528 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11529 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11530 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11531 ac_header_preproc
=yes
11534 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11535 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11536 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11537 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11538 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11539 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11540 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11541 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11543 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11544 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11545 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11547 ## ----------------------------------- ##
11548 ## Report this to llvmbugs@cs.uiuc.edu ##
11549 ## ----------------------------------- ##
11551 ) |
sed "s/^/$as_me: WARNING: /" >&2
11554 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11555 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11556 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11557 echo $ECHO_N "(cached) $ECHO_C" >&6
11559 eval "$as_ac_Header=\$ac_header_preproc"
11561 ac_res
=`eval echo '${'$as_ac_Header'}'`
11562 { echo "$as_me:$LINENO: result: $ac_res" >&5
11563 echo "${ECHO_T}$ac_res" >&6; }
11566 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11567 cat >>confdefs.h
<<_ACEOF
11568 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11578 for ac_func
in strchr index
11580 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11581 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11583 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11584 echo $ECHO_N "(cached) $ECHO_C" >&6
11586 cat >conftest.
$ac_ext <<_ACEOF
11589 cat confdefs.h
>>conftest.
$ac_ext
11590 cat >>conftest.
$ac_ext <<_ACEOF
11591 /* end confdefs.h. */
11592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11594 #define $ac_func innocuous_$ac_func
11596 /* System header to define __stub macros and hopefully few prototypes,
11597 which can conflict with char $ac_func (); below.
11598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11599 <limits.h> exists even on freestanding compilers. */
11602 # include <limits.h>
11604 # include <assert.h>
11609 /* Override any GCC internal prototype to avoid an error.
11610 Use char because int might match the return type of a GCC
11611 builtin and then its argument prototype would still apply. */
11616 /* The GNU C library defines this for functions which it implements
11617 to always fail with ENOSYS. Some functions are actually named
11618 something starting with __ and the normal name is an alias. */
11619 #if defined __stub_$ac_func || defined __stub___$ac_func
11626 return $ac_func ();
11631 rm -f conftest.
$ac_objext conftest
$ac_exeext
11632 if { (ac_try
="$ac_link"
11633 case "(($ac_try" in
11634 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11635 *) ac_try_echo=$ac_try;;
11637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11638 (eval "$ac_link") 2>conftest.er1
11640 grep -v '^ *+' conftest.er1 >conftest.err
11642 cat conftest.err >&5
11643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11644 (exit $ac_status); } &&
11645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11646 { (case "(($ac_try" in
11647 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11648 *) ac_try_echo
=$ac_try;;
11650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11651 (eval "$ac_try") 2>&5
11653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11654 (exit $ac_status); }; } &&
11655 { ac_try
='test -s conftest$ac_exeext'
11656 { (case "(($ac_try" in
11657 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11658 *) ac_try_echo=$ac_try;;
11660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11661 (eval "$ac_try") 2>&5
11663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11664 (exit $ac_status); }; }; then
11665 eval "$as_ac_var=yes"
11667 echo "$as_me: failed program was:" >&5
11668 sed 's/^/| /' conftest.$ac_ext >&5
11670 eval "$as_ac_var=no"
11673 rm -f core conftest.err conftest.$ac_objext \
11674 conftest$ac_exeext conftest.$ac_ext
11676 ac_res=`eval echo '${'$as_ac_var'}'`
11677 { echo "$as_me:$LINENO: result: $ac_res" >&5
11678 echo "${ECHO_T}$ac_res" >&6; }
11679 if test `eval echo '${'$as_ac_var'}'` = yes; then
11680 cat >>confdefs.h <<_ACEOF
11681 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
11689 for ac_func in strrchr rindex
11691 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
11692 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11694 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11695 echo $ECHO_N "(cached) $ECHO_C" >&6
11697 cat >conftest.$ac_ext <<_ACEOF
11700 cat confdefs.h >>conftest.$ac_ext
11701 cat >>conftest.$ac_ext <<_ACEOF
11702 /* end confdefs.h. */
11703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11705 #define $ac_func innocuous_$ac_func
11707 /* System header to define __stub macros and hopefully few prototypes,
11708 which can conflict with char $ac_func (); below.
11709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11710 <limits.h> exists even on freestanding compilers. */
11713 # include <limits.h>
11715 # include <assert.h>
11720 /* Override any GCC internal prototype to avoid an error.
11721 Use char because int might match the return type of a GCC
11722 builtin and then its argument prototype would still apply. */
11727 /* The GNU C library defines this for functions which it implements
11728 to always fail with ENOSYS. Some functions are actually named
11729 something starting with __ and the normal name is an alias. */
11730 #if defined __stub_$ac_func || defined __stub___$ac_func
11737 return $ac_func ();
11742 rm -f conftest.$ac_objext conftest$ac_exeext
11743 if { (ac_try="$ac_link"
11744 case "(($ac_try" in
11745 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11746 *) ac_try_echo
=$ac_try;;
11748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11749 (eval "$ac_link") 2>conftest.er1
11751 grep -v '^ *+' conftest.er1
>conftest.err
11753 cat conftest.err
>&5
11754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11755 (exit $ac_status); } &&
11756 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11757 { (case "(($ac_try" in
11758 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11759 *) ac_try_echo=$ac_try;;
11761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11762 (eval "$ac_try") 2>&5
11764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11765 (exit $ac_status); }; } &&
11766 { ac_try='test -s conftest$ac_exeext'
11767 { (case "(($ac_try" in
11768 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11769 *) ac_try_echo
=$ac_try;;
11771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11772 (eval "$ac_try") 2>&5
11774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11775 (exit $ac_status); }; }; then
11776 eval "$as_ac_var=yes"
11778 echo "$as_me: failed program was:" >&5
11779 sed 's/^/| /' conftest.
$ac_ext >&5
11781 eval "$as_ac_var=no"
11784 rm -f core conftest.err conftest.
$ac_objext \
11785 conftest
$ac_exeext conftest.
$ac_ext
11787 ac_res
=`eval echo '${'$as_ac_var'}'`
11788 { echo "$as_me:$LINENO: result: $ac_res" >&5
11789 echo "${ECHO_T}$ac_res" >&6; }
11790 if test `eval echo '${'$as_ac_var'}'` = yes; then
11791 cat >>confdefs.h
<<_ACEOF
11792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11800 for ac_func
in memcpy bcopy
11802 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11803 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11805 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11806 echo $ECHO_N "(cached) $ECHO_C" >&6
11808 cat >conftest.
$ac_ext <<_ACEOF
11811 cat confdefs.h
>>conftest.
$ac_ext
11812 cat >>conftest.
$ac_ext <<_ACEOF
11813 /* end confdefs.h. */
11814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11816 #define $ac_func innocuous_$ac_func
11818 /* System header to define __stub macros and hopefully few prototypes,
11819 which can conflict with char $ac_func (); below.
11820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11821 <limits.h> exists even on freestanding compilers. */
11824 # include <limits.h>
11826 # include <assert.h>
11831 /* Override any GCC internal prototype to avoid an error.
11832 Use char because int might match the return type of a GCC
11833 builtin and then its argument prototype would still apply. */
11838 /* The GNU C library defines this for functions which it implements
11839 to always fail with ENOSYS. Some functions are actually named
11840 something starting with __ and the normal name is an alias. */
11841 #if defined __stub_$ac_func || defined __stub___$ac_func
11848 return $ac_func ();
11853 rm -f conftest.
$ac_objext conftest
$ac_exeext
11854 if { (ac_try
="$ac_link"
11855 case "(($ac_try" in
11856 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11857 *) ac_try_echo=$ac_try;;
11859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11860 (eval "$ac_link") 2>conftest.er1
11862 grep -v '^ *+' conftest.er1 >conftest.err
11864 cat conftest.err >&5
11865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11866 (exit $ac_status); } &&
11867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11868 { (case "(($ac_try" in
11869 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11870 *) ac_try_echo
=$ac_try;;
11872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11873 (eval "$ac_try") 2>&5
11875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11876 (exit $ac_status); }; } &&
11877 { ac_try
='test -s conftest$ac_exeext'
11878 { (case "(($ac_try" in
11879 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11880 *) ac_try_echo=$ac_try;;
11882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11883 (eval "$ac_try") 2>&5
11885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11886 (exit $ac_status); }; }; then
11887 eval "$as_ac_var=yes"
11889 echo "$as_me: failed program was:" >&5
11890 sed 's/^/| /' conftest.$ac_ext >&5
11892 eval "$as_ac_var=no"
11895 rm -f core conftest.err conftest.$ac_objext \
11896 conftest$ac_exeext conftest.$ac_ext
11898 ac_res=`eval echo '${'$as_ac_var'}'`
11899 { echo "$as_me:$LINENO: result: $ac_res" >&5
11900 echo "${ECHO_T}$ac_res" >&6; }
11901 if test `eval echo '${'$as_ac_var'}'` = yes; then
11902 cat >>confdefs.h <<_ACEOF
11903 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
11911 for ac_func in memmove strcmp
11913 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
11914 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11916 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11917 echo $ECHO_N "(cached) $ECHO_C" >&6
11919 cat >conftest.$ac_ext <<_ACEOF
11922 cat confdefs.h >>conftest.$ac_ext
11923 cat >>conftest.$ac_ext <<_ACEOF
11924 /* end confdefs.h. */
11925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11927 #define $ac_func innocuous_$ac_func
11929 /* System header to define __stub macros and hopefully few prototypes,
11930 which can conflict with char $ac_func (); below.
11931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11932 <limits.h> exists even on freestanding compilers. */
11935 # include <limits.h>
11937 # include <assert.h>
11942 /* Override any GCC internal prototype to avoid an error.
11943 Use char because int might match the return type of a GCC
11944 builtin and then its argument prototype would still apply. */
11949 /* The GNU C library defines this for functions which it implements
11950 to always fail with ENOSYS. Some functions are actually named
11951 something starting with __ and the normal name is an alias. */
11952 #if defined __stub_$ac_func || defined __stub___$ac_func
11959 return $ac_func ();
11964 rm -f conftest.$ac_objext conftest$ac_exeext
11965 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
11973 grep -v '^ *+' conftest.er1
>conftest.err
11975 cat conftest.err
>&5
11976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11977 (exit $ac_status); } &&
11978 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11979 { (case "(($ac_try" in
11980 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11981 *) ac_try_echo=$ac_try;;
11983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11984 (eval "$ac_try") 2>&5
11986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11987 (exit $ac_status); }; } &&
11988 { ac_try='test -s conftest$ac_exeext'
11989 { (case "(($ac_try" in
11990 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11991 *) ac_try_echo
=$ac_try;;
11993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11994 (eval "$ac_try") 2>&5
11996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11997 (exit $ac_status); }; }; then
11998 eval "$as_ac_var=yes"
12000 echo "$as_me: failed program was:" >&5
12001 sed 's/^/| /' conftest.
$ac_ext >&5
12003 eval "$as_ac_var=no"
12006 rm -f core conftest.err conftest.
$ac_objext \
12007 conftest
$ac_exeext conftest.
$ac_ext
12009 ac_res
=`eval echo '${'$as_ac_var'}'`
12010 { echo "$as_me:$LINENO: result: $ac_res" >&5
12011 echo "${ECHO_T}$ac_res" >&6; }
12012 if test `eval echo '${'$as_ac_var'}'` = yes; then
12013 cat >>confdefs.h
<<_ACEOF
12014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12023 for ac_func
in closedir opendir readdir
12025 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12026 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12028 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12029 echo $ECHO_N "(cached) $ECHO_C" >&6
12031 cat >conftest.
$ac_ext <<_ACEOF
12034 cat confdefs.h
>>conftest.
$ac_ext
12035 cat >>conftest.
$ac_ext <<_ACEOF
12036 /* end confdefs.h. */
12037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12039 #define $ac_func innocuous_$ac_func
12041 /* System header to define __stub macros and hopefully few prototypes,
12042 which can conflict with char $ac_func (); below.
12043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12044 <limits.h> exists even on freestanding compilers. */
12047 # include <limits.h>
12049 # include <assert.h>
12054 /* Override any GCC internal prototype to avoid an error.
12055 Use char because int might match the return type of a GCC
12056 builtin and then its argument prototype would still apply. */
12061 /* The GNU C library defines this for functions which it implements
12062 to always fail with ENOSYS. Some functions are actually named
12063 something starting with __ and the normal name is an alias. */
12064 #if defined __stub_$ac_func || defined __stub___$ac_func
12071 return $ac_func ();
12076 rm -f conftest.
$ac_objext conftest
$ac_exeext
12077 if { (ac_try
="$ac_link"
12078 case "(($ac_try" in
12079 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12080 *) ac_try_echo=$ac_try;;
12082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12083 (eval "$ac_link") 2>conftest.er1
12085 grep -v '^ *+' conftest.er1 >conftest.err
12087 cat conftest.err >&5
12088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12089 (exit $ac_status); } &&
12090 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12091 { (case "(($ac_try" in
12092 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12093 *) ac_try_echo
=$ac_try;;
12095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12096 (eval "$ac_try") 2>&5
12098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12099 (exit $ac_status); }; } &&
12100 { ac_try
='test -s conftest$ac_exeext'
12101 { (case "(($ac_try" in
12102 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12103 *) ac_try_echo=$ac_try;;
12105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12106 (eval "$ac_try") 2>&5
12108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12109 (exit $ac_status); }; }; then
12110 eval "$as_ac_var=yes"
12112 echo "$as_me: failed program was:" >&5
12113 sed 's/^/| /' conftest.$ac_ext >&5
12115 eval "$as_ac_var=no"
12118 rm -f core conftest.err conftest.$ac_objext \
12119 conftest$ac_exeext conftest.$ac_ext
12121 ac_res=`eval echo '${'$as_ac_var'}'`
12122 { echo "$as_me:$LINENO: result: $ac_res" >&5
12123 echo "${ECHO_T}$ac_res" >&6; }
12124 if test `eval echo '${'$as_ac_var'}'` = yes; then
12125 cat >>confdefs.h <<_ACEOF
12126 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
12134 { echo "$as_me:$LINENO: checking tool compatibility" >&5
12135 echo $ECHO_N "checking tool compatibility... $ECHO_C" >&6; }
12148 if test "$GCC" != "yes" && test "$ICC" != "yes"
12150 { { echo "$as_me:$LINENO: error: gcc|icc required but not found" >&5
12151 echo "$as_me: error: gcc|icc required but not found" >&2;}
12152 { (exit 1); exit 1; }; }
12155 if test "$GXX" != "yes" && test "$IXX" != "yes"
12157 { { echo "$as_me:$LINENO: error: g++|clang++|icc required but not found" >&5
12158 echo "$as_me: error: g++|clang++|icc required but not found" >&2;}
12159 { (exit 1); exit 1; }; }
12162 if test "$GCC" = "yes"
12164 cat >conftest.$ac_ext <<_ACEOF
12165 #if !defined(__GNUC__) || __GNUC__ < 3
12166 #error Unsupported GCC version
12170 rm -f conftest.$ac_objext
12171 if { (ac_try="$ac_compile"
12172 case "(($ac_try" in
12173 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12174 *) ac_try_echo
=$ac_try;;
12176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12177 (eval "$ac_compile") 2>conftest.er1
12179 grep -v '^ *+' conftest.er1
>conftest.err
12181 cat conftest.err
>&5
12182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12183 (exit $ac_status); } &&
12184 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12185 { (case "(($ac_try" in
12186 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12187 *) ac_try_echo=$ac_try;;
12189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12190 (eval "$ac_try") 2>&5
12192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12193 (exit $ac_status); }; } &&
12194 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
12206 echo "$as_me: failed program was:" >&5
12207 sed 's/^/| /' conftest.
$ac_ext >&5
12209 { { echo "$as_me:$LINENO: error: gcc 3.x required, but you have a lower version" >&5
12210 echo "$as_me: error: gcc 3.x required, but you have a lower version" >&2;}
12211 { (exit 1); exit 1; }; }
12214 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12217 if test -z "$llvm_cv_gnu_make_command"
12219 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
12220 echo "$as_me: error: GNU Make required but not found" >&2;}
12221 { (exit 1); exit 1; }; }
12224 { echo "$as_me:$LINENO: result: ok" >&5
12225 echo "${ECHO_T}ok" >&6; }
12227 { echo "$as_me:$LINENO: checking optional compiler flags" >&5
12228 echo $ECHO_N "checking optional compiler flags... $ECHO_C" >&6; }
12229 NO_VARIADIC_MACROS
=`$CXX -Wno-variadic-macros -fsyntax-only -xc /dev/null 2>/dev/null && echo -Wno-variadic-macros`
12231 NO_MISSING_FIELD_INITIALIZERS
=`$CXX -Wno-missing-field-initializers -fsyntax-only -xc /dev/null 2>/dev/null && echo -Wno-missing-field-initializers`
12233 { echo "$as_me:$LINENO: result: $NO_VARIADIC_MACROS $NO_MISSING_FIELD_INITIALIZERS" >&5
12234 echo "${ECHO_T}$NO_VARIADIC_MACROS $NO_MISSING_FIELD_INITIALIZERS" >&6; }
12238 { echo "$as_me:$LINENO: checking for sin in -lm" >&5
12239 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
12240 if test "${ac_cv_lib_m_sin+set}" = set; then
12241 echo $ECHO_N "(cached) $ECHO_C" >&6
12243 ac_check_lib_save_LIBS
=$LIBS
12245 cat >conftest.
$ac_ext <<_ACEOF
12248 cat confdefs.h
>>conftest.
$ac_ext
12249 cat >>conftest.
$ac_ext <<_ACEOF
12250 /* end confdefs.h. */
12252 /* Override any GCC internal prototype to avoid an error.
12253 Use char because int might match the return type of a GCC
12254 builtin and then its argument prototype would still apply. */
12267 rm -f conftest.
$ac_objext conftest
$ac_exeext
12268 if { (ac_try
="$ac_link"
12269 case "(($ac_try" in
12270 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12271 *) ac_try_echo=$ac_try;;
12273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12274 (eval "$ac_link") 2>conftest.er1
12276 grep -v '^ *+' conftest.er1 >conftest.err
12278 cat conftest.err >&5
12279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12280 (exit $ac_status); } &&
12281 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12282 { (case "(($ac_try" in
12283 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12284 *) ac_try_echo
=$ac_try;;
12286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12287 (eval "$ac_try") 2>&5
12289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12290 (exit $ac_status); }; } &&
12291 { ac_try
='test -s conftest$ac_exeext'
12292 { (case "(($ac_try" in
12293 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12294 *) ac_try_echo=$ac_try;;
12296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12297 (eval "$ac_try") 2>&5
12299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12300 (exit $ac_status); }; }; then
12301 ac_cv_lib_m_sin=yes
12303 echo "$as_me: failed program was:" >&5
12304 sed 's/^/| /' conftest.$ac_ext >&5
12309 rm -f core conftest.err conftest.$ac_objext \
12310 conftest$ac_exeext conftest.$ac_ext
12311 LIBS=$ac_check_lib_save_LIBS
12313 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
12314 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6; }
12315 if test $ac_cv_lib_m_sin = yes; then
12316 cat >>confdefs.h <<_ACEOF
12317 #define HAVE_LIBM 1
12324 if test "$llvm_cv_os_type" = "MingW" ; then
12326 { echo "$as_me:$LINENO: checking for main in -limagehlp" >&5
12327 echo $ECHO_N "checking for main in -limagehlp... $ECHO_C" >&6; }
12328 if test "${ac_cv_lib_imagehlp_main+set}" = set; then
12329 echo $ECHO_N "(cached) $ECHO_C" >&6
12331 ac_check_lib_save_LIBS=$LIBS
12332 LIBS="-limagehlp $LIBS"
12333 cat >conftest.$ac_ext <<_ACEOF
12336 cat confdefs.h >>conftest.$ac_ext
12337 cat >>conftest.$ac_ext <<_ACEOF
12338 /* end confdefs.h. */
12349 rm -f conftest.$ac_objext conftest$ac_exeext
12350 if { (ac_try="$ac_link"
12351 case "(($ac_try" in
12352 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12353 *) ac_try_echo
=$ac_try;;
12355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12356 (eval "$ac_link") 2>conftest.er1
12358 grep -v '^ *+' conftest.er1
>conftest.err
12360 cat conftest.err
>&5
12361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12362 (exit $ac_status); } &&
12363 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12364 { (case "(($ac_try" in
12365 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12366 *) ac_try_echo=$ac_try;;
12368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12369 (eval "$ac_try") 2>&5
12371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12372 (exit $ac_status); }; } &&
12373 { ac_try='test -s conftest$ac_exeext'
12374 { (case "(($ac_try" in
12375 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12376 *) ac_try_echo
=$ac_try;;
12378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12379 (eval "$ac_try") 2>&5
12381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12382 (exit $ac_status); }; }; then
12383 ac_cv_lib_imagehlp_main
=yes
12385 echo "$as_me: failed program was:" >&5
12386 sed 's/^/| /' conftest.
$ac_ext >&5
12388 ac_cv_lib_imagehlp_main
=no
12391 rm -f core conftest.err conftest.
$ac_objext \
12392 conftest
$ac_exeext conftest.
$ac_ext
12393 LIBS
=$ac_check_lib_save_LIBS
12395 { echo "$as_me:$LINENO: result: $ac_cv_lib_imagehlp_main" >&5
12396 echo "${ECHO_T}$ac_cv_lib_imagehlp_main" >&6; }
12397 if test $ac_cv_lib_imagehlp_main = yes; then
12398 cat >>confdefs.h
<<_ACEOF
12399 #define HAVE_LIBIMAGEHLP 1
12402 LIBS
="-limagehlp $LIBS"
12407 { echo "$as_me:$LINENO: checking for main in -lpsapi" >&5
12408 echo $ECHO_N "checking for main in -lpsapi... $ECHO_C" >&6; }
12409 if test "${ac_cv_lib_psapi_main+set}" = set; then
12410 echo $ECHO_N "(cached) $ECHO_C" >&6
12412 ac_check_lib_save_LIBS
=$LIBS
12413 LIBS
="-lpsapi $LIBS"
12414 cat >conftest.
$ac_ext <<_ACEOF
12417 cat confdefs.h
>>conftest.
$ac_ext
12418 cat >>conftest.
$ac_ext <<_ACEOF
12419 /* end confdefs.h. */
12430 rm -f conftest.
$ac_objext conftest
$ac_exeext
12431 if { (ac_try
="$ac_link"
12432 case "(($ac_try" in
12433 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12434 *) ac_try_echo=$ac_try;;
12436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12437 (eval "$ac_link") 2>conftest.er1
12439 grep -v '^ *+' conftest.er1 >conftest.err
12441 cat conftest.err >&5
12442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12443 (exit $ac_status); } &&
12444 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12445 { (case "(($ac_try" in
12446 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12447 *) ac_try_echo
=$ac_try;;
12449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12450 (eval "$ac_try") 2>&5
12452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12453 (exit $ac_status); }; } &&
12454 { ac_try
='test -s conftest$ac_exeext'
12455 { (case "(($ac_try" in
12456 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12457 *) ac_try_echo=$ac_try;;
12459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12460 (eval "$ac_try") 2>&5
12462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12463 (exit $ac_status); }; }; then
12464 ac_cv_lib_psapi_main=yes
12466 echo "$as_me: failed program was:" >&5
12467 sed 's/^/| /' conftest.$ac_ext >&5
12469 ac_cv_lib_psapi_main=no
12472 rm -f core conftest.err conftest.$ac_objext \
12473 conftest$ac_exeext conftest.$ac_ext
12474 LIBS=$ac_check_lib_save_LIBS
12476 { echo "$as_me:$LINENO: result: $ac_cv_lib_psapi_main" >&5
12477 echo "${ECHO_T}$ac_cv_lib_psapi_main" >&6; }
12478 if test $ac_cv_lib_psapi_main = yes; then
12479 cat >>confdefs.h <<_ACEOF
12480 #define HAVE_LIBPSAPI 1
12483 LIBS="-lpsapi $LIBS"
12489 { echo "$as_me:$LINENO: checking for library containing dlopen" >&5
12490 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; }
12491 if test "${ac_cv_search_dlopen+set}" = set; then
12492 echo $ECHO_N "(cached) $ECHO_C" >&6
12494 ac_func_search_save_LIBS=$LIBS
12495 cat >conftest.$ac_ext <<_ACEOF
12498 cat confdefs.h >>conftest.$ac_ext
12499 cat >>conftest.$ac_ext <<_ACEOF
12500 /* end confdefs.h. */
12502 /* Override any GCC internal prototype to avoid an error.
12503 Use char because int might match the return type of a GCC
12504 builtin and then its argument prototype would still apply. */
12517 for ac_lib in '' dl; do
12518 if test -z "$ac_lib"; then
12519 ac_res="none required"
12522 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12524 rm -f conftest.$ac_objext conftest$ac_exeext
12525 if { (ac_try="$ac_link"
12526 case "(($ac_try" in
12527 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12528 *) ac_try_echo
=$ac_try;;
12530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12531 (eval "$ac_link") 2>conftest.er1
12533 grep -v '^ *+' conftest.er1
>conftest.err
12535 cat conftest.err
>&5
12536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12537 (exit $ac_status); } &&
12538 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12539 { (case "(($ac_try" in
12540 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12541 *) ac_try_echo=$ac_try;;
12543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12544 (eval "$ac_try") 2>&5
12546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); }; } &&
12548 { ac_try='test -s conftest$ac_exeext'
12549 { (case "(($ac_try" in
12550 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12551 *) ac_try_echo
=$ac_try;;
12553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12554 (eval "$ac_try") 2>&5
12556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12557 (exit $ac_status); }; }; then
12558 ac_cv_search_dlopen
=$ac_res
12560 echo "$as_me: failed program was:" >&5
12561 sed 's/^/| /' conftest.
$ac_ext >&5
12566 rm -f core conftest.err conftest.
$ac_objext \
12568 if test "${ac_cv_search_dlopen+set}" = set; then
12572 if test "${ac_cv_search_dlopen+set}" = set; then
12575 ac_cv_search_dlopen
=no
12577 rm conftest.
$ac_ext
12578 LIBS
=$ac_func_search_save_LIBS
12580 { echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
12581 echo "${ECHO_T}$ac_cv_search_dlopen" >&6; }
12582 ac_res
=$ac_cv_search_dlopen
12583 if test "$ac_res" != no
; then
12584 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12586 cat >>confdefs.h
<<\_ACEOF
12587 #define HAVE_DLOPEN 1
12591 { echo "$as_me:$LINENO: WARNING: dlopen() not found - disabling plugin support" >&5
12592 echo "$as_me: WARNING: dlopen() not found - disabling plugin support" >&2;}
12596 if test "$llvm_cv_enable_libffi" = "yes" ; then
12597 { echo "$as_me:$LINENO: checking for library containing ffi_call" >&5
12598 echo $ECHO_N "checking for library containing ffi_call... $ECHO_C" >&6; }
12599 if test "${ac_cv_search_ffi_call+set}" = set; then
12600 echo $ECHO_N "(cached) $ECHO_C" >&6
12602 ac_func_search_save_LIBS
=$LIBS
12603 cat >conftest.
$ac_ext <<_ACEOF
12606 cat confdefs.h
>>conftest.
$ac_ext
12607 cat >>conftest.
$ac_ext <<_ACEOF
12608 /* end confdefs.h. */
12610 /* Override any GCC internal prototype to avoid an error.
12611 Use char because int might match the return type of a GCC
12612 builtin and then its argument prototype would still apply. */
12620 return ffi_call ();
12625 for ac_lib
in '' ffi
; do
12626 if test -z "$ac_lib"; then
12627 ac_res
="none required"
12630 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12632 rm -f conftest.
$ac_objext conftest
$ac_exeext
12633 if { (ac_try
="$ac_link"
12634 case "(($ac_try" in
12635 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12636 *) ac_try_echo=$ac_try;;
12638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12639 (eval "$ac_link") 2>conftest.er1
12641 grep -v '^ *+' conftest.er1 >conftest.err
12643 cat conftest.err >&5
12644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12645 (exit $ac_status); } &&
12646 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12647 { (case "(($ac_try" in
12648 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12649 *) ac_try_echo
=$ac_try;;
12651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12652 (eval "$ac_try") 2>&5
12654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12655 (exit $ac_status); }; } &&
12656 { ac_try
='test -s conftest$ac_exeext'
12657 { (case "(($ac_try" in
12658 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12659 *) ac_try_echo=$ac_try;;
12661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12662 (eval "$ac_try") 2>&5
12664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12665 (exit $ac_status); }; }; then
12666 ac_cv_search_ffi_call=$ac_res
12668 echo "$as_me: failed program was:" >&5
12669 sed 's/^/| /' conftest.$ac_ext >&5
12674 rm -f core conftest.err conftest.$ac_objext \
12676 if test "${ac_cv_search_ffi_call+set}" = set; then
12680 if test "${ac_cv_search_ffi_call+set}" = set; then
12683 ac_cv_search_ffi_call=no
12685 rm conftest.$ac_ext
12686 LIBS=$ac_func_search_save_LIBS
12688 { echo "$as_me:$LINENO: result: $ac_cv_search_ffi_call" >&5
12689 echo "${ECHO_T}$ac_cv_search_ffi_call" >&6; }
12690 ac_res=$ac_cv_search_ffi_call
12691 if test "$ac_res" != no; then
12692 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12694 cat >>confdefs.h <<\_ACEOF
12695 #define HAVE_FFI_CALL 1
12699 { { echo "$as_me:$LINENO: error: libffi not found - configure without --enable-libffi to compile without it" >&5
12700 echo "$as_me: error: libffi not found - configure without --enable-libffi to compile without it" >&2;}
12701 { (exit 1); exit 1; }; }
12706 { echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
12707 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6; }
12708 if test "${ac_cv_search_mallinfo+set}" = set; then
12709 echo $ECHO_N "(cached) $ECHO_C" >&6
12711 ac_func_search_save_LIBS=$LIBS
12712 cat >conftest.$ac_ext <<_ACEOF
12715 cat confdefs.h >>conftest.$ac_ext
12716 cat >>conftest.$ac_ext <<_ACEOF
12717 /* end confdefs.h. */
12719 /* Override any GCC internal prototype to avoid an error.
12720 Use char because int might match the return type of a GCC
12721 builtin and then its argument prototype would still apply. */
12729 return mallinfo ();
12734 for ac_lib in '' malloc; do
12735 if test -z "$ac_lib"; then
12736 ac_res="none required"
12739 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12741 rm -f conftest.$ac_objext conftest$ac_exeext
12742 if { (ac_try="$ac_link"
12743 case "(($ac_try" in
12744 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12745 *) ac_try_echo
=$ac_try;;
12747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12748 (eval "$ac_link") 2>conftest.er1
12750 grep -v '^ *+' conftest.er1
>conftest.err
12752 cat conftest.err
>&5
12753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12754 (exit $ac_status); } &&
12755 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12756 { (case "(($ac_try" in
12757 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12758 *) ac_try_echo=$ac_try;;
12760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12761 (eval "$ac_try") 2>&5
12763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12764 (exit $ac_status); }; } &&
12765 { ac_try='test -s conftest$ac_exeext'
12766 { (case "(($ac_try" in
12767 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12768 *) ac_try_echo
=$ac_try;;
12770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12771 (eval "$ac_try") 2>&5
12773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12774 (exit $ac_status); }; }; then
12775 ac_cv_search_mallinfo
=$ac_res
12777 echo "$as_me: failed program was:" >&5
12778 sed 's/^/| /' conftest.
$ac_ext >&5
12783 rm -f core conftest.err conftest.
$ac_objext \
12785 if test "${ac_cv_search_mallinfo+set}" = set; then
12789 if test "${ac_cv_search_mallinfo+set}" = set; then
12792 ac_cv_search_mallinfo
=no
12794 rm conftest.
$ac_ext
12795 LIBS
=$ac_func_search_save_LIBS
12797 { echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
12798 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6; }
12799 ac_res
=$ac_cv_search_mallinfo
12800 if test "$ac_res" != no
; then
12801 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12803 cat >>confdefs.h
<<\_ACEOF
12804 #define HAVE_MALLINFO 1
12810 if test "$ENABLE_THREADS" -eq 1 && test "$ENABLE_PTHREADS" -eq 1 ; then
12812 { echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
12813 echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6; }
12814 if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then
12815 echo $ECHO_N "(cached) $ECHO_C" >&6
12817 ac_check_lib_save_LIBS
=$LIBS
12818 LIBS
="-lpthread $LIBS"
12819 cat >conftest.
$ac_ext <<_ACEOF
12822 cat confdefs.h
>>conftest.
$ac_ext
12823 cat >>conftest.
$ac_ext <<_ACEOF
12824 /* end confdefs.h. */
12826 /* Override any GCC internal prototype to avoid an error.
12827 Use char because int might match the return type of a GCC
12828 builtin and then its argument prototype would still apply. */
12832 char pthread_mutex_init ();
12836 return pthread_mutex_init ();
12841 rm -f conftest.
$ac_objext conftest
$ac_exeext
12842 if { (ac_try
="$ac_link"
12843 case "(($ac_try" in
12844 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12845 *) ac_try_echo=$ac_try;;
12847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12848 (eval "$ac_link") 2>conftest.er1
12850 grep -v '^ *+' conftest.er1 >conftest.err
12852 cat conftest.err >&5
12853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12854 (exit $ac_status); } &&
12855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12856 { (case "(($ac_try" in
12857 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12858 *) ac_try_echo
=$ac_try;;
12860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12861 (eval "$ac_try") 2>&5
12863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12864 (exit $ac_status); }; } &&
12865 { ac_try
='test -s conftest$ac_exeext'
12866 { (case "(($ac_try" in
12867 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12868 *) ac_try_echo=$ac_try;;
12870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12871 (eval "$ac_try") 2>&5
12873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12874 (exit $ac_status); }; }; then
12875 ac_cv_lib_pthread_pthread_mutex_init=yes
12877 echo "$as_me: failed program was:" >&5
12878 sed 's/^/| /' conftest.$ac_ext >&5
12880 ac_cv_lib_pthread_pthread_mutex_init=no
12883 rm -f core conftest.err conftest.$ac_objext \
12884 conftest$ac_exeext conftest.$ac_ext
12885 LIBS=$ac_check_lib_save_LIBS
12887 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
12888 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
12889 if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
12890 cat >>confdefs.h <<_ACEOF
12891 #define HAVE_LIBPTHREAD 1
12894 LIBS="-lpthread $LIBS"
12898 { echo "$as_me:$LINENO: checking for library containing pthread_mutex_lock" >&5
12899 echo $ECHO_N "checking for library containing pthread_mutex_lock... $ECHO_C" >&6; }
12900 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
12901 echo $ECHO_N "(cached) $ECHO_C" >&6
12903 ac_func_search_save_LIBS=$LIBS
12904 cat >conftest.$ac_ext <<_ACEOF
12907 cat confdefs.h >>conftest.$ac_ext
12908 cat >>conftest.$ac_ext <<_ACEOF
12909 /* end confdefs.h. */
12911 /* Override any GCC internal prototype to avoid an error.
12912 Use char because int might match the return type of a GCC
12913 builtin and then its argument prototype would still apply. */
12917 char pthread_mutex_lock ();
12921 return pthread_mutex_lock ();
12926 for ac_lib in '' pthread; do
12927 if test -z "$ac_lib"; then
12928 ac_res="none required"
12931 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12933 rm -f conftest.$ac_objext conftest$ac_exeext
12934 if { (ac_try="$ac_link"
12935 case "(($ac_try" in
12936 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12937 *) ac_try_echo
=$ac_try;;
12939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12940 (eval "$ac_link") 2>conftest.er1
12942 grep -v '^ *+' conftest.er1
>conftest.err
12944 cat conftest.err
>&5
12945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12946 (exit $ac_status); } &&
12947 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12948 { (case "(($ac_try" in
12949 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12950 *) ac_try_echo=$ac_try;;
12952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12953 (eval "$ac_try") 2>&5
12955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12956 (exit $ac_status); }; } &&
12957 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
12967 ac_cv_search_pthread_mutex_lock
=$ac_res
12969 echo "$as_me: failed program was:" >&5
12970 sed 's/^/| /' conftest.
$ac_ext >&5
12975 rm -f core conftest.err conftest.
$ac_objext \
12977 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
12981 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
12984 ac_cv_search_pthread_mutex_lock
=no
12986 rm conftest.
$ac_ext
12987 LIBS
=$ac_func_search_save_LIBS
12989 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_mutex_lock" >&5
12990 echo "${ECHO_T}$ac_cv_search_pthread_mutex_lock" >&6; }
12991 ac_res
=$ac_cv_search_pthread_mutex_lock
12992 if test "$ac_res" != no
; then
12993 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12995 cat >>confdefs.h
<<\_ACEOF
12996 #define HAVE_PTHREAD_MUTEX_LOCK 1
13001 { echo "$as_me:$LINENO: checking for library containing pthread_rwlock_init" >&5
13002 echo $ECHO_N "checking for library containing pthread_rwlock_init... $ECHO_C" >&6; }
13003 if test "${ac_cv_search_pthread_rwlock_init+set}" = set; then
13004 echo $ECHO_N "(cached) $ECHO_C" >&6
13006 ac_func_search_save_LIBS
=$LIBS
13007 cat >conftest.
$ac_ext <<_ACEOF
13010 cat confdefs.h
>>conftest.
$ac_ext
13011 cat >>conftest.
$ac_ext <<_ACEOF
13012 /* end confdefs.h. */
13014 /* Override any GCC internal prototype to avoid an error.
13015 Use char because int might match the return type of a GCC
13016 builtin and then its argument prototype would still apply. */
13020 char pthread_rwlock_init ();
13024 return pthread_rwlock_init ();
13029 for ac_lib
in '' pthread
; do
13030 if test -z "$ac_lib"; then
13031 ac_res
="none required"
13034 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13036 rm -f conftest.
$ac_objext conftest
$ac_exeext
13037 if { (ac_try
="$ac_link"
13038 case "(($ac_try" in
13039 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13040 *) ac_try_echo=$ac_try;;
13042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13043 (eval "$ac_link") 2>conftest.er1
13045 grep -v '^ *+' conftest.er1 >conftest.err
13047 cat conftest.err >&5
13048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13049 (exit $ac_status); } &&
13050 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13051 { (case "(($ac_try" in
13052 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13053 *) ac_try_echo
=$ac_try;;
13055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13056 (eval "$ac_try") 2>&5
13058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13059 (exit $ac_status); }; } &&
13060 { ac_try
='test -s conftest$ac_exeext'
13061 { (case "(($ac_try" in
13062 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13063 *) ac_try_echo=$ac_try;;
13065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13066 (eval "$ac_try") 2>&5
13068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13069 (exit $ac_status); }; }; then
13070 ac_cv_search_pthread_rwlock_init=$ac_res
13072 echo "$as_me: failed program was:" >&5
13073 sed 's/^/| /' conftest.$ac_ext >&5
13078 rm -f core conftest.err conftest.$ac_objext \
13080 if test "${ac_cv_search_pthread_rwlock_init+set}" = set; then
13084 if test "${ac_cv_search_pthread_rwlock_init+set}" = set; then
13087 ac_cv_search_pthread_rwlock_init=no
13089 rm conftest.$ac_ext
13090 LIBS=$ac_func_search_save_LIBS
13092 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_rwlock_init" >&5
13093 echo "${ECHO_T}$ac_cv_search_pthread_rwlock_init" >&6; }
13094 ac_res=$ac_cv_search_pthread_rwlock_init
13095 if test "$ac_res" != no; then
13096 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13098 cat >>confdefs.h <<\_ACEOF
13099 #define HAVE_PTHREAD_RWLOCK_INIT 1
13104 { echo "$as_me:$LINENO: checking for library containing pthread_getspecific" >&5
13105 echo $ECHO_N "checking for library containing pthread_getspecific... $ECHO_C" >&6; }
13106 if test "${ac_cv_search_pthread_getspecific+set}" = set; then
13107 echo $ECHO_N "(cached) $ECHO_C" >&6
13109 ac_func_search_save_LIBS=$LIBS
13110 cat >conftest.$ac_ext <<_ACEOF
13113 cat confdefs.h >>conftest.$ac_ext
13114 cat >>conftest.$ac_ext <<_ACEOF
13115 /* end confdefs.h. */
13117 /* Override any GCC internal prototype to avoid an error.
13118 Use char because int might match the return type of a GCC
13119 builtin and then its argument prototype would still apply. */
13123 char pthread_getspecific ();
13127 return pthread_getspecific ();
13132 for ac_lib in '' pthread; do
13133 if test -z "$ac_lib"; then
13134 ac_res="none required"
13137 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13139 rm -f conftest.$ac_objext conftest$ac_exeext
13140 if { (ac_try="$ac_link"
13141 case "(($ac_try" in
13142 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13143 *) ac_try_echo
=$ac_try;;
13145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13146 (eval "$ac_link") 2>conftest.er1
13148 grep -v '^ *+' conftest.er1
>conftest.err
13150 cat conftest.err
>&5
13151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13152 (exit $ac_status); } &&
13153 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13154 { (case "(($ac_try" in
13155 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13156 *) ac_try_echo=$ac_try;;
13158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13159 (eval "$ac_try") 2>&5
13161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13162 (exit $ac_status); }; } &&
13163 { ac_try='test -s conftest$ac_exeext'
13164 { (case "(($ac_try" in
13165 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13166 *) ac_try_echo
=$ac_try;;
13168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13169 (eval "$ac_try") 2>&5
13171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13172 (exit $ac_status); }; }; then
13173 ac_cv_search_pthread_getspecific
=$ac_res
13175 echo "$as_me: failed program was:" >&5
13176 sed 's/^/| /' conftest.
$ac_ext >&5
13181 rm -f core conftest.err conftest.
$ac_objext \
13183 if test "${ac_cv_search_pthread_getspecific+set}" = set; then
13187 if test "${ac_cv_search_pthread_getspecific+set}" = set; then
13190 ac_cv_search_pthread_getspecific
=no
13192 rm conftest.
$ac_ext
13193 LIBS
=$ac_func_search_save_LIBS
13195 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_getspecific" >&5
13196 echo "${ECHO_T}$ac_cv_search_pthread_getspecific" >&6; }
13197 ac_res
=$ac_cv_search_pthread_getspecific
13198 if test "$ac_res" != no
; then
13199 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13201 cat >>confdefs.h
<<\_ACEOF
13202 #define HAVE_PTHREAD_GETSPECIFIC 1
13210 # Check whether --with-udis86 was given.
13211 if test "${with_udis86+set}" = set; then
13212 withval
=$with_udis86;
13217 *) LDFLAGS
="$LDFLAGS -L${withval}" ;;
13220 { echo "$as_me:$LINENO: checking for ud_init in -ludis86" >&5
13221 echo $ECHO_N "checking for ud_init in -ludis86... $ECHO_C" >&6; }
13222 if test "${ac_cv_lib_udis86_ud_init+set}" = set; then
13223 echo $ECHO_N "(cached) $ECHO_C" >&6
13225 ac_check_lib_save_LIBS
=$LIBS
13226 LIBS
="-ludis86 $LIBS"
13227 cat >conftest.
$ac_ext <<_ACEOF
13230 cat confdefs.h
>>conftest.
$ac_ext
13231 cat >>conftest.
$ac_ext <<_ACEOF
13232 /* end confdefs.h. */
13234 /* Override any GCC internal prototype to avoid an error.
13235 Use char because int might match the return type of a GCC
13236 builtin and then its argument prototype would still apply. */
13249 rm -f conftest.
$ac_objext conftest
$ac_exeext
13250 if { (ac_try
="$ac_link"
13251 case "(($ac_try" in
13252 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13253 *) ac_try_echo=$ac_try;;
13255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13256 (eval "$ac_link") 2>conftest.er1
13258 grep -v '^ *+' conftest.er1 >conftest.err
13260 cat conftest.err >&5
13261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13262 (exit $ac_status); } &&
13263 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13264 { (case "(($ac_try" in
13265 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13266 *) ac_try_echo
=$ac_try;;
13268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13269 (eval "$ac_try") 2>&5
13271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13272 (exit $ac_status); }; } &&
13273 { ac_try
='test -s conftest$ac_exeext'
13274 { (case "(($ac_try" in
13275 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13276 *) ac_try_echo=$ac_try;;
13278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13279 (eval "$ac_try") 2>&5
13281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13282 (exit $ac_status); }; }; then
13283 ac_cv_lib_udis86_ud_init=yes
13285 echo "$as_me: failed program was:" >&5
13286 sed 's/^/| /' conftest.$ac_ext >&5
13288 ac_cv_lib_udis86_ud_init=no
13291 rm -f core conftest.err conftest.$ac_objext \
13292 conftest$ac_exeext conftest.$ac_ext
13293 LIBS=$ac_check_lib_save_LIBS
13295 { echo "$as_me:$LINENO: result: $ac_cv_lib_udis86_ud_init" >&5
13296 echo "${ECHO_T}$ac_cv_lib_udis86_ud_init" >&6; }
13297 if test $ac_cv_lib_udis86_ud_init = yes; then
13298 cat >>confdefs.h <<_ACEOF
13299 #define HAVE_LIBUDIS86 1
13302 LIBS="-ludis86 $LIBS"
13306 echo "Error! You need to have libudis86 around."
13318 cat >>confdefs.h <<_ACEOF
13319 #define USE_UDIS86 $USE_UDIS86
13324 # Check whether --with-oprofile was given.
13325 if test "${with_oprofile+set}" = set; then
13326 withval=$with_oprofile;
13330 /usr|yes) llvm_cv_oppath=/usr/lib/oprofile ;;
13331 no) llvm_cv_oppath=
13334 *) llvm_cv_oppath="${withval}/lib/oprofile"
13335 CPPFLAGS="-I${withval}/include";;
13337 if test -n "$llvm_cv_oppath" ; then
13338 LIBS="$LIBS -L${llvm_cv_oppath} -Wl,-rpath,${llvm_cv_oppath}"
13339 { echo "$as_me:$LINENO: checking for library containing bfd_init" >&5
13340 echo $ECHO_N "checking for library containing bfd_init... $ECHO_C" >&6; }
13341 if test "${ac_cv_search_bfd_init+set}" = set; then
13342 echo $ECHO_N "(cached) $ECHO_C" >&6
13344 ac_func_search_save_LIBS=$LIBS
13345 cat >conftest.$ac_ext <<_ACEOF
13348 cat confdefs.h >>conftest.$ac_ext
13349 cat >>conftest.$ac_ext <<_ACEOF
13350 /* end confdefs.h. */
13352 /* Override any GCC internal prototype to avoid an error.
13353 Use char because int might match the return type of a GCC
13354 builtin and then its argument prototype would still apply. */
13362 return bfd_init ();
13367 for ac_lib in '' bfd; do
13368 if test -z "$ac_lib"; then
13369 ac_res="none required"
13372 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13374 rm -f conftest.$ac_objext conftest$ac_exeext
13375 if { (ac_try="$ac_link"
13376 case "(($ac_try" in
13377 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13378 *) ac_try_echo
=$ac_try;;
13380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13381 (eval "$ac_link") 2>conftest.er1
13383 grep -v '^ *+' conftest.er1
>conftest.err
13385 cat conftest.err
>&5
13386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13387 (exit $ac_status); } &&
13388 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13389 { (case "(($ac_try" in
13390 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13391 *) ac_try_echo=$ac_try;;
13393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13394 (eval "$ac_try") 2>&5
13396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13397 (exit $ac_status); }; } &&
13398 { ac_try='test -s conftest$ac_exeext'
13399 { (case "(($ac_try" in
13400 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13401 *) ac_try_echo
=$ac_try;;
13403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13404 (eval "$ac_try") 2>&5
13406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13407 (exit $ac_status); }; }; then
13408 ac_cv_search_bfd_init
=$ac_res
13410 echo "$as_me: failed program was:" >&5
13411 sed 's/^/| /' conftest.
$ac_ext >&5
13416 rm -f core conftest.err conftest.
$ac_objext \
13418 if test "${ac_cv_search_bfd_init+set}" = set; then
13422 if test "${ac_cv_search_bfd_init+set}" = set; then
13425 ac_cv_search_bfd_init
=no
13427 rm conftest.
$ac_ext
13428 LIBS
=$ac_func_search_save_LIBS
13430 { echo "$as_me:$LINENO: result: $ac_cv_search_bfd_init" >&5
13431 echo "${ECHO_T}$ac_cv_search_bfd_init" >&6; }
13432 ac_res
=$ac_cv_search_bfd_init
13433 if test "$ac_res" != no
; then
13434 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13438 { echo "$as_me:$LINENO: checking for library containing op_open_agent" >&5
13439 echo $ECHO_N "checking for library containing op_open_agent... $ECHO_C" >&6; }
13440 if test "${ac_cv_search_op_open_agent+set}" = set; then
13441 echo $ECHO_N "(cached) $ECHO_C" >&6
13443 ac_func_search_save_LIBS
=$LIBS
13444 cat >conftest.
$ac_ext <<_ACEOF
13447 cat confdefs.h
>>conftest.
$ac_ext
13448 cat >>conftest.
$ac_ext <<_ACEOF
13449 /* end confdefs.h. */
13451 /* Override any GCC internal prototype to avoid an error.
13452 Use char because int might match the return type of a GCC
13453 builtin and then its argument prototype would still apply. */
13457 char op_open_agent ();
13461 return op_open_agent ();
13466 for ac_lib
in '' opagent
; do
13467 if test -z "$ac_lib"; then
13468 ac_res
="none required"
13471 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13473 rm -f conftest.
$ac_objext conftest
$ac_exeext
13474 if { (ac_try
="$ac_link"
13475 case "(($ac_try" in
13476 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13477 *) ac_try_echo=$ac_try;;
13479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13480 (eval "$ac_link") 2>conftest.er1
13482 grep -v '^ *+' conftest.er1 >conftest.err
13484 cat conftest.err >&5
13485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13486 (exit $ac_status); } &&
13487 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13488 { (case "(($ac_try" in
13489 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13490 *) ac_try_echo
=$ac_try;;
13492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13493 (eval "$ac_try") 2>&5
13495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13496 (exit $ac_status); }; } &&
13497 { ac_try
='test -s conftest$ac_exeext'
13498 { (case "(($ac_try" in
13499 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13500 *) ac_try_echo=$ac_try;;
13502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13503 (eval "$ac_try") 2>&5
13505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13506 (exit $ac_status); }; }; then
13507 ac_cv_search_op_open_agent=$ac_res
13509 echo "$as_me: failed program was:" >&5
13510 sed 's/^/| /' conftest.$ac_ext >&5
13515 rm -f core conftest.err conftest.$ac_objext \
13517 if test "${ac_cv_search_op_open_agent+set}" = set; then
13521 if test "${ac_cv_search_op_open_agent+set}" = set; then
13524 ac_cv_search_op_open_agent=no
13526 rm conftest.$ac_ext
13527 LIBS=$ac_func_search_save_LIBS
13529 { echo "$as_me:$LINENO: result: $ac_cv_search_op_open_agent" >&5
13530 echo "${ECHO_T}$ac_cv_search_op_open_agent" >&6; }
13531 ac_res=$ac_cv_search_op_open_agent
13532 if test "$ac_res" != no; then
13533 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13537 echo "Error! You need to have libopagent around."
13542 if test "${ac_cv_header_opagent_h+set}" = set; then
13543 { echo "$as_me:$LINENO: checking for opagent.h" >&5
13544 echo $ECHO_N "checking for opagent.h... $ECHO_C" >&6; }
13545 if test "${ac_cv_header_opagent_h+set}" = set; then
13546 echo $ECHO_N "(cached) $ECHO_C" >&6
13548 { echo "$as_me:$LINENO: result: $ac_cv_header_opagent_h" >&5
13549 echo "${ECHO_T}$ac_cv_header_opagent_h" >&6; }
13551 # Is the header compilable?
13552 { echo "$as_me:$LINENO: checking opagent.h usability" >&5
13553 echo $ECHO_N "checking opagent.h usability... $ECHO_C" >&6; }
13554 cat >conftest.$ac_ext <<_ACEOF
13557 cat confdefs.h >>conftest.$ac_ext
13558 cat >>conftest.$ac_ext <<_ACEOF
13559 /* end confdefs.h. */
13560 $ac_includes_default
13561 #include <opagent.h>
13563 rm -f conftest.$ac_objext
13564 if { (ac_try="$ac_compile"
13565 case "(($ac_try" in
13566 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13567 *) ac_try_echo
=$ac_try;;
13569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13570 (eval "$ac_compile") 2>conftest.er1
13572 grep -v '^ *+' conftest.er1
>conftest.err
13574 cat conftest.err
>&5
13575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13576 (exit $ac_status); } &&
13577 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13578 { (case "(($ac_try" in
13579 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13580 *) ac_try_echo=$ac_try;;
13582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13583 (eval "$ac_try") 2>&5
13585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13586 (exit $ac_status); }; } &&
13587 { ac_try='test -s conftest.$ac_objext'
13588 { (case "(($ac_try" in
13589 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13590 *) ac_try_echo
=$ac_try;;
13592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13593 (eval "$ac_try") 2>&5
13595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13596 (exit $ac_status); }; }; then
13597 ac_header_compiler
=yes
13599 echo "$as_me: failed program was:" >&5
13600 sed 's/^/| /' conftest.
$ac_ext >&5
13602 ac_header_compiler
=no
13605 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13606 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13607 echo "${ECHO_T}$ac_header_compiler" >&6; }
13609 # Is the header present?
13610 { echo "$as_me:$LINENO: checking opagent.h presence" >&5
13611 echo $ECHO_N "checking opagent.h presence... $ECHO_C" >&6; }
13612 cat >conftest.
$ac_ext <<_ACEOF
13615 cat confdefs.h
>>conftest.
$ac_ext
13616 cat >>conftest.
$ac_ext <<_ACEOF
13617 /* end confdefs.h. */
13618 #include <opagent.h>
13620 if { (ac_try
="$ac_cpp conftest.$ac_ext"
13621 case "(($ac_try" in
13622 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13623 *) ac_try_echo=$ac_try;;
13625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13626 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13628 grep -v '^ *+' conftest.er1 >conftest.err
13630 cat conftest.err >&5
13631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13632 (exit $ac_status); } >/dev/null; then
13633 if test -s conftest.err; then
13634 ac_cpp_err=$ac_c_preproc_warn_flag
13635 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13642 if test -z "$ac_cpp_err"; then
13643 ac_header_preproc=yes
13645 echo "$as_me: failed program was:" >&5
13646 sed 's/^/| /' conftest.$ac_ext >&5
13648 ac_header_preproc=no
13651 rm -f conftest.err conftest.$ac_ext
13652 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13653 echo "${ECHO_T}$ac_header_preproc" >&6; }
13655 # So? What about this header?
13656 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13658 { echo "$as_me:$LINENO: WARNING: opagent.h: accepted by the compiler, rejected by the preprocessor!" >&5
13659 echo "$as_me: WARNING: opagent.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13660 { echo "$as_me:$LINENO: WARNING: opagent.h: proceeding with the compiler's result" >&5
13661 echo "$as_me: WARNING: opagent.h: proceeding with the compiler's result" >&2;}
13662 ac_header_preproc=yes
13665 { echo "$as_me:$LINENO: WARNING: opagent.h: present but cannot be compiled" >&5
13666 echo "$as_me: WARNING: opagent.h: present but cannot be compiled" >&2;}
13667 { echo "$as_me:$LINENO: WARNING: opagent.h: check for missing prerequisite headers?" >&5
13668 echo "$as_me: WARNING: opagent.h: check for missing prerequisite headers?" >&2;}
13669 { echo "$as_me:$LINENO: WARNING: opagent.h: see the Autoconf documentation" >&5
13670 echo "$as_me: WARNING: opagent.h: see the Autoconf documentation" >&2;}
13671 { echo "$as_me:$LINENO: WARNING: opagent.h: section \"Present But Cannot Be Compiled\"" >&5
13672 echo "$as_me: WARNING: opagent.h: section \"Present But Cannot Be Compiled\"" >&2;}
13673 { echo "$as_me:$LINENO: WARNING: opagent.h: proceeding with the preprocessor's result" >&5
13674 echo "$as_me: WARNING: opagent.h: proceeding with the preprocessor's result" >&2;}
13675 { echo "$as_me:$LINENO: WARNING: opagent.h: in the future, the compiler will take precedence" >&5
13676 echo "$as_me: WARNING: opagent.h: in the future, the compiler will take precedence" >&2;}
13678 ## ----------------------------------- ##
13679 ## Report this to llvmbugs@cs.uiuc.edu ##
13680 ## ----------------------------------- ##
13682 ) | sed "s/^/$as_me: WARNING: /" >&2
13685 { echo "$as_me:$LINENO: checking for opagent.h" >&5
13686 echo $ECHO_N "checking for opagent.h... $ECHO_C" >&6; }
13687 if test "${ac_cv_header_opagent_h+set}" = set; then
13688 echo $ECHO_N "(cached) $ECHO_C" >&6
13690 ac_cv_header_opagent_h=$ac_header_preproc
13692 { echo "$as_me:$LINENO: result: $ac_cv_header_opagent_h" >&5
13693 echo "${ECHO_T}$ac_cv_header_opagent_h" >&6; }
13696 if test $ac_cv_header_opagent_h = yes; then
13700 echo "Error! You need to have opagent.h around."
13716 cat >>confdefs.h <<_ACEOF
13717 #define USE_OPROFILE $USE_OPROFILE
13727 ac_header_dirent=no
13728 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
13729 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
13730 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
13731 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
13732 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13733 echo $ECHO_N "(cached) $ECHO_C" >&6
13735 cat >conftest.$ac_ext <<_ACEOF
13738 cat confdefs.h >>conftest.$ac_ext
13739 cat >>conftest.$ac_ext <<_ACEOF
13740 /* end confdefs.h. */
13741 #include <sys/types.h>
13753 rm -f conftest.$ac_objext
13754 if { (ac_try="$ac_compile"
13755 case "(($ac_try" in
13756 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13757 *) ac_try_echo
=$ac_try;;
13759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13760 (eval "$ac_compile") 2>conftest.er1
13762 grep -v '^ *+' conftest.er1
>conftest.err
13764 cat conftest.err
>&5
13765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13766 (exit $ac_status); } &&
13767 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13768 { (case "(($ac_try" in
13769 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13770 *) ac_try_echo=$ac_try;;
13772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13773 (eval "$ac_try") 2>&5
13775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13776 (exit $ac_status); }; } &&
13777 { ac_try='test -s conftest.$ac_objext'
13778 { (case "(($ac_try" in
13779 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13780 *) ac_try_echo
=$ac_try;;
13782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13783 (eval "$ac_try") 2>&5
13785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13786 (exit $ac_status); }; }; then
13787 eval "$as_ac_Header=yes"
13789 echo "$as_me: failed program was:" >&5
13790 sed 's/^/| /' conftest.
$ac_ext >&5
13792 eval "$as_ac_Header=no"
13795 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13797 ac_res
=`eval echo '${'$as_ac_Header'}'`
13798 { echo "$as_me:$LINENO: result: $ac_res" >&5
13799 echo "${ECHO_T}$ac_res" >&6; }
13800 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13801 cat >>confdefs.h
<<_ACEOF
13802 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
13805 ac_header_dirent
=$ac_hdr; break
13809 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
13810 if test $ac_header_dirent = dirent.h
; then
13811 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
13812 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
13813 if test "${ac_cv_search_opendir+set}" = set; then
13814 echo $ECHO_N "(cached) $ECHO_C" >&6
13816 ac_func_search_save_LIBS
=$LIBS
13817 cat >conftest.
$ac_ext <<_ACEOF
13820 cat confdefs.h
>>conftest.
$ac_ext
13821 cat >>conftest.
$ac_ext <<_ACEOF
13822 /* end confdefs.h. */
13824 /* Override any GCC internal prototype to avoid an error.
13825 Use char because int might match the return type of a GCC
13826 builtin and then its argument prototype would still apply. */
13839 for ac_lib
in '' dir
; do
13840 if test -z "$ac_lib"; then
13841 ac_res
="none required"
13844 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13846 rm -f conftest.
$ac_objext conftest
$ac_exeext
13847 if { (ac_try
="$ac_link"
13848 case "(($ac_try" in
13849 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13850 *) ac_try_echo=$ac_try;;
13852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13853 (eval "$ac_link") 2>conftest.er1
13855 grep -v '^ *+' conftest.er1 >conftest.err
13857 cat conftest.err >&5
13858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13859 (exit $ac_status); } &&
13860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13861 { (case "(($ac_try" in
13862 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13863 *) ac_try_echo
=$ac_try;;
13865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13866 (eval "$ac_try") 2>&5
13868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13869 (exit $ac_status); }; } &&
13870 { ac_try
='test -s conftest$ac_exeext'
13871 { (case "(($ac_try" in
13872 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13873 *) ac_try_echo=$ac_try;;
13875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13876 (eval "$ac_try") 2>&5
13878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13879 (exit $ac_status); }; }; then
13880 ac_cv_search_opendir=$ac_res
13882 echo "$as_me: failed program was:" >&5
13883 sed 's/^/| /' conftest.$ac_ext >&5
13888 rm -f core conftest.err conftest.$ac_objext \
13890 if test "${ac_cv_search_opendir+set}" = set; then
13894 if test "${ac_cv_search_opendir+set}" = set; then
13897 ac_cv_search_opendir=no
13899 rm conftest.$ac_ext
13900 LIBS=$ac_func_search_save_LIBS
13902 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
13903 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
13904 ac_res=$ac_cv_search_opendir
13905 if test "$ac_res" != no; then
13906 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13911 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
13912 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
13913 if test "${ac_cv_search_opendir+set}" = set; then
13914 echo $ECHO_N "(cached) $ECHO_C" >&6
13916 ac_func_search_save_LIBS=$LIBS
13917 cat >conftest.$ac_ext <<_ACEOF
13920 cat confdefs.h >>conftest.$ac_ext
13921 cat >>conftest.$ac_ext <<_ACEOF
13922 /* end confdefs.h. */
13924 /* Override any GCC internal prototype to avoid an error.
13925 Use char because int might match the return type of a GCC
13926 builtin and then its argument prototype would still apply. */
13939 for ac_lib in '' x; do
13940 if test -z "$ac_lib"; then
13941 ac_res="none required"
13944 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13946 rm -f conftest.$ac_objext conftest$ac_exeext
13947 if { (ac_try="$ac_link"
13948 case "(($ac_try" in
13949 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13950 *) ac_try_echo
=$ac_try;;
13952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13953 (eval "$ac_link") 2>conftest.er1
13955 grep -v '^ *+' conftest.er1
>conftest.err
13957 cat conftest.err
>&5
13958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13959 (exit $ac_status); } &&
13960 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13961 { (case "(($ac_try" in
13962 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13963 *) ac_try_echo=$ac_try;;
13965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13966 (eval "$ac_try") 2>&5
13968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13969 (exit $ac_status); }; } &&
13970 { ac_try='test -s conftest$ac_exeext'
13971 { (case "(($ac_try" in
13972 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13973 *) ac_try_echo
=$ac_try;;
13975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13976 (eval "$ac_try") 2>&5
13978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13979 (exit $ac_status); }; }; then
13980 ac_cv_search_opendir
=$ac_res
13982 echo "$as_me: failed program was:" >&5
13983 sed 's/^/| /' conftest.
$ac_ext >&5
13988 rm -f core conftest.err conftest.
$ac_objext \
13990 if test "${ac_cv_search_opendir+set}" = set; then
13994 if test "${ac_cv_search_opendir+set}" = set; then
13997 ac_cv_search_opendir
=no
13999 rm conftest.
$ac_ext
14000 LIBS
=$ac_func_search_save_LIBS
14002 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
14003 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
14004 ac_res
=$ac_cv_search_opendir
14005 if test "$ac_res" != no
; then
14006 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14012 { echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
14013 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6; }
14014 if test "${ac_cv_header_mmap_anon+set}" = set; then
14015 echo $ECHO_N "(cached) $ECHO_C" >&6
14018 ac_cpp
='$CPP $CPPFLAGS'
14019 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14020 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14021 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14023 cat >conftest.
$ac_ext <<_ACEOF
14026 cat confdefs.h
>>conftest.
$ac_ext
14027 cat >>conftest.
$ac_ext <<_ACEOF
14028 /* end confdefs.h. */
14029 #include <sys/mman.h>
14030 #include <unistd.h>
14035 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
14040 rm -f conftest.
$ac_objext
14041 if { (ac_try
="$ac_compile"
14042 case "(($ac_try" in
14043 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14044 *) ac_try_echo=$ac_try;;
14046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14047 (eval "$ac_compile") 2>conftest.er1
14049 grep -v '^ *+' conftest.er1 >conftest.err
14051 cat conftest.err >&5
14052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14053 (exit $ac_status); } &&
14054 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14055 { (case "(($ac_try" in
14056 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14057 *) ac_try_echo
=$ac_try;;
14059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14060 (eval "$ac_try") 2>&5
14062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14063 (exit $ac_status); }; } &&
14064 { ac_try
='test -s conftest.$ac_objext'
14065 { (case "(($ac_try" in
14066 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14067 *) ac_try_echo=$ac_try;;
14069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14070 (eval "$ac_try") 2>&5
14072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14073 (exit $ac_status); }; }; then
14074 ac_cv_header_mmap_anon=yes
14076 echo "$as_me: failed program was:" >&5
14077 sed 's/^/| /' conftest.$ac_ext >&5
14079 ac_cv_header_mmap_anon=no
14082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14084 ac_cpp='$CPP $CPPFLAGS'
14085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14091 { echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
14092 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6; }
14093 if test "$ac_cv_header_mmap_anon" = yes; then
14095 cat >>confdefs.h <<\_ACEOF
14096 #define HAVE_MMAP_ANONYMOUS 1
14101 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
14102 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
14103 if test "${ac_cv_header_stat_broken+set}" = set; then
14104 echo $ECHO_N "(cached) $ECHO_C" >&6
14106 cat >conftest.$ac_ext <<_ACEOF
14109 cat confdefs.h >>conftest.$ac_ext
14110 cat >>conftest.$ac_ext <<_ACEOF
14111 /* end confdefs.h. */
14112 #include <sys/types.h>
14113 #include <sys/stat.h>
14115 #if defined S_ISBLK && defined S_IFDIR
14116 # if S_ISBLK (S_IFDIR)
14121 #if defined S_ISBLK && defined S_IFCHR
14122 # if S_ISBLK (S_IFCHR)
14127 #if defined S_ISLNK && defined S_IFREG
14128 # if S_ISLNK (S_IFREG)
14133 #if defined S_ISSOCK && defined S_IFREG
14134 # if S_ISSOCK (S_IFREG)
14140 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14141 $EGREP "You lose" >/dev/null 2>&1; then
14142 ac_cv_header_stat_broken=yes
14144 ac_cv_header_stat_broken=no
14149 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
14150 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
14151 if test $ac_cv_header_stat_broken = yes; then
14153 cat >>confdefs.h <<\_ACEOF
14154 #define STAT_MACROS_BROKEN 1
14159 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
14160 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
14161 if test "${ac_cv_header_sys_wait_h+set}" = set; then
14162 echo $ECHO_N "(cached) $ECHO_C" >&6
14164 cat >conftest.$ac_ext <<_ACEOF
14167 cat confdefs.h >>conftest.$ac_ext
14168 cat >>conftest.$ac_ext <<_ACEOF
14169 /* end confdefs.h. */
14170 #include <sys/types.h>
14171 #include <sys/wait.h>
14172 #ifndef WEXITSTATUS
14173 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
14176 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
14184 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
14189 rm -f conftest.$ac_objext
14190 if { (ac_try="$ac_compile"
14191 case "(($ac_try" in
14192 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14193 *) ac_try_echo
=$ac_try;;
14195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14196 (eval "$ac_compile") 2>conftest.er1
14198 grep -v '^ *+' conftest.er1
>conftest.err
14200 cat conftest.err
>&5
14201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14202 (exit $ac_status); } &&
14203 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14204 { (case "(($ac_try" in
14205 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14206 *) ac_try_echo=$ac_try;;
14208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14209 (eval "$ac_try") 2>&5
14211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14212 (exit $ac_status); }; } &&
14213 { ac_try='test -s conftest.$ac_objext'
14214 { (case "(($ac_try" in
14215 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14216 *) ac_try_echo
=$ac_try;;
14218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14219 (eval "$ac_try") 2>&5
14221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14222 (exit $ac_status); }; }; then
14223 ac_cv_header_sys_wait_h
=yes
14225 echo "$as_me: failed program was:" >&5
14226 sed 's/^/| /' conftest.
$ac_ext >&5
14228 ac_cv_header_sys_wait_h
=no
14231 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14233 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
14234 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
14235 if test $ac_cv_header_sys_wait_h = yes; then
14237 cat >>confdefs.h
<<\_ACEOF
14238 #define HAVE_SYS_WAIT_H 1
14243 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
14244 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
14245 if test "${ac_cv_header_time+set}" = set; then
14246 echo $ECHO_N "(cached) $ECHO_C" >&6
14248 cat >conftest.
$ac_ext <<_ACEOF
14251 cat confdefs.h
>>conftest.
$ac_ext
14252 cat >>conftest.
$ac_ext <<_ACEOF
14253 /* end confdefs.h. */
14254 #include <sys/types.h>
14255 #include <sys/time.h>
14261 if ((struct tm *) 0)
14267 rm -f conftest.
$ac_objext
14268 if { (ac_try
="$ac_compile"
14269 case "(($ac_try" in
14270 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14271 *) ac_try_echo=$ac_try;;
14273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14274 (eval "$ac_compile") 2>conftest.er1
14276 grep -v '^ *+' conftest.er1 >conftest.err
14278 cat conftest.err >&5
14279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14280 (exit $ac_status); } &&
14281 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14282 { (case "(($ac_try" in
14283 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14284 *) ac_try_echo
=$ac_try;;
14286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14287 (eval "$ac_try") 2>&5
14289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14290 (exit $ac_status); }; } &&
14291 { ac_try
='test -s conftest.$ac_objext'
14292 { (case "(($ac_try" in
14293 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14294 *) ac_try_echo=$ac_try;;
14296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14297 (eval "$ac_try") 2>&5
14299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14300 (exit $ac_status); }; }; then
14301 ac_cv_header_time=yes
14303 echo "$as_me: failed program was:" >&5
14304 sed 's/^/| /' conftest.$ac_ext >&5
14306 ac_cv_header_time=no
14309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14311 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
14312 echo "${ECHO_T}$ac_cv_header_time" >&6; }
14313 if test $ac_cv_header_time = yes; then
14315 cat >>confdefs.h <<\_ACEOF
14316 #define TIME_WITH_SYS_TIME 1
14328 for ac_header in dlfcn.h execinfo.h fcntl.h inttypes.h limits.h link.h
14330 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
14331 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14332 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14333 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14334 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14335 echo $ECHO_N "(cached) $ECHO_C" >&6
14337 ac_res=`eval echo '${'$as_ac_Header'}'`
14338 { echo "$as_me:$LINENO: result: $ac_res" >&5
14339 echo "${ECHO_T}$ac_res" >&6; }
14341 # Is the header compilable?
14342 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14343 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14344 cat >conftest.$ac_ext <<_ACEOF
14347 cat confdefs.h >>conftest.$ac_ext
14348 cat >>conftest.$ac_ext <<_ACEOF
14349 /* end confdefs.h. */
14350 $ac_includes_default
14351 #include <$ac_header>
14353 rm -f conftest.$ac_objext
14354 if { (ac_try="$ac_compile"
14355 case "(($ac_try" in
14356 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14357 *) ac_try_echo
=$ac_try;;
14359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14360 (eval "$ac_compile") 2>conftest.er1
14362 grep -v '^ *+' conftest.er1
>conftest.err
14364 cat conftest.err
>&5
14365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14366 (exit $ac_status); } &&
14367 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14368 { (case "(($ac_try" in
14369 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14370 *) ac_try_echo=$ac_try;;
14372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14373 (eval "$ac_try") 2>&5
14375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14376 (exit $ac_status); }; } &&
14377 { ac_try='test -s conftest.$ac_objext'
14378 { (case "(($ac_try" in
14379 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14380 *) ac_try_echo
=$ac_try;;
14382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14383 (eval "$ac_try") 2>&5
14385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14386 (exit $ac_status); }; }; then
14387 ac_header_compiler
=yes
14389 echo "$as_me: failed program was:" >&5
14390 sed 's/^/| /' conftest.
$ac_ext >&5
14392 ac_header_compiler
=no
14395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14396 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14397 echo "${ECHO_T}$ac_header_compiler" >&6; }
14399 # Is the header present?
14400 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
14401 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14402 cat >conftest.
$ac_ext <<_ACEOF
14405 cat confdefs.h
>>conftest.
$ac_ext
14406 cat >>conftest.
$ac_ext <<_ACEOF
14407 /* end confdefs.h. */
14408 #include <$ac_header>
14410 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14411 case "(($ac_try" in
14412 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14413 *) ac_try_echo=$ac_try;;
14415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14416 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14418 grep -v '^ *+' conftest.er1 >conftest.err
14420 cat conftest.err >&5
14421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14422 (exit $ac_status); } >/dev/null; then
14423 if test -s conftest.err; then
14424 ac_cpp_err=$ac_c_preproc_warn_flag
14425 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14432 if test -z "$ac_cpp_err"; then
14433 ac_header_preproc=yes
14435 echo "$as_me: failed program was:" >&5
14436 sed 's/^/| /' conftest.$ac_ext >&5
14438 ac_header_preproc=no
14441 rm -f conftest.err conftest.$ac_ext
14442 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14443 echo "${ECHO_T}$ac_header_preproc" >&6; }
14445 # So? What about this header?
14446 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14448 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14449 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14450 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14451 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14452 ac_header_preproc=yes
14455 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14456 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14457 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14458 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14459 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14460 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14461 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14462 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14463 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14464 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14465 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14466 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14468 ## ----------------------------------- ##
14469 ## Report this to llvmbugs@cs.uiuc.edu ##
14470 ## ----------------------------------- ##
14472 ) | sed "s/^/$as_me: WARNING: /" >&2
14475 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14477 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14478 echo $ECHO_N "(cached) $ECHO_C" >&6
14480 eval "$as_ac_Header=\$ac_header_preproc"
14482 ac_res=`eval echo '${'$as_ac_Header'}'`
14483 { echo "$as_me:$LINENO: result: $ac_res" >&5
14484 echo "${ECHO_T}$ac_res" >&6; }
14487 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14488 cat >>confdefs.h <<_ACEOF
14489 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
14502 for ac_header in malloc.h setjmp.h signal.h stdint.h termios.h unistd.h
14504 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
14505 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14506 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14508 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14509 echo $ECHO_N "(cached) $ECHO_C" >&6
14511 ac_res=`eval echo '${'$as_ac_Header'}'`
14512 { echo "$as_me:$LINENO: result: $ac_res" >&5
14513 echo "${ECHO_T}$ac_res" >&6; }
14515 # Is the header compilable?
14516 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14517 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14518 cat >conftest.$ac_ext <<_ACEOF
14521 cat confdefs.h >>conftest.$ac_ext
14522 cat >>conftest.$ac_ext <<_ACEOF
14523 /* end confdefs.h. */
14524 $ac_includes_default
14525 #include <$ac_header>
14527 rm -f conftest.$ac_objext
14528 if { (ac_try="$ac_compile"
14529 case "(($ac_try" in
14530 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14531 *) ac_try_echo
=$ac_try;;
14533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14534 (eval "$ac_compile") 2>conftest.er1
14536 grep -v '^ *+' conftest.er1
>conftest.err
14538 cat conftest.err
>&5
14539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14540 (exit $ac_status); } &&
14541 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14542 { (case "(($ac_try" in
14543 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14544 *) ac_try_echo=$ac_try;;
14546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14547 (eval "$ac_try") 2>&5
14549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14550 (exit $ac_status); }; } &&
14551 { ac_try='test -s conftest.$ac_objext'
14552 { (case "(($ac_try" in
14553 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14554 *) ac_try_echo
=$ac_try;;
14556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14557 (eval "$ac_try") 2>&5
14559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14560 (exit $ac_status); }; }; then
14561 ac_header_compiler
=yes
14563 echo "$as_me: failed program was:" >&5
14564 sed 's/^/| /' conftest.
$ac_ext >&5
14566 ac_header_compiler
=no
14569 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14570 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14571 echo "${ECHO_T}$ac_header_compiler" >&6; }
14573 # Is the header present?
14574 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
14575 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14576 cat >conftest.
$ac_ext <<_ACEOF
14579 cat confdefs.h
>>conftest.
$ac_ext
14580 cat >>conftest.
$ac_ext <<_ACEOF
14581 /* end confdefs.h. */
14582 #include <$ac_header>
14584 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14585 case "(($ac_try" in
14586 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14587 *) ac_try_echo=$ac_try;;
14589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14590 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14592 grep -v '^ *+' conftest.er1 >conftest.err
14594 cat conftest.err >&5
14595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596 (exit $ac_status); } >/dev/null; then
14597 if test -s conftest.err; then
14598 ac_cpp_err=$ac_c_preproc_warn_flag
14599 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14606 if test -z "$ac_cpp_err"; then
14607 ac_header_preproc=yes
14609 echo "$as_me: failed program was:" >&5
14610 sed 's/^/| /' conftest.$ac_ext >&5
14612 ac_header_preproc=no
14615 rm -f conftest.err conftest.$ac_ext
14616 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14617 echo "${ECHO_T}$ac_header_preproc" >&6; }
14619 # So? What about this header?
14620 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14622 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14623 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14624 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14625 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14626 ac_header_preproc=yes
14629 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14630 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14631 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14632 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14633 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14634 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14635 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14636 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14637 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14638 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14639 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14640 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14642 ## ----------------------------------- ##
14643 ## Report this to llvmbugs@cs.uiuc.edu ##
14644 ## ----------------------------------- ##
14646 ) | sed "s/^/$as_me: WARNING: /" >&2
14649 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14651 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14652 echo $ECHO_N "(cached) $ECHO_C" >&6
14654 eval "$as_ac_Header=\$ac_header_preproc"
14656 ac_res=`eval echo '${'$as_ac_Header'}'`
14657 { echo "$as_me:$LINENO: result: $ac_res" >&5
14658 echo "${ECHO_T}$ac_res" >&6; }
14661 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14662 cat >>confdefs.h <<_ACEOF
14663 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
14672 for ac_header in utime.h windows.h
14674 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
14675 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14676 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14677 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14678 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14679 echo $ECHO_N "(cached) $ECHO_C" >&6
14681 ac_res=`eval echo '${'$as_ac_Header'}'`
14682 { echo "$as_me:$LINENO: result: $ac_res" >&5
14683 echo "${ECHO_T}$ac_res" >&6; }
14685 # Is the header compilable?
14686 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14687 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14688 cat >conftest.$ac_ext <<_ACEOF
14691 cat confdefs.h >>conftest.$ac_ext
14692 cat >>conftest.$ac_ext <<_ACEOF
14693 /* end confdefs.h. */
14694 $ac_includes_default
14695 #include <$ac_header>
14697 rm -f conftest.$ac_objext
14698 if { (ac_try="$ac_compile"
14699 case "(($ac_try" in
14700 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14701 *) ac_try_echo
=$ac_try;;
14703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14704 (eval "$ac_compile") 2>conftest.er1
14706 grep -v '^ *+' conftest.er1
>conftest.err
14708 cat conftest.err
>&5
14709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14710 (exit $ac_status); } &&
14711 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14712 { (case "(($ac_try" in
14713 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14714 *) ac_try_echo=$ac_try;;
14716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14717 (eval "$ac_try") 2>&5
14719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14720 (exit $ac_status); }; } &&
14721 { ac_try='test -s conftest.$ac_objext'
14722 { (case "(($ac_try" in
14723 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14724 *) ac_try_echo
=$ac_try;;
14726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14727 (eval "$ac_try") 2>&5
14729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14730 (exit $ac_status); }; }; then
14731 ac_header_compiler
=yes
14733 echo "$as_me: failed program was:" >&5
14734 sed 's/^/| /' conftest.
$ac_ext >&5
14736 ac_header_compiler
=no
14739 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14740 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14741 echo "${ECHO_T}$ac_header_compiler" >&6; }
14743 # Is the header present?
14744 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
14745 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14746 cat >conftest.
$ac_ext <<_ACEOF
14749 cat confdefs.h
>>conftest.
$ac_ext
14750 cat >>conftest.
$ac_ext <<_ACEOF
14751 /* end confdefs.h. */
14752 #include <$ac_header>
14754 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14755 case "(($ac_try" in
14756 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14757 *) ac_try_echo=$ac_try;;
14759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14760 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14762 grep -v '^ *+' conftest.er1 >conftest.err
14764 cat conftest.err >&5
14765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14766 (exit $ac_status); } >/dev/null; then
14767 if test -s conftest.err; then
14768 ac_cpp_err=$ac_c_preproc_warn_flag
14769 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14776 if test -z "$ac_cpp_err"; then
14777 ac_header_preproc=yes
14779 echo "$as_me: failed program was:" >&5
14780 sed 's/^/| /' conftest.$ac_ext >&5
14782 ac_header_preproc=no
14785 rm -f conftest.err conftest.$ac_ext
14786 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14787 echo "${ECHO_T}$ac_header_preproc" >&6; }
14789 # So? What about this header?
14790 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14792 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14793 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14794 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14795 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14796 ac_header_preproc=yes
14799 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14800 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14801 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14802 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14803 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14804 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14805 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14806 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14807 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14808 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14809 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14810 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14812 ## ----------------------------------- ##
14813 ## Report this to llvmbugs@cs.uiuc.edu ##
14814 ## ----------------------------------- ##
14816 ) | sed "s/^/$as_me: WARNING: /" >&2
14819 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14820 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14821 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14822 echo $ECHO_N "(cached) $ECHO_C" >&6
14824 eval "$as_ac_Header=\$ac_header_preproc"
14826 ac_res=`eval echo '${'$as_ac_Header'}'`
14827 { echo "$as_me:$LINENO: result: $ac_res" >&5
14828 echo "${ECHO_T}$ac_res" >&6; }
14831 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14832 cat >>confdefs.h <<_ACEOF
14833 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
14845 for ac_header in sys/mman.h sys/param.h sys/resource.h sys/time.h sys/uio.h
14847 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
14848 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14849 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14850 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14851 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14852 echo $ECHO_N "(cached) $ECHO_C" >&6
14854 ac_res=`eval echo '${'$as_ac_Header'}'`
14855 { echo "$as_me:$LINENO: result: $ac_res" >&5
14856 echo "${ECHO_T}$ac_res" >&6; }
14858 # Is the header compilable?
14859 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14860 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14861 cat >conftest.$ac_ext <<_ACEOF
14864 cat confdefs.h >>conftest.$ac_ext
14865 cat >>conftest.$ac_ext <<_ACEOF
14866 /* end confdefs.h. */
14867 $ac_includes_default
14868 #include <$ac_header>
14870 rm -f conftest.$ac_objext
14871 if { (ac_try="$ac_compile"
14872 case "(($ac_try" in
14873 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14874 *) ac_try_echo
=$ac_try;;
14876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14877 (eval "$ac_compile") 2>conftest.er1
14879 grep -v '^ *+' conftest.er1
>conftest.err
14881 cat conftest.err
>&5
14882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14883 (exit $ac_status); } &&
14884 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14885 { (case "(($ac_try" in
14886 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14887 *) ac_try_echo=$ac_try;;
14889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14890 (eval "$ac_try") 2>&5
14892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14893 (exit $ac_status); }; } &&
14894 { ac_try='test -s conftest.$ac_objext'
14895 { (case "(($ac_try" in
14896 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14897 *) ac_try_echo
=$ac_try;;
14899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14900 (eval "$ac_try") 2>&5
14902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14903 (exit $ac_status); }; }; then
14904 ac_header_compiler
=yes
14906 echo "$as_me: failed program was:" >&5
14907 sed 's/^/| /' conftest.
$ac_ext >&5
14909 ac_header_compiler
=no
14912 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14913 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14914 echo "${ECHO_T}$ac_header_compiler" >&6; }
14916 # Is the header present?
14917 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
14918 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14919 cat >conftest.
$ac_ext <<_ACEOF
14922 cat confdefs.h
>>conftest.
$ac_ext
14923 cat >>conftest.
$ac_ext <<_ACEOF
14924 /* end confdefs.h. */
14925 #include <$ac_header>
14927 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14928 case "(($ac_try" in
14929 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14930 *) ac_try_echo=$ac_try;;
14932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14933 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14935 grep -v '^ *+' conftest.er1 >conftest.err
14937 cat conftest.err >&5
14938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14939 (exit $ac_status); } >/dev/null; then
14940 if test -s conftest.err; then
14941 ac_cpp_err=$ac_c_preproc_warn_flag
14942 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14949 if test -z "$ac_cpp_err"; then
14950 ac_header_preproc=yes
14952 echo "$as_me: failed program was:" >&5
14953 sed 's/^/| /' conftest.$ac_ext >&5
14955 ac_header_preproc=no
14958 rm -f conftest.err conftest.$ac_ext
14959 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14960 echo "${ECHO_T}$ac_header_preproc" >&6; }
14962 # So? What about this header?
14963 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14965 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14966 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14967 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14968 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14969 ac_header_preproc=yes
14972 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14973 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14974 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14975 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14976 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14977 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14978 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14979 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14980 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14981 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14982 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14983 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14985 ## ----------------------------------- ##
14986 ## Report this to llvmbugs@cs.uiuc.edu ##
14987 ## ----------------------------------- ##
14989 ) | sed "s/^/$as_me: WARNING: /" >&2
14992 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14994 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14995 echo $ECHO_N "(cached) $ECHO_C" >&6
14997 eval "$as_ac_Header=\$ac_header_preproc"
14999 ac_res=`eval echo '${'$as_ac_Header'}'`
15000 { echo "$as_me:$LINENO: result: $ac_res" >&5
15001 echo "${ECHO_T}$ac_res" >&6; }
15004 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15005 cat >>confdefs.h <<_ACEOF
15006 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
15017 for ac_header in sys/types.h sys/ioctl.h malloc/malloc.h mach/mach.h
15019 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
15020 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15021 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15022 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15023 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15024 echo $ECHO_N "(cached) $ECHO_C" >&6
15026 ac_res=`eval echo '${'$as_ac_Header'}'`
15027 { echo "$as_me:$LINENO: result: $ac_res" >&5
15028 echo "${ECHO_T}$ac_res" >&6; }
15030 # Is the header compilable?
15031 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15032 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15033 cat >conftest.$ac_ext <<_ACEOF
15036 cat confdefs.h >>conftest.$ac_ext
15037 cat >>conftest.$ac_ext <<_ACEOF
15038 /* end confdefs.h. */
15039 $ac_includes_default
15040 #include <$ac_header>
15042 rm -f conftest.$ac_objext
15043 if { (ac_try="$ac_compile"
15044 case "(($ac_try" in
15045 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15046 *) ac_try_echo
=$ac_try;;
15048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15049 (eval "$ac_compile") 2>conftest.er1
15051 grep -v '^ *+' conftest.er1
>conftest.err
15053 cat conftest.err
>&5
15054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15055 (exit $ac_status); } &&
15056 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15057 { (case "(($ac_try" in
15058 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15059 *) ac_try_echo=$ac_try;;
15061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15062 (eval "$ac_try") 2>&5
15064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15065 (exit $ac_status); }; } &&
15066 { ac_try='test -s conftest.$ac_objext'
15067 { (case "(($ac_try" in
15068 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15069 *) ac_try_echo
=$ac_try;;
15071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15072 (eval "$ac_try") 2>&5
15074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15075 (exit $ac_status); }; }; then
15076 ac_header_compiler
=yes
15078 echo "$as_me: failed program was:" >&5
15079 sed 's/^/| /' conftest.
$ac_ext >&5
15081 ac_header_compiler
=no
15084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15085 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15086 echo "${ECHO_T}$ac_header_compiler" >&6; }
15088 # Is the header present?
15089 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15090 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15091 cat >conftest.
$ac_ext <<_ACEOF
15094 cat confdefs.h
>>conftest.
$ac_ext
15095 cat >>conftest.
$ac_ext <<_ACEOF
15096 /* end confdefs.h. */
15097 #include <$ac_header>
15099 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15100 case "(($ac_try" in
15101 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15102 *) ac_try_echo=$ac_try;;
15104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15105 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15107 grep -v '^ *+' conftest.er1 >conftest.err
15109 cat conftest.err >&5
15110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15111 (exit $ac_status); } >/dev/null; then
15112 if test -s conftest.err; then
15113 ac_cpp_err=$ac_c_preproc_warn_flag
15114 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15121 if test -z "$ac_cpp_err"; then
15122 ac_header_preproc=yes
15124 echo "$as_me: failed program was:" >&5
15125 sed 's/^/| /' conftest.$ac_ext >&5
15127 ac_header_preproc=no
15130 rm -f conftest.err conftest.$ac_ext
15131 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15132 echo "${ECHO_T}$ac_header_preproc" >&6; }
15134 # So? What about this header?
15135 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15137 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15138 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15139 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15140 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15141 ac_header_preproc=yes
15144 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15145 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15146 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15147 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15148 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15149 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15150 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15151 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15152 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15153 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15154 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15155 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15157 ## ----------------------------------- ##
15158 ## Report this to llvmbugs@cs.uiuc.edu ##
15159 ## ----------------------------------- ##
15161 ) | sed "s/^/$as_me: WARNING: /" >&2
15164 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15166 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15167 echo $ECHO_N "(cached) $ECHO_C" >&6
15169 eval "$as_ac_Header=\$ac_header_preproc"
15171 ac_res=`eval echo '${'$as_ac_Header'}'`
15172 { echo "$as_me:$LINENO: result: $ac_res" >&5
15173 echo "${ECHO_T}$ac_res" >&6; }
15176 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15177 cat >>confdefs.h <<_ACEOF
15178 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
15186 for ac_header in valgrind/valgrind.h
15188 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
15189 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15190 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15191 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15192 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15193 echo $ECHO_N "(cached) $ECHO_C" >&6
15195 ac_res=`eval echo '${'$as_ac_Header'}'`
15196 { echo "$as_me:$LINENO: result: $ac_res" >&5
15197 echo "${ECHO_T}$ac_res" >&6; }
15199 # Is the header compilable?
15200 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15201 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15202 cat >conftest.$ac_ext <<_ACEOF
15205 cat confdefs.h >>conftest.$ac_ext
15206 cat >>conftest.$ac_ext <<_ACEOF
15207 /* end confdefs.h. */
15208 $ac_includes_default
15209 #include <$ac_header>
15211 rm -f conftest.$ac_objext
15212 if { (ac_try="$ac_compile"
15213 case "(($ac_try" in
15214 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15215 *) ac_try_echo
=$ac_try;;
15217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15218 (eval "$ac_compile") 2>conftest.er1
15220 grep -v '^ *+' conftest.er1
>conftest.err
15222 cat conftest.err
>&5
15223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15224 (exit $ac_status); } &&
15225 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15226 { (case "(($ac_try" in
15227 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15228 *) ac_try_echo=$ac_try;;
15230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15231 (eval "$ac_try") 2>&5
15233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15234 (exit $ac_status); }; } &&
15235 { ac_try='test -s conftest.$ac_objext'
15236 { (case "(($ac_try" in
15237 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15238 *) ac_try_echo
=$ac_try;;
15240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15241 (eval "$ac_try") 2>&5
15243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15244 (exit $ac_status); }; }; then
15245 ac_header_compiler
=yes
15247 echo "$as_me: failed program was:" >&5
15248 sed 's/^/| /' conftest.
$ac_ext >&5
15250 ac_header_compiler
=no
15253 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15254 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15255 echo "${ECHO_T}$ac_header_compiler" >&6; }
15257 # Is the header present?
15258 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15259 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15260 cat >conftest.
$ac_ext <<_ACEOF
15263 cat confdefs.h
>>conftest.
$ac_ext
15264 cat >>conftest.
$ac_ext <<_ACEOF
15265 /* end confdefs.h. */
15266 #include <$ac_header>
15268 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15269 case "(($ac_try" in
15270 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15271 *) ac_try_echo=$ac_try;;
15273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15274 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15276 grep -v '^ *+' conftest.er1 >conftest.err
15278 cat conftest.err >&5
15279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15280 (exit $ac_status); } >/dev/null; then
15281 if test -s conftest.err; then
15282 ac_cpp_err=$ac_c_preproc_warn_flag
15283 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15290 if test -z "$ac_cpp_err"; then
15291 ac_header_preproc=yes
15293 echo "$as_me: failed program was:" >&5
15294 sed 's/^/| /' conftest.$ac_ext >&5
15296 ac_header_preproc=no
15299 rm -f conftest.err conftest.$ac_ext
15300 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15301 echo "${ECHO_T}$ac_header_preproc" >&6; }
15303 # So? What about this header?
15304 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15306 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15307 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15308 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15309 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15310 ac_header_preproc=yes
15313 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15314 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15315 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15316 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15317 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15318 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15319 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15320 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15321 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15322 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15323 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15324 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15326 ## ----------------------------------- ##
15327 ## Report this to llvmbugs@cs.uiuc.edu ##
15328 ## ----------------------------------- ##
15330 ) | sed "s/^/$as_me: WARNING: /" >&2
15333 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15335 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15336 echo $ECHO_N "(cached) $ECHO_C" >&6
15338 eval "$as_ac_Header=\$ac_header_preproc"
15340 ac_res=`eval echo '${'$as_ac_Header'}'`
15341 { echo "$as_me:$LINENO: result: $ac_res" >&5
15342 echo "${ECHO_T}$ac_res" >&6; }
15345 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15346 cat >>confdefs.h <<_ACEOF
15347 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
15355 for ac_header in fenv.h
15357 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
15358 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15359 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15361 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15362 echo $ECHO_N "(cached) $ECHO_C" >&6
15364 ac_res=`eval echo '${'$as_ac_Header'}'`
15365 { echo "$as_me:$LINENO: result: $ac_res" >&5
15366 echo "${ECHO_T}$ac_res" >&6; }
15368 # Is the header compilable?
15369 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15370 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15371 cat >conftest.$ac_ext <<_ACEOF
15374 cat confdefs.h >>conftest.$ac_ext
15375 cat >>conftest.$ac_ext <<_ACEOF
15376 /* end confdefs.h. */
15377 $ac_includes_default
15378 #include <$ac_header>
15380 rm -f conftest.$ac_objext
15381 if { (ac_try="$ac_compile"
15382 case "(($ac_try" in
15383 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15384 *) ac_try_echo
=$ac_try;;
15386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15387 (eval "$ac_compile") 2>conftest.er1
15389 grep -v '^ *+' conftest.er1
>conftest.err
15391 cat conftest.err
>&5
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); } &&
15394 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15395 { (case "(($ac_try" in
15396 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15397 *) ac_try_echo=$ac_try;;
15399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15400 (eval "$ac_try") 2>&5
15402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 (exit $ac_status); }; } &&
15404 { ac_try='test -s conftest.$ac_objext'
15405 { (case "(($ac_try" in
15406 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15407 *) ac_try_echo
=$ac_try;;
15409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15410 (eval "$ac_try") 2>&5
15412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15413 (exit $ac_status); }; }; then
15414 ac_header_compiler
=yes
15416 echo "$as_me: failed program was:" >&5
15417 sed 's/^/| /' conftest.
$ac_ext >&5
15419 ac_header_compiler
=no
15422 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15423 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15424 echo "${ECHO_T}$ac_header_compiler" >&6; }
15426 # Is the header present?
15427 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15428 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15429 cat >conftest.
$ac_ext <<_ACEOF
15432 cat confdefs.h
>>conftest.
$ac_ext
15433 cat >>conftest.
$ac_ext <<_ACEOF
15434 /* end confdefs.h. */
15435 #include <$ac_header>
15437 if { (ac_try
="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 2>conftest.er1
15445 grep -v '^ *+' conftest.er1 >conftest.err
15447 cat conftest.err >&5
15448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15449 (exit $ac_status); } >/dev/null; then
15450 if test -s conftest.err; then
15451 ac_cpp_err=$ac_c_preproc_warn_flag
15452 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15459 if test -z "$ac_cpp_err"; then
15460 ac_header_preproc=yes
15462 echo "$as_me: failed program was:" >&5
15463 sed 's/^/| /' conftest.$ac_ext >&5
15465 ac_header_preproc=no
15468 rm -f conftest.err conftest.$ac_ext
15469 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15470 echo "${ECHO_T}$ac_header_preproc" >&6; }
15472 # So? What about this header?
15473 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15475 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15476 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15477 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15478 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15479 ac_header_preproc=yes
15482 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15483 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15484 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15485 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15486 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15487 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15488 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15489 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15490 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15491 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15492 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15493 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15495 ## ----------------------------------- ##
15496 ## Report this to llvmbugs@cs.uiuc.edu ##
15497 ## ----------------------------------- ##
15499 ) | sed "s/^/$as_me: WARNING: /" >&2
15502 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15503 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15504 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15505 echo $ECHO_N "(cached) $ECHO_C" >&6
15507 eval "$as_ac_Header=\$ac_header_preproc"
15509 ac_res=`eval echo '${'$as_ac_Header'}'`
15510 { echo "$as_me:$LINENO: result: $ac_res" >&5
15511 echo "${ECHO_T}$ac_res" >&6; }
15514 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15515 cat >>confdefs.h <<_ACEOF
15516 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
15523 if test "$ENABLE_THREADS" -eq 1 && test "$ENABLE_PTHREADS" -eq 1 ; then
15525 for ac_header in pthread.h
15527 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
15528 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15529 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15530 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15531 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15532 echo $ECHO_N "(cached) $ECHO_C" >&6
15534 ac_res=`eval echo '${'$as_ac_Header'}'`
15535 { echo "$as_me:$LINENO: result: $ac_res" >&5
15536 echo "${ECHO_T}$ac_res" >&6; }
15538 # Is the header compilable?
15539 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15540 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15541 cat >conftest.$ac_ext <<_ACEOF
15544 cat confdefs.h >>conftest.$ac_ext
15545 cat >>conftest.$ac_ext <<_ACEOF
15546 /* end confdefs.h. */
15547 $ac_includes_default
15548 #include <$ac_header>
15550 rm -f conftest.$ac_objext
15551 if { (ac_try="$ac_compile"
15552 case "(($ac_try" in
15553 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15554 *) ac_try_echo
=$ac_try;;
15556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15557 (eval "$ac_compile") 2>conftest.er1
15559 grep -v '^ *+' conftest.er1
>conftest.err
15561 cat conftest.err
>&5
15562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15563 (exit $ac_status); } &&
15564 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15565 { (case "(($ac_try" in
15566 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15567 *) ac_try_echo=$ac_try;;
15569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15570 (eval "$ac_try") 2>&5
15572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15573 (exit $ac_status); }; } &&
15574 { ac_try='test -s conftest.$ac_objext'
15575 { (case "(($ac_try" in
15576 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15577 *) ac_try_echo
=$ac_try;;
15579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15580 (eval "$ac_try") 2>&5
15582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15583 (exit $ac_status); }; }; then
15584 ac_header_compiler
=yes
15586 echo "$as_me: failed program was:" >&5
15587 sed 's/^/| /' conftest.
$ac_ext >&5
15589 ac_header_compiler
=no
15592 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15593 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15594 echo "${ECHO_T}$ac_header_compiler" >&6; }
15596 # Is the header present?
15597 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15598 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15599 cat >conftest.
$ac_ext <<_ACEOF
15602 cat confdefs.h
>>conftest.
$ac_ext
15603 cat >>conftest.
$ac_ext <<_ACEOF
15604 /* end confdefs.h. */
15605 #include <$ac_header>
15607 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15608 case "(($ac_try" in
15609 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15610 *) ac_try_echo=$ac_try;;
15612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15613 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15615 grep -v '^ *+' conftest.er1 >conftest.err
15617 cat conftest.err >&5
15618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15619 (exit $ac_status); } >/dev/null; then
15620 if test -s conftest.err; then
15621 ac_cpp_err=$ac_c_preproc_warn_flag
15622 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15629 if test -z "$ac_cpp_err"; then
15630 ac_header_preproc=yes
15632 echo "$as_me: failed program was:" >&5
15633 sed 's/^/| /' conftest.$ac_ext >&5
15635 ac_header_preproc=no
15638 rm -f conftest.err conftest.$ac_ext
15639 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15640 echo "${ECHO_T}$ac_header_preproc" >&6; }
15642 # So? What about this header?
15643 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15645 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15646 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15647 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15648 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15649 ac_header_preproc=yes
15652 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15653 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15654 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15655 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15656 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15657 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15658 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15659 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15660 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15661 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15662 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15663 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15665 ## ----------------------------------- ##
15666 ## Report this to llvmbugs@cs.uiuc.edu ##
15667 ## ----------------------------------- ##
15669 ) | sed "s/^/$as_me: WARNING: /" >&2
15672 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15673 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15674 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15675 echo $ECHO_N "(cached) $ECHO_C" >&6
15677 eval "$as_ac_Header=\$ac_header_preproc"
15679 ac_res=`eval echo '${'$as_ac_Header'}'`
15680 { echo "$as_me:$LINENO: result: $ac_res" >&5
15681 echo "${ECHO_T}$ac_res" >&6; }
15684 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15685 cat >>confdefs.h <<_ACEOF
15686 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
15702 if test "$llvm_cv_enable_libffi" = "yes" ; then
15705 for ac_header in ffi.h ffi/ffi.h
15707 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
15708 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15709 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15710 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15711 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15712 echo $ECHO_N "(cached) $ECHO_C" >&6
15714 ac_res=`eval echo '${'$as_ac_Header'}'`
15715 { echo "$as_me:$LINENO: result: $ac_res" >&5
15716 echo "${ECHO_T}$ac_res" >&6; }
15718 # Is the header compilable?
15719 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15720 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15721 cat >conftest.$ac_ext <<_ACEOF
15724 cat confdefs.h >>conftest.$ac_ext
15725 cat >>conftest.$ac_ext <<_ACEOF
15726 /* end confdefs.h. */
15727 $ac_includes_default
15728 #include <$ac_header>
15730 rm -f conftest.$ac_objext
15731 if { (ac_try="$ac_compile"
15732 case "(($ac_try" in
15733 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15734 *) ac_try_echo
=$ac_try;;
15736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15737 (eval "$ac_compile") 2>conftest.er1
15739 grep -v '^ *+' conftest.er1
>conftest.err
15741 cat conftest.err
>&5
15742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15743 (exit $ac_status); } &&
15744 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15745 { (case "(($ac_try" in
15746 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15747 *) ac_try_echo=$ac_try;;
15749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15750 (eval "$ac_try") 2>&5
15752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15753 (exit $ac_status); }; } &&
15754 { ac_try='test -s conftest.$ac_objext'
15755 { (case "(($ac_try" in
15756 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15757 *) ac_try_echo
=$ac_try;;
15759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15760 (eval "$ac_try") 2>&5
15762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15763 (exit $ac_status); }; }; then
15764 ac_header_compiler
=yes
15766 echo "$as_me: failed program was:" >&5
15767 sed 's/^/| /' conftest.
$ac_ext >&5
15769 ac_header_compiler
=no
15772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15773 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15774 echo "${ECHO_T}$ac_header_compiler" >&6; }
15776 # Is the header present?
15777 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15778 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15779 cat >conftest.
$ac_ext <<_ACEOF
15782 cat confdefs.h
>>conftest.
$ac_ext
15783 cat >>conftest.
$ac_ext <<_ACEOF
15784 /* end confdefs.h. */
15785 #include <$ac_header>
15787 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15788 case "(($ac_try" in
15789 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15790 *) ac_try_echo=$ac_try;;
15792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15793 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15795 grep -v '^ *+' conftest.er1 >conftest.err
15797 cat conftest.err >&5
15798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15799 (exit $ac_status); } >/dev/null; then
15800 if test -s conftest.err; then
15801 ac_cpp_err=$ac_c_preproc_warn_flag
15802 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15809 if test -z "$ac_cpp_err"; then
15810 ac_header_preproc=yes
15812 echo "$as_me: failed program was:" >&5
15813 sed 's/^/| /' conftest.$ac_ext >&5
15815 ac_header_preproc=no
15818 rm -f conftest.err conftest.$ac_ext
15819 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15820 echo "${ECHO_T}$ac_header_preproc" >&6; }
15822 # So? What about this header?
15823 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15825 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15826 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15827 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15828 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15829 ac_header_preproc=yes
15832 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15833 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15834 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15835 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15836 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15837 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15838 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15839 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15840 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15841 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15842 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15843 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15845 ## ----------------------------------- ##
15846 ## Report this to llvmbugs@cs.uiuc.edu ##
15847 ## ----------------------------------- ##
15849 ) | sed "s/^/$as_me: WARNING: /" >&2
15852 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15854 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15855 echo $ECHO_N "(cached) $ECHO_C" >&6
15857 eval "$as_ac_Header=\$ac_header_preproc"
15859 ac_res=`eval echo '${'$as_ac_Header'}'`
15860 { echo "$as_me:$LINENO: result: $ac_res" >&5
15861 echo "${ECHO_T}$ac_res" >&6; }
15864 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15865 cat >>confdefs.h <<_ACEOF
15866 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
15876 for ac_header in CrashReporterClient.h
15878 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
15879 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15880 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15881 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15882 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15883 echo $ECHO_N "(cached) $ECHO_C" >&6
15885 ac_res=`eval echo '${'$as_ac_Header'}'`
15886 { echo "$as_me:$LINENO: result: $ac_res" >&5
15887 echo "${ECHO_T}$ac_res" >&6; }
15889 # Is the header compilable?
15890 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15891 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15892 cat >conftest.$ac_ext <<_ACEOF
15895 cat confdefs.h >>conftest.$ac_ext
15896 cat >>conftest.$ac_ext <<_ACEOF
15897 /* end confdefs.h. */
15898 $ac_includes_default
15899 #include <$ac_header>
15901 rm -f conftest.$ac_objext
15902 if { (ac_try="$ac_compile"
15903 case "(($ac_try" in
15904 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15905 *) ac_try_echo
=$ac_try;;
15907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15908 (eval "$ac_compile") 2>conftest.er1
15910 grep -v '^ *+' conftest.er1
>conftest.err
15912 cat conftest.err
>&5
15913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15914 (exit $ac_status); } &&
15915 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15916 { (case "(($ac_try" in
15917 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15918 *) ac_try_echo=$ac_try;;
15920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15921 (eval "$ac_try") 2>&5
15923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15924 (exit $ac_status); }; } &&
15925 { ac_try='test -s conftest.$ac_objext'
15926 { (case "(($ac_try" in
15927 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15928 *) ac_try_echo
=$ac_try;;
15930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15931 (eval "$ac_try") 2>&5
15933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15934 (exit $ac_status); }; }; then
15935 ac_header_compiler
=yes
15937 echo "$as_me: failed program was:" >&5
15938 sed 's/^/| /' conftest.
$ac_ext >&5
15940 ac_header_compiler
=no
15943 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15944 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15945 echo "${ECHO_T}$ac_header_compiler" >&6; }
15947 # Is the header present?
15948 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15949 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15950 cat >conftest.
$ac_ext <<_ACEOF
15953 cat confdefs.h
>>conftest.
$ac_ext
15954 cat >>conftest.
$ac_ext <<_ACEOF
15955 /* end confdefs.h. */
15956 #include <$ac_header>
15958 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15959 case "(($ac_try" in
15960 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15961 *) ac_try_echo=$ac_try;;
15963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15964 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15966 grep -v '^ *+' conftest.er1 >conftest.err
15968 cat conftest.err >&5
15969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15970 (exit $ac_status); } >/dev/null; then
15971 if test -s conftest.err; then
15972 ac_cpp_err=$ac_c_preproc_warn_flag
15973 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15980 if test -z "$ac_cpp_err"; then
15981 ac_header_preproc=yes
15983 echo "$as_me: failed program was:" >&5
15984 sed 's/^/| /' conftest.$ac_ext >&5
15986 ac_header_preproc=no
15989 rm -f conftest.err conftest.$ac_ext
15990 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15991 echo "${ECHO_T}$ac_header_preproc" >&6; }
15993 # So? What about this header?
15994 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15996 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15997 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15998 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15999 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16000 ac_header_preproc=yes
16003 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16004 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16005 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16006 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16007 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16008 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16009 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16010 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16011 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16012 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16013 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16014 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16016 ## ----------------------------------- ##
16017 ## Report this to llvmbugs@cs.uiuc.edu ##
16018 ## ----------------------------------- ##
16020 ) | sed "s/^/$as_me: WARNING: /" >&2
16023 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16024 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16025 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16026 echo $ECHO_N "(cached) $ECHO_C" >&6
16028 eval "$as_ac_Header=\$ac_header_preproc"
16030 ac_res=`eval echo '${'$as_ac_Header'}'`
16031 { echo "$as_me:$LINENO: result: $ac_res" >&5
16032 echo "${ECHO_T}$ac_res" >&6; }
16035 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16036 cat >>confdefs.h <<_ACEOF
16037 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
16045 { echo "$as_me:$LINENO: checking __crashreporter_info__" >&5
16046 echo $ECHO_N "checking __crashreporter_info__... $ECHO_C" >&6; }
16047 cat >conftest.$ac_ext <<_ACEOF
16050 cat confdefs.h >>conftest.$ac_ext
16051 cat >>conftest.$ac_ext <<_ACEOF
16052 /* end confdefs.h. */
16053 extern const char *__crashreporter_info__;
16055 __crashreporter_info__ = "test";
16060 rm -f conftest.$ac_objext conftest$ac_exeext
16061 if { (ac_try="$ac_link"
16062 case "(($ac_try" in
16063 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16064 *) ac_try_echo
=$ac_try;;
16066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16067 (eval "$ac_link") 2>conftest.er1
16069 grep -v '^ *+' conftest.er1
>conftest.err
16071 cat conftest.err
>&5
16072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16073 (exit $ac_status); } &&
16074 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16075 { (case "(($ac_try" in
16076 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16077 *) ac_try_echo=$ac_try;;
16079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16080 (eval "$ac_try") 2>&5
16082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16083 (exit $ac_status); }; } &&
16084 { ac_try='test -s conftest$ac_exeext'
16085 { (case "(($ac_try" in
16086 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16087 *) ac_try_echo
=$ac_try;;
16089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16090 (eval "$ac_try") 2>&5
16092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16093 (exit $ac_status); }; }; then
16094 { echo "$as_me:$LINENO: result: yes" >&5
16095 echo "${ECHO_T}yes" >&6; }
16097 cat >>confdefs.h
<<\_ACEOF
16098 #define HAVE_CRASHREPORTER_INFO 1
16102 echo "$as_me: failed program was:" >&5
16103 sed 's/^/| /' conftest.
$ac_ext >&5
16105 { echo "$as_me:$LINENO: result: no" >&5
16106 echo "${ECHO_T}no" >&6; }
16108 cat >>confdefs.h
<<\_ACEOF
16109 #define HAVE_CRASHREPORTER_INFO 0
16114 rm -f core conftest.err conftest.
$ac_objext \
16115 conftest
$ac_exeext conftest.
$ac_ext
16120 { echo "$as_me:$LINENO: checking for HUGE_VAL sanity" >&5
16121 echo $ECHO_N "checking for HUGE_VAL sanity... $ECHO_C" >&6; }
16122 if test "${ac_cv_huge_val_sanity+set}" = set; then
16123 echo $ECHO_N "(cached) $ECHO_C" >&6
16127 ac_cpp
='$CXXCPP $CPPFLAGS'
16128 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16129 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16130 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16132 ac_save_CXXFLAGS
=$CXXFLAGS
16134 if test "$cross_compiling" = yes; then
16135 ac_cv_huge_val_sanity
=yes
16137 cat >conftest.
$ac_ext <<_ACEOF
16140 cat confdefs.h
>>conftest.
$ac_ext
16141 cat >>conftest.
$ac_ext <<_ACEOF
16142 /* end confdefs.h. */
16147 double x = HUGE_VAL; return x != x;
16152 rm -f conftest
$ac_exeext
16153 if { (ac_try
="$ac_link"
16154 case "(($ac_try" in
16155 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16156 *) ac_try_echo=$ac_try;;
16158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16159 (eval "$ac_link") 2>&5
16161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16162 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16163 { (case "(($ac_try" in
16164 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16165 *) ac_try_echo
=$ac_try;;
16167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16168 (eval "$ac_try") 2>&5
16170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16171 (exit $ac_status); }; }; then
16172 ac_cv_huge_val_sanity
=yes
16174 echo "$as_me: program exited with status $ac_status" >&5
16175 echo "$as_me: failed program was:" >&5
16176 sed 's/^/| /' conftest.
$ac_ext >&5
16178 ( exit $ac_status )
16179 ac_cv_huge_val_sanity
=no
16181 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16185 CXXFLAGS
=$ac_save_CXXFLAGS
16187 ac_cpp
='$CPP $CPPFLAGS'
16188 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16189 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16190 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16194 { echo "$as_me:$LINENO: result: $ac_cv_huge_val_sanity" >&5
16195 echo "${ECHO_T}$ac_cv_huge_val_sanity" >&6; }
16196 HUGE_VAL_SANITY
=$ac_cv_huge_val_sanity
16199 { echo "$as_me:$LINENO: checking for pid_t" >&5
16200 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16201 if test "${ac_cv_type_pid_t+set}" = set; then
16202 echo $ECHO_N "(cached) $ECHO_C" >&6
16204 cat >conftest.
$ac_ext <<_ACEOF
16207 cat confdefs.h
>>conftest.
$ac_ext
16208 cat >>conftest.
$ac_ext <<_ACEOF
16209 /* end confdefs.h. */
16210 $ac_includes_default
16211 typedef pid_t ac__type_new_;
16215 if ((ac__type_new_ *) 0)
16217 if (sizeof (ac__type_new_))
16223 rm -f conftest.
$ac_objext
16224 if { (ac_try
="$ac_compile"
16225 case "(($ac_try" in
16226 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16227 *) ac_try_echo=$ac_try;;
16229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16230 (eval "$ac_compile") 2>conftest.er1
16232 grep -v '^ *+' conftest.er1 >conftest.err
16234 cat conftest.err >&5
16235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16236 (exit $ac_status); } &&
16237 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16238 { (case "(($ac_try" in
16239 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16240 *) ac_try_echo
=$ac_try;;
16242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16243 (eval "$ac_try") 2>&5
16245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16246 (exit $ac_status); }; } &&
16247 { ac_try
='test -s conftest.$ac_objext'
16248 { (case "(($ac_try" in
16249 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16250 *) ac_try_echo=$ac_try;;
16252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16253 (eval "$ac_try") 2>&5
16255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16256 (exit $ac_status); }; }; then
16257 ac_cv_type_pid_t=yes
16259 echo "$as_me: failed program was:" >&5
16260 sed 's/^/| /' conftest.$ac_ext >&5
16262 ac_cv_type_pid_t=no
16265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16267 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16268 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16269 if test $ac_cv_type_pid_t = yes; then
16273 cat >>confdefs.h <<_ACEOF
16279 { echo "$as_me:$LINENO: checking for size_t" >&5
16280 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16281 if test "${ac_cv_type_size_t+set}" = set; then
16282 echo $ECHO_N "(cached) $ECHO_C" >&6
16284 cat >conftest.$ac_ext <<_ACEOF
16287 cat confdefs.h >>conftest.$ac_ext
16288 cat >>conftest.$ac_ext <<_ACEOF
16289 /* end confdefs.h. */
16290 $ac_includes_default
16291 typedef size_t ac__type_new_;
16295 if ((ac__type_new_ *) 0)
16297 if (sizeof (ac__type_new_))
16303 rm -f conftest.$ac_objext
16304 if { (ac_try="$ac_compile"
16305 case "(($ac_try" in
16306 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16307 *) ac_try_echo
=$ac_try;;
16309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16310 (eval "$ac_compile") 2>conftest.er1
16312 grep -v '^ *+' conftest.er1
>conftest.err
16314 cat conftest.err
>&5
16315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16316 (exit $ac_status); } &&
16317 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16318 { (case "(($ac_try" in
16319 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16320 *) ac_try_echo=$ac_try;;
16322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16323 (eval "$ac_try") 2>&5
16325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16326 (exit $ac_status); }; } &&
16327 { ac_try='test -s conftest.$ac_objext'
16328 { (case "(($ac_try" in
16329 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16330 *) ac_try_echo
=$ac_try;;
16332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16333 (eval "$ac_try") 2>&5
16335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16336 (exit $ac_status); }; }; then
16337 ac_cv_type_size_t
=yes
16339 echo "$as_me: failed program was:" >&5
16340 sed 's/^/| /' conftest.
$ac_ext >&5
16342 ac_cv_type_size_t
=no
16345 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16347 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16348 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16349 if test $ac_cv_type_size_t = yes; then
16353 cat >>confdefs.h
<<_ACEOF
16354 #define size_t unsigned int
16360 cat >>confdefs.h
<<_ACEOF
16361 #define RETSIGTYPE void
16364 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
16365 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
16366 if test "${ac_cv_struct_tm+set}" = set; then
16367 echo $ECHO_N "(cached) $ECHO_C" >&6
16369 cat >conftest.
$ac_ext <<_ACEOF
16372 cat confdefs.h
>>conftest.
$ac_ext
16373 cat >>conftest.
$ac_ext <<_ACEOF
16374 /* end confdefs.h. */
16375 #include <sys/types.h>
16381 struct tm *tp; tp->tm_sec;
16386 rm -f conftest.
$ac_objext
16387 if { (ac_try
="$ac_compile"
16388 case "(($ac_try" in
16389 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16390 *) ac_try_echo=$ac_try;;
16392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16393 (eval "$ac_compile") 2>conftest.er1
16395 grep -v '^ *+' conftest.er1 >conftest.err
16397 cat conftest.err >&5
16398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16399 (exit $ac_status); } &&
16400 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16401 { (case "(($ac_try" in
16402 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16403 *) ac_try_echo
=$ac_try;;
16405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16406 (eval "$ac_try") 2>&5
16408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16409 (exit $ac_status); }; } &&
16410 { ac_try
='test -s conftest.$ac_objext'
16411 { (case "(($ac_try" in
16412 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16413 *) ac_try_echo=$ac_try;;
16415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16416 (eval "$ac_try") 2>&5
16418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16419 (exit $ac_status); }; }; then
16420 ac_cv_struct_tm=time.h
16422 echo "$as_me: failed program was:" >&5
16423 sed 's/^/| /' conftest.$ac_ext >&5
16425 ac_cv_struct_tm=sys/time.h
16428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16430 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
16431 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
16432 if test $ac_cv_struct_tm = sys/time.h; then
16434 cat >>confdefs.h <<\_ACEOF
16435 #define TM_IN_SYS_TIME 1
16440 { echo "$as_me:$LINENO: checking for int64_t" >&5
16441 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; }
16442 if test "${ac_cv_type_int64_t+set}" = set; then
16443 echo $ECHO_N "(cached) $ECHO_C" >&6
16445 cat >conftest.$ac_ext <<_ACEOF
16448 cat confdefs.h >>conftest.$ac_ext
16449 cat >>conftest.$ac_ext <<_ACEOF
16450 /* end confdefs.h. */
16451 $ac_includes_default
16452 typedef int64_t ac__type_new_;
16456 if ((ac__type_new_ *) 0)
16458 if (sizeof (ac__type_new_))
16464 rm -f conftest.$ac_objext
16465 if { (ac_try="$ac_compile"
16466 case "(($ac_try" in
16467 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16468 *) ac_try_echo
=$ac_try;;
16470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16471 (eval "$ac_compile") 2>conftest.er1
16473 grep -v '^ *+' conftest.er1
>conftest.err
16475 cat conftest.err
>&5
16476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16477 (exit $ac_status); } &&
16478 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16479 { (case "(($ac_try" in
16480 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16481 *) ac_try_echo=$ac_try;;
16483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16484 (eval "$ac_try") 2>&5
16486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16487 (exit $ac_status); }; } &&
16488 { ac_try='test -s conftest.$ac_objext'
16489 { (case "(($ac_try" in
16490 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16491 *) ac_try_echo
=$ac_try;;
16493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16494 (eval "$ac_try") 2>&5
16496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16497 (exit $ac_status); }; }; then
16498 ac_cv_type_int64_t
=yes
16500 echo "$as_me: failed program was:" >&5
16501 sed 's/^/| /' conftest.
$ac_ext >&5
16503 ac_cv_type_int64_t
=no
16506 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16508 { echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
16509 echo "${ECHO_T}$ac_cv_type_int64_t" >&6; }
16510 if test $ac_cv_type_int64_t = yes; then
16512 cat >>confdefs.h
<<_ACEOF
16513 #define HAVE_INT64_T 1
16518 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
16519 echo "$as_me: error: Type int64_t required but not found" >&2;}
16520 { (exit 1); exit 1; }; }
16523 { echo "$as_me:$LINENO: checking for uint64_t" >&5
16524 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
16525 if test "${ac_cv_type_uint64_t+set}" = set; then
16526 echo $ECHO_N "(cached) $ECHO_C" >&6
16528 cat >conftest.
$ac_ext <<_ACEOF
16531 cat confdefs.h
>>conftest.
$ac_ext
16532 cat >>conftest.
$ac_ext <<_ACEOF
16533 /* end confdefs.h. */
16534 $ac_includes_default
16535 typedef uint64_t ac__type_new_;
16539 if ((ac__type_new_ *) 0)
16541 if (sizeof (ac__type_new_))
16547 rm -f conftest.
$ac_objext
16548 if { (ac_try
="$ac_compile"
16549 case "(($ac_try" in
16550 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16551 *) ac_try_echo=$ac_try;;
16553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16554 (eval "$ac_compile") 2>conftest.er1
16556 grep -v '^ *+' conftest.er1 >conftest.err
16558 cat conftest.err >&5
16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560 (exit $ac_status); } &&
16561 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16562 { (case "(($ac_try" in
16563 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16564 *) ac_try_echo
=$ac_try;;
16566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16567 (eval "$ac_try") 2>&5
16569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16570 (exit $ac_status); }; } &&
16571 { ac_try
='test -s conftest.$ac_objext'
16572 { (case "(($ac_try" in
16573 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16574 *) ac_try_echo=$ac_try;;
16576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16577 (eval "$ac_try") 2>&5
16579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16580 (exit $ac_status); }; }; then
16581 ac_cv_type_uint64_t=yes
16583 echo "$as_me: failed program was:" >&5
16584 sed 's/^/| /' conftest.$ac_ext >&5
16586 ac_cv_type_uint64_t=no
16589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16591 { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
16592 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
16593 if test $ac_cv_type_uint64_t = yes; then
16595 cat >>confdefs.h <<_ACEOF
16596 #define HAVE_UINT64_T 1
16601 { echo "$as_me:$LINENO: checking for u_int64_t" >&5
16602 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6; }
16603 if test "${ac_cv_type_u_int64_t+set}" = set; then
16604 echo $ECHO_N "(cached) $ECHO_C" >&6
16606 cat >conftest.$ac_ext <<_ACEOF
16609 cat confdefs.h >>conftest.$ac_ext
16610 cat >>conftest.$ac_ext <<_ACEOF
16611 /* end confdefs.h. */
16612 $ac_includes_default
16613 typedef u_int64_t ac__type_new_;
16617 if ((ac__type_new_ *) 0)
16619 if (sizeof (ac__type_new_))
16625 rm -f conftest.$ac_objext
16626 if { (ac_try="$ac_compile"
16627 case "(($ac_try" in
16628 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16629 *) ac_try_echo
=$ac_try;;
16631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16632 (eval "$ac_compile") 2>conftest.er1
16634 grep -v '^ *+' conftest.er1
>conftest.err
16636 cat conftest.err
>&5
16637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16638 (exit $ac_status); } &&
16639 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16640 { (case "(($ac_try" in
16641 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16642 *) ac_try_echo=$ac_try;;
16644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16645 (eval "$ac_try") 2>&5
16647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16648 (exit $ac_status); }; } &&
16649 { ac_try='test -s conftest.$ac_objext'
16650 { (case "(($ac_try" in
16651 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16652 *) ac_try_echo
=$ac_try;;
16654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16655 (eval "$ac_try") 2>&5
16657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16658 (exit $ac_status); }; }; then
16659 ac_cv_type_u_int64_t
=yes
16661 echo "$as_me: failed program was:" >&5
16662 sed 's/^/| /' conftest.
$ac_ext >&5
16664 ac_cv_type_u_int64_t
=no
16667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16669 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
16670 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6; }
16671 if test $ac_cv_type_u_int64_t = yes; then
16673 cat >>confdefs.h
<<_ACEOF
16674 #define HAVE_U_INT64_T 1
16679 { { echo "$as_me:$LINENO: error: Type uint64_t or u_int64_t required but not found" >&5
16680 echo "$as_me: error: Type uint64_t or u_int64_t required but not found" >&2;}
16681 { (exit 1); exit 1; }; }
16695 for ac_func
in backtrace ceilf floorf roundf rintf nearbyintf getcwd
16697 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16698 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16700 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16701 echo $ECHO_N "(cached) $ECHO_C" >&6
16703 cat >conftest.
$ac_ext <<_ACEOF
16706 cat confdefs.h
>>conftest.
$ac_ext
16707 cat >>conftest.
$ac_ext <<_ACEOF
16708 /* end confdefs.h. */
16709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16711 #define $ac_func innocuous_$ac_func
16713 /* System header to define __stub macros and hopefully few prototypes,
16714 which can conflict with char $ac_func (); below.
16715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16716 <limits.h> exists even on freestanding compilers. */
16719 # include <limits.h>
16721 # include <assert.h>
16726 /* Override any GCC internal prototype to avoid an error.
16727 Use char because int might match the return type of a GCC
16728 builtin and then its argument prototype would still apply. */
16733 /* The GNU C library defines this for functions which it implements
16734 to always fail with ENOSYS. Some functions are actually named
16735 something starting with __ and the normal name is an alias. */
16736 #if defined __stub_$ac_func || defined __stub___$ac_func
16743 return $ac_func ();
16748 rm -f conftest.
$ac_objext conftest
$ac_exeext
16749 if { (ac_try
="$ac_link"
16750 case "(($ac_try" in
16751 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16752 *) ac_try_echo=$ac_try;;
16754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16755 (eval "$ac_link") 2>conftest.er1
16757 grep -v '^ *+' conftest.er1 >conftest.err
16759 cat conftest.err >&5
16760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16761 (exit $ac_status); } &&
16762 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16763 { (case "(($ac_try" in
16764 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16765 *) ac_try_echo
=$ac_try;;
16767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16768 (eval "$ac_try") 2>&5
16770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16771 (exit $ac_status); }; } &&
16772 { ac_try
='test -s conftest$ac_exeext'
16773 { (case "(($ac_try" in
16774 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16775 *) ac_try_echo=$ac_try;;
16777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16778 (eval "$ac_try") 2>&5
16780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16781 (exit $ac_status); }; }; then
16782 eval "$as_ac_var=yes"
16784 echo "$as_me: failed program was:" >&5
16785 sed 's/^/| /' conftest.$ac_ext >&5
16787 eval "$as_ac_var=no"
16790 rm -f core conftest.err conftest.$ac_objext \
16791 conftest$ac_exeext conftest.$ac_ext
16793 ac_res=`eval echo '${'$as_ac_var'}'`
16794 { echo "$as_me:$LINENO: result: $ac_res" >&5
16795 echo "${ECHO_T}$ac_res" >&6; }
16796 if test `eval echo '${'$as_ac_var'}'` = yes; then
16797 cat >>confdefs.h <<_ACEOF
16798 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16808 for ac_func in powf fmodf strtof round
16810 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16811 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16813 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16814 echo $ECHO_N "(cached) $ECHO_C" >&6
16816 cat >conftest.$ac_ext <<_ACEOF
16819 cat confdefs.h >>conftest.$ac_ext
16820 cat >>conftest.$ac_ext <<_ACEOF
16821 /* end confdefs.h. */
16822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16824 #define $ac_func innocuous_$ac_func
16826 /* System header to define __stub macros and hopefully few prototypes,
16827 which can conflict with char $ac_func (); below.
16828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16829 <limits.h> exists even on freestanding compilers. */
16832 # include <limits.h>
16834 # include <assert.h>
16839 /* Override any GCC internal prototype to avoid an error.
16840 Use char because int might match the return type of a GCC
16841 builtin and then its argument prototype would still apply. */
16846 /* The GNU C library defines this for functions which it implements
16847 to always fail with ENOSYS. Some functions are actually named
16848 something starting with __ and the normal name is an alias. */
16849 #if defined __stub_$ac_func || defined __stub___$ac_func
16856 return $ac_func ();
16861 rm -f conftest.$ac_objext conftest$ac_exeext
16862 if { (ac_try="$ac_link"
16863 case "(($ac_try" in
16864 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16865 *) ac_try_echo
=$ac_try;;
16867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16868 (eval "$ac_link") 2>conftest.er1
16870 grep -v '^ *+' conftest.er1
>conftest.err
16872 cat conftest.err
>&5
16873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16874 (exit $ac_status); } &&
16875 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16876 { (case "(($ac_try" in
16877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16878 *) ac_try_echo=$ac_try;;
16880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16881 (eval "$ac_try") 2>&5
16883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16884 (exit $ac_status); }; } &&
16885 { ac_try='test -s conftest$ac_exeext'
16886 { (case "(($ac_try" in
16887 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16888 *) ac_try_echo
=$ac_try;;
16890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16891 (eval "$ac_try") 2>&5
16893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16894 (exit $ac_status); }; }; then
16895 eval "$as_ac_var=yes"
16897 echo "$as_me: failed program was:" >&5
16898 sed 's/^/| /' conftest.
$ac_ext >&5
16900 eval "$as_ac_var=no"
16903 rm -f core conftest.err conftest.
$ac_objext \
16904 conftest
$ac_exeext conftest.
$ac_ext
16906 ac_res
=`eval echo '${'$as_ac_var'}'`
16907 { echo "$as_me:$LINENO: result: $ac_res" >&5
16908 echo "${ECHO_T}$ac_res" >&6; }
16909 if test `eval echo '${'$as_ac_var'}'` = yes; then
16910 cat >>confdefs.h
<<_ACEOF
16911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16922 for ac_func
in getpagesize getrusage getrlimit setrlimit gettimeofday
16924 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16925 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16927 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16928 echo $ECHO_N "(cached) $ECHO_C" >&6
16930 cat >conftest.
$ac_ext <<_ACEOF
16933 cat confdefs.h
>>conftest.
$ac_ext
16934 cat >>conftest.
$ac_ext <<_ACEOF
16935 /* end confdefs.h. */
16936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16938 #define $ac_func innocuous_$ac_func
16940 /* System header to define __stub macros and hopefully few prototypes,
16941 which can conflict with char $ac_func (); below.
16942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16943 <limits.h> exists even on freestanding compilers. */
16946 # include <limits.h>
16948 # include <assert.h>
16953 /* Override any GCC internal prototype to avoid an error.
16954 Use char because int might match the return type of a GCC
16955 builtin and then its argument prototype would still apply. */
16960 /* The GNU C library defines this for functions which it implements
16961 to always fail with ENOSYS. Some functions are actually named
16962 something starting with __ and the normal name is an alias. */
16963 #if defined __stub_$ac_func || defined __stub___$ac_func
16970 return $ac_func ();
16975 rm -f conftest.
$ac_objext conftest
$ac_exeext
16976 if { (ac_try
="$ac_link"
16977 case "(($ac_try" in
16978 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16979 *) ac_try_echo=$ac_try;;
16981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16982 (eval "$ac_link") 2>conftest.er1
16984 grep -v '^ *+' conftest.er1 >conftest.err
16986 cat conftest.err >&5
16987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16988 (exit $ac_status); } &&
16989 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16990 { (case "(($ac_try" in
16991 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16992 *) ac_try_echo
=$ac_try;;
16994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16995 (eval "$ac_try") 2>&5
16997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16998 (exit $ac_status); }; } &&
16999 { ac_try
='test -s conftest$ac_exeext'
17000 { (case "(($ac_try" in
17001 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17002 *) ac_try_echo=$ac_try;;
17004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17005 (eval "$ac_try") 2>&5
17007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17008 (exit $ac_status); }; }; then
17009 eval "$as_ac_var=yes"
17011 echo "$as_me: failed program was:" >&5
17012 sed 's/^/| /' conftest.$ac_ext >&5
17014 eval "$as_ac_var=no"
17017 rm -f core conftest.err conftest.$ac_objext \
17018 conftest$ac_exeext conftest.$ac_ext
17020 ac_res=`eval echo '${'$as_ac_var'}'`
17021 { echo "$as_me:$LINENO: result: $ac_res" >&5
17022 echo "${ECHO_T}$ac_res" >&6; }
17023 if test `eval echo '${'$as_ac_var'}'` = yes; then
17024 cat >>confdefs.h <<_ACEOF
17025 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
17034 for ac_func in isatty mkdtemp mkstemp
17036 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
17037 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17039 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17040 echo $ECHO_N "(cached) $ECHO_C" >&6
17042 cat >conftest.$ac_ext <<_ACEOF
17045 cat confdefs.h >>conftest.$ac_ext
17046 cat >>conftest.$ac_ext <<_ACEOF
17047 /* end confdefs.h. */
17048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17050 #define $ac_func innocuous_$ac_func
17052 /* System header to define __stub macros and hopefully few prototypes,
17053 which can conflict with char $ac_func (); below.
17054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17055 <limits.h> exists even on freestanding compilers. */
17058 # include <limits.h>
17060 # include <assert.h>
17065 /* Override any GCC internal prototype to avoid an error.
17066 Use char because int might match the return type of a GCC
17067 builtin and then its argument prototype would still apply. */
17072 /* The GNU C library defines this for functions which it implements
17073 to always fail with ENOSYS. Some functions are actually named
17074 something starting with __ and the normal name is an alias. */
17075 #if defined __stub_$ac_func || defined __stub___$ac_func
17082 return $ac_func ();
17087 rm -f conftest.$ac_objext conftest$ac_exeext
17088 if { (ac_try="$ac_link"
17089 case "(($ac_try" in
17090 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17091 *) ac_try_echo
=$ac_try;;
17093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17094 (eval "$ac_link") 2>conftest.er1
17096 grep -v '^ *+' conftest.er1
>conftest.err
17098 cat conftest.err
>&5
17099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17100 (exit $ac_status); } &&
17101 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17102 { (case "(($ac_try" in
17103 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17104 *) ac_try_echo=$ac_try;;
17106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17107 (eval "$ac_try") 2>&5
17109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17110 (exit $ac_status); }; } &&
17111 { ac_try='test -s conftest$ac_exeext'
17112 { (case "(($ac_try" in
17113 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17114 *) ac_try_echo
=$ac_try;;
17116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17117 (eval "$ac_try") 2>&5
17119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17120 (exit $ac_status); }; }; then
17121 eval "$as_ac_var=yes"
17123 echo "$as_me: failed program was:" >&5
17124 sed 's/^/| /' conftest.
$ac_ext >&5
17126 eval "$as_ac_var=no"
17129 rm -f core conftest.err conftest.
$ac_objext \
17130 conftest
$ac_exeext conftest.
$ac_ext
17132 ac_res
=`eval echo '${'$as_ac_var'}'`
17133 { echo "$as_me:$LINENO: result: $ac_res" >&5
17134 echo "${ECHO_T}$ac_res" >&6; }
17135 if test `eval echo '${'$as_ac_var'}'` = yes; then
17136 cat >>confdefs.h
<<_ACEOF
17137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17149 for ac_func
in mktemp posix_spawn realpath sbrk setrlimit strdup
17151 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17152 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17154 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17155 echo $ECHO_N "(cached) $ECHO_C" >&6
17157 cat >conftest.
$ac_ext <<_ACEOF
17160 cat confdefs.h
>>conftest.
$ac_ext
17161 cat >>conftest.
$ac_ext <<_ACEOF
17162 /* end confdefs.h. */
17163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17165 #define $ac_func innocuous_$ac_func
17167 /* System header to define __stub macros and hopefully few prototypes,
17168 which can conflict with char $ac_func (); below.
17169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17170 <limits.h> exists even on freestanding compilers. */
17173 # include <limits.h>
17175 # include <assert.h>
17180 /* Override any GCC internal prototype to avoid an error.
17181 Use char because int might match the return type of a GCC
17182 builtin and then its argument prototype would still apply. */
17187 /* The GNU C library defines this for functions which it implements
17188 to always fail with ENOSYS. Some functions are actually named
17189 something starting with __ and the normal name is an alias. */
17190 #if defined __stub_$ac_func || defined __stub___$ac_func
17197 return $ac_func ();
17202 rm -f conftest.
$ac_objext conftest
$ac_exeext
17203 if { (ac_try
="$ac_link"
17204 case "(($ac_try" in
17205 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17206 *) ac_try_echo=$ac_try;;
17208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17209 (eval "$ac_link") 2>conftest.er1
17211 grep -v '^ *+' conftest.er1 >conftest.err
17213 cat conftest.err >&5
17214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17215 (exit $ac_status); } &&
17216 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17217 { (case "(($ac_try" in
17218 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17219 *) ac_try_echo
=$ac_try;;
17221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17222 (eval "$ac_try") 2>&5
17224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17225 (exit $ac_status); }; } &&
17226 { ac_try
='test -s conftest$ac_exeext'
17227 { (case "(($ac_try" in
17228 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17229 *) ac_try_echo=$ac_try;;
17231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17232 (eval "$ac_try") 2>&5
17234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17235 (exit $ac_status); }; }; then
17236 eval "$as_ac_var=yes"
17238 echo "$as_me: failed program was:" >&5
17239 sed 's/^/| /' conftest.$ac_ext >&5
17241 eval "$as_ac_var=no"
17244 rm -f core conftest.err conftest.$ac_objext \
17245 conftest$ac_exeext conftest.$ac_ext
17247 ac_res=`eval echo '${'$as_ac_var'}'`
17248 { echo "$as_me:$LINENO: result: $ac_res" >&5
17249 echo "${ECHO_T}$ac_res" >&6; }
17250 if test `eval echo '${'$as_ac_var'}'` = yes; then
17251 cat >>confdefs.h <<_ACEOF
17252 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
17261 for ac_func in strerror strerror_r setenv
17263 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
17264 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17266 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17267 echo $ECHO_N "(cached) $ECHO_C" >&6
17269 cat >conftest.$ac_ext <<_ACEOF
17272 cat confdefs.h >>conftest.$ac_ext
17273 cat >>conftest.$ac_ext <<_ACEOF
17274 /* end confdefs.h. */
17275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17277 #define $ac_func innocuous_$ac_func
17279 /* System header to define __stub macros and hopefully few prototypes,
17280 which can conflict with char $ac_func (); below.
17281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17282 <limits.h> exists even on freestanding compilers. */
17285 # include <limits.h>
17287 # include <assert.h>
17292 /* Override any GCC internal prototype to avoid an error.
17293 Use char because int might match the return type of a GCC
17294 builtin and then its argument prototype would still apply. */
17299 /* The GNU C library defines this for functions which it implements
17300 to always fail with ENOSYS. Some functions are actually named
17301 something starting with __ and the normal name is an alias. */
17302 #if defined __stub_$ac_func || defined __stub___$ac_func
17309 return $ac_func ();
17314 rm -f conftest.$ac_objext conftest$ac_exeext
17315 if { (ac_try="$ac_link"
17316 case "(($ac_try" in
17317 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17318 *) ac_try_echo
=$ac_try;;
17320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17321 (eval "$ac_link") 2>conftest.er1
17323 grep -v '^ *+' conftest.er1
>conftest.err
17325 cat conftest.err
>&5
17326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327 (exit $ac_status); } &&
17328 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17329 { (case "(($ac_try" in
17330 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17331 *) ac_try_echo=$ac_try;;
17333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17334 (eval "$ac_try") 2>&5
17336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17337 (exit $ac_status); }; } &&
17338 { ac_try='test -s conftest$ac_exeext'
17339 { (case "(($ac_try" in
17340 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17341 *) ac_try_echo
=$ac_try;;
17343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17344 (eval "$ac_try") 2>&5
17346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17347 (exit $ac_status); }; }; then
17348 eval "$as_ac_var=yes"
17350 echo "$as_me: failed program was:" >&5
17351 sed 's/^/| /' conftest.
$ac_ext >&5
17353 eval "$as_ac_var=no"
17356 rm -f core conftest.err conftest.
$ac_objext \
17357 conftest
$ac_exeext conftest.
$ac_ext
17359 ac_res
=`eval echo '${'$as_ac_var'}'`
17360 { echo "$as_me:$LINENO: result: $ac_res" >&5
17361 echo "${ECHO_T}$ac_res" >&6; }
17362 if test `eval echo '${'$as_ac_var'}'` = yes; then
17363 cat >>confdefs.h
<<_ACEOF
17364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17374 for ac_func
in strtoll strtoq sysconf malloc_zone_statistics
17376 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17377 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17379 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17380 echo $ECHO_N "(cached) $ECHO_C" >&6
17382 cat >conftest.
$ac_ext <<_ACEOF
17385 cat confdefs.h
>>conftest.
$ac_ext
17386 cat >>conftest.
$ac_ext <<_ACEOF
17387 /* end confdefs.h. */
17388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17390 #define $ac_func innocuous_$ac_func
17392 /* System header to define __stub macros and hopefully few prototypes,
17393 which can conflict with char $ac_func (); below.
17394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17395 <limits.h> exists even on freestanding compilers. */
17398 # include <limits.h>
17400 # include <assert.h>
17405 /* Override any GCC internal prototype to avoid an error.
17406 Use char because int might match the return type of a GCC
17407 builtin and then its argument prototype would still apply. */
17412 /* The GNU C library defines this for functions which it implements
17413 to always fail with ENOSYS. Some functions are actually named
17414 something starting with __ and the normal name is an alias. */
17415 #if defined __stub_$ac_func || defined __stub___$ac_func
17422 return $ac_func ();
17427 rm -f conftest.
$ac_objext conftest
$ac_exeext
17428 if { (ac_try
="$ac_link"
17429 case "(($ac_try" in
17430 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17431 *) ac_try_echo=$ac_try;;
17433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17434 (eval "$ac_link") 2>conftest.er1
17436 grep -v '^ *+' conftest.er1 >conftest.err
17438 cat conftest.err >&5
17439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17440 (exit $ac_status); } &&
17441 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17442 { (case "(($ac_try" in
17443 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17444 *) ac_try_echo
=$ac_try;;
17446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17447 (eval "$ac_try") 2>&5
17449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17450 (exit $ac_status); }; } &&
17451 { ac_try
='test -s conftest$ac_exeext'
17452 { (case "(($ac_try" in
17453 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17454 *) ac_try_echo=$ac_try;;
17456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17457 (eval "$ac_try") 2>&5
17459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17460 (exit $ac_status); }; }; then
17461 eval "$as_ac_var=yes"
17463 echo "$as_me: failed program was:" >&5
17464 sed 's/^/| /' conftest.$ac_ext >&5
17466 eval "$as_ac_var=no"
17469 rm -f core conftest.err conftest.$ac_objext \
17470 conftest$ac_exeext conftest.$ac_ext
17472 ac_res=`eval echo '${'$as_ac_var'}'`
17473 { echo "$as_me:$LINENO: result: $ac_res" >&5
17474 echo "${ECHO_T}$ac_res" >&6; }
17475 if test `eval echo '${'$as_ac_var'}'` = yes; then
17476 cat >>confdefs.h <<_ACEOF
17477 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
17488 for ac_func in setjmp longjmp sigsetjmp siglongjmp writev
17490 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
17491 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17493 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17494 echo $ECHO_N "(cached) $ECHO_C" >&6
17496 cat >conftest.$ac_ext <<_ACEOF
17499 cat confdefs.h >>conftest.$ac_ext
17500 cat >>conftest.$ac_ext <<_ACEOF
17501 /* end confdefs.h. */
17502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17504 #define $ac_func innocuous_$ac_func
17506 /* System header to define __stub macros and hopefully few prototypes,
17507 which can conflict with char $ac_func (); below.
17508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17509 <limits.h> exists even on freestanding compilers. */
17512 # include <limits.h>
17514 # include <assert.h>
17519 /* Override any GCC internal prototype to avoid an error.
17520 Use char because int might match the return type of a GCC
17521 builtin and then its argument prototype would still apply. */
17526 /* The GNU C library defines this for functions which it implements
17527 to always fail with ENOSYS. Some functions are actually named
17528 something starting with __ and the normal name is an alias. */
17529 #if defined __stub_$ac_func || defined __stub___$ac_func
17536 return $ac_func ();
17541 rm -f conftest.$ac_objext conftest$ac_exeext
17542 if { (ac_try="$ac_link"
17543 case "(($ac_try" in
17544 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17545 *) ac_try_echo
=$ac_try;;
17547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17548 (eval "$ac_link") 2>conftest.er1
17550 grep -v '^ *+' conftest.er1
>conftest.err
17552 cat conftest.err
>&5
17553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17554 (exit $ac_status); } &&
17555 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17556 { (case "(($ac_try" in
17557 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17558 *) ac_try_echo=$ac_try;;
17560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17561 (eval "$ac_try") 2>&5
17563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17564 (exit $ac_status); }; } &&
17565 { ac_try='test -s conftest$ac_exeext'
17566 { (case "(($ac_try" in
17567 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17568 *) ac_try_echo
=$ac_try;;
17570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17571 (eval "$ac_try") 2>&5
17573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17574 (exit $ac_status); }; }; then
17575 eval "$as_ac_var=yes"
17577 echo "$as_me: failed program was:" >&5
17578 sed 's/^/| /' conftest.
$ac_ext >&5
17580 eval "$as_ac_var=no"
17583 rm -f core conftest.err conftest.
$ac_objext \
17584 conftest
$ac_exeext conftest.
$ac_ext
17586 ac_res
=`eval echo '${'$as_ac_var'}'`
17587 { echo "$as_me:$LINENO: result: $ac_res" >&5
17588 echo "${ECHO_T}$ac_res" >&6; }
17589 if test `eval echo '${'$as_ac_var'}'` = yes; then
17590 cat >>confdefs.h
<<_ACEOF
17591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17597 { echo "$as_me:$LINENO: checking if printf has the %a format character" >&5
17598 echo $ECHO_N "checking if printf has the %a format character... $ECHO_C" >&6; }
17599 if test "${llvm_cv_c_printf_a+set}" = set; then
17600 echo $ECHO_N "(cached) $ECHO_C" >&6
17603 ac_cpp
='$CPP $CPPFLAGS'
17604 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17605 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17606 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17608 if test "$cross_compiling" = yes; then
17609 llvmac_cv_c_printf_a
=no
17611 cat >conftest.
$ac_ext <<_ACEOF
17615 cat confdefs.h
>>conftest.
$ac_ext
17616 cat >>conftest.
$ac_ext <<_ACEOF
17617 /* end confdefs.h. */
17620 #include <stdlib.h>
17626 volatile double A, B;
17630 sprintf(Buffer, "%a", A);
17634 if (A != 0x1.999999999999ap-4)
17641 rm -f conftest
$ac_exeext
17642 if { (ac_try
="$ac_link"
17643 case "(($ac_try" in
17644 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17645 *) ac_try_echo=$ac_try;;
17647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17648 (eval "$ac_link") 2>&5
17650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17651 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17652 { (case "(($ac_try" in
17653 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17654 *) ac_try_echo
=$ac_try;;
17656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17657 (eval "$ac_try") 2>&5
17659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17660 (exit $ac_status); }; }; then
17661 llvm_cv_c_printf_a
=yes
17663 echo "$as_me: program exited with status $ac_status" >&5
17664 echo "$as_me: failed program was:" >&5
17665 sed 's/^/| /' conftest.
$ac_ext >&5
17667 ( exit $ac_status )
17668 llvmac_cv_c_printf_a
=no
17670 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17675 ac_cpp
='$CPP $CPPFLAGS'
17676 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17677 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17678 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17681 { echo "$as_me:$LINENO: result: $llvm_cv_c_printf_a" >&5
17682 echo "${ECHO_T}$llvm_cv_c_printf_a" >&6; }
17683 if test "$llvm_cv_c_printf_a" = "yes"; then
17685 cat >>confdefs.h
<<\_ACEOF
17686 #define HAVE_PRINTF_A 1
17692 { echo "$as_me:$LINENO: checking for srand48/lrand48/drand48 in <stdlib.h>" >&5
17693 echo $ECHO_N "checking for srand48/lrand48/drand48 in <stdlib.h>... $ECHO_C" >&6; }
17694 if test "${ac_cv_func_rand48+set}" = set; then
17695 echo $ECHO_N "(cached) $ECHO_C" >&6
17698 ac_cpp
='$CXXCPP $CPPFLAGS'
17699 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17700 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17701 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17703 cat >conftest.
$ac_ext <<_ACEOF
17706 cat confdefs.h
>>conftest.
$ac_ext
17707 cat >>conftest.
$ac_ext <<_ACEOF
17708 /* end confdefs.h. */
17709 #include <stdlib.h>
17713 srand48(0);lrand48();drand48();
17718 rm -f conftest.
$ac_objext
17719 if { (ac_try
="$ac_compile"
17720 case "(($ac_try" in
17721 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17722 *) ac_try_echo=$ac_try;;
17724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17725 (eval "$ac_compile") 2>conftest.er1
17727 grep -v '^ *+' conftest.er1 >conftest.err
17729 cat conftest.err >&5
17730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17731 (exit $ac_status); } &&
17732 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17733 { (case "(($ac_try" in
17734 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17735 *) ac_try_echo
=$ac_try;;
17737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17738 (eval "$ac_try") 2>&5
17740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17741 (exit $ac_status); }; } &&
17742 { ac_try
='test -s conftest.$ac_objext'
17743 { (case "(($ac_try" in
17744 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17745 *) ac_try_echo=$ac_try;;
17747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17748 (eval "$ac_try") 2>&5
17750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17751 (exit $ac_status); }; }; then
17752 ac_cv_func_rand48=yes
17754 echo "$as_me: failed program was:" >&5
17755 sed 's/^/| /' conftest.$ac_ext >&5
17757 ac_cv_func_rand48=no
17760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17762 ac_cpp='$CPP $CPPFLAGS'
17763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17768 { echo "$as_me:$LINENO: result: $ac_cv_func_rand48" >&5
17769 echo "${ECHO_T}$ac_cv_func_rand48" >&6; }
17771 if test "$ac_cv_func_rand48" = "yes" ; then
17773 cat >>confdefs.h <<\_ACEOF
17774 #define HAVE_RAND48 1
17780 { echo "$as_me:$LINENO: checking whether strerror_s is declared" >&5
17781 echo $ECHO_N "checking whether strerror_s is declared... $ECHO_C" >&6; }
17782 if test "${ac_cv_have_decl_strerror_s+set}" = set; then
17783 echo $ECHO_N "(cached) $ECHO_C" >&6
17785 cat >conftest.$ac_ext <<_ACEOF
17788 cat confdefs.h >>conftest.$ac_ext
17789 cat >>conftest.$ac_ext <<_ACEOF
17790 /* end confdefs.h. */
17791 $ac_includes_default
17796 char *p = (char *) strerror_s;
17804 rm -f conftest.$ac_objext
17805 if { (ac_try="$ac_compile"
17806 case "(($ac_try" in
17807 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17808 *) ac_try_echo
=$ac_try;;
17810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17811 (eval "$ac_compile") 2>conftest.er1
17813 grep -v '^ *+' conftest.er1
>conftest.err
17815 cat conftest.err
>&5
17816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817 (exit $ac_status); } &&
17818 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17819 { (case "(($ac_try" in
17820 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17821 *) ac_try_echo=$ac_try;;
17823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17824 (eval "$ac_try") 2>&5
17826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17827 (exit $ac_status); }; } &&
17828 { ac_try='test -s conftest.$ac_objext'
17829 { (case "(($ac_try" in
17830 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17831 *) ac_try_echo
=$ac_try;;
17833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17834 (eval "$ac_try") 2>&5
17836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17837 (exit $ac_status); }; }; then
17838 ac_cv_have_decl_strerror_s
=yes
17840 echo "$as_me: failed program was:" >&5
17841 sed 's/^/| /' conftest.
$ac_ext >&5
17843 ac_cv_have_decl_strerror_s
=no
17846 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17848 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_s" >&5
17849 echo "${ECHO_T}$ac_cv_have_decl_strerror_s" >&6; }
17850 if test $ac_cv_have_decl_strerror_s = yes; then
17852 cat >>confdefs.h
<<_ACEOF
17853 #define HAVE_DECL_STRERROR_S 1
17858 cat >>confdefs.h
<<_ACEOF
17859 #define HAVE_DECL_STRERROR_S 0
17867 if test "$llvm_cv_os_type" = "MingW" ; then
17868 { echo "$as_me:$LINENO: checking for _alloca in -lgcc" >&5
17869 echo $ECHO_N "checking for _alloca in -lgcc... $ECHO_C" >&6; }
17870 if test "${ac_cv_lib_gcc__alloca+set}" = set; then
17871 echo $ECHO_N "(cached) $ECHO_C" >&6
17873 ac_check_lib_save_LIBS
=$LIBS
17875 cat >conftest.
$ac_ext <<_ACEOF
17878 cat confdefs.h
>>conftest.
$ac_ext
17879 cat >>conftest.
$ac_ext <<_ACEOF
17880 /* end confdefs.h. */
17882 /* Override any GCC internal prototype to avoid an error.
17883 Use char because int might match the return type of a GCC
17884 builtin and then its argument prototype would still apply. */
17897 rm -f conftest.
$ac_objext conftest
$ac_exeext
17898 if { (ac_try
="$ac_link"
17899 case "(($ac_try" in
17900 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17901 *) ac_try_echo=$ac_try;;
17903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17904 (eval "$ac_link") 2>conftest.er1
17906 grep -v '^ *+' conftest.er1 >conftest.err
17908 cat conftest.err >&5
17909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17910 (exit $ac_status); } &&
17911 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17912 { (case "(($ac_try" in
17913 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17914 *) ac_try_echo
=$ac_try;;
17916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17917 (eval "$ac_try") 2>&5
17919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17920 (exit $ac_status); }; } &&
17921 { ac_try
='test -s conftest$ac_exeext'
17922 { (case "(($ac_try" in
17923 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17924 *) ac_try_echo=$ac_try;;
17926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17927 (eval "$ac_try") 2>&5
17929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17930 (exit $ac_status); }; }; then
17931 ac_cv_lib_gcc__alloca=yes
17933 echo "$as_me: failed program was:" >&5
17934 sed 's/^/| /' conftest.$ac_ext >&5
17936 ac_cv_lib_gcc__alloca=no
17939 rm -f core conftest.err conftest.$ac_objext \
17940 conftest$ac_exeext conftest.$ac_ext
17941 LIBS=$ac_check_lib_save_LIBS
17943 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc__alloca" >&5
17944 echo "${ECHO_T}$ac_cv_lib_gcc__alloca" >&6; }
17945 if test $ac_cv_lib_gcc__alloca = yes; then
17947 cat >>confdefs.h <<\_ACEOF
17948 #define HAVE__ALLOCA 1
17953 { echo "$as_me:$LINENO: checking for __alloca in -lgcc" >&5
17954 echo $ECHO_N "checking for __alloca in -lgcc... $ECHO_C" >&6; }
17955 if test "${ac_cv_lib_gcc___alloca+set}" = set; then
17956 echo $ECHO_N "(cached) $ECHO_C" >&6
17958 ac_check_lib_save_LIBS=$LIBS
17960 cat >conftest.$ac_ext <<_ACEOF
17963 cat confdefs.h >>conftest.$ac_ext
17964 cat >>conftest.$ac_ext <<_ACEOF
17965 /* end confdefs.h. */
17967 /* Override any GCC internal prototype to avoid an error.
17968 Use char because int might match the return type of a GCC
17969 builtin and then its argument prototype would still apply. */
17977 return __alloca ();
17982 rm -f conftest.$ac_objext conftest$ac_exeext
17983 if { (ac_try="$ac_link"
17984 case "(($ac_try" in
17985 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17986 *) ac_try_echo
=$ac_try;;
17988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17989 (eval "$ac_link") 2>conftest.er1
17991 grep -v '^ *+' conftest.er1
>conftest.err
17993 cat conftest.err
>&5
17994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17995 (exit $ac_status); } &&
17996 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17997 { (case "(($ac_try" in
17998 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17999 *) ac_try_echo=$ac_try;;
18001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18002 (eval "$ac_try") 2>&5
18004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18005 (exit $ac_status); }; } &&
18006 { ac_try='test -s conftest$ac_exeext'
18007 { (case "(($ac_try" in
18008 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18009 *) ac_try_echo
=$ac_try;;
18011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18012 (eval "$ac_try") 2>&5
18014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18015 (exit $ac_status); }; }; then
18016 ac_cv_lib_gcc___alloca
=yes
18018 echo "$as_me: failed program was:" >&5
18019 sed 's/^/| /' conftest.
$ac_ext >&5
18021 ac_cv_lib_gcc___alloca
=no
18024 rm -f core conftest.err conftest.
$ac_objext \
18025 conftest
$ac_exeext conftest.
$ac_ext
18026 LIBS
=$ac_check_lib_save_LIBS
18028 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___alloca" >&5
18029 echo "${ECHO_T}$ac_cv_lib_gcc___alloca" >&6; }
18030 if test $ac_cv_lib_gcc___alloca = yes; then
18032 cat >>confdefs.h
<<\_ACEOF
18033 #define HAVE___ALLOCA 1
18038 { echo "$as_me:$LINENO: checking for __chkstk in -lgcc" >&5
18039 echo $ECHO_N "checking for __chkstk in -lgcc... $ECHO_C" >&6; }
18040 if test "${ac_cv_lib_gcc___chkstk+set}" = set; then
18041 echo $ECHO_N "(cached) $ECHO_C" >&6
18043 ac_check_lib_save_LIBS
=$LIBS
18045 cat >conftest.
$ac_ext <<_ACEOF
18048 cat confdefs.h
>>conftest.
$ac_ext
18049 cat >>conftest.
$ac_ext <<_ACEOF
18050 /* end confdefs.h. */
18052 /* Override any GCC internal prototype to avoid an error.
18053 Use char because int might match the return type of a GCC
18054 builtin and then its argument prototype would still apply. */
18062 return __chkstk ();
18067 rm -f conftest.
$ac_objext conftest
$ac_exeext
18068 if { (ac_try
="$ac_link"
18069 case "(($ac_try" in
18070 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18071 *) ac_try_echo=$ac_try;;
18073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18074 (eval "$ac_link") 2>conftest.er1
18076 grep -v '^ *+' conftest.er1 >conftest.err
18078 cat conftest.err >&5
18079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18080 (exit $ac_status); } &&
18081 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18082 { (case "(($ac_try" in
18083 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18084 *) ac_try_echo
=$ac_try;;
18086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18087 (eval "$ac_try") 2>&5
18089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18090 (exit $ac_status); }; } &&
18091 { ac_try
='test -s conftest$ac_exeext'
18092 { (case "(($ac_try" in
18093 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18094 *) ac_try_echo=$ac_try;;
18096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18097 (eval "$ac_try") 2>&5
18099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18100 (exit $ac_status); }; }; then
18101 ac_cv_lib_gcc___chkstk=yes
18103 echo "$as_me: failed program was:" >&5
18104 sed 's/^/| /' conftest.$ac_ext >&5
18106 ac_cv_lib_gcc___chkstk=no
18109 rm -f core conftest.err conftest.$ac_objext \
18110 conftest$ac_exeext conftest.$ac_ext
18111 LIBS=$ac_check_lib_save_LIBS
18113 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___chkstk" >&5
18114 echo "${ECHO_T}$ac_cv_lib_gcc___chkstk" >&6; }
18115 if test $ac_cv_lib_gcc___chkstk = yes; then
18117 cat >>confdefs.h <<\_ACEOF
18118 #define HAVE___CHKSTK 1
18123 { echo "$as_me:$LINENO: checking for ___chkstk in -lgcc" >&5
18124 echo $ECHO_N "checking for ___chkstk in -lgcc... $ECHO_C" >&6; }
18125 if test "${ac_cv_lib_gcc____chkstk+set}" = set; then
18126 echo $ECHO_N "(cached) $ECHO_C" >&6
18128 ac_check_lib_save_LIBS=$LIBS
18130 cat >conftest.$ac_ext <<_ACEOF
18133 cat confdefs.h >>conftest.$ac_ext
18134 cat >>conftest.$ac_ext <<_ACEOF
18135 /* end confdefs.h. */
18137 /* Override any GCC internal prototype to avoid an error.
18138 Use char because int might match the return type of a GCC
18139 builtin and then its argument prototype would still apply. */
18147 return ___chkstk ();
18152 rm -f conftest.$ac_objext conftest$ac_exeext
18153 if { (ac_try="$ac_link"
18154 case "(($ac_try" in
18155 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18156 *) ac_try_echo
=$ac_try;;
18158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18159 (eval "$ac_link") 2>conftest.er1
18161 grep -v '^ *+' conftest.er1
>conftest.err
18163 cat conftest.err
>&5
18164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165 (exit $ac_status); } &&
18166 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18167 { (case "(($ac_try" in
18168 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18169 *) ac_try_echo=$ac_try;;
18171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18172 (eval "$ac_try") 2>&5
18174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18175 (exit $ac_status); }; } &&
18176 { ac_try='test -s conftest$ac_exeext'
18177 { (case "(($ac_try" in
18178 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18179 *) ac_try_echo
=$ac_try;;
18181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18182 (eval "$ac_try") 2>&5
18184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18185 (exit $ac_status); }; }; then
18186 ac_cv_lib_gcc____chkstk
=yes
18188 echo "$as_me: failed program was:" >&5
18189 sed 's/^/| /' conftest.
$ac_ext >&5
18191 ac_cv_lib_gcc____chkstk
=no
18194 rm -f core conftest.err conftest.
$ac_objext \
18195 conftest
$ac_exeext conftest.
$ac_ext
18196 LIBS
=$ac_check_lib_save_LIBS
18198 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc____chkstk" >&5
18199 echo "${ECHO_T}$ac_cv_lib_gcc____chkstk" >&6; }
18200 if test $ac_cv_lib_gcc____chkstk = yes; then
18202 cat >>confdefs.h
<<\_ACEOF
18203 #define HAVE____CHKSTK 1
18209 { echo "$as_me:$LINENO: checking for __ashldi3 in -lgcc" >&5
18210 echo $ECHO_N "checking for __ashldi3 in -lgcc... $ECHO_C" >&6; }
18211 if test "${ac_cv_lib_gcc___ashldi3+set}" = set; then
18212 echo $ECHO_N "(cached) $ECHO_C" >&6
18214 ac_check_lib_save_LIBS
=$LIBS
18216 cat >conftest.
$ac_ext <<_ACEOF
18219 cat confdefs.h
>>conftest.
$ac_ext
18220 cat >>conftest.
$ac_ext <<_ACEOF
18221 /* end confdefs.h. */
18223 /* Override any GCC internal prototype to avoid an error.
18224 Use char because int might match the return type of a GCC
18225 builtin and then its argument prototype would still apply. */
18233 return __ashldi3 ();
18238 rm -f conftest.
$ac_objext conftest
$ac_exeext
18239 if { (ac_try
="$ac_link"
18240 case "(($ac_try" in
18241 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18242 *) ac_try_echo=$ac_try;;
18244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18245 (eval "$ac_link") 2>conftest.er1
18247 grep -v '^ *+' conftest.er1 >conftest.err
18249 cat conftest.err >&5
18250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18251 (exit $ac_status); } &&
18252 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18253 { (case "(($ac_try" in
18254 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18255 *) ac_try_echo
=$ac_try;;
18257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18258 (eval "$ac_try") 2>&5
18260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18261 (exit $ac_status); }; } &&
18262 { ac_try
='test -s conftest$ac_exeext'
18263 { (case "(($ac_try" in
18264 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18265 *) ac_try_echo=$ac_try;;
18267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18268 (eval "$ac_try") 2>&5
18270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18271 (exit $ac_status); }; }; then
18272 ac_cv_lib_gcc___ashldi3=yes
18274 echo "$as_me: failed program was:" >&5
18275 sed 's/^/| /' conftest.$ac_ext >&5
18277 ac_cv_lib_gcc___ashldi3=no
18280 rm -f core conftest.err conftest.$ac_objext \
18281 conftest$ac_exeext conftest.$ac_ext
18282 LIBS=$ac_check_lib_save_LIBS
18284 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___ashldi3" >&5
18285 echo "${ECHO_T}$ac_cv_lib_gcc___ashldi3" >&6; }
18286 if test $ac_cv_lib_gcc___ashldi3 = yes; then
18288 cat >>confdefs.h <<\_ACEOF
18289 #define HAVE___ASHLDI3 1
18294 { echo "$as_me:$LINENO: checking for __ashrdi3 in -lgcc" >&5
18295 echo $ECHO_N "checking for __ashrdi3 in -lgcc... $ECHO_C" >&6; }
18296 if test "${ac_cv_lib_gcc___ashrdi3+set}" = set; then
18297 echo $ECHO_N "(cached) $ECHO_C" >&6
18299 ac_check_lib_save_LIBS=$LIBS
18301 cat >conftest.$ac_ext <<_ACEOF
18304 cat confdefs.h >>conftest.$ac_ext
18305 cat >>conftest.$ac_ext <<_ACEOF
18306 /* end confdefs.h. */
18308 /* Override any GCC internal prototype to avoid an error.
18309 Use char because int might match the return type of a GCC
18310 builtin and then its argument prototype would still apply. */
18318 return __ashrdi3 ();
18323 rm -f conftest.$ac_objext conftest$ac_exeext
18324 if { (ac_try="$ac_link"
18325 case "(($ac_try" in
18326 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18327 *) ac_try_echo
=$ac_try;;
18329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18330 (eval "$ac_link") 2>conftest.er1
18332 grep -v '^ *+' conftest.er1
>conftest.err
18334 cat conftest.err
>&5
18335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18336 (exit $ac_status); } &&
18337 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18338 { (case "(($ac_try" in
18339 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18340 *) ac_try_echo=$ac_try;;
18342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18343 (eval "$ac_try") 2>&5
18345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18346 (exit $ac_status); }; } &&
18347 { ac_try='test -s conftest$ac_exeext'
18348 { (case "(($ac_try" in
18349 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18350 *) ac_try_echo
=$ac_try;;
18352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18353 (eval "$ac_try") 2>&5
18355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18356 (exit $ac_status); }; }; then
18357 ac_cv_lib_gcc___ashrdi3
=yes
18359 echo "$as_me: failed program was:" >&5
18360 sed 's/^/| /' conftest.
$ac_ext >&5
18362 ac_cv_lib_gcc___ashrdi3
=no
18365 rm -f core conftest.err conftest.
$ac_objext \
18366 conftest
$ac_exeext conftest.
$ac_ext
18367 LIBS
=$ac_check_lib_save_LIBS
18369 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___ashrdi3" >&5
18370 echo "${ECHO_T}$ac_cv_lib_gcc___ashrdi3" >&6; }
18371 if test $ac_cv_lib_gcc___ashrdi3 = yes; then
18373 cat >>confdefs.h
<<\_ACEOF
18374 #define HAVE___ASHRDI3 1
18379 { echo "$as_me:$LINENO: checking for __divdi3 in -lgcc" >&5
18380 echo $ECHO_N "checking for __divdi3 in -lgcc... $ECHO_C" >&6; }
18381 if test "${ac_cv_lib_gcc___divdi3+set}" = set; then
18382 echo $ECHO_N "(cached) $ECHO_C" >&6
18384 ac_check_lib_save_LIBS
=$LIBS
18386 cat >conftest.
$ac_ext <<_ACEOF
18389 cat confdefs.h
>>conftest.
$ac_ext
18390 cat >>conftest.
$ac_ext <<_ACEOF
18391 /* end confdefs.h. */
18393 /* Override any GCC internal prototype to avoid an error.
18394 Use char because int might match the return type of a GCC
18395 builtin and then its argument prototype would still apply. */
18403 return __divdi3 ();
18408 rm -f conftest.
$ac_objext conftest
$ac_exeext
18409 if { (ac_try
="$ac_link"
18410 case "(($ac_try" in
18411 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18412 *) ac_try_echo=$ac_try;;
18414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18415 (eval "$ac_link") 2>conftest.er1
18417 grep -v '^ *+' conftest.er1 >conftest.err
18419 cat conftest.err >&5
18420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18421 (exit $ac_status); } &&
18422 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18423 { (case "(($ac_try" in
18424 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18425 *) ac_try_echo
=$ac_try;;
18427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18428 (eval "$ac_try") 2>&5
18430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18431 (exit $ac_status); }; } &&
18432 { ac_try
='test -s conftest$ac_exeext'
18433 { (case "(($ac_try" in
18434 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18435 *) ac_try_echo=$ac_try;;
18437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18438 (eval "$ac_try") 2>&5
18440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18441 (exit $ac_status); }; }; then
18442 ac_cv_lib_gcc___divdi3=yes
18444 echo "$as_me: failed program was:" >&5
18445 sed 's/^/| /' conftest.$ac_ext >&5
18447 ac_cv_lib_gcc___divdi3=no
18450 rm -f core conftest.err conftest.$ac_objext \
18451 conftest$ac_exeext conftest.$ac_ext
18452 LIBS=$ac_check_lib_save_LIBS
18454 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___divdi3" >&5
18455 echo "${ECHO_T}$ac_cv_lib_gcc___divdi3" >&6; }
18456 if test $ac_cv_lib_gcc___divdi3 = yes; then
18458 cat >>confdefs.h <<\_ACEOF
18459 #define HAVE___DIVDI3 1
18464 { echo "$as_me:$LINENO: checking for __fixdfdi in -lgcc" >&5
18465 echo $ECHO_N "checking for __fixdfdi in -lgcc... $ECHO_C" >&6; }
18466 if test "${ac_cv_lib_gcc___fixdfdi+set}" = set; then
18467 echo $ECHO_N "(cached) $ECHO_C" >&6
18469 ac_check_lib_save_LIBS=$LIBS
18471 cat >conftest.$ac_ext <<_ACEOF
18474 cat confdefs.h >>conftest.$ac_ext
18475 cat >>conftest.$ac_ext <<_ACEOF
18476 /* end confdefs.h. */
18478 /* Override any GCC internal prototype to avoid an error.
18479 Use char because int might match the return type of a GCC
18480 builtin and then its argument prototype would still apply. */
18488 return __fixdfdi ();
18493 rm -f conftest.$ac_objext conftest$ac_exeext
18494 if { (ac_try="$ac_link"
18495 case "(($ac_try" in
18496 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18497 *) ac_try_echo
=$ac_try;;
18499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18500 (eval "$ac_link") 2>conftest.er1
18502 grep -v '^ *+' conftest.er1
>conftest.err
18504 cat conftest.err
>&5
18505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18506 (exit $ac_status); } &&
18507 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18508 { (case "(($ac_try" in
18509 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18510 *) ac_try_echo=$ac_try;;
18512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18513 (eval "$ac_try") 2>&5
18515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18516 (exit $ac_status); }; } &&
18517 { ac_try='test -s conftest$ac_exeext'
18518 { (case "(($ac_try" in
18519 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18520 *) ac_try_echo
=$ac_try;;
18522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18523 (eval "$ac_try") 2>&5
18525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526 (exit $ac_status); }; }; then
18527 ac_cv_lib_gcc___fixdfdi
=yes
18529 echo "$as_me: failed program was:" >&5
18530 sed 's/^/| /' conftest.
$ac_ext >&5
18532 ac_cv_lib_gcc___fixdfdi
=no
18535 rm -f core conftest.err conftest.
$ac_objext \
18536 conftest
$ac_exeext conftest.
$ac_ext
18537 LIBS
=$ac_check_lib_save_LIBS
18539 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___fixdfdi" >&5
18540 echo "${ECHO_T}$ac_cv_lib_gcc___fixdfdi" >&6; }
18541 if test $ac_cv_lib_gcc___fixdfdi = yes; then
18543 cat >>confdefs.h
<<\_ACEOF
18544 #define HAVE___FIXDFDI 1
18549 { echo "$as_me:$LINENO: checking for __fixsfdi in -lgcc" >&5
18550 echo $ECHO_N "checking for __fixsfdi in -lgcc... $ECHO_C" >&6; }
18551 if test "${ac_cv_lib_gcc___fixsfdi+set}" = set; then
18552 echo $ECHO_N "(cached) $ECHO_C" >&6
18554 ac_check_lib_save_LIBS
=$LIBS
18556 cat >conftest.
$ac_ext <<_ACEOF
18559 cat confdefs.h
>>conftest.
$ac_ext
18560 cat >>conftest.
$ac_ext <<_ACEOF
18561 /* end confdefs.h. */
18563 /* Override any GCC internal prototype to avoid an error.
18564 Use char because int might match the return type of a GCC
18565 builtin and then its argument prototype would still apply. */
18573 return __fixsfdi ();
18578 rm -f conftest.
$ac_objext conftest
$ac_exeext
18579 if { (ac_try
="$ac_link"
18580 case "(($ac_try" in
18581 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18582 *) ac_try_echo=$ac_try;;
18584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18585 (eval "$ac_link") 2>conftest.er1
18587 grep -v '^ *+' conftest.er1 >conftest.err
18589 cat conftest.err >&5
18590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591 (exit $ac_status); } &&
18592 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18593 { (case "(($ac_try" in
18594 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18595 *) ac_try_echo
=$ac_try;;
18597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18598 (eval "$ac_try") 2>&5
18600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18601 (exit $ac_status); }; } &&
18602 { ac_try
='test -s conftest$ac_exeext'
18603 { (case "(($ac_try" in
18604 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18605 *) ac_try_echo=$ac_try;;
18607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18608 (eval "$ac_try") 2>&5
18610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18611 (exit $ac_status); }; }; then
18612 ac_cv_lib_gcc___fixsfdi=yes
18614 echo "$as_me: failed program was:" >&5
18615 sed 's/^/| /' conftest.$ac_ext >&5
18617 ac_cv_lib_gcc___fixsfdi=no
18620 rm -f core conftest.err conftest.$ac_objext \
18621 conftest$ac_exeext conftest.$ac_ext
18622 LIBS=$ac_check_lib_save_LIBS
18624 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___fixsfdi" >&5
18625 echo "${ECHO_T}$ac_cv_lib_gcc___fixsfdi" >&6; }
18626 if test $ac_cv_lib_gcc___fixsfdi = yes; then
18628 cat >>confdefs.h <<\_ACEOF
18629 #define HAVE___FIXSFDI 1
18634 { echo "$as_me:$LINENO: checking for __floatdidf in -lgcc" >&5
18635 echo $ECHO_N "checking for __floatdidf in -lgcc... $ECHO_C" >&6; }
18636 if test "${ac_cv_lib_gcc___floatdidf+set}" = set; then
18637 echo $ECHO_N "(cached) $ECHO_C" >&6
18639 ac_check_lib_save_LIBS=$LIBS
18641 cat >conftest.$ac_ext <<_ACEOF
18644 cat confdefs.h >>conftest.$ac_ext
18645 cat >>conftest.$ac_ext <<_ACEOF
18646 /* end confdefs.h. */
18648 /* Override any GCC internal prototype to avoid an error.
18649 Use char because int might match the return type of a GCC
18650 builtin and then its argument prototype would still apply. */
18654 char __floatdidf ();
18658 return __floatdidf ();
18663 rm -f conftest.$ac_objext conftest$ac_exeext
18664 if { (ac_try="$ac_link"
18665 case "(($ac_try" in
18666 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18667 *) ac_try_echo
=$ac_try;;
18669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18670 (eval "$ac_link") 2>conftest.er1
18672 grep -v '^ *+' conftest.er1
>conftest.err
18674 cat conftest.err
>&5
18675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18676 (exit $ac_status); } &&
18677 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18678 { (case "(($ac_try" in
18679 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18680 *) ac_try_echo=$ac_try;;
18682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18683 (eval "$ac_try") 2>&5
18685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18686 (exit $ac_status); }; } &&
18687 { ac_try='test -s conftest$ac_exeext'
18688 { (case "(($ac_try" in
18689 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18690 *) ac_try_echo
=$ac_try;;
18692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18693 (eval "$ac_try") 2>&5
18695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18696 (exit $ac_status); }; }; then
18697 ac_cv_lib_gcc___floatdidf
=yes
18699 echo "$as_me: failed program was:" >&5
18700 sed 's/^/| /' conftest.
$ac_ext >&5
18702 ac_cv_lib_gcc___floatdidf
=no
18705 rm -f core conftest.err conftest.
$ac_objext \
18706 conftest
$ac_exeext conftest.
$ac_ext
18707 LIBS
=$ac_check_lib_save_LIBS
18709 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___floatdidf" >&5
18710 echo "${ECHO_T}$ac_cv_lib_gcc___floatdidf" >&6; }
18711 if test $ac_cv_lib_gcc___floatdidf = yes; then
18713 cat >>confdefs.h
<<\_ACEOF
18714 #define HAVE___FLOATDIDF 1
18719 { echo "$as_me:$LINENO: checking for __lshrdi3 in -lgcc" >&5
18720 echo $ECHO_N "checking for __lshrdi3 in -lgcc... $ECHO_C" >&6; }
18721 if test "${ac_cv_lib_gcc___lshrdi3+set}" = set; then
18722 echo $ECHO_N "(cached) $ECHO_C" >&6
18724 ac_check_lib_save_LIBS
=$LIBS
18726 cat >conftest.
$ac_ext <<_ACEOF
18729 cat confdefs.h
>>conftest.
$ac_ext
18730 cat >>conftest.
$ac_ext <<_ACEOF
18731 /* end confdefs.h. */
18733 /* Override any GCC internal prototype to avoid an error.
18734 Use char because int might match the return type of a GCC
18735 builtin and then its argument prototype would still apply. */
18743 return __lshrdi3 ();
18748 rm -f conftest.
$ac_objext conftest
$ac_exeext
18749 if { (ac_try
="$ac_link"
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_link") 2>conftest.er1
18757 grep -v '^ *+' conftest.er1 >conftest.err
18759 cat conftest.err >&5
18760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761 (exit $ac_status); } &&
18762 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18763 { (case "(($ac_try" in
18764 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18765 *) ac_try_echo
=$ac_try;;
18767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18768 (eval "$ac_try") 2>&5
18770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18771 (exit $ac_status); }; } &&
18772 { ac_try
='test -s conftest$ac_exeext'
18773 { (case "(($ac_try" in
18774 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18775 *) ac_try_echo=$ac_try;;
18777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18778 (eval "$ac_try") 2>&5
18780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18781 (exit $ac_status); }; }; then
18782 ac_cv_lib_gcc___lshrdi3=yes
18784 echo "$as_me: failed program was:" >&5
18785 sed 's/^/| /' conftest.$ac_ext >&5
18787 ac_cv_lib_gcc___lshrdi3=no
18790 rm -f core conftest.err conftest.$ac_objext \
18791 conftest$ac_exeext conftest.$ac_ext
18792 LIBS=$ac_check_lib_save_LIBS
18794 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___lshrdi3" >&5
18795 echo "${ECHO_T}$ac_cv_lib_gcc___lshrdi3" >&6; }
18796 if test $ac_cv_lib_gcc___lshrdi3 = yes; then
18798 cat >>confdefs.h <<\_ACEOF
18799 #define HAVE___LSHRDI3 1
18804 { echo "$as_me:$LINENO: checking for __moddi3 in -lgcc" >&5
18805 echo $ECHO_N "checking for __moddi3 in -lgcc... $ECHO_C" >&6; }
18806 if test "${ac_cv_lib_gcc___moddi3+set}" = set; then
18807 echo $ECHO_N "(cached) $ECHO_C" >&6
18809 ac_check_lib_save_LIBS=$LIBS
18811 cat >conftest.$ac_ext <<_ACEOF
18814 cat confdefs.h >>conftest.$ac_ext
18815 cat >>conftest.$ac_ext <<_ACEOF
18816 /* end confdefs.h. */
18818 /* Override any GCC internal prototype to avoid an error.
18819 Use char because int might match the return type of a GCC
18820 builtin and then its argument prototype would still apply. */
18828 return __moddi3 ();
18833 rm -f conftest.$ac_objext conftest$ac_exeext
18834 if { (ac_try="$ac_link"
18835 case "(($ac_try" in
18836 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18837 *) ac_try_echo
=$ac_try;;
18839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18840 (eval "$ac_link") 2>conftest.er1
18842 grep -v '^ *+' conftest.er1
>conftest.err
18844 cat conftest.err
>&5
18845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18846 (exit $ac_status); } &&
18847 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18848 { (case "(($ac_try" in
18849 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18850 *) ac_try_echo=$ac_try;;
18852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18853 (eval "$ac_try") 2>&5
18855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18856 (exit $ac_status); }; } &&
18857 { ac_try='test -s conftest$ac_exeext'
18858 { (case "(($ac_try" in
18859 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18860 *) ac_try_echo
=$ac_try;;
18862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18863 (eval "$ac_try") 2>&5
18865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18866 (exit $ac_status); }; }; then
18867 ac_cv_lib_gcc___moddi3
=yes
18869 echo "$as_me: failed program was:" >&5
18870 sed 's/^/| /' conftest.
$ac_ext >&5
18872 ac_cv_lib_gcc___moddi3
=no
18875 rm -f core conftest.err conftest.
$ac_objext \
18876 conftest
$ac_exeext conftest.
$ac_ext
18877 LIBS
=$ac_check_lib_save_LIBS
18879 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___moddi3" >&5
18880 echo "${ECHO_T}$ac_cv_lib_gcc___moddi3" >&6; }
18881 if test $ac_cv_lib_gcc___moddi3 = yes; then
18883 cat >>confdefs.h
<<\_ACEOF
18884 #define HAVE___MODDI3 1
18889 { echo "$as_me:$LINENO: checking for __udivdi3 in -lgcc" >&5
18890 echo $ECHO_N "checking for __udivdi3 in -lgcc... $ECHO_C" >&6; }
18891 if test "${ac_cv_lib_gcc___udivdi3+set}" = set; then
18892 echo $ECHO_N "(cached) $ECHO_C" >&6
18894 ac_check_lib_save_LIBS
=$LIBS
18896 cat >conftest.
$ac_ext <<_ACEOF
18899 cat confdefs.h
>>conftest.
$ac_ext
18900 cat >>conftest.
$ac_ext <<_ACEOF
18901 /* end confdefs.h. */
18903 /* Override any GCC internal prototype to avoid an error.
18904 Use char because int might match the return type of a GCC
18905 builtin and then its argument prototype would still apply. */
18913 return __udivdi3 ();
18918 rm -f conftest.
$ac_objext conftest
$ac_exeext
18919 if { (ac_try
="$ac_link"
18920 case "(($ac_try" in
18921 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18922 *) ac_try_echo=$ac_try;;
18924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18925 (eval "$ac_link") 2>conftest.er1
18927 grep -v '^ *+' conftest.er1 >conftest.err
18929 cat conftest.err >&5
18930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18931 (exit $ac_status); } &&
18932 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18933 { (case "(($ac_try" in
18934 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18935 *) ac_try_echo
=$ac_try;;
18937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18938 (eval "$ac_try") 2>&5
18940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18941 (exit $ac_status); }; } &&
18942 { ac_try
='test -s conftest$ac_exeext'
18943 { (case "(($ac_try" in
18944 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18945 *) ac_try_echo=$ac_try;;
18947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18948 (eval "$ac_try") 2>&5
18950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18951 (exit $ac_status); }; }; then
18952 ac_cv_lib_gcc___udivdi3=yes
18954 echo "$as_me: failed program was:" >&5
18955 sed 's/^/| /' conftest.$ac_ext >&5
18957 ac_cv_lib_gcc___udivdi3=no
18960 rm -f core conftest.err conftest.$ac_objext \
18961 conftest$ac_exeext conftest.$ac_ext
18962 LIBS=$ac_check_lib_save_LIBS
18964 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___udivdi3" >&5
18965 echo "${ECHO_T}$ac_cv_lib_gcc___udivdi3" >&6; }
18966 if test $ac_cv_lib_gcc___udivdi3 = yes; then
18968 cat >>confdefs.h <<\_ACEOF
18969 #define HAVE___UDIVDI3 1
18974 { echo "$as_me:$LINENO: checking for __umoddi3 in -lgcc" >&5
18975 echo $ECHO_N "checking for __umoddi3 in -lgcc... $ECHO_C" >&6; }
18976 if test "${ac_cv_lib_gcc___umoddi3+set}" = set; then
18977 echo $ECHO_N "(cached) $ECHO_C" >&6
18979 ac_check_lib_save_LIBS=$LIBS
18981 cat >conftest.$ac_ext <<_ACEOF
18984 cat confdefs.h >>conftest.$ac_ext
18985 cat >>conftest.$ac_ext <<_ACEOF
18986 /* end confdefs.h. */
18988 /* Override any GCC internal prototype to avoid an error.
18989 Use char because int might match the return type of a GCC
18990 builtin and then its argument prototype would still apply. */
18998 return __umoddi3 ();
19003 rm -f conftest.$ac_objext conftest$ac_exeext
19004 if { (ac_try="$ac_link"
19005 case "(($ac_try" in
19006 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19007 *) ac_try_echo
=$ac_try;;
19009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19010 (eval "$ac_link") 2>conftest.er1
19012 grep -v '^ *+' conftest.er1
>conftest.err
19014 cat conftest.err
>&5
19015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19016 (exit $ac_status); } &&
19017 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19018 { (case "(($ac_try" in
19019 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19020 *) ac_try_echo=$ac_try;;
19022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19023 (eval "$ac_try") 2>&5
19025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19026 (exit $ac_status); }; } &&
19027 { ac_try='test -s conftest$ac_exeext'
19028 { (case "(($ac_try" in
19029 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19030 *) ac_try_echo
=$ac_try;;
19032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19033 (eval "$ac_try") 2>&5
19035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19036 (exit $ac_status); }; }; then
19037 ac_cv_lib_gcc___umoddi3
=yes
19039 echo "$as_me: failed program was:" >&5
19040 sed 's/^/| /' conftest.
$ac_ext >&5
19042 ac_cv_lib_gcc___umoddi3
=no
19045 rm -f core conftest.err conftest.
$ac_objext \
19046 conftest
$ac_exeext conftest.
$ac_ext
19047 LIBS
=$ac_check_lib_save_LIBS
19049 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___umoddi3" >&5
19050 echo "${ECHO_T}$ac_cv_lib_gcc___umoddi3" >&6; }
19051 if test $ac_cv_lib_gcc___umoddi3 = yes; then
19053 cat >>confdefs.h
<<\_ACEOF
19054 #define HAVE___UMODDI3 1
19060 { echo "$as_me:$LINENO: checking for __main in -lgcc" >&5
19061 echo $ECHO_N "checking for __main in -lgcc... $ECHO_C" >&6; }
19062 if test "${ac_cv_lib_gcc___main+set}" = set; then
19063 echo $ECHO_N "(cached) $ECHO_C" >&6
19065 ac_check_lib_save_LIBS
=$LIBS
19067 cat >conftest.
$ac_ext <<_ACEOF
19070 cat confdefs.h
>>conftest.
$ac_ext
19071 cat >>conftest.
$ac_ext <<_ACEOF
19072 /* end confdefs.h. */
19074 /* Override any GCC internal prototype to avoid an error.
19075 Use char because int might match the return type of a GCC
19076 builtin and then its argument prototype would still apply. */
19089 rm -f conftest.
$ac_objext conftest
$ac_exeext
19090 if { (ac_try
="$ac_link"
19091 case "(($ac_try" in
19092 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19093 *) ac_try_echo=$ac_try;;
19095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19096 (eval "$ac_link") 2>conftest.er1
19098 grep -v '^ *+' conftest.er1 >conftest.err
19100 cat conftest.err >&5
19101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102 (exit $ac_status); } &&
19103 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19104 { (case "(($ac_try" in
19105 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19106 *) ac_try_echo
=$ac_try;;
19108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19109 (eval "$ac_try") 2>&5
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); }; } &&
19113 { ac_try
='test -s conftest$ac_exeext'
19114 { (case "(($ac_try" in
19115 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19116 *) ac_try_echo=$ac_try;;
19118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19119 (eval "$ac_try") 2>&5
19121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19122 (exit $ac_status); }; }; then
19123 ac_cv_lib_gcc___main=yes
19125 echo "$as_me: failed program was:" >&5
19126 sed 's/^/| /' conftest.$ac_ext >&5
19128 ac_cv_lib_gcc___main=no
19131 rm -f core conftest.err conftest.$ac_objext \
19132 conftest$ac_exeext conftest.$ac_ext
19133 LIBS=$ac_check_lib_save_LIBS
19135 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___main" >&5
19136 echo "${ECHO_T}$ac_cv_lib_gcc___main" >&6; }
19137 if test $ac_cv_lib_gcc___main = yes; then
19139 cat >>confdefs.h <<\_ACEOF
19140 #define HAVE___MAIN 1
19145 { echo "$as_me:$LINENO: checking for __cmpdi2 in -lgcc" >&5
19146 echo $ECHO_N "checking for __cmpdi2 in -lgcc... $ECHO_C" >&6; }
19147 if test "${ac_cv_lib_gcc___cmpdi2+set}" = set; then
19148 echo $ECHO_N "(cached) $ECHO_C" >&6
19150 ac_check_lib_save_LIBS=$LIBS
19152 cat >conftest.$ac_ext <<_ACEOF
19155 cat confdefs.h >>conftest.$ac_ext
19156 cat >>conftest.$ac_ext <<_ACEOF
19157 /* end confdefs.h. */
19159 /* Override any GCC internal prototype to avoid an error.
19160 Use char because int might match the return type of a GCC
19161 builtin and then its argument prototype would still apply. */
19169 return __cmpdi2 ();
19174 rm -f conftest.$ac_objext conftest$ac_exeext
19175 if { (ac_try="$ac_link"
19176 case "(($ac_try" in
19177 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19178 *) ac_try_echo
=$ac_try;;
19180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19181 (eval "$ac_link") 2>conftest.er1
19183 grep -v '^ *+' conftest.er1
>conftest.err
19185 cat conftest.err
>&5
19186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19187 (exit $ac_status); } &&
19188 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19189 { (case "(($ac_try" in
19190 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19191 *) ac_try_echo=$ac_try;;
19193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19194 (eval "$ac_try") 2>&5
19196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19197 (exit $ac_status); }; } &&
19198 { ac_try='test -s conftest$ac_exeext'
19199 { (case "(($ac_try" in
19200 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19201 *) ac_try_echo
=$ac_try;;
19203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19204 (eval "$ac_try") 2>&5
19206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207 (exit $ac_status); }; }; then
19208 ac_cv_lib_gcc___cmpdi2
=yes
19210 echo "$as_me: failed program was:" >&5
19211 sed 's/^/| /' conftest.
$ac_ext >&5
19213 ac_cv_lib_gcc___cmpdi2
=no
19216 rm -f core conftest.err conftest.
$ac_objext \
19217 conftest
$ac_exeext conftest.
$ac_ext
19218 LIBS
=$ac_check_lib_save_LIBS
19220 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___cmpdi2" >&5
19221 echo "${ECHO_T}$ac_cv_lib_gcc___cmpdi2" >&6; }
19222 if test $ac_cv_lib_gcc___cmpdi2 = yes; then
19224 cat >>confdefs.h
<<\_ACEOF
19225 #define HAVE___CMPDI2 1
19232 if test "$llvm_cv_os_type" = "MingW" ; then
19233 { echo "$as_me:$LINENO: checking whether EnumerateLoadedModules() accepts new decl" >&5
19234 echo $ECHO_N "checking whether EnumerateLoadedModules() accepts new decl... $ECHO_C" >&6; }
19235 cat >conftest.
$ac_ext <<_ACEOF
19236 #include <windows.h>
19237 #include <imagehlp.h>
19238 extern void foo(PENUMLOADED_MODULES_CALLBACK);
19239 extern void foo(BOOL(CALLBACK*)(PCSTR,ULONG_PTR,ULONG,PVOID));
19241 rm -f conftest.
$ac_objext
19242 if { (ac_try
="$ac_compile"
19243 case "(($ac_try" in
19244 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19245 *) ac_try_echo=$ac_try;;
19247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19248 (eval "$ac_compile") 2>conftest.er1
19250 grep -v '^ *+' conftest.er1 >conftest.err
19252 cat conftest.err >&5
19253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19254 (exit $ac_status); } &&
19255 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19256 { (case "(($ac_try" in
19257 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19258 *) ac_try_echo
=$ac_try;;
19260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19261 (eval "$ac_try") 2>&5
19263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19264 (exit $ac_status); }; } &&
19265 { ac_try
='test -s conftest.$ac_objext'
19266 { (case "(($ac_try" in
19267 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19268 *) ac_try_echo=$ac_try;;
19270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19271 (eval "$ac_try") 2>&5
19273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19274 (exit $ac_status); }; }; then
19276 { echo "$as_me:$LINENO: result: yes" >&5
19277 echo "${ECHO_T}yes" >&6; }
19278 llvm_cv_win32_elmcb_pcstr="PCSTR"
19281 echo "$as_me: failed program was:" >&5
19282 sed 's/^/| /' conftest.$ac_ext >&5
19285 { echo "$as_me:$LINENO: result: no" >&5
19286 echo "${ECHO_T}no" >&6; }
19287 llvm_cv_win32_elmcb_pcstr="PSTR"
19291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19293 cat >>confdefs.h <<_ACEOF
19294 #define WIN32_ELMCB_PCSTR $llvm_cv_win32_elmcb_pcstr
19300 { echo "$as_me:$LINENO: checking for isnan in <math.h>" >&5
19301 echo $ECHO_N "checking for isnan in <math.h>... $ECHO_C" >&6; }
19302 if test "${ac_cv_func_isnan_in_math_h+set}" = set; then
19303 echo $ECHO_N "(cached) $ECHO_C" >&6
19306 ac_cpp='$CXXCPP $CPPFLAGS'
19307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19311 cat >conftest.$ac_ext <<_ACEOF
19314 cat confdefs.h >>conftest.$ac_ext
19315 cat >>conftest.$ac_ext <<_ACEOF
19316 /* end confdefs.h. */
19326 rm -f conftest.$ac_objext
19327 if { (ac_try="$ac_compile"
19328 case "(($ac_try" in
19329 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19330 *) ac_try_echo
=$ac_try;;
19332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19333 (eval "$ac_compile") 2>conftest.er1
19335 grep -v '^ *+' conftest.er1
>conftest.err
19337 cat conftest.err
>&5
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); } &&
19340 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19341 { (case "(($ac_try" in
19342 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19343 *) ac_try_echo=$ac_try;;
19345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19346 (eval "$ac_try") 2>&5
19348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19349 (exit $ac_status); }; } &&
19350 { ac_try='test -s conftest.$ac_objext'
19351 { (case "(($ac_try" in
19352 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19353 *) ac_try_echo
=$ac_try;;
19355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19356 (eval "$ac_try") 2>&5
19358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19359 (exit $ac_status); }; }; then
19360 ac_cv_func_isnan_in_math_h
=yes
19362 echo "$as_me: failed program was:" >&5
19363 sed 's/^/| /' conftest.
$ac_ext >&5
19365 ac_cv_func_isnan_in_math_h
=no
19368 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19370 ac_cpp
='$CPP $CPPFLAGS'
19371 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19372 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19373 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19376 { echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_math_h" >&5
19377 echo "${ECHO_T}$ac_cv_func_isnan_in_math_h" >&6; }
19380 if test "$ac_cv_func_isnan_in_math_h" = "yes" ; then
19382 cat >>confdefs.h
<<\_ACEOF
19383 #define HAVE_ISNAN_IN_MATH_H 1
19388 { echo "$as_me:$LINENO: checking for isnan in <cmath>" >&5
19389 echo $ECHO_N "checking for isnan in <cmath>... $ECHO_C" >&6; }
19390 if test "${ac_cv_func_isnan_in_cmath+set}" = set; then
19391 echo $ECHO_N "(cached) $ECHO_C" >&6
19394 ac_cpp
='$CXXCPP $CPPFLAGS'
19395 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19396 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19397 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19399 cat >conftest.
$ac_ext <<_ACEOF
19402 cat confdefs.h
>>conftest.
$ac_ext
19403 cat >>conftest.
$ac_ext <<_ACEOF
19404 /* end confdefs.h. */
19414 rm -f conftest.
$ac_objext
19415 if { (ac_try
="$ac_compile"
19416 case "(($ac_try" in
19417 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19418 *) ac_try_echo=$ac_try;;
19420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19421 (eval "$ac_compile") 2>conftest.er1
19423 grep -v '^ *+' conftest.er1 >conftest.err
19425 cat conftest.err >&5
19426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19427 (exit $ac_status); } &&
19428 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19429 { (case "(($ac_try" in
19430 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19431 *) ac_try_echo
=$ac_try;;
19433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19434 (eval "$ac_try") 2>&5
19436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19437 (exit $ac_status); }; } &&
19438 { ac_try
='test -s conftest.$ac_objext'
19439 { (case "(($ac_try" in
19440 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19441 *) ac_try_echo=$ac_try;;
19443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19444 (eval "$ac_try") 2>&5
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); }; }; then
19448 ac_cv_func_isnan_in_cmath=yes
19450 echo "$as_me: failed program was:" >&5
19451 sed 's/^/| /' conftest.$ac_ext >&5
19453 ac_cv_func_isnan_in_cmath=no
19456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19458 ac_cpp='$CPP $CPPFLAGS'
19459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19464 { echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_cmath" >&5
19465 echo "${ECHO_T}$ac_cv_func_isnan_in_cmath" >&6; }
19467 if test "$ac_cv_func_isnan_in_cmath" = "yes" ; then
19469 cat >>confdefs.h <<\_ACEOF
19470 #define HAVE_ISNAN_IN_CMATH 1
19475 { echo "$as_me:$LINENO: checking for std::isnan in <cmath>" >&5
19476 echo $ECHO_N "checking for std::isnan in <cmath>... $ECHO_C" >&6; }
19477 if test "${ac_cv_func_std_isnan_in_cmath+set}" = set; then
19478 echo $ECHO_N "(cached) $ECHO_C" >&6
19481 ac_cpp='$CXXCPP $CPPFLAGS'
19482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19486 cat >conftest.$ac_ext <<_ACEOF
19489 cat confdefs.h >>conftest.$ac_ext
19490 cat >>conftest.$ac_ext <<_ACEOF
19491 /* end confdefs.h. */
19496 float f; std::isnan(f);
19501 rm -f conftest.$ac_objext
19502 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
19510 grep -v '^ *+' conftest.er1
>conftest.err
19512 cat conftest.err
>&5
19513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 (exit $ac_status); } &&
19515 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19516 { (case "(($ac_try" in
19517 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19518 *) ac_try_echo=$ac_try;;
19520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19521 (eval "$ac_try") 2>&5
19523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19524 (exit $ac_status); }; } &&
19525 { ac_try='test -s conftest.$ac_objext'
19526 { (case "(($ac_try" in
19527 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19528 *) ac_try_echo
=$ac_try;;
19530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19531 (eval "$ac_try") 2>&5
19533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534 (exit $ac_status); }; }; then
19535 ac_cv_func_std_isnan_in_cmath
=yes
19537 echo "$as_me: failed program was:" >&5
19538 sed 's/^/| /' conftest.
$ac_ext >&5
19540 ac_cv_func_std_isnan_in_cmath
=no
19543 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19545 ac_cpp
='$CPP $CPPFLAGS'
19546 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19547 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19548 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19551 { echo "$as_me:$LINENO: result: $ac_cv_func_std_isnan_in_cmath" >&5
19552 echo "${ECHO_T}$ac_cv_func_std_isnan_in_cmath" >&6; }
19554 if test "$ac_cv_func_std_isnan_in_cmath" = "yes" ; then
19556 cat >>confdefs.h
<<\_ACEOF
19557 #define HAVE_STD_ISNAN_IN_CMATH 1
19563 { echo "$as_me:$LINENO: checking for isinf in <math.h>" >&5
19564 echo $ECHO_N "checking for isinf in <math.h>... $ECHO_C" >&6; }
19565 if test "${ac_cv_func_isinf_in_math_h+set}" = set; then
19566 echo $ECHO_N "(cached) $ECHO_C" >&6
19569 ac_cpp
='$CXXCPP $CPPFLAGS'
19570 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19571 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19572 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19574 cat >conftest.
$ac_ext <<_ACEOF
19577 cat confdefs.h
>>conftest.
$ac_ext
19578 cat >>conftest.
$ac_ext <<_ACEOF
19579 /* end confdefs.h. */
19589 rm -f conftest.
$ac_objext
19590 if { (ac_try
="$ac_compile"
19591 case "(($ac_try" in
19592 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19593 *) ac_try_echo=$ac_try;;
19595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19596 (eval "$ac_compile") 2>conftest.er1
19598 grep -v '^ *+' conftest.er1 >conftest.err
19600 cat conftest.err >&5
19601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19602 (exit $ac_status); } &&
19603 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19604 { (case "(($ac_try" in
19605 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19606 *) ac_try_echo
=$ac_try;;
19608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19609 (eval "$ac_try") 2>&5
19611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19612 (exit $ac_status); }; } &&
19613 { ac_try
='test -s conftest.$ac_objext'
19614 { (case "(($ac_try" in
19615 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19616 *) ac_try_echo=$ac_try;;
19618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19619 (eval "$ac_try") 2>&5
19621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19622 (exit $ac_status); }; }; then
19623 ac_cv_func_isinf_in_math_h=yes
19625 echo "$as_me: failed program was:" >&5
19626 sed 's/^/| /' conftest.$ac_ext >&5
19628 ac_cv_func_isinf_in_math_h=no
19631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19633 ac_cpp='$CPP $CPPFLAGS'
19634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19639 { echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_math_h" >&5
19640 echo "${ECHO_T}$ac_cv_func_isinf_in_math_h" >&6; }
19642 if test "$ac_cv_func_isinf_in_math_h" = "yes" ; then
19644 cat >>confdefs.h <<\_ACEOF
19645 #define HAVE_ISINF_IN_MATH_H 1
19650 { echo "$as_me:$LINENO: checking for isinf in <cmath>" >&5
19651 echo $ECHO_N "checking for isinf in <cmath>... $ECHO_C" >&6; }
19652 if test "${ac_cv_func_isinf_in_cmath+set}" = set; then
19653 echo $ECHO_N "(cached) $ECHO_C" >&6
19656 ac_cpp='$CXXCPP $CPPFLAGS'
19657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19661 cat >conftest.$ac_ext <<_ACEOF
19664 cat confdefs.h >>conftest.$ac_ext
19665 cat >>conftest.$ac_ext <<_ACEOF
19666 /* end confdefs.h. */
19676 rm -f conftest.$ac_objext
19677 if { (ac_try="$ac_compile"
19678 case "(($ac_try" in
19679 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19680 *) ac_try_echo
=$ac_try;;
19682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19683 (eval "$ac_compile") 2>conftest.er1
19685 grep -v '^ *+' conftest.er1
>conftest.err
19687 cat conftest.err
>&5
19688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19689 (exit $ac_status); } &&
19690 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19691 { (case "(($ac_try" in
19692 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19693 *) ac_try_echo=$ac_try;;
19695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19696 (eval "$ac_try") 2>&5
19698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19699 (exit $ac_status); }; } &&
19700 { ac_try='test -s conftest.$ac_objext'
19701 { (case "(($ac_try" in
19702 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19703 *) ac_try_echo
=$ac_try;;
19705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19706 (eval "$ac_try") 2>&5
19708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19709 (exit $ac_status); }; }; then
19710 ac_cv_func_isinf_in_cmath
=yes
19712 echo "$as_me: failed program was:" >&5
19713 sed 's/^/| /' conftest.
$ac_ext >&5
19715 ac_cv_func_isinf_in_cmath
=no
19718 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19720 ac_cpp
='$CPP $CPPFLAGS'
19721 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19722 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19723 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19726 { echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_cmath" >&5
19727 echo "${ECHO_T}$ac_cv_func_isinf_in_cmath" >&6; }
19729 if test "$ac_cv_func_isinf_in_cmath" = "yes" ; then
19731 cat >>confdefs.h
<<\_ACEOF
19732 #define HAVE_ISINF_IN_CMATH 1
19737 { echo "$as_me:$LINENO: checking for std::isinf in <cmath>" >&5
19738 echo $ECHO_N "checking for std::isinf in <cmath>... $ECHO_C" >&6; }
19739 if test "${ac_cv_func_std_isinf_in_cmath+set}" = set; then
19740 echo $ECHO_N "(cached) $ECHO_C" >&6
19743 ac_cpp
='$CXXCPP $CPPFLAGS'
19744 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19745 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19746 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19748 cat >conftest.
$ac_ext <<_ACEOF
19751 cat confdefs.h
>>conftest.
$ac_ext
19752 cat >>conftest.
$ac_ext <<_ACEOF
19753 /* end confdefs.h. */
19758 float f; std::isinf(f)}
19763 rm -f conftest.
$ac_objext
19764 if { (ac_try
="$ac_compile"
19765 case "(($ac_try" in
19766 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19767 *) ac_try_echo=$ac_try;;
19769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19770 (eval "$ac_compile") 2>conftest.er1
19772 grep -v '^ *+' conftest.er1 >conftest.err
19774 cat conftest.err >&5
19775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19776 (exit $ac_status); } &&
19777 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19778 { (case "(($ac_try" in
19779 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19780 *) ac_try_echo
=$ac_try;;
19782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19783 (eval "$ac_try") 2>&5
19785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19786 (exit $ac_status); }; } &&
19787 { ac_try
='test -s conftest.$ac_objext'
19788 { (case "(($ac_try" in
19789 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19790 *) ac_try_echo=$ac_try;;
19792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19793 (eval "$ac_try") 2>&5
19795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19796 (exit $ac_status); }; }; then
19797 ac_cv_func_std_isinf_in_cmath=yes
19799 echo "$as_me: failed program was:" >&5
19800 sed 's/^/| /' conftest.$ac_ext >&5
19802 ac_cv_func_std_isinf_in_cmath=no
19805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19807 ac_cpp='$CPP $CPPFLAGS'
19808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19813 { echo "$as_me:$LINENO: result: $ac_cv_func_std_isinf_in_cmath" >&5
19814 echo "${ECHO_T}$ac_cv_func_std_isinf_in_cmath" >&6; }
19816 if test "$ac_cv_func_std_isinf_in_cmath" = "yes" ; then
19818 cat >>confdefs.h <<\_ACEOF
19819 #define HAVE_STD_ISINF_IN_CMATH 1
19824 { echo "$as_me:$LINENO: checking for finite in <ieeefp.h>" >&5
19825 echo $ECHO_N "checking for finite in <ieeefp.h>... $ECHO_C" >&6; }
19826 if test "${ac_cv_func_finite_in_ieeefp_h+set}" = set; then
19827 echo $ECHO_N "(cached) $ECHO_C" >&6
19830 ac_cpp='$CXXCPP $CPPFLAGS'
19831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19835 cat >conftest.$ac_ext <<_ACEOF
19838 cat confdefs.h >>conftest.$ac_ext
19839 cat >>conftest.$ac_ext <<_ACEOF
19840 /* end confdefs.h. */
19841 #include <ieeefp.h>
19845 float f; finite(f);
19850 rm -f conftest.$ac_objext
19851 if { (ac_try="$ac_compile"
19852 case "(($ac_try" in
19853 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19854 *) ac_try_echo
=$ac_try;;
19856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19857 (eval "$ac_compile") 2>conftest.er1
19859 grep -v '^ *+' conftest.er1
>conftest.err
19861 cat conftest.err
>&5
19862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19863 (exit $ac_status); } &&
19864 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19865 { (case "(($ac_try" in
19866 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19867 *) ac_try_echo=$ac_try;;
19869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19870 (eval "$ac_try") 2>&5
19872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19873 (exit $ac_status); }; } &&
19874 { ac_try='test -s conftest.$ac_objext'
19875 { (case "(($ac_try" in
19876 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19877 *) ac_try_echo
=$ac_try;;
19879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19880 (eval "$ac_try") 2>&5
19882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19883 (exit $ac_status); }; }; then
19884 ac_cv_func_finite_in_ieeefp_h
=yes
19886 echo "$as_me: failed program was:" >&5
19887 sed 's/^/| /' conftest.
$ac_ext >&5
19889 ac_cv_func_finite_in_ieeefp_h
=no
19892 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19894 ac_cpp
='$CPP $CPPFLAGS'
19895 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19896 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19897 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19900 { echo "$as_me:$LINENO: result: $ac_cv_func_finite_in_ieeefp_h" >&5
19901 echo "${ECHO_T}$ac_cv_func_finite_in_ieeefp_h" >&6; }
19903 if test "$ac_cv_func_finite_in_ieeefp_h" = "yes" ; then
19905 cat >>confdefs.h
<<\_ACEOF
19906 #define HAVE_FINITE_IN_IEEEFP_H 1
19913 if test "$llvm_cv_platform_type" = "Unix" ; then
19916 for ac_header
in stdlib.h unistd.h
19918 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19919 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19920 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19921 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19922 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19923 echo $ECHO_N "(cached) $ECHO_C" >&6
19925 ac_res
=`eval echo '${'$as_ac_Header'}'`
19926 { echo "$as_me:$LINENO: result: $ac_res" >&5
19927 echo "${ECHO_T}$ac_res" >&6; }
19929 # Is the header compilable?
19930 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
19931 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19932 cat >conftest.
$ac_ext <<_ACEOF
19935 cat confdefs.h
>>conftest.
$ac_ext
19936 cat >>conftest.
$ac_ext <<_ACEOF
19937 /* end confdefs.h. */
19938 $ac_includes_default
19939 #include <$ac_header>
19941 rm -f conftest.
$ac_objext
19942 if { (ac_try
="$ac_compile"
19943 case "(($ac_try" in
19944 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19945 *) ac_try_echo=$ac_try;;
19947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19948 (eval "$ac_compile") 2>conftest.er1
19950 grep -v '^ *+' conftest.er1 >conftest.err
19952 cat conftest.err >&5
19953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954 (exit $ac_status); } &&
19955 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19956 { (case "(($ac_try" in
19957 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19958 *) ac_try_echo
=$ac_try;;
19960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19961 (eval "$ac_try") 2>&5
19963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19964 (exit $ac_status); }; } &&
19965 { ac_try
='test -s conftest.$ac_objext'
19966 { (case "(($ac_try" in
19967 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19968 *) ac_try_echo=$ac_try;;
19970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19971 (eval "$ac_try") 2>&5
19973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19974 (exit $ac_status); }; }; then
19975 ac_header_compiler=yes
19977 echo "$as_me: failed program was:" >&5
19978 sed 's/^/| /' conftest.$ac_ext >&5
19980 ac_header_compiler=no
19983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19984 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19985 echo "${ECHO_T}$ac_header_compiler" >&6; }
19987 # Is the header present?
19988 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
19989 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19990 cat >conftest.$ac_ext <<_ACEOF
19993 cat confdefs.h >>conftest.$ac_ext
19994 cat >>conftest.$ac_ext <<_ACEOF
19995 /* end confdefs.h. */
19996 #include <$ac_header>
19998 if { (ac_try="$ac_cpp conftest.$ac_ext"
19999 case "(($ac_try" in
20000 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20001 *) ac_try_echo
=$ac_try;;
20003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20004 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20006 grep -v '^ *+' conftest.er1
>conftest.err
20008 cat conftest.err
>&5
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); } >/dev
/null
; then
20011 if test -s conftest.err
; then
20012 ac_cpp_err
=$ac_c_preproc_warn_flag
20013 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20020 if test -z "$ac_cpp_err"; then
20021 ac_header_preproc
=yes
20023 echo "$as_me: failed program was:" >&5
20024 sed 's/^/| /' conftest.
$ac_ext >&5
20026 ac_header_preproc
=no
20029 rm -f conftest.err conftest.
$ac_ext
20030 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20031 echo "${ECHO_T}$ac_header_preproc" >&6; }
20033 # So? What about this header?
20034 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20036 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20037 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20038 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20039 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20040 ac_header_preproc
=yes
20043 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20044 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20045 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20046 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20047 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20048 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20049 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20050 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20051 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20052 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20053 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20054 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20056 ## ----------------------------------- ##
20057 ## Report this to llvmbugs@cs.uiuc.edu ##
20058 ## ----------------------------------- ##
20060 ) |
sed "s/^/$as_me: WARNING: /" >&2
20063 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20064 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20065 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20066 echo $ECHO_N "(cached) $ECHO_C" >&6
20068 eval "$as_ac_Header=\$ac_header_preproc"
20070 ac_res
=`eval echo '${'$as_ac_Header'}'`
20071 { echo "$as_me:$LINENO: result: $ac_res" >&5
20072 echo "${ECHO_T}$ac_res" >&6; }
20075 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20076 cat >>confdefs.h
<<_ACEOF
20077 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20085 for ac_func
in getpagesize
20087 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20088 { echo "$as_me:$LINENO: checking for $ac_func" >&5
20089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20090 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20091 echo $ECHO_N "(cached) $ECHO_C" >&6
20093 cat >conftest.
$ac_ext <<_ACEOF
20096 cat confdefs.h
>>conftest.
$ac_ext
20097 cat >>conftest.
$ac_ext <<_ACEOF
20098 /* end confdefs.h. */
20099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20101 #define $ac_func innocuous_$ac_func
20103 /* System header to define __stub macros and hopefully few prototypes,
20104 which can conflict with char $ac_func (); below.
20105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20106 <limits.h> exists even on freestanding compilers. */
20109 # include <limits.h>
20111 # include <assert.h>
20116 /* Override any GCC internal prototype to avoid an error.
20117 Use char because int might match the return type of a GCC
20118 builtin and then its argument prototype would still apply. */
20123 /* The GNU C library defines this for functions which it implements
20124 to always fail with ENOSYS. Some functions are actually named
20125 something starting with __ and the normal name is an alias. */
20126 #if defined __stub_$ac_func || defined __stub___$ac_func
20133 return $ac_func ();
20138 rm -f conftest.
$ac_objext conftest
$ac_exeext
20139 if { (ac_try
="$ac_link"
20140 case "(($ac_try" in
20141 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20142 *) ac_try_echo=$ac_try;;
20144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20145 (eval "$ac_link") 2>conftest.er1
20147 grep -v '^ *+' conftest.er1 >conftest.err
20149 cat conftest.err >&5
20150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20151 (exit $ac_status); } &&
20152 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20153 { (case "(($ac_try" in
20154 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20155 *) ac_try_echo
=$ac_try;;
20157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20158 (eval "$ac_try") 2>&5
20160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20161 (exit $ac_status); }; } &&
20162 { ac_try
='test -s conftest$ac_exeext'
20163 { (case "(($ac_try" in
20164 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20165 *) ac_try_echo=$ac_try;;
20167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20168 (eval "$ac_try") 2>&5
20170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20171 (exit $ac_status); }; }; then
20172 eval "$as_ac_var=yes"
20174 echo "$as_me: failed program was:" >&5
20175 sed 's/^/| /' conftest.$ac_ext >&5
20177 eval "$as_ac_var=no"
20180 rm -f core conftest.err conftest.$ac_objext \
20181 conftest$ac_exeext conftest.$ac_ext
20183 ac_res=`eval echo '${'$as_ac_var'}'`
20184 { echo "$as_me:$LINENO: result: $ac_res" >&5
20185 echo "${ECHO_T}$ac_res" >&6; }
20186 if test `eval echo '${'$as_ac_var'}'` = yes; then
20187 cat >>confdefs.h <<_ACEOF
20188 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
20194 { echo "$as_me:$LINENO: checking for working mmap" >&5
20195 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
20196 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
20197 echo $ECHO_N "(cached) $ECHO_C" >&6
20199 if test "$cross_compiling" = yes; then
20200 ac_cv_func_mmap_fixed_mapped=no
20202 cat >conftest.$ac_ext <<_ACEOF
20205 cat confdefs.h >>conftest.$ac_ext
20206 cat >>conftest.$ac_ext <<_ACEOF
20207 /* end confdefs.h. */
20208 $ac_includes_default
20209 /* malloc might have been renamed as rpl_malloc. */
20212 /* Thanks to Mike Haertel and Jim Avera for this test.
20213 Here is a matrix of mmap possibilities:
20214 mmap private not fixed
20215 mmap private fixed at somewhere currently unmapped
20216 mmap private fixed at somewhere already mapped
20217 mmap shared not fixed
20218 mmap shared fixed at somewhere currently unmapped
20219 mmap shared fixed at somewhere already mapped
20220 For private mappings, we should verify that changes cannot be read()
20221 back from the file, nor mmap's back from the file at a different
20222 address. (There have been systems where private was not correctly
20223 implemented like the infamous i386 svr4.0, and systems where the
20224 VM page cache was not coherent with the file system buffer cache
20225 like early versions of FreeBSD and possibly contemporary NetBSD.)
20226 For shared mappings, we should conversely verify that changes get
20227 propagated back to all the places they're supposed to be.
20229 Grep wants private fixed already mapped.
20230 The main things grep needs to know about mmap are:
20231 * does it exist and is it safe to write into the mmap'd area
20232 * how to use it (BSD variants) */
20235 #include <sys/mman.h>
20237 #if !STDC_HEADERS && !HAVE_STDLIB_H
20241 /* This mess was copied from the GNU getpagesize.h. */
20242 #if !HAVE_GETPAGESIZE
20243 /* Assume that all systems that can run configure have sys/param.h. */
20244 # if !HAVE_SYS_PARAM_H
20245 # define HAVE_SYS_PARAM_H 1
20248 # ifdef _SC_PAGESIZE
20249 # define getpagesize() sysconf(_SC_PAGESIZE)
20250 # else /* no _SC_PAGESIZE */
20251 # if HAVE_SYS_PARAM_H
20252 # include <sys/param.h>
20253 # ifdef EXEC_PAGESIZE
20254 # define getpagesize() EXEC_PAGESIZE
20255 # else /* no EXEC_PAGESIZE */
20257 # define getpagesize() NBPG * CLSIZE
20260 # endif /* no CLSIZE */
20261 # else /* no NBPG */
20263 # define getpagesize() NBPC
20264 # else /* no NBPC */
20266 # define getpagesize() PAGESIZE
20267 # endif /* PAGESIZE */
20268 # endif /* no NBPC */
20269 # endif /* no NBPG */
20270 # endif /* no EXEC_PAGESIZE */
20271 # else /* no HAVE_SYS_PARAM_H */
20272 # define getpagesize() 8192 /* punt totally */
20273 # endif /* no HAVE_SYS_PARAM_H */
20274 # endif /* no _SC_PAGESIZE */
20276 #endif /* no HAVE_GETPAGESIZE */
20281 char *data, *data2, *data3;
20285 pagesize = getpagesize ();
20287 /* First, make a file with some known garbage in it. */
20288 data = (char *) malloc (pagesize);
20291 for (i = 0; i < pagesize; ++i)
20292 *(data + i) = rand ();
20294 fd = creat ("conftest.mmap", 0600);
20297 if (write (fd, data, pagesize) != pagesize)
20301 /* Next, try to mmap the file at a fixed address which already has
20302 something else allocated at it. If we can, also make sure that
20303 we see the same garbage. */
20304 fd = open ("conftest.mmap", O_RDWR);
20307 data2 = (char *) malloc (2 * pagesize);
20310 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
20311 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
20312 MAP_PRIVATE | MAP_FIXED, fd, 0L))
20314 for (i = 0; i < pagesize; ++i)
20315 if (*(data + i) != *(data2 + i))
20318 /* Finally, make sure that changes to the mapped area do not
20319 percolate back to the file as seen by read(). (This is a bug on
20320 some variants of i386 svr4.0.) */
20321 for (i = 0; i < pagesize; ++i)
20322 *(data2 + i) = *(data2 + i) + 1;
20323 data3 = (char *) malloc (pagesize);
20326 if (read (fd, data3, pagesize) != pagesize)
20328 for (i = 0; i < pagesize; ++i)
20329 if (*(data + i) != *(data3 + i))
20335 rm -f conftest$ac_exeext
20336 if { (ac_try="$ac_link"
20337 case "(($ac_try" in
20338 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20339 *) ac_try_echo
=$ac_try;;
20341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20342 (eval "$ac_link") 2>&5
20344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20345 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20346 { (case "(($ac_try" in
20347 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20348 *) ac_try_echo=$ac_try;;
20350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20351 (eval "$ac_try") 2>&5
20353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20354 (exit $ac_status); }; }; then
20355 ac_cv_func_mmap_fixed_mapped=yes
20357 echo "$as_me: program exited with status $ac_status" >&5
20358 echo "$as_me: failed program was:" >&5
20359 sed 's/^/| /' conftest.$ac_ext >&5
20361 ( exit $ac_status )
20362 ac_cv_func_mmap_fixed_mapped=no
20364 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20369 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
20370 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
20371 if test $ac_cv_func_mmap_fixed_mapped = yes; then
20373 cat >>confdefs.h <<\_ACEOF
20374 #define HAVE_MMAP 1
20378 rm -f conftest.mmap
20380 { echo "$as_me:$LINENO: checking for mmap of files" >&5
20381 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6; }
20382 if test "${ac_cv_func_mmap_file+set}" = set; then
20383 echo $ECHO_N "(cached) $ECHO_C" >&6
20386 ac_cpp='$CPP $CPPFLAGS'
20387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20391 if test "$cross_compiling" = yes; then
20392 ac_cv_func_mmap_file=no
20394 cat >conftest.$ac_ext <<_ACEOF
20398 cat confdefs.h >>conftest.$ac_ext
20399 cat >>conftest.$ac_ext <<_ACEOF
20400 /* end confdefs.h. */
20402 #include <sys/types.h>
20403 #include <sys/mman.h>
20411 fd = creat ("foo",0777);
20412 fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0);
20414 return (fd != (int) MAP_FAILED);
20419 rm -f conftest$ac_exeext
20420 if { (ac_try="$ac_link"
20421 case "(($ac_try" in
20422 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20423 *) ac_try_echo
=$ac_try;;
20425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20426 (eval "$ac_link") 2>&5
20428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20429 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20430 { (case "(($ac_try" in
20431 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20432 *) ac_try_echo=$ac_try;;
20434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20435 (eval "$ac_try") 2>&5
20437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20438 (exit $ac_status); }; }; then
20439 ac_cv_func_mmap_file=yes
20441 echo "$as_me: program exited with status $ac_status" >&5
20442 echo "$as_me: failed program was:" >&5
20443 sed 's/^/| /' conftest.$ac_ext >&5
20445 ( exit $ac_status )
20446 ac_cv_func_mmap_file=no
20448 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20453 ac_cpp='$CPP $CPPFLAGS'
20454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20460 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
20461 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6; }
20462 if test "$ac_cv_func_mmap_file" = yes; then
20464 cat >>confdefs.h <<\_ACEOF
20465 #define HAVE_MMAP_FILE
20472 { echo "$as_me:$LINENO: checking if /dev/zero is needed for mmap" >&5
20473 echo $ECHO_N "checking if /dev/zero is needed for mmap... $ECHO_C" >&6; }
20474 if test "${ac_cv_need_dev_zero_for_mmap+set}" = set; then
20475 echo $ECHO_N "(cached) $ECHO_C" >&6
20477 if test "$llvm_cv_os_type" = "Interix" ; then
20478 ac_cv_need_dev_zero_for_mmap=yes
20480 ac_cv_need_dev_zero_for_mmap=no
20484 { echo "$as_me:$LINENO: result: $ac_cv_need_dev_zero_for_mmap" >&5
20485 echo "${ECHO_T}$ac_cv_need_dev_zero_for_mmap" >&6; }
20486 if test "$ac_cv_need_dev_zero_for_mmap" = yes; then
20488 cat >>confdefs.h <<\_ACEOF
20489 #define NEED_DEV_ZERO_FOR_MMAP 1
20494 if test "$ac_cv_func_mmap_fixed_mapped" = "no"
20496 { echo "$as_me:$LINENO: WARNING: mmap() of a fixed address required but not supported" >&5
20497 echo "$as_me: WARNING: mmap() of a fixed address required but not supported" >&2;}
20499 if test "$ac_cv_func_mmap_file" = "no"
20501 { echo "$as_me:$LINENO: WARNING: mmap() of files required but not found" >&5
20502 echo "$as_me: WARNING: mmap() of files required but not found" >&2;}
20506 { echo "$as_me:$LINENO: checking for GCC atomic builtins" >&5
20507 echo $ECHO_N "checking for GCC atomic builtins... $ECHO_C" >&6; }
20509 ac_cpp='$CXXCPP $CPPFLAGS'
20510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20514 cat >conftest.$ac_ext <<_ACEOF
20517 cat confdefs.h >>conftest.$ac_ext
20518 cat >>conftest.$ac_ext <<_ACEOF
20519 /* end confdefs.h. */
20521 volatile unsigned long val = 1;
20522 __sync_synchronize();
20523 __sync_val_compare_and_swap(&val, 1, 0);
20524 __sync_add_and_fetch(&val, 1);
20525 __sync_sub_and_fetch(&val, 1);
20530 rm -f conftest.$ac_objext conftest$ac_exeext
20531 if { (ac_try="$ac_link"
20532 case "(($ac_try" in
20533 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20534 *) ac_try_echo
=$ac_try;;
20536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20537 (eval "$ac_link") 2>conftest.er1
20539 grep -v '^ *+' conftest.er1
>conftest.err
20541 cat conftest.err
>&5
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); } &&
20544 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20545 { (case "(($ac_try" in
20546 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20547 *) ac_try_echo=$ac_try;;
20549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20550 (eval "$ac_try") 2>&5
20552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20553 (exit $ac_status); }; } &&
20554 { ac_try='test -s conftest$ac_exeext'
20555 { (case "(($ac_try" in
20556 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20557 *) ac_try_echo
=$ac_try;;
20559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20560 (eval "$ac_try") 2>&5
20562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20563 (exit $ac_status); }; }; then
20565 ac_cpp
='$CPP $CPPFLAGS'
20566 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20567 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20568 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20570 { echo "$as_me:$LINENO: result: yes" >&5
20571 echo "${ECHO_T}yes" >&6; }
20573 cat >>confdefs.h
<<\_ACEOF
20574 #define LLVM_HAS_ATOMICS 1
20578 echo "$as_me: failed program was:" >&5
20579 sed 's/^/| /' conftest.
$ac_ext >&5
20581 { echo "$as_me:$LINENO: result: no" >&5
20582 echo "${ECHO_T}no" >&6; }
20584 cat >>confdefs.h
<<\_ACEOF
20585 #define LLVM_HAS_ATOMICS 0
20588 { echo "$as_me:$LINENO: WARNING: LLVM will be built thread-unsafe because atomic builtins are missing" >&5
20589 echo "$as_me: WARNING: LLVM will be built thread-unsafe because atomic builtins are missing" >&2;}
20592 rm -f core conftest.err conftest.
$ac_objext \
20593 conftest
$ac_exeext conftest.
$ac_ext
20596 if test "$llvm_cv_os_type" = "Linux" -a "$llvm_cv_target_arch" = "x86_64" ; then
20597 { echo "$as_me:$LINENO: checking for 32-bit userspace on 64-bit system" >&5
20598 echo $ECHO_N "checking for 32-bit userspace on 64-bit system... $ECHO_C" >&6; }
20599 if test "${llvm_cv_linux_mixed+set}" = set; then
20600 echo $ECHO_N "(cached) $ECHO_C" >&6
20603 ac_cpp
='$CPP $CPPFLAGS'
20604 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20605 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20606 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20608 cat >conftest.
$ac_ext <<_ACEOF
20611 cat confdefs.h
>>conftest.
$ac_ext
20612 cat >>conftest.
$ac_ext <<_ACEOF
20613 /* end confdefs.h. */
20615 error: Not x86-64 even if uname says so!
20626 rm -f conftest.
$ac_objext
20627 if { (ac_try
="$ac_compile"
20628 case "(($ac_try" in
20629 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20630 *) ac_try_echo=$ac_try;;
20632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20633 (eval "$ac_compile") 2>conftest.er1
20635 grep -v '^ *+' conftest.er1 >conftest.err
20637 cat conftest.err >&5
20638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20639 (exit $ac_status); } &&
20640 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20641 { (case "(($ac_try" in
20642 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20643 *) ac_try_echo
=$ac_try;;
20645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20646 (eval "$ac_try") 2>&5
20648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20649 (exit $ac_status); }; } &&
20650 { ac_try
='test -s conftest.$ac_objext'
20651 { (case "(($ac_try" in
20652 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20653 *) ac_try_echo=$ac_try;;
20655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20656 (eval "$ac_try") 2>&5
20658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20659 (exit $ac_status); }; }; then
20660 llvm_cv_linux_mixed=no
20662 echo "$as_me: failed program was:" >&5
20663 sed 's/^/| /' conftest.$ac_ext >&5
20665 llvm_cv_linux_mixed=yes
20668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20670 ac_cpp='$CPP $CPPFLAGS'
20671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20677 { echo "$as_me:$LINENO: result: $llvm_cv_linux_mixed" >&5
20678 echo "${ECHO_T}$llvm_cv_linux_mixed" >&6; }
20680 if test "$llvm_cv_linux_mixed" = "yes"; then
20681 llvm_cv_target_arch="x86"
20687 for ac_func in __dso_handle
20689 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
20690 { echo "$as_me:$LINENO: checking for $ac_func" >&5
20691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20692 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20693 echo $ECHO_N "(cached) $ECHO_C" >&6
20695 cat >conftest.$ac_ext <<_ACEOF
20698 cat confdefs.h >>conftest.$ac_ext
20699 cat >>conftest.$ac_ext <<_ACEOF
20700 /* end confdefs.h. */
20701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20703 #define $ac_func innocuous_$ac_func
20705 /* System header to define __stub macros and hopefully few prototypes,
20706 which can conflict with char $ac_func (); below.
20707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20708 <limits.h> exists even on freestanding compilers. */
20711 # include <limits.h>
20713 # include <assert.h>
20718 /* Override any GCC internal prototype to avoid an error.
20719 Use char because int might match the return type of a GCC
20720 builtin and then its argument prototype would still apply. */
20725 /* The GNU C library defines this for functions which it implements
20726 to always fail with ENOSYS. Some functions are actually named
20727 something starting with __ and the normal name is an alias. */
20728 #if defined __stub_$ac_func || defined __stub___$ac_func
20735 return $ac_func ();
20740 rm -f conftest.$ac_objext conftest$ac_exeext
20741 if { (ac_try="$ac_link"
20742 case "(($ac_try" in
20743 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20744 *) ac_try_echo
=$ac_try;;
20746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20747 (eval "$ac_link") 2>conftest.er1
20749 grep -v '^ *+' conftest.er1
>conftest.err
20751 cat conftest.err
>&5
20752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20753 (exit $ac_status); } &&
20754 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20755 { (case "(($ac_try" in
20756 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20757 *) ac_try_echo=$ac_try;;
20759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20760 (eval "$ac_try") 2>&5
20762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20763 (exit $ac_status); }; } &&
20764 { ac_try='test -s conftest$ac_exeext'
20765 { (case "(($ac_try" in
20766 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20767 *) ac_try_echo
=$ac_try;;
20769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20770 (eval "$ac_try") 2>&5
20772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20773 (exit $ac_status); }; }; then
20774 eval "$as_ac_var=yes"
20776 echo "$as_me: failed program was:" >&5
20777 sed 's/^/| /' conftest.
$ac_ext >&5
20779 eval "$as_ac_var=no"
20782 rm -f core conftest.err conftest.
$ac_objext \
20783 conftest
$ac_exeext conftest.
$ac_ext
20785 ac_res
=`eval echo '${'$as_ac_var'}'`
20786 { echo "$as_me:$LINENO: result: $ac_res" >&5
20787 echo "${ECHO_T}$ac_res" >&6; }
20788 if test `eval echo '${'$as_ac_var'}'` = yes; then
20789 cat >>confdefs.h
<<_ACEOF
20790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20797 SHLIBEXT
=$libltdl_cv_shlibext
20800 SHLIBPATH_VAR
=$libltdl_cv_shlibpath_var
20803 # Translate the various configuration directories and other basic
20804 # information into substitutions that will end up in Makefile.config.in
20805 # that these configured values can be used by the makefiles
20806 if test "${prefix}" = "NONE" ; then
20807 prefix
="/usr/local"
20809 eval LLVM_PREFIX
="${prefix}";
20810 eval LLVM_BINDIR
="${prefix}/bin";
20811 eval LLVM_LIBDIR
="${prefix}/lib";
20812 eval LLVM_DATADIR
="${prefix}/share/llvm";
20813 eval LLVM_DOCSDIR
="${prefix}/share/doc/llvm";
20814 eval LLVM_ETCDIR
="${prefix}/etc/llvm";
20815 eval LLVM_INCLUDEDIR
="${prefix}/include";
20816 eval LLVM_INFODIR
="${prefix}/info";
20817 eval LLVM_MANDIR
="${prefix}/man";
20818 LLVM_CONFIGTIME
=`date`
20830 # Place the various directores into the config.h file as #defines so that we
20831 # can know about the installation paths within LLVM.
20833 cat >>confdefs.h
<<_ACEOF
20834 #define LLVM_PREFIX "$LLVM_PREFIX"
20838 cat >>confdefs.h
<<_ACEOF
20839 #define LLVM_BINDIR "$LLVM_BINDIR"
20843 cat >>confdefs.h
<<_ACEOF
20844 #define LLVM_LIBDIR "$LLVM_LIBDIR"
20848 cat >>confdefs.h
<<_ACEOF
20849 #define LLVM_DATADIR "$LLVM_DATADIR"
20853 cat >>confdefs.h
<<_ACEOF
20854 #define LLVM_DOCSDIR "$LLVM_DOCSDIR"
20858 cat >>confdefs.h
<<_ACEOF
20859 #define LLVM_ETCDIR "$LLVM_ETCDIR"
20863 cat >>confdefs.h
<<_ACEOF
20864 #define LLVM_INCLUDEDIR "$LLVM_INCLUDEDIR"
20868 cat >>confdefs.h
<<_ACEOF
20869 #define LLVM_INFODIR "$LLVM_INFODIR"
20873 cat >>confdefs.h
<<_ACEOF
20874 #define LLVM_MANDIR "$LLVM_MANDIR"
20878 cat >>confdefs.h
<<_ACEOF
20879 #define LLVM_CONFIGTIME "$LLVM_CONFIGTIME"
20883 cat >>confdefs.h
<<_ACEOF
20884 #define LLVM_HOSTTRIPLE "$host"
20888 # Determine which bindings to build.
20889 if test "$BINDINGS_TO_BUILD" = auto
; then
20890 BINDINGS_TO_BUILD
=""
20891 if test "x$OCAMLC" != x
-a "x$OCAMLDEP" != x
; then
20892 BINDINGS_TO_BUILD
="ocaml $BINDINGS_TO_BUILD"
20895 BINDINGS_TO_BUILD
=$BINDINGS_TO_BUILD
20898 # This isn't really configurey, but it avoids having to repeat the list in
20903 # Do any work necessary to ensure that bindings have what they need.
20904 binding_prereqs_failed
=0
20905 for a_binding
in $BINDINGS_TO_BUILD ; do
20906 case "$a_binding" in
20908 if test "x$OCAMLC" = x
; then
20909 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamlc not found. Try configure OCAMLC=/path/to/ocamlc" >&5
20910 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamlc not found. Try configure OCAMLC=/path/to/ocamlc" >&2;}
20911 binding_prereqs_failed
=1
20913 if test "x$OCAMLDEP" = x
; then
20914 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamldep not found. Try configure OCAMLDEP=/path/to/ocamldep" >&5
20915 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamldep not found. Try configure OCAMLDEP=/path/to/ocamldep" >&2;}
20916 binding_prereqs_failed
=1
20918 if test "x$OCAMLOPT" = x
; then
20919 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamlopt not found. Try configure OCAMLOPT=/path/to/ocamlopt" >&5
20920 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamlopt not found. Try configure OCAMLOPT=/path/to/ocamlopt" >&2;}
20922 if test "x$with_ocaml_libdir" != xauto
; then
20923 OCAML_LIBDIR
=$with_ocaml_libdir
20926 ocaml_stdlib
="`"$OCAMLC" -where`"
20927 if test "$LLVM_PREFIX" '<' "$ocaml_stdlib" -a "$ocaml_stdlib" '<' "$LLVM_PREFIX~"
20929 # ocaml stdlib is beneath our prefix; use stdlib
20930 OCAML_LIBDIR
=$ocaml_stdlib
20933 # ocaml stdlib is outside our prefix; use libdir/ocaml
20934 OCAML_LIBDIR
=$LLVM_LIBDIR/ocaml
20941 if test "$binding_prereqs_failed" = 1 ; then
20942 { { echo "$as_me:$LINENO: error: Prequisites for bindings not satisfied. Fix them or use configure --disable-bindings." >&5
20943 echo "$as_me: error: Prequisites for bindings not satisfied. Fix them or use configure --disable-bindings." >&2;}
20944 { (exit 1); exit 1; }; }
20947 { echo "$as_me:$LINENO: checking for compiler -fvisibility-inlines-hidden option" >&5
20948 echo $ECHO_N "checking for compiler -fvisibility-inlines-hidden option... $ECHO_C" >&6; }
20949 if test "${llvm_cv_cxx_visibility_inlines_hidden+set}" = set; then
20950 echo $ECHO_N "(cached) $ECHO_C" >&6
20953 ac_cpp
='$CXXCPP $CPPFLAGS'
20954 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20955 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20956 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20958 oldcxxflags
="$CXXFLAGS"
20959 CXXFLAGS
="$CXXFLAGS -fvisibility-inlines-hidden"
20960 cat >conftest.
$ac_ext <<_ACEOF
20963 cat confdefs.h
>>conftest.
$ac_ext
20964 cat >>conftest.
$ac_ext <<_ACEOF
20965 /* end confdefs.h. */
20975 rm -f conftest.
$ac_objext
20976 if { (ac_try
="$ac_compile"
20977 case "(($ac_try" in
20978 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20979 *) ac_try_echo=$ac_try;;
20981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20982 (eval "$ac_compile") 2>conftest.er1
20984 grep -v '^ *+' conftest.er1 >conftest.err
20986 cat conftest.err >&5
20987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20988 (exit $ac_status); } &&
20989 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20990 { (case "(($ac_try" in
20991 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20992 *) ac_try_echo
=$ac_try;;
20994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20995 (eval "$ac_try") 2>&5
20997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20998 (exit $ac_status); }; } &&
20999 { ac_try
='test -s conftest.$ac_objext'
21000 { (case "(($ac_try" in
21001 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21002 *) ac_try_echo=$ac_try;;
21004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21005 (eval "$ac_try") 2>&5
21007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21008 (exit $ac_status); }; }; then
21009 llvm_cv_cxx_visibility_inlines_hidden=yes
21011 echo "$as_me: failed program was:" >&5
21012 sed 's/^/| /' conftest.$ac_ext >&5
21014 llvm_cv_cxx_visibility_inlines_hidden=no
21017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21018 CXXFLAGS="$oldcxxflags"
21020 ac_cpp='$CPP $CPPFLAGS'
21021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21027 { echo "$as_me:$LINENO: result: $llvm_cv_cxx_visibility_inlines_hidden" >&5
21028 echo "${ECHO_T}$llvm_cv_cxx_visibility_inlines_hidden" >&6; }
21029 if test "$llvm_cv_cxx_visibility_inlines_hidden" = yes ; then
21030 ENABLE_VISIBILITY_INLINES_HIDDEN=1
21033 ENABLE_VISIBILITY_INLINES_HIDDEN=0
21038 if test "$llvm_cv_link_use_r" = "yes" ; then
21045 if test "$llvm_cv_link_use_export_dynamic" = "yes" ; then
21046 RDYNAMIC="-Wl,-export-dynamic"
21053 ac_config_headers="$ac_config_headers include/llvm/Config/config.h include/llvm/Config/llvm-config.h"
21060 ac_config_files="$ac_config_files include/llvm/Config/Targets.def"
21062 ac_config_files="$ac_config_files include/llvm/Config/AsmPrinters.def"
21064 ac_config_files="$ac_config_files include/llvm/Config/AsmParsers.def"
21066 ac_config_files="$ac_config_files include/llvm/Config/Disassemblers.def"
21068 ac_config_headers="$ac_config_headers include/llvm/Support/DataTypes.h"
21071 ac_config_files="$ac_config_files Makefile.config"
21073 ac_config_files="$ac_config_files llvm.spec"
21076 ac_config_files="$ac_config_files docs/doxygen.cfg"
21078 if test -f ${srcdir}/tools/clang/README.txt; then
21079 ac_config_files="$ac_config_files tools/clang/docs/doxygen.cfg"
21083 ac_config_files="$ac_config_files tools/llvm-config/llvm-config.in"
21085 ac_config_files="$ac_config_files bindings/ocaml/llvm/META.llvm"
21087 ac_config_commands="$ac_config_commands setup"
21089 ac_config_commands="$ac_config_commands Makefile"
21092 ac_config_commands="$ac_config_commands Makefile.common"
21095 ac_config_commands="$ac_config_commands examples/Makefile"
21098 ac_config_commands="$ac_config_commands lib/Makefile"
21101 ac_config_commands="$ac_config_commands runtime/Makefile"
21104 ac_config_commands="$ac_config_commands test/Makefile"
21107 ac_config_commands="$ac_config_commands test/Makefile.tests"
21110 ac_config_commands="$ac_config_commands unittests/Makefile"
21113 ac_config_commands="$ac_config_commands tools/Makefile"
21116 ac_config_commands="$ac_config_commands utils/Makefile"
21119 ac_config_commands="$ac_config_commands projects/Makefile"
21122 ac_config_commands="$ac_config_commands bindings/Makefile"
21125 ac_config_commands="$ac_config_commands bindings/ocaml/Makefile.ocaml"
21129 cat >confcache <<\_ACEOF
21130 # This file is a shell script that caches the results of configure
21131 # tests run on this system so they can be shared between configure
21132 # scripts and configure runs, see configure's option --config-cache.
21133 # It is not useful on other systems. If it contains results you don't
21134 # want to keep, you may remove or edit it.
21136 # config.status only pays attention to the cache file if you give it
21137 # the --recheck option to rerun configure.
21139 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
21140 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21141 # following values.
21145 # The following way of writing the cache mishandles newlines in values,
21146 # but we know of no workaround that is simple, portable, and efficient.
21147 # So, we kill variables containing newlines.
21148 # Ultrix sh set writes to stderr and can't be redirected directly,
21149 # and sets the high bit in the cache file unless we assign to the vars.
21151 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21152 eval ac_val
=\$
$ac_var
21156 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21157 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21160 _ | IFS | as_nl
) ;; #(
21161 *) $as_unset $ac_var ;;
21167 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21168 *${as_nl}ac_space
=\
*)
21169 # `set' does not quote correctly, so add quotes (double-quote
21170 # substitution turns \\\\ into \\, and sed turns \\ into \).
21173 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21176 # `set' quotes correctly as required by POSIX, so do not add quotes.
21177 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21186 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21188 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21190 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21191 if test -w "$cache_file"; then
21192 test "x$cache_file" != "x/dev/null" &&
21193 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21194 echo "$as_me: updating cache $cache_file" >&6;}
21195 cat confcache
>$cache_file
21197 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21198 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21203 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21204 # Let make expand exec_prefix.
21205 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21207 DEFS
=-DHAVE_CONFIG_H
21211 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21212 # 1. Remove the extension, and $U if already installed.
21213 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21214 ac_i
=`echo "$ac_i" | sed "$ac_script"`
21215 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21216 # will be set to the directory where LIBOBJS objects are built.
21217 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21218 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21220 LIBOBJS
=$ac_libobjs
21222 LTLIBOBJS
=$ac_ltlibobjs
21225 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
21226 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
21227 Usually this means the macro was only invoked conditionally." >&5
21228 echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
21229 Usually this means the macro was only invoked conditionally." >&2;}
21230 { (exit 1); exit 1; }; }
21232 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
21233 { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
21234 Usually this means the macro was only invoked conditionally." >&5
21235 echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
21236 Usually this means the macro was only invoked conditionally." >&2;}
21237 { (exit 1); exit 1; }; }
21240 : ${CONFIG_STATUS=./config.status}
21241 ac_clean_files_save
=$ac_clean_files
21242 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21243 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21244 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21245 cat >$CONFIG_STATUS <<_ACEOF
21247 # Generated by $as_me.
21248 # Run this file to recreate the current configuration.
21249 # Compiler output produced by configure, useful for debugging
21250 # configure, is in config.log if it exists.
21253 ac_cs_recheck=false
21255 SHELL=\${CONFIG_SHELL-$SHELL}
21258 cat >>$CONFIG_STATUS <<\_ACEOF
21259 ## --------------------- ##
21260 ## M4sh Initialization. ##
21261 ## --------------------- ##
21263 # Be Bourne compatible
21264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21268 # is contrary to our usage. Disable this feature.
21269 alias -g '${1+"$@"}'='"$@"'
21270 setopt NO_GLOB_SUBST
21272 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
21274 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
21275 DUALCASE
=1; export DUALCASE
# for MKS sh
21279 # Avoid depending upon Character Ranges.
21280 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21281 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21282 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21283 as_cr_digits
='0123456789'
21284 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21286 # The user is always right.
21287 if test "${PATH_SEPARATOR+set}" != set; then
21288 echo "#! /bin/sh" >conf$$.sh
21289 echo "exit 0" >>conf$$.sh
21291 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21299 # Support unset when possible.
21300 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21308 # We need space, tab and new line, in precisely that order. Quoting is
21309 # there to prevent editors from complaining about space-tab.
21310 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21311 # splitting by setting IFS to empty value.)
21316 # Find who we are. Look in the path if we contain no directory separator.
21318 *[\\/]* ) as_myself
=$0 ;;
21319 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21320 for as_dir
in $PATH
21323 test -z "$as_dir" && as_dir
=.
21324 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21330 # We did not find ourselves, most probably we were run as `sh COMMAND'
21331 # in which case we are not to be found in the path.
21332 if test "x$as_myself" = x
; then
21335 if test ! -f "$as_myself"; then
21336 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21337 { (exit 1); exit 1; }
21340 # Work around bugs in pre-3.0 UWIN ksh.
21341 for as_var
in ENV MAIL MAILPATH
21342 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21350 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21351 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21352 LC_TELEPHONE LC_TIME
21354 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21355 eval $as_var=C
; export $as_var
21357 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21361 # Required to use basename.
21362 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21363 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21369 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21370 as_basename
=basename
21376 # Name of the executable.
21377 as_me
=`$as_basename -- "$0" ||
21378 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21379 X"$0" : 'X\(//\)$' \| \
21380 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21382 sed '/^.*\/\([^/][^/]*\)\/*$/{
21401 as_lineno_1
=$LINENO
21402 as_lineno_2
=$LINENO
21403 test "x$as_lineno_1" != "x$as_lineno_2" &&
21404 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21406 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21407 # uniformly replaced by the line number. The first 'sed' inserts a
21408 # line-number line after each line using $LINENO; the second 'sed'
21409 # does the real work. The second script uses 'N' to pair each
21410 # line-number line with the line containing $LINENO, and appends
21411 # trailing '-' during substitution so that $LINENO is not a special
21412 # case at line end.
21413 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21414 # scripts with optimization help from Paolo Bonzini. Blame Lee
21415 # E. McMahon (1931-1989) for sed's syntax. :-)
21427 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21430 ' >$as_me.lineno
&&
21431 chmod +x
"$as_me.lineno" ||
21432 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21433 { (exit 1); exit 1; }; }
21435 # Don't try to exec as it changes $[0], causing all sort of problems
21436 # (the dirname of $[0] is not the place where we might find the
21437 # original and so on. Autoconf is especially sensitive to this).
21438 .
"./$as_me.lineno"
21439 # Exit status is that of the last command.
21444 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21450 ECHO_C
= ECHO_N
= ECHO_T
=
21451 case `echo -n x` in
21453 case `echo 'x\c'` in
21454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21461 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21462 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21468 rm -f conf$$ conf$$.exe conf$$.
file
21469 if test -d conf$$.dir
; then
21470 rm -f conf$$.dir
/conf$$.
file
21476 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21478 # ... but there are two gotchas:
21479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21481 # In both cases, we have to default to `cp -p'.
21482 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21484 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21489 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21490 rmdir conf$$.dir
2>/dev
/null
21492 if mkdir
-p .
2>/dev
/null
; then
21495 test -d .
/-p && rmdir .
/-p
21499 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
21500 # systems may use methods other than mode bits to determine executability.
21501 cat >conf$$.
file <<_ASEOF
21505 chmod +x conf$$.
file
21506 if test -x conf$$.
file >/dev
/null
2>&1; then
21507 as_executable_p
="test -x"
21513 # Sed expression to map a string onto a valid CPP name.
21514 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21516 # Sed expression to map a string onto a valid variable name.
21517 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21522 # Save the log message, to keep $[0] and so on meaningful, and to
21523 # report actual input values of CONFIG_FILES etc. instead of their
21524 # values after options handling.
21526 This file was extended by llvm $as_me 3.1svn, which was
21527 generated by GNU Autoconf 2.60. Invocation command line was
21529 CONFIG_FILES = $CONFIG_FILES
21530 CONFIG_HEADERS = $CONFIG_HEADERS
21531 CONFIG_LINKS = $CONFIG_LINKS
21532 CONFIG_COMMANDS = $CONFIG_COMMANDS
21535 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21540 cat >>$CONFIG_STATUS <<_ACEOF
21541 # Files that config.status was made for.
21542 config_files="$ac_config_files"
21543 config_headers="$ac_config_headers"
21544 config_commands="$ac_config_commands"
21548 cat >>$CONFIG_STATUS <<\_ACEOF
21550 \`$as_me' instantiates files from templates according to the
21551 current configuration.
21553 Usage: $0 [OPTIONS] [FILE]...
21555 -h, --help print this help, then exit
21556 -V, --version print version number, then exit
21557 -q, --quiet do not print progress messages
21558 -d, --debug don't remove temporary files
21559 --recheck update $as_me by reconfiguring in the same conditions
21560 --file=FILE[:TEMPLATE]
21561 instantiate the configuration file FILE
21562 --header=FILE[:TEMPLATE]
21563 instantiate the configuration header FILE
21565 Configuration files:
21568 Configuration headers:
21571 Configuration commands:
21574 Report bugs to <bug-autoconf@gnu.org>."
21577 cat >>$CONFIG_STATUS <<_ACEOF
21579 llvm config.status 3.1svn
21580 configured by $0, generated by GNU Autoconf 2.60,
21581 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21583 Copyright (C) 2006 Free Software Foundation, Inc.
21584 This config.status script is free software; the Free Software Foundation
21585 gives unlimited permission to copy, distribute and modify it."
21592 cat >>$CONFIG_STATUS <<\_ACEOF
21593 # If no file are specified by the user, then we need to provide default
21594 # value. By we need to know if files were specified by the user.
21600 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21601 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21612 # Handling of the options.
21613 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21615 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21616 echo "$ac_cs_version"; exit ;;
21617 --debug |
--debu |
--deb |
--de |
--d |
-d )
21619 --file |
--fil |
--fi |
--f )
21621 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21622 ac_need_defaults
=false
;;
21623 --header |
--heade |
--head |
--hea )
21625 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21626 ac_need_defaults
=false
;;
21628 # Conflict between --help and --header
21629 { echo "$as_me: error: ambiguous option: $1
21630 Try \`$0 --help' for more information." >&2
21631 { (exit 1); exit 1; }; };;
21632 --help |
--hel |
-h )
21633 echo "$ac_cs_usage"; exit ;;
21634 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21635 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21638 # This is an error.
21639 -*) { echo "$as_me: error: unrecognized option: $1
21640 Try \`$0 --help' for more information." >&2
21641 { (exit 1); exit 1; }; } ;;
21643 *) ac_config_targets
="$ac_config_targets $1"
21644 ac_need_defaults
=false
;;
21650 ac_configure_extra_args
=
21652 if $ac_cs_silent; then
21654 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21658 cat >>$CONFIG_STATUS <<_ACEOF
21659 if \$ac_cs_recheck; then
21660 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21661 CONFIG_SHELL=$SHELL
21662 export CONFIG_SHELL
21663 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21667 cat >>$CONFIG_STATUS <<\_ACEOF
21671 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21672 ## Running $as_me. ##
21678 cat >>$CONFIG_STATUS <<_ACEOF
21682 llvm_src="${srcdir}"
21686 cat >>$CONFIG_STATUS <<\_ACEOF
21688 # Handling of arguments.
21689 for ac_config_target
in $ac_config_targets
21691 case $ac_config_target in
21692 "include/llvm/Config/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/Config/config.h" ;;
21693 "include/llvm/Config/llvm-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/Config/llvm-config.h" ;;
21694 "include/llvm/Config/Targets.def") CONFIG_FILES
="$CONFIG_FILES include/llvm/Config/Targets.def" ;;
21695 "include/llvm/Config/AsmPrinters.def") CONFIG_FILES
="$CONFIG_FILES include/llvm/Config/AsmPrinters.def" ;;
21696 "include/llvm/Config/AsmParsers.def") CONFIG_FILES
="$CONFIG_FILES include/llvm/Config/AsmParsers.def" ;;
21697 "include/llvm/Config/Disassemblers.def") CONFIG_FILES
="$CONFIG_FILES include/llvm/Config/Disassemblers.def" ;;
21698 "include/llvm/Support/DataTypes.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/Support/DataTypes.h" ;;
21699 "Makefile.config") CONFIG_FILES
="$CONFIG_FILES Makefile.config" ;;
21700 "llvm.spec") CONFIG_FILES
="$CONFIG_FILES llvm.spec" ;;
21701 "docs/doxygen.cfg") CONFIG_FILES
="$CONFIG_FILES docs/doxygen.cfg" ;;
21702 "tools/clang/docs/doxygen.cfg") CONFIG_FILES
="$CONFIG_FILES tools/clang/docs/doxygen.cfg" ;;
21703 "tools/llvm-config/llvm-config.in") CONFIG_FILES
="$CONFIG_FILES tools/llvm-config/llvm-config.in" ;;
21704 "setup") CONFIG_COMMANDS
="$CONFIG_COMMANDS setup" ;;
21705 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
21706 "Makefile.common") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile.common" ;;
21707 "examples/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS examples/Makefile" ;;
21708 "lib/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS lib/Makefile" ;;
21709 "runtime/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS runtime/Makefile" ;;
21710 "test/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS test/Makefile" ;;
21711 "test/Makefile.tests") CONFIG_COMMANDS
="$CONFIG_COMMANDS test/Makefile.tests" ;;
21712 "unittests/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS unittests/Makefile" ;;
21713 "tools/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/Makefile" ;;
21714 "utils/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS utils/Makefile" ;;
21715 "projects/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS projects/Makefile" ;;
21716 "bindings/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS bindings/Makefile" ;;
21717 "bindings/ocaml/Makefile.ocaml") CONFIG_COMMANDS
="$CONFIG_COMMANDS bindings/ocaml/Makefile.ocaml" ;;
21719 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21720 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21721 { (exit 1); exit 1; }; };;
21726 # If the user did not use the arguments to specify the items to instantiate,
21727 # then the envvar interface is used. Set only those that are not.
21728 # We use the long form for the default assignment because of an extremely
21729 # bizarre bug on SunOS 4.1.3.
21730 if $ac_need_defaults; then
21731 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21732 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21733 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21736 # Have a temporary directory for convenience. Make it in the build tree
21737 # simply because there is no reason against having it here, and in addition,
21738 # creating and moving files from /tmp can sometimes cause problems.
21739 # Hook for its removal unless debugging.
21740 # Note that there is a small window in which the directory will not be cleaned:
21741 # after its creation but before its name has been assigned to `$tmp'.
21745 trap 'exit_status=$?
21746 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21748 trap '{ (exit 1); exit 1; }' 1 2 13 15
21750 # Create a (secure) tmp directory for tmp files.
21753 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21754 test -n "$tmp" && test -d "$tmp"
21757 tmp
=.
/conf$$
-$RANDOM
21758 (umask 077 && mkdir
"$tmp")
21761 echo "$me: cannot create a temporary directory in ." >&2
21762 { (exit 1); exit 1; }
21766 # Set up the sed scripts for CONFIG_FILES section.
21769 # No need to generate the scripts if there are no CONFIG_FILES.
21770 # This happens for instance when ./config.status config.h
21771 if test -n "$CONFIG_FILES"; then
21778 for ac_last_try
in false false false false false
:; do
21779 cat >conf$
$subs.
sed <<_ACEOF
21780 SHELL!$SHELL$ac_delim
21781 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21782 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21783 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21784 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21785 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21786 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21787 exec_prefix!$exec_prefix$ac_delim
21788 prefix!$prefix$ac_delim
21789 program_transform_name!$program_transform_name$ac_delim
21790 bindir!$bindir$ac_delim
21791 sbindir!$sbindir$ac_delim
21792 libexecdir!$libexecdir$ac_delim
21793 datarootdir!$datarootdir$ac_delim
21794 datadir!$datadir$ac_delim
21795 sysconfdir!$sysconfdir$ac_delim
21796 sharedstatedir!$sharedstatedir$ac_delim
21797 localstatedir!$localstatedir$ac_delim
21798 includedir!$includedir$ac_delim
21799 oldincludedir!$oldincludedir$ac_delim
21800 docdir!$docdir$ac_delim
21801 infodir!$infodir$ac_delim
21802 htmldir!$htmldir$ac_delim
21803 dvidir!$dvidir$ac_delim
21804 pdfdir!$pdfdir$ac_delim
21805 psdir!$psdir$ac_delim
21806 libdir!$libdir$ac_delim
21807 localedir!$localedir$ac_delim
21808 mandir!$mandir$ac_delim
21809 DEFS!$DEFS$ac_delim
21810 ECHO_C!$ECHO_C$ac_delim
21811 ECHO_N!$ECHO_N$ac_delim
21812 ECHO_T!$ECHO_T$ac_delim
21813 LIBS!$LIBS$ac_delim
21814 build_alias!$build_alias$ac_delim
21815 host_alias!$host_alias$ac_delim
21816 target_alias!$target_alias$ac_delim
21817 LLVM_COPYRIGHT!$LLVM_COPYRIGHT$ac_delim
21819 CFLAGS!$CFLAGS$ac_delim
21820 LDFLAGS!$LDFLAGS$ac_delim
21821 CPPFLAGS!$CPPFLAGS$ac_delim
21822 ac_ct_CC!$ac_ct_CC$ac_delim
21823 EXEEXT!$EXEEXT$ac_delim
21824 OBJEXT!$OBJEXT$ac_delim
21826 CXXFLAGS!$CXXFLAGS$ac_delim
21827 ac_ct_CXX!$ac_ct_CXX$ac_delim
21829 subdirs!$subdirs$ac_delim
21830 ENABLE_POLLY!$ENABLE_POLLY$ac_delim
21831 LLVM_HAS_POLLY!$LLVM_HAS_POLLY$ac_delim
21832 build!$build$ac_delim
21833 build_cpu!$build_cpu$ac_delim
21834 build_vendor!$build_vendor$ac_delim
21835 build_os!$build_os$ac_delim
21836 host!$host$ac_delim
21837 host_cpu!$host_cpu$ac_delim
21838 host_vendor!$host_vendor$ac_delim
21839 host_os!$host_os$ac_delim
21840 target!$target$ac_delim
21841 target_cpu!$target_cpu$ac_delim
21842 target_vendor!$target_vendor$ac_delim
21843 target_os!$target_os$ac_delim
21845 HOST_OS!$HOST_OS$ac_delim
21846 TARGET_OS!$TARGET_OS$ac_delim
21847 LINKALL!$LINKALL$ac_delim
21848 NOLINKALL!$NOLINKALL$ac_delim
21849 LLVM_ON_UNIX!$LLVM_ON_UNIX$ac_delim
21850 LLVM_ON_WIN32!$LLVM_ON_WIN32$ac_delim
21851 ARCH!$ARCH$ac_delim
21852 ENDIAN!$ENDIAN$ac_delim
21853 GREP!$GREP$ac_delim
21854 EGREP!$EGREP$ac_delim
21855 LLVM_CROSS_COMPILING!$LLVM_CROSS_COMPILING$ac_delim
21856 BUILD_CC!$BUILD_CC$ac_delim
21857 BUILD_EXEEXT!$BUILD_EXEEXT$ac_delim
21858 BUILD_CXX!$BUILD_CXX$ac_delim
21859 CVSBUILD!$CVSBUILD$ac_delim
21860 ENABLE_OPTIMIZED!$ENABLE_OPTIMIZED$ac_delim
21861 ENABLE_PROFILING!$ENABLE_PROFILING$ac_delim
21862 DISABLE_ASSERTIONS!$DISABLE_ASSERTIONS$ac_delim
21863 ENABLE_EXPENSIVE_CHECKS!$ENABLE_EXPENSIVE_CHECKS$ac_delim
21864 EXPENSIVE_CHECKS!$EXPENSIVE_CHECKS$ac_delim
21865 DEBUG_RUNTIME!$DEBUG_RUNTIME$ac_delim
21866 DEBUG_SYMBOLS!$DEBUG_SYMBOLS$ac_delim
21868 TARGET_HAS_JIT!$TARGET_HAS_JIT$ac_delim
21869 ENABLE_DOCS!$ENABLE_DOCS$ac_delim
21870 ENABLE_DOXYGEN!$ENABLE_DOXYGEN$ac_delim
21871 ENABLE_THREADS!$ENABLE_THREADS$ac_delim
21872 ENABLE_PTHREADS!$ENABLE_PTHREADS$ac_delim
21873 ENABLE_PIC!$ENABLE_PIC$ac_delim
21874 ENABLE_SHARED!$ENABLE_SHARED$ac_delim
21875 ENABLE_EMBED_STDCXX!$ENABLE_EMBED_STDCXX$ac_delim
21876 ENABLE_TIMESTAMPS!$ENABLE_TIMESTAMPS$ac_delim
21879 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
21881 elif $ac_last_try; then
21882 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21883 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21884 { (exit 1); exit 1; }; }
21886 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21890 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21891 if test -n "$ac_eof"; then
21892 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21893 ac_eof
=`expr $ac_eof + 1`
21896 cat >>$CONFIG_STATUS <<_ACEOF
21897 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21898 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21901 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21902 s/^/s,@/; s/!/@,|#_!!_#|/
21905 s/'"$ac_delim"'$/,g/; t
21907 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21908 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21909 rm -f conf$
$subs.
sed
21910 cat >>$CONFIG_STATUS <<_ACEOF
21916 for ac_last_try
in false false false false false
:; do
21917 cat >conf$
$subs.
sed <<_ACEOF
21918 TARGETS_TO_BUILD!$TARGETS_TO_BUILD$ac_delim
21919 LLVM_ENUM_TARGETS!$LLVM_ENUM_TARGETS$ac_delim
21920 LLVM_ENUM_ASM_PRINTERS!$LLVM_ENUM_ASM_PRINTERS$ac_delim
21921 LLVM_ENUM_ASM_PARSERS!$LLVM_ENUM_ASM_PARSERS$ac_delim
21922 LLVM_ENUM_DISASSEMBLERS!$LLVM_ENUM_DISASSEMBLERS$ac_delim
21923 ENABLE_CBE_PRINTF_A!$ENABLE_CBE_PRINTF_A$ac_delim
21924 OPTIMIZE_OPTION!$OPTIMIZE_OPTION$ac_delim
21925 EXTRA_OPTIONS!$EXTRA_OPTIONS$ac_delim
21926 EXTRA_LD_OPTIONS!$EXTRA_LD_OPTIONS$ac_delim
21927 CLANG_SRC_ROOT!$CLANG_SRC_ROOT$ac_delim
21928 BINUTILS_INCDIR!$BINUTILS_INCDIR$ac_delim
21930 ifGNUmake!$ifGNUmake$ac_delim
21931 LN_S!$LN_S$ac_delim
21934 DATE!$DATE$ac_delim
21935 FIND!$FIND$ac_delim
21936 MKDIR!$MKDIR$ac_delim
21938 RANLIB!$RANLIB$ac_delim
21943 BINPWD!$BINPWD$ac_delim
21944 GRAPHVIZ!$GRAPHVIZ$ac_delim
21947 NEATO!$NEATO$ac_delim
21948 TWOPI!$TWOPI$ac_delim
21949 CIRCO!$CIRCO$ac_delim
21951 DOTTY!$DOTTY$ac_delim
21952 XDOT_PY!$XDOT_PY$ac_delim
21953 PERL!$PERL$ac_delim
21954 HAVE_PERL!$HAVE_PERL$ac_delim
21955 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21956 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21957 INSTALL_DATA!$INSTALL_DATA$ac_delim
21958 BZIP2!$BZIP2$ac_delim
21960 DOXYGEN!$DOXYGEN$ac_delim
21961 GROFF!$GROFF$ac_delim
21962 GZIPBIN!$GZIPBIN$ac_delim
21963 POD2HTML!$POD2HTML$ac_delim
21964 POD2MAN!$POD2MAN$ac_delim
21965 PDFROFF!$PDFROFF$ac_delim
21966 RUNTEST!$RUNTEST$ac_delim
21967 TCLSH!$TCLSH$ac_delim
21969 OCAMLC!$OCAMLC$ac_delim
21970 OCAMLOPT!$OCAMLOPT$ac_delim
21971 OCAMLDEP!$OCAMLDEP$ac_delim
21972 OCAMLDOC!$OCAMLDOC$ac_delim
21974 HAVE_LINK_VERSION_SCRIPT!$HAVE_LINK_VERSION_SCRIPT$ac_delim
21975 INSTALL_LTDL_TRUE!$INSTALL_LTDL_TRUE$ac_delim
21976 INSTALL_LTDL_FALSE!$INSTALL_LTDL_FALSE$ac_delim
21977 CONVENIENCE_LTDL_TRUE!$CONVENIENCE_LTDL_TRUE$ac_delim
21978 CONVENIENCE_LTDL_FALSE!$CONVENIENCE_LTDL_FALSE$ac_delim
21979 LIBADD_DL!$LIBADD_DL$ac_delim
21980 NO_VARIADIC_MACROS!$NO_VARIADIC_MACROS$ac_delim
21981 NO_MISSING_FIELD_INITIALIZERS!$NO_MISSING_FIELD_INITIALIZERS$ac_delim
21982 USE_UDIS86!$USE_UDIS86$ac_delim
21983 USE_OPROFILE!$USE_OPROFILE$ac_delim
21984 HAVE_PTHREAD!$HAVE_PTHREAD$ac_delim
21985 HUGE_VAL_SANITY!$HUGE_VAL_SANITY$ac_delim
21986 MMAP_FILE!$MMAP_FILE$ac_delim
21987 SHLIBEXT!$SHLIBEXT$ac_delim
21988 SHLIBPATH_VAR!$SHLIBPATH_VAR$ac_delim
21989 LLVM_PREFIX!$LLVM_PREFIX$ac_delim
21990 LLVM_BINDIR!$LLVM_BINDIR$ac_delim
21991 LLVM_LIBDIR!$LLVM_LIBDIR$ac_delim
21992 LLVM_DATADIR!$LLVM_DATADIR$ac_delim
21993 LLVM_DOCSDIR!$LLVM_DOCSDIR$ac_delim
21994 LLVM_ETCDIR!$LLVM_ETCDIR$ac_delim
21995 LLVM_INCLUDEDIR!$LLVM_INCLUDEDIR$ac_delim
21996 LLVM_INFODIR!$LLVM_INFODIR$ac_delim
21997 LLVM_MANDIR!$LLVM_MANDIR$ac_delim
21998 LLVM_CONFIGTIME!$LLVM_CONFIGTIME$ac_delim
21999 BINDINGS_TO_BUILD!$BINDINGS_TO_BUILD$ac_delim
22000 ALL_BINDINGS!$ALL_BINDINGS$ac_delim
22001 OCAML_LIBDIR!$OCAML_LIBDIR$ac_delim
22002 ENABLE_VISIBILITY_INLINES_HIDDEN!$ENABLE_VISIBILITY_INLINES_HIDDEN$ac_delim
22003 RPATH!$RPATH$ac_delim
22004 RDYNAMIC!$RDYNAMIC$ac_delim
22005 LIBOBJS!$LIBOBJS$ac_delim
22006 LTLIBOBJS!$LTLIBOBJS$ac_delim
22009 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 89; then
22011 elif $ac_last_try; then
22012 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22013 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22014 { (exit 1); exit 1; }; }
22016 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22020 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22021 if test -n "$ac_eof"; then
22022 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22023 ac_eof
=`expr $ac_eof + 1`
22026 cat >>$CONFIG_STATUS <<_ACEOF
22027 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22028 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22031 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22032 s/^/s,@/; s/!/@,|#_!!_#|/
22035 s/'"$ac_delim"'$/,g/; t
22037 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22038 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22039 rm -f conf$
$subs.
sed
22040 cat >>$CONFIG_STATUS <<_ACEOF
22047 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22048 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22049 # trailing colons and then remove the whole line if VPATH becomes empty
22050 # (actually we leave an empty line to preserve line numbers).
22051 if test "x$srcdir" = x.
; then
22052 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22053 s/:*\$(srcdir):*/:/
22054 s/:*\${srcdir}:*/:/
22056 s/^\([^=]*=[ ]*\):*/\1/
22062 cat >>$CONFIG_STATUS <<\_ACEOF
22063 fi # test -n "$CONFIG_FILES"
22066 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
22069 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22071 case $ac_mode$ac_tag in
22073 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22074 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22075 { (exit 1); exit 1; }; };;
22076 :[FH
]-) ac_tag
=-:-;;
22077 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22094 -) ac_f
="$tmp/stdin";;
22095 *) # Look for the file first in the build tree, then in the source tree
22096 # (if the path is not absolute). The absolute path cannot be DOS-style,
22097 # because $ac_f cannot contain `:'.
22101 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22103 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22104 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22105 { (exit 1); exit 1; }; };;
22107 ac_file_inputs
="$ac_file_inputs $ac_f"
22110 # Let's still pretend it is `configure' which instantiates (i.e., don't
22111 # use $as_me), people would be surprised to read:
22112 # /* config.h. Generated by config.status. */
22113 configure_input
="Generated from "`IFS=:
22114 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22115 if test x
"$ac_file" != x-
; then
22116 configure_input
="$ac_file. $configure_input"
22117 { echo "$as_me:$LINENO: creating $ac_file" >&5
22118 echo "$as_me: creating $ac_file" >&6;}
22122 *:-:* |
*:-) cat >"$tmp/stdin";;
22127 ac_dir
=`$as_dirname -- "$ac_file" ||
22128 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22129 X"$ac_file" : 'X\(//\)[^/]' \| \
22130 X"$ac_file" : 'X\(//\)$' \| \
22131 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22133 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22137 /^X\(\/\/\)[^/].*/{
22152 -*) as_dir
=.
/$as_dir;;
22154 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22158 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22159 *) as_qdir
=$as_dir;;
22161 as_dirs
="'$as_qdir' $as_dirs"
22162 as_dir
=`$as_dirname -- "$as_dir" ||
22163 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22164 X"$as_dir" : 'X\(//\)[^/]' \| \
22165 X"$as_dir" : 'X\(//\)$' \| \
22166 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22168 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22172 /^X\(\/\/\)[^/].*/{
22185 test -d "$as_dir" && break
22187 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22188 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22189 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22190 { (exit 1); exit 1; }; }; }
22194 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22196 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22197 # A ".." for each directory in $ac_dir_suffix.
22198 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22199 case $ac_top_builddir_sub in
22200 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22201 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22204 ac_abs_top_builddir
=$ac_pwd
22205 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22206 # for backward compatibility:
22207 ac_top_builddir
=$ac_top_build_prefix
22210 .
) # We are building in place.
22212 ac_top_srcdir
=$ac_top_builddir_sub
22213 ac_abs_top_srcdir
=$ac_pwd ;;
22214 [\\/]* | ?
:[\\/]* ) # Absolute name.
22215 ac_srcdir
=$srcdir$ac_dir_suffix;
22216 ac_top_srcdir
=$srcdir
22217 ac_abs_top_srcdir
=$srcdir ;;
22218 *) # Relative name.
22219 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22220 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22221 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22223 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22233 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22234 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22238 cat >>$CONFIG_STATUS <<\_ACEOF
22239 # If the template does not know about datarootdir, expand it.
22240 # FIXME: This hack should be removed a few years after 2.60.
22241 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22243 case `sed -n '/datarootdir/ {
22252 ' $ac_file_inputs` in
22253 *datarootdir
*) ac_datarootdir_seen
=yes;;
22254 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22255 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22256 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22258 cat >>$CONFIG_STATUS <<_ACEOF
22259 ac_datarootdir_hack='
22260 s&@datadir@&$datadir&g
22261 s&@docdir@&$docdir&g
22262 s&@infodir@&$infodir&g
22263 s&@localedir@&$localedir&g
22264 s&@mandir@&$mandir&g
22265 s&\\\${datarootdir}&$datarootdir&g' ;;
22269 # Neutralize VPATH when `$srcdir' = `.'.
22270 # Shell code in configure.ac might set extrasub.
22271 # FIXME: do we really want to maintain this feature?
22272 cat >>$CONFIG_STATUS <<_ACEOF
22276 cat >>$CONFIG_STATUS <<\_ACEOF
22278 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22279 s
&@configure_input@
&$configure_input&;t t
22280 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22281 s
&@srcdir@
&$ac_srcdir&;t t
22282 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22283 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22284 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22285 s
&@builddir@
&$ac_builddir&;t t
22286 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22287 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22288 s
&@INSTALL@
&$ac_INSTALL&;t t
22289 $ac_datarootdir_hack
22290 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
22292 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22293 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
22294 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
22295 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22296 which seems to be undefined. Please make sure it is defined." >&5
22297 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22298 which seems to be undefined. Please make sure it is defined." >&2;}
22302 -) cat "$tmp/out"; rm -f "$tmp/out";;
22303 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22312 # Transform confdefs.h into a sed script `conftest.defines', that
22313 # substitutes the proper values into config.h.in to produce config.h.
22314 rm -f conftest.defines conftest.
tail
22315 # First, append a space to every undef/define line, to ease matching.
22316 echo 's/$/ /' >conftest.defines
22317 # Then, protect against being on the right side of a sed subst, or in
22318 # an unquoted here document, in config.status. If some macros were
22319 # called several times there might be several #defines for the same
22320 # symbol, which is useless. But do not sort them, since the last
22321 # AC_DEFINE must be honored.
22322 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
22323 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22324 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22325 # PARAMS is the parameter list in the macro definition--in most cases, it's
22326 # just an empty string.
22327 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22328 ac_dB
='\\)[ (].*,\\1define\\2'
22336 s/^[ ]*#[ ]*define[ ][ ]*//
22341 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22342 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22343 ' >>conftest.defines
22345 # Remove the space that was appended to ease matching.
22346 # Then replace #undef with comments. This is necessary, for
22347 # example, in the case of _POSIX_SOURCE, which is predefined and required
22348 # on some systems where configure will not decide to define it.
22349 # (The regexp can be short, since the line contains either #define or #undef.)
22351 s,^[ #]*u.*,/* & */,' >>conftest.defines
22353 # Break up conftest.defines:
22354 ac_max_sed_lines
=50
22356 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22357 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22358 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22360 ac_in
='$ac_file_inputs'
22361 ac_out
='"$tmp/out1"'
22362 ac_nxt
='"$tmp/out2"'
22366 # Write a here document:
22367 cat >>$CONFIG_STATUS <<_ACEOF
22368 # First, check the format of the line:
22369 cat >"\$tmp/defines.sed" <<\\CEOF
22370 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22371 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22375 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
22377 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22378 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
22379 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
22380 grep . conftest.
tail >/dev
/null ||
break
22381 rm -f conftest.defines
22382 mv conftest.
tail conftest.defines
22384 rm -f conftest.defines conftest.
tail
22386 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22387 cat >>$CONFIG_STATUS <<\_ACEOF
22388 if test x
"$ac_file" != x-
; then
22389 echo "/* $configure_input */" >"$tmp/config.h"
22390 cat "$ac_result" >>"$tmp/config.h"
22391 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
22392 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22393 echo "$as_me: $ac_file is unchanged" >&6;}
22396 mv "$tmp/config.h" $ac_file
22399 echo "/* $configure_input */"
22405 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22406 echo "$as_me: executing $ac_file commands" >&6;}
22411 case $ac_file$ac_mode in
22412 "Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname Makefile`
22413 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/Makefile Makefile
;;
22414 "Makefile.common":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname Makefile.common`
22415 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/Makefile.common Makefile.common
;;
22416 "examples/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname examples/Makefile`
22417 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/examples
/Makefile examples
/Makefile
;;
22418 "lib/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname lib/Makefile`
22419 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/lib
/Makefile lib
/Makefile
;;
22420 "runtime/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname runtime/Makefile`
22421 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/runtime
/Makefile runtime
/Makefile
;;
22422 "test/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname test/Makefile`
22423 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/test
/Makefile test
/Makefile
;;
22424 "test/Makefile.tests":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname test/Makefile.tests`
22425 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/test
/Makefile.tests test
/Makefile.tests
;;
22426 "unittests/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname unittests/Makefile`
22427 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/unittests
/Makefile unittests
/Makefile
;;
22428 "tools/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname tools/Makefile`
22429 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/tools
/Makefile tools
/Makefile
;;
22430 "utils/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname utils/Makefile`
22431 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/utils
/Makefile utils
/Makefile
;;
22432 "projects/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname projects/Makefile`
22433 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/projects
/Makefile projects
/Makefile
;;
22434 "bindings/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname bindings/Makefile`
22435 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/bindings
/Makefile bindings
/Makefile
;;
22436 "bindings/ocaml/Makefile.ocaml":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname bindings/ocaml/Makefile.ocaml`
22437 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/bindings
/ocaml
/Makefile.ocaml bindings
/ocaml
/Makefile.ocaml
;;
22443 { (exit 0); exit 0; }
22445 chmod +x
$CONFIG_STATUS
22446 ac_clean_files
=$ac_clean_files_save
22449 # configure is writing to config.log, and then calls config.status.
22450 # config.status does its own redirection, appending to config.log.
22451 # Unfortunately, on DOS this fails, as config.log is still kept open
22452 # by configure, so config.status won't be able to write to it; its
22453 # output is simply discarded. So we exec the FD to /dev/null,
22454 # effectively closing config.log, so it can be properly (re)opened and
22455 # appended to by config.status. When coming back to configure, we
22456 # need to make the FD available again.
22457 if test "$no_create" != yes; then
22459 ac_config_status_args
=
22460 test "$silent" = yes &&
22461 ac_config_status_args
="$ac_config_status_args --quiet"
22463 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22465 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22466 # would make configure fail if this is the last instruction.
22467 $ac_cs_success ||
{ (exit 1); exit 1; }
22471 # CONFIG_SUBDIRS section.
22473 if test "$no_recursion" != yes; then
22475 # Remove --cache-file and --srcdir arguments so they do not pile up.
22476 ac_sub_configure_args
=
22478 eval "set x $ac_configure_args"
22482 if test -n "$ac_prev"; then
22487 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
22488 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
22489 ac_prev
=cache_file
;;
22490 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
22491 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
22494 --config-cache |
-C)
22496 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
22498 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
22500 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
22502 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
22506 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
22508 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
22512 # Always prepend --prefix to ensure using the same prefix
22513 # in subdir configurations.
22514 ac_arg
="--prefix=$prefix"
22516 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
22518 ac_sub_configure_args
="$ac_arg $ac_sub_configure_args"
22521 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
22523 # Do not complain, so a configure script can configure whichever
22524 # parts of a large source tree are present.
22525 test -d "$srcdir/$ac_dir" ||
continue
22527 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
22528 echo "$as_me:$LINENO: $ac_msg" >&5
22532 -*) as_dir
=.
/$as_dir;;
22534 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22538 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22539 *) as_qdir
=$as_dir;;
22541 as_dirs
="'$as_qdir' $as_dirs"
22542 as_dir
=`$as_dirname -- "$as_dir" ||
22543 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22544 X"$as_dir" : 'X\(//\)[^/]' \| \
22545 X"$as_dir" : 'X\(//\)$' \| \
22546 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22548 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22552 /^X\(\/\/\)[^/].*/{
22565 test -d "$as_dir" && break
22567 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22568 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22569 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22570 { (exit 1); exit 1; }; }; }
22574 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22576 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22577 # A ".." for each directory in $ac_dir_suffix.
22578 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22579 case $ac_top_builddir_sub in
22580 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22581 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22584 ac_abs_top_builddir
=$ac_pwd
22585 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22586 # for backward compatibility:
22587 ac_top_builddir
=$ac_top_build_prefix
22590 .
) # We are building in place.
22592 ac_top_srcdir
=$ac_top_builddir_sub
22593 ac_abs_top_srcdir
=$ac_pwd ;;
22594 [\\/]* | ?
:[\\/]* ) # Absolute name.
22595 ac_srcdir
=$srcdir$ac_dir_suffix;
22596 ac_top_srcdir
=$srcdir
22597 ac_abs_top_srcdir
=$srcdir ;;
22598 *) # Relative name.
22599 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22600 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22601 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22603 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22608 # Check for guested configure; otherwise get Cygnus style configure.
22609 if test -f "$ac_srcdir/configure.gnu"; then
22610 ac_sub_configure
=$ac_srcdir/configure.gnu
22611 elif test -f "$ac_srcdir/configure"; then
22612 ac_sub_configure
=$ac_srcdir/configure
22613 elif test -f "$ac_srcdir/configure.in"; then
22614 # This should be Cygnus configure.
22615 ac_sub_configure
=$ac_aux_dir/configure
22617 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
22618 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
22622 # The recursion is here.
22623 if test -n "$ac_sub_configure"; then
22624 # Make the cache file name correct relative to the subdirectory.
22625 case $cache_file in
22626 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
22627 *) # Relative name.
22628 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
22631 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
22632 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
22633 # The eval makes quoting arguments work.
22634 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
22635 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
22636 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
22637 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
22638 { (exit 1); exit 1; }; }