2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60 for llvm 3.0svn.
5 # Report bugs to <llvmbugs@cs.uiuc.edu>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
12 # Copyright (c) 2003-2010 University of Illinois at Urbana-Champaign.
13 ## --------------------- ##
14 ## M4sh Initialization. ##
15 ## --------------------- ##
17 # Be Bourne compatible
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
28 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
29 DUALCASE
=1; export DUALCASE
# for MKS sh
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53 # Support unset when possible.
54 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself
=$0 ;;
73 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir
=.
78 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x
; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var
in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C
; export $as_var
111 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
123 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me
=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x
; then
155 if (eval ":") 2>/dev
/null
; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev
/null
; then
221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /usr
/bin
/posix
$PATH_SEPARATOR/bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
236 for as_shell
in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
240 # Be Bourne compatible
241 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
244 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
245 # is contrary to our usage. Disable this feature.
246 alias -g '${1+"$@"}'='"$@"'
249 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
251 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
252 DUALCASE
=1; export DUALCASE
# for MKS sh
257 CONFIG_SHELL
=$as_shell
259 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
260 # Be Bourne compatible
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
271 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
272 DUALCASE
=1; export DUALCASE
# for MKS sh
284 as_func_ret_success
() {
287 as_func_ret_failure
() {
292 if as_func_success
; then
296 echo as_func_success failed.
299 if as_func_failure
; then
301 echo as_func_failure succeeded.
304 if as_func_ret_success
; then
308 echo as_func_ret_success failed.
311 if as_func_ret_failure
; then
313 echo as_func_ret_failure succeeded.
316 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
320 echo positional parameters were not saved.
323 test $exitcode = 0) ||
{ (exit 1); exit 1; }
328 test "x$as_lineno_1" != "x$as_lineno_2" &&
329 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
340 if test "x$CONFIG_SHELL" != x
; then
341 for as_var
in BASH_ENV ENV
342 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
345 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
349 if test $as_have_required = no
; then
350 echo This
script requires a shell
more modern than all the
351 echo shells that I found on your system. Please
install a
352 echo modern shell
, or manually run the
script under such a
353 echo shell
if you
do have one.
354 { (exit 1); exit 1; }
364 (eval "as_func_return () {
373 as_func_ret_success () {
376 as_func_ret_failure () {
381 if as_func_success; then
385 echo as_func_success failed.
388 if as_func_failure; then
390 echo as_func_failure succeeded.
393 if as_func_ret_success; then
397 echo as_func_ret_success failed.
400 if as_func_ret_failure; then
402 echo as_func_ret_failure succeeded.
405 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
409 echo positional parameters were not saved.
412 test \$exitcode = 0") ||
{
413 echo No shell found that supports shell functions.
414 echo Please tell autoconf@gnu.org about your system
,
415 echo including any error possibly output before this
423 test "x$as_lineno_1" != "x$as_lineno_2" &&
424 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
426 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
427 # uniformly replaced by the line number. The first 'sed' inserts a
428 # line-number line after each line using $LINENO; the second 'sed'
429 # does the real work. The second script uses 'N' to pair each
430 # line-number line with the line containing $LINENO, and appends
431 # trailing '-' during substitution so that $LINENO is not a special
433 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
434 # scripts with optimization help from Paolo Bonzini. Blame Lee
435 # E. McMahon (1931-1989) for sed's syntax. :-)
447 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
451 chmod +x
"$as_me.lineno" ||
452 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
453 { (exit 1); exit 1; }; }
455 # Don't try to exec as it changes $[0], causing all sort of problems
456 # (the dirname of $[0] is not the place where we might find the
457 # original and so on. Autoconf is especially sensitive to this).
459 # Exit status is that of the last command.
464 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
470 ECHO_C
= ECHO_N
= ECHO_T
=
474 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
481 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
482 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
488 rm -f conf$$ conf$$.exe conf$$.
file
489 if test -d conf$$.dir
; then
490 rm -f conf$$.dir
/conf$$.
file
496 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
498 # ... but there are two gotchas:
499 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
500 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
501 # In both cases, we have to default to `cp -p'.
502 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
504 elif ln conf$$.
file conf$$
2>/dev
/null
; then
509 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
510 rmdir conf$$.dir
2>/dev
/null
512 if mkdir
-p .
2>/dev
/null
; then
515 test -d .
/-p && rmdir .
/-p
519 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
520 # systems may use methods other than mode bits to determine executability.
521 cat >conf$$.
file <<_ASEOF
526 if test -x conf$$.
file >/dev
/null
2>&1; then
527 as_executable_p
="test -x"
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
541 exec 7<&0 </dev
/null
6>&1
544 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
545 # so uname gets run too.
546 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
551 ac_default_prefix
=/usr
/local
553 ac_config_libobj_dir
=.
559 SHELL
=${CONFIG_SHELL-/bin/sh}
561 # Identity of this package.
563 PACKAGE_TARNAME
='-llvm-'
564 PACKAGE_VERSION
='3.0svn'
565 PACKAGE_STRING
='llvm 3.0svn'
566 PACKAGE_BUGREPORT
='llvmbugs@cs.uiuc.edu'
568 ac_unique_file
="lib/VMCore/Module.cpp"
569 # Factoring default headers for most tests.
570 ac_includes_default
="\
573 # include <sys/types.h>
576 # include <sys/stat.h>
587 # if !STDC_HEADERS && HAVE_MEMORY_H
593 # include <strings.h>
596 # include <inttypes.h>
614 program_transform_name
685 ENABLE_EXPENSIVE_CHECKS
701 LLVM_ENUM_ASM_PRINTERS
702 LLVM_ENUM_ASM_PARSERS
703 LLVM_ENUM_DISASSEMBLERS
759 HAVE_LINK_VERSION_SCRIPT
762 CONVENIENCE_LTDL_TRUE
763 CONVENIENCE_LTDL_FALSE
771 NO_MISSING_FIELD_INITIALIZERS
783 LLVMCC_DISABLEOPT_FLAGS
799 ENABLE_VISIBILITY_INLINES_HIDDEN
805 ac_precious_vars
='build_alias
816 ac_subdirs_all
='projects/llvm-gcc
820 projects/llvm-poolalloc
823 projects/llvm-stacker
831 # Initialize some variables set by options.
833 ac_init_version
=false
834 # The variables have the same names as the options, with
835 # dashes changed to underlines.
843 program_transform_name
=s
,x
,x
,
851 # Installation directory options.
852 # These are left unexpanded so users can "make install exec_prefix=/foo"
853 # and all the variables that are supposed to be based on exec_prefix
854 # by default will actually change.
855 # Use braces instead of parens because sh, perl, etc. also accept them.
856 # (The list follows the same order as the GNU Coding Standards.)
857 bindir
='${exec_prefix}/bin'
858 sbindir
='${exec_prefix}/sbin'
859 libexecdir
='${exec_prefix}/libexec'
860 datarootdir
='${prefix}/share'
861 datadir
='${datarootdir}'
862 sysconfdir
='${prefix}/etc'
863 sharedstatedir
='${prefix}/com'
864 localstatedir
='${prefix}/var'
865 includedir
='${prefix}/include'
866 oldincludedir
='/usr/include'
867 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
868 infodir
='${datarootdir}/info'
873 libdir
='${exec_prefix}/lib'
874 localedir
='${datarootdir}/locale'
875 mandir
='${datarootdir}/man'
881 # If the previous option needs an argument, assign it.
882 if test -n "$ac_prev"; then
883 eval $ac_prev=\
$ac_option
889 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
893 # Accept the important Cygnus configure options, so we can diagnose typos.
895 case $ac_dashdash$ac_option in
899 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
901 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
904 -build |
--build |
--buil |
--bui |
--bu)
905 ac_prev
=build_alias
;;
906 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
907 build_alias
=$ac_optarg ;;
909 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
910 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
911 ac_prev
=cache_file
;;
912 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
913 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
914 cache_file
=$ac_optarg ;;
917 cache_file
=config.cache
;;
919 -datadir |
--datadir |
--datadi |
--datad)
921 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
922 datadir
=$ac_optarg ;;
924 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
925 |
--dataroo |
--dataro |
--datar)
926 ac_prev
=datarootdir
;;
927 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
928 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
929 datarootdir
=$ac_optarg ;;
931 -disable-* |
--disable-*)
932 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
933 # Reject names that are not valid shell variable names.
934 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
935 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
936 { (exit 1); exit 1; }; }
937 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
938 eval enable_
$ac_feature=no
;;
940 -docdir |
--docdir |
--docdi |
--doc |
--do)
942 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
945 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
947 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
950 -enable-* |
--enable-*)
951 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
952 # Reject names that are not valid shell variable names.
953 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
954 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
955 { (exit 1); exit 1; }; }
956 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
957 eval enable_
$ac_feature=\
$ac_optarg ;;
959 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
960 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
961 |
--exec |
--exe |
--ex)
962 ac_prev
=exec_prefix
;;
963 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
964 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
965 |
--exec=* |
--exe=* |
--ex=*)
966 exec_prefix
=$ac_optarg ;;
968 -gas |
--gas |
--ga |
--g)
969 # Obsolete; use --with-gas.
972 -help |
--help |
--hel |
--he |
-h)
974 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
975 ac_init_help
=recursive
;;
976 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
977 ac_init_help
=short
;;
979 -host |
--host |
--hos |
--ho)
980 ac_prev
=host_alias
;;
981 -host=* |
--host=* |
--hos=* |
--ho=*)
982 host_alias
=$ac_optarg ;;
984 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
986 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
988 htmldir
=$ac_optarg ;;
990 -includedir |
--includedir |
--includedi |
--included |
--include \
991 |
--includ |
--inclu |
--incl |
--inc)
992 ac_prev
=includedir
;;
993 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
994 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
995 includedir
=$ac_optarg ;;
997 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
999 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1000 infodir
=$ac_optarg ;;
1002 -libdir |
--libdir |
--libdi |
--libd)
1004 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1005 libdir
=$ac_optarg ;;
1007 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1008 |
--libexe |
--libex |
--libe)
1009 ac_prev
=libexecdir
;;
1010 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1011 |
--libexe=* |
--libex=* |
--libe=*)
1012 libexecdir
=$ac_optarg ;;
1014 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1015 ac_prev
=localedir
;;
1016 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1017 localedir
=$ac_optarg ;;
1019 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1020 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1021 ac_prev
=localstatedir
;;
1022 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1023 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1024 localstatedir
=$ac_optarg ;;
1026 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1028 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1029 mandir
=$ac_optarg ;;
1031 -nfp |
--nfp |
--nf)
1032 # Obsolete; use --without-fp.
1035 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1036 |
--no-cr |
--no-c |
-n)
1039 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1040 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1043 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1044 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1045 |
--oldin |
--oldi |
--old |
--ol |
--o)
1046 ac_prev
=oldincludedir
;;
1047 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1048 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1049 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1050 oldincludedir
=$ac_optarg ;;
1052 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1054 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1055 prefix
=$ac_optarg ;;
1057 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1058 |
--program-pre |
--program-pr |
--program-p)
1059 ac_prev
=program_prefix
;;
1060 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1061 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1062 program_prefix
=$ac_optarg ;;
1064 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1065 |
--program-suf |
--program-su |
--program-s)
1066 ac_prev
=program_suffix
;;
1067 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1068 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1069 program_suffix
=$ac_optarg ;;
1071 -program-transform-name |
--program-transform-name \
1072 |
--program-transform-nam |
--program-transform-na \
1073 |
--program-transform-n |
--program-transform- \
1074 |
--program-transform |
--program-transfor \
1075 |
--program-transfo |
--program-transf \
1076 |
--program-trans |
--program-tran \
1077 |
--progr-tra |
--program-tr |
--program-t)
1078 ac_prev
=program_transform_name
;;
1079 -program-transform-name=* |
--program-transform-name=* \
1080 |
--program-transform-nam=* |
--program-transform-na=* \
1081 |
--program-transform-n=* |
--program-transform-=* \
1082 |
--program-transform=* |
--program-transfor=* \
1083 |
--program-transfo=* |
--program-transf=* \
1084 |
--program-trans=* |
--program-tran=* \
1085 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1086 program_transform_name
=$ac_optarg ;;
1088 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1090 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1091 pdfdir
=$ac_optarg ;;
1093 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1095 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1098 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1099 |
-silent |
--silent |
--silen |
--sile |
--sil)
1102 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1104 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1106 sbindir
=$ac_optarg ;;
1108 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1109 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1110 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1112 ac_prev
=sharedstatedir
;;
1113 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1114 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1115 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1117 sharedstatedir
=$ac_optarg ;;
1119 -site |
--site |
--sit)
1121 -site=* |
--site=* |
--sit=*)
1124 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1126 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1127 srcdir
=$ac_optarg ;;
1129 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1130 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1131 ac_prev
=sysconfdir
;;
1132 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1133 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1134 sysconfdir
=$ac_optarg ;;
1136 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1137 ac_prev
=target_alias
;;
1138 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1139 target_alias
=$ac_optarg ;;
1141 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1144 -version |
--version |
--versio |
--versi |
--vers |
-V)
1145 ac_init_version
=: ;;
1148 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1149 # Reject names that are not valid shell variable names.
1150 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1151 { echo "$as_me: error: invalid package name: $ac_package" >&2
1152 { (exit 1); exit 1; }; }
1153 ac_package
=`echo $ac_package| sed 's/-/_/g'`
1154 eval with_
$ac_package=\
$ac_optarg ;;
1156 -without-* |
--without-*)
1157 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1158 # Reject names that are not valid shell variable names.
1159 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1160 { echo "$as_me: error: invalid package name: $ac_package" >&2
1161 { (exit 1); exit 1; }; }
1162 ac_package
=`echo $ac_package | sed 's/-/_/g'`
1163 eval with_
$ac_package=no
;;
1166 # Obsolete; use --with-x.
1169 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1170 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1171 ac_prev
=x_includes
;;
1172 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1173 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1174 x_includes
=$ac_optarg ;;
1176 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1177 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1178 ac_prev
=x_libraries
;;
1179 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1180 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1181 x_libraries
=$ac_optarg ;;
1183 -*) { echo "$as_me: error: unrecognized option: $ac_option
1184 Try \`$0 --help' for more information." >&2
1185 { (exit 1); exit 1; }; }
1189 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1190 # Reject names that are not valid shell variable names.
1191 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1192 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1193 { (exit 1); exit 1; }; }
1194 eval $ac_envvar=\
$ac_optarg
1195 export $ac_envvar ;;
1198 # FIXME: should be removed in autoconf 3.0.
1199 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1200 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1201 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1202 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1208 if test -n "$ac_prev"; then
1209 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1210 { echo "$as_me: error: missing argument to $ac_option" >&2
1211 { (exit 1); exit 1; }; }
1214 # Be sure to have absolute directory names.
1215 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1216 datadir sysconfdir sharedstatedir localstatedir includedir \
1217 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1218 libdir localedir mandir
1220 eval ac_val
=\$
$ac_var
1222 [\\/$
]* | ?
:[\\/]* ) continue;;
1223 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1225 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1226 { (exit 1); exit 1; }; }
1229 # There might be people who depend on the old broken behavior: `$host'
1230 # used to hold the argument of --host etc.
1231 # FIXME: To remove some day.
1234 target
=$target_alias
1236 # FIXME: To remove some day.
1237 if test "x$host_alias" != x
; then
1238 if test "x$build_alias" = x
; then
1239 cross_compiling
=maybe
1240 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1241 If a cross compiler is detected then cross compile mode will be used." >&2
1242 elif test "x$build_alias" != "x$host_alias"; then
1248 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1250 test "$silent" = yes && exec 6>/dev
/null
1253 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1254 ac_ls_di
=`ls -di .` &&
1255 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1256 { echo "$as_me: error: Working directory cannot be determined" >&2
1257 { (exit 1); exit 1; }; }
1258 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1259 { echo "$as_me: error: pwd does not report name of working directory" >&2
1260 { (exit 1); exit 1; }; }
1263 # Find the source files, if location was not specified.
1264 if test -z "$srcdir"; then
1265 ac_srcdir_defaulted
=yes
1266 # Try the directory containing this script, then the parent directory.
1267 ac_confdir
=`$as_dirname -- "$0" ||
1268 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1269 X"$0" : 'X\(//\)[^/]' \| \
1270 X"$0" : 'X\(//\)$' \| \
1271 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1273 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1291 if test ! -r "$srcdir/$ac_unique_file"; then
1295 ac_srcdir_defaulted
=no
1297 if test ! -r "$srcdir/$ac_unique_file"; then
1298 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1299 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1300 { (exit 1); exit 1; }; }
1302 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1304 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1305 { (exit 1); exit 1; }; }
1307 # When building in place, set srcdir=.
1308 if test "$ac_abs_confdir" = "$ac_pwd"; then
1311 # Remove unnecessary trailing slashes from srcdir.
1312 # Double slashes in file names in object file debugging info
1313 # mess up M-x gdb in Emacs.
1315 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1317 for ac_var
in $ac_precious_vars; do
1318 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1319 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1320 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1321 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1325 # Report the --help message.
1327 if test "$ac_init_help" = "long"; then
1328 # Omit some internal or obsolete options to make the list less imposing.
1329 # This message is too long to be a string in the A/UX 3.1 sh.
1331 \`configure' configures llvm 3.0svn to adapt to many kinds of systems.
1333 Usage: $0 [OPTION]... [VAR=VALUE]...
1335 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1336 VAR=VALUE. See below for descriptions of some of the useful variables.
1338 Defaults for the options are specified in brackets.
1341 -h, --help display this help and exit
1342 --help=short display options specific to this package
1343 --help=recursive display the short help of all the included packages
1344 -V, --version display version information and exit
1345 -q, --quiet, --silent do not print \`checking...' messages
1346 --cache-file=FILE cache test results in FILE [disabled]
1347 -C, --config-cache alias for \`--cache-file=config.cache'
1348 -n, --no-create do not create output files
1349 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1351 Installation directories:
1352 --prefix=PREFIX install architecture-independent files in PREFIX
1353 [$ac_default_prefix]
1354 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1357 By default, \`make install' will install all the files in
1358 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1359 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1360 for instance \`--prefix=\$HOME'.
1362 For better control, use the options below.
1364 Fine tuning of the installation directories:
1365 --bindir=DIR user executables [EPREFIX/bin]
1366 --sbindir=DIR system admin executables [EPREFIX/sbin]
1367 --libexecdir=DIR program executables [EPREFIX/libexec]
1368 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1369 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1370 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1371 --libdir=DIR object code libraries [EPREFIX/lib]
1372 --includedir=DIR C header files [PREFIX/include]
1373 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1374 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1375 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1376 --infodir=DIR info documentation [DATAROOTDIR/info]
1377 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1378 --mandir=DIR man documentation [DATAROOTDIR/man]
1379 --docdir=DIR documentation root [DATAROOTDIR/doc/-llvm-]
1380 --htmldir=DIR html documentation [DOCDIR]
1381 --dvidir=DIR dvi documentation [DOCDIR]
1382 --pdfdir=DIR pdf documentation [DOCDIR]
1383 --psdir=DIR ps documentation [DOCDIR]
1389 --build=BUILD configure
for building on BUILD
[guessed
]
1390 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1391 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1395 if test -n "$ac_init_help"; then
1396 case $ac_init_help in
1397 short | recursive
) echo "Configuration of llvm 3.0svn:";;
1402 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1403 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1404 --enable-polly Use polly
if available
(default is YES
)
1405 --enable-optimized Compile with optimizations enabled
(default is NO
)
1406 --enable-profiling Compile with profiling enabled
(default is NO
)
1407 --enable-assertions Compile with assertion checks enabled
(default is
1409 --enable-expensive-checks
1410 Compile with expensive debug checks enabled
(default
1412 --enable-debug-runtime Build runtime libs with debug symbols
(default is
1414 --enable-debug-symbols Build compiler with debug symbols
(default is NO
if
1415 optimization is on and YES
if it
's off)
1416 --enable-jit Enable Just In Time Compiling (default is YES)
1417 --enable-docs Build documents (default is YES)
1418 --enable-doxygen Build doxygen documentation (default is NO)
1419 --enable-threads Use threads if available (default is YES)
1420 --enable-pthreads Use pthreads if available (default is YES)
1421 --enable-pic Build LLVM with Position Independent Code (default
1423 --enable-shared Build a shared library and link tools against it
1425 --enable-embed-stdcxx Build a shared library with embedded libstdc++ for
1426 Win32 DLL (default is YES)
1427 --enable-timestamps Enable embedding timestamp information in build
1429 --enable-targets Build specific host targets: all or
1430 target1,target2,... Valid targets are: host, x86,
1431 x86_64, sparc, powerpc, alpha, arm, mips, spu,
1432 xcore, msp430, systemz, blackfin, ptx, cbe, and cpp
1434 --enable-cbe-printf-a Enable C Backend output with hex floating point via
1436 --enable-bindings Build specific language bindings:
1437 all,auto,none,{binding-name} (default=auto)
1438 --enable-libffi Check for the presence of libffi (default is NO)
1439 --enable-ltdl-install install libltdl
1442 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1443 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1444 --with-llvmgccdir Specify location of llvm-gcc install dir (default
1446 --with-llvmgcc Specify location of llvm-gcc driver (default
1448 --with-llvmgxx Specify location of llvm-g++ driver (default
1450 --with-clang Specify location of clang compiler (default is
1452 --with-built-clang Use the compiled Clang as the LLVM compiler
1454 --with-optimize-option Select the compiler options to use for optimized
1456 --with-extra-options Specify additional options to compile LLVM with
1457 --with-ocaml-libdir Specify install location for ocaml bindings (default
1459 --with-clang-resource-dir
1460 Relative directory from the Clang binary for
1462 --with-c-include-dirs Colon separated list of directories clang will
1464 --with-cxx-include-root Directory with the libstdc++ headers.
1465 --with-cxx-include-arch Architecture of the libstdc++ headers.
1466 --with-cxx-include-32bit-dir
1467 32 bit multilib dir.
1468 --with-cxx-include-64bit-dir
1469 64 bit multilib directory.
1470 --with-binutils-include Specify path to binutils/include/ containing
1471 plugin-api.h file for gold plugin.
1472 --with-tclinclude directory where tcl headers are
1473 --with-llvmcc=<name> Choose the LLVM capable compiler to use (llvm-gcc,
1474 clang, or none; default=check)
1475 --with-udis86=<path> Use udis86 external x86 disassembler library
1476 --with-oprofile=<prefix>
1477 Tell OProfile >= 0.9.4 how to symbolize JIT output
1479 Some influential environment variables:
1480 CC C compiler command
1481 CFLAGS C compiler flags
1482 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1483 nonstandard directory <lib dir>
1484 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1485 you have headers in a nonstandard directory <include dir>
1487 CXX C++ compiler command
1488 CXXFLAGS C++ compiler flags
1490 Use these variables to override the choices made by `configure' or to
help
1491 it to
find libraries and programs with nonstandard names
/locations.
1493 Report bugs to
<llvmbugs@cs.uiuc.edu
>.
1498 if test "$ac_init_help" = "recursive"; then
1499 # If there are subdirs, report their specific --help.
1500 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1501 test -d "$ac_dir" ||
continue
1505 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1507 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1508 # A ".." for each directory in $ac_dir_suffix.
1509 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1510 case $ac_top_builddir_sub in
1511 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1512 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1515 ac_abs_top_builddir
=$ac_pwd
1516 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1517 # for backward compatibility:
1518 ac_top_builddir
=$ac_top_build_prefix
1521 .
) # We are building in place.
1523 ac_top_srcdir
=$ac_top_builddir_sub
1524 ac_abs_top_srcdir
=$ac_pwd ;;
1525 [\\/]* | ?
:[\\/]* ) # Absolute name.
1526 ac_srcdir
=$srcdir$ac_dir_suffix;
1527 ac_top_srcdir
=$srcdir
1528 ac_abs_top_srcdir
=$srcdir ;;
1530 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1531 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1532 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1534 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1536 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1537 # Check for guested configure.
1538 if test -f "$ac_srcdir/configure.gnu"; then
1540 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1541 elif test -f "$ac_srcdir/configure"; then
1543 $SHELL "$ac_srcdir/configure" --help=recursive
1545 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1547 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1551 test -n "$ac_init_help" && exit $ac_status
1552 if $ac_init_version; then
1554 llvm configure
3.0svn
1555 generated by GNU Autoconf
2.60
1557 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1558 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1559 This configure
script is free software
; the Free Software Foundation
1560 gives unlimited permission to copy
, distribute and modify it.
1562 Copyright
(c
) 2003-2010 University of Illinois
at Urbana-Champaign.
1566 cat >config.log
<<_ACEOF
1567 This file contains any messages produced by compilers while
1568 running configure, to aid debugging if configure makes a mistake.
1570 It was created by llvm $as_me 3.0svn, which was
1571 generated by GNU Autoconf 2.60. Invocation command line was
1583 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1584 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1585 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1586 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1587 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1589 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1590 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1592 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1593 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1594 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1595 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1596 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1597 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1598 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1606 test -z "$as_dir" && as_dir
=.
1607 echo "PATH: $as_dir"
1623 # Keep a trace of the command line.
1624 # Strip out --no-create and --no-recursion so they do not pile up.
1625 # Strip out --silent because we don't want to record it for future runs.
1626 # Also quote any args containing shell meta-characters.
1627 # Make two passes to allow for proper duplicate-argument suppression.
1631 ac_must_keep_next
=false
1637 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1638 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1639 |
-silent |
--silent |
--silen |
--sile |
--sil)
1642 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1645 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1647 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1648 if test $ac_must_keep_next = true
; then
1649 ac_must_keep_next
=false
# Got value, back to normal.
1652 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1653 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1654 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1655 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1656 case "$ac_configure_args0 " in
1657 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1660 -* ) ac_must_keep_next
=true
;;
1663 ac_configure_args
="$ac_configure_args '$ac_arg'"
1668 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1669 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1671 # When interrupted or exit'd, cleanup temporary files, and complete
1672 # config.log. We remove comments because anyway the quotes in there
1673 # would cause problems or look ugly.
1674 # WARNING: Use '\'' to represent an apostrophe within the trap.
1675 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1676 trap 'exit_status=$?
1677 # Save into config.log some information that might help in debugging.
1682 ## ---------------- ##
1683 ## Cache variables. ##
1684 ## ---------------- ##
1687 # The following way of writing the cache mishandles newlines in values,
1689 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1690 eval ac_val=\$$ac_var
1694 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1695 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1698 _ | IFS | as_nl) ;; #(
1699 *) $as_unset $ac_var ;;
1704 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1705 *${as_nl}ac_space=\ *)
1707 "s/'\''/'\''\\\\'\'''\''/g;
1708 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1711 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1719 ## ----------------- ##
1720 ## Output variables. ##
1721 ## ----------------- ##
1724 for ac_var in $ac_subst_vars
1726 eval ac_val=\$$ac_var
1728 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1730 echo "$ac_var='\''$ac_val'\''"
1734 if test -n "$ac_subst_files"; then
1736 ## ------------------- ##
1737 ## File substitutions. ##
1738 ## ------------------- ##
1741 for ac_var
in $ac_subst_files
1743 eval ac_val
=\$
$ac_var
1745 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1747 echo "$ac_var='\''$ac_val'\''"
1752 if test -s confdefs.h; then
1762 test "$ac_signal" != 0 &&
1763 echo "$as_me: caught signal $ac_signal"
1764 echo "$as_me: exit $exit_status"
1766 rm -f core *.core core.conftest.* &&
1767 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1770 for ac_signal
in 1 2 13 15; do
1771 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1775 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1776 rm -f -r conftest
* confdefs.h
1778 # Predefined preprocessor variables.
1780 cat >>confdefs.h
<<_ACEOF
1781 #define PACKAGE_NAME "$PACKAGE_NAME"
1785 cat >>confdefs.h
<<_ACEOF
1786 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1790 cat >>confdefs.h
<<_ACEOF
1791 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1795 cat >>confdefs.h
<<_ACEOF
1796 #define PACKAGE_STRING "$PACKAGE_STRING"
1800 cat >>confdefs.h
<<_ACEOF
1801 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1805 # Let the site file select an alternate cache file if it wants to.
1806 # Prefer explicitly selected file to automatically selected ones.
1807 if test -n "$CONFIG_SITE"; then
1808 set x
"$CONFIG_SITE"
1809 elif test "x$prefix" != xNONE
; then
1810 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1812 set x
"$ac_default_prefix/share/config.site" \
1813 "$ac_default_prefix/etc/config.site"
1818 if test -r "$ac_site_file"; then
1819 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1820 echo "$as_me: loading site script $ac_site_file" >&6;}
1821 sed 's/^/| /' "$ac_site_file" >&5
1826 if test -r "$cache_file"; then
1827 # Some versions of bash will fail to source /dev/null (special
1828 # files actually), so we avoid doing that.
1829 if test -f "$cache_file"; then
1830 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1831 echo "$as_me: loading cache $cache_file" >&6;}
1833 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1834 *) .
"./$cache_file";;
1838 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1839 echo "$as_me: creating cache $cache_file" >&6;}
1843 # Check that the precious variables saved in the cache have kept the same
1845 ac_cache_corrupted
=false
1846 for ac_var
in $ac_precious_vars; do
1847 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1848 eval ac_new_set
=\
$ac_env_${ac_var}_set
1849 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1850 eval ac_new_val
=\
$ac_env_${ac_var}_value
1851 case $ac_old_set,$ac_new_set in
1853 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1854 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1855 ac_cache_corrupted
=: ;;
1857 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1858 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1859 ac_cache_corrupted
=: ;;
1862 if test "x$ac_old_val" != "x$ac_new_val"; then
1863 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1864 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1865 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1866 echo "$as_me: former value: $ac_old_val" >&2;}
1867 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1868 echo "$as_me: current value: $ac_new_val" >&2;}
1869 ac_cache_corrupted
=:
1872 # Pass precious variables to config.status.
1873 if test "$ac_new_set" = set; then
1875 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1876 *) ac_arg
=$ac_var=$ac_new_val ;;
1878 case " $ac_configure_args " in
1879 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1880 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1884 if $ac_cache_corrupted; then
1885 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1886 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1887 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1888 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1889 { (exit 1); exit 1; }; }
1917 ac_cpp
='$CPP $CPPFLAGS'
1918 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1919 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1920 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1924 LLVM_COPYRIGHT
="Copyright (c) 2003-2010 University of Illinois at Urbana-Champaign."
1933 for ac_dir
in autoconf
"$srcdir"/autoconf
; do
1934 if test -f "$ac_dir/install-sh"; then
1936 ac_install_sh
="$ac_aux_dir/install-sh -c"
1938 elif test -f "$ac_dir/install.sh"; then
1940 ac_install_sh
="$ac_aux_dir/install.sh -c"
1942 elif test -f "$ac_dir/shtool"; then
1944 ac_install_sh
="$ac_aux_dir/shtool install -c"
1948 if test -z "$ac_aux_dir"; then
1949 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
1950 echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
1951 { (exit 1); exit 1; }; }
1954 # These three variables are undocumented and unsupported,
1955 # and are intended to be withdrawn in a future Autoconf release.
1956 # They can cause serious problems if a builder's source tree is in a directory
1957 # whose full name contains unusual characters.
1958 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1959 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1960 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1964 if test ${srcdir} != "." ; then
1965 if test -f ${srcdir}/include
/llvm
/Config
/config.h
; then
1966 { { echo "$as_me:$LINENO: error: Already configured in ${srcdir}" >&5
1967 echo "$as_me: error: Already configured in ${srcdir}" >&2;}
1968 { (exit 1); exit 1; }; }
1974 if test -d ${srcdir}/projects
/llvm-gcc
; then
1975 subdirs
="$subdirs projects/llvm-gcc"
1979 if test -d ${srcdir}/projects
/test-suite
; then
1980 subdirs
="$subdirs projects/test-suite"
1984 if test -d ${srcdir}/projects
/llvm-test
; then
1985 subdirs
="$subdirs projects/llvm-test"
1989 if test -d ${srcdir}/projects
/poolalloc
; then
1990 subdirs
="$subdirs projects/poolalloc"
1994 if test -d ${srcdir}/projects
/llvm-poolalloc
; then
1995 subdirs
="$subdirs projects/llvm-poolalloc"
1999 for i
in `ls ${srcdir}/projects`
2001 if test -d ${srcdir}/projects
/${i} ; then
2003 sample
) subdirs
="$subdirs projects/sample"
2005 privbracket
) subdirs
="$subdirs projects/privbracket"
2007 llvm-stacker
) subdirs
="$subdirs projects/llvm-stacker"
2009 llvm-reopt
) subdirs
="$subdirs projects/llvm-reopt"
2011 llvm-java
) subdirs
="$subdirs projects/llvm-java"
2013 llvm-tv
) subdirs
="$subdirs projects/llvm-tv"
2015 safecode
) subdirs
="$subdirs projects/safecode"
2017 llvm-kernel
) subdirs
="$subdirs projects/llvm-kernel"
2025 { echo "$as_me:$LINENO: WARNING: Unknown project (${i}) won't be configured automatically" >&5
2026 echo "$as_me: WARNING: Unknown project (${i}) won't be configured automatically" >&2;}
2032 # Check whether --enable-polly was given.
2033 if test "${enable_polly+set}" = set; then
2034 enableval
=$enable_polly;
2039 case "$enableval" in
2044 default
) ENABLE_POLLY
=1
2046 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-polly. Use \"yes\" or \"no\"" >&5
2047 echo "$as_me: error: Invalid setting for --enable-polly. Use \"yes\" or \"no\"" >&2;}
2048 { (exit 1); exit 1; }; } ;;
2052 if (test -d ${srcdir}/tools
/polly
) && (test $ENABLE_POLLY -eq 1) ; then
2055 subdirs
="$subdirs tools/polly"
2060 # Make sure we can run config.sub.
2061 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2062 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2063 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2064 { (exit 1); exit 1; }; }
2066 { echo "$as_me:$LINENO: checking build system type" >&5
2067 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2068 if test "${ac_cv_build+set}" = set; then
2069 echo $ECHO_N "(cached) $ECHO_C" >&6
2071 ac_build_alias
=$build_alias
2072 test "x$ac_build_alias" = x
&&
2073 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2074 test "x$ac_build_alias" = x
&&
2075 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2076 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2077 { (exit 1); exit 1; }; }
2078 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2079 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2080 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2081 { (exit 1); exit 1; }; }
2084 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2085 echo "${ECHO_T}$ac_cv_build" >&6; }
2086 case $ac_cv_build in
2088 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2089 echo "$as_me: error: invalid value of canonical build" >&2;}
2090 { (exit 1); exit 1; }; };;
2093 ac_save_IFS
=$IFS; IFS
='-'
2099 # Remember, the first character of IFS is used to create $*,
2100 # except with old shells:
2103 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2106 { echo "$as_me:$LINENO: checking host system type" >&5
2107 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2108 if test "${ac_cv_host+set}" = set; then
2109 echo $ECHO_N "(cached) $ECHO_C" >&6
2111 if test "x$host_alias" = x
; then
2112 ac_cv_host
=$ac_cv_build
2114 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2115 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2116 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2117 { (exit 1); exit 1; }; }
2121 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2122 echo "${ECHO_T}$ac_cv_host" >&6; }
2125 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2126 echo "$as_me: error: invalid value of canonical host" >&2;}
2127 { (exit 1); exit 1; }; };;
2130 ac_save_IFS
=$IFS; IFS
='-'
2136 # Remember, the first character of IFS is used to create $*,
2137 # except with old shells:
2140 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2143 { echo "$as_me:$LINENO: checking target system type" >&5
2144 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2145 if test "${ac_cv_target+set}" = set; then
2146 echo $ECHO_N "(cached) $ECHO_C" >&6
2148 if test "x$target_alias" = x
; then
2149 ac_cv_target
=$ac_cv_host
2151 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2152 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2153 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2154 { (exit 1); exit 1; }; }
2158 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2159 echo "${ECHO_T}$ac_cv_target" >&6; }
2160 case $ac_cv_target in
2162 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2163 echo "$as_me: error: invalid value of canonical target" >&2;}
2164 { (exit 1); exit 1; }; };;
2166 target
=$ac_cv_target
2167 ac_save_IFS
=$IFS; IFS
='-'
2173 # Remember, the first character of IFS is used to create $*,
2174 # except with old shells:
2177 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2180 # The aliases save the names the user supplied, while $host etc.
2181 # will get canonicalized.
2182 test -n "$target_alias" &&
2183 test "$program_prefix$program_suffix$program_transform_name" = \
2185 program_prefix
=${target_alias}-
2187 { echo "$as_me:$LINENO: checking type of operating system we're going to host on" >&5
2188 echo $ECHO_N "checking type of operating system we're going to host on... $ECHO_C" >&6; }
2189 if test "${llvm_cv_os_type+set}" = set; then
2190 echo $ECHO_N "(cached) $ECHO_C" >&6
2194 llvm_cv_link_all_option
="-Wl,--whole-archive"
2195 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2196 llvm_cv_os_type
="AIX"
2197 llvm_cv_platform_type
="Unix" ;;
2199 llvm_cv_link_all_option
="-Wl,--whole-archive"
2200 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2201 llvm_cv_os_type
="IRIX"
2202 llvm_cv_platform_type
="Unix" ;;
2204 llvm_cv_link_all_option
="-Wl,--whole-archive"
2205 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2206 llvm_cv_os_type
="Cygwin"
2207 llvm_cv_platform_type
="Unix" ;;
2209 llvm_cv_link_all_option
="-Wl,-all_load"
2210 llvm_cv_no_link_all_option
="-Wl,-noall_load"
2211 llvm_cv_os_type
="Darwin"
2212 llvm_cv_platform_type
="Unix" ;;
2214 llvm_cv_link_all_option
="-Wl,-all_load"
2215 llvm_cv_no_link_all_option
="-Wl,-noall_load"
2216 llvm_cv_os_type
="Minix"
2217 llvm_cv_platform_type
="Unix" ;;
2219 llvm_cv_link_all_option
="-Wl,--whole-archive"
2220 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2221 llvm_cv_os_type
="FreeBSD"
2222 llvm_cv_platform_type
="Unix" ;;
2224 llvm_cv_link_all_option
="-Wl,--whole-archive"
2225 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2226 llvm_cv_os_type
="OpenBSD"
2227 llvm_cv_platform_type
="Unix" ;;
2229 llvm_cv_link_all_option
="-Wl,--whole-archive"
2230 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2231 llvm_cv_os_type
="NetBSD"
2232 llvm_cv_platform_type
="Unix" ;;
2234 llvm_cv_link_all_option
="-Wl,--whole-archive"
2235 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2236 llvm_cv_os_type
="DragonFly"
2237 llvm_cv_platform_type
="Unix" ;;
2239 llvm_cv_link_all_option
="-Wl,--whole-archive"
2240 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2241 llvm_cv_os_type
="HP-UX"
2242 llvm_cv_platform_type
="Unix" ;;
2244 llvm_cv_link_all_option
="-Wl,--whole-archive"
2245 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2246 llvm_cv_os_type
="Interix"
2247 llvm_cv_platform_type
="Unix" ;;
2249 llvm_cv_link_all_option
="-Wl,--whole-archive"
2250 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2251 llvm_cv_os_type
="Linux"
2252 llvm_cv_platform_type
="Unix" ;;
2254 llvm_cv_link_all_option
="-Wl,-z,allextract"
2255 llvm_cv_no_link_all_option
="-Wl,-z,defaultextract"
2256 llvm_cv_os_type
="SunOS"
2257 llvm_cv_platform_type
="Unix" ;;
2259 llvm_cv_link_all_option
="-Wl,-z,allextract"
2260 llvm_cv_link_all_option
="-Wl,-z,defaultextract"
2261 llvm_cv_os_type
="AuroraUX"
2262 llvm_cv_platform_type
="Unix" ;;
2264 llvm_cv_link_all_option
="-Wl,--whole-archive"
2265 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2266 llvm_cv_os_type
="Win32"
2267 llvm_cv_platform_type
="Win32" ;;
2269 llvm_cv_link_all_option
="-Wl,--whole-archive"
2270 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2271 llvm_cv_os_type
="MingW"
2272 llvm_cv_platform_type
="Win32" ;;
2274 llvm_cv_link_all_option
="-Wl,--whole-archive"
2275 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2276 llvm_cv_os_type
="Haiku"
2277 llvm_cv_platform_type
="Unix" ;;
2279 llvm_cv_link_all_option
="-Wl,--whole-archive"
2280 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2281 llvm_cv_os_type
="Freestanding"
2282 llvm_cv_platform_type
="Unix" ;;
2284 llvm_cv_link_all_option
="-Wl,--whole-archive"
2285 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2286 llvm_cv_os_type
="Freestanding"
2287 llvm_cv_platform_type
="Unix" ;;
2289 llvm_cv_link_all_option
=""
2290 llvm_cv_no_link_all_option
=""
2291 llvm_cv_os_type
="Unknown"
2292 llvm_cv_platform_type
="Unknown" ;;
2295 { echo "$as_me:$LINENO: result: $llvm_cv_os_type" >&5
2296 echo "${ECHO_T}$llvm_cv_os_type" >&6; }
2298 { echo "$as_me:$LINENO: checking type of operating system we're going to target" >&5
2299 echo $ECHO_N "checking type of operating system we're going to target... $ECHO_C" >&6; }
2300 if test "${llvm_cv_target_os_type+set}" = set; then
2301 echo $ECHO_N "(cached) $ECHO_C" >&6
2305 llvm_cv_target_os_type
="AIX" ;;
2307 llvm_cv_target_os_type
="IRIX" ;;
2309 llvm_cv_target_os_type
="Cygwin" ;;
2311 llvm_cv_target_os_type
="Darwin" ;;
2313 llvm_cv_target_os_type
="Minix" ;;
2315 llvm_cv_target_os_type
="FreeBSD" ;;
2317 llvm_cv_target_os_type
="OpenBSD" ;;
2319 llvm_cv_target_os_type
="NetBSD" ;;
2321 llvm_cv_target_os_type
="DragonFly" ;;
2323 llvm_cv_target_os_type
="HP-UX" ;;
2325 llvm_cv_target_os_type
="Interix" ;;
2327 llvm_cv_target_os_type
="Linux" ;;
2329 llvm_cv_target_os_type
="SunOS" ;;
2331 llvm_cv_target_os_type
="AuroraUX" ;;
2333 llvm_cv_target_os_type
="Win32" ;;
2335 llvm_cv_target_os_type
="MingW" ;;
2337 llvm_cv_target_os_type
="Haiku" ;;
2339 llvm_cv_target_os_type
="Freestanding" ;;
2341 llvm_cv_target_os_type
="Unknown" ;;
2344 { echo "$as_me:$LINENO: result: $llvm_cv_target_os_type" >&5
2345 echo "${ECHO_T}$llvm_cv_target_os_type" >&6; }
2347 if test "$llvm_cv_os_type" = "Unknown" ; then
2348 { { echo "$as_me:$LINENO: error: Operating system is unknown, configure can't continue" >&5
2349 echo "$as_me: error: Operating system is unknown, configure can't continue" >&2;}
2350 { (exit 1); exit 1; }; }
2355 HOST_OS
=$llvm_cv_os_type
2357 TARGET_OS
=$llvm_cv_target_os_type
2360 LINKALL
=$llvm_cv_link_all_option
2362 NOLINKALL
=$llvm_cv_no_link_all_option
2365 case $llvm_cv_platform_type in
2368 cat >>confdefs.h
<<\_ACEOF
2369 #define LLVM_ON_UNIX 1
2379 cat >>confdefs.h
<<\_ACEOF
2380 #define LLVM_ON_WIN32 1
2390 { echo "$as_me:$LINENO: checking target architecture" >&5
2391 echo $ECHO_N "checking target architecture... $ECHO_C" >&6; }
2392 if test "${llvm_cv_target_arch+set}" = set; then
2393 echo $ECHO_N "(cached) $ECHO_C" >&6
2396 i?
86-*) llvm_cv_target_arch
="x86" ;;
2397 amd64-
* | x86_64-
*) llvm_cv_target_arch
="x86_64" ;;
2398 sparc
*-*) llvm_cv_target_arch
="Sparc" ;;
2399 powerpc
*-*) llvm_cv_target_arch
="PowerPC" ;;
2400 alpha
*-*) llvm_cv_target_arch
="Alpha" ;;
2401 arm
*-*) llvm_cv_target_arch
="ARM" ;;
2402 mips-
*) llvm_cv_target_arch
="Mips" ;;
2403 xcore-
*) llvm_cv_target_arch
="XCore" ;;
2404 msp430-
*) llvm_cv_target_arch
="MSP430" ;;
2405 s390x-
*) llvm_cv_target_arch
="SystemZ" ;;
2406 bfin-
*) llvm_cv_target_arch
="Blackfin" ;;
2407 mblaze-
*) llvm_cv_target_arch
="MBlaze" ;;
2408 ptx-
*) llvm_cv_target_arch
="PTX" ;;
2409 *) llvm_cv_target_arch
="Unknown" ;;
2412 { echo "$as_me:$LINENO: result: $llvm_cv_target_arch" >&5
2413 echo "${ECHO_T}$llvm_cv_target_arch" >&6; }
2415 if test "$llvm_cv_target_arch" = "Unknown" ; then
2416 { echo "$as_me:$LINENO: WARNING: Configuring LLVM for an unknown target archicture" >&5
2417 echo "$as_me: WARNING: Configuring LLVM for an unknown target archicture" >&2;}
2420 # Determine the LLVM native architecture for the target
2421 case "$llvm_cv_target_arch" in
2422 x86
) LLVM_NATIVE_ARCH
="X86" ;;
2423 x86_64
) LLVM_NATIVE_ARCH
="X86" ;;
2424 *) LLVM_NATIVE_ARCH
="$llvm_cv_target_arch" ;;
2427 ARCH
=$llvm_cv_target_arch
2431 ac_cpp
='$CPP $CPPFLAGS'
2432 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2433 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2434 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2435 if test -n "$ac_tool_prefix"; then
2436 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2437 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2438 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2440 if test "${ac_cv_prog_CC+set}" = set; then
2441 echo $ECHO_N "(cached) $ECHO_C" >&6
2443 if test -n "$CC"; then
2444 ac_cv_prog_CC
="$CC" # Let the user override the test.
2446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2450 test -z "$as_dir" && as_dir
=.
2451 for ac_exec_ext
in '' $ac_executable_extensions; do
2452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2453 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2464 if test -n "$CC"; then
2465 { echo "$as_me:$LINENO: result: $CC" >&5
2466 echo "${ECHO_T}$CC" >&6; }
2468 { echo "$as_me:$LINENO: result: no" >&5
2469 echo "${ECHO_T}no" >&6; }
2474 if test -z "$ac_cv_prog_CC"; then
2476 # Extract the first word of "gcc", so it can be a program name with args.
2477 set dummy gcc
; ac_word
=$2
2478 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2480 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2481 echo $ECHO_N "(cached) $ECHO_C" >&6
2483 if test -n "$ac_ct_CC"; then
2484 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2490 test -z "$as_dir" && as_dir
=.
2491 for ac_exec_ext
in '' $ac_executable_extensions; do
2492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2493 ac_cv_prog_ac_ct_CC
="gcc"
2494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2503 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2504 if test -n "$ac_ct_CC"; then
2505 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2506 echo "${ECHO_T}$ac_ct_CC" >&6; }
2508 { echo "$as_me:$LINENO: result: no" >&5
2509 echo "${ECHO_T}no" >&6; }
2512 if test "x$ac_ct_CC" = x
; then
2515 case $cross_compiling:$ac_tool_warned in
2517 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2518 whose name does not start with the host triplet. If you think this
2519 configuration is useful to you, please write to autoconf@gnu.org." >&5
2520 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2521 whose name does not start with the host triplet. If you think this
2522 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2523 ac_tool_warned
=yes ;;
2531 if test -z "$CC"; then
2532 if test -n "$ac_tool_prefix"; then
2533 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2534 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2535 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2537 if test "${ac_cv_prog_CC+set}" = set; then
2538 echo $ECHO_N "(cached) $ECHO_C" >&6
2540 if test -n "$CC"; then
2541 ac_cv_prog_CC
="$CC" # Let the user override the test.
2543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2547 test -z "$as_dir" && as_dir
=.
2548 for ac_exec_ext
in '' $ac_executable_extensions; do
2549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2550 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2561 if test -n "$CC"; then
2562 { echo "$as_me:$LINENO: result: $CC" >&5
2563 echo "${ECHO_T}$CC" >&6; }
2565 { echo "$as_me:$LINENO: result: no" >&5
2566 echo "${ECHO_T}no" >&6; }
2572 if test -z "$CC"; then
2573 # Extract the first word of "cc", so it can be a program name with args.
2574 set dummy cc
; ac_word
=$2
2575 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2577 if test "${ac_cv_prog_CC+set}" = set; then
2578 echo $ECHO_N "(cached) $ECHO_C" >&6
2580 if test -n "$CC"; then
2581 ac_cv_prog_CC
="$CC" # Let the user override the test.
2584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2588 test -z "$as_dir" && as_dir
=.
2589 for ac_exec_ext
in '' $ac_executable_extensions; do
2590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2591 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2592 ac_prog_rejected
=yes
2596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2603 if test $ac_prog_rejected = yes; then
2604 # We found a bogon in the path, so make sure we never use it.
2605 set dummy
$ac_cv_prog_CC
2607 if test $# != 0; then
2608 # We chose a different compiler from the bogus one.
2609 # However, it has the same basename, so the bogon will be chosen
2610 # first if we set CC to just the basename; use the full file name.
2612 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2618 if test -n "$CC"; then
2619 { echo "$as_me:$LINENO: result: $CC" >&5
2620 echo "${ECHO_T}$CC" >&6; }
2622 { echo "$as_me:$LINENO: result: no" >&5
2623 echo "${ECHO_T}no" >&6; }
2628 if test -z "$CC"; then
2629 if test -n "$ac_tool_prefix"; then
2630 for ac_prog
in cl.exe
2632 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2633 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2634 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2636 if test "${ac_cv_prog_CC+set}" = set; then
2637 echo $ECHO_N "(cached) $ECHO_C" >&6
2639 if test -n "$CC"; then
2640 ac_cv_prog_CC
="$CC" # Let the user override the test.
2642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2646 test -z "$as_dir" && as_dir
=.
2647 for ac_exec_ext
in '' $ac_executable_extensions; do
2648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2649 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2660 if test -n "$CC"; then
2661 { echo "$as_me:$LINENO: result: $CC" >&5
2662 echo "${ECHO_T}$CC" >&6; }
2664 { echo "$as_me:$LINENO: result: no" >&5
2665 echo "${ECHO_T}no" >&6; }
2669 test -n "$CC" && break
2672 if test -z "$CC"; then
2674 for ac_prog
in cl.exe
2676 # Extract the first word of "$ac_prog", so it can be a program name with args.
2677 set dummy
$ac_prog; ac_word
=$2
2678 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2680 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2681 echo $ECHO_N "(cached) $ECHO_C" >&6
2683 if test -n "$ac_ct_CC"; then
2684 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2690 test -z "$as_dir" && as_dir
=.
2691 for ac_exec_ext
in '' $ac_executable_extensions; do
2692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2693 ac_cv_prog_ac_ct_CC
="$ac_prog"
2694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2703 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2704 if test -n "$ac_ct_CC"; then
2705 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2706 echo "${ECHO_T}$ac_ct_CC" >&6; }
2708 { echo "$as_me:$LINENO: result: no" >&5
2709 echo "${ECHO_T}no" >&6; }
2713 test -n "$ac_ct_CC" && break
2716 if test "x$ac_ct_CC" = x
; then
2719 case $cross_compiling:$ac_tool_warned in
2721 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2722 whose name does not start with the host triplet. If you think this
2723 configuration is useful to you, please write to autoconf@gnu.org." >&5
2724 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2725 whose name does not start with the host triplet. If you think this
2726 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2727 ac_tool_warned
=yes ;;
2736 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2737 See \`config.log' for more details." >&5
2738 echo "$as_me: error: no acceptable C compiler found in \$PATH
2739 See \`config.log' for more details." >&2;}
2740 { (exit 1); exit 1; }; }
2742 # Provide some information about the compiler.
2743 echo "$as_me:$LINENO: checking for C compiler version" >&5
2744 ac_compiler
=`set X $ac_compile; echo $2`
2745 { (ac_try
="$ac_compiler --version >&5"
2747 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2748 *) ac_try_echo=$ac_try;;
2750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2751 (eval "$ac_compiler --version >&5") 2>&5
2753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2754 (exit $ac_status); }
2755 { (ac_try="$ac_compiler -v >&5"
2757 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2758 *) ac_try_echo
=$ac_try;;
2760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2761 (eval "$ac_compiler -v >&5") 2>&5
2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764 (exit $ac_status); }
2765 { (ac_try
="$ac_compiler -V >&5"
2767 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2768 *) ac_try_echo=$ac_try;;
2770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2771 (eval "$ac_compiler -V >&5") 2>&5
2773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2774 (exit $ac_status); }
2776 cat >conftest.$ac_ext <<_ACEOF
2779 cat confdefs.h >>conftest.$ac_ext
2780 cat >>conftest.$ac_ext <<_ACEOF
2781 /* end confdefs.h. */
2791 ac_clean_files_save=$ac_clean_files
2792 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2793 # Try to create an executable without -o first, disregard a.out.
2794 # It will help us diagnose broken compilers, and finding out an intuition
2796 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2797 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2798 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2800 # List of possible output files, starting from the most likely.
2801 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2802 # only as a last resort. b.out is created by i960 compilers.
2803 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2805 # The IRIX 6 linker writes into existing files which may not be
2806 # executable, retaining their permissions. Remove them first so a
2807 # subsequent execution test works.
2809 for ac_file in $ac_files
2812 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2813 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2818 if { (ac_try="$ac_link_default"
2820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2821 *) ac_try_echo=$ac_try;;
2823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2824 (eval "$ac_link_default") 2>&5
2826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2827 (exit $ac_status); }; then
2828 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2829 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2830 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2831 # so that the user can short-circuit this test for compilers unknown to
2833 for ac_file
in $ac_files
2835 test -f "$ac_file" ||
continue
2837 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2840 # We found the default executable, but exeext='' is most
2844 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2846 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2848 # We set ac_cv_exeext here because the later test for it is not
2849 # safe: cross compilers may not add the suffix if given an `-o'
2850 # argument, so we may need to know it at that point already.
2851 # Even if this section looks crufty: it has the advantage of
2858 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2861 echo "$as_me: failed program was:" >&5
2862 sed 's/^/| /' conftest.
$ac_ext >&5
2864 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2865 See \`config.log' for more details." >&5
2866 echo "$as_me: error: C compiler cannot create executables
2867 See \`config.log' for more details." >&2;}
2868 { (exit 77); exit 77; }; }
2871 ac_exeext
=$ac_cv_exeext
2872 { echo "$as_me:$LINENO: result: $ac_file" >&5
2873 echo "${ECHO_T}$ac_file" >&6; }
2875 # Check that the compiler produces executables we can run. If not, either
2876 # the compiler is broken, or we cross compile.
2877 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2878 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2879 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2880 # If not cross compiling, check that we can run a simple program.
2881 if test "$cross_compiling" != yes; then
2882 if { ac_try
='./$ac_file'
2883 { (case "(($ac_try" in
2884 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2885 *) ac_try_echo=$ac_try;;
2887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2888 (eval "$ac_try") 2>&5
2890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2891 (exit $ac_status); }; }; then
2894 if test "$cross_compiling" = maybe; then
2897 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2898 If you meant to cross compile, use \`--host'.
2899 See \`config.log' for more details.
" >&5
2900 echo "$as_me: error
: cannot run C compiled programs.
2901 If you meant to cross compile
, use \
`--host'.
2902 See \`config.log
' for more details." >&2;}
2903 { (exit 1); exit 1; }; }
2907 { echo "$as_me:$LINENO: result: yes" >&5
2908 echo "${ECHO_T}yes" >&6; }
2910 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2911 ac_clean_files=$ac_clean_files_save
2912 # Check that the compiler produces executables we can run. If not, either
2913 # the compiler is broken, or we cross compile.
2914 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2915 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2916 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2917 echo "${ECHO_T}$cross_compiling" >&6; }
2919 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2920 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2921 if { (ac_try="$ac_link"
2923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2924 *) ac_try_echo=$ac_try;;
2926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2927 (eval "$ac_link") 2>&5
2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 (exit $ac_status); }; then
2931 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2932 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2933 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2935 for ac_file
in conftest.exe conftest conftest.
*; do
2936 test -f "$ac_file" ||
continue
2938 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2939 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2945 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2946 See \`config.log' for more details." >&5
2947 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2948 See \`config.log' for more details." >&2;}
2949 { (exit 1); exit 1; }; }
2952 rm -f conftest
$ac_cv_exeext
2953 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2954 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2956 rm -f conftest.
$ac_ext
2957 EXEEXT
=$ac_cv_exeext
2959 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2960 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2961 if test "${ac_cv_objext+set}" = set; then
2962 echo $ECHO_N "(cached) $ECHO_C" >&6
2964 cat >conftest.
$ac_ext <<_ACEOF
2967 cat confdefs.h
>>conftest.
$ac_ext
2968 cat >>conftest.
$ac_ext <<_ACEOF
2969 /* end confdefs.h. */
2979 rm -f conftest.o conftest.obj
2980 if { (ac_try
="$ac_compile"
2982 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2983 *) ac_try_echo=$ac_try;;
2985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2986 (eval "$ac_compile") 2>&5
2988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989 (exit $ac_status); }; then
2990 for ac_file in conftest.o conftest.obj conftest.*; do
2991 test -f "$ac_file" || continue;
2993 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2994 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2999 echo "$as_me: failed program was:" >&5
3000 sed 's/^/| /' conftest.$ac_ext >&5
3002 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3003 See \`config.log
' for more details." >&5
3004 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3005 See \`config.log' for more details.
" >&2;}
3006 { (exit 1); exit 1; }; }
3009 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3011 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3012 echo "${ECHO_T}$ac_cv_objext" >&6; }
3013 OBJEXT=$ac_cv_objext
3015 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3016 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3017 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3018 echo $ECHO_N "(cached
) $ECHO_C" >&6
3020 cat >conftest.$ac_ext <<_ACEOF
3023 cat confdefs.h >>conftest.$ac_ext
3024 cat >>conftest.$ac_ext <<_ACEOF
3025 /* end confdefs.h. */
3038 rm -f conftest.$ac_objext
3039 if { (ac_try="$ac_compile"
3041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3042 *) ac_try_echo=$ac_try;;
3044 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3045 (eval "$ac_compile") 2>conftest.er1
3047 grep -v '^ *+' conftest.er1 >conftest.err
3049 cat conftest.err >&5
3050 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3051 (exit $ac_status); } &&
3052 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3053 { (case "(($ac_try" in
3054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3055 *) ac_try_echo=$ac_try;;
3057 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3058 (eval "$ac_try") 2>&5
3060 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3061 (exit $ac_status); }; } &&
3062 { ac_try='test -s conftest.$ac_objext'
3063 { (case "(($ac_try" in
3064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3065 *) ac_try_echo=$ac_try;;
3067 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3068 (eval "$ac_try") 2>&5
3070 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3071 (exit $ac_status); }; }; then
3074 echo "$as_me: failed program was
:" >&5
3075 sed 's/^/| /' conftest.$ac_ext >&5
3080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3081 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3084 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3085 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3086 GCC=`test $ac_compiler_gnu = yes && echo yes`
3087 ac_test_CFLAGS=${CFLAGS+set}
3088 ac_save_CFLAGS=$CFLAGS
3089 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3090 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3091 if test "${ac_cv_prog_cc_g+set}" = set; then
3092 echo $ECHO_N "(cached
) $ECHO_C" >&6
3094 ac_save_c_werror_flag=$ac_c_werror_flag
3095 ac_c_werror_flag=yes
3098 cat >conftest.$ac_ext <<_ACEOF
3101 cat confdefs.h >>conftest.$ac_ext
3102 cat >>conftest.$ac_ext <<_ACEOF
3103 /* end confdefs.h. */
3113 rm -f conftest.$ac_objext
3114 if { (ac_try="$ac_compile"
3116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3117 *) ac_try_echo=$ac_try;;
3119 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3120 (eval "$ac_compile") 2>conftest.er1
3122 grep -v '^ *+' conftest.er1 >conftest.err
3124 cat conftest.err >&5
3125 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3126 (exit $ac_status); } &&
3127 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3128 { (case "(($ac_try" in
3129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3130 *) ac_try_echo=$ac_try;;
3132 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3133 (eval "$ac_try") 2>&5
3135 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3136 (exit $ac_status); }; } &&
3137 { ac_try='test -s conftest.$ac_objext'
3138 { (case "(($ac_try" in
3139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3140 *) ac_try_echo=$ac_try;;
3142 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3143 (eval "$ac_try") 2>&5
3145 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3146 (exit $ac_status); }; }; then
3149 echo "$as_me: failed program was
:" >&5
3150 sed 's/^/| /' conftest.$ac_ext >&5
3153 cat >conftest.$ac_ext <<_ACEOF
3156 cat confdefs.h >>conftest.$ac_ext
3157 cat >>conftest.$ac_ext <<_ACEOF
3158 /* end confdefs.h. */
3168 rm -f conftest.$ac_objext
3169 if { (ac_try="$ac_compile"
3171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3172 *) ac_try_echo=$ac_try;;
3174 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3175 (eval "$ac_compile") 2>conftest.er1
3177 grep -v '^ *+' conftest.er1 >conftest.err
3179 cat conftest.err >&5
3180 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3181 (exit $ac_status); } &&
3182 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3183 { (case "(($ac_try" in
3184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3185 *) ac_try_echo=$ac_try;;
3187 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3188 (eval "$ac_try") 2>&5
3190 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3191 (exit $ac_status); }; } &&
3192 { ac_try='test -s conftest.$ac_objext'
3193 { (case "(($ac_try" in
3194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3195 *) ac_try_echo=$ac_try;;
3197 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3198 (eval "$ac_try") 2>&5
3200 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3201 (exit $ac_status); }; }; then
3204 echo "$as_me: failed program was
:" >&5
3205 sed 's/^/| /' conftest.$ac_ext >&5
3207 ac_c_werror_flag=$ac_save_c_werror_flag
3209 cat >conftest.$ac_ext <<_ACEOF
3212 cat confdefs.h >>conftest.$ac_ext
3213 cat >>conftest.$ac_ext <<_ACEOF
3214 /* end confdefs.h. */
3224 rm -f conftest.$ac_objext
3225 if { (ac_try="$ac_compile"
3227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3228 *) ac_try_echo=$ac_try;;
3230 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3231 (eval "$ac_compile") 2>conftest.er1
3233 grep -v '^ *+' conftest.er1 >conftest.err
3235 cat conftest.err >&5
3236 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3237 (exit $ac_status); } &&
3238 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3239 { (case "(($ac_try" in
3240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3241 *) ac_try_echo=$ac_try;;
3243 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3244 (eval "$ac_try") 2>&5
3246 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3247 (exit $ac_status); }; } &&
3248 { ac_try='test -s conftest.$ac_objext'
3249 { (case "(($ac_try" in
3250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3251 *) ac_try_echo=$ac_try;;
3253 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3254 (eval "$ac_try") 2>&5
3256 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3257 (exit $ac_status); }; }; then
3260 echo "$as_me: failed program was
:" >&5
3261 sed 's/^/| /' conftest.$ac_ext >&5
3266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3273 ac_c_werror_flag=$ac_save_c_werror_flag
3275 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3276 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3277 if test "$ac_test_CFLAGS" = set; then
3278 CFLAGS=$ac_save_CFLAGS
3279 elif test $ac_cv_prog_cc_g = yes; then
3280 if test "$GCC" = yes; then
3286 if test "$GCC" = yes; then
3292 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3293 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3294 if test "${ac_cv_prog_cc_c89+set}" = set; then
3295 echo $ECHO_N "(cached
) $ECHO_C" >&6
3297 ac_cv_prog_cc_c89=no
3299 cat >conftest.$ac_ext <<_ACEOF
3302 cat confdefs.h >>conftest.$ac_ext
3303 cat >>conftest.$ac_ext <<_ACEOF
3304 /* end confdefs.h. */
3307 #include <sys/types.h>
3308 #include <sys/stat.h>
3309 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3310 struct buf { int x; };
3311 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3312 static char *e (p, i)
3318 static char *f (char * (*g) (char **, int), char **p, ...)
3323 s = g (p, va_arg (v,int));
3328 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3329 function prototypes and stuff, but not '\xHH' hex character constants.
3330 These don't provoke an error unfortunately, instead are silently treated
3331 as 'x'. The following induces an error, until -std is added to get
3332 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3333 array size at least. It's necessary to write '\x00'==0 to get something
3334 that's true only with -std. */
3335 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3337 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3338 inside strings and character constants. */
3340 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3342 int test (int i, double x);
3343 struct s1 {int (*f) (int a);};
3344 struct s2 {int (*f) (double a);};
3345 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3351 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3356 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3357 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3359 CC="$ac_save_CC $ac_arg"
3360 rm -f conftest.$ac_objext
3361 if { (ac_try="$ac_compile"
3363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3364 *) ac_try_echo=$ac_try;;
3366 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3367 (eval "$ac_compile") 2>conftest.er1
3369 grep -v '^ *+' conftest.er1 >conftest.err
3371 cat conftest.err >&5
3372 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3373 (exit $ac_status); } &&
3374 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3375 { (case "(($ac_try" in
3376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3377 *) ac_try_echo=$ac_try;;
3379 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3380 (eval "$ac_try") 2>&5
3382 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3383 (exit $ac_status); }; } &&
3384 { ac_try='test -s conftest.$ac_objext'
3385 { (case "(($ac_try" in
3386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3387 *) ac_try_echo=$ac_try;;
3389 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3390 (eval "$ac_try") 2>&5
3392 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3393 (exit $ac_status); }; }; then
3394 ac_cv_prog_cc_c89=$ac_arg
3396 echo "$as_me: failed program was
:" >&5
3397 sed 's/^/| /' conftest.$ac_ext >&5
3402 rm -f core conftest.err conftest.$ac_objext
3403 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3405 rm -f conftest.$ac_ext
3410 case "x
$ac_cv_prog_cc_c89" in
3412 { echo "$as_me:$LINENO: result
: none needed
" >&5
3413 echo "${ECHO_T}none needed
" >&6; } ;;
3415 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3416 echo "${ECHO_T}unsupported
" >&6; } ;;
3418 CC="$CC $ac_cv_prog_cc_c89"
3419 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3420 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3425 ac_cpp='$CPP $CPPFLAGS'
3426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3432 ac_cpp='$CPP $CPPFLAGS'
3433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3436 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3437 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3438 # On Suns, sometimes $CPP names a directory.
3439 if test -n "$CPP" && test -d "$CPP"; then
3442 if test -z "$CPP"; then
3443 if test "${ac_cv_prog_CPP+set}" = set; then
3444 echo $ECHO_N "(cached
) $ECHO_C" >&6
3446 # Double quotes because CPP needs to be expanded
3447 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3450 for ac_c_preproc_warn_flag in '' yes
3452 # Use a header file that comes with gcc, so configuring glibc
3453 # with a fresh cross-compiler works.
3454 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3455 # <limits.h> exists even on freestanding compilers.
3456 # On the NeXT, cc -E runs the code through the compiler's parser,
3457 # not just through cpp. "Syntax error
" is here to catch this case.
3458 cat >conftest.$ac_ext <<_ACEOF
3461 cat confdefs.h >>conftest.$ac_ext
3462 cat >>conftest.$ac_ext <<_ACEOF
3463 /* end confdefs.h. */
3465 # include <limits.h>
3467 # include <assert.h>
3471 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3474 *) ac_try_echo=$ac_try;;
3476 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3477 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3479 grep -v '^ *+' conftest.er1 >conftest.err
3481 cat conftest.err >&5
3482 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3483 (exit $ac_status); } >/dev/null; then
3484 if test -s conftest.err; then
3485 ac_cpp_err=$ac_c_preproc_warn_flag
3486 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3493 if test -z "$ac_cpp_err"; then
3496 echo "$as_me: failed program was
:" >&5
3497 sed 's/^/| /' conftest.$ac_ext >&5
3499 # Broken: fails on valid input.
3503 rm -f conftest.err conftest.$ac_ext
3505 # OK, works on sane cases. Now check whether nonexistent headers
3506 # can be detected and how.
3507 cat >conftest.$ac_ext <<_ACEOF
3510 cat confdefs.h >>conftest.$ac_ext
3511 cat >>conftest.$ac_ext <<_ACEOF
3512 /* end confdefs.h. */
3513 #include <ac_nonexistent.h>
3515 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3518 *) ac_try_echo=$ac_try;;
3520 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3521 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3523 grep -v '^ *+' conftest.er1 >conftest.err
3525 cat conftest.err >&5
3526 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3527 (exit $ac_status); } >/dev/null; then
3528 if test -s conftest.err; then
3529 ac_cpp_err=$ac_c_preproc_warn_flag
3530 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3537 if test -z "$ac_cpp_err"; then
3538 # Broken: success on invalid input.
3541 echo "$as_me: failed program was
:" >&5
3542 sed 's/^/| /' conftest.$ac_ext >&5
3544 # Passes both tests.
3549 rm -f conftest.err conftest.$ac_ext
3552 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3553 rm -f conftest.err conftest.$ac_ext
3554 if $ac_preproc_ok; then
3566 { echo "$as_me:$LINENO: result
: $CPP" >&5
3567 echo "${ECHO_T}$CPP" >&6; }
3569 for ac_c_preproc_warn_flag in '' yes
3571 # Use a header file that comes with gcc, so configuring glibc
3572 # with a fresh cross-compiler works.
3573 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3574 # <limits.h> exists even on freestanding compilers.
3575 # On the NeXT, cc -E runs the code through the compiler's parser,
3576 # not just through cpp. "Syntax error
" is here to catch this case.
3577 cat >conftest.$ac_ext <<_ACEOF
3580 cat confdefs.h >>conftest.$ac_ext
3581 cat >>conftest.$ac_ext <<_ACEOF
3582 /* end confdefs.h. */
3584 # include <limits.h>
3586 # include <assert.h>
3590 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3593 *) ac_try_echo=$ac_try;;
3595 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3596 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3598 grep -v '^ *+' conftest.er1 >conftest.err
3600 cat conftest.err >&5
3601 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3602 (exit $ac_status); } >/dev/null; then
3603 if test -s conftest.err; then
3604 ac_cpp_err=$ac_c_preproc_warn_flag
3605 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3612 if test -z "$ac_cpp_err"; then
3615 echo "$as_me: failed program was
:" >&5
3616 sed 's/^/| /' conftest.$ac_ext >&5
3618 # Broken: fails on valid input.
3622 rm -f conftest.err conftest.$ac_ext
3624 # OK, works on sane cases. Now check whether nonexistent headers
3625 # can be detected and how.
3626 cat >conftest.$ac_ext <<_ACEOF
3629 cat confdefs.h >>conftest.$ac_ext
3630 cat >>conftest.$ac_ext <<_ACEOF
3631 /* end confdefs.h. */
3632 #include <ac_nonexistent.h>
3634 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3637 *) ac_try_echo=$ac_try;;
3639 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3640 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3642 grep -v '^ *+' conftest.er1 >conftest.err
3644 cat conftest.err >&5
3645 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3646 (exit $ac_status); } >/dev/null; then
3647 if test -s conftest.err; then
3648 ac_cpp_err=$ac_c_preproc_warn_flag
3649 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3656 if test -z "$ac_cpp_err"; then
3657 # Broken: success on invalid input.
3660 echo "$as_me: failed program was
:" >&5
3661 sed 's/^/| /' conftest.$ac_ext >&5
3663 # Passes both tests.
3668 rm -f conftest.err conftest.$ac_ext
3671 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3672 rm -f conftest.err conftest.$ac_ext
3673 if $ac_preproc_ok; then
3676 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3677 See \
`config.log' for more details." >&5
3678 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3679 See \`config.log
' for more details." >&2;}
3680 { (exit 1); exit 1; }; }
3684 ac_cpp='$CPP $CPPFLAGS'
3685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3686 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3690 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3691 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3692 if test "${ac_cv_path_GREP+set}" = set; then
3693 echo $ECHO_N "(cached) $ECHO_C" >&6
3695 # Extract the first word of "grep ggrep" to use in msg output
3696 if test -z "$GREP"; then
3697 set dummy grep ggrep; ac_prog_name=$2
3698 if test "${ac_cv_path_GREP+set}" = set; then
3699 echo $ECHO_N "(cached) $ECHO_C" >&6
3701 ac_path_GREP_found=false
3702 # Loop through the user's path and
test for each of PROGNAME-LIST
3703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3704 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3707 test -z "$as_dir" && as_dir
=.
3708 for ac_prog
in grep ggrep
; do
3709 for ac_exec_ext
in '' $ac_executable_extensions; do
3710 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3711 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } ||
continue
3712 # Check for GNU ac_path_GREP and select it if it is found.
3713 # Check for GNU $ac_path_GREP
3714 case `"$ac_path_GREP" --version 2>&1` in
3716 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3719 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3722 cat "conftest.in" "conftest.in" >"conftest.tmp"
3723 mv "conftest.tmp" "conftest.in"
3724 cp "conftest.in" "conftest.nl"
3725 echo 'GREP' >> "conftest.nl"
3726 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3727 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3728 ac_count
=`expr $ac_count + 1`
3729 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3730 # Best one so far, save it but keep looking for a better one
3731 ac_cv_path_GREP
="$ac_path_GREP"
3732 ac_path_GREP_max
=$ac_count
3734 # 10*(2^10) chars as input seems more than enough
3735 test $ac_count -gt 10 && break
3737 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3741 $ac_path_GREP_found && break 3
3751 GREP
="$ac_cv_path_GREP"
3752 if test -z "$GREP"; then
3753 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3754 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3755 { (exit 1); exit 1; }; }
3759 ac_cv_path_GREP
=$GREP
3764 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3765 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3766 GREP
="$ac_cv_path_GREP"
3769 { echo "$as_me:$LINENO: checking for egrep" >&5
3770 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3771 if test "${ac_cv_path_EGREP+set}" = set; then
3772 echo $ECHO_N "(cached) $ECHO_C" >&6
3774 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3775 then ac_cv_path_EGREP
="$GREP -E"
3777 # Extract the first word of "egrep" to use in msg output
3778 if test -z "$EGREP"; then
3779 set dummy
egrep; ac_prog_name
=$2
3780 if test "${ac_cv_path_EGREP+set}" = set; then
3781 echo $ECHO_N "(cached) $ECHO_C" >&6
3783 ac_path_EGREP_found
=false
3784 # Loop through the user's path and test for each of PROGNAME-LIST
3785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3786 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3789 test -z "$as_dir" && as_dir
=.
3790 for ac_prog
in egrep; do
3791 for ac_exec_ext
in '' $ac_executable_extensions; do
3792 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3793 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } ||
continue
3794 # Check for GNU ac_path_EGREP and select it if it is found.
3795 # Check for GNU $ac_path_EGREP
3796 case `"$ac_path_EGREP" --version 2>&1` in
3798 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3801 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3804 cat "conftest.in" "conftest.in" >"conftest.tmp"
3805 mv "conftest.tmp" "conftest.in"
3806 cp "conftest.in" "conftest.nl"
3807 echo 'EGREP' >> "conftest.nl"
3808 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3809 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3810 ac_count
=`expr $ac_count + 1`
3811 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3812 # Best one so far, save it but keep looking for a better one
3813 ac_cv_path_EGREP
="$ac_path_EGREP"
3814 ac_path_EGREP_max
=$ac_count
3816 # 10*(2^10) chars as input seems more than enough
3817 test $ac_count -gt 10 && break
3819 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3823 $ac_path_EGREP_found && break 3
3833 EGREP
="$ac_cv_path_EGREP"
3834 if test -z "$EGREP"; then
3835 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3836 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3837 { (exit 1); exit 1; }; }
3841 ac_cv_path_EGREP
=$EGREP
3847 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3848 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3849 EGREP
="$ac_cv_path_EGREP"
3852 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3853 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3854 if test "${ac_cv_header_stdc+set}" = set; then
3855 echo $ECHO_N "(cached) $ECHO_C" >&6
3857 cat >conftest.
$ac_ext <<_ACEOF
3860 cat confdefs.h
>>conftest.
$ac_ext
3861 cat >>conftest.
$ac_ext <<_ACEOF
3862 /* end confdefs.h. */
3876 rm -f conftest.
$ac_objext
3877 if { (ac_try
="$ac_compile"
3879 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3880 *) ac_try_echo=$ac_try;;
3882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3883 (eval "$ac_compile") 2>conftest.er1
3885 grep -v '^ *+' conftest.er1 >conftest.err
3887 cat conftest.err >&5
3888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3889 (exit $ac_status); } &&
3890 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3891 { (case "(($ac_try" in
3892 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3893 *) ac_try_echo
=$ac_try;;
3895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3896 (eval "$ac_try") 2>&5
3898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3899 (exit $ac_status); }; } &&
3900 { ac_try
='test -s conftest.$ac_objext'
3901 { (case "(($ac_try" in
3902 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3903 *) ac_try_echo=$ac_try;;
3905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3906 (eval "$ac_try") 2>&5
3908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3909 (exit $ac_status); }; }; then
3910 ac_cv_header_stdc=yes
3912 echo "$as_me: failed program was:" >&5
3913 sed 's/^/| /' conftest.$ac_ext >&5
3915 ac_cv_header_stdc=no
3918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3920 if test $ac_cv_header_stdc = yes; then
3921 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3922 cat >conftest.$ac_ext <<_ACEOF
3925 cat confdefs.h >>conftest.$ac_ext
3926 cat >>conftest.$ac_ext <<_ACEOF
3927 /* end confdefs.h. */
3931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3932 $EGREP "memchr" >/dev/null 2>&1; then
3935 ac_cv_header_stdc=no
3941 if test $ac_cv_header_stdc = yes; then
3942 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3943 cat >conftest.$ac_ext <<_ACEOF
3946 cat confdefs.h >>conftest.$ac_ext
3947 cat >>conftest.$ac_ext <<_ACEOF
3948 /* end confdefs.h. */
3952 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3953 $EGREP "free" >/dev/null 2>&1; then
3956 ac_cv_header_stdc=no
3962 if test $ac_cv_header_stdc = yes; then
3963 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3964 if test "$cross_compiling" = yes; then
3967 cat >conftest.$ac_ext <<_ACEOF
3970 cat confdefs.h >>conftest.$ac_ext
3971 cat >>conftest.$ac_ext <<_ACEOF
3972 /* end confdefs.h. */
3975 #if ((' ' & 0x0FF) == 0x020)
3976 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3977 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3979 # define ISLOWER(c) \
3980 (('a' <= (c) && (c) <= 'i') \
3981 || ('j' <= (c) && (c) <= 'r') \
3982 || ('s' <= (c) && (c) <= 'z'))
3983 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3986 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3991 for (i = 0; i < 256; i++)
3992 if (XOR (islower (i), ISLOWER (i))
3993 || toupper (i) != TOUPPER (i))
3998 rm -f conftest$ac_exeext
3999 if { (ac_try="$ac_link"
4001 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4002 *) ac_try_echo
=$ac_try;;
4004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4005 (eval "$ac_link") 2>&5
4007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4008 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4009 { (case "(($ac_try" in
4010 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4011 *) ac_try_echo=$ac_try;;
4013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4014 (eval "$ac_try") 2>&5
4016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4017 (exit $ac_status); }; }; then
4020 echo "$as_me: program exited with status $ac_status" >&5
4021 echo "$as_me: failed program was:" >&5
4022 sed 's/^/| /' conftest.$ac_ext >&5
4025 ac_cv_header_stdc=no
4027 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4033 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4034 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4035 if test $ac_cv_header_stdc = yes; then
4037 cat >>confdefs.h <<\_ACEOF
4038 #define STDC_HEADERS 1
4043 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4053 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4054 inttypes.h stdint.h unistd.h
4056 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4057 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4058 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4059 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4060 echo $ECHO_N "(cached) $ECHO_C" >&6
4062 cat >conftest.$ac_ext <<_ACEOF
4065 cat confdefs.h >>conftest.$ac_ext
4066 cat >>conftest.$ac_ext <<_ACEOF
4067 /* end confdefs.h. */
4068 $ac_includes_default
4070 #include <$ac_header>
4072 rm -f conftest.$ac_objext
4073 if { (ac_try="$ac_compile"
4075 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4076 *) ac_try_echo
=$ac_try;;
4078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4079 (eval "$ac_compile") 2>conftest.er1
4081 grep -v '^ *+' conftest.er1
>conftest.err
4083 cat conftest.err
>&5
4084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4085 (exit $ac_status); } &&
4086 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4087 { (case "(($ac_try" in
4088 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4089 *) ac_try_echo=$ac_try;;
4091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4092 (eval "$ac_try") 2>&5
4094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4095 (exit $ac_status); }; } &&
4096 { ac_try='test -s conftest.$ac_objext'
4097 { (case "(($ac_try" in
4098 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4099 *) ac_try_echo
=$ac_try;;
4101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4102 (eval "$ac_try") 2>&5
4104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105 (exit $ac_status); }; }; then
4106 eval "$as_ac_Header=yes"
4108 echo "$as_me: failed program was:" >&5
4109 sed 's/^/| /' conftest.
$ac_ext >&5
4111 eval "$as_ac_Header=no"
4114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4116 ac_res
=`eval echo '${'$as_ac_Header'}'`
4117 { echo "$as_me:$LINENO: result: $ac_res" >&5
4118 echo "${ECHO_T}$ac_res" >&6; }
4119 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4120 cat >>confdefs.h
<<_ACEOF
4121 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4129 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4130 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
4131 if test "${ac_cv_c_bigendian+set}" = set; then
4132 echo $ECHO_N "(cached) $ECHO_C" >&6
4134 # See if sys/param.h defines the BYTE_ORDER macro.
4135 cat >conftest.
$ac_ext <<_ACEOF
4138 cat confdefs.h
>>conftest.
$ac_ext
4139 cat >>conftest.
$ac_ext <<_ACEOF
4140 /* end confdefs.h. */
4141 #include <sys/types.h>
4142 #include <sys/param.h>
4147 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4155 rm -f conftest.
$ac_objext
4156 if { (ac_try
="$ac_compile"
4158 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4159 *) ac_try_echo=$ac_try;;
4161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4162 (eval "$ac_compile") 2>conftest.er1
4164 grep -v '^ *+' conftest.er1 >conftest.err
4166 cat conftest.err >&5
4167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4168 (exit $ac_status); } &&
4169 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4170 { (case "(($ac_try" in
4171 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4172 *) ac_try_echo
=$ac_try;;
4174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4175 (eval "$ac_try") 2>&5
4177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4178 (exit $ac_status); }; } &&
4179 { ac_try
='test -s conftest.$ac_objext'
4180 { (case "(($ac_try" in
4181 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4182 *) ac_try_echo=$ac_try;;
4184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4185 (eval "$ac_try") 2>&5
4187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4188 (exit $ac_status); }; }; then
4189 # It does; now see whether it defined to BIG_ENDIAN or not.
4190 cat >conftest.$ac_ext <<_ACEOF
4193 cat confdefs.h >>conftest.$ac_ext
4194 cat >>conftest.$ac_ext <<_ACEOF
4195 /* end confdefs.h. */
4196 #include <sys/types.h>
4197 #include <sys/param.h>
4202 #if BYTE_ORDER != BIG_ENDIAN
4210 rm -f conftest.$ac_objext
4211 if { (ac_try="$ac_compile"
4213 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4214 *) ac_try_echo
=$ac_try;;
4216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4217 (eval "$ac_compile") 2>conftest.er1
4219 grep -v '^ *+' conftest.er1
>conftest.err
4221 cat conftest.err
>&5
4222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4223 (exit $ac_status); } &&
4224 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4225 { (case "(($ac_try" in
4226 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4227 *) ac_try_echo=$ac_try;;
4229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4230 (eval "$ac_try") 2>&5
4232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4233 (exit $ac_status); }; } &&
4234 { ac_try='test -s conftest.$ac_objext'
4235 { (case "(($ac_try" in
4236 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4237 *) ac_try_echo
=$ac_try;;
4239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4240 (eval "$ac_try") 2>&5
4242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4243 (exit $ac_status); }; }; then
4244 ac_cv_c_bigendian
=yes
4246 echo "$as_me: failed program was:" >&5
4247 sed 's/^/| /' conftest.
$ac_ext >&5
4249 ac_cv_c_bigendian
=no
4252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4254 echo "$as_me: failed program was:" >&5
4255 sed 's/^/| /' conftest.
$ac_ext >&5
4257 # It does not; compile a test program.
4258 if test "$cross_compiling" = yes; then
4259 # try to guess the endianness by grepping values into an object file
4260 ac_cv_c_bigendian
=unknown
4261 cat >conftest.
$ac_ext <<_ACEOF
4264 cat confdefs.h
>>conftest.
$ac_ext
4265 cat >>conftest.
$ac_ext <<_ACEOF
4266 /* end confdefs.h. */
4267 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4268 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4269 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4270 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4271 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4272 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4276 _ascii (); _ebcdic ();
4281 rm -f conftest.
$ac_objext
4282 if { (ac_try
="$ac_compile"
4284 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4285 *) ac_try_echo=$ac_try;;
4287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4288 (eval "$ac_compile") 2>conftest.er1
4290 grep -v '^ *+' conftest.er1 >conftest.err
4292 cat conftest.err >&5
4293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4294 (exit $ac_status); } &&
4295 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4296 { (case "(($ac_try" in
4297 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4298 *) ac_try_echo
=$ac_try;;
4300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4301 (eval "$ac_try") 2>&5
4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304 (exit $ac_status); }; } &&
4305 { ac_try
='test -s conftest.$ac_objext'
4306 { (case "(($ac_try" in
4307 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4308 *) ac_try_echo=$ac_try;;
4310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4311 (eval "$ac_try") 2>&5
4313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4314 (exit $ac_status); }; }; then
4315 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4316 ac_cv_c_bigendian=yes
4318 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4319 if test "$ac_cv_c_bigendian" = unknown; then
4320 ac_cv_c_bigendian=no
4322 # finding both strings is unlikely to happen, but who knows?
4323 ac_cv_c_bigendian=unknown
4327 echo "$as_me: failed program was:" >&5
4328 sed 's/^/| /' conftest.$ac_ext >&5
4333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4335 cat >conftest.$ac_ext <<_ACEOF
4338 cat confdefs.h >>conftest.$ac_ext
4339 cat >>conftest.$ac_ext <<_ACEOF
4340 /* end confdefs.h. */
4341 $ac_includes_default
4346 /* Are we little or big endian? From Harbison&Steele. */
4350 char c[sizeof (long int)];
4353 return u.c[sizeof (long int) - 1] == 1;
4359 rm -f conftest$ac_exeext
4360 if { (ac_try="$ac_link"
4362 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4363 *) ac_try_echo
=$ac_try;;
4365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4366 (eval "$ac_link") 2>&5
4368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4369 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4370 { (case "(($ac_try" in
4371 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4372 *) ac_try_echo=$ac_try;;
4374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4375 (eval "$ac_try") 2>&5
4377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4378 (exit $ac_status); }; }; then
4379 ac_cv_c_bigendian=no
4381 echo "$as_me: program exited with status $ac_status" >&5
4382 echo "$as_me: failed program was:" >&5
4383 sed 's/^/| /' conftest.$ac_ext >&5
4386 ac_cv_c_bigendian=yes
4388 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4396 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4397 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
4398 case $ac_cv_c_bigendian in
4406 { { echo "$as_me:$LINENO: error: unknown endianness
4407 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4408 echo "$as_me: error: unknown endianness
4409 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4410 { (exit 1); exit 1; }; } ;;
4414 if test "$cross_compiling" = yes; then
4415 LLVM_CROSS_COMPILING=1
4418 { echo "$as_me:$LINENO: checking for executable suffix on build platform" >&5
4419 echo $ECHO_N "checking for executable suffix on build platform... $ECHO_C" >&6; }
4420 if test "${ac_cv_build_exeext+set}" = set; then
4421 echo $ECHO_N "(cached) $ECHO_C" >&6
4423 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
4424 ac_cv_build_exeext=.exe
4426 ac_build_prefix=${build_alias}-
4428 # Extract the first word of "${ac_build_prefix}gcc", so it can be a program name with args.
4429 set dummy ${ac_build_prefix}gcc; ac_word=$2
4430 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4432 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4433 echo $ECHO_N "(cached) $ECHO_C" >&6
4435 if test -n "$BUILD_CC"; then
4436 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4442 test -z "$as_dir" && as_dir=.
4443 for ac_exec_ext in '' $ac_executable_extensions; do
4444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4445 ac_cv_prog_BUILD_CC="${ac_build_prefix}gcc"
4446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4455 BUILD_CC=$ac_cv_prog_BUILD_CC
4456 if test -n "$BUILD_CC"; then
4457 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4458 echo "${ECHO_T}$BUILD_CC" >&6; }
4460 { echo "$as_me:$LINENO: result: no" >&5
4461 echo "${ECHO_T}no" >&6; }
4465 if test -z "$BUILD_CC"; then
4466 # Extract the first word of "gcc", so it can be a program name with args.
4467 set dummy gcc; ac_word=$2
4468 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4470 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4471 echo $ECHO_N "(cached) $ECHO_C" >&6
4473 if test -n "$BUILD_CC"; then
4474 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4480 test -z "$as_dir" && as_dir=.
4481 for ac_exec_ext in '' $ac_executable_extensions; do
4482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4483 ac_cv_prog_BUILD_CC="gcc"
4484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4493 BUILD_CC=$ac_cv_prog_BUILD_CC
4494 if test -n "$BUILD_CC"; then
4495 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4496 echo "${ECHO_T}$BUILD_CC" >&6; }
4498 { echo "$as_me:$LINENO: result: no" >&5
4499 echo "${ECHO_T}no" >&6; }
4503 if test -z "$BUILD_CC"; then
4504 # Extract the first word of "cc", so it can be a program name with args.
4505 set dummy cc; ac_word=$2
4506 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4508 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4509 echo $ECHO_N "(cached) $ECHO_C" >&6
4511 if test -n "$BUILD_CC"; then
4512 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4519 test -z "$as_dir" && as_dir=.
4520 for ac_exec_ext in '' $ac_executable_extensions; do
4521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4522 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4523 ac_prog_rejected=yes
4526 ac_cv_prog_BUILD_CC="cc"
4527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4534 if test $ac_prog_rejected = yes; then
4535 # We found a bogon in the path, so make sure we never use it.
4536 set dummy $ac_cv_prog_BUILD_CC
4538 if test $# != 0; then
4539 # We chose a different compiler from the bogus one.
4540 # However, it has the same basename, so the bogon will be chosen
4541 # first if we set BUILD_CC to just the basename; use the full file name.
4543 ac_cv_prog_BUILD_CC="$as_dir/$ac_word${1+' '}$@"
4548 BUILD_CC=$ac_cv_prog_BUILD_CC
4549 if test -n "$BUILD_CC"; then
4550 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4551 echo "${ECHO_T}$BUILD_CC" >&6; }
4553 { echo "$as_me:$LINENO: result: no" >&5
4554 echo "${ECHO_T}no" >&6; }
4560 test -z "$BUILD_CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
4561 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
4562 { (exit 1); exit 1; }; }
4563 ac_build_link='${BUILD_CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4565 echo 'int main () { return 0; }' > conftest.$ac_ext
4567 if { (eval echo "$as_me:$LINENO: \"$ac_build_link\"") >&5
4568 (eval $ac_build_link) 2>&5
4570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4571 (exit $ac_status); }; then
4572 for file in conftest.*; do
4574 *.c | *.o | *.obj | *.dSYM) ;;
4575 *) ac_cv_build_exeext=`echo $file |
sed -e s
/conftest
//` ;;
4579 { { echo "$as_me:$LINENO: error: installation or configuration problem: compiler cannot create executables." >&5
4580 echo "$as_me: error: installation or configuration problem: compiler cannot create executables." >&2;}
4581 { (exit 1); exit 1; }; }
4584 test x"${ac_cv_build_exeext}" = x && ac_cv_build_exeext=blank
4589 test x"${ac_cv_build_exeext}" != xblank && BUILD_EXEEXT=${ac_cv_build_exeext}
4590 { echo "$as_me:$LINENO: result: ${ac_cv_build_exeext}" >&5
4591 echo "${ECHO_T}${ac_cv_build_exeext}" >&6; }
4592 ac_build_exeext=$BUILD_EXEEXT
4594 ac_build_prefix=${build_alias}-
4595 # Extract the first word of "${ac_build_prefix}g++", so it can be a program name with args.
4596 set dummy ${ac_build_prefix}g++; ac_word=$2
4597 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4599 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
4600 echo $ECHO_N "(cached) $ECHO_C" >&6
4602 if test -n "$BUILD_CXX"; then
4603 ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
4605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4609 test -z "$as_dir" && as_dir=.
4610 for ac_exec_ext in '' $ac_executable_extensions; do
4611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4612 ac_cv_prog_BUILD_CXX="${ac_build_prefix}g++"
4613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4622 BUILD_CXX=$ac_cv_prog_BUILD_CXX
4623 if test -n "$BUILD_CXX"; then
4624 { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
4625 echo "${ECHO_T}$BUILD_CXX" >&6; }
4627 { echo "$as_me:$LINENO: result: no" >&5
4628 echo "${ECHO_T}no" >&6; }
4632 if test -z "$BUILD_CXX"; then
4633 # Extract the first word of "g++", so it can be a program name with args.
4634 set dummy g++; ac_word=$2
4635 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4637 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
4638 echo $ECHO_N "(cached) $ECHO_C" >&6
4640 if test -n "$BUILD_CXX"; then
4641 ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
4643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4647 test -z "$as_dir" && as_dir=.
4648 for ac_exec_ext in '' $ac_executable_extensions; do
4649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4650 ac_cv_prog_BUILD_CXX="g++"
4651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4660 BUILD_CXX=$ac_cv_prog_BUILD_CXX
4661 if test -n "$BUILD_CXX"; then
4662 { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
4663 echo "${ECHO_T}$BUILD_CXX" >&6; }
4665 { echo "$as_me:$LINENO: result: no" >&5
4666 echo "${ECHO_T}no" >&6; }
4670 if test -z "$BUILD_CXX"; then
4671 # Extract the first word of "c++", so it can be a program name with args.
4672 set dummy c++; ac_word=$2
4673 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4675 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
4676 echo $ECHO_N "(cached) $ECHO_C" >&6
4678 if test -n "$BUILD_CXX"; then
4679 ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
4682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4686 test -z "$as_dir" && as_dir=.
4687 for ac_exec_ext in '' $ac_executable_extensions; do
4688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4689 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/c++"; then
4690 ac_prog_rejected=yes
4693 ac_cv_prog_BUILD_CXX="c++"
4694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4701 if test $ac_prog_rejected = yes; then
4702 # We found a bogon in the path, so make sure we never use it.
4703 set dummy $ac_cv_prog_BUILD_CXX
4705 if test $# != 0; then
4706 # We chose a different compiler from the bogus one.
4707 # However, it has the same basename, so the bogon will be chosen
4708 # first if we set BUILD_CXX to just the basename; use the full file name.
4710 ac_cv_prog_BUILD_CXX="$as_dir/$ac_word${1+' '}$@"
4715 BUILD_CXX=$ac_cv_prog_BUILD_CXX
4716 if test -n "$BUILD_CXX"; then
4717 { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
4718 echo "${ECHO_T}$BUILD_CXX" >&6; }
4720 { echo "$as_me:$LINENO: result: no" >&5
4721 echo "${ECHO_T}no" >&6; }
4728 LLVM_CROSS_COMPILING=0
4732 if test -d ".svn" -o -d "${srcdir}/.svn" -o -d ".git" -o -d "${srcdir}/.git"; then
4743 # Check whether --enable-optimized was given.
4744 if test "${enable_optimized+set}" = set; then
4745 enableval=$enable_optimized;
4750 if test ${enableval} = "no" ; then
4754 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
4758 # Check whether --enable-profiling was given.
4759 if test "${enable_profiling+set}" = set; then
4760 enableval=$enable_profiling;
4765 if test ${enableval} = "no" ; then
4769 ENABLE_PROFILING=ENABLE_PROFILING=1
4773 # Check whether --enable-assertions was given.
4774 if test "${enable_assertions+set}" = set; then
4775 enableval=$enable_assertions;
4780 if test ${enableval} = "yes" ; then
4784 DISABLE_ASSERTIONS=DISABLE_ASSERTIONS=1
4788 # Check whether --enable-expensive-checks was given.
4789 if test "${enable_expensive_checks+set}" = set; then
4790 enableval=$enable_expensive_checks;
4795 if test ${enableval} = "yes" ; then
4796 ENABLE_EXPENSIVE_CHECKS=ENABLE_EXPENSIVE_CHECKS=1
4798 EXPENSIVE_CHECKS=yes
4801 ENABLE_EXPENSIVE_CHECKS=
4807 # Check whether --enable-debug-runtime was given.
4808 if test "${enable_debug_runtime+set}" = set; then
4809 enableval=$enable_debug_runtime;
4814 if test ${enableval} = "no" ; then
4818 DEBUG_RUNTIME=DEBUG_RUNTIME=1
4822 # Check whether --enable-debug-symbols was given.
4823 if test "${enable_debug_symbols+set}" = set; then
4824 enableval=$enable_debug_symbols;
4829 if test ${enableval} = "no" ; then
4833 DEBUG_SYMBOLS=DEBUG_SYMBOLS=1
4837 # Check whether --enable-jit was given.
4838 if test "${enable_jit+set}" = set; then
4839 enableval=$enable_jit;
4844 if test ${enableval} = "no"
4849 case "$llvm_cv_target_arch" in
4850 x86) TARGET_HAS_JIT=1
4852 Sparc) TARGET_HAS_JIT=0
4854 PowerPC) TARGET_HAS_JIT=1
4856 x86_64) TARGET_HAS_JIT=1
4858 Alpha) TARGET_HAS_JIT=0
4860 ARM) TARGET_HAS_JIT=1
4862 Mips) TARGET_HAS_JIT=0
4864 XCore) TARGET_HAS_JIT=0
4866 MSP430) TARGET_HAS_JIT=0
4868 SystemZ) TARGET_HAS_JIT=0
4870 Blackfin) TARGET_HAS_JIT=0
4872 MBlaze) TARGET_HAS_JIT=0
4874 PTX) TARGET_HAS_JIT=0
4881 # Check whether --enable-docs was given.
4882 if test "${enable_docs+set}" = set; then
4883 enableval=$enable_docs;
4888 case "$enableval" in
4893 default) ENABLE_DOCS=1
4895 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-docs. Use \"yes\" or \"no\"" >&5
4896 echo "$as_me: error: Invalid setting for --enable-docs. Use \"yes\" or \"no\"" >&2;}
4897 { (exit 1); exit 1; }; } ;;
4900 # Check whether --enable-doxygen was given.
4901 if test "${enable_doxygen+set}" = set; then
4902 enableval=$enable_doxygen;
4907 case "$enableval" in
4908 yes) ENABLE_DOXYGEN=1
4910 no) ENABLE_DOXYGEN=0
4912 default) ENABLE_DOXYGEN=0
4914 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&5
4915 echo "$as_me: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&2;}
4916 { (exit 1); exit 1; }; } ;;
4919 # Check whether --enable-threads was given.
4920 if test "${enable_threads+set}" = set; then
4921 enableval=$enable_threads;
4926 case "$enableval" in
4927 yes) ENABLE_THREADS=1
4929 no) ENABLE_THREADS=0
4931 default) ENABLE_THREADS=1
4933 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&5
4934 echo "$as_me: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&2;}
4935 { (exit 1); exit 1; }; } ;;
4938 cat >>confdefs.h <<_ACEOF
4939 #define ENABLE_THREADS $ENABLE_THREADS
4943 # Check whether --enable-pthreads was given.
4944 if test "${enable_pthreads+set}" = set; then
4945 enableval=$enable_pthreads;
4950 case "$enableval" in
4951 yes) ENABLE_PTHREADS=1
4953 no) ENABLE_PTHREADS=0
4955 default) ENABLE_PTHREADS=1
4957 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-pthreads. Use \"yes\" or \"no\"" >&5
4958 echo "$as_me: error: Invalid setting for --enable-pthreads. Use \"yes\" or \"no\"" >&2;}
4959 { (exit 1); exit 1; }; } ;;
4962 # Check whether --enable-pic was given.
4963 if test "${enable_pic+set}" = set; then
4964 enableval=$enable_pic;
4969 case "$enableval" in
4974 default) ENABLE_PIC=1
4976 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-pic. Use \"yes\" or \"no\"" >&5
4977 echo "$as_me: error: Invalid setting for --enable-pic. Use \"yes\" or \"no\"" >&2;}
4978 { (exit 1); exit 1; }; } ;;
4981 cat >>confdefs.h <<_ACEOF
4982 #define ENABLE_PIC $ENABLE_PIC
4986 # Check whether --enable-shared was given.
4987 if test "${enable_shared+set}" = set; then
4988 enableval=$enable_shared;
4993 case "$enableval" in
4994 yes) ENABLE_SHARED=1
4998 default) ENABLE_SHARED=0
5000 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-shared. Use \"yes\" or \"no\"" >&5
5001 echo "$as_me: error: Invalid setting for --enable-shared. Use \"yes\" or \"no\"" >&2;}
5002 { (exit 1); exit 1; }; } ;;
5005 # Check whether --enable-embed-stdcxx was given.
5006 if test "${enable_embed_stdcxx+set}" = set; then
5007 enableval=$enable_embed_stdcxx;
5012 case "$enableval" in
5013 yes) ENABLE_EMBED_STDCXX=1
5015 no) ENABLE_EMBED_STDCXX=0
5017 default) ENABLE_EMBED_STDCXX=1
5019 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-embed-stdcxx. Use \"yes\" or \"no\"" >&5
5020 echo "$as_me: error: Invalid setting for --enable-embed-stdcxx. Use \"yes\" or \"no\"" >&2;}
5021 { (exit 1); exit 1; }; } ;;
5024 # Check whether --enable-timestamps was given.
5025 if test "${enable_timestamps+set}" = set; then
5026 enableval=$enable_timestamps;
5031 case "$enableval" in
5032 yes) ENABLE_TIMESTAMPS=1
5034 no) ENABLE_TIMESTAMPS=0
5036 default) ENABLE_TIMESTAMPS=1
5038 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-timestamps. Use \"yes\" or \"no\"" >&5
5039 echo "$as_me: error: Invalid setting for --enable-timestamps. Use \"yes\" or \"no\"" >&2;}
5040 { (exit 1); exit 1; }; } ;;
5043 cat >>confdefs.h <<_ACEOF
5044 #define ENABLE_TIMESTAMPS $ENABLE_TIMESTAMPS
5049 # Check whether --enable-targets was given.
5050 if test "${enable_targets+set}" = set; then
5051 enableval=$enable_targets;
5056 if test "$enableval" = host-only ; then
5059 case "$enableval" in
5060 all) TARGETS_TO_BUILD="X86 Sparc PowerPC Alpha ARM Mips CellSPU XCore MSP430 SystemZ Blackfin CBackend CppBackend MBlaze PTX" ;;
5061 *)for a_target in `echo $enableval|
sed -e 's/,/ /g' ` ; do
5063 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
5064 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
5065 sparc) TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;;
5066 powerpc) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
5067 alpha) TARGETS_TO_BUILD="Alpha $TARGETS_TO_BUILD" ;;
5068 arm) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
5069 mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
5070 spu) TARGETS_TO_BUILD="CellSPU $TARGETS_TO_BUILD" ;;
5071 xcore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;;
5072 msp430) TARGETS_TO_BUILD="MSP430 $TARGETS_TO_BUILD" ;;
5073 systemz) TARGETS_TO_BUILD="SystemZ $TARGETS_TO_BUILD" ;;
5074 blackfin) TARGETS_TO_BUILD="Blackfin $TARGETS_TO_BUILD" ;;
5075 cbe) TARGETS_TO_BUILD="CBackend $TARGETS_TO_BUILD" ;;
5076 cpp) TARGETS_TO_BUILD="CppBackend $TARGETS_TO_BUILD" ;;
5077 mblaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;;
5078 ptx) TARGETS_TO_BUILD="PTX $TARGETS_TO_BUILD" ;;
5079 host) case "$llvm_cv_target_arch" in
5080 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
5081 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
5082 Sparc) TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;;
5083 PowerPC) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
5084 Alpha) TARGETS_TO_BUILD="Alpha $TARGETS_TO_BUILD" ;;
5085 ARM) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
5086 Mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
5087 MBlaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;;
5088 CellSPU|SPU) TARGETS_TO_BUILD="CellSPU $TARGETS_TO_BUILD" ;;
5089 XCore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;;
5090 MSP430) TARGETS_TO_BUILD="MSP430 $TARGETS_TO_BUILD" ;;
5091 s390x) TARGETS_TO_BUILD="SystemZ $TARGETS_TO_BUILD" ;;
5092 Blackfin) TARGETS_TO_BUILD="Blackfin $TARGETS_TO_BUILD" ;;
5093 PTX) TARGETS_TO_BUILD="PTX $TARGETS_TO_BUILD" ;;
5094 *) { { echo "$as_me:$LINENO: error: Can not set target to build" >&5
5095 echo "$as_me: error: Can not set target to build" >&2;}
5096 { (exit 1); exit 1; }; } ;;
5098 *) { { echo "$as_me:$LINENO: error: Unrecognized target $a_target" >&5
5099 echo "$as_me: error: Unrecognized target $a_target" >&2;}
5100 { (exit 1); exit 1; }; } ;;
5105 TARGETS_TO_BUILD=$TARGETS_TO_BUILD
5108 # Determine whether we are building LLVM support for the native architecture.
5109 # If so, define LLVM_NATIVE_ARCH to that LLVM target.
5110 for a_target in $TARGETS_TO_BUILD; do
5111 if test "$a_target" = "$LLVM_NATIVE_ARCH"; then
5113 cat >>confdefs.h <<_ACEOF
5114 #define LLVM_NATIVE_ARCH $LLVM_NATIVE_ARCH
5117 LLVM_NATIVE_TARGET="LLVMInitialize${LLVM_NATIVE_ARCH}Target"
5118 LLVM_NATIVE_TARGETINFO="LLVMInitialize${LLVM_NATIVE_ARCH}TargetInfo"
5119 LLVM_NATIVE_ASMPRINTER="LLVMInitialize${LLVM_NATIVE_ARCH}AsmPrinter"
5120 if test -f ${srcdir}/lib/Target/${LLVM_NATIVE_ARCH}/AsmParser/Makefile ; then
5121 LLVM_NATIVE_ASMPARSER="LLVMInitialize${LLVM_NATIVE_ARCH}AsmParser"
5124 cat >>confdefs.h <<_ACEOF
5125 #define LLVM_NATIVE_TARGET $LLVM_NATIVE_TARGET
5129 cat >>confdefs.h <<_ACEOF
5130 #define LLVM_NATIVE_TARGETINFO $LLVM_NATIVE_TARGETINFO
5134 cat >>confdefs.h <<_ACEOF
5135 #define LLVM_NATIVE_ASMPRINTER $LLVM_NATIVE_ASMPRINTER
5138 if test -f ${srcdir}/lib/Target/${LLVM_NATIVE_ARCH}/AsmParser/Makefile ; then
5140 cat >>confdefs.h <<_ACEOF
5141 #define LLVM_NATIVE_ASMPARSER $LLVM_NATIVE_ASMPARSER
5148 # Build the LLVM_TARGET and LLVM_... macros for Targets.def and the individual
5149 # target feature def files.
5150 LLVM_ENUM_TARGETS=""
5151 LLVM_ENUM_ASM_PRINTERS=""
5152 LLVM_ENUM_ASM_PARSERS=""
5153 LLVM_ENUM_DISASSEMBLERS=""
5154 for target_to_build in $TARGETS_TO_BUILD; do
5155 LLVM_ENUM_TARGETS="LLVM_TARGET($target_to_build) $LLVM_ENUM_TARGETS"
5156 if test -f ${srcdir}/lib/Target/${target_to_build}/*AsmPrinter.cpp ; then
5157 LLVM_ENUM_ASM_PRINTERS="LLVM_ASM_PRINTER($target_to_build) $LLVM_ENUM_ASM_PRINTERS";
5159 if test -f ${srcdir}/lib/Target/${target_to_build}/AsmParser/Makefile ; then
5160 LLVM_ENUM_ASM_PARSERS="LLVM_ASM_PARSER($target_to_build) $LLVM_ENUM_ASM_PARSERS";
5162 if test -f ${srcdir}/lib/Target/${target_to_build}/Disassembler/Makefile ; then
5163 LLVM_ENUM_DISASSEMBLERS="LLVM_DISASSEMBLER($target_to_build) $LLVM_ENUM_DISASSEMBLERS";
5171 # Check whether --enable-cbe-printf-a was given.
5172 if test "${enable_cbe_printf_a+set}" = set; then
5173 enableval=$enable_cbe_printf_a;
5178 case "$enableval" in
5179 yes) ENABLE_CBE_PRINTF_A=1
5181 no) ENABLE_CBE_PRINTF_A=0
5183 default) ENABLE_CBE_PRINTF_A=1
5185 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-cbe-printf-a. Use \"yes\" or \"no\"" >&5
5186 echo "$as_me: error: Invalid setting for --enable-cbe-printf-a. Use \"yes\" or \"no\"" >&2;}
5187 { (exit 1); exit 1; }; } ;;
5190 cat >>confdefs.h <<_ACEOF
5191 #define ENABLE_CBE_PRINTF_A $ENABLE_CBE_PRINTF_A
5196 # Check whether --with-llvmgccdir was given.
5197 if test "${with_llvmgccdir+set}" = set; then
5198 withval=$with_llvmgccdir;
5204 default) WITH_LLVMGCCDIR=default ;;
5205 /* | [A-Za-z]:[\\/]*) WITH_LLVMGCCDIR=$withval ;;
5206 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-llvmgccdir. Provide full path" >&5
5207 echo "$as_me: error: Invalid path for --with-llvmgccdir. Provide full path" >&2;}
5208 { (exit 1); exit 1; }; } ;;
5212 # Check whether --with-llvmgcc was given.
5213 if test "${with_llvmgcc+set}" = set; then
5214 withval=$with_llvmgcc; LLVMGCC=$with_llvmgcc
5220 # Check whether --with-llvmgxx was given.
5221 if test "${with_llvmgxx+set}" = set; then
5222 withval=$with_llvmgxx; LLVMGXX=$with_llvmgxx
5227 if test -n "$LLVMGCC"; then
5228 LLVMGCCCOMMAND="$LLVMGCC"
5231 if test -n "$LLVMGXX"; then
5232 LLVMGXXCOMMAND="$LLVMGXX"
5235 if test -n "$LLVMGCC" && test -z "$LLVMGXX"; then
5236 { { echo "$as_me:$LINENO: error: Invalid llvm-g++. Use --with-llvmgxx when --with-llvmgcc is used" >&5
5237 echo "$as_me: error: Invalid llvm-g++. Use --with-llvmgxx when --with-llvmgcc is used" >&2;}
5238 { (exit 1); exit 1; }; };
5241 if test -n "$LLVMGXX" && test -z "$LLVMGCC"; then
5242 { { echo "$as_me:$LINENO: error: Invalid llvm-gcc. Use --with-llvmgcc when --with-llvmgxx is used" >&5
5243 echo "$as_me: error: Invalid llvm-gcc. Use --with-llvmgcc when --with-llvmgxx is used" >&2;}
5244 { (exit 1); exit 1; }; };
5248 # Check whether --with-clang was given.
5249 if test "${with_clang+set}" = set; then
5250 withval=$with_clang;
5257 # Check whether --with-built-clang was given.
5258 if test "${with_built_clang+set}" = set; then
5259 withval=$with_built_clang;
5261 with_built_clang=check
5265 { echo "$as_me:$LINENO: checking clang compiler" >&5
5266 echo $ECHO_N "checking clang compiler... $ECHO_C" >&6; }
5269 if test "$with_clang" != "default"; then
5270 WITH_CLANGPATH="$with_clang"
5271 if ! test -x "$WITH_CLANGPATH"; then
5272 { { echo "$as_me:$LINENO: error: invalid --with-clang, path does not specify an executable" >&5
5273 echo "$as_me: error: invalid --with-clang, path does not specify an executable" >&2;}
5274 { (exit 1); exit 1; }; }
5276 elif test "$with_built_clang" = "yes"; then
5278 elif test "$with_built_clang" = "no"; then
5281 if test "$with_built_clang" != "check"; then
5282 { { echo "$as_me:$LINENO: error: invalid value for --with-built-clang." >&5
5283 echo "$as_me: error: invalid value for --with-built-clang." >&2;}
5284 { (exit 1); exit 1; }; }
5287 if test -f ${srcdir}/tools/clang/README.txt; then
5292 if ! test -z "$WITH_CLANGPATH"; then
5293 { echo "$as_me:$LINENO: result: $WITH_CLANGPATH" >&5
5294 echo "${ECHO_T}$WITH_CLANGPATH" >&6; }
5295 WITH_CLANGXXPATH=`"$WITH_CLANGPATH" --print-prog-name=clang
++`
5296 elif test "$WITH_BUILT_CLANG" = "1"; then
5297 { echo "$as_me:$LINENO: result: built" >&5
5298 echo "${ECHO_T}built" >&6; }
5300 { echo "$as_me:$LINENO: result: none" >&5
5301 echo "${ECHO_T}none" >&6; }
5303 CLANGPATH=$WITH_CLANGPATH
5305 CLANGXXPATH=$WITH_CLANGXXPATH
5307 ENABLE_BUILT_CLANG=$WITH_BUILT_CLANG
5311 # Check whether --with-optimize-option was given.
5312 if test "${with_optimize_option+set}" = set; then
5313 withval=$with_optimize_option;
5318 { echo "$as_me:$LINENO: checking optimization flags" >&5
5319 echo $ECHO_N "checking optimization flags... $ECHO_C" >&6; }
5322 case "$llvm_cv_os_type" in
5323 FreeBSD) optimize_option=-O2 ;;
5324 MingW) optimize_option=-O2 ;;
5325 *) optimize_option=-O3 ;;
5327 *) optimize_option="$withval" ;;
5329 OPTIMIZE_OPTION=$optimize_option
5331 { echo "$as_me:$LINENO: result: $optimize_option" >&5
5332 echo "${ECHO_T}$optimize_option" >&6; }
5335 # Check whether --with-extra-options was given.
5336 if test "${with_extra_options+set}" = set; then
5337 withval=$with_extra_options;
5343 default) EXTRA_OPTIONS= ;;
5344 *) EXTRA_OPTIONS=$withval ;;
5346 EXTRA_OPTIONS=$EXTRA_OPTIONS
5349 # Check whether --enable-bindings was given.
5350 if test "${enable_bindings+set}" = set; then
5351 enableval=$enable_bindings;
5356 BINDINGS_TO_BUILD=""
5357 case "$enableval" in
5358 yes | default | auto) BINDINGS_TO_BUILD="auto" ;;
5359 all ) BINDINGS_TO_BUILD="ocaml" ;;
5360 none | no) BINDINGS_TO_BUILD="" ;;
5361 *)for a_binding in `echo $enableval|
sed -e 's/,/ /g' ` ; do
5362 case "$a_binding" in
5363 ocaml) BINDINGS_TO_BUILD="ocaml $BINDINGS_TO_BUILD" ;;
5364 *) { { echo "$as_me:$LINENO: error: Unrecognized binding $a_binding" >&5
5365 echo "$as_me: error: Unrecognized binding $a_binding" >&2;}
5366 { (exit 1); exit 1; }; } ;;
5373 # Check whether --with-ocaml-libdir was given.
5374 if test "${with_ocaml_libdir+set}" = set; then
5375 withval=$with_ocaml_libdir;
5381 auto) with_ocaml_libdir="$withval" ;;
5382 /* | [A-Za-z]:[\\/]*) with_ocaml_libdir="$withval" ;;
5383 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-ocaml-libdir. Provide full path" >&5
5384 echo "$as_me: error: Invalid path for --with-ocaml-libdir. Provide full path" >&2;}
5385 { (exit 1); exit 1; }; } ;;
5389 # Check whether --with-clang-resource-dir was given.
5390 if test "${with_clang_resource_dir+set}" = set; then
5391 withval=$with_clang_resource_dir;
5397 cat >>confdefs.h <<_ACEOF
5398 #define CLANG_RESOURCE_DIR "$withval"
5403 # Check whether --with-c-include-dirs was given.
5404 if test "${with_c_include_dirs+set}" = set; then
5405 withval=$with_c_include_dirs;
5411 cat >>confdefs.h <<_ACEOF
5412 #define C_INCLUDE_DIRS "$withval"
5417 # Check whether --with-cxx-include-root was given.
5418 if test "${with_cxx_include_root+set}" = set; then
5419 withval=$with_cxx_include_root;
5425 cat >>confdefs.h <<_ACEOF
5426 #define CXX_INCLUDE_ROOT "$withval"
5431 # Check whether --with-cxx-include-arch was given.
5432 if test "${with_cxx_include_arch+set}" = set; then
5433 withval=$with_cxx_include_arch;
5439 cat >>confdefs.h <<_ACEOF
5440 #define CXX_INCLUDE_ARCH "$withval"
5445 # Check whether --with-cxx-include-32bit-dir was given.
5446 if test "${with_cxx_include_32bit_dir+set}" = set; then
5447 withval=$with_cxx_include_32bit_dir;
5453 cat >>confdefs.h <<_ACEOF
5454 #define CXX_INCLUDE_32BIT_DIR "$withval"
5459 # Check whether --with-cxx-include-64bit-dir was given.
5460 if test "${with_cxx_include_64bit_dir+set}" = set; then
5461 withval=$with_cxx_include_64bit_dir;
5467 cat >>confdefs.h <<_ACEOF
5468 #define CXX_INCLUDE_64BIT_DIR "$withval"
5473 # Check whether --with-binutils-include was given.
5474 if test "${with_binutils_include+set}" = set; then
5475 withval=$with_binutils_include;
5481 default) WITH_BINUTILS_INCDIR=default ;;
5482 /* | [A-Za-z]:[\\/]*) WITH_BINUTILS_INCDIR=$withval ;;
5483 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-binutils-include. Provide full path" >&5
5484 echo "$as_me: error: Invalid path for --with-binutils-include. Provide full path" >&2;}
5485 { (exit 1); exit 1; }; } ;;
5487 if test "x$WITH_BINUTILS_INCDIR" != xdefault ; then
5488 BINUTILS_INCDIR=$WITH_BINUTILS_INCDIR
5490 if test ! -f "$WITH_BINUTILS_INCDIR/plugin-api.h"; then
5491 echo "$WITH_BINUTILS_INCDIR/plugin-api.h"
5492 { { echo "$as_me:$LINENO: error: Invalid path to directory containing plugin-api.h." >&5
5493 echo "$as_me: error: Invalid path to directory containing plugin-api.h." >&2;}
5494 { (exit 1); exit 1; }; };
5498 # Check whether --enable-libffi was given.
5499 if test "${enable_libffi+set}" = set; then
5500 enableval=$enable_libffi; case "$enableval" in
5501 yes) llvm_cv_enable_libffi="yes" ;;
5502 no) llvm_cv_enable_libffi="no" ;;
5503 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-libffi. Use \"yes\" or \"no\"" >&5
5504 echo "$as_me: error: Invalid setting for --enable-libffi. Use \"yes\" or \"no\"" >&2;}
5505 { (exit 1); exit 1; }; } ;;
5508 llvm_cv_enable_libffi=no
5514 ac_cpp='$CPP $CPPFLAGS'
5515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5518 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5519 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5520 # On Suns, sometimes $CPP names a directory.
5521 if test -n "$CPP" && test -d "$CPP"; then
5524 if test -z "$CPP"; then
5525 if test "${ac_cv_prog_CPP+set}" = set; then
5526 echo $ECHO_N "(cached) $ECHO_C" >&6
5528 # Double quotes because CPP needs to be expanded
5529 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5532 for ac_c_preproc_warn_flag in '' yes
5534 # Use a header file that comes with gcc, so configuring glibc
5535 # with a fresh cross-compiler works.
5536 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5537 # <limits.h> exists even on freestanding compilers.
5538 # On the NeXT, cc -E runs the code through the compiler's parser,
5539 # not just through cpp. "Syntax error" is here to catch this case.
5540 cat >conftest.$ac_ext <<_ACEOF
5543 cat confdefs.h >>conftest.$ac_ext
5544 cat >>conftest.$ac_ext <<_ACEOF
5545 /* end confdefs.h. */
5547 # include <limits.h>
5549 # include <assert.h>
5553 if { (ac_try="$ac_cpp conftest.$ac_ext"
5555 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5556 *) ac_try_echo
=$ac_try;;
5558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5559 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5561 grep -v '^ *+' conftest.er1
>conftest.err
5563 cat conftest.err
>&5
5564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5565 (exit $ac_status); } >/dev
/null
; then
5566 if test -s conftest.err
; then
5567 ac_cpp_err
=$ac_c_preproc_warn_flag
5568 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5575 if test -z "$ac_cpp_err"; then
5578 echo "$as_me: failed program was:" >&5
5579 sed 's/^/| /' conftest.
$ac_ext >&5
5581 # Broken: fails on valid input.
5585 rm -f conftest.err conftest.
$ac_ext
5587 # OK, works on sane cases. Now check whether nonexistent headers
5588 # can be detected and how.
5589 cat >conftest.
$ac_ext <<_ACEOF
5592 cat confdefs.h
>>conftest.
$ac_ext
5593 cat >>conftest.
$ac_ext <<_ACEOF
5594 /* end confdefs.h. */
5595 #include <ac_nonexistent.h>
5597 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5599 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5600 *) ac_try_echo=$ac_try;;
5602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5603 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5605 grep -v '^ *+' conftest.er1 >conftest.err
5607 cat conftest.err >&5
5608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5609 (exit $ac_status); } >/dev/null; then
5610 if test -s conftest.err; then
5611 ac_cpp_err=$ac_c_preproc_warn_flag
5612 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5619 if test -z "$ac_cpp_err"; then
5620 # Broken: success on invalid input.
5623 echo "$as_me: failed program was:" >&5
5624 sed 's/^/| /' conftest.$ac_ext >&5
5626 # Passes both tests.
5631 rm -f conftest.err conftest.$ac_ext
5634 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5635 rm -f conftest.err conftest.
$ac_ext
5636 if $ac_preproc_ok; then
5648 { echo "$as_me:$LINENO: result: $CPP" >&5
5649 echo "${ECHO_T}$CPP" >&6; }
5651 for ac_c_preproc_warn_flag
in '' yes
5653 # Use a header file that comes with gcc, so configuring glibc
5654 # with a fresh cross-compiler works.
5655 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5656 # <limits.h> exists even on freestanding compilers.
5657 # On the NeXT, cc -E runs the code through the compiler's parser,
5658 # not just through cpp. "Syntax error" is here to catch this case.
5659 cat >conftest.
$ac_ext <<_ACEOF
5662 cat confdefs.h
>>conftest.
$ac_ext
5663 cat >>conftest.
$ac_ext <<_ACEOF
5664 /* end confdefs.h. */
5666 # include <limits.h>
5668 # include <assert.h>
5672 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5674 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5675 *) ac_try_echo=$ac_try;;
5677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5678 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5680 grep -v '^ *+' conftest.er1 >conftest.err
5682 cat conftest.err >&5
5683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5684 (exit $ac_status); } >/dev/null; then
5685 if test -s conftest.err; then
5686 ac_cpp_err=$ac_c_preproc_warn_flag
5687 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5694 if test -z "$ac_cpp_err"; then
5697 echo "$as_me: failed program was:" >&5
5698 sed 's/^/| /' conftest.$ac_ext >&5
5700 # Broken: fails on valid input.
5704 rm -f conftest.err conftest.$ac_ext
5706 # OK, works on sane cases. Now check whether nonexistent headers
5707 # can be detected and how.
5708 cat >conftest.$ac_ext <<_ACEOF
5711 cat confdefs.h >>conftest.$ac_ext
5712 cat >>conftest.$ac_ext <<_ACEOF
5713 /* end confdefs.h. */
5714 #include <ac_nonexistent.h>
5716 if { (ac_try="$ac_cpp conftest.$ac_ext"
5718 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5719 *) ac_try_echo
=$ac_try;;
5721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5722 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5724 grep -v '^ *+' conftest.er1
>conftest.err
5726 cat conftest.err
>&5
5727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5728 (exit $ac_status); } >/dev
/null
; then
5729 if test -s conftest.err
; then
5730 ac_cpp_err
=$ac_c_preproc_warn_flag
5731 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5738 if test -z "$ac_cpp_err"; then
5739 # Broken: success on invalid input.
5742 echo "$as_me: failed program was:" >&5
5743 sed 's/^/| /' conftest.
$ac_ext >&5
5745 # Passes both tests.
5750 rm -f conftest.err conftest.
$ac_ext
5753 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5754 rm -f conftest.err conftest.
$ac_ext
5755 if $ac_preproc_ok; then
5758 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5759 See \`config.log' for more details." >&5
5760 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5761 See \`config.log' for more details." >&2;}
5762 { (exit 1); exit 1; }; }
5766 ac_cpp
='$CPP $CPPFLAGS'
5767 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5768 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5769 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5772 ac_cpp
='$CPP $CPPFLAGS'
5773 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5774 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5775 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5776 if test -n "$ac_tool_prefix"; then
5779 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5780 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5781 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5783 if test "${ac_cv_prog_CC+set}" = set; then
5784 echo $ECHO_N "(cached) $ECHO_C" >&6
5786 if test -n "$CC"; then
5787 ac_cv_prog_CC
="$CC" # Let the user override the test.
5789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5793 test -z "$as_dir" && as_dir
=.
5794 for ac_exec_ext
in '' $ac_executable_extensions; do
5795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5796 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5807 if test -n "$CC"; then
5808 { echo "$as_me:$LINENO: result: $CC" >&5
5809 echo "${ECHO_T}$CC" >&6; }
5811 { echo "$as_me:$LINENO: result: no" >&5
5812 echo "${ECHO_T}no" >&6; }
5816 test -n "$CC" && break
5819 if test -z "$CC"; then
5823 # Extract the first word of "$ac_prog", so it can be a program name with args.
5824 set dummy
$ac_prog; ac_word
=$2
5825 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5827 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5828 echo $ECHO_N "(cached) $ECHO_C" >&6
5830 if test -n "$ac_ct_CC"; then
5831 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5837 test -z "$as_dir" && as_dir
=.
5838 for ac_exec_ext
in '' $ac_executable_extensions; do
5839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5840 ac_cv_prog_ac_ct_CC
="$ac_prog"
5841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5850 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5851 if test -n "$ac_ct_CC"; then
5852 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5853 echo "${ECHO_T}$ac_ct_CC" >&6; }
5855 { echo "$as_me:$LINENO: result: no" >&5
5856 echo "${ECHO_T}no" >&6; }
5860 test -n "$ac_ct_CC" && break
5863 if test "x$ac_ct_CC" = x
; then
5866 case $cross_compiling:$ac_tool_warned in
5868 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5869 whose name does not start with the host triplet. If you think this
5870 configuration is useful to you, please write to autoconf@gnu.org." >&5
5871 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5872 whose name does not start with the host triplet. If you think this
5873 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5874 ac_tool_warned
=yes ;;
5881 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5882 See \`config.log' for more details." >&5
5883 echo "$as_me: error: no acceptable C compiler found in \$PATH
5884 See \`config.log' for more details." >&2;}
5885 { (exit 1); exit 1; }; }
5887 # Provide some information about the compiler.
5888 echo "$as_me:$LINENO: checking for C compiler version" >&5
5889 ac_compiler
=`set X $ac_compile; echo $2`
5890 { (ac_try
="$ac_compiler --version >&5"
5892 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5893 *) ac_try_echo=$ac_try;;
5895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5896 (eval "$ac_compiler --version >&5") 2>&5
5898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5899 (exit $ac_status); }
5900 { (ac_try="$ac_compiler -v >&5"
5902 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5903 *) ac_try_echo
=$ac_try;;
5905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5906 (eval "$ac_compiler -v >&5") 2>&5
5908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5909 (exit $ac_status); }
5910 { (ac_try
="$ac_compiler -V >&5"
5912 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5913 *) ac_try_echo=$ac_try;;
5915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5916 (eval "$ac_compiler -V >&5") 2>&5
5918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5919 (exit $ac_status); }
5921 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5922 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
5923 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5924 echo $ECHO_N "(cached) $ECHO_C" >&6
5926 cat >conftest.$ac_ext <<_ACEOF
5929 cat confdefs.h >>conftest.$ac_ext
5930 cat >>conftest.$ac_ext <<_ACEOF
5931 /* end confdefs.h. */
5944 rm -f conftest.$ac_objext
5945 if { (ac_try="$ac_compile"
5947 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5948 *) ac_try_echo
=$ac_try;;
5950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5951 (eval "$ac_compile") 2>conftest.er1
5953 grep -v '^ *+' conftest.er1
>conftest.err
5955 cat conftest.err
>&5
5956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5957 (exit $ac_status); } &&
5958 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5959 { (case "(($ac_try" in
5960 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5961 *) ac_try_echo=$ac_try;;
5963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5964 (eval "$ac_try") 2>&5
5966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5967 (exit $ac_status); }; } &&
5968 { ac_try='test -s conftest.$ac_objext'
5969 { (case "(($ac_try" in
5970 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5971 *) ac_try_echo
=$ac_try;;
5973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5974 (eval "$ac_try") 2>&5
5976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5977 (exit $ac_status); }; }; then
5980 echo "$as_me: failed program was:" >&5
5981 sed 's/^/| /' conftest.
$ac_ext >&5
5986 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5987 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
5990 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5991 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
5992 GCC
=`test $ac_compiler_gnu = yes && echo yes`
5993 ac_test_CFLAGS
=${CFLAGS+set}
5994 ac_save_CFLAGS
=$CFLAGS
5995 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5996 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
5997 if test "${ac_cv_prog_cc_g+set}" = set; then
5998 echo $ECHO_N "(cached) $ECHO_C" >&6
6000 ac_save_c_werror_flag
=$ac_c_werror_flag
6001 ac_c_werror_flag
=yes
6004 cat >conftest.
$ac_ext <<_ACEOF
6007 cat confdefs.h
>>conftest.
$ac_ext
6008 cat >>conftest.
$ac_ext <<_ACEOF
6009 /* end confdefs.h. */
6019 rm -f conftest.
$ac_objext
6020 if { (ac_try
="$ac_compile"
6022 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6023 *) ac_try_echo=$ac_try;;
6025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6026 (eval "$ac_compile") 2>conftest.er1
6028 grep -v '^ *+' conftest.er1 >conftest.err
6030 cat conftest.err >&5
6031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6032 (exit $ac_status); } &&
6033 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6034 { (case "(($ac_try" in
6035 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6036 *) ac_try_echo
=$ac_try;;
6038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6039 (eval "$ac_try") 2>&5
6041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6042 (exit $ac_status); }; } &&
6043 { ac_try
='test -s conftest.$ac_objext'
6044 { (case "(($ac_try" in
6045 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6046 *) ac_try_echo=$ac_try;;
6048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6049 (eval "$ac_try") 2>&5
6051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6052 (exit $ac_status); }; }; then
6055 echo "$as_me: failed program was:" >&5
6056 sed 's/^/| /' conftest.$ac_ext >&5
6059 cat >conftest.$ac_ext <<_ACEOF
6062 cat confdefs.h >>conftest.$ac_ext
6063 cat >>conftest.$ac_ext <<_ACEOF
6064 /* end confdefs.h. */
6074 rm -f conftest.$ac_objext
6075 if { (ac_try="$ac_compile"
6077 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6078 *) ac_try_echo
=$ac_try;;
6080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6081 (eval "$ac_compile") 2>conftest.er1
6083 grep -v '^ *+' conftest.er1
>conftest.err
6085 cat conftest.err
>&5
6086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6087 (exit $ac_status); } &&
6088 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6089 { (case "(($ac_try" in
6090 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6091 *) ac_try_echo=$ac_try;;
6093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6094 (eval "$ac_try") 2>&5
6096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6097 (exit $ac_status); }; } &&
6098 { ac_try='test -s conftest.$ac_objext'
6099 { (case "(($ac_try" in
6100 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6101 *) ac_try_echo
=$ac_try;;
6103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6104 (eval "$ac_try") 2>&5
6106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6107 (exit $ac_status); }; }; then
6110 echo "$as_me: failed program was:" >&5
6111 sed 's/^/| /' conftest.
$ac_ext >&5
6113 ac_c_werror_flag
=$ac_save_c_werror_flag
6115 cat >conftest.
$ac_ext <<_ACEOF
6118 cat confdefs.h
>>conftest.
$ac_ext
6119 cat >>conftest.
$ac_ext <<_ACEOF
6120 /* end confdefs.h. */
6130 rm -f conftest.
$ac_objext
6131 if { (ac_try
="$ac_compile"
6133 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6134 *) ac_try_echo=$ac_try;;
6136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6137 (eval "$ac_compile") 2>conftest.er1
6139 grep -v '^ *+' conftest.er1 >conftest.err
6141 cat conftest.err >&5
6142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6143 (exit $ac_status); } &&
6144 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6145 { (case "(($ac_try" in
6146 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6147 *) ac_try_echo
=$ac_try;;
6149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6150 (eval "$ac_try") 2>&5
6152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6153 (exit $ac_status); }; } &&
6154 { ac_try
='test -s conftest.$ac_objext'
6155 { (case "(($ac_try" in
6156 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6157 *) ac_try_echo=$ac_try;;
6159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6160 (eval "$ac_try") 2>&5
6162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6163 (exit $ac_status); }; }; then
6166 echo "$as_me: failed program was:" >&5
6167 sed 's/^/| /' conftest.$ac_ext >&5
6172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6179 ac_c_werror_flag=$ac_save_c_werror_flag
6181 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
6182 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
6183 if test "$ac_test_CFLAGS" = set; then
6184 CFLAGS=$ac_save_CFLAGS
6185 elif test $ac_cv_prog_cc_g = yes; then
6186 if test "$GCC" = yes; then
6192 if test "$GCC" = yes; then
6198 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
6199 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
6200 if test "${ac_cv_prog_cc_c89+set}" = set; then
6201 echo $ECHO_N "(cached) $ECHO_C" >&6
6203 ac_cv_prog_cc_c89=no
6205 cat >conftest.$ac_ext <<_ACEOF
6208 cat confdefs.h >>conftest.$ac_ext
6209 cat >>conftest.$ac_ext <<_ACEOF
6210 /* end confdefs.h. */
6213 #include <sys/types.h>
6214 #include <sys/stat.h>
6215 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6216 struct buf { int x; };
6217 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6218 static char *e (p, i)
6224 static char *f (char * (*g) (char **, int), char **p, ...)
6229 s = g (p, va_arg (v,int));
6234 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6235 function prototypes and stuff, but not '\xHH' hex character constants.
6236 These don't provoke an error unfortunately, instead are silently treated
6237 as 'x'. The following induces an error, until -std is added to get
6238 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6239 array size at least. It's necessary to write '\x00'==0 to get something
6240 that's true only with -std. */
6241 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6243 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6244 inside strings and character constants. */
6246 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6248 int test (int i, double x);
6249 struct s1 {int (*f) (int a);};
6250 struct s2 {int (*f) (double a);};
6251 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6257 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6262 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6263 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6265 CC="$ac_save_CC $ac_arg"
6266 rm -f conftest.$ac_objext
6267 if { (ac_try="$ac_compile"
6269 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6270 *) ac_try_echo
=$ac_try;;
6272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6273 (eval "$ac_compile") 2>conftest.er1
6275 grep -v '^ *+' conftest.er1
>conftest.err
6277 cat conftest.err
>&5
6278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6279 (exit $ac_status); } &&
6280 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6281 { (case "(($ac_try" in
6282 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6283 *) ac_try_echo=$ac_try;;
6285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6286 (eval "$ac_try") 2>&5
6288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6289 (exit $ac_status); }; } &&
6290 { ac_try='test -s conftest.$ac_objext'
6291 { (case "(($ac_try" in
6292 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6293 *) ac_try_echo
=$ac_try;;
6295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6296 (eval "$ac_try") 2>&5
6298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6299 (exit $ac_status); }; }; then
6300 ac_cv_prog_cc_c89
=$ac_arg
6302 echo "$as_me: failed program was:" >&5
6303 sed 's/^/| /' conftest.
$ac_ext >&5
6308 rm -f core conftest.err conftest.
$ac_objext
6309 test "x$ac_cv_prog_cc_c89" != "xno" && break
6311 rm -f conftest.
$ac_ext
6316 case "x$ac_cv_prog_cc_c89" in
6318 { echo "$as_me:$LINENO: result: none needed" >&5
6319 echo "${ECHO_T}none needed" >&6; } ;;
6321 { echo "$as_me:$LINENO: result: unsupported" >&5
6322 echo "${ECHO_T}unsupported" >&6; } ;;
6324 CC
="$CC $ac_cv_prog_cc_c89"
6325 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
6326 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
6331 ac_cpp
='$CPP $CPPFLAGS'
6332 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6333 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6334 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6337 ac_cpp
='$CXXCPP $CPPFLAGS'
6338 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6339 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6340 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6341 if test -z "$CXX"; then
6342 if test -n "$CCC"; then
6345 if test -n "$ac_tool_prefix"; then
6348 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6349 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6350 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6352 if test "${ac_cv_prog_CXX+set}" = set; then
6353 echo $ECHO_N "(cached) $ECHO_C" >&6
6355 if test -n "$CXX"; then
6356 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6362 test -z "$as_dir" && as_dir
=.
6363 for ac_exec_ext
in '' $ac_executable_extensions; do
6364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6365 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
6366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6376 if test -n "$CXX"; then
6377 { echo "$as_me:$LINENO: result: $CXX" >&5
6378 echo "${ECHO_T}$CXX" >&6; }
6380 { echo "$as_me:$LINENO: result: no" >&5
6381 echo "${ECHO_T}no" >&6; }
6385 test -n "$CXX" && break
6388 if test -z "$CXX"; then
6392 # Extract the first word of "$ac_prog", so it can be a program name with args.
6393 set dummy
$ac_prog; ac_word
=$2
6394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6396 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6397 echo $ECHO_N "(cached) $ECHO_C" >&6
6399 if test -n "$ac_ct_CXX"; then
6400 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
6402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6406 test -z "$as_dir" && as_dir
=.
6407 for ac_exec_ext
in '' $ac_executable_extensions; do
6408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6409 ac_cv_prog_ac_ct_CXX
="$ac_prog"
6410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6419 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
6420 if test -n "$ac_ct_CXX"; then
6421 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6422 echo "${ECHO_T}$ac_ct_CXX" >&6; }
6424 { echo "$as_me:$LINENO: result: no" >&5
6425 echo "${ECHO_T}no" >&6; }
6429 test -n "$ac_ct_CXX" && break
6432 if test "x$ac_ct_CXX" = x
; then
6435 case $cross_compiling:$ac_tool_warned in
6437 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6438 whose name does not start with the host triplet. If you think this
6439 configuration is useful to you, please write to autoconf@gnu.org." >&5
6440 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6441 whose name does not start with the host triplet. If you think this
6442 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6443 ac_tool_warned
=yes ;;
6451 # Provide some information about the compiler.
6452 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
6453 ac_compiler
=`set X $ac_compile; echo $2`
6454 { (ac_try
="$ac_compiler --version >&5"
6456 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6457 *) ac_try_echo=$ac_try;;
6459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6460 (eval "$ac_compiler --version >&5") 2>&5
6462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6463 (exit $ac_status); }
6464 { (ac_try="$ac_compiler -v >&5"
6466 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6467 *) ac_try_echo
=$ac_try;;
6469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6470 (eval "$ac_compiler -v >&5") 2>&5
6472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6473 (exit $ac_status); }
6474 { (ac_try
="$ac_compiler -V >&5"
6476 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6477 *) ac_try_echo=$ac_try;;
6479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6480 (eval "$ac_compiler -V >&5") 2>&5
6482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6483 (exit $ac_status); }
6485 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6486 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
6487 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6488 echo $ECHO_N "(cached) $ECHO_C" >&6
6490 cat >conftest.$ac_ext <<_ACEOF
6493 cat confdefs.h >>conftest.$ac_ext
6494 cat >>conftest.$ac_ext <<_ACEOF
6495 /* end confdefs.h. */
6508 rm -f conftest.$ac_objext
6509 if { (ac_try="$ac_compile"
6511 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6512 *) ac_try_echo
=$ac_try;;
6514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6515 (eval "$ac_compile") 2>conftest.er1
6517 grep -v '^ *+' conftest.er1
>conftest.err
6519 cat conftest.err
>&5
6520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6521 (exit $ac_status); } &&
6522 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6523 { (case "(($ac_try" in
6524 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6525 *) ac_try_echo=$ac_try;;
6527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6528 (eval "$ac_try") 2>&5
6530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6531 (exit $ac_status); }; } &&
6532 { ac_try='test -s conftest.$ac_objext'
6533 { (case "(($ac_try" in
6534 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6535 *) ac_try_echo
=$ac_try;;
6537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6538 (eval "$ac_try") 2>&5
6540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6541 (exit $ac_status); }; }; then
6544 echo "$as_me: failed program was:" >&5
6545 sed 's/^/| /' conftest.
$ac_ext >&5
6550 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6551 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
6554 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6555 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
6556 GXX
=`test $ac_compiler_gnu = yes && echo yes`
6557 ac_test_CXXFLAGS
=${CXXFLAGS+set}
6558 ac_save_CXXFLAGS
=$CXXFLAGS
6559 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6560 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
6561 if test "${ac_cv_prog_cxx_g+set}" = set; then
6562 echo $ECHO_N "(cached) $ECHO_C" >&6
6564 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
6565 ac_cxx_werror_flag
=yes
6568 cat >conftest.
$ac_ext <<_ACEOF
6571 cat confdefs.h
>>conftest.
$ac_ext
6572 cat >>conftest.
$ac_ext <<_ACEOF
6573 /* end confdefs.h. */
6583 rm -f conftest.
$ac_objext
6584 if { (ac_try
="$ac_compile"
6586 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6587 *) ac_try_echo=$ac_try;;
6589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6590 (eval "$ac_compile") 2>conftest.er1
6592 grep -v '^ *+' conftest.er1 >conftest.err
6594 cat conftest.err >&5
6595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6596 (exit $ac_status); } &&
6597 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6598 { (case "(($ac_try" in
6599 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6600 *) ac_try_echo
=$ac_try;;
6602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6603 (eval "$ac_try") 2>&5
6605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6606 (exit $ac_status); }; } &&
6607 { ac_try
='test -s conftest.$ac_objext'
6608 { (case "(($ac_try" in
6609 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6610 *) ac_try_echo=$ac_try;;
6612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6613 (eval "$ac_try") 2>&5
6615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6616 (exit $ac_status); }; }; then
6617 ac_cv_prog_cxx_g=yes
6619 echo "$as_me: failed program was:" >&5
6620 sed 's/^/| /' conftest.$ac_ext >&5
6623 cat >conftest.$ac_ext <<_ACEOF
6626 cat confdefs.h >>conftest.$ac_ext
6627 cat >>conftest.$ac_ext <<_ACEOF
6628 /* end confdefs.h. */
6638 rm -f conftest.$ac_objext
6639 if { (ac_try="$ac_compile"
6641 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6642 *) ac_try_echo
=$ac_try;;
6644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6645 (eval "$ac_compile") 2>conftest.er1
6647 grep -v '^ *+' conftest.er1
>conftest.err
6649 cat conftest.err
>&5
6650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6651 (exit $ac_status); } &&
6652 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6653 { (case "(($ac_try" in
6654 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6655 *) ac_try_echo=$ac_try;;
6657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6658 (eval "$ac_try") 2>&5
6660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6661 (exit $ac_status); }; } &&
6662 { ac_try='test -s conftest.$ac_objext'
6663 { (case "(($ac_try" in
6664 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6665 *) ac_try_echo
=$ac_try;;
6667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6668 (eval "$ac_try") 2>&5
6670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6671 (exit $ac_status); }; }; then
6674 echo "$as_me: failed program was:" >&5
6675 sed 's/^/| /' conftest.
$ac_ext >&5
6677 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
6679 cat >conftest.
$ac_ext <<_ACEOF
6682 cat confdefs.h
>>conftest.
$ac_ext
6683 cat >>conftest.
$ac_ext <<_ACEOF
6684 /* end confdefs.h. */
6694 rm -f conftest.
$ac_objext
6695 if { (ac_try
="$ac_compile"
6697 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6698 *) ac_try_echo=$ac_try;;
6700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6701 (eval "$ac_compile") 2>conftest.er1
6703 grep -v '^ *+' conftest.er1 >conftest.err
6705 cat conftest.err >&5
6706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6707 (exit $ac_status); } &&
6708 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6709 { (case "(($ac_try" in
6710 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6711 *) ac_try_echo
=$ac_try;;
6713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6714 (eval "$ac_try") 2>&5
6716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6717 (exit $ac_status); }; } &&
6718 { ac_try
='test -s conftest.$ac_objext'
6719 { (case "(($ac_try" in
6720 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6721 *) ac_try_echo=$ac_try;;
6723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6724 (eval "$ac_try") 2>&5
6726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6727 (exit $ac_status); }; }; then
6728 ac_cv_prog_cxx_g=yes
6730 echo "$as_me: failed program was:" >&5
6731 sed 's/^/| /' conftest.$ac_ext >&5
6736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6743 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6745 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6746 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
6747 if test "$ac_test_CXXFLAGS" = set; then
6748 CXXFLAGS=$ac_save_CXXFLAGS
6749 elif test $ac_cv_prog_cxx_g = yes; then
6750 if test "$GXX" = yes; then
6756 if test "$GXX" = yes; then
6763 ac_cpp='$CPP $CPPFLAGS'
6764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6769 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
6770 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
6771 if test "${lt_cv_path_NM+set}" = set; then
6772 echo $ECHO_N "(cached) $ECHO_C" >&6
6774 if test -n "$NM"; then
6775 # Let the user override the test.
6778 lt_nm_to_check="${ac_tool_prefix}nm"
6779 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6780 lt_nm_to_check="$lt_nm_to_check nm"
6782 for lt_tmp_nm in $lt_nm_to_check; do
6783 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6784 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6786 test -z "$ac_dir" && ac_dir=.
6787 tmp_nm="$ac_dir/$lt_tmp_nm"
6788 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6789 # Check to see if the nm accepts a BSD-compat flag.
6790 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
6791 # nm: unknown option "B" ignored
6792 # Tru64's nm complains that
/dev
/null is an invalid object
file
6793 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6794 */dev
/null
* |
*'Invalid file or object type'*)
6795 lt_cv_path_NM
="$tmp_nm -B"
6799 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6801 lt_cv_path_NM
="$tmp_nm -p"
6805 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6806 continue # so that we can try to find one that supports BSD flags
6815 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
6818 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6819 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
6824 { echo "$as_me:$LINENO: checking for GNU make" >&5
6825 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6; }
6826 if test "${llvm_cv_gnu_make_command+set}" = set; then
6827 echo $ECHO_N "(cached) $ECHO_C" >&6
6829 llvm_cv_gnu_make_command
=''
6830 for a
in "$MAKE" make gmake gnumake
; do
6831 if test -z "$a" ; then continue ; fi ;
6832 if ( sh
-c "$a --version" 2> /dev
/null |
grep GNU
2>&1 > /dev
/null
)
6834 llvm_cv_gnu_make_command
=$a ;
6839 { echo "$as_me:$LINENO: result: $llvm_cv_gnu_make_command" >&5
6840 echo "${ECHO_T}$llvm_cv_gnu_make_command" >&6; }
6841 if test "x$llvm_cv_gnu_make_command" != "x" ; then
6845 { echo "$as_me:$LINENO: result: \"Not found\"" >&5
6846 echo "${ECHO_T}\"Not found\"" >&6; };
6850 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6851 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6853 if test "$LN_S" = "ln -s"; then
6854 { echo "$as_me:$LINENO: result: yes" >&5
6855 echo "${ECHO_T}yes" >&6; }
6857 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6858 echo "${ECHO_T}no, using $LN_S" >&6; }
6861 # Extract the first word of "cmp", so it can be a program name with args.
6862 set dummy
cmp; ac_word
=$2
6863 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6865 if test "${ac_cv_path_CMP+set}" = set; then
6866 echo $ECHO_N "(cached) $ECHO_C" >&6
6870 ac_cv_path_CMP
="$CMP" # Let the user override the test with a path.
6873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6877 test -z "$as_dir" && as_dir
=.
6878 for ac_exec_ext
in '' $ac_executable_extensions; do
6879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6880 ac_cv_path_CMP
="$as_dir/$ac_word$ac_exec_ext"
6881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6888 test -z "$ac_cv_path_CMP" && ac_cv_path_CMP
="cmp"
6893 if test -n "$CMP"; then
6894 { echo "$as_me:$LINENO: result: $CMP" >&5
6895 echo "${ECHO_T}$CMP" >&6; }
6897 { echo "$as_me:$LINENO: result: no" >&5
6898 echo "${ECHO_T}no" >&6; }
6902 # Extract the first word of "cp", so it can be a program name with args.
6903 set dummy
cp; ac_word
=$2
6904 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6906 if test "${ac_cv_path_CP+set}" = set; then
6907 echo $ECHO_N "(cached) $ECHO_C" >&6
6911 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
6914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6918 test -z "$as_dir" && as_dir
=.
6919 for ac_exec_ext
in '' $ac_executable_extensions; do
6920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6921 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
6922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6929 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
6934 if test -n "$CP"; then
6935 { echo "$as_me:$LINENO: result: $CP" >&5
6936 echo "${ECHO_T}$CP" >&6; }
6938 { echo "$as_me:$LINENO: result: no" >&5
6939 echo "${ECHO_T}no" >&6; }
6943 # Extract the first word of "date", so it can be a program name with args.
6944 set dummy
date; ac_word
=$2
6945 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6947 if test "${ac_cv_path_DATE+set}" = set; then
6948 echo $ECHO_N "(cached) $ECHO_C" >&6
6952 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
6955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6959 test -z "$as_dir" && as_dir
=.
6960 for ac_exec_ext
in '' $ac_executable_extensions; do
6961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6962 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
6963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6970 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE
="date"
6974 DATE
=$ac_cv_path_DATE
6975 if test -n "$DATE"; then
6976 { echo "$as_me:$LINENO: result: $DATE" >&5
6977 echo "${ECHO_T}$DATE" >&6; }
6979 { echo "$as_me:$LINENO: result: no" >&5
6980 echo "${ECHO_T}no" >&6; }
6984 # Extract the first word of "find", so it can be a program name with args.
6985 set dummy
find; ac_word
=$2
6986 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6988 if test "${ac_cv_path_FIND+set}" = set; then
6989 echo $ECHO_N "(cached) $ECHO_C" >&6
6993 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
6996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7000 test -z "$as_dir" && as_dir
=.
7001 for ac_exec_ext
in '' $ac_executable_extensions; do
7002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7003 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
7004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7011 test -z "$ac_cv_path_FIND" && ac_cv_path_FIND
="find"
7015 FIND
=$ac_cv_path_FIND
7016 if test -n "$FIND"; then
7017 { echo "$as_me:$LINENO: result: $FIND" >&5
7018 echo "${ECHO_T}$FIND" >&6; }
7020 { echo "$as_me:$LINENO: result: no" >&5
7021 echo "${ECHO_T}no" >&6; }
7025 # Extract the first word of "grep", so it can be a program name with args.
7026 set dummy
grep; ac_word
=$2
7027 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7029 if test "${ac_cv_path_GREP+set}" = set; then
7030 echo $ECHO_N "(cached) $ECHO_C" >&6
7034 ac_cv_path_GREP
="$GREP" # Let the user override the test with a path.
7037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7041 test -z "$as_dir" && as_dir
=.
7042 for ac_exec_ext
in '' $ac_executable_extensions; do
7043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7044 ac_cv_path_GREP
="$as_dir/$ac_word$ac_exec_ext"
7045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7052 test -z "$ac_cv_path_GREP" && ac_cv_path_GREP
="grep"
7056 GREP
=$ac_cv_path_GREP
7057 if test -n "$GREP"; then
7058 { echo "$as_me:$LINENO: result: $GREP" >&5
7059 echo "${ECHO_T}$GREP" >&6; }
7061 { echo "$as_me:$LINENO: result: no" >&5
7062 echo "${ECHO_T}no" >&6; }
7066 # Extract the first word of "mkdir", so it can be a program name with args.
7067 set dummy mkdir
; ac_word
=$2
7068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7070 if test "${ac_cv_path_MKDIR+set}" = set; then
7071 echo $ECHO_N "(cached) $ECHO_C" >&6
7075 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
7078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7082 test -z "$as_dir" && as_dir
=.
7083 for ac_exec_ext
in '' $ac_executable_extensions; do
7084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7085 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
7086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7093 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR
="mkdir"
7097 MKDIR
=$ac_cv_path_MKDIR
7098 if test -n "$MKDIR"; then
7099 { echo "$as_me:$LINENO: result: $MKDIR" >&5
7100 echo "${ECHO_T}$MKDIR" >&6; }
7102 { echo "$as_me:$LINENO: result: no" >&5
7103 echo "${ECHO_T}no" >&6; }
7107 # Extract the first word of "mv", so it can be a program name with args.
7108 set dummy
mv; 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_MV+set}" = set; then
7112 echo $ECHO_N "(cached) $ECHO_C" >&6
7116 ac_cv_path_MV
="$MV" # 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_MV
="$as_dir/$ac_word$ac_exec_ext"
7127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7134 test -z "$ac_cv_path_MV" && ac_cv_path_MV
="mv"
7139 if test -n "$MV"; then
7140 { echo "$as_me:$LINENO: result: $MV" >&5
7141 echo "${ECHO_T}$MV" >&6; }
7143 { echo "$as_me:$LINENO: result: no" >&5
7144 echo "${ECHO_T}no" >&6; }
7148 if test -n "$ac_tool_prefix"; then
7149 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7150 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7151 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7153 if test "${ac_cv_prog_RANLIB+set}" = set; then
7154 echo $ECHO_N "(cached) $ECHO_C" >&6
7156 if test -n "$RANLIB"; then
7157 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
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_prog_RANLIB
="${ac_tool_prefix}ranlib"
7167 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7176 RANLIB
=$ac_cv_prog_RANLIB
7177 if test -n "$RANLIB"; then
7178 { echo "$as_me:$LINENO: result: $RANLIB" >&5
7179 echo "${ECHO_T}$RANLIB" >&6; }
7181 { echo "$as_me:$LINENO: result: no" >&5
7182 echo "${ECHO_T}no" >&6; }
7187 if test -z "$ac_cv_prog_RANLIB"; then
7188 ac_ct_RANLIB
=$RANLIB
7189 # Extract the first word of "ranlib", so it can be a program name with args.
7190 set dummy ranlib
; ac_word
=$2
7191 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7193 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7194 echo $ECHO_N "(cached) $ECHO_C" >&6
7196 if test -n "$ac_ct_RANLIB"; then
7197 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
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_prog_ac_ct_RANLIB
="ranlib"
7207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7216 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7217 if test -n "$ac_ct_RANLIB"; then
7218 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7219 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7221 { echo "$as_me:$LINENO: result: no" >&5
7222 echo "${ECHO_T}no" >&6; }
7225 if test "x$ac_ct_RANLIB" = x
; then
7228 case $cross_compiling:$ac_tool_warned in
7230 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7231 whose name does not start with the host triplet. If you think this
7232 configuration is useful to you, please write to autoconf@gnu.org." >&5
7233 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7234 whose name does not start with the host triplet. If you think this
7235 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7236 ac_tool_warned
=yes ;;
7238 RANLIB
=$ac_ct_RANLIB
7241 RANLIB
="$ac_cv_prog_RANLIB"
7244 if test -n "$ac_tool_prefix"; then
7245 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7246 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7247 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7249 if test "${ac_cv_prog_AR+set}" = set; then
7250 echo $ECHO_N "(cached) $ECHO_C" >&6
7252 if test -n "$AR"; then
7253 ac_cv_prog_AR
="$AR" # Let the user override the test.
7255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7259 test -z "$as_dir" && as_dir
=.
7260 for ac_exec_ext
in '' $ac_executable_extensions; do
7261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7262 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7273 if test -n "$AR"; then
7274 { echo "$as_me:$LINENO: result: $AR" >&5
7275 echo "${ECHO_T}$AR" >&6; }
7277 { echo "$as_me:$LINENO: result: no" >&5
7278 echo "${ECHO_T}no" >&6; }
7283 if test -z "$ac_cv_prog_AR"; then
7285 # Extract the first word of "ar", so it can be a program name with args.
7286 set dummy
ar; ac_word
=$2
7287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7289 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7290 echo $ECHO_N "(cached) $ECHO_C" >&6
7292 if test -n "$ac_ct_AR"; then
7293 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7299 test -z "$as_dir" && as_dir
=.
7300 for ac_exec_ext
in '' $ac_executable_extensions; do
7301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7302 ac_cv_prog_ac_ct_AR
="ar"
7303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7312 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7313 if test -n "$ac_ct_AR"; then
7314 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7315 echo "${ECHO_T}$ac_ct_AR" >&6; }
7317 { echo "$as_me:$LINENO: result: no" >&5
7318 echo "${ECHO_T}no" >&6; }
7321 if test "x$ac_ct_AR" = x
; then
7324 case $cross_compiling:$ac_tool_warned in
7326 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7327 whose name does not start with the host triplet. If you think this
7328 configuration is useful to you, please write to autoconf@gnu.org." >&5
7329 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7330 whose name does not start with the host triplet. If you think this
7331 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7332 ac_tool_warned
=yes ;;
7340 # Extract the first word of "rm", so it can be a program name with args.
7341 set dummy
rm; ac_word
=$2
7342 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7344 if test "${ac_cv_path_RM+set}" = set; then
7345 echo $ECHO_N "(cached) $ECHO_C" >&6
7349 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
7352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7356 test -z "$as_dir" && as_dir
=.
7357 for ac_exec_ext
in '' $ac_executable_extensions; do
7358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7359 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
7360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7367 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
7372 if test -n "$RM"; then
7373 { echo "$as_me:$LINENO: result: $RM" >&5
7374 echo "${ECHO_T}$RM" >&6; }
7376 { echo "$as_me:$LINENO: result: no" >&5
7377 echo "${ECHO_T}no" >&6; }
7381 # Extract the first word of "sed", so it can be a program name with args.
7382 set dummy
sed; ac_word
=$2
7383 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7385 if test "${ac_cv_path_SED+set}" = set; then
7386 echo $ECHO_N "(cached) $ECHO_C" >&6
7390 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
7393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7397 test -z "$as_dir" && as_dir
=.
7398 for ac_exec_ext
in '' $ac_executable_extensions; do
7399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7400 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
7401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7408 test -z "$ac_cv_path_SED" && ac_cv_path_SED
="sed"
7413 if test -n "$SED"; then
7414 { echo "$as_me:$LINENO: result: $SED" >&5
7415 echo "${ECHO_T}$SED" >&6; }
7417 { echo "$as_me:$LINENO: result: no" >&5
7418 echo "${ECHO_T}no" >&6; }
7422 # Extract the first word of "tar", so it can be a program name with args.
7423 set dummy
tar; ac_word
=$2
7424 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7426 if test "${ac_cv_path_TAR+set}" = set; then
7427 echo $ECHO_N "(cached) $ECHO_C" >&6
7431 ac_cv_path_TAR
="$TAR" # Let the user override the test with a path.
7434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7438 test -z "$as_dir" && as_dir
=.
7439 for ac_exec_ext
in '' $ac_executable_extensions; do
7440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7441 ac_cv_path_TAR
="$as_dir/$ac_word$ac_exec_ext"
7442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7449 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR
="gtar"
7454 if test -n "$TAR"; then
7455 { echo "$as_me:$LINENO: result: $TAR" >&5
7456 echo "${ECHO_T}$TAR" >&6; }
7458 { echo "$as_me:$LINENO: result: no" >&5
7459 echo "${ECHO_T}no" >&6; }
7463 # Extract the first word of "pwd", so it can be a program name with args.
7464 set dummy
pwd; ac_word
=$2
7465 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7467 if test "${ac_cv_path_BINPWD+set}" = set; then
7468 echo $ECHO_N "(cached) $ECHO_C" >&6
7472 ac_cv_path_BINPWD
="$BINPWD" # Let the user override the test with a path.
7475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7479 test -z "$as_dir" && as_dir
=.
7480 for ac_exec_ext
in '' $ac_executable_extensions; do
7481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7482 ac_cv_path_BINPWD
="$as_dir/$ac_word$ac_exec_ext"
7483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7490 test -z "$ac_cv_path_BINPWD" && ac_cv_path_BINPWD
="pwd"
7494 BINPWD
=$ac_cv_path_BINPWD
7495 if test -n "$BINPWD"; then
7496 { echo "$as_me:$LINENO: result: $BINPWD" >&5
7497 echo "${ECHO_T}$BINPWD" >&6; }
7499 { echo "$as_me:$LINENO: result: no" >&5
7500 echo "${ECHO_T}no" >&6; }
7505 # Extract the first word of "Graphviz", so it can be a program name with args.
7506 set dummy Graphviz
; ac_word
=$2
7507 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7509 if test "${ac_cv_path_GRAPHVIZ+set}" = set; then
7510 echo $ECHO_N "(cached) $ECHO_C" >&6
7514 ac_cv_path_GRAPHVIZ
="$GRAPHVIZ" # Let the user override the test with a path.
7517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7521 test -z "$as_dir" && as_dir
=.
7522 for ac_exec_ext
in '' $ac_executable_extensions; do
7523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7524 ac_cv_path_GRAPHVIZ
="$as_dir/$ac_word$ac_exec_ext"
7525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7532 test -z "$ac_cv_path_GRAPHVIZ" && ac_cv_path_GRAPHVIZ
="echo Graphviz"
7536 GRAPHVIZ
=$ac_cv_path_GRAPHVIZ
7537 if test -n "$GRAPHVIZ"; then
7538 { echo "$as_me:$LINENO: result: $GRAPHVIZ" >&5
7539 echo "${ECHO_T}$GRAPHVIZ" >&6; }
7541 { echo "$as_me:$LINENO: result: no" >&5
7542 echo "${ECHO_T}no" >&6; }
7546 if test "$GRAPHVIZ" != "echo Graphviz" ; then
7548 cat >>confdefs.h
<<\_ACEOF
7549 #define HAVE_GRAPHVIZ 1
7552 if test "$llvm_cv_os_type" = "MingW" ; then
7553 GRAPHVIZ
=`echo $GRAPHVIZ | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7556 cat >>confdefs.h
<<_ACEOF
7557 #define LLVM_PATH_GRAPHVIZ "$GRAPHVIZ${EXEEXT}"
7561 # Extract the first word of "dot", so it can be a program name with args.
7562 set dummy dot
; ac_word
=$2
7563 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7565 if test "${ac_cv_path_DOT+set}" = set; then
7566 echo $ECHO_N "(cached) $ECHO_C" >&6
7570 ac_cv_path_DOT
="$DOT" # Let the user override the test with a path.
7573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7577 test -z "$as_dir" && as_dir
=.
7578 for ac_exec_ext
in '' $ac_executable_extensions; do
7579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7580 ac_cv_path_DOT
="$as_dir/$ac_word$ac_exec_ext"
7581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7588 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT
="echo dot"
7593 if test -n "$DOT"; then
7594 { echo "$as_me:$LINENO: result: $DOT" >&5
7595 echo "${ECHO_T}$DOT" >&6; }
7597 { echo "$as_me:$LINENO: result: no" >&5
7598 echo "${ECHO_T}no" >&6; }
7602 if test "$DOT" != "echo dot" ; then
7604 cat >>confdefs.h
<<\_ACEOF
7608 if test "$llvm_cv_os_type" = "MingW" ; then
7609 DOT
=`echo $DOT | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7612 cat >>confdefs.h
<<_ACEOF
7613 #define LLVM_PATH_DOT "$DOT${EXEEXT}"
7617 # Extract the first word of "fdp", so it can be a program name with args.
7618 set dummy fdp
; ac_word
=$2
7619 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7621 if test "${ac_cv_path_FDP+set}" = set; then
7622 echo $ECHO_N "(cached) $ECHO_C" >&6
7626 ac_cv_path_FDP
="$FDP" # Let the user override the test with a path.
7629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7633 test -z "$as_dir" && as_dir
=.
7634 for ac_exec_ext
in '' $ac_executable_extensions; do
7635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7636 ac_cv_path_FDP
="$as_dir/$ac_word$ac_exec_ext"
7637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7644 test -z "$ac_cv_path_FDP" && ac_cv_path_FDP
="echo fdp"
7649 if test -n "$FDP"; then
7650 { echo "$as_me:$LINENO: result: $FDP" >&5
7651 echo "${ECHO_T}$FDP" >&6; }
7653 { echo "$as_me:$LINENO: result: no" >&5
7654 echo "${ECHO_T}no" >&6; }
7658 if test "$FDP" != "echo fdp" ; then
7660 cat >>confdefs.h
<<\_ACEOF
7664 if test "$llvm_cv_os_type" = "MingW" ; then
7665 FDP
=`echo $FDP | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7668 cat >>confdefs.h
<<_ACEOF
7669 #define LLVM_PATH_FDP "$FDP${EXEEXT}"
7673 # Extract the first word of "neato", so it can be a program name with args.
7674 set dummy neato
; ac_word
=$2
7675 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7677 if test "${ac_cv_path_NEATO+set}" = set; then
7678 echo $ECHO_N "(cached) $ECHO_C" >&6
7682 ac_cv_path_NEATO
="$NEATO" # Let the user override the test with a path.
7685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7689 test -z "$as_dir" && as_dir
=.
7690 for ac_exec_ext
in '' $ac_executable_extensions; do
7691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7692 ac_cv_path_NEATO
="$as_dir/$ac_word$ac_exec_ext"
7693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7700 test -z "$ac_cv_path_NEATO" && ac_cv_path_NEATO
="echo neato"
7704 NEATO
=$ac_cv_path_NEATO
7705 if test -n "$NEATO"; then
7706 { echo "$as_me:$LINENO: result: $NEATO" >&5
7707 echo "${ECHO_T}$NEATO" >&6; }
7709 { echo "$as_me:$LINENO: result: no" >&5
7710 echo "${ECHO_T}no" >&6; }
7714 if test "$NEATO" != "echo neato" ; then
7716 cat >>confdefs.h
<<\_ACEOF
7717 #define HAVE_NEATO 1
7720 if test "$llvm_cv_os_type" = "MingW" ; then
7721 NEATO
=`echo $NEATO | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7724 cat >>confdefs.h
<<_ACEOF
7725 #define LLVM_PATH_NEATO "$NEATO${EXEEXT}"
7729 # Extract the first word of "twopi", so it can be a program name with args.
7730 set dummy twopi
; ac_word
=$2
7731 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7733 if test "${ac_cv_path_TWOPI+set}" = set; then
7734 echo $ECHO_N "(cached) $ECHO_C" >&6
7738 ac_cv_path_TWOPI
="$TWOPI" # Let the user override the test with a path.
7741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7745 test -z "$as_dir" && as_dir
=.
7746 for ac_exec_ext
in '' $ac_executable_extensions; do
7747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7748 ac_cv_path_TWOPI
="$as_dir/$ac_word$ac_exec_ext"
7749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7756 test -z "$ac_cv_path_TWOPI" && ac_cv_path_TWOPI
="echo twopi"
7760 TWOPI
=$ac_cv_path_TWOPI
7761 if test -n "$TWOPI"; then
7762 { echo "$as_me:$LINENO: result: $TWOPI" >&5
7763 echo "${ECHO_T}$TWOPI" >&6; }
7765 { echo "$as_me:$LINENO: result: no" >&5
7766 echo "${ECHO_T}no" >&6; }
7770 if test "$TWOPI" != "echo twopi" ; then
7772 cat >>confdefs.h
<<\_ACEOF
7773 #define HAVE_TWOPI 1
7776 if test "$llvm_cv_os_type" = "MingW" ; then
7777 TWOPI
=`echo $TWOPI | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7780 cat >>confdefs.h
<<_ACEOF
7781 #define LLVM_PATH_TWOPI "$TWOPI${EXEEXT}"
7785 # Extract the first word of "circo", so it can be a program name with args.
7786 set dummy circo
; ac_word
=$2
7787 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7789 if test "${ac_cv_path_CIRCO+set}" = set; then
7790 echo $ECHO_N "(cached) $ECHO_C" >&6
7794 ac_cv_path_CIRCO
="$CIRCO" # Let the user override the test with a path.
7797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7801 test -z "$as_dir" && as_dir
=.
7802 for ac_exec_ext
in '' $ac_executable_extensions; do
7803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7804 ac_cv_path_CIRCO
="$as_dir/$ac_word$ac_exec_ext"
7805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7812 test -z "$ac_cv_path_CIRCO" && ac_cv_path_CIRCO
="echo circo"
7816 CIRCO
=$ac_cv_path_CIRCO
7817 if test -n "$CIRCO"; then
7818 { echo "$as_me:$LINENO: result: $CIRCO" >&5
7819 echo "${ECHO_T}$CIRCO" >&6; }
7821 { echo "$as_me:$LINENO: result: no" >&5
7822 echo "${ECHO_T}no" >&6; }
7826 if test "$CIRCO" != "echo circo" ; then
7828 cat >>confdefs.h
<<\_ACEOF
7829 #define HAVE_CIRCO 1
7832 if test "$llvm_cv_os_type" = "MingW" ; then
7833 CIRCO
=`echo $CIRCO | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7836 cat >>confdefs.h
<<_ACEOF
7837 #define LLVM_PATH_CIRCO "$CIRCO${EXEEXT}"
7841 for ac_prog
in gv gsview32
7843 # Extract the first word of "$ac_prog", so it can be a program name with args.
7844 set dummy
$ac_prog; ac_word
=$2
7845 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7847 if test "${ac_cv_path_GV+set}" = set; then
7848 echo $ECHO_N "(cached) $ECHO_C" >&6
7852 ac_cv_path_GV
="$GV" # Let the user override the test with a path.
7855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7859 test -z "$as_dir" && as_dir
=.
7860 for ac_exec_ext
in '' $ac_executable_extensions; do
7861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7862 ac_cv_path_GV
="$as_dir/$ac_word$ac_exec_ext"
7863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7874 if test -n "$GV"; then
7875 { echo "$as_me:$LINENO: result: $GV" >&5
7876 echo "${ECHO_T}$GV" >&6; }
7878 { echo "$as_me:$LINENO: result: no" >&5
7879 echo "${ECHO_T}no" >&6; }
7883 test -n "$GV" && break
7885 test -n "$GV" || GV
="echo gv"
7887 if test "$GV" != "echo gv" ; then
7889 cat >>confdefs.h
<<\_ACEOF
7893 if test "$llvm_cv_os_type" = "MingW" ; then
7894 GV
=`echo $GV | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7897 cat >>confdefs.h
<<_ACEOF
7898 #define LLVM_PATH_GV "$GV${EXEEXT}"
7902 # Extract the first word of "dotty", so it can be a program name with args.
7903 set dummy dotty
; ac_word
=$2
7904 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7906 if test "${ac_cv_path_DOTTY+set}" = set; then
7907 echo $ECHO_N "(cached) $ECHO_C" >&6
7911 ac_cv_path_DOTTY
="$DOTTY" # Let the user override the test with a path.
7914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7918 test -z "$as_dir" && as_dir
=.
7919 for ac_exec_ext
in '' $ac_executable_extensions; do
7920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7921 ac_cv_path_DOTTY
="$as_dir/$ac_word$ac_exec_ext"
7922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7929 test -z "$ac_cv_path_DOTTY" && ac_cv_path_DOTTY
="echo dotty"
7933 DOTTY
=$ac_cv_path_DOTTY
7934 if test -n "$DOTTY"; then
7935 { echo "$as_me:$LINENO: result: $DOTTY" >&5
7936 echo "${ECHO_T}$DOTTY" >&6; }
7938 { echo "$as_me:$LINENO: result: no" >&5
7939 echo "${ECHO_T}no" >&6; }
7943 if test "$DOTTY" != "echo dotty" ; then
7945 cat >>confdefs.h
<<\_ACEOF
7946 #define HAVE_DOTTY 1
7949 if test "$llvm_cv_os_type" = "MingW" ; then
7950 DOTTY
=`echo $DOTTY | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7953 cat >>confdefs.h
<<_ACEOF
7954 #define LLVM_PATH_DOTTY "$DOTTY${EXEEXT}"
7958 # Extract the first word of "xdot.py", so it can be a program name with args.
7959 set dummy xdot.py
; ac_word
=$2
7960 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7962 if test "${ac_cv_path_XDOT_PY+set}" = set; then
7963 echo $ECHO_N "(cached) $ECHO_C" >&6
7967 ac_cv_path_XDOT_PY
="$XDOT_PY" # Let the user override the test with a path.
7970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7974 test -z "$as_dir" && as_dir
=.
7975 for ac_exec_ext
in '' $ac_executable_extensions; do
7976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7977 ac_cv_path_XDOT_PY
="$as_dir/$ac_word$ac_exec_ext"
7978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7985 test -z "$ac_cv_path_XDOT_PY" && ac_cv_path_XDOT_PY
="echo xdot.py"
7989 XDOT_PY
=$ac_cv_path_XDOT_PY
7990 if test -n "$XDOT_PY"; then
7991 { echo "$as_me:$LINENO: result: $XDOT_PY" >&5
7992 echo "${ECHO_T}$XDOT_PY" >&6; }
7994 { echo "$as_me:$LINENO: result: no" >&5
7995 echo "${ECHO_T}no" >&6; }
7999 if test "$XDOT_PY" != "echo xdot.py" ; then
8001 cat >>confdefs.h
<<\_ACEOF
8002 #define HAVE_XDOT_PY 1
8005 if test "$llvm_cv_os_type" = "MingW" ; then
8006 XDOT_PY
=`echo $XDOT_PY | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
8009 cat >>confdefs.h
<<_ACEOF
8010 #define LLVM_PATH_XDOT_PY "$XDOT_PY${EXEEXT}"
8016 # Extract the first word of "perl", so it can be a program name with args.
8017 set dummy perl
; ac_word
=$2
8018 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8020 if test "${ac_cv_path_PERL+set}" = set; then
8021 echo $ECHO_N "(cached) $ECHO_C" >&6
8025 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
8028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8032 test -z "$as_dir" && as_dir
=.
8033 for ac_exec_ext
in '' $ac_executable_extensions; do
8034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8035 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
8036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8043 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="none"
8047 PERL
=$ac_cv_path_PERL
8048 if test -n "$PERL"; then
8049 { echo "$as_me:$LINENO: result: $PERL" >&5
8050 echo "${ECHO_T}$PERL" >&6; }
8052 { echo "$as_me:$LINENO: result: no" >&5
8053 echo "${ECHO_T}no" >&6; }
8057 if test "$PERL" != "none"; then
8058 { echo "$as_me:$LINENO: checking for Perl 5.006 or newer" >&5
8059 echo $ECHO_N "checking for Perl 5.006 or newer... $ECHO_C" >&6; }
8060 if $PERL -e 'use 5.006;' 2>&1 > /dev
/null
; then
8061 { echo "$as_me:$LINENO: result: yes" >&5
8062 echo "${ECHO_T}yes" >&6; }
8065 { echo "$as_me:$LINENO: result: not found" >&5
8066 echo "${ECHO_T}not found" >&6; }
8071 if test x
"$PERL" = xnone
; then
8074 { { echo "$as_me:$LINENO: error: perl is required but was not found, please install it" >&5
8075 echo "$as_me: error: perl is required but was not found, please install it" >&2;}
8076 { (exit 1); exit 1; }; }
8082 # Find a good install program. We prefer a C program (faster),
8083 # so one script is as good as another. But avoid the broken or
8084 # incompatible versions:
8085 # SysV /etc/install, /usr/sbin/install
8086 # SunOS /usr/etc/install
8087 # IRIX /sbin/install
8089 # AmigaOS /C/install, which installs bootblocks on floppy discs
8090 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8091 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8092 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8093 # OS/2's system install, which has a completely different semantic
8094 # ./install, which can be erroneously created by make from ./install.sh.
8095 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
8096 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
8097 if test -z "$INSTALL"; then
8098 if test "${ac_cv_path_install+set}" = set; then
8099 echo $ECHO_N "(cached) $ECHO_C" >&6
8101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8105 test -z "$as_dir" && as_dir
=.
8106 # Account for people who put trailing slashes in PATH elements.
8108 .
/ | .
// |
/cC
/* | \
8109 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
8110 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
8113 # OSF1 and SCO ODT 3.0 have their own names for install.
8114 # Don't use installbsd from OSF since it installs stuff as root
8116 for ac_prog
in ginstall scoinst
install; do
8117 for ac_exec_ext
in '' $ac_executable_extensions; do
8118 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
8119 if test $ac_prog = install &&
8120 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
8121 # AIX install. It has an incompatible calling convention.
8123 elif test $ac_prog = install &&
8124 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
8125 # program-specific install script used by HP pwplus--don't use.
8128 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
8141 if test "${ac_cv_path_install+set}" = set; then
8142 INSTALL
=$ac_cv_path_install
8144 # As a last resort, use the slow shell script. Don't cache a
8145 # value for INSTALL within a source directory, because that will
8146 # break other packages using the cache if that directory is
8147 # removed, or if the value is a relative name.
8148 INSTALL
=$ac_install_sh
8151 { echo "$as_me:$LINENO: result: $INSTALL" >&5
8152 echo "${ECHO_T}$INSTALL" >&6; }
8154 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8155 # It thinks the first close brace ends the variable substitution.
8156 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8158 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
8160 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8163 [\\/$
]* | ?
:[\\/]* ) ;;
8164 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
8167 # Extract the first word of "bzip2", so it can be a program name with args.
8168 set dummy
bzip2; ac_word
=$2
8169 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8171 if test "${ac_cv_path_BZIP2+set}" = set; then
8172 echo $ECHO_N "(cached) $ECHO_C" >&6
8176 ac_cv_path_BZIP2
="$BZIP2" # Let the user override the test with a path.
8179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8183 test -z "$as_dir" && as_dir
=.
8184 for ac_exec_ext
in '' $ac_executable_extensions; do
8185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8186 ac_cv_path_BZIP2
="$as_dir/$ac_word$ac_exec_ext"
8187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8197 BZIP2
=$ac_cv_path_BZIP2
8198 if test -n "$BZIP2"; then
8199 { echo "$as_me:$LINENO: result: $BZIP2" >&5
8200 echo "${ECHO_T}$BZIP2" >&6; }
8202 { echo "$as_me:$LINENO: result: no" >&5
8203 echo "${ECHO_T}no" >&6; }
8207 # Extract the first word of "cat", so it can be a program name with args.
8208 set dummy
cat; ac_word
=$2
8209 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8211 if test "${ac_cv_path_CAT+set}" = set; then
8212 echo $ECHO_N "(cached) $ECHO_C" >&6
8216 ac_cv_path_CAT
="$CAT" # Let the user override the test with a path.
8219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8223 test -z "$as_dir" && as_dir
=.
8224 for ac_exec_ext
in '' $ac_executable_extensions; do
8225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8226 ac_cv_path_CAT
="$as_dir/$ac_word$ac_exec_ext"
8227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8238 if test -n "$CAT"; then
8239 { echo "$as_me:$LINENO: result: $CAT" >&5
8240 echo "${ECHO_T}$CAT" >&6; }
8242 { echo "$as_me:$LINENO: result: no" >&5
8243 echo "${ECHO_T}no" >&6; }
8247 # Extract the first word of "doxygen", so it can be a program name with args.
8248 set dummy doxygen
; ac_word
=$2
8249 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8251 if test "${ac_cv_path_DOXYGEN+set}" = set; then
8252 echo $ECHO_N "(cached) $ECHO_C" >&6
8256 ac_cv_path_DOXYGEN
="$DOXYGEN" # Let the user override the test with a path.
8259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8263 test -z "$as_dir" && as_dir
=.
8264 for ac_exec_ext
in '' $ac_executable_extensions; do
8265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8266 ac_cv_path_DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
8267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8277 DOXYGEN
=$ac_cv_path_DOXYGEN
8278 if test -n "$DOXYGEN"; then
8279 { echo "$as_me:$LINENO: result: $DOXYGEN" >&5
8280 echo "${ECHO_T}$DOXYGEN" >&6; }
8282 { echo "$as_me:$LINENO: result: no" >&5
8283 echo "${ECHO_T}no" >&6; }
8287 # Extract the first word of "groff", so it can be a program name with args.
8288 set dummy
groff; ac_word
=$2
8289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8291 if test "${ac_cv_path_GROFF+set}" = set; then
8292 echo $ECHO_N "(cached) $ECHO_C" >&6
8296 ac_cv_path_GROFF
="$GROFF" # Let the user override the test with a path.
8299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8303 test -z "$as_dir" && as_dir
=.
8304 for ac_exec_ext
in '' $ac_executable_extensions; do
8305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8306 ac_cv_path_GROFF
="$as_dir/$ac_word$ac_exec_ext"
8307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8317 GROFF
=$ac_cv_path_GROFF
8318 if test -n "$GROFF"; then
8319 { echo "$as_me:$LINENO: result: $GROFF" >&5
8320 echo "${ECHO_T}$GROFF" >&6; }
8322 { echo "$as_me:$LINENO: result: no" >&5
8323 echo "${ECHO_T}no" >&6; }
8327 # Extract the first word of "gzip", so it can be a program name with args.
8328 set dummy
gzip; ac_word
=$2
8329 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8331 if test "${ac_cv_path_GZIPBIN+set}" = set; then
8332 echo $ECHO_N "(cached) $ECHO_C" >&6
8336 ac_cv_path_GZIPBIN
="$GZIPBIN" # Let the user override the test with a path.
8339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8343 test -z "$as_dir" && as_dir
=.
8344 for ac_exec_ext
in '' $ac_executable_extensions; do
8345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8346 ac_cv_path_GZIPBIN
="$as_dir/$ac_word$ac_exec_ext"
8347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8357 GZIPBIN
=$ac_cv_path_GZIPBIN
8358 if test -n "$GZIPBIN"; then
8359 { echo "$as_me:$LINENO: result: $GZIPBIN" >&5
8360 echo "${ECHO_T}$GZIPBIN" >&6; }
8362 { echo "$as_me:$LINENO: result: no" >&5
8363 echo "${ECHO_T}no" >&6; }
8367 # Extract the first word of "pod2html", so it can be a program name with args.
8368 set dummy pod2html
; ac_word
=$2
8369 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8371 if test "${ac_cv_path_POD2HTML+set}" = set; then
8372 echo $ECHO_N "(cached) $ECHO_C" >&6
8376 ac_cv_path_POD2HTML
="$POD2HTML" # Let the user override the test with a path.
8379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8383 test -z "$as_dir" && as_dir
=.
8384 for ac_exec_ext
in '' $ac_executable_extensions; do
8385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8386 ac_cv_path_POD2HTML
="$as_dir/$ac_word$ac_exec_ext"
8387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8397 POD2HTML
=$ac_cv_path_POD2HTML
8398 if test -n "$POD2HTML"; then
8399 { echo "$as_me:$LINENO: result: $POD2HTML" >&5
8400 echo "${ECHO_T}$POD2HTML" >&6; }
8402 { echo "$as_me:$LINENO: result: no" >&5
8403 echo "${ECHO_T}no" >&6; }
8407 # Extract the first word of "pod2man", so it can be a program name with args.
8408 set dummy pod2man
; ac_word
=$2
8409 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8411 if test "${ac_cv_path_POD2MAN+set}" = set; then
8412 echo $ECHO_N "(cached) $ECHO_C" >&6
8416 ac_cv_path_POD2MAN
="$POD2MAN" # Let the user override the test with a path.
8419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8423 test -z "$as_dir" && as_dir
=.
8424 for ac_exec_ext
in '' $ac_executable_extensions; do
8425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8426 ac_cv_path_POD2MAN
="$as_dir/$ac_word$ac_exec_ext"
8427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8437 POD2MAN
=$ac_cv_path_POD2MAN
8438 if test -n "$POD2MAN"; then
8439 { echo "$as_me:$LINENO: result: $POD2MAN" >&5
8440 echo "${ECHO_T}$POD2MAN" >&6; }
8442 { echo "$as_me:$LINENO: result: no" >&5
8443 echo "${ECHO_T}no" >&6; }
8447 # Extract the first word of "pdfroff", so it can be a program name with args.
8448 set dummy pdfroff
; ac_word
=$2
8449 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8451 if test "${ac_cv_path_PDFROFF+set}" = set; then
8452 echo $ECHO_N "(cached) $ECHO_C" >&6
8456 ac_cv_path_PDFROFF
="$PDFROFF" # Let the user override the test with a path.
8459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8463 test -z "$as_dir" && as_dir
=.
8464 for ac_exec_ext
in '' $ac_executable_extensions; do
8465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8466 ac_cv_path_PDFROFF
="$as_dir/$ac_word$ac_exec_ext"
8467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8477 PDFROFF
=$ac_cv_path_PDFROFF
8478 if test -n "$PDFROFF"; then
8479 { echo "$as_me:$LINENO: result: $PDFROFF" >&5
8480 echo "${ECHO_T}$PDFROFF" >&6; }
8482 { echo "$as_me:$LINENO: result: no" >&5
8483 echo "${ECHO_T}no" >&6; }
8487 # Extract the first word of "runtest", so it can be a program name with args.
8488 set dummy runtest
; ac_word
=$2
8489 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8491 if test "${ac_cv_path_RUNTEST+set}" = set; then
8492 echo $ECHO_N "(cached) $ECHO_C" >&6
8496 ac_cv_path_RUNTEST
="$RUNTEST" # Let the user override the test with a path.
8499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8503 test -z "$as_dir" && as_dir
=.
8504 for ac_exec_ext
in '' $ac_executable_extensions; do
8505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8506 ac_cv_path_RUNTEST
="$as_dir/$ac_word$ac_exec_ext"
8507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8517 RUNTEST
=$ac_cv_path_RUNTEST
8518 if test -n "$RUNTEST"; then
8519 { echo "$as_me:$LINENO: result: $RUNTEST" >&5
8520 echo "${ECHO_T}$RUNTEST" >&6; }
8522 { echo "$as_me:$LINENO: result: no" >&5
8523 echo "${ECHO_T}no" >&6; }
8529 { echo "$as_me:$LINENO: checking for the tclsh program in tclinclude directory" >&5
8530 echo $ECHO_N "checking for the tclsh program in tclinclude directory... $ECHO_C" >&6; }
8532 # Check whether --with-tclinclude was given.
8533 if test "${with_tclinclude+set}" = set; then
8534 withval
=$with_tclinclude; with_tclinclude
=${withval}
8539 if test "${ac_cv_path_tclsh+set}" = set; then
8540 echo $ECHO_N "(cached) $ECHO_C" >&6
8543 if test x
"${with_tclinclude}" != x
; then
8544 if test -f ${with_tclinclude}/tclsh
; then
8545 ac_cv_path_tclsh
=`(cd ${with_tclinclude}; pwd)`
8546 elif test -f ${with_tclinclude}/src
/tclsh
; then
8547 ac_cv_path_tclsh
=`(cd ${with_tclinclude}/src; pwd)`
8549 { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain tclsh" >&5
8550 echo "$as_me: error: ${with_tclinclude} directory doesn't contain tclsh" >&2;}
8551 { (exit 1); exit 1; }; }
8557 if test x
"${ac_cv_path_tclsh}" = x
; then
8558 { echo "$as_me:$LINENO: result: none" >&5
8559 echo "${ECHO_T}none" >&6; }
8560 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
8562 # Extract the first word of "$ac_prog", so it can be a program name with args.
8563 set dummy
$ac_prog; ac_word
=$2
8564 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8566 if test "${ac_cv_path_TCLSH+set}" = set; then
8567 echo $ECHO_N "(cached) $ECHO_C" >&6
8571 ac_cv_path_TCLSH
="$TCLSH" # Let the user override the test with a path.
8574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8578 test -z "$as_dir" && as_dir
=.
8579 for ac_exec_ext
in '' $ac_executable_extensions; do
8580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8581 ac_cv_path_TCLSH
="$as_dir/$ac_word$ac_exec_ext"
8582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8592 TCLSH
=$ac_cv_path_TCLSH
8593 if test -n "$TCLSH"; then
8594 { echo "$as_me:$LINENO: result: $TCLSH" >&5
8595 echo "${ECHO_T}$TCLSH" >&6; }
8597 { echo "$as_me:$LINENO: result: no" >&5
8598 echo "${ECHO_T}no" >&6; }
8602 test -n "$TCLSH" && break
8605 if test x
"${TCLSH}" = x
; then
8606 ac_cv_path_tclsh
='';
8608 ac_cv_path_tclsh
="${TCLSH}";
8611 { echo "$as_me:$LINENO: result: ${ac_cv_path_tclsh}" >&5
8612 echo "${ECHO_T}${ac_cv_path_tclsh}" >&6; }
8613 TCLSH="${ac_cv_path_tclsh}"
8617 # Extract the first word of "zip", so it can be a program name with args.
8618 set dummy zip; ac_word=$2
8619 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8620 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8621 if test "${ac_cv_path_ZIP+set}" = set; then
8622 echo $ECHO_N "(cached
) $ECHO_C" >&6
8626 ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
8629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8633 test -z "$as_dir" && as_dir=.
8634 for ac_exec_ext in '' $ac_executable_extensions; do
8635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8636 ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
8637 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8648 if test -n "$ZIP"; then
8649 { echo "$as_me:$LINENO: result
: $ZIP" >&5
8650 echo "${ECHO_T}$ZIP" >&6; }
8652 { echo "$as_me:$LINENO: result
: no
" >&5
8653 echo "${ECHO_T}no
" >&6; }
8657 for ac_prog in ocamlc
8659 # Extract the first word of "$ac_prog", so it can be a program name with args.
8660 set dummy $ac_prog; ac_word=$2
8661 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8662 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8663 if test "${ac_cv_path_OCAMLC+set}" = set; then
8664 echo $ECHO_N "(cached
) $ECHO_C" >&6
8668 ac_cv_path_OCAMLC="$OCAMLC" # Let the user override the test with a path.
8671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8675 test -z "$as_dir" && as_dir=.
8676 for ac_exec_ext in '' $ac_executable_extensions; do
8677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8678 ac_cv_path_OCAMLC="$as_dir/$ac_word$ac_exec_ext"
8679 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8689 OCAMLC=$ac_cv_path_OCAMLC
8690 if test -n "$OCAMLC"; then
8691 { echo "$as_me:$LINENO: result
: $OCAMLC" >&5
8692 echo "${ECHO_T}$OCAMLC" >&6; }
8694 { echo "$as_me:$LINENO: result
: no
" >&5
8695 echo "${ECHO_T}no
" >&6; }
8699 test -n "$OCAMLC" && break
8702 for ac_prog in ocamlopt
8704 # Extract the first word of "$ac_prog", so it can be a program name with args.
8705 set dummy $ac_prog; ac_word=$2
8706 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8707 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8708 if test "${ac_cv_path_OCAMLOPT+set}" = set; then
8709 echo $ECHO_N "(cached
) $ECHO_C" >&6
8713 ac_cv_path_OCAMLOPT="$OCAMLOPT" # Let the user override the test with a path.
8716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8720 test -z "$as_dir" && as_dir=.
8721 for ac_exec_ext in '' $ac_executable_extensions; do
8722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8723 ac_cv_path_OCAMLOPT="$as_dir/$ac_word$ac_exec_ext"
8724 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8734 OCAMLOPT=$ac_cv_path_OCAMLOPT
8735 if test -n "$OCAMLOPT"; then
8736 { echo "$as_me:$LINENO: result
: $OCAMLOPT" >&5
8737 echo "${ECHO_T}$OCAMLOPT" >&6; }
8739 { echo "$as_me:$LINENO: result
: no
" >&5
8740 echo "${ECHO_T}no
" >&6; }
8744 test -n "$OCAMLOPT" && break
8747 for ac_prog in ocamldep
8749 # Extract the first word of "$ac_prog", so it can be a program name with args.
8750 set dummy $ac_prog; ac_word=$2
8751 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8752 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8753 if test "${ac_cv_path_OCAMLDEP+set}" = set; then
8754 echo $ECHO_N "(cached
) $ECHO_C" >&6
8758 ac_cv_path_OCAMLDEP="$OCAMLDEP" # Let the user override the test with a path.
8761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8765 test -z "$as_dir" && as_dir=.
8766 for ac_exec_ext in '' $ac_executable_extensions; do
8767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8768 ac_cv_path_OCAMLDEP="$as_dir/$ac_word$ac_exec_ext"
8769 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8779 OCAMLDEP=$ac_cv_path_OCAMLDEP
8780 if test -n "$OCAMLDEP"; then
8781 { echo "$as_me:$LINENO: result
: $OCAMLDEP" >&5
8782 echo "${ECHO_T}$OCAMLDEP" >&6; }
8784 { echo "$as_me:$LINENO: result
: no
" >&5
8785 echo "${ECHO_T}no
" >&6; }
8789 test -n "$OCAMLDEP" && break
8792 for ac_prog in ocamldoc
8794 # Extract the first word of "$ac_prog", so it can be a program name with args.
8795 set dummy $ac_prog; ac_word=$2
8796 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8797 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8798 if test "${ac_cv_path_OCAMLDOC+set}" = set; then
8799 echo $ECHO_N "(cached
) $ECHO_C" >&6
8803 ac_cv_path_OCAMLDOC="$OCAMLDOC" # Let the user override the test with a path.
8806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8810 test -z "$as_dir" && as_dir=.
8811 for ac_exec_ext in '' $ac_executable_extensions; do
8812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8813 ac_cv_path_OCAMLDOC="$as_dir/$ac_word$ac_exec_ext"
8814 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8824 OCAMLDOC=$ac_cv_path_OCAMLDOC
8825 if test -n "$OCAMLDOC"; then
8826 { echo "$as_me:$LINENO: result
: $OCAMLDOC" >&5
8827 echo "${ECHO_T}$OCAMLDOC" >&6; }
8829 { echo "$as_me:$LINENO: result
: no
" >&5
8830 echo "${ECHO_T}no
" >&6; }
8834 test -n "$OCAMLDOC" && break
8837 for ac_prog in gas as
8839 # Extract the first word of "$ac_prog", so it can be a program name with args.
8840 set dummy $ac_prog; ac_word=$2
8841 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8842 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8843 if test "${ac_cv_path_GAS+set}" = set; then
8844 echo $ECHO_N "(cached
) $ECHO_C" >&6
8848 ac_cv_path_GAS="$GAS" # Let the user override the test with a path.
8851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8855 test -z "$as_dir" && as_dir=.
8856 for ac_exec_ext in '' $ac_executable_extensions; do
8857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8858 ac_cv_path_GAS="$as_dir/$ac_word$ac_exec_ext"
8859 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8870 if test -n "$GAS"; then
8871 { echo "$as_me:$LINENO: result
: $GAS" >&5
8872 echo "${ECHO_T}$GAS" >&6; }
8874 { echo "$as_me:$LINENO: result
: no
" >&5
8875 echo "${ECHO_T}no
" >&6; }
8879 test -n "$GAS" && break
8883 { echo "$as_me:$LINENO: checking
for linker version
" >&5
8884 echo $ECHO_N "checking
for linker version...
$ECHO_C" >&6; }
8885 if test "${llvm_cv_link_version+set}" = set; then
8886 echo $ECHO_N "(cached
) $ECHO_C" >&6
8889 version_string="$
(ld
-v 2>&1 |
head -1)"
8892 if (echo "$version_string" | grep -q "ld64
"); then
8893 llvm_cv_link_version=$(echo "$version_string" | sed -e "s
#.*ld64-\([^ ]*\)#\1#")
8895 llvm_cv_link_version
=$
(echo "$version_string" |
sed -e "s#[^0-9]*\([0-9.]*\).*#\1#")
8899 { echo "$as_me:$LINENO: result: $llvm_cv_link_version" >&5
8900 echo "${ECHO_T}$llvm_cv_link_version" >&6; }
8902 cat >>confdefs.h
<<_ACEOF
8903 #define HOST_LINK_VERSION "$llvm_cv_link_version"
8908 { echo "$as_me:$LINENO: checking for compiler -Wl,-R<path> option" >&5
8909 echo $ECHO_N "checking for compiler -Wl,-R<path> option... $ECHO_C" >&6; }
8910 if test "${llvm_cv_link_use_r+set}" = set; then
8911 echo $ECHO_N "(cached) $ECHO_C" >&6
8914 ac_cpp
='$CPP $CPPFLAGS'
8915 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8916 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8917 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8920 CFLAGS
="$CFLAGS -Wl,-R."
8921 cat >conftest.
$ac_ext <<_ACEOF
8924 cat confdefs.h
>>conftest.
$ac_ext
8925 cat >>conftest.
$ac_ext <<_ACEOF
8926 /* end confdefs.h. */
8936 rm -f conftest.
$ac_objext conftest
$ac_exeext
8937 if { (ac_try
="$ac_link"
8939 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8940 *) ac_try_echo=$ac_try;;
8942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8943 (eval "$ac_link") 2>conftest.er1
8945 grep -v '^ *+' conftest.er1 >conftest.err
8947 cat conftest.err >&5
8948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8949 (exit $ac_status); } &&
8950 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8951 { (case "(($ac_try" in
8952 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8953 *) ac_try_echo
=$ac_try;;
8955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8956 (eval "$ac_try") 2>&5
8958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8959 (exit $ac_status); }; } &&
8960 { ac_try
='test -s conftest$ac_exeext'
8961 { (case "(($ac_try" in
8962 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8963 *) ac_try_echo=$ac_try;;
8965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8966 (eval "$ac_try") 2>&5
8968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8969 (exit $ac_status); }; }; then
8970 llvm_cv_link_use_r=yes
8972 echo "$as_me: failed program was:" >&5
8973 sed 's/^/| /' conftest.$ac_ext >&5
8975 llvm_cv_link_use_r=no
8978 rm -f core conftest.err conftest.$ac_objext \
8979 conftest$ac_exeext conftest.$ac_ext
8982 ac_cpp='$CPP $CPPFLAGS'
8983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8989 { echo "$as_me:$LINENO: result: $llvm_cv_link_use_r" >&5
8990 echo "${ECHO_T}$llvm_cv_link_use_r" >&6; }
8991 if test "$llvm_cv_link_use_r" = yes ; then
8993 cat >>confdefs.h <<\_ACEOF
8994 #define HAVE_LINK_R 1
9000 { echo "$as_me:$LINENO: checking for compiler -Wl,-export-dynamic option" >&5
9001 echo $ECHO_N "checking for compiler -Wl,-export-dynamic option... $ECHO_C" >&6; }
9002 if test "${llvm_cv_link_use_export_dynamic+set}" = set; then
9003 echo $ECHO_N "(cached) $ECHO_C" >&6
9006 ac_cpp='$CPP $CPPFLAGS'
9007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9012 CFLAGS="$CFLAGS -Wl,-export-dynamic"
9013 cat >conftest.$ac_ext <<_ACEOF
9016 cat confdefs.h >>conftest.$ac_ext
9017 cat >>conftest.$ac_ext <<_ACEOF
9018 /* end confdefs.h. */
9028 rm -f conftest.$ac_objext conftest$ac_exeext
9029 if { (ac_try="$ac_link"
9031 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9032 *) ac_try_echo
=$ac_try;;
9034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9035 (eval "$ac_link") 2>conftest.er1
9037 grep -v '^ *+' conftest.er1
>conftest.err
9039 cat conftest.err
>&5
9040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9041 (exit $ac_status); } &&
9042 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9043 { (case "(($ac_try" in
9044 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9045 *) ac_try_echo=$ac_try;;
9047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9048 (eval "$ac_try") 2>&5
9050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9051 (exit $ac_status); }; } &&
9052 { ac_try='test -s conftest$ac_exeext'
9053 { (case "(($ac_try" in
9054 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9055 *) ac_try_echo
=$ac_try;;
9057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9058 (eval "$ac_try") 2>&5
9060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9061 (exit $ac_status); }; }; then
9062 llvm_cv_link_use_export_dynamic
=yes
9064 echo "$as_me: failed program was:" >&5
9065 sed 's/^/| /' conftest.
$ac_ext >&5
9067 llvm_cv_link_use_export_dynamic
=no
9070 rm -f core conftest.err conftest.
$ac_objext \
9071 conftest
$ac_exeext conftest.
$ac_ext
9074 ac_cpp
='$CPP $CPPFLAGS'
9075 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9076 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9077 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9081 { echo "$as_me:$LINENO: result: $llvm_cv_link_use_export_dynamic" >&5
9082 echo "${ECHO_T}$llvm_cv_link_use_export_dynamic" >&6; }
9083 if test "$llvm_cv_link_use_export_dynamic" = yes ; then
9085 cat >>confdefs.h
<<\_ACEOF
9086 #define HAVE_LINK_EXPORT_DYNAMIC 1
9092 { echo "$as_me:$LINENO: checking for compiler -Wl,--version-script option" >&5
9093 echo $ECHO_N "checking for compiler -Wl,--version-script option... $ECHO_C" >&6; }
9094 if test "${llvm_cv_link_use_version_script+set}" = set; then
9095 echo $ECHO_N "(cached) $ECHO_C" >&6
9098 ac_cpp
='$CPP $CPPFLAGS'
9099 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9100 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9101 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9105 # The following code is from the autoconf manual,
9106 # "11.13: Limitations of Usual Tools".
9107 # Create a temporary directory $tmp in $TMPDIR (default /tmp).
9108 # Use mktemp if possible; otherwise fall back on mkdir,
9109 # with $RANDOM to make collisions less likely.
9113 (umask 077 && mktemp -d "$TMPDIR/fooXXXXXX") 2>/dev/null
9115 test -n "$tmp" && test -d "$tmp"
9117 tmp
=$TMPDIR/foo$$
-$RANDOM
9118 (umask 077 && mkdir
"$tmp")
9121 echo "{" > "$tmp/export.map"
9122 echo " global: main;" >> "$tmp/export.map"
9123 echo " local: *;" >> "$tmp/export.map"
9124 echo "};" >> "$tmp/export.map"
9126 CFLAGS
="$CFLAGS -Wl,--version-script=$tmp/export.map"
9127 cat >conftest.
$ac_ext <<_ACEOF
9130 cat confdefs.h
>>conftest.
$ac_ext
9131 cat >>conftest.
$ac_ext <<_ACEOF
9132 /* end confdefs.h. */
9142 rm -f conftest.
$ac_objext conftest
$ac_exeext
9143 if { (ac_try
="$ac_link"
9145 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9146 *) ac_try_echo=$ac_try;;
9148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9149 (eval "$ac_link") 2>conftest.er1
9151 grep -v '^ *+' conftest.er1 >conftest.err
9153 cat conftest.err >&5
9154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9155 (exit $ac_status); } &&
9156 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9157 { (case "(($ac_try" in
9158 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9159 *) ac_try_echo
=$ac_try;;
9161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9162 (eval "$ac_try") 2>&5
9164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9165 (exit $ac_status); }; } &&
9166 { ac_try
='test -s conftest$ac_exeext'
9167 { (case "(($ac_try" in
9168 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9169 *) ac_try_echo=$ac_try;;
9171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9172 (eval "$ac_try") 2>&5
9174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9175 (exit $ac_status); }; }; then
9176 llvm_cv_link_use_version_script=yes
9178 echo "$as_me: failed program was:" >&5
9179 sed 's/^/| /' conftest.$ac_ext >&5
9181 llvm_cv_link_use_version_script=no
9184 rm -f core conftest.err conftest.$ac_objext \
9185 conftest$ac_exeext conftest.$ac_ext
9186 rm "$tmp/export.map"
9190 ac_cpp='$CPP $CPPFLAGS'
9191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9197 { echo "$as_me:$LINENO: result: $llvm_cv_link_use_version_script" >&5
9198 echo "${ECHO_T}$llvm_cv_link_use_version_script" >&6; }
9199 if test "$llvm_cv_link_use_version_script" = yes ; then
9200 HAVE_LINK_VERSION_SCRIPT=1
9207 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
9208 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
9209 if test "${ac_cv_c_const+set}" = set; then
9210 echo $ECHO_N "(cached) $ECHO_C" >&6
9212 cat >conftest.$ac_ext <<_ACEOF
9215 cat confdefs.h >>conftest.$ac_ext
9216 cat >>conftest.$ac_ext <<_ACEOF
9217 /* end confdefs.h. */
9222 /* FIXME: Include the comments suggested by Paul. */
9224 /* Ultrix mips cc rejects this. */
9225 typedef int charset[2];
9227 /* SunOS 4.1.1 cc rejects this. */
9228 char const *const *ccp;
9230 /* NEC SVR4.0.2 mips cc rejects this. */
9231 struct point {int x, y;};
9232 static struct point const zero = {0,0};
9233 /* AIX XL C 1.02.0.0 rejects this.
9234 It does not let you subtract one const X* pointer from another in
9235 an arm of an if-expression whose if-part is not a constant
9237 const char *g = "string";
9238 ccp = &g + (g ? g-g : 0);
9239 /* HPUX 7.0 cc rejects these. */
9242 ccp = (char const *const *) p;
9243 { /* SCO 3.2v4 cc rejects this. */
9245 char const *s = 0 ? (char *) 0 : (char const *) 0;
9250 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9252 const int *foo = &x[0];
9255 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9256 typedef const int *iptr;
9260 { /* AIX XL C 1.02.0.0 rejects this saying
9261 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9262 struct s { int j; const int *ap[3]; };
9263 struct s *b; b->j = 5;
9265 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9269 return !x[0] && !zero.x;
9276 rm -f conftest.$ac_objext
9277 if { (ac_try="$ac_compile"
9279 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9280 *) ac_try_echo
=$ac_try;;
9282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9283 (eval "$ac_compile") 2>conftest.er1
9285 grep -v '^ *+' conftest.er1
>conftest.err
9287 cat conftest.err
>&5
9288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9289 (exit $ac_status); } &&
9290 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9291 { (case "(($ac_try" in
9292 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9293 *) ac_try_echo=$ac_try;;
9295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9296 (eval "$ac_try") 2>&5
9298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9299 (exit $ac_status); }; } &&
9300 { ac_try='test -s conftest.$ac_objext'
9301 { (case "(($ac_try" in
9302 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9303 *) ac_try_echo
=$ac_try;;
9305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9306 (eval "$ac_try") 2>&5
9308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9309 (exit $ac_status); }; }; then
9312 echo "$as_me: failed program was:" >&5
9313 sed 's/^/| /' conftest.
$ac_ext >&5
9318 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9320 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
9321 echo "${ECHO_T}$ac_cv_c_const" >&6; }
9322 if test $ac_cv_c_const = no
; then
9324 cat >>confdefs.h
<<\_ACEOF
9336 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
9337 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
9338 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
9339 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
9340 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9341 echo $ECHO_N "(cached) $ECHO_C" >&6
9343 cat >conftest.
$ac_ext <<_ACEOF
9346 cat confdefs.h
>>conftest.
$ac_ext
9347 cat >>conftest.
$ac_ext <<_ACEOF
9348 /* end confdefs.h. */
9349 #include <sys/types.h>
9361 rm -f conftest.
$ac_objext
9362 if { (ac_try
="$ac_compile"
9364 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9365 *) ac_try_echo=$ac_try;;
9367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9368 (eval "$ac_compile") 2>conftest.er1
9370 grep -v '^ *+' conftest.er1 >conftest.err
9372 cat conftest.err >&5
9373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9374 (exit $ac_status); } &&
9375 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9376 { (case "(($ac_try" in
9377 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9378 *) ac_try_echo
=$ac_try;;
9380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9381 (eval "$ac_try") 2>&5
9383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9384 (exit $ac_status); }; } &&
9385 { ac_try
='test -s conftest.$ac_objext'
9386 { (case "(($ac_try" in
9387 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9388 *) ac_try_echo=$ac_try;;
9390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9391 (eval "$ac_try") 2>&5
9393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9394 (exit $ac_status); }; }; then
9395 eval "$as_ac_Header=yes"
9397 echo "$as_me: failed program was:" >&5
9398 sed 's/^/| /' conftest.$ac_ext >&5
9400 eval "$as_ac_Header=no"
9403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9405 ac_res=`eval echo '${'$as_ac_Header'}'`
9406 { echo "$as_me:$LINENO: result: $ac_res" >&5
9407 echo "${ECHO_T}$ac_res" >&6; }
9408 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9409 cat >>confdefs.h <<_ACEOF
9410 #define `echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
9413 ac_header_dirent=$ac_hdr; break
9417 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
9418 if test $ac_header_dirent = dirent.h; then
9419 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
9420 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
9421 if test "${ac_cv_search_opendir+set}" = set; then
9422 echo $ECHO_N "(cached) $ECHO_C" >&6
9424 ac_func_search_save_LIBS=$LIBS
9425 cat >conftest.$ac_ext <<_ACEOF
9428 cat confdefs.h >>conftest.$ac_ext
9429 cat >>conftest.$ac_ext <<_ACEOF
9430 /* end confdefs.h. */
9432 /* Override any GCC internal prototype to avoid an error.
9433 Use char because int might match the return type of a GCC
9434 builtin and then its argument prototype would still apply. */
9447 for ac_lib in '' dir; do
9448 if test -z "$ac_lib"; then
9449 ac_res="none required"
9452 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9454 rm -f conftest.$ac_objext conftest$ac_exeext
9455 if { (ac_try="$ac_link"
9457 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9458 *) ac_try_echo
=$ac_try;;
9460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9461 (eval "$ac_link") 2>conftest.er1
9463 grep -v '^ *+' conftest.er1
>conftest.err
9465 cat conftest.err
>&5
9466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9467 (exit $ac_status); } &&
9468 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9469 { (case "(($ac_try" in
9470 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9471 *) ac_try_echo=$ac_try;;
9473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9474 (eval "$ac_try") 2>&5
9476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9477 (exit $ac_status); }; } &&
9478 { ac_try='test -s conftest$ac_exeext'
9479 { (case "(($ac_try" in
9480 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9481 *) ac_try_echo
=$ac_try;;
9483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9484 (eval "$ac_try") 2>&5
9486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9487 (exit $ac_status); }; }; then
9488 ac_cv_search_opendir
=$ac_res
9490 echo "$as_me: failed program was:" >&5
9491 sed 's/^/| /' conftest.
$ac_ext >&5
9496 rm -f core conftest.err conftest.
$ac_objext \
9498 if test "${ac_cv_search_opendir+set}" = set; then
9502 if test "${ac_cv_search_opendir+set}" = set; then
9505 ac_cv_search_opendir
=no
9508 LIBS
=$ac_func_search_save_LIBS
9510 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
9511 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
9512 ac_res
=$ac_cv_search_opendir
9513 if test "$ac_res" != no
; then
9514 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
9519 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
9520 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
9521 if test "${ac_cv_search_opendir+set}" = set; then
9522 echo $ECHO_N "(cached) $ECHO_C" >&6
9524 ac_func_search_save_LIBS
=$LIBS
9525 cat >conftest.
$ac_ext <<_ACEOF
9528 cat confdefs.h
>>conftest.
$ac_ext
9529 cat >>conftest.
$ac_ext <<_ACEOF
9530 /* end confdefs.h. */
9532 /* Override any GCC internal prototype to avoid an error.
9533 Use char because int might match the return type of a GCC
9534 builtin and then its argument prototype would still apply. */
9547 for ac_lib
in '' x
; do
9548 if test -z "$ac_lib"; then
9549 ac_res
="none required"
9552 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9554 rm -f conftest.
$ac_objext conftest
$ac_exeext
9555 if { (ac_try
="$ac_link"
9557 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9558 *) ac_try_echo=$ac_try;;
9560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9561 (eval "$ac_link") 2>conftest.er1
9563 grep -v '^ *+' conftest.er1 >conftest.err
9565 cat conftest.err >&5
9566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9567 (exit $ac_status); } &&
9568 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9569 { (case "(($ac_try" in
9570 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9571 *) ac_try_echo
=$ac_try;;
9573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9574 (eval "$ac_try") 2>&5
9576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9577 (exit $ac_status); }; } &&
9578 { ac_try
='test -s conftest$ac_exeext'
9579 { (case "(($ac_try" in
9580 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9581 *) ac_try_echo=$ac_try;;
9583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9584 (eval "$ac_try") 2>&5
9586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9587 (exit $ac_status); }; }; then
9588 ac_cv_search_opendir=$ac_res
9590 echo "$as_me: failed program was:" >&5
9591 sed 's/^/| /' conftest.$ac_ext >&5
9596 rm -f core conftest.err conftest.$ac_objext \
9598 if test "${ac_cv_search_opendir+set}" = set; then
9602 if test "${ac_cv_search_opendir+set}" = set; then
9605 ac_cv_search_opendir=no
9608 LIBS=$ac_func_search_save_LIBS
9610 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
9611 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
9612 ac_res=$ac_cv_search_opendir
9613 if test "$ac_res" != no; then
9614 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
9621 for ac_header in dlfcn.h
9623 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9624 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9625 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9627 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9628 echo $ECHO_N "(cached) $ECHO_C" >&6
9630 ac_res=`eval echo '${'$as_ac_Header'}'`
9631 { echo "$as_me:$LINENO: result: $ac_res" >&5
9632 echo "${ECHO_T}$ac_res" >&6; }
9634 # Is the header compilable?
9635 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9636 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9637 cat >conftest.$ac_ext <<_ACEOF
9640 cat confdefs.h >>conftest.$ac_ext
9641 cat >>conftest.$ac_ext <<_ACEOF
9642 /* end confdefs.h. */
9643 $ac_includes_default
9644 #include <$ac_header>
9646 rm -f conftest.$ac_objext
9647 if { (ac_try="$ac_compile"
9649 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9650 *) ac_try_echo
=$ac_try;;
9652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9653 (eval "$ac_compile") 2>conftest.er1
9655 grep -v '^ *+' conftest.er1
>conftest.err
9657 cat conftest.err
>&5
9658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9659 (exit $ac_status); } &&
9660 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9661 { (case "(($ac_try" in
9662 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9663 *) ac_try_echo=$ac_try;;
9665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9666 (eval "$ac_try") 2>&5
9668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9669 (exit $ac_status); }; } &&
9670 { ac_try='test -s conftest.$ac_objext'
9671 { (case "(($ac_try" in
9672 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9673 *) ac_try_echo
=$ac_try;;
9675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9676 (eval "$ac_try") 2>&5
9678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9679 (exit $ac_status); }; }; then
9680 ac_header_compiler
=yes
9682 echo "$as_me: failed program was:" >&5
9683 sed 's/^/| /' conftest.
$ac_ext >&5
9685 ac_header_compiler
=no
9688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9689 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9690 echo "${ECHO_T}$ac_header_compiler" >&6; }
9692 # Is the header present?
9693 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9694 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9695 cat >conftest.
$ac_ext <<_ACEOF
9698 cat confdefs.h
>>conftest.
$ac_ext
9699 cat >>conftest.
$ac_ext <<_ACEOF
9700 /* end confdefs.h. */
9701 #include <$ac_header>
9703 if { (ac_try
="$ac_cpp conftest.$ac_ext"
9705 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9706 *) ac_try_echo=$ac_try;;
9708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9709 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9711 grep -v '^ *+' conftest.er1 >conftest.err
9713 cat conftest.err >&5
9714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9715 (exit $ac_status); } >/dev/null; then
9716 if test -s conftest.err; then
9717 ac_cpp_err=$ac_c_preproc_warn_flag
9718 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9725 if test -z "$ac_cpp_err"; then
9726 ac_header_preproc=yes
9728 echo "$as_me: failed program was:" >&5
9729 sed 's/^/| /' conftest.$ac_ext >&5
9731 ac_header_preproc=no
9734 rm -f conftest.err conftest.$ac_ext
9735 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9736 echo "${ECHO_T}$ac_header_preproc" >&6; }
9738 # So? What about this header?
9739 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9741 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9742 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9743 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9744 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9745 ac_header_preproc=yes
9748 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9749 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9750 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9751 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9752 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9753 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9754 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9755 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9756 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9757 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9758 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9759 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9761 ## ----------------------------------- ##
9762 ## Report this to llvmbugs@cs.uiuc.edu ##
9763 ## ----------------------------------- ##
9765 ) | sed "s/^/$as_me: WARNING: /" >&2
9768 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9770 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9771 echo $ECHO_N "(cached) $ECHO_C" >&6
9773 eval "$as_ac_Header=\$ac_header_preproc"
9775 ac_res=`eval echo '${'$as_ac_Header'}'`
9776 { echo "$as_me:$LINENO: result: $ac_res" >&5
9777 echo "${ECHO_T}$ac_res" >&6; }
9780 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9781 cat >>confdefs.h <<_ACEOF
9782 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9789 # Check whether --enable-ltdl-install was given.
9790 if test "${enable_ltdl_install+set}" = set; then
9791 enableval=$enable_ltdl_install;
9797 if test x"${enable_ltdl_install-no}" != xno; then
9799 INSTALL_LTDL_FALSE='#'
9801 INSTALL_LTDL_TRUE='#'
9807 if test x"${enable_ltdl_convenience-no}" != xno; then
9808 CONVENIENCE_LTDL_TRUE=
9809 CONVENIENCE_LTDL_FALSE='#'
9811 CONVENIENCE_LTDL_TRUE='#'
9812 CONVENIENCE_LTDL_FALSE=
9816 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9817 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9819 libname_spec='lib$name'
9827 shlibpath_overrides_runpath=unknown
9829 dynamic_linker="$host_os ld.so"
9830 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9831 if test "$GCC" = yes; then
9832 sys_lib_search_path_spec=`$CC -print-search-dirs |
grep "^libraries:" |
$SED -e "s/^libraries://" -e "s,=/,/,g"`
9833 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
9834 # if the path contains ";" then we assume it to be the separator
9835 # otherwise default to the standard path separator (i.e. ":") - it is
9836 # assumed that no part of a normal pathname contains ";" but that should
9837 # okay in the real world where ";" in dirpaths is itself problematic.
9838 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" |
$SED -e 's/;/ /g'`
9840 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" |
$SED -e "s/$PATH_SEPARATOR/ /g"`
9843 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9845 need_lib_prefix=unknown
9846 hardcode_into_libs=no
9848 # when you set need_version to no, make sure it does not cause -set_version
9849 # flags to be left without arguments
9850 need_version=unknown
9855 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9856 shlibpath_var=LIBPATH
9858 # AIX 3 has no versioning support, so we append a major version to the name.
9859 soname_spec='${libname}${release}${shared_ext}$major'
9866 hardcode_into_libs=yes
9867 if test "$host_cpu" = ia64; then
9868 # AIX 5 supports IA64
9869 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9870 shlibpath_var=LD_LIBRARY_PATH
9872 # With GCC up to 2.95.x, collect2 would create an import file
9873 # for dependence libraries. The import file would start with
9874 # the line `#! .'. This would cause the generated library to
9875 # depend on `.', always an invalid library. This was fixed in
9876 # development snapshots of GCC prior to 3.0.
9878 aix4 | aix4.
[01] | aix4.
[01].
*)
9879 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9881 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
9888 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9889 # soname into executable. Probably we can add versioning support to
9890 # collect2, so additional links can be useful in future.
9891 if test "$aix_use_runtimelinking" = yes; then
9892 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9893 # instead of lib<name>.a to let people know that these are not
9894 # typical AIX shared libraries.
9895 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9897 # We preserve .a as extension for shared libraries through AIX4.2
9898 # and later when we are not doing run time linking.
9899 library_names_spec
='${libname}${release}.a $libname.a'
9900 soname_spec
='${libname}${release}${shared_ext}$major'
9902 shlibpath_var
=LIBPATH
9907 library_names_spec
='$libname.ixlibrary $libname.a'
9908 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9909 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'
9913 library_names_spec
='${libname}${shared_ext}'
9914 dynamic_linker
="$host_os ld.so"
9915 shlibpath_var
=LIBRARY_PATH
9921 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9922 soname_spec
='${libname}${release}${shared_ext}$major'
9923 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9924 shlibpath_var
=LD_LIBRARY_PATH
9925 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9926 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9927 # the default ld.so.conf also contains /usr/contrib/lib and
9928 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9929 # libtool to hard-code these into programs
9932 cygwin
* | mingw
* | pw32
*)
9933 version_type
=windows
9938 case $GCC,$host_os in
9939 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
9940 library_names_spec
='$libname.dll.a'
9941 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9942 postinstall_cmds
='base_file=`basename \${file}`~
9943 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9944 dldir=$destdir/`dirname \$dlpath`~
9945 test -d \$dldir || mkdir -p \$dldir~
9946 $install_prog $dir/$dlname \$dldir/$dlname~
9947 chmod a+x \$dldir/$dlname'
9948 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9949 dlpath=$dir/\$dldll~
9951 shlibpath_overrides_runpath
=yes
9955 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9956 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9957 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9960 # MinGW DLLs use traditional 'lib' prefix
9961 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9962 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9963 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
9964 # It is most probably a Windows format PATH printed by
9965 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9966 # path with ; separators, and with drive letters. We can handle the
9967 # drive letters (cygwin fileutils understands them), so leave them,
9968 # especially as we might pass files found there to a mingw objdump,
9969 # which wouldn't understand a cygwinified path. Ahh.
9970 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9972 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9976 # pw32 DLLs use 'pw' prefix rather than 'lib'
9977 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9983 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9986 dynamic_linker
='Win32 ld.exe'
9987 # FIXME: first we should search . and the directory the executable is in
9991 darwin
* | rhapsody
*)
9992 dynamic_linker
="$host_os dyld"
9996 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9997 soname_spec
='${libname}${release}${major}$shared_ext'
9998 shlibpath_overrides_runpath
=yes
9999 shlibpath_var
=DYLD_LIBRARY_PATH
10000 shrext_cmds
='.dylib'
10001 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
10002 if test "$GCC" = yes; then
10003 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"`
10005 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
10007 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10014 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10015 soname_spec
='${libname}${release}${shared_ext}$major'
10016 shlibpath_var
=LD_LIBRARY_PATH
10027 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10028 soname_spec
='${libname}${release}${shared_ext}$major'
10029 shlibpath_var
=LD_LIBRARY_PATH
10030 shlibpath_overrides_runpath
=no
10031 hardcode_into_libs
=yes
10032 dynamic_linker
='GNU ld.so'
10035 freebsd
* | dragonfly
*)
10036 # DragonFly does not have aout. When/if they implement a new
10037 # versioning mechanism, adjust this.
10038 if test -x /usr
/bin
/objformat
; then
10039 objformat
=`/usr/bin/objformat`
10042 freebsd
[123]*) objformat
=aout
;;
10043 *) objformat
=elf
;;
10046 version_type
=freebsd-
$objformat
10047 case $version_type in
10049 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10054 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10058 shlibpath_var
=LD_LIBRARY_PATH
10061 shlibpath_overrides_runpath
=yes
10063 freebsd3.
[01]* | freebsdelf3.
[01]*)
10064 shlibpath_overrides_runpath
=yes
10065 hardcode_into_libs
=yes
10067 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10068 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10069 shlibpath_overrides_runpath
=no
10070 hardcode_into_libs
=yes
10072 freebsd
*) # from 4.6 on
10073 shlibpath_overrides_runpath
=yes
10074 hardcode_into_libs
=yes
10083 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10084 soname_spec
='${libname}${release}${shared_ext}$major'
10085 shlibpath_var
=LD_LIBRARY_PATH
10086 hardcode_into_libs
=yes
10089 hpux9
* | hpux10
* | hpux11
*)
10090 # Give a soname corresponding to the major version so that dld.sl refuses to
10091 # link against other versions.
10098 hardcode_into_libs
=yes
10099 dynamic_linker
="$host_os dld.so"
10100 shlibpath_var
=LD_LIBRARY_PATH
10101 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10102 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10103 soname_spec
='${libname}${release}${shared_ext}$major'
10104 if test "X$HPUX_IA64_MODE" = X32
; then
10105 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10107 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10109 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10113 hardcode_into_libs
=yes
10114 dynamic_linker
="$host_os dld.sl"
10115 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10116 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10117 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10118 soname_spec
='${libname}${release}${shared_ext}$major'
10119 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10120 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10124 dynamic_linker
="$host_os dld.sl"
10125 shlibpath_var
=SHLIB_PATH
10126 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10128 soname_spec
='${libname}${release}${shared_ext}$major'
10131 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10132 postinstall_cmds
='chmod 555 $lib'
10139 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10140 soname_spec
='${libname}${release}${shared_ext}$major'
10141 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10142 shlibpath_var
=LD_LIBRARY_PATH
10143 shlibpath_overrides_runpath
=no
10144 hardcode_into_libs
=yes
10147 irix5
* | irix6
* | nonstopux
*)
10149 nonstopux
*) version_type
=nonstopux
;;
10151 if test "$lt_cv_prog_gnu_ld" = yes; then
10159 soname_spec
='${libname}${release}${shared_ext}$major'
10160 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10162 irix5
* | nonstopux
*)
10163 libsuff
= shlibsuff
=
10166 case $LD in # libtool.m4 will add one of these switches to LD
10167 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10168 libsuff
= shlibsuff
= libmagic
=32-bit;;
10169 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10170 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10171 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10172 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10173 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10177 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10178 shlibpath_overrides_runpath
=no
10179 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10180 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10181 hardcode_into_libs
=yes
10184 # No shared lib support for Linux oldld, aout, or coff.
10185 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10189 # This must be Linux ELF.
10194 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10195 soname_spec
='${libname}${release}${shared_ext}$major'
10196 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10197 shlibpath_var
=LD_LIBRARY_PATH
10198 shlibpath_overrides_runpath
=no
10199 # This implies no fast_install, which is unacceptable.
10200 # Some rework will be needed to allow for fast_install
10201 # before this can be enabled.
10202 hardcode_into_libs
=yes
10204 # Append ld.so.conf contents to the search path
10205 if test -f /etc
/ld.so.conf
; then
10206 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' ' '`
10207 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10210 # We used to test for /lib/ld.so.1 and disable shared libraries on
10211 # powerpc, because MkLinux only supported shared libraries with the
10212 # GNU dynamic linker. Since this was broken with cross compilers,
10213 # most powerpc-linux boxes support dynamic linking these days and
10214 # people can always --disable-shared, the test was removed, and we
10215 # assume the GNU/Linux dynamic linker is in use.
10216 dynamic_linker
='GNU/Linux ld.so'
10223 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10224 soname_spec
='${libname}${release}${shared_ext}$major'
10225 shlibpath_var
=LD_LIBRARY_PATH
10226 shlibpath_overrides_runpath
=no
10227 hardcode_into_libs
=yes
10228 dynamic_linker
='GNU ld.so'
10235 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10236 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10237 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10238 dynamic_linker
='NetBSD (a.out) ld.so'
10240 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10241 soname_spec
='${libname}${release}${shared_ext}$major'
10242 dynamic_linker
='NetBSD ld.elf_so'
10244 shlibpath_var
=LD_LIBRARY_PATH
10245 shlibpath_overrides_runpath
=yes
10246 hardcode_into_libs
=yes
10251 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10252 shlibpath_var
=LD_LIBRARY_PATH
10253 shlibpath_overrides_runpath
=yes
10260 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10261 soname_spec
='${libname}${release}${shared_ext}$major'
10262 shlibpath_var
=LD_LIBRARY_PATH
10263 shlibpath_overrides_runpath
=yes
10268 sys_lib_dlsearch_path_spec
="/usr/lib"
10270 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10272 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10273 *) need_version
=no
;;
10275 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10276 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10277 shlibpath_var
=LD_LIBRARY_PATH
10278 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10280 openbsd2.
[89] | openbsd2.
[89].
*)
10281 shlibpath_overrides_runpath
=no
10284 shlibpath_overrides_runpath
=yes
10288 shlibpath_overrides_runpath
=yes
10293 libname_spec
='$name'
10296 library_names_spec
='$libname${shared_ext} $libname.a'
10297 dynamic_linker
='OS/2 ld.exe'
10298 shlibpath_var
=LIBPATH
10301 osf3
* | osf4
* | osf5
*)
10305 soname_spec
='${libname}${release}${shared_ext}$major'
10306 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10307 shlibpath_var
=LD_LIBRARY_PATH
10308 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10309 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10316 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10317 soname_spec
='${libname}${release}${shared_ext}$major'
10318 shlibpath_var
=LD_LIBRARY_PATH
10319 shlibpath_overrides_runpath
=yes
10320 hardcode_into_libs
=yes
10321 # ldd complains unless libraries are executable
10322 postinstall_cmds
='chmod +x $lib'
10327 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10328 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10329 shlibpath_var
=LD_LIBRARY_PATH
10330 shlibpath_overrides_runpath
=yes
10331 if test "$with_gnu_ld" = yes; then
10339 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10340 soname_spec
='${libname}${release}${shared_ext}$major'
10341 shlibpath_var
=LD_LIBRARY_PATH
10342 case $host_vendor in
10344 shlibpath_overrides_runpath
=no
10346 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10347 runpath_var
=LD_RUN_PATH
10355 shlibpath_overrides_runpath
=no
10356 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10362 if test -d /usr
/nec
;then
10364 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10365 soname_spec
='$libname${shared_ext}.$major'
10366 shlibpath_var
=LD_LIBRARY_PATH
10370 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10371 version_type
=freebsd-elf
10374 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10375 soname_spec
='${libname}${release}${shared_ext}$major'
10376 shlibpath_var
=LD_LIBRARY_PATH
10377 hardcode_into_libs
=yes
10378 if test "$with_gnu_ld" = yes; then
10379 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10380 shlibpath_overrides_runpath
=no
10382 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10383 shlibpath_overrides_runpath
=yes
10386 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10390 sys_lib_dlsearch_path_spec
='/usr/lib'
10395 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10396 soname_spec
='${libname}${release}${shared_ext}$major'
10397 shlibpath_var
=LD_LIBRARY_PATH
10404 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10405 echo "${ECHO_T}$dynamic_linker" >&6; }
10406 test "$dynamic_linker" = no
&& can_build_shared
=no
10408 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10409 if test "$GCC" = yes; then
10410 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10414 { echo "$as_me:$LINENO: checking which extension is used for loadable modules" >&5
10415 echo $ECHO_N "checking which extension is used for loadable modules... $ECHO_C" >&6; }
10416 if test "${libltdl_cv_shlibext+set}" = set; then
10417 echo $ECHO_N "(cached) $ECHO_C" >&6
10421 eval libltdl_cv_shlibext
=$shrext_cmds
10424 { echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
10425 echo "${ECHO_T}$libltdl_cv_shlibext" >&6; }
10426 if test -n "$libltdl_cv_shlibext"; then
10428 cat >>confdefs.h
<<_ACEOF
10429 #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
10435 { echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
10436 echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6; }
10437 if test "${libltdl_cv_shlibpath_var+set}" = set; then
10438 echo $ECHO_N "(cached) $ECHO_C" >&6
10440 libltdl_cv_shlibpath_var
="$shlibpath_var"
10442 { echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
10443 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6; }
10444 if test -n "$libltdl_cv_shlibpath_var"; then
10446 cat >>confdefs.h
<<_ACEOF
10447 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
10453 { echo "$as_me:$LINENO: checking for the default library search path" >&5
10454 echo $ECHO_N "checking for the default library search path... $ECHO_C" >&6; }
10455 if test "${libltdl_cv_sys_search_path+set}" = set; then
10456 echo $ECHO_N "(cached) $ECHO_C" >&6
10458 libltdl_cv_sys_search_path
="$sys_lib_dlsearch_path_spec"
10460 { echo "$as_me:$LINENO: result: $libltdl_cv_sys_search_path" >&5
10461 echo "${ECHO_T}$libltdl_cv_sys_search_path" >&6; }
10462 if test -n "$libltdl_cv_sys_search_path"; then
10464 for dir
in $libltdl_cv_sys_search_path; do
10465 if test -z "$sys_search_path"; then
10466 sys_search_path
="$dir"
10468 sys_search_path
="$sys_search_path$PATH_SEPARATOR$dir"
10472 cat >>confdefs.h
<<_ACEOF
10473 #define LTDL_SYSSEARCHPATH "$sys_search_path"
10478 { echo "$as_me:$LINENO: checking for objdir" >&5
10479 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
10480 if test "${libltdl_cv_objdir+set}" = set; then
10481 echo $ECHO_N "(cached) $ECHO_C" >&6
10483 libltdl_cv_objdir
="$objdir"
10484 if test -n "$objdir"; then
10487 rm -f .libs
2>/dev
/null
10488 mkdir .libs
2>/dev
/null
10489 if test -d .libs
; then
10490 libltdl_cv_objdir
=.libs
10492 # MS-DOS does not allow filenames that begin with a dot.
10493 libltdl_cv_objdir
=_libs
10495 rmdir .libs
2>/dev
/null
10499 { echo "$as_me:$LINENO: result: $libltdl_cv_objdir" >&5
10500 echo "${ECHO_T}$libltdl_cv_objdir" >&6; }
10502 cat >>confdefs.h
<<_ACEOF
10503 #define LTDL_OBJDIR "$libltdl_cv_objdir/"
10511 # Check for command to grab the raw symbol name followed by C symbol from nm.
10512 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
10513 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
10514 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
10515 echo $ECHO_N "(cached) $ECHO_C" >&6
10518 # These are sane defaults that work on at least a few old systems.
10519 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
10521 # Character class describing NM global symbol codes.
10522 symcode
='[BCDEGRST]'
10524 # Regexp to match symbols that can be accessed directly from C.
10525 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
10527 # Transform an extracted symbol line into a proper C declaration
10528 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
10530 # Transform an extracted symbol line into symbol name and symbol address
10531 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'"
10533 # Define system-specific variables.
10538 cygwin
* | mingw
* | pw32
*)
10539 symcode
='[ABCDGISTW]'
10541 hpux
*) # Its linker distinguishes data from code symbols
10542 if test "$host_cpu" = ia64
; then
10543 symcode
='[ABCDEGRST]'
10545 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
10546 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'"
10549 if test "$host_cpu" = ia64
; then
10550 symcode
='[ABCDGIRSTW]'
10551 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
10552 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'"
10555 irix
* | nonstopux
*)
10556 symcode
='[BCDEGRST]'
10559 symcode
='[BCDEGQRST]'
10570 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10578 # Handle CRLF in mingw tool chain
10582 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
10586 # If we're using GNU nm, then use its standard symbol codes.
10587 case `$NM -V 2>&1` in
10588 *GNU
* |
*'with BFD'*)
10589 symcode
='[ABCDGIRSTW]' ;;
10592 # Try without a prefix undercore, then with it.
10593 for ac_symprfx
in "" "_"; do
10595 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
10596 symxfrm
="\\1 $ac_symprfx\\2 \\2"
10598 # Write the raw and C identifiers.
10599 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
10601 # Check to see that the pipe works correctly.
10605 cat > conftest.
$ac_ext <<EOF
10610 void nm_test_func(){}
10614 int main(){nm_test_var='a';nm_test_func();return(0);}
10617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10618 (eval $ac_compile) 2>&5
10620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10621 (exit $ac_status); }; then
10622 # Now try to grab the symbols.
10624 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
10625 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
10627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10628 (exit $ac_status); } && test -s "$nlist"; then
10629 # Try sorting and uniquifying the output.
10630 if sort "$nlist" |
uniq > "$nlist"T
; then
10631 mv -f "$nlist"T
"$nlist"
10636 # Make sure that we snagged all the symbols we need.
10637 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
10638 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
10639 cat <<EOF > conftest.$ac_ext
10645 # Now generate the symbol file.
10646 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
10648 cat <<EOF >> conftest.$ac_ext
10649 #if defined (__STDC__) && __STDC__
10650 # define lt_ptr_t void *
10652 # define lt_ptr_t char *
10656 /* The mapping between symbol names and symbols. */
10661 lt_preloaded_symbols[] =
10664 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
10665 cat <<\EOF
>> conftest.
$ac_ext
10673 # Now try linking the two files.
10674 mv conftest.
$ac_objext conftstm.
$ac_objext
10675 lt_save_LIBS
="$LIBS"
10676 lt_save_CFLAGS
="$CFLAGS"
10677 LIBS
="conftstm.$ac_objext"
10678 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
10679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10680 (eval $ac_link) 2>&5
10682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10683 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
10686 LIBS
="$lt_save_LIBS"
10687 CFLAGS
="$lt_save_CFLAGS"
10689 echo "cannot find nm_test_func in $nlist" >&5
10692 echo "cannot find nm_test_var in $nlist" >&5
10695 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
10698 echo "$progname: failed program was:" >&5
10699 cat conftest.
$ac_ext >&5
10701 rm -f conftest
* conftst
*
10703 # Do not use the global_symbol_pipe unless it works.
10704 if test "$pipe_works" = yes; then
10707 lt_cv_sys_global_symbol_pipe
=
10713 if test -z "$lt_cv_sys_global_symbol_pipe"; then
10714 lt_cv_sys_global_symbol_to_cdecl
=
10716 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
10717 { echo "$as_me:$LINENO: result: failed" >&5
10718 echo "${ECHO_T}failed" >&6; }
10720 { echo "$as_me:$LINENO: result: ok" >&5
10721 echo "${ECHO_T}ok" >&6; }
10725 { echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
10726 echo $ECHO_N "checking whether libtool supports -dlopen/-dlpreopen... $ECHO_C" >&6; }
10727 if test "${libltdl_cv_preloaded_symbols+set}" = set; then
10728 echo $ECHO_N "(cached) $ECHO_C" >&6
10730 if test -n "$lt_cv_sys_global_symbol_pipe"; then
10731 libltdl_cv_preloaded_symbols
=yes
10733 libltdl_cv_preloaded_symbols
=no
10737 { echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
10738 echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6; }
10739 if test x
"$libltdl_cv_preloaded_symbols" = xyes
; then
10741 cat >>confdefs.h
<<\_ACEOF
10742 #define HAVE_PRELOADED_SYMBOLS 1
10750 ac_cpp
='$CPP $CPPFLAGS'
10751 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10752 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10753 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10756 { echo "$as_me:$LINENO: checking for shl_load" >&5
10757 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10758 if test "${ac_cv_func_shl_load+set}" = set; then
10759 echo $ECHO_N "(cached) $ECHO_C" >&6
10761 cat >conftest.
$ac_ext <<_ACEOF
10764 cat confdefs.h
>>conftest.
$ac_ext
10765 cat >>conftest.
$ac_ext <<_ACEOF
10766 /* end confdefs.h. */
10767 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10769 #define shl_load innocuous_shl_load
10771 /* System header to define __stub macros and hopefully few prototypes,
10772 which can conflict with char shl_load (); below.
10773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10774 <limits.h> exists even on freestanding compilers. */
10777 # include <limits.h>
10779 # include <assert.h>
10784 /* Override any GCC internal prototype to avoid an error.
10785 Use char because int might match the return type of a GCC
10786 builtin and then its argument prototype would still apply. */
10791 /* The GNU C library defines this for functions which it implements
10792 to always fail with ENOSYS. Some functions are actually named
10793 something starting with __ and the normal name is an alias. */
10794 #if defined __stub_shl_load || defined __stub___shl_load
10801 return shl_load ();
10806 rm -f conftest.
$ac_objext conftest
$ac_exeext
10807 if { (ac_try
="$ac_link"
10808 case "(($ac_try" in
10809 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10810 *) ac_try_echo=$ac_try;;
10812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10813 (eval "$ac_link") 2>conftest.er1
10815 grep -v '^ *+' conftest.er1 >conftest.err
10817 cat conftest.err >&5
10818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10819 (exit $ac_status); } &&
10820 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10821 { (case "(($ac_try" in
10822 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10823 *) ac_try_echo
=$ac_try;;
10825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10826 (eval "$ac_try") 2>&5
10828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10829 (exit $ac_status); }; } &&
10830 { ac_try
='test -s conftest$ac_exeext'
10831 { (case "(($ac_try" in
10832 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10833 *) ac_try_echo=$ac_try;;
10835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10836 (eval "$ac_try") 2>&5
10838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10839 (exit $ac_status); }; }; then
10840 ac_cv_func_shl_load=yes
10842 echo "$as_me: failed program was:" >&5
10843 sed 's/^/| /' conftest.$ac_ext >&5
10845 ac_cv_func_shl_load=no
10848 rm -f core conftest.err conftest.$ac_objext \
10849 conftest$ac_exeext conftest.$ac_ext
10851 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10852 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10853 if test $ac_cv_func_shl_load = yes; then
10855 cat >>confdefs.h <<\_ACEOF
10856 #define HAVE_SHL_LOAD 1
10860 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10861 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10862 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10863 echo $ECHO_N "(cached) $ECHO_C" >&6
10865 ac_check_lib_save_LIBS=$LIBS
10867 cat >conftest.$ac_ext <<_ACEOF
10870 cat confdefs.h >>conftest.$ac_ext
10871 cat >>conftest.$ac_ext <<_ACEOF
10872 /* end confdefs.h. */
10874 /* Override any GCC internal prototype to avoid an error.
10875 Use char because int might match the return type of a GCC
10876 builtin and then its argument prototype would still apply. */
10884 return shl_load ();
10889 rm -f conftest.$ac_objext conftest$ac_exeext
10890 if { (ac_try="$ac_link"
10891 case "(($ac_try" in
10892 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10893 *) ac_try_echo
=$ac_try;;
10895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10896 (eval "$ac_link") 2>conftest.er1
10898 grep -v '^ *+' conftest.er1
>conftest.err
10900 cat conftest.err
>&5
10901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10902 (exit $ac_status); } &&
10903 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10904 { (case "(($ac_try" in
10905 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10906 *) ac_try_echo=$ac_try;;
10908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10909 (eval "$ac_try") 2>&5
10911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10912 (exit $ac_status); }; } &&
10913 { ac_try='test -s conftest$ac_exeext'
10914 { (case "(($ac_try" in
10915 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10916 *) ac_try_echo
=$ac_try;;
10918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10919 (eval "$ac_try") 2>&5
10921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10922 (exit $ac_status); }; }; then
10923 ac_cv_lib_dld_shl_load
=yes
10925 echo "$as_me: failed program was:" >&5
10926 sed 's/^/| /' conftest.
$ac_ext >&5
10928 ac_cv_lib_dld_shl_load
=no
10931 rm -f core conftest.err conftest.
$ac_objext \
10932 conftest
$ac_exeext conftest.
$ac_ext
10933 LIBS
=$ac_check_lib_save_LIBS
10935 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10936 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10937 if test $ac_cv_lib_dld_shl_load = yes; then
10939 cat >>confdefs.h
<<\_ACEOF
10940 #define HAVE_SHL_LOAD 1
10943 LIBADD_DL
="$LIBADD_DL -ldld"
10945 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10946 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10947 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10948 echo $ECHO_N "(cached) $ECHO_C" >&6
10950 ac_check_lib_save_LIBS
=$LIBS
10952 cat >conftest.
$ac_ext <<_ACEOF
10955 cat confdefs.h
>>conftest.
$ac_ext
10956 cat >>conftest.
$ac_ext <<_ACEOF
10957 /* end confdefs.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. */
10974 rm -f conftest.
$ac_objext conftest
$ac_exeext
10975 if { (ac_try
="$ac_link"
10976 case "(($ac_try" in
10977 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10978 *) ac_try_echo=$ac_try;;
10980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10981 (eval "$ac_link") 2>conftest.er1
10983 grep -v '^ *+' conftest.er1 >conftest.err
10985 cat conftest.err >&5
10986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10987 (exit $ac_status); } &&
10988 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10989 { (case "(($ac_try" in
10990 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10991 *) ac_try_echo
=$ac_try;;
10993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10994 (eval "$ac_try") 2>&5
10996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10997 (exit $ac_status); }; } &&
10998 { ac_try
='test -s conftest$ac_exeext'
10999 { (case "(($ac_try" in
11000 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11001 *) ac_try_echo=$ac_try;;
11003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11004 (eval "$ac_try") 2>&5
11006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11007 (exit $ac_status); }; }; then
11008 ac_cv_lib_dl_dlopen=yes
11010 echo "$as_me: failed program was:" >&5
11011 sed 's/^/| /' conftest.$ac_ext >&5
11013 ac_cv_lib_dl_dlopen=no
11016 rm -f core conftest.err conftest.$ac_objext \
11017 conftest$ac_exeext conftest.$ac_ext
11018 LIBS=$ac_check_lib_save_LIBS
11020 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11021 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11022 if test $ac_cv_lib_dl_dlopen = yes; then
11024 cat >>confdefs.h <<\_ACEOF
11025 #define HAVE_LIBDL 1
11028 LIBADD_DL="-ldl" libltdl_cv_lib_dl_dlopen="yes"
11030 cat >conftest.$ac_ext <<_ACEOF
11033 cat confdefs.h >>conftest.$ac_ext
11034 cat >>conftest.$ac_ext <<_ACEOF
11035 /* end confdefs.h. */
11037 # include <dlfcn.h>
11048 rm -f conftest.$ac_objext conftest$ac_exeext
11049 if { (ac_try="$ac_link"
11050 case "(($ac_try" in
11051 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11052 *) ac_try_echo
=$ac_try;;
11054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11055 (eval "$ac_link") 2>conftest.er1
11057 grep -v '^ *+' conftest.er1
>conftest.err
11059 cat conftest.err
>&5
11060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11061 (exit $ac_status); } &&
11062 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11063 { (case "(($ac_try" in
11064 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11065 *) ac_try_echo=$ac_try;;
11067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11068 (eval "$ac_try") 2>&5
11070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11071 (exit $ac_status); }; } &&
11072 { ac_try='test -s conftest$ac_exeext'
11073 { (case "(($ac_try" in
11074 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11075 *) ac_try_echo
=$ac_try;;
11077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11078 (eval "$ac_try") 2>&5
11080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11081 (exit $ac_status); }; }; then
11083 cat >>confdefs.h
<<\_ACEOF
11084 #define HAVE_LIBDL 1
11086 libltdl_cv_func_dlopen
="yes"
11088 echo "$as_me: failed program was:" >&5
11089 sed 's/^/| /' conftest.
$ac_ext >&5
11091 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11092 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
11093 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11094 echo $ECHO_N "(cached) $ECHO_C" >&6
11096 ac_check_lib_save_LIBS
=$LIBS
11097 LIBS
="-lsvld $LIBS"
11098 cat >conftest.
$ac_ext <<_ACEOF
11101 cat confdefs.h
>>conftest.
$ac_ext
11102 cat >>conftest.
$ac_ext <<_ACEOF
11103 /* end confdefs.h. */
11105 /* Override any GCC internal prototype to avoid an error.
11106 Use char because int might match the return type of a GCC
11107 builtin and then its argument prototype would still apply. */
11120 rm -f conftest.
$ac_objext conftest
$ac_exeext
11121 if { (ac_try
="$ac_link"
11122 case "(($ac_try" in
11123 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11124 *) ac_try_echo=$ac_try;;
11126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11127 (eval "$ac_link") 2>conftest.er1
11129 grep -v '^ *+' conftest.er1 >conftest.err
11131 cat conftest.err >&5
11132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11133 (exit $ac_status); } &&
11134 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11135 { (case "(($ac_try" in
11136 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11137 *) ac_try_echo
=$ac_try;;
11139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11140 (eval "$ac_try") 2>&5
11142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11143 (exit $ac_status); }; } &&
11144 { ac_try
='test -s conftest$ac_exeext'
11145 { (case "(($ac_try" in
11146 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11147 *) ac_try_echo=$ac_try;;
11149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11150 (eval "$ac_try") 2>&5
11152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11153 (exit $ac_status); }; }; then
11154 ac_cv_lib_svld_dlopen=yes
11156 echo "$as_me: failed program was:" >&5
11157 sed 's/^/| /' conftest.$ac_ext >&5
11159 ac_cv_lib_svld_dlopen=no
11162 rm -f core conftest.err conftest.$ac_objext \
11163 conftest$ac_exeext conftest.$ac_ext
11164 LIBS=$ac_check_lib_save_LIBS
11166 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11167 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
11168 if test $ac_cv_lib_svld_dlopen = yes; then
11170 cat >>confdefs.h <<\_ACEOF
11171 #define HAVE_LIBDL 1
11174 LIBADD_DL="-lsvld" libltdl_cv_func_dlopen="yes"
11176 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11177 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
11178 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11179 echo $ECHO_N "(cached) $ECHO_C" >&6
11181 ac_check_lib_save_LIBS=$LIBS
11183 cat >conftest.$ac_ext <<_ACEOF
11186 cat confdefs.h >>conftest.$ac_ext
11187 cat >>conftest.$ac_ext <<_ACEOF
11188 /* end confdefs.h. */
11190 /* Override any GCC internal prototype to avoid an error.
11191 Use char because int might match the return type of a GCC
11192 builtin and then its argument prototype would still apply. */
11200 return dld_link ();
11205 rm -f conftest.$ac_objext conftest$ac_exeext
11206 if { (ac_try="$ac_link"
11207 case "(($ac_try" in
11208 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11209 *) ac_try_echo
=$ac_try;;
11211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11212 (eval "$ac_link") 2>conftest.er1
11214 grep -v '^ *+' conftest.er1
>conftest.err
11216 cat conftest.err
>&5
11217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11218 (exit $ac_status); } &&
11219 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11220 { (case "(($ac_try" in
11221 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11222 *) ac_try_echo=$ac_try;;
11224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11225 (eval "$ac_try") 2>&5
11227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11228 (exit $ac_status); }; } &&
11229 { ac_try='test -s conftest$ac_exeext'
11230 { (case "(($ac_try" in
11231 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11232 *) ac_try_echo
=$ac_try;;
11234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11235 (eval "$ac_try") 2>&5
11237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11238 (exit $ac_status); }; }; then
11239 ac_cv_lib_dld_dld_link
=yes
11241 echo "$as_me: failed program was:" >&5
11242 sed 's/^/| /' conftest.
$ac_ext >&5
11244 ac_cv_lib_dld_dld_link
=no
11247 rm -f core conftest.err conftest.
$ac_objext \
11248 conftest
$ac_exeext conftest.
$ac_ext
11249 LIBS
=$ac_check_lib_save_LIBS
11251 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11252 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11253 if test $ac_cv_lib_dld_dld_link = yes; then
11255 cat >>confdefs.h
<<\_ACEOF
11259 LIBADD_DL
="$LIBADD_DL -ldld"
11261 { echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
11262 echo $ECHO_N "checking for _dyld_func_lookup... $ECHO_C" >&6; }
11263 if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
11264 echo $ECHO_N "(cached) $ECHO_C" >&6
11266 cat >conftest.
$ac_ext <<_ACEOF
11269 cat confdefs.h
>>conftest.
$ac_ext
11270 cat >>conftest.
$ac_ext <<_ACEOF
11271 /* end confdefs.h. */
11272 /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
11273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11274 #define _dyld_func_lookup innocuous__dyld_func_lookup
11276 /* System header to define __stub macros and hopefully few prototypes,
11277 which can conflict with char _dyld_func_lookup (); below.
11278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11279 <limits.h> exists even on freestanding compilers. */
11282 # include <limits.h>
11284 # include <assert.h>
11287 #undef _dyld_func_lookup
11289 /* Override any GCC internal prototype to avoid an error.
11290 Use char because int might match the return type of a GCC
11291 builtin and then its argument prototype would still apply. */
11295 char _dyld_func_lookup ();
11296 /* The GNU C library defines this for functions which it implements
11297 to always fail with ENOSYS. Some functions are actually named
11298 something starting with __ and the normal name is an alias. */
11299 #if defined __stub__dyld_func_lookup || defined __stub____dyld_func_lookup
11306 return _dyld_func_lookup ();
11311 rm -f conftest.
$ac_objext conftest
$ac_exeext
11312 if { (ac_try
="$ac_link"
11313 case "(($ac_try" in
11314 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11315 *) ac_try_echo=$ac_try;;
11317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11318 (eval "$ac_link") 2>conftest.er1
11320 grep -v '^ *+' conftest.er1 >conftest.err
11322 cat conftest.err >&5
11323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11324 (exit $ac_status); } &&
11325 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11326 { (case "(($ac_try" in
11327 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11328 *) ac_try_echo
=$ac_try;;
11330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11331 (eval "$ac_try") 2>&5
11333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11334 (exit $ac_status); }; } &&
11335 { ac_try
='test -s conftest$ac_exeext'
11336 { (case "(($ac_try" in
11337 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11338 *) ac_try_echo=$ac_try;;
11340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11341 (eval "$ac_try") 2>&5
11343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11344 (exit $ac_status); }; }; then
11345 ac_cv_func__dyld_func_lookup=yes
11347 echo "$as_me: failed program was:" >&5
11348 sed 's/^/| /' conftest.$ac_ext >&5
11350 ac_cv_func__dyld_func_lookup=no
11353 rm -f core conftest.err conftest.$ac_objext \
11354 conftest$ac_exeext conftest.$ac_ext
11356 { echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
11357 echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6; }
11358 if test $ac_cv_func__dyld_func_lookup = yes; then
11360 cat >>confdefs.h <<\_ACEOF
11361 #define HAVE_DYLD 1
11375 rm -f core conftest.err conftest.$ac_objext \
11376 conftest$ac_exeext conftest.$ac_ext
11387 if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
11389 lt_save_LIBS="$LIBS"
11390 LIBS="$LIBS $LIBADD_DL"
11392 for ac_func in dlerror
11394 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
11395 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11397 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11398 echo $ECHO_N "(cached) $ECHO_C" >&6
11400 cat >conftest.$ac_ext <<_ACEOF
11403 cat confdefs.h >>conftest.$ac_ext
11404 cat >>conftest.$ac_ext <<_ACEOF
11405 /* end confdefs.h. */
11406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11408 #define $ac_func innocuous_$ac_func
11410 /* System header to define __stub macros and hopefully few prototypes,
11411 which can conflict with char $ac_func (); below.
11412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11413 <limits.h> exists even on freestanding compilers. */
11416 # include <limits.h>
11418 # include <assert.h>
11423 /* Override any GCC internal prototype to avoid an error.
11424 Use char because int might match the return type of a GCC
11425 builtin and then its argument prototype would still apply. */
11430 /* The GNU C library defines this for functions which it implements
11431 to always fail with ENOSYS. Some functions are actually named
11432 something starting with __ and the normal name is an alias. */
11433 #if defined __stub_$ac_func || defined __stub___$ac_func
11440 return $ac_func ();
11445 rm -f conftest.$ac_objext conftest$ac_exeext
11446 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
11454 grep -v '^ *+' conftest.er1
>conftest.err
11456 cat conftest.err
>&5
11457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11458 (exit $ac_status); } &&
11459 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11460 { (case "(($ac_try" in
11461 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11462 *) ac_try_echo=$ac_try;;
11464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11465 (eval "$ac_try") 2>&5
11467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11468 (exit $ac_status); }; } &&
11469 { ac_try='test -s conftest$ac_exeext'
11470 { (case "(($ac_try" in
11471 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11472 *) ac_try_echo
=$ac_try;;
11474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11475 (eval "$ac_try") 2>&5
11477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11478 (exit $ac_status); }; }; then
11479 eval "$as_ac_var=yes"
11481 echo "$as_me: failed program was:" >&5
11482 sed 's/^/| /' conftest.
$ac_ext >&5
11484 eval "$as_ac_var=no"
11487 rm -f core conftest.err conftest.
$ac_objext \
11488 conftest
$ac_exeext conftest.
$ac_ext
11490 ac_res
=`eval echo '${'$as_ac_var'}'`
11491 { echo "$as_me:$LINENO: result: $ac_res" >&5
11492 echo "${ECHO_T}$ac_res" >&6; }
11493 if test `eval echo '${'$as_ac_var'}'` = yes; then
11494 cat >>confdefs.h
<<_ACEOF
11495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11501 LIBS
="$lt_save_LIBS"
11504 ac_cpp
='$CPP $CPPFLAGS'
11505 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11506 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11507 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11511 { echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
11512 echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6; }
11513 if test "${ac_cv_sys_symbol_underscore+set}" = set; then
11514 echo $ECHO_N "(cached) $ECHO_C" >&6
11516 ac_cv_sys_symbol_underscore
=no
11517 cat > conftest.
$ac_ext <<EOF
11518 void nm_test_func(){}
11519 int main(){nm_test_func;return 0;}
11521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11522 (eval $ac_compile) 2>&5
11524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11525 (exit $ac_status); }; then
11526 # Now try to grab the symbols.
11527 ac_nlist
=conftest.nm
11528 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
11529 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $ac_nlist) 2>&5
11531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11532 (exit $ac_status); } && test -s "$ac_nlist"; then
11533 # See whether the symbols have a leading underscore.
11534 if grep '^. _nm_test_func' "$ac_nlist" >/dev
/null
; then
11535 ac_cv_sys_symbol_underscore
=yes
11537 if grep '^. nm_test_func ' "$ac_nlist" >/dev
/null
; then
11540 echo "configure: cannot find nm_test_func in $ac_nlist" >&5
11544 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
11547 echo "configure: failed program was:" >&5
11553 { echo "$as_me:$LINENO: result: $ac_cv_sys_symbol_underscore" >&5
11554 echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6; }
11557 if test x
"$ac_cv_sys_symbol_underscore" = xyes
; then
11558 if test x
"$libltdl_cv_func_dlopen" = xyes ||
11559 test x
"$libltdl_cv_lib_dl_dlopen" = xyes
; then
11560 { echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
11561 echo $ECHO_N "checking whether we have to add an underscore for dlsym... $ECHO_C" >&6; }
11562 if test "${libltdl_cv_need_uscore+set}" = set; then
11563 echo $ECHO_N "(cached) $ECHO_C" >&6
11565 libltdl_cv_need_uscore
=unknown
11567 LIBS
="$LIBS $LIBADD_DL"
11568 if test "$cross_compiling" = yes; then :
11569 libltdl_cv_need_uscore
=cross
11571 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11572 lt_status
=$lt_dlunknown
11573 cat > conftest.
$ac_ext <<EOF
11574 #line 11574 "configure"
11575 #include "confdefs.h"
11584 # define LT_DLGLOBAL RTLD_GLOBAL
11587 # define LT_DLGLOBAL DL_GLOBAL
11589 # define LT_DLGLOBAL 0
11593 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11594 find out it does not work in some platform. */
11595 #ifndef LT_DLLAZY_OR_NOW
11597 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11600 # define LT_DLLAZY_OR_NOW DL_LAZY
11603 # define LT_DLLAZY_OR_NOW RTLD_NOW
11606 # define LT_DLLAZY_OR_NOW DL_NOW
11608 # define LT_DLLAZY_OR_NOW 0
11616 extern "C" void exit (int);
11619 void fnord() { int i=42;}
11622 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11623 int status = $lt_dlunknown;
11627 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11628 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11629 /* dlclose (self); */
11637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11638 (eval $ac_link) 2>&5
11640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11641 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11642 (.
/conftest
; exit; ) >&5 2>/dev
/null
11644 case x
$lt_status in
11645 x
$lt_dlno_uscore) libltdl_cv_need_uscore
=no
;;
11646 x
$lt_dlneed_uscore) libltdl_cv_need_uscore
=yes ;;
11647 x
$lt_dlunknown|x
*) ;;
11650 # compilation failed
11659 { echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
11660 echo "${ECHO_T}$libltdl_cv_need_uscore" >&6; }
11664 if test x
"$libltdl_cv_need_uscore" = xyes
; then
11666 cat >>confdefs.h
<<\_ACEOF
11667 #define NEED_USCORE 1
11673 { echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
11674 echo $ECHO_N "checking whether deplibs are loaded by dlopen... $ECHO_C" >&6; }
11675 if test "${libltdl_cv_sys_dlopen_deplibs+set}" = set; then
11676 echo $ECHO_N "(cached) $ECHO_C" >&6
11678 # PORTME does your system automatically load deplibs for dlopen?
11679 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
11680 # For now, we just catch OSes we know something about -- in the
11681 # future, we'll try test this programmatically.
11682 libltdl_cv_sys_dlopen_deplibs
=unknown
11684 aix3
*|aix4.1.
*|aix4.2.
*)
11685 # Unknown whether this is true for these versions of AIX, but
11686 # we want this `case' here to explicitly catch those versions.
11687 libltdl_cv_sys_dlopen_deplibs
=unknown
11690 libltdl_cv_sys_dlopen_deplibs
=yes
11693 # Assuming the user has installed a libdl from somewhere, this is true
11694 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
11695 libltdl_cv_sys_dlopen_deplibs
=yes
11697 gnu
* | linux
* | kfreebsd
*-gnu | knetbsd
*-gnu)
11698 # GNU and its variants, using gnu ld.so (Glibc)
11699 libltdl_cv_sys_dlopen_deplibs
=yes
11702 libltdl_cv_sys_dlopen_deplibs
=yes
11705 libltdl_cv_sys_dlopen_deplibs
=yes
11707 irix
[12345]*|irix6.
[01]*)
11708 # Catch all versions of IRIX before 6.2, and indicate that we don't
11709 # know how it worked for any of those versions.
11710 libltdl_cv_sys_dlopen_deplibs
=unknown
11713 # The case above catches anything before 6.2, and it's known that
11714 # at 6.2 and later dlopen does load deplibs.
11715 libltdl_cv_sys_dlopen_deplibs
=yes
11718 libltdl_cv_sys_dlopen_deplibs
=yes
11721 libltdl_cv_sys_dlopen_deplibs
=yes
11724 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
11725 # it did *not* use an RPATH in a shared library to find objects the
11726 # library depends on, so we explicitly say `no'.
11727 libltdl_cv_sys_dlopen_deplibs
=no
11729 osf5.0|osf5.0a|osf5.1
)
11730 # dlopen *does* load deplibs and with the right loader patch applied
11731 # it even uses RPATH in a shared library to search for shared objects
11732 # that the library depends on, but there's no easy way to know if that
11733 # patch is installed. Since this is the case, all we can really
11734 # say is unknown -- it depends on the patch being installed. If
11735 # it is, this changes to `yes'. Without it, it would be `no'.
11736 libltdl_cv_sys_dlopen_deplibs
=unknown
11739 # the two cases above should catch all versions of osf <= 5.1. Read
11740 # the comments above for what we know about them.
11741 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
11742 # is used to find them so we can finally say `yes'.
11743 libltdl_cv_sys_dlopen_deplibs
=yes
11746 libltdl_cv_sys_dlopen_deplibs
=yes
11748 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11749 libltdl_cv_sys_dlopen_deplibs
=yes
11754 { echo "$as_me:$LINENO: result: $libltdl_cv_sys_dlopen_deplibs" >&5
11755 echo "${ECHO_T}$libltdl_cv_sys_dlopen_deplibs" >&6; }
11756 if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
11758 cat >>confdefs.h
<<\_ACEOF
11759 #define LTDL_DLOPEN_DEPLIBS 1
11765 for ac_header
in argz.h
11767 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11768 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11769 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11770 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11771 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11772 echo $ECHO_N "(cached) $ECHO_C" >&6
11774 ac_res
=`eval echo '${'$as_ac_Header'}'`
11775 { echo "$as_me:$LINENO: result: $ac_res" >&5
11776 echo "${ECHO_T}$ac_res" >&6; }
11778 # Is the header compilable?
11779 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11780 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11781 cat >conftest.
$ac_ext <<_ACEOF
11784 cat confdefs.h
>>conftest.
$ac_ext
11785 cat >>conftest.
$ac_ext <<_ACEOF
11786 /* end confdefs.h. */
11787 $ac_includes_default
11788 #include <$ac_header>
11790 rm -f conftest.
$ac_objext
11791 if { (ac_try
="$ac_compile"
11792 case "(($ac_try" in
11793 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11794 *) ac_try_echo=$ac_try;;
11796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11797 (eval "$ac_compile") 2>conftest.er1
11799 grep -v '^ *+' conftest.er1 >conftest.err
11801 cat conftest.err >&5
11802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11803 (exit $ac_status); } &&
11804 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11805 { (case "(($ac_try" in
11806 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11807 *) ac_try_echo
=$ac_try;;
11809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11810 (eval "$ac_try") 2>&5
11812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11813 (exit $ac_status); }; } &&
11814 { ac_try
='test -s conftest.$ac_objext'
11815 { (case "(($ac_try" in
11816 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11817 *) ac_try_echo=$ac_try;;
11819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11820 (eval "$ac_try") 2>&5
11822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11823 (exit $ac_status); }; }; then
11824 ac_header_compiler=yes
11826 echo "$as_me: failed program was:" >&5
11827 sed 's/^/| /' conftest.$ac_ext >&5
11829 ac_header_compiler=no
11832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11833 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11834 echo "${ECHO_T}$ac_header_compiler" >&6; }
11836 # Is the header present?
11837 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11838 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11839 cat >conftest.$ac_ext <<_ACEOF
11842 cat confdefs.h >>conftest.$ac_ext
11843 cat >>conftest.$ac_ext <<_ACEOF
11844 /* end confdefs.h. */
11845 #include <$ac_header>
11847 if { (ac_try="$ac_cpp conftest.$ac_ext"
11848 case "(($ac_try" in
11849 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11850 *) ac_try_echo
=$ac_try;;
11852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11853 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11855 grep -v '^ *+' conftest.er1
>conftest.err
11857 cat conftest.err
>&5
11858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11859 (exit $ac_status); } >/dev
/null
; then
11860 if test -s conftest.err
; then
11861 ac_cpp_err
=$ac_c_preproc_warn_flag
11862 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11869 if test -z "$ac_cpp_err"; then
11870 ac_header_preproc
=yes
11872 echo "$as_me: failed program was:" >&5
11873 sed 's/^/| /' conftest.
$ac_ext >&5
11875 ac_header_preproc
=no
11878 rm -f conftest.err conftest.
$ac_ext
11879 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11880 echo "${ECHO_T}$ac_header_preproc" >&6; }
11882 # So? What about this header?
11883 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11885 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11886 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11887 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11888 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11889 ac_header_preproc
=yes
11892 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11893 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11894 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11895 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11896 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11897 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11898 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11899 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11900 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11901 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11902 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11903 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11905 ## ----------------------------------- ##
11906 ## Report this to llvmbugs@cs.uiuc.edu ##
11907 ## ----------------------------------- ##
11909 ) |
sed "s/^/$as_me: WARNING: /" >&2
11912 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11913 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11914 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11915 echo $ECHO_N "(cached) $ECHO_C" >&6
11917 eval "$as_ac_Header=\$ac_header_preproc"
11919 ac_res
=`eval echo '${'$as_ac_Header'}'`
11920 { echo "$as_me:$LINENO: result: $ac_res" >&5
11921 echo "${ECHO_T}$ac_res" >&6; }
11924 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11925 cat >>confdefs.h
<<_ACEOF
11926 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11934 { echo "$as_me:$LINENO: checking for error_t" >&5
11935 echo $ECHO_N "checking for error_t... $ECHO_C" >&6; }
11936 if test "${ac_cv_type_error_t+set}" = set; then
11937 echo $ECHO_N "(cached) $ECHO_C" >&6
11939 cat >conftest.
$ac_ext <<_ACEOF
11942 cat confdefs.h
>>conftest.
$ac_ext
11943 cat >>conftest.
$ac_ext <<_ACEOF
11944 /* end confdefs.h. */
11949 typedef error_t ac__type_new_;
11953 if ((ac__type_new_ *) 0)
11955 if (sizeof (ac__type_new_))
11961 rm -f conftest.
$ac_objext
11962 if { (ac_try
="$ac_compile"
11963 case "(($ac_try" in
11964 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11965 *) ac_try_echo=$ac_try;;
11967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11968 (eval "$ac_compile") 2>conftest.er1
11970 grep -v '^ *+' conftest.er1 >conftest.err
11972 cat conftest.err >&5
11973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11974 (exit $ac_status); } &&
11975 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11976 { (case "(($ac_try" in
11977 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11978 *) ac_try_echo
=$ac_try;;
11980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11981 (eval "$ac_try") 2>&5
11983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11984 (exit $ac_status); }; } &&
11985 { ac_try
='test -s conftest.$ac_objext'
11986 { (case "(($ac_try" in
11987 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11988 *) ac_try_echo=$ac_try;;
11990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11991 (eval "$ac_try") 2>&5
11993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11994 (exit $ac_status); }; }; then
11995 ac_cv_type_error_t=yes
11997 echo "$as_me: failed program was:" >&5
11998 sed 's/^/| /' conftest.$ac_ext >&5
12000 ac_cv_type_error_t=no
12003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12005 { echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
12006 echo "${ECHO_T}$ac_cv_type_error_t" >&6; }
12007 if test $ac_cv_type_error_t = yes; then
12009 cat >>confdefs.h <<_ACEOF
12010 #define HAVE_ERROR_T 1
12016 cat >>confdefs.h <<\_ACEOF
12017 #define error_t int
12028 for ac_func in argz_append argz_create_sep argz_insert argz_next argz_stringify
12030 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
12031 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12033 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12034 echo $ECHO_N "(cached) $ECHO_C" >&6
12036 cat >conftest.$ac_ext <<_ACEOF
12039 cat confdefs.h >>conftest.$ac_ext
12040 cat >>conftest.$ac_ext <<_ACEOF
12041 /* end confdefs.h. */
12042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12044 #define $ac_func innocuous_$ac_func
12046 /* System header to define __stub macros and hopefully few prototypes,
12047 which can conflict with char $ac_func (); below.
12048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12049 <limits.h> exists even on freestanding compilers. */
12052 # include <limits.h>
12054 # include <assert.h>
12059 /* Override any GCC internal prototype to avoid an error.
12060 Use char because int might match the return type of a GCC
12061 builtin and then its argument prototype would still apply. */
12066 /* The GNU C library defines this for functions which it implements
12067 to always fail with ENOSYS. Some functions are actually named
12068 something starting with __ and the normal name is an alias. */
12069 #if defined __stub_$ac_func || defined __stub___$ac_func
12076 return $ac_func ();
12081 rm -f conftest.$ac_objext conftest$ac_exeext
12082 if { (ac_try="$ac_link"
12083 case "(($ac_try" in
12084 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12085 *) ac_try_echo
=$ac_try;;
12087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12088 (eval "$ac_link") 2>conftest.er1
12090 grep -v '^ *+' conftest.er1
>conftest.err
12092 cat conftest.err
>&5
12093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12094 (exit $ac_status); } &&
12095 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12096 { (case "(($ac_try" in
12097 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12098 *) ac_try_echo=$ac_try;;
12100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12101 (eval "$ac_try") 2>&5
12103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12104 (exit $ac_status); }; } &&
12105 { ac_try='test -s conftest$ac_exeext'
12106 { (case "(($ac_try" in
12107 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12108 *) ac_try_echo
=$ac_try;;
12110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12111 (eval "$ac_try") 2>&5
12113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12114 (exit $ac_status); }; }; then
12115 eval "$as_ac_var=yes"
12117 echo "$as_me: failed program was:" >&5
12118 sed 's/^/| /' conftest.
$ac_ext >&5
12120 eval "$as_ac_var=no"
12123 rm -f core conftest.err conftest.
$ac_objext \
12124 conftest
$ac_exeext conftest.
$ac_ext
12126 ac_res
=`eval echo '${'$as_ac_var'}'`
12127 { echo "$as_me:$LINENO: result: $ac_res" >&5
12128 echo "${ECHO_T}$ac_res" >&6; }
12129 if test `eval echo '${'$as_ac_var'}'` = yes; then
12130 cat >>confdefs.h
<<_ACEOF
12131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12164 for ac_header
in assert.h ctype.h errno.h malloc.h memory.h stdlib.h \
12167 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12168 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12169 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12170 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12171 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12172 echo $ECHO_N "(cached) $ECHO_C" >&6
12174 ac_res
=`eval echo '${'$as_ac_Header'}'`
12175 { echo "$as_me:$LINENO: result: $ac_res" >&5
12176 echo "${ECHO_T}$ac_res" >&6; }
12178 # Is the header compilable?
12179 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12180 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12181 cat >conftest.
$ac_ext <<_ACEOF
12184 cat confdefs.h
>>conftest.
$ac_ext
12185 cat >>conftest.
$ac_ext <<_ACEOF
12186 /* end confdefs.h. */
12187 $ac_includes_default
12188 #include <$ac_header>
12190 rm -f conftest.
$ac_objext
12191 if { (ac_try
="$ac_compile"
12192 case "(($ac_try" in
12193 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12194 *) ac_try_echo=$ac_try;;
12196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12197 (eval "$ac_compile") 2>conftest.er1
12199 grep -v '^ *+' conftest.er1 >conftest.err
12201 cat conftest.err >&5
12202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12203 (exit $ac_status); } &&
12204 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12205 { (case "(($ac_try" in
12206 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12207 *) ac_try_echo
=$ac_try;;
12209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12210 (eval "$ac_try") 2>&5
12212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12213 (exit $ac_status); }; } &&
12214 { ac_try
='test -s conftest.$ac_objext'
12215 { (case "(($ac_try" in
12216 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12217 *) ac_try_echo=$ac_try;;
12219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12220 (eval "$ac_try") 2>&5
12222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12223 (exit $ac_status); }; }; then
12224 ac_header_compiler=yes
12226 echo "$as_me: failed program was:" >&5
12227 sed 's/^/| /' conftest.$ac_ext >&5
12229 ac_header_compiler=no
12232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12233 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12234 echo "${ECHO_T}$ac_header_compiler" >&6; }
12236 # Is the header present?
12237 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12238 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12239 cat >conftest.$ac_ext <<_ACEOF
12242 cat confdefs.h >>conftest.$ac_ext
12243 cat >>conftest.$ac_ext <<_ACEOF
12244 /* end confdefs.h. */
12245 #include <$ac_header>
12247 if { (ac_try="$ac_cpp conftest.$ac_ext"
12248 case "(($ac_try" in
12249 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12250 *) ac_try_echo
=$ac_try;;
12252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12253 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12255 grep -v '^ *+' conftest.er1
>conftest.err
12257 cat conftest.err
>&5
12258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12259 (exit $ac_status); } >/dev
/null
; then
12260 if test -s conftest.err
; then
12261 ac_cpp_err
=$ac_c_preproc_warn_flag
12262 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12269 if test -z "$ac_cpp_err"; then
12270 ac_header_preproc
=yes
12272 echo "$as_me: failed program was:" >&5
12273 sed 's/^/| /' conftest.
$ac_ext >&5
12275 ac_header_preproc
=no
12278 rm -f conftest.err conftest.
$ac_ext
12279 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12280 echo "${ECHO_T}$ac_header_preproc" >&6; }
12282 # So? What about this header?
12283 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12285 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12286 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12287 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12288 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12289 ac_header_preproc
=yes
12292 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12293 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12294 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12295 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12296 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12297 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12298 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12299 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12300 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12301 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12302 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12303 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12305 ## ----------------------------------- ##
12306 ## Report this to llvmbugs@cs.uiuc.edu ##
12307 ## ----------------------------------- ##
12309 ) |
sed "s/^/$as_me: WARNING: /" >&2
12312 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12313 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12314 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12315 echo $ECHO_N "(cached) $ECHO_C" >&6
12317 eval "$as_ac_Header=\$ac_header_preproc"
12319 ac_res
=`eval echo '${'$as_ac_Header'}'`
12320 { echo "$as_me:$LINENO: result: $ac_res" >&5
12321 echo "${ECHO_T}$ac_res" >&6; }
12324 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12325 cat >>confdefs.h
<<_ACEOF
12326 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12337 for ac_header
in dl.h sys
/dl.h dld.h mach-o
/dyld.h
12339 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12340 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12341 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12342 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12343 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12344 echo $ECHO_N "(cached) $ECHO_C" >&6
12346 ac_res
=`eval echo '${'$as_ac_Header'}'`
12347 { echo "$as_me:$LINENO: result: $ac_res" >&5
12348 echo "${ECHO_T}$ac_res" >&6; }
12350 # Is the header compilable?
12351 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12352 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12353 cat >conftest.
$ac_ext <<_ACEOF
12356 cat confdefs.h
>>conftest.
$ac_ext
12357 cat >>conftest.
$ac_ext <<_ACEOF
12358 /* end confdefs.h. */
12359 $ac_includes_default
12360 #include <$ac_header>
12362 rm -f conftest.
$ac_objext
12363 if { (ac_try
="$ac_compile"
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_compile") 2>conftest.er1
12371 grep -v '^ *+' conftest.er1 >conftest.err
12373 cat conftest.err >&5
12374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12375 (exit $ac_status); } &&
12376 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12377 { (case "(($ac_try" in
12378 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12379 *) ac_try_echo
=$ac_try;;
12381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12382 (eval "$ac_try") 2>&5
12384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12385 (exit $ac_status); }; } &&
12386 { ac_try
='test -s conftest.$ac_objext'
12387 { (case "(($ac_try" in
12388 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12389 *) ac_try_echo=$ac_try;;
12391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12392 (eval "$ac_try") 2>&5
12394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12395 (exit $ac_status); }; }; then
12396 ac_header_compiler=yes
12398 echo "$as_me: failed program was:" >&5
12399 sed 's/^/| /' conftest.$ac_ext >&5
12401 ac_header_compiler=no
12404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12405 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12406 echo "${ECHO_T}$ac_header_compiler" >&6; }
12408 # Is the header present?
12409 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12410 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12411 cat >conftest.$ac_ext <<_ACEOF
12414 cat confdefs.h >>conftest.$ac_ext
12415 cat >>conftest.$ac_ext <<_ACEOF
12416 /* end confdefs.h. */
12417 #include <$ac_header>
12419 if { (ac_try="$ac_cpp conftest.$ac_ext"
12420 case "(($ac_try" in
12421 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12422 *) ac_try_echo
=$ac_try;;
12424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12425 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12427 grep -v '^ *+' conftest.er1
>conftest.err
12429 cat conftest.err
>&5
12430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12431 (exit $ac_status); } >/dev
/null
; then
12432 if test -s conftest.err
; then
12433 ac_cpp_err
=$ac_c_preproc_warn_flag
12434 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12441 if test -z "$ac_cpp_err"; then
12442 ac_header_preproc
=yes
12444 echo "$as_me: failed program was:" >&5
12445 sed 's/^/| /' conftest.
$ac_ext >&5
12447 ac_header_preproc
=no
12450 rm -f conftest.err conftest.
$ac_ext
12451 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12452 echo "${ECHO_T}$ac_header_preproc" >&6; }
12454 # So? What about this header?
12455 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12457 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12458 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12459 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12460 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12461 ac_header_preproc
=yes
12464 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12465 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12466 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12467 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12468 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12469 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12470 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12471 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12472 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12473 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12474 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12475 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12477 ## ----------------------------------- ##
12478 ## Report this to llvmbugs@cs.uiuc.edu ##
12479 ## ----------------------------------- ##
12481 ) |
sed "s/^/$as_me: WARNING: /" >&2
12484 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12486 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12487 echo $ECHO_N "(cached) $ECHO_C" >&6
12489 eval "$as_ac_Header=\$ac_header_preproc"
12491 ac_res
=`eval echo '${'$as_ac_Header'}'`
12492 { echo "$as_me:$LINENO: result: $ac_res" >&5
12493 echo "${ECHO_T}$ac_res" >&6; }
12496 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12497 cat >>confdefs.h
<<_ACEOF
12498 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12507 for ac_header
in string.h
strings.h
12509 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12510 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12511 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12513 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12514 echo $ECHO_N "(cached) $ECHO_C" >&6
12516 ac_res
=`eval echo '${'$as_ac_Header'}'`
12517 { echo "$as_me:$LINENO: result: $ac_res" >&5
12518 echo "${ECHO_T}$ac_res" >&6; }
12520 # Is the header compilable?
12521 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12522 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12523 cat >conftest.
$ac_ext <<_ACEOF
12526 cat confdefs.h
>>conftest.
$ac_ext
12527 cat >>conftest.
$ac_ext <<_ACEOF
12528 /* end confdefs.h. */
12529 $ac_includes_default
12530 #include <$ac_header>
12532 rm -f conftest.
$ac_objext
12533 if { (ac_try
="$ac_compile"
12534 case "(($ac_try" in
12535 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12536 *) ac_try_echo=$ac_try;;
12538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12539 (eval "$ac_compile") 2>conftest.er1
12541 grep -v '^ *+' conftest.er1 >conftest.err
12543 cat conftest.err >&5
12544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12545 (exit $ac_status); } &&
12546 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12547 { (case "(($ac_try" in
12548 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12549 *) ac_try_echo
=$ac_try;;
12551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12552 (eval "$ac_try") 2>&5
12554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12555 (exit $ac_status); }; } &&
12556 { ac_try
='test -s conftest.$ac_objext'
12557 { (case "(($ac_try" in
12558 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12559 *) ac_try_echo=$ac_try;;
12561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12562 (eval "$ac_try") 2>&5
12564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565 (exit $ac_status); }; }; then
12566 ac_header_compiler=yes
12568 echo "$as_me: failed program was:" >&5
12569 sed 's/^/| /' conftest.$ac_ext >&5
12571 ac_header_compiler=no
12574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12575 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12576 echo "${ECHO_T}$ac_header_compiler" >&6; }
12578 # Is the header present?
12579 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12580 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12581 cat >conftest.$ac_ext <<_ACEOF
12584 cat confdefs.h >>conftest.$ac_ext
12585 cat >>conftest.$ac_ext <<_ACEOF
12586 /* end confdefs.h. */
12587 #include <$ac_header>
12589 if { (ac_try="$ac_cpp conftest.$ac_ext"
12590 case "(($ac_try" in
12591 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12592 *) ac_try_echo
=$ac_try;;
12594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12595 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12597 grep -v '^ *+' conftest.er1
>conftest.err
12599 cat conftest.err
>&5
12600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12601 (exit $ac_status); } >/dev
/null
; then
12602 if test -s conftest.err
; then
12603 ac_cpp_err
=$ac_c_preproc_warn_flag
12604 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12611 if test -z "$ac_cpp_err"; then
12612 ac_header_preproc
=yes
12614 echo "$as_me: failed program was:" >&5
12615 sed 's/^/| /' conftest.
$ac_ext >&5
12617 ac_header_preproc
=no
12620 rm -f conftest.err conftest.
$ac_ext
12621 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12622 echo "${ECHO_T}$ac_header_preproc" >&6; }
12624 # So? What about this header?
12625 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12627 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12628 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12629 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12630 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12631 ac_header_preproc
=yes
12634 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12635 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12636 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12637 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12638 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12639 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12640 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12641 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12642 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12643 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12644 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12645 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12647 ## ----------------------------------- ##
12648 ## Report this to llvmbugs@cs.uiuc.edu ##
12649 ## ----------------------------------- ##
12651 ) |
sed "s/^/$as_me: WARNING: /" >&2
12654 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12656 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12657 echo $ECHO_N "(cached) $ECHO_C" >&6
12659 eval "$as_ac_Header=\$ac_header_preproc"
12661 ac_res
=`eval echo '${'$as_ac_Header'}'`
12662 { echo "$as_me:$LINENO: result: $ac_res" >&5
12663 echo "${ECHO_T}$ac_res" >&6; }
12666 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12667 cat >>confdefs.h
<<_ACEOF
12668 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12678 for ac_func
in strchr index
12680 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12681 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12683 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12684 echo $ECHO_N "(cached) $ECHO_C" >&6
12686 cat >conftest.
$ac_ext <<_ACEOF
12689 cat confdefs.h
>>conftest.
$ac_ext
12690 cat >>conftest.
$ac_ext <<_ACEOF
12691 /* end confdefs.h. */
12692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12694 #define $ac_func innocuous_$ac_func
12696 /* System header to define __stub macros and hopefully few prototypes,
12697 which can conflict with char $ac_func (); below.
12698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12699 <limits.h> exists even on freestanding compilers. */
12702 # include <limits.h>
12704 # include <assert.h>
12709 /* Override any GCC internal prototype to avoid an error.
12710 Use char because int might match the return type of a GCC
12711 builtin and then its argument prototype would still apply. */
12716 /* The GNU C library defines this for functions which it implements
12717 to always fail with ENOSYS. Some functions are actually named
12718 something starting with __ and the normal name is an alias. */
12719 #if defined __stub_$ac_func || defined __stub___$ac_func
12726 return $ac_func ();
12731 rm -f conftest.
$ac_objext conftest
$ac_exeext
12732 if { (ac_try
="$ac_link"
12733 case "(($ac_try" in
12734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12735 *) ac_try_echo=$ac_try;;
12737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12738 (eval "$ac_link") 2>conftest.er1
12740 grep -v '^ *+' conftest.er1 >conftest.err
12742 cat conftest.err >&5
12743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12744 (exit $ac_status); } &&
12745 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12746 { (case "(($ac_try" in
12747 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12748 *) ac_try_echo
=$ac_try;;
12750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12751 (eval "$ac_try") 2>&5
12753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12754 (exit $ac_status); }; } &&
12755 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
12765 eval "$as_ac_var=yes"
12767 echo "$as_me: failed program was:" >&5
12768 sed 's/^/| /' conftest.$ac_ext >&5
12770 eval "$as_ac_var=no"
12773 rm -f core conftest.err conftest.$ac_objext \
12774 conftest$ac_exeext conftest.$ac_ext
12776 ac_res=`eval echo '${'$as_ac_var'}'`
12777 { echo "$as_me:$LINENO: result: $ac_res" >&5
12778 echo "${ECHO_T}$ac_res" >&6; }
12779 if test `eval echo '${'$as_ac_var'}'` = yes; then
12780 cat >>confdefs.h <<_ACEOF
12781 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
12789 for ac_func in strrchr rindex
12791 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
12792 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12794 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12795 echo $ECHO_N "(cached) $ECHO_C" >&6
12797 cat >conftest.$ac_ext <<_ACEOF
12800 cat confdefs.h >>conftest.$ac_ext
12801 cat >>conftest.$ac_ext <<_ACEOF
12802 /* end confdefs.h. */
12803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12805 #define $ac_func innocuous_$ac_func
12807 /* System header to define __stub macros and hopefully few prototypes,
12808 which can conflict with char $ac_func (); below.
12809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12810 <limits.h> exists even on freestanding compilers. */
12813 # include <limits.h>
12815 # include <assert.h>
12820 /* Override any GCC internal prototype to avoid an error.
12821 Use char because int might match the return type of a GCC
12822 builtin and then its argument prototype would still apply. */
12827 /* The GNU C library defines this for functions which it implements
12828 to always fail with ENOSYS. Some functions are actually named
12829 something starting with __ and the normal name is an alias. */
12830 #if defined __stub_$ac_func || defined __stub___$ac_func
12837 return $ac_func ();
12842 rm -f conftest.$ac_objext conftest$ac_exeext
12843 if { (ac_try="$ac_link"
12844 case "(($ac_try" in
12845 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12846 *) ac_try_echo
=$ac_try;;
12848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12849 (eval "$ac_link") 2>conftest.er1
12851 grep -v '^ *+' conftest.er1
>conftest.err
12853 cat conftest.err
>&5
12854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12855 (exit $ac_status); } &&
12856 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12857 { (case "(($ac_try" in
12858 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12859 *) ac_try_echo=$ac_try;;
12861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12862 (eval "$ac_try") 2>&5
12864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12865 (exit $ac_status); }; } &&
12866 { ac_try='test -s conftest$ac_exeext'
12867 { (case "(($ac_try" in
12868 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12869 *) ac_try_echo
=$ac_try;;
12871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12872 (eval "$ac_try") 2>&5
12874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12875 (exit $ac_status); }; }; then
12876 eval "$as_ac_var=yes"
12878 echo "$as_me: failed program was:" >&5
12879 sed 's/^/| /' conftest.
$ac_ext >&5
12881 eval "$as_ac_var=no"
12884 rm -f core conftest.err conftest.
$ac_objext \
12885 conftest
$ac_exeext conftest.
$ac_ext
12887 ac_res
=`eval echo '${'$as_ac_var'}'`
12888 { echo "$as_me:$LINENO: result: $ac_res" >&5
12889 echo "${ECHO_T}$ac_res" >&6; }
12890 if test `eval echo '${'$as_ac_var'}'` = yes; then
12891 cat >>confdefs.h
<<_ACEOF
12892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12900 for ac_func
in memcpy bcopy
12902 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12903 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12905 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12906 echo $ECHO_N "(cached) $ECHO_C" >&6
12908 cat >conftest.
$ac_ext <<_ACEOF
12911 cat confdefs.h
>>conftest.
$ac_ext
12912 cat >>conftest.
$ac_ext <<_ACEOF
12913 /* end confdefs.h. */
12914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12916 #define $ac_func innocuous_$ac_func
12918 /* System header to define __stub macros and hopefully few prototypes,
12919 which can conflict with char $ac_func (); below.
12920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12921 <limits.h> exists even on freestanding compilers. */
12924 # include <limits.h>
12926 # include <assert.h>
12931 /* Override any GCC internal prototype to avoid an error.
12932 Use char because int might match the return type of a GCC
12933 builtin and then its argument prototype would still apply. */
12938 /* The GNU C library defines this for functions which it implements
12939 to always fail with ENOSYS. Some functions are actually named
12940 something starting with __ and the normal name is an alias. */
12941 #if defined __stub_$ac_func || defined __stub___$ac_func
12948 return $ac_func ();
12953 rm -f conftest.
$ac_objext conftest
$ac_exeext
12954 if { (ac_try
="$ac_link"
12955 case "(($ac_try" in
12956 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12957 *) ac_try_echo=$ac_try;;
12959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12960 (eval "$ac_link") 2>conftest.er1
12962 grep -v '^ *+' conftest.er1 >conftest.err
12964 cat conftest.err >&5
12965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12966 (exit $ac_status); } &&
12967 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12968 { (case "(($ac_try" in
12969 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12970 *) ac_try_echo
=$ac_try;;
12972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12973 (eval "$ac_try") 2>&5
12975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12976 (exit $ac_status); }; } &&
12977 { ac_try
='test -s conftest$ac_exeext'
12978 { (case "(($ac_try" in
12979 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12980 *) ac_try_echo=$ac_try;;
12982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12983 (eval "$ac_try") 2>&5
12985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12986 (exit $ac_status); }; }; then
12987 eval "$as_ac_var=yes"
12989 echo "$as_me: failed program was:" >&5
12990 sed 's/^/| /' conftest.$ac_ext >&5
12992 eval "$as_ac_var=no"
12995 rm -f core conftest.err conftest.$ac_objext \
12996 conftest$ac_exeext conftest.$ac_ext
12998 ac_res=`eval echo '${'$as_ac_var'}'`
12999 { echo "$as_me:$LINENO: result: $ac_res" >&5
13000 echo "${ECHO_T}$ac_res" >&6; }
13001 if test `eval echo '${'$as_ac_var'}'` = yes; then
13002 cat >>confdefs.h <<_ACEOF
13003 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13011 for ac_func in memmove strcmp
13013 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
13014 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13016 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13017 echo $ECHO_N "(cached) $ECHO_C" >&6
13019 cat >conftest.$ac_ext <<_ACEOF
13022 cat confdefs.h >>conftest.$ac_ext
13023 cat >>conftest.$ac_ext <<_ACEOF
13024 /* end confdefs.h. */
13025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13027 #define $ac_func innocuous_$ac_func
13029 /* System header to define __stub macros and hopefully few prototypes,
13030 which can conflict with char $ac_func (); below.
13031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13032 <limits.h> exists even on freestanding compilers. */
13035 # include <limits.h>
13037 # include <assert.h>
13042 /* Override any GCC internal prototype to avoid an error.
13043 Use char because int might match the return type of a GCC
13044 builtin and then its argument prototype would still apply. */
13049 /* The GNU C library defines this for functions which it implements
13050 to always fail with ENOSYS. Some functions are actually named
13051 something starting with __ and the normal name is an alias. */
13052 #if defined __stub_$ac_func || defined __stub___$ac_func
13059 return $ac_func ();
13064 rm -f conftest.$ac_objext conftest$ac_exeext
13065 if { (ac_try="$ac_link"
13066 case "(($ac_try" in
13067 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13068 *) ac_try_echo
=$ac_try;;
13070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13071 (eval "$ac_link") 2>conftest.er1
13073 grep -v '^ *+' conftest.er1
>conftest.err
13075 cat conftest.err
>&5
13076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13077 (exit $ac_status); } &&
13078 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13079 { (case "(($ac_try" in
13080 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13081 *) ac_try_echo=$ac_try;;
13083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13084 (eval "$ac_try") 2>&5
13086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13087 (exit $ac_status); }; } &&
13088 { ac_try='test -s conftest$ac_exeext'
13089 { (case "(($ac_try" in
13090 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13091 *) ac_try_echo
=$ac_try;;
13093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13094 (eval "$ac_try") 2>&5
13096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13097 (exit $ac_status); }; }; then
13098 eval "$as_ac_var=yes"
13100 echo "$as_me: failed program was:" >&5
13101 sed 's/^/| /' conftest.
$ac_ext >&5
13103 eval "$as_ac_var=no"
13106 rm -f core conftest.err conftest.
$ac_objext \
13107 conftest
$ac_exeext conftest.
$ac_ext
13109 ac_res
=`eval echo '${'$as_ac_var'}'`
13110 { echo "$as_me:$LINENO: result: $ac_res" >&5
13111 echo "${ECHO_T}$ac_res" >&6; }
13112 if test `eval echo '${'$as_ac_var'}'` = yes; then
13113 cat >>confdefs.h
<<_ACEOF
13114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13123 for ac_func
in closedir opendir readdir
13125 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13126 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13128 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13129 echo $ECHO_N "(cached) $ECHO_C" >&6
13131 cat >conftest.
$ac_ext <<_ACEOF
13134 cat confdefs.h
>>conftest.
$ac_ext
13135 cat >>conftest.
$ac_ext <<_ACEOF
13136 /* end confdefs.h. */
13137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13139 #define $ac_func innocuous_$ac_func
13141 /* System header to define __stub macros and hopefully few prototypes,
13142 which can conflict with char $ac_func (); below.
13143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13144 <limits.h> exists even on freestanding compilers. */
13147 # include <limits.h>
13149 # include <assert.h>
13154 /* Override any GCC internal prototype to avoid an error.
13155 Use char because int might match the return type of a GCC
13156 builtin and then its argument prototype would still apply. */
13161 /* The GNU C library defines this for functions which it implements
13162 to always fail with ENOSYS. Some functions are actually named
13163 something starting with __ and the normal name is an alias. */
13164 #if defined __stub_$ac_func || defined __stub___$ac_func
13171 return $ac_func ();
13176 rm -f conftest.
$ac_objext conftest
$ac_exeext
13177 if { (ac_try
="$ac_link"
13178 case "(($ac_try" in
13179 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13180 *) ac_try_echo=$ac_try;;
13182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13183 (eval "$ac_link") 2>conftest.er1
13185 grep -v '^ *+' conftest.er1 >conftest.err
13187 cat conftest.err >&5
13188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13189 (exit $ac_status); } &&
13190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13191 { (case "(($ac_try" in
13192 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13193 *) ac_try_echo
=$ac_try;;
13195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13196 (eval "$ac_try") 2>&5
13198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13199 (exit $ac_status); }; } &&
13200 { ac_try
='test -s conftest$ac_exeext'
13201 { (case "(($ac_try" in
13202 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13203 *) ac_try_echo=$ac_try;;
13205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13206 (eval "$ac_try") 2>&5
13208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13209 (exit $ac_status); }; }; then
13210 eval "$as_ac_var=yes"
13212 echo "$as_me: failed program was:" >&5
13213 sed 's/^/| /' conftest.$ac_ext >&5
13215 eval "$as_ac_var=no"
13218 rm -f core conftest.err conftest.$ac_objext \
13219 conftest$ac_exeext conftest.$ac_ext
13221 ac_res=`eval echo '${'$as_ac_var'}'`
13222 { echo "$as_me:$LINENO: result: $ac_res" >&5
13223 echo "${ECHO_T}$ac_res" >&6; }
13224 if test `eval echo '${'$as_ac_var'}'` = yes; then
13225 cat >>confdefs.h <<_ACEOF
13226 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13234 if test "$WITH_LLVMGCCDIR" = "default" ; then
13235 LLVMGCC="llvm-gcc${EXEEXT}"
13236 LLVMGXX="llvm-g++${EXEEXT}"
13237 LLVMGCCCOMMAND="$LLVMGCC"
13238 LLVMGXXCOMMAND="$LLVMGXX"
13239 LLVMGCCCOMMAND=$LLVMGCCCOMMAND
13241 LLVMGXXCOMMAND=$LLVMGXXCOMMAND
13243 # Extract the first word of "$LLVMGCC", so it can be a program name with args.
13244 set dummy $LLVMGCC; ac_word=$2
13245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13247 if test "${ac_cv_path_LLVMGCC+set}" = set; then
13248 echo $ECHO_N "(cached) $ECHO_C" >&6
13252 ac_cv_path_LLVMGCC="$LLVMGCC" # Let the user override the test with a path.
13255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13256 for as_dir in $PATH
13259 test -z "$as_dir" && as_dir=.
13260 for ac_exec_ext in '' $ac_executable_extensions; do
13261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13262 ac_cv_path_LLVMGCC="$as_dir/$ac_word$ac_exec_ext"
13263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13273 LLVMGCC=$ac_cv_path_LLVMGCC
13274 if test -n "$LLVMGCC"; then
13275 { echo "$as_me:$LINENO: result: $LLVMGCC" >&5
13276 echo "${ECHO_T}$LLVMGCC" >&6; }
13278 { echo "$as_me:$LINENO: result: no" >&5
13279 echo "${ECHO_T}no" >&6; }
13283 # Extract the first word of "$LLVMGXX", so it can be a program name with args.
13284 set dummy $LLVMGXX; ac_word=$2
13285 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13287 if test "${ac_cv_path_LLVMGXX+set}" = set; then
13288 echo $ECHO_N "(cached) $ECHO_C" >&6
13292 ac_cv_path_LLVMGXX="$LLVMGXX" # Let the user override the test with a path.
13295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13296 for as_dir in $PATH
13299 test -z "$as_dir" && as_dir=.
13300 for ac_exec_ext in '' $ac_executable_extensions; do
13301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13302 ac_cv_path_LLVMGXX="$as_dir/$ac_word$ac_exec_ext"
13303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13313 LLVMGXX=$ac_cv_path_LLVMGXX
13314 if test -n "$LLVMGXX"; then
13315 { echo "$as_me:$LINENO: result: $LLVMGXX" >&5
13316 echo "${ECHO_T}$LLVMGXX" >&6; }
13318 { echo "$as_me:$LINENO: result: no" >&5
13319 echo "${ECHO_T}no" >&6; }
13324 if test -z "$LLVMGCC"; then
13325 LLVMGCC="$WITH_LLVMGCCDIR/bin/llvm-gcc${EXEEXT}"
13326 LLVMGCCCOMMAND="$LLVMGCC"
13328 if test -z "$LLVMGXX"; then
13329 LLVMGXX="$WITH_LLVMGCCDIR/bin/llvm-g++${EXEEXT}"
13330 LLVMGXXCOMMAND="$LLVMGXX"
13337 LLVMGCCCOMMAND=$LLVMGCCCOMMAND
13339 LLVMGXXCOMMAND=$LLVMGXXCOMMAND
13344 # Check whether --with-llvmcc was given.
13345 if test "${with_llvmcc+set}" = set; then
13346 withval=$with_llvmcc;
13351 { echo "$as_me:$LINENO: checking LLVM capable compiler" >&5
13352 echo $ECHO_N "checking LLVM capable compiler... $ECHO_C" >&6; }
13353 if test "$with_llvmcc" != "check"; then
13354 if (test "$with_llvmcc" != "llvm-gcc" &&
13355 test "$with_llvmcc" != "clang" &&
13356 test "$with_llvmcc" != "none"); then
13357 { { echo "$as_me:$LINENO: error: invalid value for --with-llvmcc, expected 'llvm-gcc', 'clang', or 'none'." >&5
13358 echo "$as_me: error: invalid value for --with-llvmcc, expected 'llvm-gcc', 'clang', or 'none'." >&2;}
13359 { (exit 1); exit 1; }; }
13361 WITH_LLVMCC="$with_llvmcc"
13362 elif test -n "$LLVMGCC"; then
13363 WITH_LLVMCC=llvm-gcc
13364 elif test -n "$WITH_CLANGPATH" || test "$WITH_BUILT_CLANG" -ne "0"; then
13369 { echo "$as_me:$LINENO: result: $WITH_LLVMCC" >&5
13370 echo "${ECHO_T}$WITH_LLVMCC" >&6; }
13371 LLVMCC_OPTION=$WITH_LLVMCC
13374 { echo "$as_me:$LINENO: checking tool compatibility" >&5
13375 echo $ECHO_N "checking tool compatibility... $ECHO_C" >&6; }
13388 if test "$GCC" != "yes" && test "$ICC" != "yes"
13390 { { echo "$as_me:$LINENO: error: gcc|icc required but not found" >&5
13391 echo "$as_me: error: gcc|icc required but not found" >&2;}
13392 { (exit 1); exit 1; }; }
13395 if test "$GXX" != "yes" && test "$IXX" != "yes"
13397 { { echo "$as_me:$LINENO: error: g++|clang++|icc required but not found" >&5
13398 echo "$as_me: error: g++|clang++|icc required but not found" >&2;}
13399 { (exit 1); exit 1; }; }
13402 if test "$GCC" = "yes"
13404 cat >conftest.$ac_ext <<_ACEOF
13405 #if !defined(__GNUC__) || __GNUC__ < 3
13406 #error Unsupported GCC version
13410 rm -f conftest.$ac_objext
13411 if { (ac_try="$ac_compile"
13412 case "(($ac_try" in
13413 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13414 *) ac_try_echo
=$ac_try;;
13416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13417 (eval "$ac_compile") 2>conftest.er1
13419 grep -v '^ *+' conftest.er1
>conftest.err
13421 cat conftest.err
>&5
13422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13423 (exit $ac_status); } &&
13424 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13425 { (case "(($ac_try" in
13426 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13427 *) ac_try_echo=$ac_try;;
13429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13430 (eval "$ac_try") 2>&5
13432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13433 (exit $ac_status); }; } &&
13434 { ac_try='test -s conftest.$ac_objext'
13435 { (case "(($ac_try" in
13436 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13437 *) ac_try_echo
=$ac_try;;
13439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13440 (eval "$ac_try") 2>&5
13442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13443 (exit $ac_status); }; }; then
13446 echo "$as_me: failed program was:" >&5
13447 sed 's/^/| /' conftest.
$ac_ext >&5
13449 { { echo "$as_me:$LINENO: error: gcc 3.x required, but you have a lower version" >&5
13450 echo "$as_me: error: gcc 3.x required, but you have a lower version" >&2;}
13451 { (exit 1); exit 1; }; }
13454 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13457 if test -z "$llvm_cv_gnu_make_command"
13459 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
13460 echo "$as_me: error: GNU Make required but not found" >&2;}
13461 { (exit 1); exit 1; }; }
13464 { echo "$as_me:$LINENO: result: ok" >&5
13465 echo "${ECHO_T}ok" >&6; }
13467 { echo "$as_me:$LINENO: checking optional compiler flags" >&5
13468 echo $ECHO_N "checking optional compiler flags... $ECHO_C" >&6; }
13469 NO_VARIADIC_MACROS
=`$CXX -Wno-variadic-macros -fsyntax-only -xc /dev/null 2>/dev/null && echo -Wno-variadic-macros`
13471 NO_MISSING_FIELD_INITIALIZERS
=`$CXX -Wno-missing-field-initializers -fsyntax-only -xc /dev/null 2>/dev/null && echo -Wno-missing-field-initializers`
13473 { echo "$as_me:$LINENO: result: $NO_VARIADIC_MACROS $NO_MISSING_FIELD_INITIALIZERS" >&5
13474 echo "${ECHO_T}$NO_VARIADIC_MACROS $NO_MISSING_FIELD_INITIALIZERS" >&6; }
13478 { echo "$as_me:$LINENO: checking for sin in -lm" >&5
13479 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
13480 if test "${ac_cv_lib_m_sin+set}" = set; then
13481 echo $ECHO_N "(cached) $ECHO_C" >&6
13483 ac_check_lib_save_LIBS
=$LIBS
13485 cat >conftest.
$ac_ext <<_ACEOF
13488 cat confdefs.h
>>conftest.
$ac_ext
13489 cat >>conftest.
$ac_ext <<_ACEOF
13490 /* end confdefs.h. */
13492 /* Override any GCC internal prototype to avoid an error.
13493 Use char because int might match the return type of a GCC
13494 builtin and then its argument prototype would still apply. */
13507 rm -f conftest.
$ac_objext conftest
$ac_exeext
13508 if { (ac_try
="$ac_link"
13509 case "(($ac_try" in
13510 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13511 *) ac_try_echo=$ac_try;;
13513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13514 (eval "$ac_link") 2>conftest.er1
13516 grep -v '^ *+' conftest.er1 >conftest.err
13518 cat conftest.err >&5
13519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13520 (exit $ac_status); } &&
13521 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13522 { (case "(($ac_try" in
13523 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13524 *) ac_try_echo
=$ac_try;;
13526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13527 (eval "$ac_try") 2>&5
13529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13530 (exit $ac_status); }; } &&
13531 { ac_try
='test -s conftest$ac_exeext'
13532 { (case "(($ac_try" in
13533 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13534 *) ac_try_echo=$ac_try;;
13536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13537 (eval "$ac_try") 2>&5
13539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13540 (exit $ac_status); }; }; then
13541 ac_cv_lib_m_sin=yes
13543 echo "$as_me: failed program was:" >&5
13544 sed 's/^/| /' conftest.$ac_ext >&5
13549 rm -f core conftest.err conftest.$ac_objext \
13550 conftest$ac_exeext conftest.$ac_ext
13551 LIBS=$ac_check_lib_save_LIBS
13553 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
13554 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6; }
13555 if test $ac_cv_lib_m_sin = yes; then
13556 cat >>confdefs.h <<_ACEOF
13557 #define HAVE_LIBM 1
13564 if test "$llvm_cv_os_type" = "MingW" ; then
13566 { echo "$as_me:$LINENO: checking for main in -limagehlp" >&5
13567 echo $ECHO_N "checking for main in -limagehlp... $ECHO_C" >&6; }
13568 if test "${ac_cv_lib_imagehlp_main+set}" = set; then
13569 echo $ECHO_N "(cached) $ECHO_C" >&6
13571 ac_check_lib_save_LIBS=$LIBS
13572 LIBS="-limagehlp $LIBS"
13573 cat >conftest.$ac_ext <<_ACEOF
13576 cat confdefs.h >>conftest.$ac_ext
13577 cat >>conftest.$ac_ext <<_ACEOF
13578 /* end confdefs.h. */
13589 rm -f conftest.$ac_objext conftest$ac_exeext
13590 if { (ac_try="$ac_link"
13591 case "(($ac_try" in
13592 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13593 *) ac_try_echo
=$ac_try;;
13595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13596 (eval "$ac_link") 2>conftest.er1
13598 grep -v '^ *+' conftest.er1
>conftest.err
13600 cat conftest.err
>&5
13601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13602 (exit $ac_status); } &&
13603 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13604 { (case "(($ac_try" in
13605 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13606 *) ac_try_echo=$ac_try;;
13608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13609 (eval "$ac_try") 2>&5
13611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13612 (exit $ac_status); }; } &&
13613 { ac_try='test -s conftest$ac_exeext'
13614 { (case "(($ac_try" in
13615 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13616 *) ac_try_echo
=$ac_try;;
13618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13619 (eval "$ac_try") 2>&5
13621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13622 (exit $ac_status); }; }; then
13623 ac_cv_lib_imagehlp_main
=yes
13625 echo "$as_me: failed program was:" >&5
13626 sed 's/^/| /' conftest.
$ac_ext >&5
13628 ac_cv_lib_imagehlp_main
=no
13631 rm -f core conftest.err conftest.
$ac_objext \
13632 conftest
$ac_exeext conftest.
$ac_ext
13633 LIBS
=$ac_check_lib_save_LIBS
13635 { echo "$as_me:$LINENO: result: $ac_cv_lib_imagehlp_main" >&5
13636 echo "${ECHO_T}$ac_cv_lib_imagehlp_main" >&6; }
13637 if test $ac_cv_lib_imagehlp_main = yes; then
13638 cat >>confdefs.h
<<_ACEOF
13639 #define HAVE_LIBIMAGEHLP 1
13642 LIBS
="-limagehlp $LIBS"
13647 { echo "$as_me:$LINENO: checking for main in -lpsapi" >&5
13648 echo $ECHO_N "checking for main in -lpsapi... $ECHO_C" >&6; }
13649 if test "${ac_cv_lib_psapi_main+set}" = set; then
13650 echo $ECHO_N "(cached) $ECHO_C" >&6
13652 ac_check_lib_save_LIBS
=$LIBS
13653 LIBS
="-lpsapi $LIBS"
13654 cat >conftest.
$ac_ext <<_ACEOF
13657 cat confdefs.h
>>conftest.
$ac_ext
13658 cat >>conftest.
$ac_ext <<_ACEOF
13659 /* end confdefs.h. */
13670 rm -f conftest.
$ac_objext conftest
$ac_exeext
13671 if { (ac_try
="$ac_link"
13672 case "(($ac_try" in
13673 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13674 *) ac_try_echo=$ac_try;;
13676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13677 (eval "$ac_link") 2>conftest.er1
13679 grep -v '^ *+' conftest.er1 >conftest.err
13681 cat conftest.err >&5
13682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13683 (exit $ac_status); } &&
13684 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13685 { (case "(($ac_try" in
13686 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13687 *) ac_try_echo
=$ac_try;;
13689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13690 (eval "$ac_try") 2>&5
13692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13693 (exit $ac_status); }; } &&
13694 { ac_try
='test -s conftest$ac_exeext'
13695 { (case "(($ac_try" in
13696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13697 *) ac_try_echo=$ac_try;;
13699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13700 (eval "$ac_try") 2>&5
13702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13703 (exit $ac_status); }; }; then
13704 ac_cv_lib_psapi_main=yes
13706 echo "$as_me: failed program was:" >&5
13707 sed 's/^/| /' conftest.$ac_ext >&5
13709 ac_cv_lib_psapi_main=no
13712 rm -f core conftest.err conftest.$ac_objext \
13713 conftest$ac_exeext conftest.$ac_ext
13714 LIBS=$ac_check_lib_save_LIBS
13716 { echo "$as_me:$LINENO: result: $ac_cv_lib_psapi_main" >&5
13717 echo "${ECHO_T}$ac_cv_lib_psapi_main" >&6; }
13718 if test $ac_cv_lib_psapi_main = yes; then
13719 cat >>confdefs.h <<_ACEOF
13720 #define HAVE_LIBPSAPI 1
13723 LIBS="-lpsapi $LIBS"
13729 { echo "$as_me:$LINENO: checking for library containing dlopen" >&5
13730 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; }
13731 if test "${ac_cv_search_dlopen+set}" = set; then
13732 echo $ECHO_N "(cached) $ECHO_C" >&6
13734 ac_func_search_save_LIBS=$LIBS
13735 cat >conftest.$ac_ext <<_ACEOF
13738 cat confdefs.h >>conftest.$ac_ext
13739 cat >>conftest.$ac_ext <<_ACEOF
13740 /* end confdefs.h. */
13742 /* Override any GCC internal prototype to avoid an error.
13743 Use char because int might match the return type of a GCC
13744 builtin and then its argument prototype would still apply. */
13757 for ac_lib in '' dl; do
13758 if test -z "$ac_lib"; then
13759 ac_res="none required"
13762 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13764 rm -f conftest.$ac_objext conftest$ac_exeext
13765 if { (ac_try="$ac_link"
13766 case "(($ac_try" in
13767 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13768 *) ac_try_echo
=$ac_try;;
13770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13771 (eval "$ac_link") 2>conftest.er1
13773 grep -v '^ *+' conftest.er1
>conftest.err
13775 cat conftest.err
>&5
13776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13777 (exit $ac_status); } &&
13778 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13779 { (case "(($ac_try" in
13780 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13781 *) ac_try_echo=$ac_try;;
13783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13784 (eval "$ac_try") 2>&5
13786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787 (exit $ac_status); }; } &&
13788 { ac_try='test -s conftest$ac_exeext'
13789 { (case "(($ac_try" in
13790 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13791 *) ac_try_echo
=$ac_try;;
13793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13794 (eval "$ac_try") 2>&5
13796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13797 (exit $ac_status); }; }; then
13798 ac_cv_search_dlopen
=$ac_res
13800 echo "$as_me: failed program was:" >&5
13801 sed 's/^/| /' conftest.
$ac_ext >&5
13806 rm -f core conftest.err conftest.
$ac_objext \
13808 if test "${ac_cv_search_dlopen+set}" = set; then
13812 if test "${ac_cv_search_dlopen+set}" = set; then
13815 ac_cv_search_dlopen
=no
13817 rm conftest.
$ac_ext
13818 LIBS
=$ac_func_search_save_LIBS
13820 { echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
13821 echo "${ECHO_T}$ac_cv_search_dlopen" >&6; }
13822 ac_res
=$ac_cv_search_dlopen
13823 if test "$ac_res" != no
; then
13824 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13826 cat >>confdefs.h
<<\_ACEOF
13827 #define HAVE_DLOPEN 1
13831 { echo "$as_me:$LINENO: WARNING: dlopen() not found - disabling plugin support" >&5
13832 echo "$as_me: WARNING: dlopen() not found - disabling plugin support" >&2;}
13836 if test "$llvm_cv_enable_libffi" = "yes" ; then
13837 { echo "$as_me:$LINENO: checking for library containing ffi_call" >&5
13838 echo $ECHO_N "checking for library containing ffi_call... $ECHO_C" >&6; }
13839 if test "${ac_cv_search_ffi_call+set}" = set; then
13840 echo $ECHO_N "(cached) $ECHO_C" >&6
13842 ac_func_search_save_LIBS
=$LIBS
13843 cat >conftest.
$ac_ext <<_ACEOF
13846 cat confdefs.h
>>conftest.
$ac_ext
13847 cat >>conftest.
$ac_ext <<_ACEOF
13848 /* end confdefs.h. */
13850 /* Override any GCC internal prototype to avoid an error.
13851 Use char because int might match the return type of a GCC
13852 builtin and then its argument prototype would still apply. */
13860 return ffi_call ();
13865 for ac_lib
in '' ffi
; do
13866 if test -z "$ac_lib"; then
13867 ac_res
="none required"
13870 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13872 rm -f conftest.
$ac_objext conftest
$ac_exeext
13873 if { (ac_try
="$ac_link"
13874 case "(($ac_try" in
13875 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13876 *) ac_try_echo=$ac_try;;
13878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13879 (eval "$ac_link") 2>conftest.er1
13881 grep -v '^ *+' conftest.er1 >conftest.err
13883 cat conftest.err >&5
13884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13885 (exit $ac_status); } &&
13886 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13887 { (case "(($ac_try" in
13888 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13889 *) ac_try_echo
=$ac_try;;
13891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13892 (eval "$ac_try") 2>&5
13894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13895 (exit $ac_status); }; } &&
13896 { ac_try
='test -s conftest$ac_exeext'
13897 { (case "(($ac_try" in
13898 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13899 *) ac_try_echo=$ac_try;;
13901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13902 (eval "$ac_try") 2>&5
13904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13905 (exit $ac_status); }; }; then
13906 ac_cv_search_ffi_call=$ac_res
13908 echo "$as_me: failed program was:" >&5
13909 sed 's/^/| /' conftest.$ac_ext >&5
13914 rm -f core conftest.err conftest.$ac_objext \
13916 if test "${ac_cv_search_ffi_call+set}" = set; then
13920 if test "${ac_cv_search_ffi_call+set}" = set; then
13923 ac_cv_search_ffi_call=no
13925 rm conftest.$ac_ext
13926 LIBS=$ac_func_search_save_LIBS
13928 { echo "$as_me:$LINENO: result: $ac_cv_search_ffi_call" >&5
13929 echo "${ECHO_T}$ac_cv_search_ffi_call" >&6; }
13930 ac_res=$ac_cv_search_ffi_call
13931 if test "$ac_res" != no; then
13932 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13934 cat >>confdefs.h <<\_ACEOF
13935 #define HAVE_FFI_CALL 1
13939 { { echo "$as_me:$LINENO: error: libffi not found - configure without --enable-libffi to compile without it" >&5
13940 echo "$as_me: error: libffi not found - configure without --enable-libffi to compile without it" >&2;}
13941 { (exit 1); exit 1; }; }
13946 { echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
13947 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6; }
13948 if test "${ac_cv_search_mallinfo+set}" = set; then
13949 echo $ECHO_N "(cached) $ECHO_C" >&6
13951 ac_func_search_save_LIBS=$LIBS
13952 cat >conftest.$ac_ext <<_ACEOF
13955 cat confdefs.h >>conftest.$ac_ext
13956 cat >>conftest.$ac_ext <<_ACEOF
13957 /* end confdefs.h. */
13959 /* Override any GCC internal prototype to avoid an error.
13960 Use char because int might match the return type of a GCC
13961 builtin and then its argument prototype would still apply. */
13969 return mallinfo ();
13974 for ac_lib in '' malloc; do
13975 if test -z "$ac_lib"; then
13976 ac_res="none required"
13979 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13981 rm -f conftest.$ac_objext conftest$ac_exeext
13982 if { (ac_try="$ac_link"
13983 case "(($ac_try" in
13984 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13985 *) ac_try_echo
=$ac_try;;
13987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13988 (eval "$ac_link") 2>conftest.er1
13990 grep -v '^ *+' conftest.er1
>conftest.err
13992 cat conftest.err
>&5
13993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13994 (exit $ac_status); } &&
13995 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13996 { (case "(($ac_try" in
13997 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13998 *) ac_try_echo=$ac_try;;
14000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14001 (eval "$ac_try") 2>&5
14003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14004 (exit $ac_status); }; } &&
14005 { ac_try='test -s conftest$ac_exeext'
14006 { (case "(($ac_try" in
14007 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14008 *) ac_try_echo
=$ac_try;;
14010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14011 (eval "$ac_try") 2>&5
14013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14014 (exit $ac_status); }; }; then
14015 ac_cv_search_mallinfo
=$ac_res
14017 echo "$as_me: failed program was:" >&5
14018 sed 's/^/| /' conftest.
$ac_ext >&5
14023 rm -f core conftest.err conftest.
$ac_objext \
14025 if test "${ac_cv_search_mallinfo+set}" = set; then
14029 if test "${ac_cv_search_mallinfo+set}" = set; then
14032 ac_cv_search_mallinfo
=no
14034 rm conftest.
$ac_ext
14035 LIBS
=$ac_func_search_save_LIBS
14037 { echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
14038 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6; }
14039 ac_res
=$ac_cv_search_mallinfo
14040 if test "$ac_res" != no
; then
14041 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14043 cat >>confdefs.h
<<\_ACEOF
14044 #define HAVE_MALLINFO 1
14050 if test "$ENABLE_THREADS" -eq 1 && test "$ENABLE_PTHREADS" -eq 1 ; then
14052 { echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
14053 echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6; }
14054 if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then
14055 echo $ECHO_N "(cached) $ECHO_C" >&6
14057 ac_check_lib_save_LIBS
=$LIBS
14058 LIBS
="-lpthread $LIBS"
14059 cat >conftest.
$ac_ext <<_ACEOF
14062 cat confdefs.h
>>conftest.
$ac_ext
14063 cat >>conftest.
$ac_ext <<_ACEOF
14064 /* end confdefs.h. */
14066 /* Override any GCC internal prototype to avoid an error.
14067 Use char because int might match the return type of a GCC
14068 builtin and then its argument prototype would still apply. */
14072 char pthread_mutex_init ();
14076 return pthread_mutex_init ();
14081 rm -f conftest.
$ac_objext conftest
$ac_exeext
14082 if { (ac_try
="$ac_link"
14083 case "(($ac_try" in
14084 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14085 *) ac_try_echo=$ac_try;;
14087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14088 (eval "$ac_link") 2>conftest.er1
14090 grep -v '^ *+' conftest.er1 >conftest.err
14092 cat conftest.err >&5
14093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14094 (exit $ac_status); } &&
14095 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14096 { (case "(($ac_try" in
14097 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14098 *) ac_try_echo
=$ac_try;;
14100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14101 (eval "$ac_try") 2>&5
14103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14104 (exit $ac_status); }; } &&
14105 { ac_try
='test -s conftest$ac_exeext'
14106 { (case "(($ac_try" in
14107 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14108 *) ac_try_echo=$ac_try;;
14110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14111 (eval "$ac_try") 2>&5
14113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14114 (exit $ac_status); }; }; then
14115 ac_cv_lib_pthread_pthread_mutex_init=yes
14117 echo "$as_me: failed program was:" >&5
14118 sed 's/^/| /' conftest.$ac_ext >&5
14120 ac_cv_lib_pthread_pthread_mutex_init=no
14123 rm -f core conftest.err conftest.$ac_objext \
14124 conftest$ac_exeext conftest.$ac_ext
14125 LIBS=$ac_check_lib_save_LIBS
14127 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
14128 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
14129 if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
14130 cat >>confdefs.h <<_ACEOF
14131 #define HAVE_LIBPTHREAD 1
14134 LIBS="-lpthread $LIBS"
14138 { echo "$as_me:$LINENO: checking for library containing pthread_mutex_lock" >&5
14139 echo $ECHO_N "checking for library containing pthread_mutex_lock... $ECHO_C" >&6; }
14140 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
14141 echo $ECHO_N "(cached) $ECHO_C" >&6
14143 ac_func_search_save_LIBS=$LIBS
14144 cat >conftest.$ac_ext <<_ACEOF
14147 cat confdefs.h >>conftest.$ac_ext
14148 cat >>conftest.$ac_ext <<_ACEOF
14149 /* end confdefs.h. */
14151 /* Override any GCC internal prototype to avoid an error.
14152 Use char because int might match the return type of a GCC
14153 builtin and then its argument prototype would still apply. */
14157 char pthread_mutex_lock ();
14161 return pthread_mutex_lock ();
14166 for ac_lib in '' pthread; do
14167 if test -z "$ac_lib"; then
14168 ac_res="none required"
14171 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14173 rm -f conftest.$ac_objext conftest$ac_exeext
14174 if { (ac_try="$ac_link"
14175 case "(($ac_try" in
14176 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14177 *) ac_try_echo
=$ac_try;;
14179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14180 (eval "$ac_link") 2>conftest.er1
14182 grep -v '^ *+' conftest.er1
>conftest.err
14184 cat conftest.err
>&5
14185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14186 (exit $ac_status); } &&
14187 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14188 { (case "(($ac_try" in
14189 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14190 *) ac_try_echo=$ac_try;;
14192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14193 (eval "$ac_try") 2>&5
14195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14196 (exit $ac_status); }; } &&
14197 { ac_try='test -s conftest$ac_exeext'
14198 { (case "(($ac_try" in
14199 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14200 *) ac_try_echo
=$ac_try;;
14202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14203 (eval "$ac_try") 2>&5
14205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14206 (exit $ac_status); }; }; then
14207 ac_cv_search_pthread_mutex_lock
=$ac_res
14209 echo "$as_me: failed program was:" >&5
14210 sed 's/^/| /' conftest.
$ac_ext >&5
14215 rm -f core conftest.err conftest.
$ac_objext \
14217 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
14221 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
14224 ac_cv_search_pthread_mutex_lock
=no
14226 rm conftest.
$ac_ext
14227 LIBS
=$ac_func_search_save_LIBS
14229 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_mutex_lock" >&5
14230 echo "${ECHO_T}$ac_cv_search_pthread_mutex_lock" >&6; }
14231 ac_res
=$ac_cv_search_pthread_mutex_lock
14232 if test "$ac_res" != no
; then
14233 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14235 cat >>confdefs.h
<<\_ACEOF
14236 #define HAVE_PTHREAD_MUTEX_LOCK 1
14241 { echo "$as_me:$LINENO: checking for library containing pthread_rwlock_init" >&5
14242 echo $ECHO_N "checking for library containing pthread_rwlock_init... $ECHO_C" >&6; }
14243 if test "${ac_cv_search_pthread_rwlock_init+set}" = set; then
14244 echo $ECHO_N "(cached) $ECHO_C" >&6
14246 ac_func_search_save_LIBS
=$LIBS
14247 cat >conftest.
$ac_ext <<_ACEOF
14250 cat confdefs.h
>>conftest.
$ac_ext
14251 cat >>conftest.
$ac_ext <<_ACEOF
14252 /* end confdefs.h. */
14254 /* Override any GCC internal prototype to avoid an error.
14255 Use char because int might match the return type of a GCC
14256 builtin and then its argument prototype would still apply. */
14260 char pthread_rwlock_init ();
14264 return pthread_rwlock_init ();
14269 for ac_lib
in '' pthread
; do
14270 if test -z "$ac_lib"; then
14271 ac_res
="none required"
14274 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14276 rm -f conftest.
$ac_objext conftest
$ac_exeext
14277 if { (ac_try
="$ac_link"
14278 case "(($ac_try" in
14279 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14280 *) ac_try_echo=$ac_try;;
14282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14283 (eval "$ac_link") 2>conftest.er1
14285 grep -v '^ *+' conftest.er1 >conftest.err
14287 cat conftest.err >&5
14288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14289 (exit $ac_status); } &&
14290 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14291 { (case "(($ac_try" in
14292 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14293 *) ac_try_echo
=$ac_try;;
14295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14296 (eval "$ac_try") 2>&5
14298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14299 (exit $ac_status); }; } &&
14300 { ac_try
='test -s conftest$ac_exeext'
14301 { (case "(($ac_try" in
14302 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14303 *) ac_try_echo=$ac_try;;
14305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14306 (eval "$ac_try") 2>&5
14308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14309 (exit $ac_status); }; }; then
14310 ac_cv_search_pthread_rwlock_init=$ac_res
14312 echo "$as_me: failed program was:" >&5
14313 sed 's/^/| /' conftest.$ac_ext >&5
14318 rm -f core conftest.err conftest.$ac_objext \
14320 if test "${ac_cv_search_pthread_rwlock_init+set}" = set; then
14324 if test "${ac_cv_search_pthread_rwlock_init+set}" = set; then
14327 ac_cv_search_pthread_rwlock_init=no
14329 rm conftest.$ac_ext
14330 LIBS=$ac_func_search_save_LIBS
14332 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_rwlock_init" >&5
14333 echo "${ECHO_T}$ac_cv_search_pthread_rwlock_init" >&6; }
14334 ac_res=$ac_cv_search_pthread_rwlock_init
14335 if test "$ac_res" != no; then
14336 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14338 cat >>confdefs.h <<\_ACEOF
14339 #define HAVE_PTHREAD_RWLOCK_INIT 1
14344 { echo "$as_me:$LINENO: checking for library containing pthread_getspecific" >&5
14345 echo $ECHO_N "checking for library containing pthread_getspecific... $ECHO_C" >&6; }
14346 if test "${ac_cv_search_pthread_getspecific+set}" = set; then
14347 echo $ECHO_N "(cached) $ECHO_C" >&6
14349 ac_func_search_save_LIBS=$LIBS
14350 cat >conftest.$ac_ext <<_ACEOF
14353 cat confdefs.h >>conftest.$ac_ext
14354 cat >>conftest.$ac_ext <<_ACEOF
14355 /* end confdefs.h. */
14357 /* Override any GCC internal prototype to avoid an error.
14358 Use char because int might match the return type of a GCC
14359 builtin and then its argument prototype would still apply. */
14363 char pthread_getspecific ();
14367 return pthread_getspecific ();
14372 for ac_lib in '' pthread; do
14373 if test -z "$ac_lib"; then
14374 ac_res="none required"
14377 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14379 rm -f conftest.$ac_objext conftest$ac_exeext
14380 if { (ac_try="$ac_link"
14381 case "(($ac_try" in
14382 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14383 *) ac_try_echo
=$ac_try;;
14385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14386 (eval "$ac_link") 2>conftest.er1
14388 grep -v '^ *+' conftest.er1
>conftest.err
14390 cat conftest.err
>&5
14391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14392 (exit $ac_status); } &&
14393 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14394 { (case "(($ac_try" in
14395 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14396 *) ac_try_echo=$ac_try;;
14398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14399 (eval "$ac_try") 2>&5
14401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14402 (exit $ac_status); }; } &&
14403 { ac_try='test -s conftest$ac_exeext'
14404 { (case "(($ac_try" in
14405 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14406 *) ac_try_echo
=$ac_try;;
14408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14409 (eval "$ac_try") 2>&5
14411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14412 (exit $ac_status); }; }; then
14413 ac_cv_search_pthread_getspecific
=$ac_res
14415 echo "$as_me: failed program was:" >&5
14416 sed 's/^/| /' conftest.
$ac_ext >&5
14421 rm -f core conftest.err conftest.
$ac_objext \
14423 if test "${ac_cv_search_pthread_getspecific+set}" = set; then
14427 if test "${ac_cv_search_pthread_getspecific+set}" = set; then
14430 ac_cv_search_pthread_getspecific
=no
14432 rm conftest.
$ac_ext
14433 LIBS
=$ac_func_search_save_LIBS
14435 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_getspecific" >&5
14436 echo "${ECHO_T}$ac_cv_search_pthread_getspecific" >&6; }
14437 ac_res
=$ac_cv_search_pthread_getspecific
14438 if test "$ac_res" != no
; then
14439 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14441 cat >>confdefs.h
<<\_ACEOF
14442 #define HAVE_PTHREAD_GETSPECIFIC 1
14450 # Check whether --with-udis86 was given.
14451 if test "${with_udis86+set}" = set; then
14452 withval
=$with_udis86;
14457 *) LDFLAGS
="$LDFLAGS -L${withval}" ;;
14460 { echo "$as_me:$LINENO: checking for ud_init in -ludis86" >&5
14461 echo $ECHO_N "checking for ud_init in -ludis86... $ECHO_C" >&6; }
14462 if test "${ac_cv_lib_udis86_ud_init+set}" = set; then
14463 echo $ECHO_N "(cached) $ECHO_C" >&6
14465 ac_check_lib_save_LIBS
=$LIBS
14466 LIBS
="-ludis86 $LIBS"
14467 cat >conftest.
$ac_ext <<_ACEOF
14470 cat confdefs.h
>>conftest.
$ac_ext
14471 cat >>conftest.
$ac_ext <<_ACEOF
14472 /* end confdefs.h. */
14474 /* Override any GCC internal prototype to avoid an error.
14475 Use char because int might match the return type of a GCC
14476 builtin and then its argument prototype would still apply. */
14489 rm -f conftest.
$ac_objext conftest
$ac_exeext
14490 if { (ac_try
="$ac_link"
14491 case "(($ac_try" in
14492 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14493 *) ac_try_echo=$ac_try;;
14495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14496 (eval "$ac_link") 2>conftest.er1
14498 grep -v '^ *+' conftest.er1 >conftest.err
14500 cat conftest.err >&5
14501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14502 (exit $ac_status); } &&
14503 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14504 { (case "(($ac_try" in
14505 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14506 *) ac_try_echo
=$ac_try;;
14508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14509 (eval "$ac_try") 2>&5
14511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14512 (exit $ac_status); }; } &&
14513 { ac_try
='test -s conftest$ac_exeext'
14514 { (case "(($ac_try" in
14515 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14516 *) ac_try_echo=$ac_try;;
14518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14519 (eval "$ac_try") 2>&5
14521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14522 (exit $ac_status); }; }; then
14523 ac_cv_lib_udis86_ud_init=yes
14525 echo "$as_me: failed program was:" >&5
14526 sed 's/^/| /' conftest.$ac_ext >&5
14528 ac_cv_lib_udis86_ud_init=no
14531 rm -f core conftest.err conftest.$ac_objext \
14532 conftest$ac_exeext conftest.$ac_ext
14533 LIBS=$ac_check_lib_save_LIBS
14535 { echo "$as_me:$LINENO: result: $ac_cv_lib_udis86_ud_init" >&5
14536 echo "${ECHO_T}$ac_cv_lib_udis86_ud_init" >&6; }
14537 if test $ac_cv_lib_udis86_ud_init = yes; then
14538 cat >>confdefs.h <<_ACEOF
14539 #define HAVE_LIBUDIS86 1
14542 LIBS="-ludis86 $LIBS"
14546 echo "Error! You need to have libudis86 around."
14558 cat >>confdefs.h <<_ACEOF
14559 #define USE_UDIS86 $USE_UDIS86
14564 # Check whether --with-oprofile was given.
14565 if test "${with_oprofile+set}" = set; then
14566 withval=$with_oprofile;
14570 /usr|yes) llvm_cv_oppath=/usr/lib/oprofile ;;
14571 no) llvm_cv_oppath=
14574 *) llvm_cv_oppath="${withval}/lib/oprofile"
14575 CPPFLAGS="-I${withval}/include";;
14577 if test -n "$llvm_cv_oppath" ; then
14578 LIBS="$LIBS -L${llvm_cv_oppath} -Wl,-rpath,${llvm_cv_oppath}"
14579 { echo "$as_me:$LINENO: checking for library containing bfd_init" >&5
14580 echo $ECHO_N "checking for library containing bfd_init... $ECHO_C" >&6; }
14581 if test "${ac_cv_search_bfd_init+set}" = set; then
14582 echo $ECHO_N "(cached) $ECHO_C" >&6
14584 ac_func_search_save_LIBS=$LIBS
14585 cat >conftest.$ac_ext <<_ACEOF
14588 cat confdefs.h >>conftest.$ac_ext
14589 cat >>conftest.$ac_ext <<_ACEOF
14590 /* end confdefs.h. */
14592 /* Override any GCC internal prototype to avoid an error.
14593 Use char because int might match the return type of a GCC
14594 builtin and then its argument prototype would still apply. */
14602 return bfd_init ();
14607 for ac_lib in '' bfd; do
14608 if test -z "$ac_lib"; then
14609 ac_res="none required"
14612 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14614 rm -f conftest.$ac_objext conftest$ac_exeext
14615 if { (ac_try="$ac_link"
14616 case "(($ac_try" in
14617 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14618 *) ac_try_echo
=$ac_try;;
14620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14621 (eval "$ac_link") 2>conftest.er1
14623 grep -v '^ *+' conftest.er1
>conftest.err
14625 cat conftest.err
>&5
14626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14627 (exit $ac_status); } &&
14628 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14629 { (case "(($ac_try" in
14630 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14631 *) ac_try_echo=$ac_try;;
14633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14634 (eval "$ac_try") 2>&5
14636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14637 (exit $ac_status); }; } &&
14638 { ac_try='test -s conftest$ac_exeext'
14639 { (case "(($ac_try" in
14640 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14641 *) ac_try_echo
=$ac_try;;
14643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14644 (eval "$ac_try") 2>&5
14646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14647 (exit $ac_status); }; }; then
14648 ac_cv_search_bfd_init
=$ac_res
14650 echo "$as_me: failed program was:" >&5
14651 sed 's/^/| /' conftest.
$ac_ext >&5
14656 rm -f core conftest.err conftest.
$ac_objext \
14658 if test "${ac_cv_search_bfd_init+set}" = set; then
14662 if test "${ac_cv_search_bfd_init+set}" = set; then
14665 ac_cv_search_bfd_init
=no
14667 rm conftest.
$ac_ext
14668 LIBS
=$ac_func_search_save_LIBS
14670 { echo "$as_me:$LINENO: result: $ac_cv_search_bfd_init" >&5
14671 echo "${ECHO_T}$ac_cv_search_bfd_init" >&6; }
14672 ac_res
=$ac_cv_search_bfd_init
14673 if test "$ac_res" != no
; then
14674 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14678 { echo "$as_me:$LINENO: checking for library containing op_open_agent" >&5
14679 echo $ECHO_N "checking for library containing op_open_agent... $ECHO_C" >&6; }
14680 if test "${ac_cv_search_op_open_agent+set}" = set; then
14681 echo $ECHO_N "(cached) $ECHO_C" >&6
14683 ac_func_search_save_LIBS
=$LIBS
14684 cat >conftest.
$ac_ext <<_ACEOF
14687 cat confdefs.h
>>conftest.
$ac_ext
14688 cat >>conftest.
$ac_ext <<_ACEOF
14689 /* end confdefs.h. */
14691 /* Override any GCC internal prototype to avoid an error.
14692 Use char because int might match the return type of a GCC
14693 builtin and then its argument prototype would still apply. */
14697 char op_open_agent ();
14701 return op_open_agent ();
14706 for ac_lib
in '' opagent
; do
14707 if test -z "$ac_lib"; then
14708 ac_res
="none required"
14711 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14713 rm -f conftest.
$ac_objext conftest
$ac_exeext
14714 if { (ac_try
="$ac_link"
14715 case "(($ac_try" in
14716 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14717 *) ac_try_echo=$ac_try;;
14719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14720 (eval "$ac_link") 2>conftest.er1
14722 grep -v '^ *+' conftest.er1 >conftest.err
14724 cat conftest.err >&5
14725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14726 (exit $ac_status); } &&
14727 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14728 { (case "(($ac_try" in
14729 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14730 *) ac_try_echo
=$ac_try;;
14732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14733 (eval "$ac_try") 2>&5
14735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14736 (exit $ac_status); }; } &&
14737 { ac_try
='test -s conftest$ac_exeext'
14738 { (case "(($ac_try" in
14739 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14740 *) ac_try_echo=$ac_try;;
14742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14743 (eval "$ac_try") 2>&5
14745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14746 (exit $ac_status); }; }; then
14747 ac_cv_search_op_open_agent=$ac_res
14749 echo "$as_me: failed program was:" >&5
14750 sed 's/^/| /' conftest.$ac_ext >&5
14755 rm -f core conftest.err conftest.$ac_objext \
14757 if test "${ac_cv_search_op_open_agent+set}" = set; then
14761 if test "${ac_cv_search_op_open_agent+set}" = set; then
14764 ac_cv_search_op_open_agent=no
14766 rm conftest.$ac_ext
14767 LIBS=$ac_func_search_save_LIBS
14769 { echo "$as_me:$LINENO: result: $ac_cv_search_op_open_agent" >&5
14770 echo "${ECHO_T}$ac_cv_search_op_open_agent" >&6; }
14771 ac_res=$ac_cv_search_op_open_agent
14772 if test "$ac_res" != no; then
14773 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14777 echo "Error! You need to have libopagent around."
14782 if test "${ac_cv_header_opagent_h+set}" = set; then
14783 { echo "$as_me:$LINENO: checking for opagent.h" >&5
14784 echo $ECHO_N "checking for opagent.h... $ECHO_C" >&6; }
14785 if test "${ac_cv_header_opagent_h+set}" = set; then
14786 echo $ECHO_N "(cached) $ECHO_C" >&6
14788 { echo "$as_me:$LINENO: result: $ac_cv_header_opagent_h" >&5
14789 echo "${ECHO_T}$ac_cv_header_opagent_h" >&6; }
14791 # Is the header compilable?
14792 { echo "$as_me:$LINENO: checking opagent.h usability" >&5
14793 echo $ECHO_N "checking opagent.h usability... $ECHO_C" >&6; }
14794 cat >conftest.$ac_ext <<_ACEOF
14797 cat confdefs.h >>conftest.$ac_ext
14798 cat >>conftest.$ac_ext <<_ACEOF
14799 /* end confdefs.h. */
14800 $ac_includes_default
14801 #include <opagent.h>
14803 rm -f conftest.$ac_objext
14804 if { (ac_try="$ac_compile"
14805 case "(($ac_try" in
14806 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14807 *) ac_try_echo
=$ac_try;;
14809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14810 (eval "$ac_compile") 2>conftest.er1
14812 grep -v '^ *+' conftest.er1
>conftest.err
14814 cat conftest.err
>&5
14815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14816 (exit $ac_status); } &&
14817 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14818 { (case "(($ac_try" in
14819 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14820 *) ac_try_echo=$ac_try;;
14822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14823 (eval "$ac_try") 2>&5
14825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14826 (exit $ac_status); }; } &&
14827 { ac_try='test -s conftest.$ac_objext'
14828 { (case "(($ac_try" in
14829 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14830 *) ac_try_echo
=$ac_try;;
14832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14833 (eval "$ac_try") 2>&5
14835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14836 (exit $ac_status); }; }; then
14837 ac_header_compiler
=yes
14839 echo "$as_me: failed program was:" >&5
14840 sed 's/^/| /' conftest.
$ac_ext >&5
14842 ac_header_compiler
=no
14845 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14846 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14847 echo "${ECHO_T}$ac_header_compiler" >&6; }
14849 # Is the header present?
14850 { echo "$as_me:$LINENO: checking opagent.h presence" >&5
14851 echo $ECHO_N "checking opagent.h presence... $ECHO_C" >&6; }
14852 cat >conftest.
$ac_ext <<_ACEOF
14855 cat confdefs.h
>>conftest.
$ac_ext
14856 cat >>conftest.
$ac_ext <<_ACEOF
14857 /* end confdefs.h. */
14858 #include <opagent.h>
14860 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14861 case "(($ac_try" in
14862 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14863 *) ac_try_echo=$ac_try;;
14865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14866 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14868 grep -v '^ *+' conftest.er1 >conftest.err
14870 cat conftest.err >&5
14871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14872 (exit $ac_status); } >/dev/null; then
14873 if test -s conftest.err; then
14874 ac_cpp_err=$ac_c_preproc_warn_flag
14875 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14882 if test -z "$ac_cpp_err"; then
14883 ac_header_preproc=yes
14885 echo "$as_me: failed program was:" >&5
14886 sed 's/^/| /' conftest.$ac_ext >&5
14888 ac_header_preproc=no
14891 rm -f conftest.err conftest.$ac_ext
14892 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14893 echo "${ECHO_T}$ac_header_preproc" >&6; }
14895 # So? What about this header?
14896 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14898 { echo "$as_me:$LINENO: WARNING: opagent.h: accepted by the compiler, rejected by the preprocessor!" >&5
14899 echo "$as_me: WARNING: opagent.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14900 { echo "$as_me:$LINENO: WARNING: opagent.h: proceeding with the compiler's result" >&5
14901 echo "$as_me: WARNING: opagent.h: proceeding with the compiler's result" >&2;}
14902 ac_header_preproc=yes
14905 { echo "$as_me:$LINENO: WARNING: opagent.h: present but cannot be compiled" >&5
14906 echo "$as_me: WARNING: opagent.h: present but cannot be compiled" >&2;}
14907 { echo "$as_me:$LINENO: WARNING: opagent.h: check for missing prerequisite headers?" >&5
14908 echo "$as_me: WARNING: opagent.h: check for missing prerequisite headers?" >&2;}
14909 { echo "$as_me:$LINENO: WARNING: opagent.h: see the Autoconf documentation" >&5
14910 echo "$as_me: WARNING: opagent.h: see the Autoconf documentation" >&2;}
14911 { echo "$as_me:$LINENO: WARNING: opagent.h: section \"Present But Cannot Be Compiled\"" >&5
14912 echo "$as_me: WARNING: opagent.h: section \"Present But Cannot Be Compiled\"" >&2;}
14913 { echo "$as_me:$LINENO: WARNING: opagent.h: proceeding with the preprocessor's result" >&5
14914 echo "$as_me: WARNING: opagent.h: proceeding with the preprocessor's result" >&2;}
14915 { echo "$as_me:$LINENO: WARNING: opagent.h: in the future, the compiler will take precedence" >&5
14916 echo "$as_me: WARNING: opagent.h: in the future, the compiler will take precedence" >&2;}
14918 ## ----------------------------------- ##
14919 ## Report this to llvmbugs@cs.uiuc.edu ##
14920 ## ----------------------------------- ##
14922 ) | sed "s/^/$as_me: WARNING: /" >&2
14925 { echo "$as_me:$LINENO: checking for opagent.h" >&5
14926 echo $ECHO_N "checking for opagent.h... $ECHO_C" >&6; }
14927 if test "${ac_cv_header_opagent_h+set}" = set; then
14928 echo $ECHO_N "(cached) $ECHO_C" >&6
14930 ac_cv_header_opagent_h=$ac_header_preproc
14932 { echo "$as_me:$LINENO: result: $ac_cv_header_opagent_h" >&5
14933 echo "${ECHO_T}$ac_cv_header_opagent_h" >&6; }
14936 if test $ac_cv_header_opagent_h = yes; then
14940 echo "Error! You need to have opagent.h around."
14956 cat >>confdefs.h <<_ACEOF
14957 #define USE_OPROFILE $USE_OPROFILE
14967 ac_header_dirent=no
14968 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
14969 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
14970 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
14971 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
14972 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14973 echo $ECHO_N "(cached) $ECHO_C" >&6
14975 cat >conftest.$ac_ext <<_ACEOF
14978 cat confdefs.h >>conftest.$ac_ext
14979 cat >>conftest.$ac_ext <<_ACEOF
14980 /* end confdefs.h. */
14981 #include <sys/types.h>
14993 rm -f conftest.$ac_objext
14994 if { (ac_try="$ac_compile"
14995 case "(($ac_try" in
14996 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14997 *) ac_try_echo
=$ac_try;;
14999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15000 (eval "$ac_compile") 2>conftest.er1
15002 grep -v '^ *+' conftest.er1
>conftest.err
15004 cat conftest.err
>&5
15005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15006 (exit $ac_status); } &&
15007 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15008 { (case "(($ac_try" in
15009 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15010 *) ac_try_echo=$ac_try;;
15012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15013 (eval "$ac_try") 2>&5
15015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15016 (exit $ac_status); }; } &&
15017 { ac_try='test -s conftest.$ac_objext'
15018 { (case "(($ac_try" in
15019 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15020 *) ac_try_echo
=$ac_try;;
15022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15023 (eval "$ac_try") 2>&5
15025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15026 (exit $ac_status); }; }; then
15027 eval "$as_ac_Header=yes"
15029 echo "$as_me: failed program was:" >&5
15030 sed 's/^/| /' conftest.
$ac_ext >&5
15032 eval "$as_ac_Header=no"
15035 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15037 ac_res
=`eval echo '${'$as_ac_Header'}'`
15038 { echo "$as_me:$LINENO: result: $ac_res" >&5
15039 echo "${ECHO_T}$ac_res" >&6; }
15040 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15041 cat >>confdefs.h
<<_ACEOF
15042 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
15045 ac_header_dirent
=$ac_hdr; break
15049 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
15050 if test $ac_header_dirent = dirent.h
; then
15051 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
15052 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
15053 if test "${ac_cv_search_opendir+set}" = set; then
15054 echo $ECHO_N "(cached) $ECHO_C" >&6
15056 ac_func_search_save_LIBS
=$LIBS
15057 cat >conftest.
$ac_ext <<_ACEOF
15060 cat confdefs.h
>>conftest.
$ac_ext
15061 cat >>conftest.
$ac_ext <<_ACEOF
15062 /* end confdefs.h. */
15064 /* Override any GCC internal prototype to avoid an error.
15065 Use char because int might match the return type of a GCC
15066 builtin and then its argument prototype would still apply. */
15079 for ac_lib
in '' dir
; do
15080 if test -z "$ac_lib"; then
15081 ac_res
="none required"
15084 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15086 rm -f conftest.
$ac_objext conftest
$ac_exeext
15087 if { (ac_try
="$ac_link"
15088 case "(($ac_try" in
15089 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15090 *) ac_try_echo=$ac_try;;
15092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15093 (eval "$ac_link") 2>conftest.er1
15095 grep -v '^ *+' conftest.er1 >conftest.err
15097 cat conftest.err >&5
15098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15099 (exit $ac_status); } &&
15100 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15101 { (case "(($ac_try" in
15102 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15103 *) ac_try_echo
=$ac_try;;
15105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15106 (eval "$ac_try") 2>&5
15108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15109 (exit $ac_status); }; } &&
15110 { ac_try
='test -s conftest$ac_exeext'
15111 { (case "(($ac_try" in
15112 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15113 *) ac_try_echo=$ac_try;;
15115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15116 (eval "$ac_try") 2>&5
15118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15119 (exit $ac_status); }; }; then
15120 ac_cv_search_opendir=$ac_res
15122 echo "$as_me: failed program was:" >&5
15123 sed 's/^/| /' conftest.$ac_ext >&5
15128 rm -f core conftest.err conftest.$ac_objext \
15130 if test "${ac_cv_search_opendir+set}" = set; then
15134 if test "${ac_cv_search_opendir+set}" = set; then
15137 ac_cv_search_opendir=no
15139 rm conftest.$ac_ext
15140 LIBS=$ac_func_search_save_LIBS
15142 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
15143 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
15144 ac_res=$ac_cv_search_opendir
15145 if test "$ac_res" != no; then
15146 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15151 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
15152 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
15153 if test "${ac_cv_search_opendir+set}" = set; then
15154 echo $ECHO_N "(cached) $ECHO_C" >&6
15156 ac_func_search_save_LIBS=$LIBS
15157 cat >conftest.$ac_ext <<_ACEOF
15160 cat confdefs.h >>conftest.$ac_ext
15161 cat >>conftest.$ac_ext <<_ACEOF
15162 /* end confdefs.h. */
15164 /* Override any GCC internal prototype to avoid an error.
15165 Use char because int might match the return type of a GCC
15166 builtin and then its argument prototype would still apply. */
15179 for ac_lib in '' x; do
15180 if test -z "$ac_lib"; then
15181 ac_res="none required"
15184 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15186 rm -f conftest.$ac_objext conftest$ac_exeext
15187 if { (ac_try="$ac_link"
15188 case "(($ac_try" in
15189 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15190 *) ac_try_echo
=$ac_try;;
15192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15193 (eval "$ac_link") 2>conftest.er1
15195 grep -v '^ *+' conftest.er1
>conftest.err
15197 cat conftest.err
>&5
15198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15199 (exit $ac_status); } &&
15200 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15201 { (case "(($ac_try" in
15202 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15203 *) ac_try_echo=$ac_try;;
15205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15206 (eval "$ac_try") 2>&5
15208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15209 (exit $ac_status); }; } &&
15210 { ac_try='test -s conftest$ac_exeext'
15211 { (case "(($ac_try" in
15212 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15213 *) ac_try_echo
=$ac_try;;
15215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15216 (eval "$ac_try") 2>&5
15218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219 (exit $ac_status); }; }; then
15220 ac_cv_search_opendir
=$ac_res
15222 echo "$as_me: failed program was:" >&5
15223 sed 's/^/| /' conftest.
$ac_ext >&5
15228 rm -f core conftest.err conftest.
$ac_objext \
15230 if test "${ac_cv_search_opendir+set}" = set; then
15234 if test "${ac_cv_search_opendir+set}" = set; then
15237 ac_cv_search_opendir
=no
15239 rm conftest.
$ac_ext
15240 LIBS
=$ac_func_search_save_LIBS
15242 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
15243 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
15244 ac_res
=$ac_cv_search_opendir
15245 if test "$ac_res" != no
; then
15246 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15252 { echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
15253 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6; }
15254 if test "${ac_cv_header_mmap_anon+set}" = set; then
15255 echo $ECHO_N "(cached) $ECHO_C" >&6
15258 ac_cpp
='$CPP $CPPFLAGS'
15259 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15260 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15261 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15263 cat >conftest.
$ac_ext <<_ACEOF
15266 cat confdefs.h
>>conftest.
$ac_ext
15267 cat >>conftest.
$ac_ext <<_ACEOF
15268 /* end confdefs.h. */
15269 #include <sys/mman.h>
15270 #include <unistd.h>
15275 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
15280 rm -f conftest.
$ac_objext
15281 if { (ac_try
="$ac_compile"
15282 case "(($ac_try" in
15283 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15284 *) ac_try_echo=$ac_try;;
15286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15287 (eval "$ac_compile") 2>conftest.er1
15289 grep -v '^ *+' conftest.er1 >conftest.err
15291 cat conftest.err >&5
15292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15293 (exit $ac_status); } &&
15294 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15295 { (case "(($ac_try" in
15296 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15297 *) ac_try_echo
=$ac_try;;
15299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15300 (eval "$ac_try") 2>&5
15302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15303 (exit $ac_status); }; } &&
15304 { ac_try
='test -s conftest.$ac_objext'
15305 { (case "(($ac_try" in
15306 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15307 *) ac_try_echo=$ac_try;;
15309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15310 (eval "$ac_try") 2>&5
15312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15313 (exit $ac_status); }; }; then
15314 ac_cv_header_mmap_anon=yes
15316 echo "$as_me: failed program was:" >&5
15317 sed 's/^/| /' conftest.$ac_ext >&5
15319 ac_cv_header_mmap_anon=no
15322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15324 ac_cpp='$CPP $CPPFLAGS'
15325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15331 { echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
15332 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6; }
15333 if test "$ac_cv_header_mmap_anon" = yes; then
15335 cat >>confdefs.h <<\_ACEOF
15336 #define HAVE_MMAP_ANONYMOUS 1
15341 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
15342 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
15343 if test "${ac_cv_header_stat_broken+set}" = set; then
15344 echo $ECHO_N "(cached) $ECHO_C" >&6
15346 cat >conftest.$ac_ext <<_ACEOF
15349 cat confdefs.h >>conftest.$ac_ext
15350 cat >>conftest.$ac_ext <<_ACEOF
15351 /* end confdefs.h. */
15352 #include <sys/types.h>
15353 #include <sys/stat.h>
15355 #if defined S_ISBLK && defined S_IFDIR
15356 # if S_ISBLK (S_IFDIR)
15361 #if defined S_ISBLK && defined S_IFCHR
15362 # if S_ISBLK (S_IFCHR)
15367 #if defined S_ISLNK && defined S_IFREG
15368 # if S_ISLNK (S_IFREG)
15373 #if defined S_ISSOCK && defined S_IFREG
15374 # if S_ISSOCK (S_IFREG)
15380 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15381 $EGREP "You lose" >/dev/null 2>&1; then
15382 ac_cv_header_stat_broken=yes
15384 ac_cv_header_stat_broken=no
15389 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
15390 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
15391 if test $ac_cv_header_stat_broken = yes; then
15393 cat >>confdefs.h <<\_ACEOF
15394 #define STAT_MACROS_BROKEN 1
15399 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
15400 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
15401 if test "${ac_cv_header_stdc+set}" = set; then
15402 echo $ECHO_N "(cached) $ECHO_C" >&6
15404 cat >conftest.$ac_ext <<_ACEOF
15407 cat confdefs.h >>conftest.$ac_ext
15408 cat >>conftest.$ac_ext <<_ACEOF
15409 /* end confdefs.h. */
15410 #include <stdlib.h>
15411 #include <stdarg.h>
15412 #include <string.h>
15423 rm -f conftest.$ac_objext
15424 if { (ac_try="$ac_compile"
15425 case "(($ac_try" in
15426 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15427 *) ac_try_echo
=$ac_try;;
15429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15430 (eval "$ac_compile") 2>conftest.er1
15432 grep -v '^ *+' conftest.er1
>conftest.err
15434 cat conftest.err
>&5
15435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15436 (exit $ac_status); } &&
15437 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15438 { (case "(($ac_try" in
15439 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15440 *) ac_try_echo=$ac_try;;
15442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15443 (eval "$ac_try") 2>&5
15445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15446 (exit $ac_status); }; } &&
15447 { ac_try='test -s conftest.$ac_objext'
15448 { (case "(($ac_try" in
15449 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15450 *) ac_try_echo
=$ac_try;;
15452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15453 (eval "$ac_try") 2>&5
15455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15456 (exit $ac_status); }; }; then
15457 ac_cv_header_stdc
=yes
15459 echo "$as_me: failed program was:" >&5
15460 sed 's/^/| /' conftest.
$ac_ext >&5
15462 ac_cv_header_stdc
=no
15465 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15467 if test $ac_cv_header_stdc = yes; then
15468 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15469 cat >conftest.
$ac_ext <<_ACEOF
15472 cat confdefs.h
>>conftest.
$ac_ext
15473 cat >>conftest.
$ac_ext <<_ACEOF
15474 /* end confdefs.h. */
15475 #include <string.h>
15478 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15479 $EGREP "memchr" >/dev
/null
2>&1; then
15482 ac_cv_header_stdc
=no
15488 if test $ac_cv_header_stdc = yes; then
15489 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15490 cat >conftest.
$ac_ext <<_ACEOF
15493 cat confdefs.h
>>conftest.
$ac_ext
15494 cat >>conftest.
$ac_ext <<_ACEOF
15495 /* end confdefs.h. */
15496 #include <stdlib.h>
15499 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15500 $EGREP "free" >/dev
/null
2>&1; then
15503 ac_cv_header_stdc
=no
15509 if test $ac_cv_header_stdc = yes; then
15510 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15511 if test "$cross_compiling" = yes; then
15514 cat >conftest.
$ac_ext <<_ACEOF
15517 cat confdefs.h
>>conftest.
$ac_ext
15518 cat >>conftest.
$ac_ext <<_ACEOF
15519 /* end confdefs.h. */
15521 #include <stdlib.h>
15522 #if ((' ' & 0x0FF) == 0x020)
15523 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15524 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15526 # define ISLOWER(c) \
15527 (('a' <= (c) && (c) <= 'i') \
15528 || ('j' <= (c) && (c) <= 'r') \
15529 || ('s' <= (c) && (c) <= 'z'))
15530 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15533 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15538 for (i = 0; i < 256; i++)
15539 if (XOR (islower (i), ISLOWER (i))
15540 || toupper (i) != TOUPPER (i))
15545 rm -f conftest
$ac_exeext
15546 if { (ac_try
="$ac_link"
15547 case "(($ac_try" in
15548 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15549 *) ac_try_echo=$ac_try;;
15551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15552 (eval "$ac_link") 2>&5
15554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15555 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15556 { (case "(($ac_try" in
15557 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15558 *) ac_try_echo
=$ac_try;;
15560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15561 (eval "$ac_try") 2>&5
15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564 (exit $ac_status); }; }; then
15567 echo "$as_me: program exited with status $ac_status" >&5
15568 echo "$as_me: failed program was:" >&5
15569 sed 's/^/| /' conftest.
$ac_ext >&5
15571 ( exit $ac_status )
15572 ac_cv_header_stdc
=no
15574 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15580 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
15581 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
15582 if test $ac_cv_header_stdc = yes; then
15584 cat >>confdefs.h
<<\_ACEOF
15585 #define STDC_HEADERS 1
15590 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
15591 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
15592 if test "${ac_cv_header_sys_wait_h+set}" = set; then
15593 echo $ECHO_N "(cached) $ECHO_C" >&6
15595 cat >conftest.
$ac_ext <<_ACEOF
15598 cat confdefs.h
>>conftest.
$ac_ext
15599 cat >>conftest.
$ac_ext <<_ACEOF
15600 /* end confdefs.h. */
15601 #include <sys/types.h>
15602 #include <sys/wait.h>
15603 #ifndef WEXITSTATUS
15604 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
15607 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
15615 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
15620 rm -f conftest.
$ac_objext
15621 if { (ac_try
="$ac_compile"
15622 case "(($ac_try" in
15623 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15624 *) ac_try_echo=$ac_try;;
15626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15627 (eval "$ac_compile") 2>conftest.er1
15629 grep -v '^ *+' conftest.er1 >conftest.err
15631 cat conftest.err >&5
15632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633 (exit $ac_status); } &&
15634 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15635 { (case "(($ac_try" in
15636 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15637 *) ac_try_echo
=$ac_try;;
15639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15640 (eval "$ac_try") 2>&5
15642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15643 (exit $ac_status); }; } &&
15644 { ac_try
='test -s conftest.$ac_objext'
15645 { (case "(($ac_try" in
15646 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15647 *) ac_try_echo=$ac_try;;
15649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15650 (eval "$ac_try") 2>&5
15652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15653 (exit $ac_status); }; }; then
15654 ac_cv_header_sys_wait_h=yes
15656 echo "$as_me: failed program was:" >&5
15657 sed 's/^/| /' conftest.$ac_ext >&5
15659 ac_cv_header_sys_wait_h=no
15662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15664 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
15665 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
15666 if test $ac_cv_header_sys_wait_h = yes; then
15668 cat >>confdefs.h <<\_ACEOF
15669 #define HAVE_SYS_WAIT_H 1
15674 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
15675 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
15676 if test "${ac_cv_header_time+set}" = set; then
15677 echo $ECHO_N "(cached) $ECHO_C" >&6
15679 cat >conftest.$ac_ext <<_ACEOF
15682 cat confdefs.h >>conftest.$ac_ext
15683 cat >>conftest.$ac_ext <<_ACEOF
15684 /* end confdefs.h. */
15685 #include <sys/types.h>
15686 #include <sys/time.h>
15692 if ((struct tm *) 0)
15698 rm -f conftest.$ac_objext
15699 if { (ac_try="$ac_compile"
15700 case "(($ac_try" in
15701 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15702 *) ac_try_echo
=$ac_try;;
15704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15705 (eval "$ac_compile") 2>conftest.er1
15707 grep -v '^ *+' conftest.er1
>conftest.err
15709 cat conftest.err
>&5
15710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15711 (exit $ac_status); } &&
15712 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15713 { (case "(($ac_try" in
15714 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15715 *) ac_try_echo=$ac_try;;
15717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15718 (eval "$ac_try") 2>&5
15720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15721 (exit $ac_status); }; } &&
15722 { ac_try='test -s conftest.$ac_objext'
15723 { (case "(($ac_try" in
15724 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15725 *) ac_try_echo
=$ac_try;;
15727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15728 (eval "$ac_try") 2>&5
15730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15731 (exit $ac_status); }; }; then
15732 ac_cv_header_time
=yes
15734 echo "$as_me: failed program was:" >&5
15735 sed 's/^/| /' conftest.
$ac_ext >&5
15737 ac_cv_header_time
=no
15740 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15742 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
15743 echo "${ECHO_T}$ac_cv_header_time" >&6; }
15744 if test $ac_cv_header_time = yes; then
15746 cat >>confdefs.h
<<\_ACEOF
15747 #define TIME_WITH_SYS_TIME 1
15759 for ac_header
in dlfcn.h execinfo.h fcntl.h inttypes.h limits.h link.h
15761 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15762 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15763 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15765 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15766 echo $ECHO_N "(cached) $ECHO_C" >&6
15768 ac_res
=`eval echo '${'$as_ac_Header'}'`
15769 { echo "$as_me:$LINENO: result: $ac_res" >&5
15770 echo "${ECHO_T}$ac_res" >&6; }
15772 # Is the header compilable?
15773 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15774 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15775 cat >conftest.
$ac_ext <<_ACEOF
15778 cat confdefs.h
>>conftest.
$ac_ext
15779 cat >>conftest.
$ac_ext <<_ACEOF
15780 /* end confdefs.h. */
15781 $ac_includes_default
15782 #include <$ac_header>
15784 rm -f conftest.
$ac_objext
15785 if { (ac_try
="$ac_compile"
15786 case "(($ac_try" in
15787 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15788 *) ac_try_echo=$ac_try;;
15790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15791 (eval "$ac_compile") 2>conftest.er1
15793 grep -v '^ *+' conftest.er1 >conftest.err
15795 cat conftest.err >&5
15796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15797 (exit $ac_status); } &&
15798 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15799 { (case "(($ac_try" in
15800 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15801 *) ac_try_echo
=$ac_try;;
15803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15804 (eval "$ac_try") 2>&5
15806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15807 (exit $ac_status); }; } &&
15808 { ac_try
='test -s conftest.$ac_objext'
15809 { (case "(($ac_try" in
15810 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15811 *) ac_try_echo=$ac_try;;
15813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15814 (eval "$ac_try") 2>&5
15816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15817 (exit $ac_status); }; }; then
15818 ac_header_compiler=yes
15820 echo "$as_me: failed program was:" >&5
15821 sed 's/^/| /' conftest.$ac_ext >&5
15823 ac_header_compiler=no
15826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15827 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15828 echo "${ECHO_T}$ac_header_compiler" >&6; }
15830 # Is the header present?
15831 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15832 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15833 cat >conftest.$ac_ext <<_ACEOF
15836 cat confdefs.h >>conftest.$ac_ext
15837 cat >>conftest.$ac_ext <<_ACEOF
15838 /* end confdefs.h. */
15839 #include <$ac_header>
15841 if { (ac_try="$ac_cpp conftest.$ac_ext"
15842 case "(($ac_try" in
15843 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15844 *) ac_try_echo
=$ac_try;;
15846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15847 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15849 grep -v '^ *+' conftest.er1
>conftest.err
15851 cat conftest.err
>&5
15852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15853 (exit $ac_status); } >/dev
/null
; then
15854 if test -s conftest.err
; then
15855 ac_cpp_err
=$ac_c_preproc_warn_flag
15856 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15863 if test -z "$ac_cpp_err"; then
15864 ac_header_preproc
=yes
15866 echo "$as_me: failed program was:" >&5
15867 sed 's/^/| /' conftest.
$ac_ext >&5
15869 ac_header_preproc
=no
15872 rm -f conftest.err conftest.
$ac_ext
15873 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15874 echo "${ECHO_T}$ac_header_preproc" >&6; }
15876 # So? What about this header?
15877 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15879 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15880 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15881 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15882 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15883 ac_header_preproc
=yes
15886 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15887 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15888 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15889 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15890 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15891 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15892 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15893 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15894 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15895 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15896 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15897 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15899 ## ----------------------------------- ##
15900 ## Report this to llvmbugs@cs.uiuc.edu ##
15901 ## ----------------------------------- ##
15903 ) |
sed "s/^/$as_me: WARNING: /" >&2
15906 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15907 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15908 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15909 echo $ECHO_N "(cached) $ECHO_C" >&6
15911 eval "$as_ac_Header=\$ac_header_preproc"
15913 ac_res
=`eval echo '${'$as_ac_Header'}'`
15914 { echo "$as_me:$LINENO: result: $ac_res" >&5
15915 echo "${ECHO_T}$ac_res" >&6; }
15918 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15919 cat >>confdefs.h
<<_ACEOF
15920 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15933 for ac_header
in malloc.h setjmp.h signal.h stdint.h termios.h unistd.h
15935 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15936 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15937 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15939 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15940 echo $ECHO_N "(cached) $ECHO_C" >&6
15942 ac_res
=`eval echo '${'$as_ac_Header'}'`
15943 { echo "$as_me:$LINENO: result: $ac_res" >&5
15944 echo "${ECHO_T}$ac_res" >&6; }
15946 # Is the header compilable?
15947 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15948 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15949 cat >conftest.
$ac_ext <<_ACEOF
15952 cat confdefs.h
>>conftest.
$ac_ext
15953 cat >>conftest.
$ac_ext <<_ACEOF
15954 /* end confdefs.h. */
15955 $ac_includes_default
15956 #include <$ac_header>
15958 rm -f conftest.
$ac_objext
15959 if { (ac_try
="$ac_compile"
15960 case "(($ac_try" in
15961 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15962 *) ac_try_echo=$ac_try;;
15964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15965 (eval "$ac_compile") 2>conftest.er1
15967 grep -v '^ *+' conftest.er1 >conftest.err
15969 cat conftest.err >&5
15970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15971 (exit $ac_status); } &&
15972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15973 { (case "(($ac_try" in
15974 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15975 *) ac_try_echo
=$ac_try;;
15977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15978 (eval "$ac_try") 2>&5
15980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15981 (exit $ac_status); }; } &&
15982 { ac_try
='test -s conftest.$ac_objext'
15983 { (case "(($ac_try" in
15984 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15985 *) ac_try_echo=$ac_try;;
15987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15988 (eval "$ac_try") 2>&5
15990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15991 (exit $ac_status); }; }; then
15992 ac_header_compiler=yes
15994 echo "$as_me: failed program was:" >&5
15995 sed 's/^/| /' conftest.$ac_ext >&5
15997 ac_header_compiler=no
16000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16001 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16002 echo "${ECHO_T}$ac_header_compiler" >&6; }
16004 # Is the header present?
16005 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
16006 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16007 cat >conftest.$ac_ext <<_ACEOF
16010 cat confdefs.h >>conftest.$ac_ext
16011 cat >>conftest.$ac_ext <<_ACEOF
16012 /* end confdefs.h. */
16013 #include <$ac_header>
16015 if { (ac_try="$ac_cpp conftest.$ac_ext"
16016 case "(($ac_try" in
16017 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16018 *) ac_try_echo
=$ac_try;;
16020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16021 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16023 grep -v '^ *+' conftest.er1
>conftest.err
16025 cat conftest.err
>&5
16026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16027 (exit $ac_status); } >/dev
/null
; then
16028 if test -s conftest.err
; then
16029 ac_cpp_err
=$ac_c_preproc_warn_flag
16030 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16037 if test -z "$ac_cpp_err"; then
16038 ac_header_preproc
=yes
16040 echo "$as_me: failed program was:" >&5
16041 sed 's/^/| /' conftest.
$ac_ext >&5
16043 ac_header_preproc
=no
16046 rm -f conftest.err conftest.
$ac_ext
16047 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16048 echo "${ECHO_T}$ac_header_preproc" >&6; }
16050 # So? What about this header?
16051 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16053 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16054 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16056 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16057 ac_header_preproc
=yes
16060 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16061 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16062 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16063 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16064 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16065 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16066 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16067 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16069 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16070 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16071 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16073 ## ----------------------------------- ##
16074 ## Report this to llvmbugs@cs.uiuc.edu ##
16075 ## ----------------------------------- ##
16077 ) |
sed "s/^/$as_me: WARNING: /" >&2
16080 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16082 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16083 echo $ECHO_N "(cached) $ECHO_C" >&6
16085 eval "$as_ac_Header=\$ac_header_preproc"
16087 ac_res
=`eval echo '${'$as_ac_Header'}'`
16088 { echo "$as_me:$LINENO: result: $ac_res" >&5
16089 echo "${ECHO_T}$ac_res" >&6; }
16092 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16093 cat >>confdefs.h
<<_ACEOF
16094 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16103 for ac_header
in utime.h windows.h
16105 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16106 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16107 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16109 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16110 echo $ECHO_N "(cached) $ECHO_C" >&6
16112 ac_res
=`eval echo '${'$as_ac_Header'}'`
16113 { echo "$as_me:$LINENO: result: $ac_res" >&5
16114 echo "${ECHO_T}$ac_res" >&6; }
16116 # Is the header compilable?
16117 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
16118 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16119 cat >conftest.
$ac_ext <<_ACEOF
16122 cat confdefs.h
>>conftest.
$ac_ext
16123 cat >>conftest.
$ac_ext <<_ACEOF
16124 /* end confdefs.h. */
16125 $ac_includes_default
16126 #include <$ac_header>
16128 rm -f conftest.
$ac_objext
16129 if { (ac_try
="$ac_compile"
16130 case "(($ac_try" in
16131 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16132 *) ac_try_echo=$ac_try;;
16134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16135 (eval "$ac_compile") 2>conftest.er1
16137 grep -v '^ *+' conftest.er1 >conftest.err
16139 cat conftest.err >&5
16140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16141 (exit $ac_status); } &&
16142 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16143 { (case "(($ac_try" in
16144 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16145 *) ac_try_echo
=$ac_try;;
16147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16148 (eval "$ac_try") 2>&5
16150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16151 (exit $ac_status); }; } &&
16152 { ac_try
='test -s conftest.$ac_objext'
16153 { (case "(($ac_try" in
16154 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16155 *) ac_try_echo=$ac_try;;
16157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16158 (eval "$ac_try") 2>&5
16160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16161 (exit $ac_status); }; }; then
16162 ac_header_compiler=yes
16164 echo "$as_me: failed program was:" >&5
16165 sed 's/^/| /' conftest.$ac_ext >&5
16167 ac_header_compiler=no
16170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16171 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16172 echo "${ECHO_T}$ac_header_compiler" >&6; }
16174 # Is the header present?
16175 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
16176 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16177 cat >conftest.$ac_ext <<_ACEOF
16180 cat confdefs.h >>conftest.$ac_ext
16181 cat >>conftest.$ac_ext <<_ACEOF
16182 /* end confdefs.h. */
16183 #include <$ac_header>
16185 if { (ac_try="$ac_cpp conftest.$ac_ext"
16186 case "(($ac_try" in
16187 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16188 *) ac_try_echo
=$ac_try;;
16190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16191 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16193 grep -v '^ *+' conftest.er1
>conftest.err
16195 cat conftest.err
>&5
16196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16197 (exit $ac_status); } >/dev
/null
; then
16198 if test -s conftest.err
; then
16199 ac_cpp_err
=$ac_c_preproc_warn_flag
16200 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16207 if test -z "$ac_cpp_err"; then
16208 ac_header_preproc
=yes
16210 echo "$as_me: failed program was:" >&5
16211 sed 's/^/| /' conftest.
$ac_ext >&5
16213 ac_header_preproc
=no
16216 rm -f conftest.err conftest.
$ac_ext
16217 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16218 echo "${ECHO_T}$ac_header_preproc" >&6; }
16220 # So? What about this header?
16221 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16223 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16224 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16225 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16226 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16227 ac_header_preproc
=yes
16230 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16231 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16232 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16233 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16234 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16235 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16236 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16237 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16239 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16240 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16241 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16243 ## ----------------------------------- ##
16244 ## Report this to llvmbugs@cs.uiuc.edu ##
16245 ## ----------------------------------- ##
16247 ) |
sed "s/^/$as_me: WARNING: /" >&2
16250 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16252 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16253 echo $ECHO_N "(cached) $ECHO_C" >&6
16255 eval "$as_ac_Header=\$ac_header_preproc"
16257 ac_res
=`eval echo '${'$as_ac_Header'}'`
16258 { echo "$as_me:$LINENO: result: $ac_res" >&5
16259 echo "${ECHO_T}$ac_res" >&6; }
16262 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16263 cat >>confdefs.h
<<_ACEOF
16264 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16276 for ac_header
in sys
/mman.h sys
/param.h sys
/resource.h sys
/time.h sys
/uio.h
16278 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16279 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16280 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16281 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16282 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16283 echo $ECHO_N "(cached) $ECHO_C" >&6
16285 ac_res
=`eval echo '${'$as_ac_Header'}'`
16286 { echo "$as_me:$LINENO: result: $ac_res" >&5
16287 echo "${ECHO_T}$ac_res" >&6; }
16289 # Is the header compilable?
16290 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
16291 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16292 cat >conftest.
$ac_ext <<_ACEOF
16295 cat confdefs.h
>>conftest.
$ac_ext
16296 cat >>conftest.
$ac_ext <<_ACEOF
16297 /* end confdefs.h. */
16298 $ac_includes_default
16299 #include <$ac_header>
16301 rm -f conftest.
$ac_objext
16302 if { (ac_try
="$ac_compile"
16303 case "(($ac_try" in
16304 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16305 *) ac_try_echo=$ac_try;;
16307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16308 (eval "$ac_compile") 2>conftest.er1
16310 grep -v '^ *+' conftest.er1 >conftest.err
16312 cat conftest.err >&5
16313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16314 (exit $ac_status); } &&
16315 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16316 { (case "(($ac_try" in
16317 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16318 *) ac_try_echo
=$ac_try;;
16320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16321 (eval "$ac_try") 2>&5
16323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16324 (exit $ac_status); }; } &&
16325 { ac_try
='test -s conftest.$ac_objext'
16326 { (case "(($ac_try" in
16327 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16328 *) ac_try_echo=$ac_try;;
16330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16331 (eval "$ac_try") 2>&5
16333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16334 (exit $ac_status); }; }; then
16335 ac_header_compiler=yes
16337 echo "$as_me: failed program was:" >&5
16338 sed 's/^/| /' conftest.$ac_ext >&5
16340 ac_header_compiler=no
16343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16344 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16345 echo "${ECHO_T}$ac_header_compiler" >&6; }
16347 # Is the header present?
16348 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
16349 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16350 cat >conftest.$ac_ext <<_ACEOF
16353 cat confdefs.h >>conftest.$ac_ext
16354 cat >>conftest.$ac_ext <<_ACEOF
16355 /* end confdefs.h. */
16356 #include <$ac_header>
16358 if { (ac_try="$ac_cpp conftest.$ac_ext"
16359 case "(($ac_try" in
16360 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16361 *) ac_try_echo
=$ac_try;;
16363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16364 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16366 grep -v '^ *+' conftest.er1
>conftest.err
16368 cat conftest.err
>&5
16369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16370 (exit $ac_status); } >/dev
/null
; then
16371 if test -s conftest.err
; then
16372 ac_cpp_err
=$ac_c_preproc_warn_flag
16373 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16380 if test -z "$ac_cpp_err"; then
16381 ac_header_preproc
=yes
16383 echo "$as_me: failed program was:" >&5
16384 sed 's/^/| /' conftest.
$ac_ext >&5
16386 ac_header_preproc
=no
16389 rm -f conftest.err conftest.
$ac_ext
16390 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16391 echo "${ECHO_T}$ac_header_preproc" >&6; }
16393 # So? What about this header?
16394 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16396 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16397 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16398 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16399 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16400 ac_header_preproc
=yes
16403 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16404 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16405 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16406 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16407 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16408 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16409 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16410 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16411 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16412 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16413 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16414 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16416 ## ----------------------------------- ##
16417 ## Report this to llvmbugs@cs.uiuc.edu ##
16418 ## ----------------------------------- ##
16420 ) |
sed "s/^/$as_me: WARNING: /" >&2
16423 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16425 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16426 echo $ECHO_N "(cached) $ECHO_C" >&6
16428 eval "$as_ac_Header=\$ac_header_preproc"
16430 ac_res
=`eval echo '${'$as_ac_Header'}'`
16431 { echo "$as_me:$LINENO: result: $ac_res" >&5
16432 echo "${ECHO_T}$ac_res" >&6; }
16435 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16436 cat >>confdefs.h
<<_ACEOF
16437 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16448 for ac_header
in sys
/types.h sys
/ioctl.h malloc
/malloc.h mach
/mach.h
16450 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16451 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16452 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16454 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16455 echo $ECHO_N "(cached) $ECHO_C" >&6
16457 ac_res
=`eval echo '${'$as_ac_Header'}'`
16458 { echo "$as_me:$LINENO: result: $ac_res" >&5
16459 echo "${ECHO_T}$ac_res" >&6; }
16461 # Is the header compilable?
16462 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
16463 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16464 cat >conftest.
$ac_ext <<_ACEOF
16467 cat confdefs.h
>>conftest.
$ac_ext
16468 cat >>conftest.
$ac_ext <<_ACEOF
16469 /* end confdefs.h. */
16470 $ac_includes_default
16471 #include <$ac_header>
16473 rm -f conftest.
$ac_objext
16474 if { (ac_try
="$ac_compile"
16475 case "(($ac_try" in
16476 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16477 *) ac_try_echo=$ac_try;;
16479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16480 (eval "$ac_compile") 2>conftest.er1
16482 grep -v '^ *+' conftest.er1 >conftest.err
16484 cat conftest.err >&5
16485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16486 (exit $ac_status); } &&
16487 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16488 { (case "(($ac_try" in
16489 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16490 *) ac_try_echo
=$ac_try;;
16492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16493 (eval "$ac_try") 2>&5
16495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16496 (exit $ac_status); }; } &&
16497 { ac_try
='test -s conftest.$ac_objext'
16498 { (case "(($ac_try" in
16499 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16500 *) ac_try_echo=$ac_try;;
16502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16503 (eval "$ac_try") 2>&5
16505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16506 (exit $ac_status); }; }; then
16507 ac_header_compiler=yes
16509 echo "$as_me: failed program was:" >&5
16510 sed 's/^/| /' conftest.$ac_ext >&5
16512 ac_header_compiler=no
16515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16516 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16517 echo "${ECHO_T}$ac_header_compiler" >&6; }
16519 # Is the header present?
16520 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
16521 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16522 cat >conftest.$ac_ext <<_ACEOF
16525 cat confdefs.h >>conftest.$ac_ext
16526 cat >>conftest.$ac_ext <<_ACEOF
16527 /* end confdefs.h. */
16528 #include <$ac_header>
16530 if { (ac_try="$ac_cpp conftest.$ac_ext"
16531 case "(($ac_try" in
16532 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16533 *) ac_try_echo
=$ac_try;;
16535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16536 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16538 grep -v '^ *+' conftest.er1
>conftest.err
16540 cat conftest.err
>&5
16541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542 (exit $ac_status); } >/dev
/null
; then
16543 if test -s conftest.err
; then
16544 ac_cpp_err
=$ac_c_preproc_warn_flag
16545 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16552 if test -z "$ac_cpp_err"; then
16553 ac_header_preproc
=yes
16555 echo "$as_me: failed program was:" >&5
16556 sed 's/^/| /' conftest.
$ac_ext >&5
16558 ac_header_preproc
=no
16561 rm -f conftest.err conftest.
$ac_ext
16562 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16563 echo "${ECHO_T}$ac_header_preproc" >&6; }
16565 # So? What about this header?
16566 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16568 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16569 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16570 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16571 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16572 ac_header_preproc
=yes
16575 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16576 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16577 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16578 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16579 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16580 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16581 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16582 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16583 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16584 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16585 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16586 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16588 ## ----------------------------------- ##
16589 ## Report this to llvmbugs@cs.uiuc.edu ##
16590 ## ----------------------------------- ##
16592 ) |
sed "s/^/$as_me: WARNING: /" >&2
16595 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16596 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16597 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16598 echo $ECHO_N "(cached) $ECHO_C" >&6
16600 eval "$as_ac_Header=\$ac_header_preproc"
16602 ac_res
=`eval echo '${'$as_ac_Header'}'`
16603 { echo "$as_me:$LINENO: result: $ac_res" >&5
16604 echo "${ECHO_T}$ac_res" >&6; }
16607 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16608 cat >>confdefs.h
<<_ACEOF
16609 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16617 for ac_header
in valgrind
/valgrind.h
16619 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16620 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16621 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16623 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16624 echo $ECHO_N "(cached) $ECHO_C" >&6
16626 ac_res
=`eval echo '${'$as_ac_Header'}'`
16627 { echo "$as_me:$LINENO: result: $ac_res" >&5
16628 echo "${ECHO_T}$ac_res" >&6; }
16630 # Is the header compilable?
16631 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
16632 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16633 cat >conftest.
$ac_ext <<_ACEOF
16636 cat confdefs.h
>>conftest.
$ac_ext
16637 cat >>conftest.
$ac_ext <<_ACEOF
16638 /* end confdefs.h. */
16639 $ac_includes_default
16640 #include <$ac_header>
16642 rm -f conftest.
$ac_objext
16643 if { (ac_try
="$ac_compile"
16644 case "(($ac_try" in
16645 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16646 *) ac_try_echo=$ac_try;;
16648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16649 (eval "$ac_compile") 2>conftest.er1
16651 grep -v '^ *+' conftest.er1 >conftest.err
16653 cat conftest.err >&5
16654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16655 (exit $ac_status); } &&
16656 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16657 { (case "(($ac_try" in
16658 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16659 *) ac_try_echo
=$ac_try;;
16661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16662 (eval "$ac_try") 2>&5
16664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16665 (exit $ac_status); }; } &&
16666 { ac_try
='test -s conftest.$ac_objext'
16667 { (case "(($ac_try" in
16668 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16669 *) ac_try_echo=$ac_try;;
16671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16672 (eval "$ac_try") 2>&5
16674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675 (exit $ac_status); }; }; then
16676 ac_header_compiler=yes
16678 echo "$as_me: failed program was:" >&5
16679 sed 's/^/| /' conftest.$ac_ext >&5
16681 ac_header_compiler=no
16684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16685 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16686 echo "${ECHO_T}$ac_header_compiler" >&6; }
16688 # Is the header present?
16689 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
16690 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16691 cat >conftest.$ac_ext <<_ACEOF
16694 cat confdefs.h >>conftest.$ac_ext
16695 cat >>conftest.$ac_ext <<_ACEOF
16696 /* end confdefs.h. */
16697 #include <$ac_header>
16699 if { (ac_try="$ac_cpp conftest.$ac_ext"
16700 case "(($ac_try" in
16701 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16702 *) ac_try_echo
=$ac_try;;
16704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16705 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16707 grep -v '^ *+' conftest.er1
>conftest.err
16709 cat conftest.err
>&5
16710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16711 (exit $ac_status); } >/dev
/null
; then
16712 if test -s conftest.err
; then
16713 ac_cpp_err
=$ac_c_preproc_warn_flag
16714 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16721 if test -z "$ac_cpp_err"; then
16722 ac_header_preproc
=yes
16724 echo "$as_me: failed program was:" >&5
16725 sed 's/^/| /' conftest.
$ac_ext >&5
16727 ac_header_preproc
=no
16730 rm -f conftest.err conftest.
$ac_ext
16731 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16732 echo "${ECHO_T}$ac_header_preproc" >&6; }
16734 # So? What about this header?
16735 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16737 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16738 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16739 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16740 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16741 ac_header_preproc
=yes
16744 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16745 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16746 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16747 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16748 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16749 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16750 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16751 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16752 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16753 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16754 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16755 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16757 ## ----------------------------------- ##
16758 ## Report this to llvmbugs@cs.uiuc.edu ##
16759 ## ----------------------------------- ##
16761 ) |
sed "s/^/$as_me: WARNING: /" >&2
16764 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16765 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16766 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16767 echo $ECHO_N "(cached) $ECHO_C" >&6
16769 eval "$as_ac_Header=\$ac_header_preproc"
16771 ac_res
=`eval echo '${'$as_ac_Header'}'`
16772 { echo "$as_me:$LINENO: result: $ac_res" >&5
16773 echo "${ECHO_T}$ac_res" >&6; }
16776 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16777 cat >>confdefs.h
<<_ACEOF
16778 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16786 for ac_header
in fenv.h
16788 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16789 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16790 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16791 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16792 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16793 echo $ECHO_N "(cached) $ECHO_C" >&6
16795 ac_res
=`eval echo '${'$as_ac_Header'}'`
16796 { echo "$as_me:$LINENO: result: $ac_res" >&5
16797 echo "${ECHO_T}$ac_res" >&6; }
16799 # Is the header compilable?
16800 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
16801 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16802 cat >conftest.
$ac_ext <<_ACEOF
16805 cat confdefs.h
>>conftest.
$ac_ext
16806 cat >>conftest.
$ac_ext <<_ACEOF
16807 /* end confdefs.h. */
16808 $ac_includes_default
16809 #include <$ac_header>
16811 rm -f conftest.
$ac_objext
16812 if { (ac_try
="$ac_compile"
16813 case "(($ac_try" in
16814 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16815 *) ac_try_echo=$ac_try;;
16817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16818 (eval "$ac_compile") 2>conftest.er1
16820 grep -v '^ *+' conftest.er1 >conftest.err
16822 cat conftest.err >&5
16823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16824 (exit $ac_status); } &&
16825 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16826 { (case "(($ac_try" in
16827 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16828 *) ac_try_echo
=$ac_try;;
16830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16831 (eval "$ac_try") 2>&5
16833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16834 (exit $ac_status); }; } &&
16835 { ac_try
='test -s conftest.$ac_objext'
16836 { (case "(($ac_try" in
16837 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16838 *) ac_try_echo=$ac_try;;
16840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16841 (eval "$ac_try") 2>&5
16843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16844 (exit $ac_status); }; }; then
16845 ac_header_compiler=yes
16847 echo "$as_me: failed program was:" >&5
16848 sed 's/^/| /' conftest.$ac_ext >&5
16850 ac_header_compiler=no
16853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16854 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16855 echo "${ECHO_T}$ac_header_compiler" >&6; }
16857 # Is the header present?
16858 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
16859 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16860 cat >conftest.$ac_ext <<_ACEOF
16863 cat confdefs.h >>conftest.$ac_ext
16864 cat >>conftest.$ac_ext <<_ACEOF
16865 /* end confdefs.h. */
16866 #include <$ac_header>
16868 if { (ac_try="$ac_cpp conftest.$ac_ext"
16869 case "(($ac_try" in
16870 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16871 *) ac_try_echo
=$ac_try;;
16873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16874 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16876 grep -v '^ *+' conftest.er1
>conftest.err
16878 cat conftest.err
>&5
16879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16880 (exit $ac_status); } >/dev
/null
; then
16881 if test -s conftest.err
; then
16882 ac_cpp_err
=$ac_c_preproc_warn_flag
16883 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16890 if test -z "$ac_cpp_err"; then
16891 ac_header_preproc
=yes
16893 echo "$as_me: failed program was:" >&5
16894 sed 's/^/| /' conftest.
$ac_ext >&5
16896 ac_header_preproc
=no
16899 rm -f conftest.err conftest.
$ac_ext
16900 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16901 echo "${ECHO_T}$ac_header_preproc" >&6; }
16903 # So? What about this header?
16904 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16906 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16907 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16909 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16910 ac_header_preproc
=yes
16913 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16914 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16915 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16916 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16917 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16918 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16919 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16920 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16921 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16922 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16923 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16924 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16926 ## ----------------------------------- ##
16927 ## Report this to llvmbugs@cs.uiuc.edu ##
16928 ## ----------------------------------- ##
16930 ) |
sed "s/^/$as_me: WARNING: /" >&2
16933 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16935 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16936 echo $ECHO_N "(cached) $ECHO_C" >&6
16938 eval "$as_ac_Header=\$ac_header_preproc"
16940 ac_res
=`eval echo '${'$as_ac_Header'}'`
16941 { echo "$as_me:$LINENO: result: $ac_res" >&5
16942 echo "${ECHO_T}$ac_res" >&6; }
16945 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16946 cat >>confdefs.h
<<_ACEOF
16947 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16954 if test "$ENABLE_THREADS" -eq 1 && test "$ENABLE_PTHREADS" -eq 1 ; then
16956 for ac_header
in pthread.h
16958 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16959 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16960 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16962 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16963 echo $ECHO_N "(cached) $ECHO_C" >&6
16965 ac_res
=`eval echo '${'$as_ac_Header'}'`
16966 { echo "$as_me:$LINENO: result: $ac_res" >&5
16967 echo "${ECHO_T}$ac_res" >&6; }
16969 # Is the header compilable?
16970 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
16971 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16972 cat >conftest.
$ac_ext <<_ACEOF
16975 cat confdefs.h
>>conftest.
$ac_ext
16976 cat >>conftest.
$ac_ext <<_ACEOF
16977 /* end confdefs.h. */
16978 $ac_includes_default
16979 #include <$ac_header>
16981 rm -f conftest.
$ac_objext
16982 if { (ac_try
="$ac_compile"
16983 case "(($ac_try" in
16984 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16985 *) ac_try_echo=$ac_try;;
16987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16988 (eval "$ac_compile") 2>conftest.er1
16990 grep -v '^ *+' conftest.er1 >conftest.err
16992 cat conftest.err >&5
16993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16994 (exit $ac_status); } &&
16995 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16996 { (case "(($ac_try" in
16997 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16998 *) ac_try_echo
=$ac_try;;
17000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17001 (eval "$ac_try") 2>&5
17003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17004 (exit $ac_status); }; } &&
17005 { ac_try
='test -s conftest.$ac_objext'
17006 { (case "(($ac_try" in
17007 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17008 *) ac_try_echo=$ac_try;;
17010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17011 (eval "$ac_try") 2>&5
17013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17014 (exit $ac_status); }; }; then
17015 ac_header_compiler=yes
17017 echo "$as_me: failed program was:" >&5
17018 sed 's/^/| /' conftest.$ac_ext >&5
17020 ac_header_compiler=no
17023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17024 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17025 echo "${ECHO_T}$ac_header_compiler" >&6; }
17027 # Is the header present?
17028 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
17029 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
17030 cat >conftest.$ac_ext <<_ACEOF
17033 cat confdefs.h >>conftest.$ac_ext
17034 cat >>conftest.$ac_ext <<_ACEOF
17035 /* end confdefs.h. */
17036 #include <$ac_header>
17038 if { (ac_try="$ac_cpp conftest.$ac_ext"
17039 case "(($ac_try" in
17040 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17041 *) ac_try_echo
=$ac_try;;
17043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17044 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17046 grep -v '^ *+' conftest.er1
>conftest.err
17048 cat conftest.err
>&5
17049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17050 (exit $ac_status); } >/dev
/null
; then
17051 if test -s conftest.err
; then
17052 ac_cpp_err
=$ac_c_preproc_warn_flag
17053 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
17060 if test -z "$ac_cpp_err"; then
17061 ac_header_preproc
=yes
17063 echo "$as_me: failed program was:" >&5
17064 sed 's/^/| /' conftest.
$ac_ext >&5
17066 ac_header_preproc
=no
17069 rm -f conftest.err conftest.
$ac_ext
17070 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17071 echo "${ECHO_T}$ac_header_preproc" >&6; }
17073 # So? What about this header?
17074 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17076 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17077 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17078 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17079 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17080 ac_header_preproc
=yes
17083 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17084 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17085 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17086 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17087 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17088 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17089 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17090 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17091 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17092 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17093 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17094 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17096 ## ----------------------------------- ##
17097 ## Report this to llvmbugs@cs.uiuc.edu ##
17098 ## ----------------------------------- ##
17100 ) |
sed "s/^/$as_me: WARNING: /" >&2
17103 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17105 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17106 echo $ECHO_N "(cached) $ECHO_C" >&6
17108 eval "$as_ac_Header=\$ac_header_preproc"
17110 ac_res
=`eval echo '${'$as_ac_Header'}'`
17111 { echo "$as_me:$LINENO: result: $ac_res" >&5
17112 echo "${ECHO_T}$ac_res" >&6; }
17115 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17116 cat >>confdefs.h
<<_ACEOF
17117 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17133 if test "$llvm_cv_enable_libffi" = "yes" ; then
17136 for ac_header
in ffi.h ffi
/ffi.h
17138 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17139 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17140 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17142 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17143 echo $ECHO_N "(cached) $ECHO_C" >&6
17145 ac_res
=`eval echo '${'$as_ac_Header'}'`
17146 { echo "$as_me:$LINENO: result: $ac_res" >&5
17147 echo "${ECHO_T}$ac_res" >&6; }
17149 # Is the header compilable?
17150 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
17151 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
17152 cat >conftest.
$ac_ext <<_ACEOF
17155 cat confdefs.h
>>conftest.
$ac_ext
17156 cat >>conftest.
$ac_ext <<_ACEOF
17157 /* end confdefs.h. */
17158 $ac_includes_default
17159 #include <$ac_header>
17161 rm -f conftest.
$ac_objext
17162 if { (ac_try
="$ac_compile"
17163 case "(($ac_try" in
17164 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17165 *) ac_try_echo=$ac_try;;
17167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17168 (eval "$ac_compile") 2>conftest.er1
17170 grep -v '^ *+' conftest.er1 >conftest.err
17172 cat conftest.err >&5
17173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17174 (exit $ac_status); } &&
17175 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17176 { (case "(($ac_try" in
17177 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17178 *) ac_try_echo
=$ac_try;;
17180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17181 (eval "$ac_try") 2>&5
17183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17184 (exit $ac_status); }; } &&
17185 { ac_try
='test -s conftest.$ac_objext'
17186 { (case "(($ac_try" in
17187 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17188 *) ac_try_echo=$ac_try;;
17190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17191 (eval "$ac_try") 2>&5
17193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17194 (exit $ac_status); }; }; then
17195 ac_header_compiler=yes
17197 echo "$as_me: failed program was:" >&5
17198 sed 's/^/| /' conftest.$ac_ext >&5
17200 ac_header_compiler=no
17203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17204 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17205 echo "${ECHO_T}$ac_header_compiler" >&6; }
17207 # Is the header present?
17208 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
17209 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
17210 cat >conftest.$ac_ext <<_ACEOF
17213 cat confdefs.h >>conftest.$ac_ext
17214 cat >>conftest.$ac_ext <<_ACEOF
17215 /* end confdefs.h. */
17216 #include <$ac_header>
17218 if { (ac_try="$ac_cpp conftest.$ac_ext"
17219 case "(($ac_try" in
17220 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17221 *) ac_try_echo
=$ac_try;;
17223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17224 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17226 grep -v '^ *+' conftest.er1
>conftest.err
17228 cat conftest.err
>&5
17229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17230 (exit $ac_status); } >/dev
/null
; then
17231 if test -s conftest.err
; then
17232 ac_cpp_err
=$ac_c_preproc_warn_flag
17233 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
17240 if test -z "$ac_cpp_err"; then
17241 ac_header_preproc
=yes
17243 echo "$as_me: failed program was:" >&5
17244 sed 's/^/| /' conftest.
$ac_ext >&5
17246 ac_header_preproc
=no
17249 rm -f conftest.err conftest.
$ac_ext
17250 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17251 echo "${ECHO_T}$ac_header_preproc" >&6; }
17253 # So? What about this header?
17254 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17256 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17257 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17258 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17259 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17260 ac_header_preproc
=yes
17263 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17264 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17265 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17266 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17267 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17268 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17269 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17270 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17271 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17272 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17273 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17274 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17276 ## ----------------------------------- ##
17277 ## Report this to llvmbugs@cs.uiuc.edu ##
17278 ## ----------------------------------- ##
17280 ) |
sed "s/^/$as_me: WARNING: /" >&2
17283 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17285 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17286 echo $ECHO_N "(cached) $ECHO_C" >&6
17288 eval "$as_ac_Header=\$ac_header_preproc"
17290 ac_res
=`eval echo '${'$as_ac_Header'}'`
17291 { echo "$as_me:$LINENO: result: $ac_res" >&5
17292 echo "${ECHO_T}$ac_res" >&6; }
17295 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17296 cat >>confdefs.h
<<_ACEOF
17297 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17307 for ac_header
in CrashReporterClient.h
17309 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17310 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17311 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17313 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17314 echo $ECHO_N "(cached) $ECHO_C" >&6
17316 ac_res
=`eval echo '${'$as_ac_Header'}'`
17317 { echo "$as_me:$LINENO: result: $ac_res" >&5
17318 echo "${ECHO_T}$ac_res" >&6; }
17320 # Is the header compilable?
17321 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
17322 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
17323 cat >conftest.
$ac_ext <<_ACEOF
17326 cat confdefs.h
>>conftest.
$ac_ext
17327 cat >>conftest.
$ac_ext <<_ACEOF
17328 /* end confdefs.h. */
17329 $ac_includes_default
17330 #include <$ac_header>
17332 rm -f conftest.
$ac_objext
17333 if { (ac_try
="$ac_compile"
17334 case "(($ac_try" in
17335 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17336 *) ac_try_echo=$ac_try;;
17338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17339 (eval "$ac_compile") 2>conftest.er1
17341 grep -v '^ *+' conftest.er1 >conftest.err
17343 cat conftest.err >&5
17344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17345 (exit $ac_status); } &&
17346 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17347 { (case "(($ac_try" in
17348 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17349 *) ac_try_echo
=$ac_try;;
17351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17352 (eval "$ac_try") 2>&5
17354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17355 (exit $ac_status); }; } &&
17356 { ac_try
='test -s conftest.$ac_objext'
17357 { (case "(($ac_try" in
17358 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17359 *) ac_try_echo=$ac_try;;
17361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17362 (eval "$ac_try") 2>&5
17364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365 (exit $ac_status); }; }; then
17366 ac_header_compiler=yes
17368 echo "$as_me: failed program was:" >&5
17369 sed 's/^/| /' conftest.$ac_ext >&5
17371 ac_header_compiler=no
17374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17375 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17376 echo "${ECHO_T}$ac_header_compiler" >&6; }
17378 # Is the header present?
17379 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
17380 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
17381 cat >conftest.$ac_ext <<_ACEOF
17384 cat confdefs.h >>conftest.$ac_ext
17385 cat >>conftest.$ac_ext <<_ACEOF
17386 /* end confdefs.h. */
17387 #include <$ac_header>
17389 if { (ac_try="$ac_cpp conftest.$ac_ext"
17390 case "(($ac_try" in
17391 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17392 *) ac_try_echo
=$ac_try;;
17394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17395 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17397 grep -v '^ *+' conftest.er1
>conftest.err
17399 cat conftest.err
>&5
17400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17401 (exit $ac_status); } >/dev
/null
; then
17402 if test -s conftest.err
; then
17403 ac_cpp_err
=$ac_c_preproc_warn_flag
17404 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
17411 if test -z "$ac_cpp_err"; then
17412 ac_header_preproc
=yes
17414 echo "$as_me: failed program was:" >&5
17415 sed 's/^/| /' conftest.
$ac_ext >&5
17417 ac_header_preproc
=no
17420 rm -f conftest.err conftest.
$ac_ext
17421 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17422 echo "${ECHO_T}$ac_header_preproc" >&6; }
17424 # So? What about this header?
17425 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17427 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17428 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17429 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17430 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17431 ac_header_preproc
=yes
17434 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17435 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17436 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17437 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17438 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17439 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17440 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17441 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17442 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17443 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17444 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17445 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17447 ## ----------------------------------- ##
17448 ## Report this to llvmbugs@cs.uiuc.edu ##
17449 ## ----------------------------------- ##
17451 ) |
sed "s/^/$as_me: WARNING: /" >&2
17454 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17455 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17456 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17457 echo $ECHO_N "(cached) $ECHO_C" >&6
17459 eval "$as_ac_Header=\$ac_header_preproc"
17461 ac_res
=`eval echo '${'$as_ac_Header'}'`
17462 { echo "$as_me:$LINENO: result: $ac_res" >&5
17463 echo "${ECHO_T}$ac_res" >&6; }
17466 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17467 cat >>confdefs.h
<<_ACEOF
17468 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17476 { echo "$as_me:$LINENO: checking __crashreporter_info__" >&5
17477 echo $ECHO_N "checking __crashreporter_info__... $ECHO_C" >&6; }
17478 cat >conftest.
$ac_ext <<_ACEOF
17481 cat confdefs.h
>>conftest.
$ac_ext
17482 cat >>conftest.
$ac_ext <<_ACEOF
17483 /* end confdefs.h. */
17484 extern const char *__crashreporter_info__;
17486 __crashreporter_info__ = "test";
17491 rm -f conftest.
$ac_objext conftest
$ac_exeext
17492 if { (ac_try
="$ac_link"
17493 case "(($ac_try" in
17494 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17495 *) ac_try_echo=$ac_try;;
17497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17498 (eval "$ac_link") 2>conftest.er1
17500 grep -v '^ *+' conftest.er1 >conftest.err
17502 cat conftest.err >&5
17503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17504 (exit $ac_status); } &&
17505 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17506 { (case "(($ac_try" in
17507 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17508 *) ac_try_echo
=$ac_try;;
17510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17511 (eval "$ac_try") 2>&5
17513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17514 (exit $ac_status); }; } &&
17515 { ac_try
='test -s conftest$ac_exeext'
17516 { (case "(($ac_try" in
17517 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17518 *) ac_try_echo=$ac_try;;
17520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17521 (eval "$ac_try") 2>&5
17523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17524 (exit $ac_status); }; }; then
17525 { echo "$as_me:$LINENO: result: yes" >&5
17526 echo "${ECHO_T}yes" >&6; }
17528 cat >>confdefs.h <<\_ACEOF
17529 #define HAVE_CRASHREPORTER_INFO 1
17533 echo "$as_me: failed program was:" >&5
17534 sed 's/^/| /' conftest.$ac_ext >&5
17536 { echo "$as_me:$LINENO: result: no" >&5
17537 echo "${ECHO_T}no" >&6; }
17539 cat >>confdefs.h <<\_ACEOF
17540 #define HAVE_CRASHREPORTER_INFO 0
17545 rm -f core conftest.err conftest.$ac_objext \
17546 conftest$ac_exeext conftest.$ac_ext
17551 { echo "$as_me:$LINENO: checking for HUGE_VAL sanity" >&5
17552 echo $ECHO_N "checking for HUGE_VAL sanity... $ECHO_C" >&6; }
17553 if test "${ac_cv_huge_val_sanity+set}" = set; then
17554 echo $ECHO_N "(cached) $ECHO_C" >&6
17558 ac_cpp='$CXXCPP $CPPFLAGS'
17559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17563 ac_save_CXXFLAGS=$CXXFLAGS
17565 if test "$cross_compiling" = yes; then
17566 ac_cv_huge_val_sanity=yes
17568 cat >conftest.$ac_ext <<_ACEOF
17571 cat confdefs.h >>conftest.$ac_ext
17572 cat >>conftest.$ac_ext <<_ACEOF
17573 /* end confdefs.h. */
17578 double x = HUGE_VAL; return x != x;
17583 rm -f conftest$ac_exeext
17584 if { (ac_try="$ac_link"
17585 case "(($ac_try" in
17586 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17587 *) ac_try_echo
=$ac_try;;
17589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17590 (eval "$ac_link") 2>&5
17592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17593 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17594 { (case "(($ac_try" in
17595 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17596 *) ac_try_echo=$ac_try;;
17598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17599 (eval "$ac_try") 2>&5
17601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17602 (exit $ac_status); }; }; then
17603 ac_cv_huge_val_sanity=yes
17605 echo "$as_me: program exited with status $ac_status" >&5
17606 echo "$as_me: failed program was:" >&5
17607 sed 's/^/| /' conftest.$ac_ext >&5
17609 ( exit $ac_status )
17610 ac_cv_huge_val_sanity=no
17612 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17616 CXXFLAGS=$ac_save_CXXFLAGS
17618 ac_cpp='$CPP $CPPFLAGS'
17619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17625 { echo "$as_me:$LINENO: result: $ac_cv_huge_val_sanity" >&5
17626 echo "${ECHO_T}$ac_cv_huge_val_sanity" >&6; }
17627 HUGE_VAL_SANITY=$ac_cv_huge_val_sanity
17630 { echo "$as_me:$LINENO: checking for pid_t" >&5
17631 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17632 if test "${ac_cv_type_pid_t+set}" = set; then
17633 echo $ECHO_N "(cached) $ECHO_C" >&6
17635 cat >conftest.$ac_ext <<_ACEOF
17638 cat confdefs.h >>conftest.$ac_ext
17639 cat >>conftest.$ac_ext <<_ACEOF
17640 /* end confdefs.h. */
17641 $ac_includes_default
17642 typedef pid_t ac__type_new_;
17646 if ((ac__type_new_ *) 0)
17648 if (sizeof (ac__type_new_))
17654 rm -f conftest.$ac_objext
17655 if { (ac_try="$ac_compile"
17656 case "(($ac_try" in
17657 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17658 *) ac_try_echo
=$ac_try;;
17660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17661 (eval "$ac_compile") 2>conftest.er1
17663 grep -v '^ *+' conftest.er1
>conftest.err
17665 cat conftest.err
>&5
17666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17667 (exit $ac_status); } &&
17668 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17669 { (case "(($ac_try" in
17670 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17671 *) ac_try_echo=$ac_try;;
17673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17674 (eval "$ac_try") 2>&5
17676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17677 (exit $ac_status); }; } &&
17678 { ac_try='test -s conftest.$ac_objext'
17679 { (case "(($ac_try" in
17680 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17681 *) ac_try_echo
=$ac_try;;
17683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17684 (eval "$ac_try") 2>&5
17686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17687 (exit $ac_status); }; }; then
17688 ac_cv_type_pid_t
=yes
17690 echo "$as_me: failed program was:" >&5
17691 sed 's/^/| /' conftest.
$ac_ext >&5
17693 ac_cv_type_pid_t
=no
17696 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17698 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17699 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17700 if test $ac_cv_type_pid_t = yes; then
17704 cat >>confdefs.h
<<_ACEOF
17710 { echo "$as_me:$LINENO: checking for size_t" >&5
17711 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17712 if test "${ac_cv_type_size_t+set}" = set; then
17713 echo $ECHO_N "(cached) $ECHO_C" >&6
17715 cat >conftest.
$ac_ext <<_ACEOF
17718 cat confdefs.h
>>conftest.
$ac_ext
17719 cat >>conftest.
$ac_ext <<_ACEOF
17720 /* end confdefs.h. */
17721 $ac_includes_default
17722 typedef size_t ac__type_new_;
17726 if ((ac__type_new_ *) 0)
17728 if (sizeof (ac__type_new_))
17734 rm -f conftest.
$ac_objext
17735 if { (ac_try
="$ac_compile"
17736 case "(($ac_try" in
17737 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17738 *) ac_try_echo=$ac_try;;
17740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17741 (eval "$ac_compile") 2>conftest.er1
17743 grep -v '^ *+' conftest.er1 >conftest.err
17745 cat conftest.err >&5
17746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17747 (exit $ac_status); } &&
17748 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17749 { (case "(($ac_try" in
17750 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17751 *) ac_try_echo
=$ac_try;;
17753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17754 (eval "$ac_try") 2>&5
17756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17757 (exit $ac_status); }; } &&
17758 { ac_try
='test -s conftest.$ac_objext'
17759 { (case "(($ac_try" in
17760 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17761 *) ac_try_echo=$ac_try;;
17763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17764 (eval "$ac_try") 2>&5
17766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767 (exit $ac_status); }; }; then
17768 ac_cv_type_size_t=yes
17770 echo "$as_me: failed program was:" >&5
17771 sed 's/^/| /' conftest.$ac_ext >&5
17773 ac_cv_type_size_t=no
17776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17778 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17779 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17780 if test $ac_cv_type_size_t = yes; then
17784 cat >>confdefs.h <<_ACEOF
17785 #define size_t unsigned int
17791 cat >>confdefs.h <<_ACEOF
17792 #define RETSIGTYPE void
17795 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
17796 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
17797 if test "${ac_cv_struct_tm+set}" = set; then
17798 echo $ECHO_N "(cached) $ECHO_C" >&6
17800 cat >conftest.$ac_ext <<_ACEOF
17803 cat confdefs.h >>conftest.$ac_ext
17804 cat >>conftest.$ac_ext <<_ACEOF
17805 /* end confdefs.h. */
17806 #include <sys/types.h>
17812 struct tm *tp; tp->tm_sec;
17817 rm -f conftest.$ac_objext
17818 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
17826 grep -v '^ *+' conftest.er1
>conftest.err
17828 cat conftest.err
>&5
17829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17830 (exit $ac_status); } &&
17831 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17832 { (case "(($ac_try" in
17833 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17834 *) ac_try_echo=$ac_try;;
17836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17837 (eval "$ac_try") 2>&5
17839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17840 (exit $ac_status); }; } &&
17841 { ac_try='test -s conftest.$ac_objext'
17842 { (case "(($ac_try" in
17843 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17844 *) ac_try_echo
=$ac_try;;
17846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17847 (eval "$ac_try") 2>&5
17849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17850 (exit $ac_status); }; }; then
17851 ac_cv_struct_tm
=time.h
17853 echo "$as_me: failed program was:" >&5
17854 sed 's/^/| /' conftest.
$ac_ext >&5
17856 ac_cv_struct_tm
=sys
/time.h
17859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17861 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
17862 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
17863 if test $ac_cv_struct_tm = sys
/time.h
; then
17865 cat >>confdefs.h
<<\_ACEOF
17866 #define TM_IN_SYS_TIME 1
17871 { echo "$as_me:$LINENO: checking for int64_t" >&5
17872 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; }
17873 if test "${ac_cv_type_int64_t+set}" = set; then
17874 echo $ECHO_N "(cached) $ECHO_C" >&6
17876 cat >conftest.
$ac_ext <<_ACEOF
17879 cat confdefs.h
>>conftest.
$ac_ext
17880 cat >>conftest.
$ac_ext <<_ACEOF
17881 /* end confdefs.h. */
17882 $ac_includes_default
17883 typedef int64_t ac__type_new_;
17887 if ((ac__type_new_ *) 0)
17889 if (sizeof (ac__type_new_))
17895 rm -f conftest.
$ac_objext
17896 if { (ac_try
="$ac_compile"
17897 case "(($ac_try" in
17898 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17899 *) ac_try_echo=$ac_try;;
17901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17902 (eval "$ac_compile") 2>conftest.er1
17904 grep -v '^ *+' conftest.er1 >conftest.err
17906 cat conftest.err >&5
17907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17908 (exit $ac_status); } &&
17909 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17910 { (case "(($ac_try" in
17911 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17912 *) ac_try_echo
=$ac_try;;
17914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17915 (eval "$ac_try") 2>&5
17917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918 (exit $ac_status); }; } &&
17919 { ac_try
='test -s conftest.$ac_objext'
17920 { (case "(($ac_try" in
17921 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17922 *) ac_try_echo=$ac_try;;
17924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17925 (eval "$ac_try") 2>&5
17927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17928 (exit $ac_status); }; }; then
17929 ac_cv_type_int64_t=yes
17931 echo "$as_me: failed program was:" >&5
17932 sed 's/^/| /' conftest.$ac_ext >&5
17934 ac_cv_type_int64_t=no
17937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17939 { echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
17940 echo "${ECHO_T}$ac_cv_type_int64_t" >&6; }
17941 if test $ac_cv_type_int64_t = yes; then
17943 cat >>confdefs.h <<_ACEOF
17944 #define HAVE_INT64_T 1
17949 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
17950 echo "$as_me: error: Type int64_t required but not found" >&2;}
17951 { (exit 1); exit 1; }; }
17954 { echo "$as_me:$LINENO: checking for uint64_t" >&5
17955 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
17956 if test "${ac_cv_type_uint64_t+set}" = set; then
17957 echo $ECHO_N "(cached) $ECHO_C" >&6
17959 cat >conftest.$ac_ext <<_ACEOF
17962 cat confdefs.h >>conftest.$ac_ext
17963 cat >>conftest.$ac_ext <<_ACEOF
17964 /* end confdefs.h. */
17965 $ac_includes_default
17966 typedef uint64_t ac__type_new_;
17970 if ((ac__type_new_ *) 0)
17972 if (sizeof (ac__type_new_))
17978 rm -f conftest.$ac_objext
17979 if { (ac_try="$ac_compile"
17980 case "(($ac_try" in
17981 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17982 *) ac_try_echo
=$ac_try;;
17984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17985 (eval "$ac_compile") 2>conftest.er1
17987 grep -v '^ *+' conftest.er1
>conftest.err
17989 cat conftest.err
>&5
17990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17991 (exit $ac_status); } &&
17992 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17993 { (case "(($ac_try" in
17994 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17995 *) ac_try_echo=$ac_try;;
17997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17998 (eval "$ac_try") 2>&5
18000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18001 (exit $ac_status); }; } &&
18002 { ac_try='test -s conftest.$ac_objext'
18003 { (case "(($ac_try" in
18004 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18005 *) ac_try_echo
=$ac_try;;
18007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18008 (eval "$ac_try") 2>&5
18010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18011 (exit $ac_status); }; }; then
18012 ac_cv_type_uint64_t
=yes
18014 echo "$as_me: failed program was:" >&5
18015 sed 's/^/| /' conftest.
$ac_ext >&5
18017 ac_cv_type_uint64_t
=no
18020 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18022 { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
18023 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
18024 if test $ac_cv_type_uint64_t = yes; then
18026 cat >>confdefs.h
<<_ACEOF
18027 #define HAVE_UINT64_T 1
18032 { echo "$as_me:$LINENO: checking for u_int64_t" >&5
18033 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6; }
18034 if test "${ac_cv_type_u_int64_t+set}" = set; then
18035 echo $ECHO_N "(cached) $ECHO_C" >&6
18037 cat >conftest.
$ac_ext <<_ACEOF
18040 cat confdefs.h
>>conftest.
$ac_ext
18041 cat >>conftest.
$ac_ext <<_ACEOF
18042 /* end confdefs.h. */
18043 $ac_includes_default
18044 typedef u_int64_t ac__type_new_;
18048 if ((ac__type_new_ *) 0)
18050 if (sizeof (ac__type_new_))
18056 rm -f conftest.
$ac_objext
18057 if { (ac_try
="$ac_compile"
18058 case "(($ac_try" in
18059 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18060 *) ac_try_echo=$ac_try;;
18062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18063 (eval "$ac_compile") 2>conftest.er1
18065 grep -v '^ *+' conftest.er1 >conftest.err
18067 cat conftest.err >&5
18068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18069 (exit $ac_status); } &&
18070 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18071 { (case "(($ac_try" in
18072 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18073 *) ac_try_echo
=$ac_try;;
18075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18076 (eval "$ac_try") 2>&5
18078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18079 (exit $ac_status); }; } &&
18080 { ac_try
='test -s conftest.$ac_objext'
18081 { (case "(($ac_try" in
18082 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18083 *) ac_try_echo=$ac_try;;
18085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18086 (eval "$ac_try") 2>&5
18088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18089 (exit $ac_status); }; }; then
18090 ac_cv_type_u_int64_t=yes
18092 echo "$as_me: failed program was:" >&5
18093 sed 's/^/| /' conftest.$ac_ext >&5
18095 ac_cv_type_u_int64_t=no
18098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18100 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
18101 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6; }
18102 if test $ac_cv_type_u_int64_t = yes; then
18104 cat >>confdefs.h <<_ACEOF
18105 #define HAVE_U_INT64_T 1
18110 { { echo "$as_me:$LINENO: error: Type uint64_t or u_int64_t required but not found" >&5
18111 echo "$as_me: error: Type uint64_t or u_int64_t required but not found" >&2;}
18112 { (exit 1); exit 1; }; }
18126 for ac_func in backtrace ceilf floorf roundf rintf nearbyintf getcwd
18128 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
18129 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18131 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18132 echo $ECHO_N "(cached) $ECHO_C" >&6
18134 cat >conftest.$ac_ext <<_ACEOF
18137 cat confdefs.h >>conftest.$ac_ext
18138 cat >>conftest.$ac_ext <<_ACEOF
18139 /* end confdefs.h. */
18140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18142 #define $ac_func innocuous_$ac_func
18144 /* System header to define __stub macros and hopefully few prototypes,
18145 which can conflict with char $ac_func (); below.
18146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18147 <limits.h> exists even on freestanding compilers. */
18150 # include <limits.h>
18152 # include <assert.h>
18157 /* Override any GCC internal prototype to avoid an error.
18158 Use char because int might match the return type of a GCC
18159 builtin and then its argument prototype would still apply. */
18164 /* The GNU C library defines this for functions which it implements
18165 to always fail with ENOSYS. Some functions are actually named
18166 something starting with __ and the normal name is an alias. */
18167 #if defined __stub_$ac_func || defined __stub___$ac_func
18174 return $ac_func ();
18179 rm -f conftest.$ac_objext conftest$ac_exeext
18180 if { (ac_try="$ac_link"
18181 case "(($ac_try" in
18182 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18183 *) ac_try_echo
=$ac_try;;
18185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18186 (eval "$ac_link") 2>conftest.er1
18188 grep -v '^ *+' conftest.er1
>conftest.err
18190 cat conftest.err
>&5
18191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18192 (exit $ac_status); } &&
18193 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18194 { (case "(($ac_try" in
18195 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18196 *) ac_try_echo=$ac_try;;
18198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18199 (eval "$ac_try") 2>&5
18201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18202 (exit $ac_status); }; } &&
18203 { ac_try='test -s conftest$ac_exeext'
18204 { (case "(($ac_try" in
18205 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18206 *) ac_try_echo
=$ac_try;;
18208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18209 (eval "$ac_try") 2>&5
18211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18212 (exit $ac_status); }; }; then
18213 eval "$as_ac_var=yes"
18215 echo "$as_me: failed program was:" >&5
18216 sed 's/^/| /' conftest.
$ac_ext >&5
18218 eval "$as_ac_var=no"
18221 rm -f core conftest.err conftest.
$ac_objext \
18222 conftest
$ac_exeext conftest.
$ac_ext
18224 ac_res
=`eval echo '${'$as_ac_var'}'`
18225 { echo "$as_me:$LINENO: result: $ac_res" >&5
18226 echo "${ECHO_T}$ac_res" >&6; }
18227 if test `eval echo '${'$as_ac_var'}'` = yes; then
18228 cat >>confdefs.h
<<_ACEOF
18229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18239 for ac_func
in powf fmodf strtof round
18241 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18242 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18244 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18245 echo $ECHO_N "(cached) $ECHO_C" >&6
18247 cat >conftest.
$ac_ext <<_ACEOF
18250 cat confdefs.h
>>conftest.
$ac_ext
18251 cat >>conftest.
$ac_ext <<_ACEOF
18252 /* end confdefs.h. */
18253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18255 #define $ac_func innocuous_$ac_func
18257 /* System header to define __stub macros and hopefully few prototypes,
18258 which can conflict with char $ac_func (); below.
18259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18260 <limits.h> exists even on freestanding compilers. */
18263 # include <limits.h>
18265 # include <assert.h>
18270 /* Override any GCC internal prototype to avoid an error.
18271 Use char because int might match the return type of a GCC
18272 builtin and then its argument prototype would still apply. */
18277 /* The GNU C library defines this for functions which it implements
18278 to always fail with ENOSYS. Some functions are actually named
18279 something starting with __ and the normal name is an alias. */
18280 #if defined __stub_$ac_func || defined __stub___$ac_func
18287 return $ac_func ();
18292 rm -f conftest.
$ac_objext conftest
$ac_exeext
18293 if { (ac_try
="$ac_link"
18294 case "(($ac_try" in
18295 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18296 *) ac_try_echo=$ac_try;;
18298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18299 (eval "$ac_link") 2>conftest.er1
18301 grep -v '^ *+' conftest.er1 >conftest.err
18303 cat conftest.err >&5
18304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18305 (exit $ac_status); } &&
18306 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18307 { (case "(($ac_try" in
18308 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18309 *) ac_try_echo
=$ac_try;;
18311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18312 (eval "$ac_try") 2>&5
18314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315 (exit $ac_status); }; } &&
18316 { ac_try
='test -s conftest$ac_exeext'
18317 { (case "(($ac_try" in
18318 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18319 *) ac_try_echo=$ac_try;;
18321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18322 (eval "$ac_try") 2>&5
18324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18325 (exit $ac_status); }; }; then
18326 eval "$as_ac_var=yes"
18328 echo "$as_me: failed program was:" >&5
18329 sed 's/^/| /' conftest.$ac_ext >&5
18331 eval "$as_ac_var=no"
18334 rm -f core conftest.err conftest.$ac_objext \
18335 conftest$ac_exeext conftest.$ac_ext
18337 ac_res=`eval echo '${'$as_ac_var'}'`
18338 { echo "$as_me:$LINENO: result: $ac_res" >&5
18339 echo "${ECHO_T}$ac_res" >&6; }
18340 if test `eval echo '${'$as_ac_var'}'` = yes; then
18341 cat >>confdefs.h <<_ACEOF
18342 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
18353 for ac_func in getpagesize getrusage getrlimit setrlimit gettimeofday
18355 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
18356 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18358 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18359 echo $ECHO_N "(cached) $ECHO_C" >&6
18361 cat >conftest.$ac_ext <<_ACEOF
18364 cat confdefs.h >>conftest.$ac_ext
18365 cat >>conftest.$ac_ext <<_ACEOF
18366 /* end confdefs.h. */
18367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18369 #define $ac_func innocuous_$ac_func
18371 /* System header to define __stub macros and hopefully few prototypes,
18372 which can conflict with char $ac_func (); below.
18373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18374 <limits.h> exists even on freestanding compilers. */
18377 # include <limits.h>
18379 # include <assert.h>
18384 /* Override any GCC internal prototype to avoid an error.
18385 Use char because int might match the return type of a GCC
18386 builtin and then its argument prototype would still apply. */
18391 /* The GNU C library defines this for functions which it implements
18392 to always fail with ENOSYS. Some functions are actually named
18393 something starting with __ and the normal name is an alias. */
18394 #if defined __stub_$ac_func || defined __stub___$ac_func
18401 return $ac_func ();
18406 rm -f conftest.$ac_objext conftest$ac_exeext
18407 if { (ac_try="$ac_link"
18408 case "(($ac_try" in
18409 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18410 *) ac_try_echo
=$ac_try;;
18412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18413 (eval "$ac_link") 2>conftest.er1
18415 grep -v '^ *+' conftest.er1
>conftest.err
18417 cat conftest.err
>&5
18418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18419 (exit $ac_status); } &&
18420 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18421 { (case "(($ac_try" in
18422 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18423 *) ac_try_echo=$ac_try;;
18425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18426 (eval "$ac_try") 2>&5
18428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18429 (exit $ac_status); }; } &&
18430 { ac_try='test -s conftest$ac_exeext'
18431 { (case "(($ac_try" in
18432 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18433 *) ac_try_echo
=$ac_try;;
18435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18436 (eval "$ac_try") 2>&5
18438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18439 (exit $ac_status); }; }; then
18440 eval "$as_ac_var=yes"
18442 echo "$as_me: failed program was:" >&5
18443 sed 's/^/| /' conftest.
$ac_ext >&5
18445 eval "$as_ac_var=no"
18448 rm -f core conftest.err conftest.
$ac_objext \
18449 conftest
$ac_exeext conftest.
$ac_ext
18451 ac_res
=`eval echo '${'$as_ac_var'}'`
18452 { echo "$as_me:$LINENO: result: $ac_res" >&5
18453 echo "${ECHO_T}$ac_res" >&6; }
18454 if test `eval echo '${'$as_ac_var'}'` = yes; then
18455 cat >>confdefs.h
<<_ACEOF
18456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18465 for ac_func
in isatty mkdtemp mkstemp
18467 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18468 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18470 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18471 echo $ECHO_N "(cached) $ECHO_C" >&6
18473 cat >conftest.
$ac_ext <<_ACEOF
18476 cat confdefs.h
>>conftest.
$ac_ext
18477 cat >>conftest.
$ac_ext <<_ACEOF
18478 /* end confdefs.h. */
18479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18480 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18481 #define $ac_func innocuous_$ac_func
18483 /* System header to define __stub macros and hopefully few prototypes,
18484 which can conflict with char $ac_func (); below.
18485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18486 <limits.h> exists even on freestanding compilers. */
18489 # include <limits.h>
18491 # include <assert.h>
18496 /* Override any GCC internal prototype to avoid an error.
18497 Use char because int might match the return type of a GCC
18498 builtin and then its argument prototype would still apply. */
18503 /* The GNU C library defines this for functions which it implements
18504 to always fail with ENOSYS. Some functions are actually named
18505 something starting with __ and the normal name is an alias. */
18506 #if defined __stub_$ac_func || defined __stub___$ac_func
18513 return $ac_func ();
18518 rm -f conftest.
$ac_objext conftest
$ac_exeext
18519 if { (ac_try
="$ac_link"
18520 case "(($ac_try" in
18521 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18522 *) ac_try_echo=$ac_try;;
18524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18525 (eval "$ac_link") 2>conftest.er1
18527 grep -v '^ *+' conftest.er1 >conftest.err
18529 cat conftest.err >&5
18530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18531 (exit $ac_status); } &&
18532 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18533 { (case "(($ac_try" in
18534 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18535 *) ac_try_echo
=$ac_try;;
18537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18538 (eval "$ac_try") 2>&5
18540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18541 (exit $ac_status); }; } &&
18542 { ac_try
='test -s conftest$ac_exeext'
18543 { (case "(($ac_try" in
18544 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18545 *) ac_try_echo=$ac_try;;
18547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18548 (eval "$ac_try") 2>&5
18550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18551 (exit $ac_status); }; }; then
18552 eval "$as_ac_var=yes"
18554 echo "$as_me: failed program was:" >&5
18555 sed 's/^/| /' conftest.$ac_ext >&5
18557 eval "$as_ac_var=no"
18560 rm -f core conftest.err conftest.$ac_objext \
18561 conftest$ac_exeext conftest.$ac_ext
18563 ac_res=`eval echo '${'$as_ac_var'}'`
18564 { echo "$as_me:$LINENO: result: $ac_res" >&5
18565 echo "${ECHO_T}$ac_res" >&6; }
18566 if test `eval echo '${'$as_ac_var'}'` = yes; then
18567 cat >>confdefs.h <<_ACEOF
18568 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
18580 for ac_func in mktemp posix_spawn realpath sbrk setrlimit strdup
18582 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
18583 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18585 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18586 echo $ECHO_N "(cached) $ECHO_C" >&6
18588 cat >conftest.$ac_ext <<_ACEOF
18591 cat confdefs.h >>conftest.$ac_ext
18592 cat >>conftest.$ac_ext <<_ACEOF
18593 /* end confdefs.h. */
18594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18596 #define $ac_func innocuous_$ac_func
18598 /* System header to define __stub macros and hopefully few prototypes,
18599 which can conflict with char $ac_func (); below.
18600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18601 <limits.h> exists even on freestanding compilers. */
18604 # include <limits.h>
18606 # include <assert.h>
18611 /* Override any GCC internal prototype to avoid an error.
18612 Use char because int might match the return type of a GCC
18613 builtin and then its argument prototype would still apply. */
18618 /* The GNU C library defines this for functions which it implements
18619 to always fail with ENOSYS. Some functions are actually named
18620 something starting with __ and the normal name is an alias. */
18621 #if defined __stub_$ac_func || defined __stub___$ac_func
18628 return $ac_func ();
18633 rm -f conftest.$ac_objext conftest$ac_exeext
18634 if { (ac_try="$ac_link"
18635 case "(($ac_try" in
18636 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18637 *) ac_try_echo
=$ac_try;;
18639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18640 (eval "$ac_link") 2>conftest.er1
18642 grep -v '^ *+' conftest.er1
>conftest.err
18644 cat conftest.err
>&5
18645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18646 (exit $ac_status); } &&
18647 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18648 { (case "(($ac_try" in
18649 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18650 *) ac_try_echo=$ac_try;;
18652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18653 (eval "$ac_try") 2>&5
18655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18656 (exit $ac_status); }; } &&
18657 { ac_try='test -s conftest$ac_exeext'
18658 { (case "(($ac_try" in
18659 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18660 *) ac_try_echo
=$ac_try;;
18662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18663 (eval "$ac_try") 2>&5
18665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18666 (exit $ac_status); }; }; then
18667 eval "$as_ac_var=yes"
18669 echo "$as_me: failed program was:" >&5
18670 sed 's/^/| /' conftest.
$ac_ext >&5
18672 eval "$as_ac_var=no"
18675 rm -f core conftest.err conftest.
$ac_objext \
18676 conftest
$ac_exeext conftest.
$ac_ext
18678 ac_res
=`eval echo '${'$as_ac_var'}'`
18679 { echo "$as_me:$LINENO: result: $ac_res" >&5
18680 echo "${ECHO_T}$ac_res" >&6; }
18681 if test `eval echo '${'$as_ac_var'}'` = yes; then
18682 cat >>confdefs.h
<<_ACEOF
18683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18692 for ac_func
in strerror strerror_r setenv
18694 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18695 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18697 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18698 echo $ECHO_N "(cached) $ECHO_C" >&6
18700 cat >conftest.
$ac_ext <<_ACEOF
18703 cat confdefs.h
>>conftest.
$ac_ext
18704 cat >>conftest.
$ac_ext <<_ACEOF
18705 /* end confdefs.h. */
18706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18708 #define $ac_func innocuous_$ac_func
18710 /* System header to define __stub macros and hopefully few prototypes,
18711 which can conflict with char $ac_func (); below.
18712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18713 <limits.h> exists even on freestanding compilers. */
18716 # include <limits.h>
18718 # include <assert.h>
18723 /* Override any GCC internal prototype to avoid an error.
18724 Use char because int might match the return type of a GCC
18725 builtin and then its argument prototype would still apply. */
18730 /* The GNU C library defines this for functions which it implements
18731 to always fail with ENOSYS. Some functions are actually named
18732 something starting with __ and the normal name is an alias. */
18733 #if defined __stub_$ac_func || defined __stub___$ac_func
18740 return $ac_func ();
18745 rm -f conftest.
$ac_objext conftest
$ac_exeext
18746 if { (ac_try
="$ac_link"
18747 case "(($ac_try" in
18748 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18749 *) ac_try_echo=$ac_try;;
18751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18752 (eval "$ac_link") 2>conftest.er1
18754 grep -v '^ *+' conftest.er1 >conftest.err
18756 cat conftest.err >&5
18757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18758 (exit $ac_status); } &&
18759 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18760 { (case "(($ac_try" in
18761 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18762 *) ac_try_echo
=$ac_try;;
18764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18765 (eval "$ac_try") 2>&5
18767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18768 (exit $ac_status); }; } &&
18769 { ac_try
='test -s conftest$ac_exeext'
18770 { (case "(($ac_try" in
18771 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18772 *) ac_try_echo=$ac_try;;
18774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18775 (eval "$ac_try") 2>&5
18777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18778 (exit $ac_status); }; }; then
18779 eval "$as_ac_var=yes"
18781 echo "$as_me: failed program was:" >&5
18782 sed 's/^/| /' conftest.$ac_ext >&5
18784 eval "$as_ac_var=no"
18787 rm -f core conftest.err conftest.$ac_objext \
18788 conftest$ac_exeext conftest.$ac_ext
18790 ac_res=`eval echo '${'$as_ac_var'}'`
18791 { echo "$as_me:$LINENO: result: $ac_res" >&5
18792 echo "${ECHO_T}$ac_res" >&6; }
18793 if test `eval echo '${'$as_ac_var'}'` = yes; then
18794 cat >>confdefs.h <<_ACEOF
18795 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
18805 for ac_func in strtoll strtoq sysconf malloc_zone_statistics
18807 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
18808 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18810 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18811 echo $ECHO_N "(cached) $ECHO_C" >&6
18813 cat >conftest.$ac_ext <<_ACEOF
18816 cat confdefs.h >>conftest.$ac_ext
18817 cat >>conftest.$ac_ext <<_ACEOF
18818 /* end confdefs.h. */
18819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18821 #define $ac_func innocuous_$ac_func
18823 /* System header to define __stub macros and hopefully few prototypes,
18824 which can conflict with char $ac_func (); below.
18825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18826 <limits.h> exists even on freestanding compilers. */
18829 # include <limits.h>
18831 # include <assert.h>
18836 /* Override any GCC internal prototype to avoid an error.
18837 Use char because int might match the return type of a GCC
18838 builtin and then its argument prototype would still apply. */
18843 /* The GNU C library defines this for functions which it implements
18844 to always fail with ENOSYS. Some functions are actually named
18845 something starting with __ and the normal name is an alias. */
18846 #if defined __stub_$ac_func || defined __stub___$ac_func
18853 return $ac_func ();
18858 rm -f conftest.$ac_objext conftest$ac_exeext
18859 if { (ac_try="$ac_link"
18860 case "(($ac_try" in
18861 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18862 *) ac_try_echo
=$ac_try;;
18864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18865 (eval "$ac_link") 2>conftest.er1
18867 grep -v '^ *+' conftest.er1
>conftest.err
18869 cat conftest.err
>&5
18870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18871 (exit $ac_status); } &&
18872 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18873 { (case "(($ac_try" in
18874 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18875 *) ac_try_echo=$ac_try;;
18877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18878 (eval "$ac_try") 2>&5
18880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18881 (exit $ac_status); }; } &&
18882 { ac_try='test -s conftest$ac_exeext'
18883 { (case "(($ac_try" in
18884 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18885 *) ac_try_echo
=$ac_try;;
18887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18888 (eval "$ac_try") 2>&5
18890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18891 (exit $ac_status); }; }; then
18892 eval "$as_ac_var=yes"
18894 echo "$as_me: failed program was:" >&5
18895 sed 's/^/| /' conftest.
$ac_ext >&5
18897 eval "$as_ac_var=no"
18900 rm -f core conftest.err conftest.
$ac_objext \
18901 conftest
$ac_exeext conftest.
$ac_ext
18903 ac_res
=`eval echo '${'$as_ac_var'}'`
18904 { echo "$as_me:$LINENO: result: $ac_res" >&5
18905 echo "${ECHO_T}$ac_res" >&6; }
18906 if test `eval echo '${'$as_ac_var'}'` = yes; then
18907 cat >>confdefs.h
<<_ACEOF
18908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18919 for ac_func
in setjmp longjmp sigsetjmp siglongjmp writev
18921 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18922 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18924 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18925 echo $ECHO_N "(cached) $ECHO_C" >&6
18927 cat >conftest.
$ac_ext <<_ACEOF
18930 cat confdefs.h
>>conftest.
$ac_ext
18931 cat >>conftest.
$ac_ext <<_ACEOF
18932 /* end confdefs.h. */
18933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18935 #define $ac_func innocuous_$ac_func
18937 /* System header to define __stub macros and hopefully few prototypes,
18938 which can conflict with char $ac_func (); below.
18939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18940 <limits.h> exists even on freestanding compilers. */
18943 # include <limits.h>
18945 # include <assert.h>
18950 /* Override any GCC internal prototype to avoid an error.
18951 Use char because int might match the return type of a GCC
18952 builtin and then its argument prototype would still apply. */
18957 /* The GNU C library defines this for functions which it implements
18958 to always fail with ENOSYS. Some functions are actually named
18959 something starting with __ and the normal name is an alias. */
18960 #if defined __stub_$ac_func || defined __stub___$ac_func
18967 return $ac_func ();
18972 rm -f conftest.
$ac_objext conftest
$ac_exeext
18973 if { (ac_try
="$ac_link"
18974 case "(($ac_try" in
18975 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18976 *) ac_try_echo=$ac_try;;
18978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18979 (eval "$ac_link") 2>conftest.er1
18981 grep -v '^ *+' conftest.er1 >conftest.err
18983 cat conftest.err >&5
18984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18985 (exit $ac_status); } &&
18986 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18987 { (case "(($ac_try" in
18988 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18989 *) ac_try_echo
=$ac_try;;
18991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18992 (eval "$ac_try") 2>&5
18994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995 (exit $ac_status); }; } &&
18996 { ac_try
='test -s conftest$ac_exeext'
18997 { (case "(($ac_try" in
18998 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18999 *) ac_try_echo=$ac_try;;
19001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19002 (eval "$ac_try") 2>&5
19004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19005 (exit $ac_status); }; }; then
19006 eval "$as_ac_var=yes"
19008 echo "$as_me: failed program was:" >&5
19009 sed 's/^/| /' conftest.$ac_ext >&5
19011 eval "$as_ac_var=no"
19014 rm -f core conftest.err conftest.$ac_objext \
19015 conftest$ac_exeext conftest.$ac_ext
19017 ac_res=`eval echo '${'$as_ac_var'}'`
19018 { echo "$as_me:$LINENO: result: $ac_res" >&5
19019 echo "${ECHO_T}$ac_res" >&6; }
19020 if test `eval echo '${'$as_ac_var'}'` = yes; then
19021 cat >>confdefs.h <<_ACEOF
19022 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
19028 { echo "$as_me:$LINENO: checking if printf has the %a format character" >&5
19029 echo $ECHO_N "checking if printf has the %a format character... $ECHO_C" >&6; }
19030 if test "${llvm_cv_c_printf_a+set}" = set; then
19031 echo $ECHO_N "(cached) $ECHO_C" >&6
19034 ac_cpp='$CPP $CPPFLAGS'
19035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19039 if test "$cross_compiling" = yes; then
19040 llvmac_cv_c_printf_a=no
19042 cat >conftest.$ac_ext <<_ACEOF
19046 cat confdefs.h >>conftest.$ac_ext
19047 cat >>conftest.$ac_ext <<_ACEOF
19048 /* end confdefs.h. */
19051 #include <stdlib.h>
19057 volatile double A, B;
19061 sprintf(Buffer, "%a", A);
19065 if (A != 0x1.999999999999ap-4)
19072 rm -f conftest$ac_exeext
19073 if { (ac_try="$ac_link"
19074 case "(($ac_try" in
19075 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19076 *) ac_try_echo
=$ac_try;;
19078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19079 (eval "$ac_link") 2>&5
19081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19082 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19083 { (case "(($ac_try" in
19084 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19085 *) ac_try_echo=$ac_try;;
19087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19088 (eval "$ac_try") 2>&5
19090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19091 (exit $ac_status); }; }; then
19092 llvm_cv_c_printf_a=yes
19094 echo "$as_me: program exited with status $ac_status" >&5
19095 echo "$as_me: failed program was:" >&5
19096 sed 's/^/| /' conftest.$ac_ext >&5
19098 ( exit $ac_status )
19099 llvmac_cv_c_printf_a=no
19101 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19106 ac_cpp='$CPP $CPPFLAGS'
19107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19112 { echo "$as_me:$LINENO: result: $llvm_cv_c_printf_a" >&5
19113 echo "${ECHO_T}$llvm_cv_c_printf_a" >&6; }
19114 if test "$llvm_cv_c_printf_a" = "yes"; then
19116 cat >>confdefs.h <<\_ACEOF
19117 #define HAVE_PRINTF_A 1
19123 { echo "$as_me:$LINENO: checking for srand48/lrand48/drand48 in <stdlib.h>" >&5
19124 echo $ECHO_N "checking for srand48/lrand48/drand48 in <stdlib.h>... $ECHO_C" >&6; }
19125 if test "${ac_cv_func_rand48+set}" = set; then
19126 echo $ECHO_N "(cached) $ECHO_C" >&6
19129 ac_cpp='$CXXCPP $CPPFLAGS'
19130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19134 cat >conftest.$ac_ext <<_ACEOF
19137 cat confdefs.h >>conftest.$ac_ext
19138 cat >>conftest.$ac_ext <<_ACEOF
19139 /* end confdefs.h. */
19140 #include <stdlib.h>
19144 srand48(0);lrand48();drand48();
19149 rm -f conftest.$ac_objext
19150 if { (ac_try="$ac_compile"
19151 case "(($ac_try" in
19152 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19153 *) ac_try_echo
=$ac_try;;
19155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19156 (eval "$ac_compile") 2>conftest.er1
19158 grep -v '^ *+' conftest.er1
>conftest.err
19160 cat conftest.err
>&5
19161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19162 (exit $ac_status); } &&
19163 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19164 { (case "(($ac_try" in
19165 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19166 *) ac_try_echo=$ac_try;;
19168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19169 (eval "$ac_try") 2>&5
19171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19172 (exit $ac_status); }; } &&
19173 { ac_try='test -s conftest.$ac_objext'
19174 { (case "(($ac_try" in
19175 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19176 *) ac_try_echo
=$ac_try;;
19178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19179 (eval "$ac_try") 2>&5
19181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19182 (exit $ac_status); }; }; then
19183 ac_cv_func_rand48
=yes
19185 echo "$as_me: failed program was:" >&5
19186 sed 's/^/| /' conftest.
$ac_ext >&5
19188 ac_cv_func_rand48
=no
19191 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19193 ac_cpp
='$CPP $CPPFLAGS'
19194 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19195 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19196 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19199 { echo "$as_me:$LINENO: result: $ac_cv_func_rand48" >&5
19200 echo "${ECHO_T}$ac_cv_func_rand48" >&6; }
19202 if test "$ac_cv_func_rand48" = "yes" ; then
19204 cat >>confdefs.h
<<\_ACEOF
19205 #define HAVE_RAND48 1
19211 { echo "$as_me:$LINENO: checking whether strerror_s is declared" >&5
19212 echo $ECHO_N "checking whether strerror_s is declared... $ECHO_C" >&6; }
19213 if test "${ac_cv_have_decl_strerror_s+set}" = set; then
19214 echo $ECHO_N "(cached) $ECHO_C" >&6
19216 cat >conftest.
$ac_ext <<_ACEOF
19219 cat confdefs.h
>>conftest.
$ac_ext
19220 cat >>conftest.
$ac_ext <<_ACEOF
19221 /* end confdefs.h. */
19222 $ac_includes_default
19227 char *p = (char *) strerror_s;
19235 rm -f conftest.
$ac_objext
19236 if { (ac_try
="$ac_compile"
19237 case "(($ac_try" in
19238 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19239 *) ac_try_echo=$ac_try;;
19241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19242 (eval "$ac_compile") 2>conftest.er1
19244 grep -v '^ *+' conftest.er1 >conftest.err
19246 cat conftest.err >&5
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); } &&
19249 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19250 { (case "(($ac_try" in
19251 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19252 *) ac_try_echo
=$ac_try;;
19254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19255 (eval "$ac_try") 2>&5
19257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19258 (exit $ac_status); }; } &&
19259 { ac_try
='test -s conftest.$ac_objext'
19260 { (case "(($ac_try" in
19261 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19262 *) ac_try_echo=$ac_try;;
19264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19265 (eval "$ac_try") 2>&5
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); }; }; then
19269 ac_cv_have_decl_strerror_s=yes
19271 echo "$as_me: failed program was:" >&5
19272 sed 's/^/| /' conftest.$ac_ext >&5
19274 ac_cv_have_decl_strerror_s=no
19277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19279 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_s" >&5
19280 echo "${ECHO_T}$ac_cv_have_decl_strerror_s" >&6; }
19281 if test $ac_cv_have_decl_strerror_s = yes; then
19283 cat >>confdefs.h <<_ACEOF
19284 #define HAVE_DECL_STRERROR_S 1
19289 cat >>confdefs.h <<_ACEOF
19290 #define HAVE_DECL_STRERROR_S 0
19298 if test "$llvm_cv_os_type" = "MingW" ; then
19299 { echo "$as_me:$LINENO: checking for _alloca in -lgcc" >&5
19300 echo $ECHO_N "checking for _alloca in -lgcc... $ECHO_C" >&6; }
19301 if test "${ac_cv_lib_gcc__alloca+set}" = set; then
19302 echo $ECHO_N "(cached) $ECHO_C" >&6
19304 ac_check_lib_save_LIBS=$LIBS
19306 cat >conftest.$ac_ext <<_ACEOF
19309 cat confdefs.h >>conftest.$ac_ext
19310 cat >>conftest.$ac_ext <<_ACEOF
19311 /* end confdefs.h. */
19313 /* Override any GCC internal prototype to avoid an error.
19314 Use char because int might match the return type of a GCC
19315 builtin and then its argument prototype would still apply. */
19328 rm -f conftest.$ac_objext conftest$ac_exeext
19329 if { (ac_try="$ac_link"
19330 case "(($ac_try" in
19331 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19332 *) ac_try_echo
=$ac_try;;
19334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19335 (eval "$ac_link") 2>conftest.er1
19337 grep -v '^ *+' conftest.er1
>conftest.err
19339 cat conftest.err
>&5
19340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19341 (exit $ac_status); } &&
19342 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19343 { (case "(($ac_try" in
19344 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19345 *) ac_try_echo=$ac_try;;
19347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19348 (eval "$ac_try") 2>&5
19350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19351 (exit $ac_status); }; } &&
19352 { ac_try='test -s conftest$ac_exeext'
19353 { (case "(($ac_try" in
19354 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19355 *) ac_try_echo
=$ac_try;;
19357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19358 (eval "$ac_try") 2>&5
19360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19361 (exit $ac_status); }; }; then
19362 ac_cv_lib_gcc__alloca
=yes
19364 echo "$as_me: failed program was:" >&5
19365 sed 's/^/| /' conftest.
$ac_ext >&5
19367 ac_cv_lib_gcc__alloca
=no
19370 rm -f core conftest.err conftest.
$ac_objext \
19371 conftest
$ac_exeext conftest.
$ac_ext
19372 LIBS
=$ac_check_lib_save_LIBS
19374 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc__alloca" >&5
19375 echo "${ECHO_T}$ac_cv_lib_gcc__alloca" >&6; }
19376 if test $ac_cv_lib_gcc__alloca = yes; then
19378 cat >>confdefs.h
<<\_ACEOF
19379 #define HAVE__ALLOCA 1
19384 { echo "$as_me:$LINENO: checking for __alloca in -lgcc" >&5
19385 echo $ECHO_N "checking for __alloca in -lgcc... $ECHO_C" >&6; }
19386 if test "${ac_cv_lib_gcc___alloca+set}" = set; then
19387 echo $ECHO_N "(cached) $ECHO_C" >&6
19389 ac_check_lib_save_LIBS
=$LIBS
19391 cat >conftest.
$ac_ext <<_ACEOF
19394 cat confdefs.h
>>conftest.
$ac_ext
19395 cat >>conftest.
$ac_ext <<_ACEOF
19396 /* end confdefs.h. */
19398 /* Override any GCC internal prototype to avoid an error.
19399 Use char because int might match the return type of a GCC
19400 builtin and then its argument prototype would still apply. */
19408 return __alloca ();
19413 rm -f conftest.
$ac_objext conftest
$ac_exeext
19414 if { (ac_try
="$ac_link"
19415 case "(($ac_try" in
19416 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19417 *) ac_try_echo=$ac_try;;
19419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19420 (eval "$ac_link") 2>conftest.er1
19422 grep -v '^ *+' conftest.er1 >conftest.err
19424 cat conftest.err >&5
19425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19426 (exit $ac_status); } &&
19427 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19428 { (case "(($ac_try" in
19429 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19430 *) ac_try_echo
=$ac_try;;
19432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19433 (eval "$ac_try") 2>&5
19435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19436 (exit $ac_status); }; } &&
19437 { ac_try
='test -s conftest$ac_exeext'
19438 { (case "(($ac_try" in
19439 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19440 *) ac_try_echo=$ac_try;;
19442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19443 (eval "$ac_try") 2>&5
19445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19446 (exit $ac_status); }; }; then
19447 ac_cv_lib_gcc___alloca=yes
19449 echo "$as_me: failed program was:" >&5
19450 sed 's/^/| /' conftest.$ac_ext >&5
19452 ac_cv_lib_gcc___alloca=no
19455 rm -f core conftest.err conftest.$ac_objext \
19456 conftest$ac_exeext conftest.$ac_ext
19457 LIBS=$ac_check_lib_save_LIBS
19459 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___alloca" >&5
19460 echo "${ECHO_T}$ac_cv_lib_gcc___alloca" >&6; }
19461 if test $ac_cv_lib_gcc___alloca = yes; then
19463 cat >>confdefs.h <<\_ACEOF
19464 #define HAVE___ALLOCA 1
19469 { echo "$as_me:$LINENO: checking for __chkstk in -lgcc" >&5
19470 echo $ECHO_N "checking for __chkstk in -lgcc... $ECHO_C" >&6; }
19471 if test "${ac_cv_lib_gcc___chkstk+set}" = set; then
19472 echo $ECHO_N "(cached) $ECHO_C" >&6
19474 ac_check_lib_save_LIBS=$LIBS
19476 cat >conftest.$ac_ext <<_ACEOF
19479 cat confdefs.h >>conftest.$ac_ext
19480 cat >>conftest.$ac_ext <<_ACEOF
19481 /* end confdefs.h. */
19483 /* Override any GCC internal prototype to avoid an error.
19484 Use char because int might match the return type of a GCC
19485 builtin and then its argument prototype would still apply. */
19493 return __chkstk ();
19498 rm -f conftest.$ac_objext conftest$ac_exeext
19499 if { (ac_try="$ac_link"
19500 case "(($ac_try" in
19501 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19502 *) ac_try_echo
=$ac_try;;
19504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19505 (eval "$ac_link") 2>conftest.er1
19507 grep -v '^ *+' conftest.er1
>conftest.err
19509 cat conftest.err
>&5
19510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19511 (exit $ac_status); } &&
19512 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19513 { (case "(($ac_try" in
19514 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19515 *) ac_try_echo=$ac_try;;
19517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19518 (eval "$ac_try") 2>&5
19520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521 (exit $ac_status); }; } &&
19522 { ac_try='test -s conftest$ac_exeext'
19523 { (case "(($ac_try" in
19524 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19525 *) ac_try_echo
=$ac_try;;
19527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19528 (eval "$ac_try") 2>&5
19530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531 (exit $ac_status); }; }; then
19532 ac_cv_lib_gcc___chkstk
=yes
19534 echo "$as_me: failed program was:" >&5
19535 sed 's/^/| /' conftest.
$ac_ext >&5
19537 ac_cv_lib_gcc___chkstk
=no
19540 rm -f core conftest.err conftest.
$ac_objext \
19541 conftest
$ac_exeext conftest.
$ac_ext
19542 LIBS
=$ac_check_lib_save_LIBS
19544 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___chkstk" >&5
19545 echo "${ECHO_T}$ac_cv_lib_gcc___chkstk" >&6; }
19546 if test $ac_cv_lib_gcc___chkstk = yes; then
19548 cat >>confdefs.h
<<\_ACEOF
19549 #define HAVE___CHKSTK 1
19554 { echo "$as_me:$LINENO: checking for ___chkstk in -lgcc" >&5
19555 echo $ECHO_N "checking for ___chkstk in -lgcc... $ECHO_C" >&6; }
19556 if test "${ac_cv_lib_gcc____chkstk+set}" = set; then
19557 echo $ECHO_N "(cached) $ECHO_C" >&6
19559 ac_check_lib_save_LIBS
=$LIBS
19561 cat >conftest.
$ac_ext <<_ACEOF
19564 cat confdefs.h
>>conftest.
$ac_ext
19565 cat >>conftest.
$ac_ext <<_ACEOF
19566 /* end confdefs.h. */
19568 /* Override any GCC internal prototype to avoid an error.
19569 Use char because int might match the return type of a GCC
19570 builtin and then its argument prototype would still apply. */
19578 return ___chkstk ();
19583 rm -f conftest.
$ac_objext conftest
$ac_exeext
19584 if { (ac_try
="$ac_link"
19585 case "(($ac_try" in
19586 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19587 *) ac_try_echo=$ac_try;;
19589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19590 (eval "$ac_link") 2>conftest.er1
19592 grep -v '^ *+' conftest.er1 >conftest.err
19594 cat conftest.err >&5
19595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19596 (exit $ac_status); } &&
19597 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19598 { (case "(($ac_try" in
19599 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19600 *) ac_try_echo
=$ac_try;;
19602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19603 (eval "$ac_try") 2>&5
19605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19606 (exit $ac_status); }; } &&
19607 { ac_try
='test -s conftest$ac_exeext'
19608 { (case "(($ac_try" in
19609 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19610 *) ac_try_echo=$ac_try;;
19612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19613 (eval "$ac_try") 2>&5
19615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19616 (exit $ac_status); }; }; then
19617 ac_cv_lib_gcc____chkstk=yes
19619 echo "$as_me: failed program was:" >&5
19620 sed 's/^/| /' conftest.$ac_ext >&5
19622 ac_cv_lib_gcc____chkstk=no
19625 rm -f core conftest.err conftest.$ac_objext \
19626 conftest$ac_exeext conftest.$ac_ext
19627 LIBS=$ac_check_lib_save_LIBS
19629 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc____chkstk" >&5
19630 echo "${ECHO_T}$ac_cv_lib_gcc____chkstk" >&6; }
19631 if test $ac_cv_lib_gcc____chkstk = yes; then
19633 cat >>confdefs.h <<\_ACEOF
19634 #define HAVE____CHKSTK 1
19640 { echo "$as_me:$LINENO: checking for __ashldi3 in -lgcc" >&5
19641 echo $ECHO_N "checking for __ashldi3 in -lgcc... $ECHO_C" >&6; }
19642 if test "${ac_cv_lib_gcc___ashldi3+set}" = set; then
19643 echo $ECHO_N "(cached) $ECHO_C" >&6
19645 ac_check_lib_save_LIBS=$LIBS
19647 cat >conftest.$ac_ext <<_ACEOF
19650 cat confdefs.h >>conftest.$ac_ext
19651 cat >>conftest.$ac_ext <<_ACEOF
19652 /* end confdefs.h. */
19654 /* Override any GCC internal prototype to avoid an error.
19655 Use char because int might match the return type of a GCC
19656 builtin and then its argument prototype would still apply. */
19664 return __ashldi3 ();
19669 rm -f conftest.$ac_objext conftest$ac_exeext
19670 if { (ac_try="$ac_link"
19671 case "(($ac_try" in
19672 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19673 *) ac_try_echo
=$ac_try;;
19675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19676 (eval "$ac_link") 2>conftest.er1
19678 grep -v '^ *+' conftest.er1
>conftest.err
19680 cat conftest.err
>&5
19681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19682 (exit $ac_status); } &&
19683 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19684 { (case "(($ac_try" in
19685 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19686 *) ac_try_echo=$ac_try;;
19688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19689 (eval "$ac_try") 2>&5
19691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19692 (exit $ac_status); }; } &&
19693 { ac_try='test -s conftest$ac_exeext'
19694 { (case "(($ac_try" in
19695 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19696 *) ac_try_echo
=$ac_try;;
19698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19699 (eval "$ac_try") 2>&5
19701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19702 (exit $ac_status); }; }; then
19703 ac_cv_lib_gcc___ashldi3
=yes
19705 echo "$as_me: failed program was:" >&5
19706 sed 's/^/| /' conftest.
$ac_ext >&5
19708 ac_cv_lib_gcc___ashldi3
=no
19711 rm -f core conftest.err conftest.
$ac_objext \
19712 conftest
$ac_exeext conftest.
$ac_ext
19713 LIBS
=$ac_check_lib_save_LIBS
19715 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___ashldi3" >&5
19716 echo "${ECHO_T}$ac_cv_lib_gcc___ashldi3" >&6; }
19717 if test $ac_cv_lib_gcc___ashldi3 = yes; then
19719 cat >>confdefs.h
<<\_ACEOF
19720 #define HAVE___ASHLDI3 1
19725 { echo "$as_me:$LINENO: checking for __ashrdi3 in -lgcc" >&5
19726 echo $ECHO_N "checking for __ashrdi3 in -lgcc... $ECHO_C" >&6; }
19727 if test "${ac_cv_lib_gcc___ashrdi3+set}" = set; then
19728 echo $ECHO_N "(cached) $ECHO_C" >&6
19730 ac_check_lib_save_LIBS
=$LIBS
19732 cat >conftest.
$ac_ext <<_ACEOF
19735 cat confdefs.h
>>conftest.
$ac_ext
19736 cat >>conftest.
$ac_ext <<_ACEOF
19737 /* end confdefs.h. */
19739 /* Override any GCC internal prototype to avoid an error.
19740 Use char because int might match the return type of a GCC
19741 builtin and then its argument prototype would still apply. */
19749 return __ashrdi3 ();
19754 rm -f conftest.
$ac_objext conftest
$ac_exeext
19755 if { (ac_try
="$ac_link"
19756 case "(($ac_try" in
19757 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19758 *) ac_try_echo=$ac_try;;
19760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19761 (eval "$ac_link") 2>conftest.er1
19763 grep -v '^ *+' conftest.er1 >conftest.err
19765 cat conftest.err >&5
19766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19767 (exit $ac_status); } &&
19768 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19769 { (case "(($ac_try" in
19770 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19771 *) ac_try_echo
=$ac_try;;
19773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19774 (eval "$ac_try") 2>&5
19776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19777 (exit $ac_status); }; } &&
19778 { ac_try
='test -s conftest$ac_exeext'
19779 { (case "(($ac_try" in
19780 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19781 *) ac_try_echo=$ac_try;;
19783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19784 (eval "$ac_try") 2>&5
19786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19787 (exit $ac_status); }; }; then
19788 ac_cv_lib_gcc___ashrdi3=yes
19790 echo "$as_me: failed program was:" >&5
19791 sed 's/^/| /' conftest.$ac_ext >&5
19793 ac_cv_lib_gcc___ashrdi3=no
19796 rm -f core conftest.err conftest.$ac_objext \
19797 conftest$ac_exeext conftest.$ac_ext
19798 LIBS=$ac_check_lib_save_LIBS
19800 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___ashrdi3" >&5
19801 echo "${ECHO_T}$ac_cv_lib_gcc___ashrdi3" >&6; }
19802 if test $ac_cv_lib_gcc___ashrdi3 = yes; then
19804 cat >>confdefs.h <<\_ACEOF
19805 #define HAVE___ASHRDI3 1
19810 { echo "$as_me:$LINENO: checking for __divdi3 in -lgcc" >&5
19811 echo $ECHO_N "checking for __divdi3 in -lgcc... $ECHO_C" >&6; }
19812 if test "${ac_cv_lib_gcc___divdi3+set}" = set; then
19813 echo $ECHO_N "(cached) $ECHO_C" >&6
19815 ac_check_lib_save_LIBS=$LIBS
19817 cat >conftest.$ac_ext <<_ACEOF
19820 cat confdefs.h >>conftest.$ac_ext
19821 cat >>conftest.$ac_ext <<_ACEOF
19822 /* end confdefs.h. */
19824 /* Override any GCC internal prototype to avoid an error.
19825 Use char because int might match the return type of a GCC
19826 builtin and then its argument prototype would still apply. */
19834 return __divdi3 ();
19839 rm -f conftest.$ac_objext conftest$ac_exeext
19840 if { (ac_try="$ac_link"
19841 case "(($ac_try" in
19842 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19843 *) ac_try_echo
=$ac_try;;
19845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19846 (eval "$ac_link") 2>conftest.er1
19848 grep -v '^ *+' conftest.er1
>conftest.err
19850 cat conftest.err
>&5
19851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19852 (exit $ac_status); } &&
19853 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19854 { (case "(($ac_try" in
19855 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19856 *) ac_try_echo=$ac_try;;
19858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19859 (eval "$ac_try") 2>&5
19861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19862 (exit $ac_status); }; } &&
19863 { ac_try='test -s conftest$ac_exeext'
19864 { (case "(($ac_try" in
19865 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19866 *) ac_try_echo
=$ac_try;;
19868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19869 (eval "$ac_try") 2>&5
19871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19872 (exit $ac_status); }; }; then
19873 ac_cv_lib_gcc___divdi3
=yes
19875 echo "$as_me: failed program was:" >&5
19876 sed 's/^/| /' conftest.
$ac_ext >&5
19878 ac_cv_lib_gcc___divdi3
=no
19881 rm -f core conftest.err conftest.
$ac_objext \
19882 conftest
$ac_exeext conftest.
$ac_ext
19883 LIBS
=$ac_check_lib_save_LIBS
19885 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___divdi3" >&5
19886 echo "${ECHO_T}$ac_cv_lib_gcc___divdi3" >&6; }
19887 if test $ac_cv_lib_gcc___divdi3 = yes; then
19889 cat >>confdefs.h
<<\_ACEOF
19890 #define HAVE___DIVDI3 1
19895 { echo "$as_me:$LINENO: checking for __fixdfdi in -lgcc" >&5
19896 echo $ECHO_N "checking for __fixdfdi in -lgcc... $ECHO_C" >&6; }
19897 if test "${ac_cv_lib_gcc___fixdfdi+set}" = set; then
19898 echo $ECHO_N "(cached) $ECHO_C" >&6
19900 ac_check_lib_save_LIBS
=$LIBS
19902 cat >conftest.
$ac_ext <<_ACEOF
19905 cat confdefs.h
>>conftest.
$ac_ext
19906 cat >>conftest.
$ac_ext <<_ACEOF
19907 /* end confdefs.h. */
19909 /* Override any GCC internal prototype to avoid an error.
19910 Use char because int might match the return type of a GCC
19911 builtin and then its argument prototype would still apply. */
19919 return __fixdfdi ();
19924 rm -f conftest.
$ac_objext conftest
$ac_exeext
19925 if { (ac_try
="$ac_link"
19926 case "(($ac_try" in
19927 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19928 *) ac_try_echo=$ac_try;;
19930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19931 (eval "$ac_link") 2>conftest.er1
19933 grep -v '^ *+' conftest.er1 >conftest.err
19935 cat conftest.err >&5
19936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937 (exit $ac_status); } &&
19938 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19939 { (case "(($ac_try" in
19940 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19941 *) ac_try_echo
=$ac_try;;
19943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19944 (eval "$ac_try") 2>&5
19946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19947 (exit $ac_status); }; } &&
19948 { ac_try
='test -s conftest$ac_exeext'
19949 { (case "(($ac_try" in
19950 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19951 *) ac_try_echo=$ac_try;;
19953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19954 (eval "$ac_try") 2>&5
19956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19957 (exit $ac_status); }; }; then
19958 ac_cv_lib_gcc___fixdfdi=yes
19960 echo "$as_me: failed program was:" >&5
19961 sed 's/^/| /' conftest.$ac_ext >&5
19963 ac_cv_lib_gcc___fixdfdi=no
19966 rm -f core conftest.err conftest.$ac_objext \
19967 conftest$ac_exeext conftest.$ac_ext
19968 LIBS=$ac_check_lib_save_LIBS
19970 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___fixdfdi" >&5
19971 echo "${ECHO_T}$ac_cv_lib_gcc___fixdfdi" >&6; }
19972 if test $ac_cv_lib_gcc___fixdfdi = yes; then
19974 cat >>confdefs.h <<\_ACEOF
19975 #define HAVE___FIXDFDI 1
19980 { echo "$as_me:$LINENO: checking for __fixsfdi in -lgcc" >&5
19981 echo $ECHO_N "checking for __fixsfdi in -lgcc... $ECHO_C" >&6; }
19982 if test "${ac_cv_lib_gcc___fixsfdi+set}" = set; then
19983 echo $ECHO_N "(cached) $ECHO_C" >&6
19985 ac_check_lib_save_LIBS=$LIBS
19987 cat >conftest.$ac_ext <<_ACEOF
19990 cat confdefs.h >>conftest.$ac_ext
19991 cat >>conftest.$ac_ext <<_ACEOF
19992 /* end confdefs.h. */
19994 /* Override any GCC internal prototype to avoid an error.
19995 Use char because int might match the return type of a GCC
19996 builtin and then its argument prototype would still apply. */
20004 return __fixsfdi ();
20009 rm -f conftest.$ac_objext conftest$ac_exeext
20010 if { (ac_try="$ac_link"
20011 case "(($ac_try" in
20012 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20013 *) ac_try_echo
=$ac_try;;
20015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20016 (eval "$ac_link") 2>conftest.er1
20018 grep -v '^ *+' conftest.er1
>conftest.err
20020 cat conftest.err
>&5
20021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20022 (exit $ac_status); } &&
20023 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20024 { (case "(($ac_try" in
20025 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20026 *) ac_try_echo=$ac_try;;
20028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20029 (eval "$ac_try") 2>&5
20031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20032 (exit $ac_status); }; } &&
20033 { ac_try='test -s conftest$ac_exeext'
20034 { (case "(($ac_try" in
20035 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20036 *) ac_try_echo
=$ac_try;;
20038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20039 (eval "$ac_try") 2>&5
20041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20042 (exit $ac_status); }; }; then
20043 ac_cv_lib_gcc___fixsfdi
=yes
20045 echo "$as_me: failed program was:" >&5
20046 sed 's/^/| /' conftest.
$ac_ext >&5
20048 ac_cv_lib_gcc___fixsfdi
=no
20051 rm -f core conftest.err conftest.
$ac_objext \
20052 conftest
$ac_exeext conftest.
$ac_ext
20053 LIBS
=$ac_check_lib_save_LIBS
20055 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___fixsfdi" >&5
20056 echo "${ECHO_T}$ac_cv_lib_gcc___fixsfdi" >&6; }
20057 if test $ac_cv_lib_gcc___fixsfdi = yes; then
20059 cat >>confdefs.h
<<\_ACEOF
20060 #define HAVE___FIXSFDI 1
20065 { echo "$as_me:$LINENO: checking for __floatdidf in -lgcc" >&5
20066 echo $ECHO_N "checking for __floatdidf in -lgcc... $ECHO_C" >&6; }
20067 if test "${ac_cv_lib_gcc___floatdidf+set}" = set; then
20068 echo $ECHO_N "(cached) $ECHO_C" >&6
20070 ac_check_lib_save_LIBS
=$LIBS
20072 cat >conftest.
$ac_ext <<_ACEOF
20075 cat confdefs.h
>>conftest.
$ac_ext
20076 cat >>conftest.
$ac_ext <<_ACEOF
20077 /* end confdefs.h. */
20079 /* Override any GCC internal prototype to avoid an error.
20080 Use char because int might match the return type of a GCC
20081 builtin and then its argument prototype would still apply. */
20085 char __floatdidf ();
20089 return __floatdidf ();
20094 rm -f conftest.
$ac_objext conftest
$ac_exeext
20095 if { (ac_try
="$ac_link"
20096 case "(($ac_try" in
20097 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20098 *) ac_try_echo=$ac_try;;
20100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20101 (eval "$ac_link") 2>conftest.er1
20103 grep -v '^ *+' conftest.er1 >conftest.err
20105 cat conftest.err >&5
20106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20107 (exit $ac_status); } &&
20108 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20109 { (case "(($ac_try" in
20110 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20111 *) ac_try_echo
=$ac_try;;
20113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20114 (eval "$ac_try") 2>&5
20116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20117 (exit $ac_status); }; } &&
20118 { ac_try
='test -s conftest$ac_exeext'
20119 { (case "(($ac_try" in
20120 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20121 *) ac_try_echo=$ac_try;;
20123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20124 (eval "$ac_try") 2>&5
20126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20127 (exit $ac_status); }; }; then
20128 ac_cv_lib_gcc___floatdidf=yes
20130 echo "$as_me: failed program was:" >&5
20131 sed 's/^/| /' conftest.$ac_ext >&5
20133 ac_cv_lib_gcc___floatdidf=no
20136 rm -f core conftest.err conftest.$ac_objext \
20137 conftest$ac_exeext conftest.$ac_ext
20138 LIBS=$ac_check_lib_save_LIBS
20140 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___floatdidf" >&5
20141 echo "${ECHO_T}$ac_cv_lib_gcc___floatdidf" >&6; }
20142 if test $ac_cv_lib_gcc___floatdidf = yes; then
20144 cat >>confdefs.h <<\_ACEOF
20145 #define HAVE___FLOATDIDF 1
20150 { echo "$as_me:$LINENO: checking for __lshrdi3 in -lgcc" >&5
20151 echo $ECHO_N "checking for __lshrdi3 in -lgcc... $ECHO_C" >&6; }
20152 if test "${ac_cv_lib_gcc___lshrdi3+set}" = set; then
20153 echo $ECHO_N "(cached) $ECHO_C" >&6
20155 ac_check_lib_save_LIBS=$LIBS
20157 cat >conftest.$ac_ext <<_ACEOF
20160 cat confdefs.h >>conftest.$ac_ext
20161 cat >>conftest.$ac_ext <<_ACEOF
20162 /* end confdefs.h. */
20164 /* Override any GCC internal prototype to avoid an error.
20165 Use char because int might match the return type of a GCC
20166 builtin and then its argument prototype would still apply. */
20174 return __lshrdi3 ();
20179 rm -f conftest.$ac_objext conftest$ac_exeext
20180 if { (ac_try="$ac_link"
20181 case "(($ac_try" in
20182 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20183 *) ac_try_echo
=$ac_try;;
20185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20186 (eval "$ac_link") 2>conftest.er1
20188 grep -v '^ *+' conftest.er1
>conftest.err
20190 cat conftest.err
>&5
20191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20192 (exit $ac_status); } &&
20193 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20194 { (case "(($ac_try" in
20195 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20196 *) ac_try_echo=$ac_try;;
20198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20199 (eval "$ac_try") 2>&5
20201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20202 (exit $ac_status); }; } &&
20203 { ac_try='test -s conftest$ac_exeext'
20204 { (case "(($ac_try" in
20205 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20206 *) ac_try_echo
=$ac_try;;
20208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20209 (eval "$ac_try") 2>&5
20211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20212 (exit $ac_status); }; }; then
20213 ac_cv_lib_gcc___lshrdi3
=yes
20215 echo "$as_me: failed program was:" >&5
20216 sed 's/^/| /' conftest.
$ac_ext >&5
20218 ac_cv_lib_gcc___lshrdi3
=no
20221 rm -f core conftest.err conftest.
$ac_objext \
20222 conftest
$ac_exeext conftest.
$ac_ext
20223 LIBS
=$ac_check_lib_save_LIBS
20225 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___lshrdi3" >&5
20226 echo "${ECHO_T}$ac_cv_lib_gcc___lshrdi3" >&6; }
20227 if test $ac_cv_lib_gcc___lshrdi3 = yes; then
20229 cat >>confdefs.h
<<\_ACEOF
20230 #define HAVE___LSHRDI3 1
20235 { echo "$as_me:$LINENO: checking for __moddi3 in -lgcc" >&5
20236 echo $ECHO_N "checking for __moddi3 in -lgcc... $ECHO_C" >&6; }
20237 if test "${ac_cv_lib_gcc___moddi3+set}" = set; then
20238 echo $ECHO_N "(cached) $ECHO_C" >&6
20240 ac_check_lib_save_LIBS
=$LIBS
20242 cat >conftest.
$ac_ext <<_ACEOF
20245 cat confdefs.h
>>conftest.
$ac_ext
20246 cat >>conftest.
$ac_ext <<_ACEOF
20247 /* end confdefs.h. */
20249 /* Override any GCC internal prototype to avoid an error.
20250 Use char because int might match the return type of a GCC
20251 builtin and then its argument prototype would still apply. */
20259 return __moddi3 ();
20264 rm -f conftest.
$ac_objext conftest
$ac_exeext
20265 if { (ac_try
="$ac_link"
20266 case "(($ac_try" in
20267 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20268 *) ac_try_echo=$ac_try;;
20270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20271 (eval "$ac_link") 2>conftest.er1
20273 grep -v '^ *+' conftest.er1 >conftest.err
20275 cat conftest.err >&5
20276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20277 (exit $ac_status); } &&
20278 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20279 { (case "(($ac_try" in
20280 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20281 *) ac_try_echo
=$ac_try;;
20283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20284 (eval "$ac_try") 2>&5
20286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20287 (exit $ac_status); }; } &&
20288 { ac_try
='test -s conftest$ac_exeext'
20289 { (case "(($ac_try" in
20290 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20291 *) ac_try_echo=$ac_try;;
20293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20294 (eval "$ac_try") 2>&5
20296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20297 (exit $ac_status); }; }; then
20298 ac_cv_lib_gcc___moddi3=yes
20300 echo "$as_me: failed program was:" >&5
20301 sed 's/^/| /' conftest.$ac_ext >&5
20303 ac_cv_lib_gcc___moddi3=no
20306 rm -f core conftest.err conftest.$ac_objext \
20307 conftest$ac_exeext conftest.$ac_ext
20308 LIBS=$ac_check_lib_save_LIBS
20310 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___moddi3" >&5
20311 echo "${ECHO_T}$ac_cv_lib_gcc___moddi3" >&6; }
20312 if test $ac_cv_lib_gcc___moddi3 = yes; then
20314 cat >>confdefs.h <<\_ACEOF
20315 #define HAVE___MODDI3 1
20320 { echo "$as_me:$LINENO: checking for __udivdi3 in -lgcc" >&5
20321 echo $ECHO_N "checking for __udivdi3 in -lgcc... $ECHO_C" >&6; }
20322 if test "${ac_cv_lib_gcc___udivdi3+set}" = set; then
20323 echo $ECHO_N "(cached) $ECHO_C" >&6
20325 ac_check_lib_save_LIBS=$LIBS
20327 cat >conftest.$ac_ext <<_ACEOF
20330 cat confdefs.h >>conftest.$ac_ext
20331 cat >>conftest.$ac_ext <<_ACEOF
20332 /* end confdefs.h. */
20334 /* Override any GCC internal prototype to avoid an error.
20335 Use char because int might match the return type of a GCC
20336 builtin and then its argument prototype would still apply. */
20344 return __udivdi3 ();
20349 rm -f conftest.$ac_objext conftest$ac_exeext
20350 if { (ac_try="$ac_link"
20351 case "(($ac_try" in
20352 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20353 *) ac_try_echo
=$ac_try;;
20355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20356 (eval "$ac_link") 2>conftest.er1
20358 grep -v '^ *+' conftest.er1
>conftest.err
20360 cat conftest.err
>&5
20361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20362 (exit $ac_status); } &&
20363 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20364 { (case "(($ac_try" in
20365 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20366 *) ac_try_echo=$ac_try;;
20368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20369 (eval "$ac_try") 2>&5
20371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20372 (exit $ac_status); }; } &&
20373 { ac_try='test -s conftest$ac_exeext'
20374 { (case "(($ac_try" in
20375 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20376 *) ac_try_echo
=$ac_try;;
20378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20379 (eval "$ac_try") 2>&5
20381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20382 (exit $ac_status); }; }; then
20383 ac_cv_lib_gcc___udivdi3
=yes
20385 echo "$as_me: failed program was:" >&5
20386 sed 's/^/| /' conftest.
$ac_ext >&5
20388 ac_cv_lib_gcc___udivdi3
=no
20391 rm -f core conftest.err conftest.
$ac_objext \
20392 conftest
$ac_exeext conftest.
$ac_ext
20393 LIBS
=$ac_check_lib_save_LIBS
20395 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___udivdi3" >&5
20396 echo "${ECHO_T}$ac_cv_lib_gcc___udivdi3" >&6; }
20397 if test $ac_cv_lib_gcc___udivdi3 = yes; then
20399 cat >>confdefs.h
<<\_ACEOF
20400 #define HAVE___UDIVDI3 1
20405 { echo "$as_me:$LINENO: checking for __umoddi3 in -lgcc" >&5
20406 echo $ECHO_N "checking for __umoddi3 in -lgcc... $ECHO_C" >&6; }
20407 if test "${ac_cv_lib_gcc___umoddi3+set}" = set; then
20408 echo $ECHO_N "(cached) $ECHO_C" >&6
20410 ac_check_lib_save_LIBS
=$LIBS
20412 cat >conftest.
$ac_ext <<_ACEOF
20415 cat confdefs.h
>>conftest.
$ac_ext
20416 cat >>conftest.
$ac_ext <<_ACEOF
20417 /* end confdefs.h. */
20419 /* Override any GCC internal prototype to avoid an error.
20420 Use char because int might match the return type of a GCC
20421 builtin and then its argument prototype would still apply. */
20429 return __umoddi3 ();
20434 rm -f conftest.
$ac_objext conftest
$ac_exeext
20435 if { (ac_try
="$ac_link"
20436 case "(($ac_try" in
20437 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20438 *) ac_try_echo=$ac_try;;
20440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20441 (eval "$ac_link") 2>conftest.er1
20443 grep -v '^ *+' conftest.er1 >conftest.err
20445 cat conftest.err >&5
20446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20447 (exit $ac_status); } &&
20448 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20449 { (case "(($ac_try" in
20450 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20451 *) ac_try_echo
=$ac_try;;
20453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20454 (eval "$ac_try") 2>&5
20456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20457 (exit $ac_status); }; } &&
20458 { ac_try
='test -s conftest$ac_exeext'
20459 { (case "(($ac_try" in
20460 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20461 *) ac_try_echo=$ac_try;;
20463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20464 (eval "$ac_try") 2>&5
20466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20467 (exit $ac_status); }; }; then
20468 ac_cv_lib_gcc___umoddi3=yes
20470 echo "$as_me: failed program was:" >&5
20471 sed 's/^/| /' conftest.$ac_ext >&5
20473 ac_cv_lib_gcc___umoddi3=no
20476 rm -f core conftest.err conftest.$ac_objext \
20477 conftest$ac_exeext conftest.$ac_ext
20478 LIBS=$ac_check_lib_save_LIBS
20480 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___umoddi3" >&5
20481 echo "${ECHO_T}$ac_cv_lib_gcc___umoddi3" >&6; }
20482 if test $ac_cv_lib_gcc___umoddi3 = yes; then
20484 cat >>confdefs.h <<\_ACEOF
20485 #define HAVE___UMODDI3 1
20491 { echo "$as_me:$LINENO: checking for __main in -lgcc" >&5
20492 echo $ECHO_N "checking for __main in -lgcc... $ECHO_C" >&6; }
20493 if test "${ac_cv_lib_gcc___main+set}" = set; then
20494 echo $ECHO_N "(cached) $ECHO_C" >&6
20496 ac_check_lib_save_LIBS=$LIBS
20498 cat >conftest.$ac_ext <<_ACEOF
20501 cat confdefs.h >>conftest.$ac_ext
20502 cat >>conftest.$ac_ext <<_ACEOF
20503 /* end confdefs.h. */
20505 /* Override any GCC internal prototype to avoid an error.
20506 Use char because int might match the return type of a GCC
20507 builtin and then its argument prototype would still apply. */
20520 rm -f conftest.$ac_objext conftest$ac_exeext
20521 if { (ac_try="$ac_link"
20522 case "(($ac_try" in
20523 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20524 *) ac_try_echo
=$ac_try;;
20526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20527 (eval "$ac_link") 2>conftest.er1
20529 grep -v '^ *+' conftest.er1
>conftest.err
20531 cat conftest.err
>&5
20532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20533 (exit $ac_status); } &&
20534 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20535 { (case "(($ac_try" in
20536 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20537 *) ac_try_echo=$ac_try;;
20539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20540 (eval "$ac_try") 2>&5
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); }; } &&
20544 { ac_try='test -s conftest$ac_exeext'
20545 { (case "(($ac_try" in
20546 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20547 *) ac_try_echo
=$ac_try;;
20549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20550 (eval "$ac_try") 2>&5
20552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20553 (exit $ac_status); }; }; then
20554 ac_cv_lib_gcc___main
=yes
20556 echo "$as_me: failed program was:" >&5
20557 sed 's/^/| /' conftest.
$ac_ext >&5
20559 ac_cv_lib_gcc___main
=no
20562 rm -f core conftest.err conftest.
$ac_objext \
20563 conftest
$ac_exeext conftest.
$ac_ext
20564 LIBS
=$ac_check_lib_save_LIBS
20566 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___main" >&5
20567 echo "${ECHO_T}$ac_cv_lib_gcc___main" >&6; }
20568 if test $ac_cv_lib_gcc___main = yes; then
20570 cat >>confdefs.h
<<\_ACEOF
20571 #define HAVE___MAIN 1
20576 { echo "$as_me:$LINENO: checking for __cmpdi2 in -lgcc" >&5
20577 echo $ECHO_N "checking for __cmpdi2 in -lgcc... $ECHO_C" >&6; }
20578 if test "${ac_cv_lib_gcc___cmpdi2+set}" = set; then
20579 echo $ECHO_N "(cached) $ECHO_C" >&6
20581 ac_check_lib_save_LIBS
=$LIBS
20583 cat >conftest.
$ac_ext <<_ACEOF
20586 cat confdefs.h
>>conftest.
$ac_ext
20587 cat >>conftest.
$ac_ext <<_ACEOF
20588 /* end confdefs.h. */
20590 /* Override any GCC internal prototype to avoid an error.
20591 Use char because int might match the return type of a GCC
20592 builtin and then its argument prototype would still apply. */
20600 return __cmpdi2 ();
20605 rm -f conftest.
$ac_objext conftest
$ac_exeext
20606 if { (ac_try
="$ac_link"
20607 case "(($ac_try" in
20608 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20609 *) ac_try_echo=$ac_try;;
20611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20612 (eval "$ac_link") 2>conftest.er1
20614 grep -v '^ *+' conftest.er1 >conftest.err
20616 cat conftest.err >&5
20617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20618 (exit $ac_status); } &&
20619 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20620 { (case "(($ac_try" in
20621 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20622 *) ac_try_echo
=$ac_try;;
20624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20625 (eval "$ac_try") 2>&5
20627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20628 (exit $ac_status); }; } &&
20629 { ac_try
='test -s conftest$ac_exeext'
20630 { (case "(($ac_try" in
20631 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20632 *) ac_try_echo=$ac_try;;
20634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20635 (eval "$ac_try") 2>&5
20637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20638 (exit $ac_status); }; }; then
20639 ac_cv_lib_gcc___cmpdi2=yes
20641 echo "$as_me: failed program was:" >&5
20642 sed 's/^/| /' conftest.$ac_ext >&5
20644 ac_cv_lib_gcc___cmpdi2=no
20647 rm -f core conftest.err conftest.$ac_objext \
20648 conftest$ac_exeext conftest.$ac_ext
20649 LIBS=$ac_check_lib_save_LIBS
20651 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___cmpdi2" >&5
20652 echo "${ECHO_T}$ac_cv_lib_gcc___cmpdi2" >&6; }
20653 if test $ac_cv_lib_gcc___cmpdi2 = yes; then
20655 cat >>confdefs.h <<\_ACEOF
20656 #define HAVE___CMPDI2 1
20664 { echo "$as_me:$LINENO: checking for isnan in <math.h>" >&5
20665 echo $ECHO_N "checking for isnan in <math.h>... $ECHO_C" >&6; }
20666 if test "${ac_cv_func_isnan_in_math_h+set}" = set; then
20667 echo $ECHO_N "(cached) $ECHO_C" >&6
20670 ac_cpp='$CXXCPP $CPPFLAGS'
20671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20675 cat >conftest.$ac_ext <<_ACEOF
20678 cat confdefs.h >>conftest.$ac_ext
20679 cat >>conftest.$ac_ext <<_ACEOF
20680 /* end confdefs.h. */
20690 rm -f conftest.$ac_objext
20691 if { (ac_try="$ac_compile"
20692 case "(($ac_try" in
20693 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20694 *) ac_try_echo
=$ac_try;;
20696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20697 (eval "$ac_compile") 2>conftest.er1
20699 grep -v '^ *+' conftest.er1
>conftest.err
20701 cat conftest.err
>&5
20702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20703 (exit $ac_status); } &&
20704 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20705 { (case "(($ac_try" in
20706 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20707 *) ac_try_echo=$ac_try;;
20709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20710 (eval "$ac_try") 2>&5
20712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20713 (exit $ac_status); }; } &&
20714 { ac_try='test -s conftest.$ac_objext'
20715 { (case "(($ac_try" in
20716 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20717 *) ac_try_echo
=$ac_try;;
20719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20720 (eval "$ac_try") 2>&5
20722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20723 (exit $ac_status); }; }; then
20724 ac_cv_func_isnan_in_math_h
=yes
20726 echo "$as_me: failed program was:" >&5
20727 sed 's/^/| /' conftest.
$ac_ext >&5
20729 ac_cv_func_isnan_in_math_h
=no
20732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20734 ac_cpp
='$CPP $CPPFLAGS'
20735 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20736 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20737 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20740 { echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_math_h" >&5
20741 echo "${ECHO_T}$ac_cv_func_isnan_in_math_h" >&6; }
20744 if test "$ac_cv_func_isnan_in_math_h" = "yes" ; then
20746 cat >>confdefs.h
<<\_ACEOF
20747 #define HAVE_ISNAN_IN_MATH_H 1
20752 { echo "$as_me:$LINENO: checking for isnan in <cmath>" >&5
20753 echo $ECHO_N "checking for isnan in <cmath>... $ECHO_C" >&6; }
20754 if test "${ac_cv_func_isnan_in_cmath+set}" = set; then
20755 echo $ECHO_N "(cached) $ECHO_C" >&6
20758 ac_cpp
='$CXXCPP $CPPFLAGS'
20759 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20760 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20761 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20763 cat >conftest.
$ac_ext <<_ACEOF
20766 cat confdefs.h
>>conftest.
$ac_ext
20767 cat >>conftest.
$ac_ext <<_ACEOF
20768 /* end confdefs.h. */
20778 rm -f conftest.
$ac_objext
20779 if { (ac_try
="$ac_compile"
20780 case "(($ac_try" in
20781 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20782 *) ac_try_echo=$ac_try;;
20784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20785 (eval "$ac_compile") 2>conftest.er1
20787 grep -v '^ *+' conftest.er1 >conftest.err
20789 cat conftest.err >&5
20790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20791 (exit $ac_status); } &&
20792 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20793 { (case "(($ac_try" in
20794 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20795 *) ac_try_echo
=$ac_try;;
20797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20798 (eval "$ac_try") 2>&5
20800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20801 (exit $ac_status); }; } &&
20802 { ac_try
='test -s conftest.$ac_objext'
20803 { (case "(($ac_try" in
20804 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20805 *) ac_try_echo=$ac_try;;
20807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20808 (eval "$ac_try") 2>&5
20810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); }; }; then
20812 ac_cv_func_isnan_in_cmath=yes
20814 echo "$as_me: failed program was:" >&5
20815 sed 's/^/| /' conftest.$ac_ext >&5
20817 ac_cv_func_isnan_in_cmath=no
20820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20822 ac_cpp='$CPP $CPPFLAGS'
20823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20828 { echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_cmath" >&5
20829 echo "${ECHO_T}$ac_cv_func_isnan_in_cmath" >&6; }
20831 if test "$ac_cv_func_isnan_in_cmath" = "yes" ; then
20833 cat >>confdefs.h <<\_ACEOF
20834 #define HAVE_ISNAN_IN_CMATH 1
20839 { echo "$as_me:$LINENO: checking for std::isnan in <cmath>" >&5
20840 echo $ECHO_N "checking for std::isnan in <cmath>... $ECHO_C" >&6; }
20841 if test "${ac_cv_func_std_isnan_in_cmath+set}" = set; then
20842 echo $ECHO_N "(cached) $ECHO_C" >&6
20845 ac_cpp='$CXXCPP $CPPFLAGS'
20846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20850 cat >conftest.$ac_ext <<_ACEOF
20853 cat confdefs.h >>conftest.$ac_ext
20854 cat >>conftest.$ac_ext <<_ACEOF
20855 /* end confdefs.h. */
20860 float f; std::isnan(f);
20865 rm -f conftest.$ac_objext
20866 if { (ac_try="$ac_compile"
20867 case "(($ac_try" in
20868 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20869 *) ac_try_echo
=$ac_try;;
20871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20872 (eval "$ac_compile") 2>conftest.er1
20874 grep -v '^ *+' conftest.er1
>conftest.err
20876 cat conftest.err
>&5
20877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20878 (exit $ac_status); } &&
20879 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20880 { (case "(($ac_try" in
20881 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20882 *) ac_try_echo=$ac_try;;
20884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20885 (eval "$ac_try") 2>&5
20887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20888 (exit $ac_status); }; } &&
20889 { ac_try='test -s conftest.$ac_objext'
20890 { (case "(($ac_try" in
20891 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20892 *) ac_try_echo
=$ac_try;;
20894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20895 (eval "$ac_try") 2>&5
20897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20898 (exit $ac_status); }; }; then
20899 ac_cv_func_std_isnan_in_cmath
=yes
20901 echo "$as_me: failed program was:" >&5
20902 sed 's/^/| /' conftest.
$ac_ext >&5
20904 ac_cv_func_std_isnan_in_cmath
=no
20907 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20909 ac_cpp
='$CPP $CPPFLAGS'
20910 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20911 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20912 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20915 { echo "$as_me:$LINENO: result: $ac_cv_func_std_isnan_in_cmath" >&5
20916 echo "${ECHO_T}$ac_cv_func_std_isnan_in_cmath" >&6; }
20918 if test "$ac_cv_func_std_isnan_in_cmath" = "yes" ; then
20920 cat >>confdefs.h
<<\_ACEOF
20921 #define HAVE_STD_ISNAN_IN_CMATH 1
20927 { echo "$as_me:$LINENO: checking for isinf in <math.h>" >&5
20928 echo $ECHO_N "checking for isinf in <math.h>... $ECHO_C" >&6; }
20929 if test "${ac_cv_func_isinf_in_math_h+set}" = set; then
20930 echo $ECHO_N "(cached) $ECHO_C" >&6
20933 ac_cpp
='$CXXCPP $CPPFLAGS'
20934 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20935 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20936 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20938 cat >conftest.
$ac_ext <<_ACEOF
20941 cat confdefs.h
>>conftest.
$ac_ext
20942 cat >>conftest.
$ac_ext <<_ACEOF
20943 /* end confdefs.h. */
20953 rm -f conftest.
$ac_objext
20954 if { (ac_try
="$ac_compile"
20955 case "(($ac_try" in
20956 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20957 *) ac_try_echo=$ac_try;;
20959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20960 (eval "$ac_compile") 2>conftest.er1
20962 grep -v '^ *+' conftest.er1 >conftest.err
20964 cat conftest.err >&5
20965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20966 (exit $ac_status); } &&
20967 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20968 { (case "(($ac_try" in
20969 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20970 *) ac_try_echo
=$ac_try;;
20972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20973 (eval "$ac_try") 2>&5
20975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20976 (exit $ac_status); }; } &&
20977 { ac_try
='test -s conftest.$ac_objext'
20978 { (case "(($ac_try" in
20979 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20980 *) ac_try_echo=$ac_try;;
20982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20983 (eval "$ac_try") 2>&5
20985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20986 (exit $ac_status); }; }; then
20987 ac_cv_func_isinf_in_math_h=yes
20989 echo "$as_me: failed program was:" >&5
20990 sed 's/^/| /' conftest.$ac_ext >&5
20992 ac_cv_func_isinf_in_math_h=no
20995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20997 ac_cpp='$CPP $CPPFLAGS'
20998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21003 { echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_math_h" >&5
21004 echo "${ECHO_T}$ac_cv_func_isinf_in_math_h" >&6; }
21006 if test "$ac_cv_func_isinf_in_math_h" = "yes" ; then
21008 cat >>confdefs.h <<\_ACEOF
21009 #define HAVE_ISINF_IN_MATH_H 1
21014 { echo "$as_me:$LINENO: checking for isinf in <cmath>" >&5
21015 echo $ECHO_N "checking for isinf in <cmath>... $ECHO_C" >&6; }
21016 if test "${ac_cv_func_isinf_in_cmath+set}" = set; then
21017 echo $ECHO_N "(cached) $ECHO_C" >&6
21020 ac_cpp='$CXXCPP $CPPFLAGS'
21021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21025 cat >conftest.$ac_ext <<_ACEOF
21028 cat confdefs.h >>conftest.$ac_ext
21029 cat >>conftest.$ac_ext <<_ACEOF
21030 /* end confdefs.h. */
21040 rm -f conftest.$ac_objext
21041 if { (ac_try="$ac_compile"
21042 case "(($ac_try" in
21043 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21044 *) ac_try_echo
=$ac_try;;
21046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21047 (eval "$ac_compile") 2>conftest.er1
21049 grep -v '^ *+' conftest.er1
>conftest.err
21051 cat conftest.err
>&5
21052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21053 (exit $ac_status); } &&
21054 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21055 { (case "(($ac_try" in
21056 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21057 *) ac_try_echo=$ac_try;;
21059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21060 (eval "$ac_try") 2>&5
21062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21063 (exit $ac_status); }; } &&
21064 { ac_try='test -s conftest.$ac_objext'
21065 { (case "(($ac_try" in
21066 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21067 *) ac_try_echo
=$ac_try;;
21069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21070 (eval "$ac_try") 2>&5
21072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21073 (exit $ac_status); }; }; then
21074 ac_cv_func_isinf_in_cmath
=yes
21076 echo "$as_me: failed program was:" >&5
21077 sed 's/^/| /' conftest.
$ac_ext >&5
21079 ac_cv_func_isinf_in_cmath
=no
21082 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21084 ac_cpp
='$CPP $CPPFLAGS'
21085 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21086 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21087 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21090 { echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_cmath" >&5
21091 echo "${ECHO_T}$ac_cv_func_isinf_in_cmath" >&6; }
21093 if test "$ac_cv_func_isinf_in_cmath" = "yes" ; then
21095 cat >>confdefs.h
<<\_ACEOF
21096 #define HAVE_ISINF_IN_CMATH 1
21101 { echo "$as_me:$LINENO: checking for std::isinf in <cmath>" >&5
21102 echo $ECHO_N "checking for std::isinf in <cmath>... $ECHO_C" >&6; }
21103 if test "${ac_cv_func_std_isinf_in_cmath+set}" = set; then
21104 echo $ECHO_N "(cached) $ECHO_C" >&6
21107 ac_cpp
='$CXXCPP $CPPFLAGS'
21108 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21109 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21110 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21112 cat >conftest.
$ac_ext <<_ACEOF
21115 cat confdefs.h
>>conftest.
$ac_ext
21116 cat >>conftest.
$ac_ext <<_ACEOF
21117 /* end confdefs.h. */
21122 float f; std::isinf(f)}
21127 rm -f conftest.
$ac_objext
21128 if { (ac_try
="$ac_compile"
21129 case "(($ac_try" in
21130 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21131 *) ac_try_echo=$ac_try;;
21133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21134 (eval "$ac_compile") 2>conftest.er1
21136 grep -v '^ *+' conftest.er1 >conftest.err
21138 cat conftest.err >&5
21139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21140 (exit $ac_status); } &&
21141 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21142 { (case "(($ac_try" in
21143 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21144 *) ac_try_echo
=$ac_try;;
21146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21147 (eval "$ac_try") 2>&5
21149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21150 (exit $ac_status); }; } &&
21151 { ac_try
='test -s conftest.$ac_objext'
21152 { (case "(($ac_try" in
21153 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21154 *) ac_try_echo=$ac_try;;
21156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21157 (eval "$ac_try") 2>&5
21159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21160 (exit $ac_status); }; }; then
21161 ac_cv_func_std_isinf_in_cmath=yes
21163 echo "$as_me: failed program was:" >&5
21164 sed 's/^/| /' conftest.$ac_ext >&5
21166 ac_cv_func_std_isinf_in_cmath=no
21169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21171 ac_cpp='$CPP $CPPFLAGS'
21172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21177 { echo "$as_me:$LINENO: result: $ac_cv_func_std_isinf_in_cmath" >&5
21178 echo "${ECHO_T}$ac_cv_func_std_isinf_in_cmath" >&6; }
21180 if test "$ac_cv_func_std_isinf_in_cmath" = "yes" ; then
21182 cat >>confdefs.h <<\_ACEOF
21183 #define HAVE_STD_ISINF_IN_CMATH 1
21188 { echo "$as_me:$LINENO: checking for finite in <ieeefp.h>" >&5
21189 echo $ECHO_N "checking for finite in <ieeefp.h>... $ECHO_C" >&6; }
21190 if test "${ac_cv_func_finite_in_ieeefp_h+set}" = set; then
21191 echo $ECHO_N "(cached) $ECHO_C" >&6
21194 ac_cpp='$CXXCPP $CPPFLAGS'
21195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21199 cat >conftest.$ac_ext <<_ACEOF
21202 cat confdefs.h >>conftest.$ac_ext
21203 cat >>conftest.$ac_ext <<_ACEOF
21204 /* end confdefs.h. */
21205 #include <ieeefp.h>
21209 float f; finite(f);
21214 rm -f conftest.$ac_objext
21215 if { (ac_try="$ac_compile"
21216 case "(($ac_try" in
21217 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21218 *) ac_try_echo
=$ac_try;;
21220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21221 (eval "$ac_compile") 2>conftest.er1
21223 grep -v '^ *+' conftest.er1
>conftest.err
21225 cat conftest.err
>&5
21226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21227 (exit $ac_status); } &&
21228 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21229 { (case "(($ac_try" in
21230 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21231 *) ac_try_echo=$ac_try;;
21233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21234 (eval "$ac_try") 2>&5
21236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21237 (exit $ac_status); }; } &&
21238 { ac_try='test -s conftest.$ac_objext'
21239 { (case "(($ac_try" in
21240 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21241 *) ac_try_echo
=$ac_try;;
21243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21244 (eval "$ac_try") 2>&5
21246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21247 (exit $ac_status); }; }; then
21248 ac_cv_func_finite_in_ieeefp_h
=yes
21250 echo "$as_me: failed program was:" >&5
21251 sed 's/^/| /' conftest.
$ac_ext >&5
21253 ac_cv_func_finite_in_ieeefp_h
=no
21256 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21258 ac_cpp
='$CPP $CPPFLAGS'
21259 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21260 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21261 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21264 { echo "$as_me:$LINENO: result: $ac_cv_func_finite_in_ieeefp_h" >&5
21265 echo "${ECHO_T}$ac_cv_func_finite_in_ieeefp_h" >&6; }
21267 if test "$ac_cv_func_finite_in_ieeefp_h" = "yes" ; then
21269 cat >>confdefs.h
<<\_ACEOF
21270 #define HAVE_FINITE_IN_IEEEFP_H 1
21277 if test "$llvm_cv_platform_type" = "Unix" ; then
21280 for ac_header
in stdlib.h unistd.h
21282 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21283 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21284 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21285 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21286 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21287 echo $ECHO_N "(cached) $ECHO_C" >&6
21289 ac_res
=`eval echo '${'$as_ac_Header'}'`
21290 { echo "$as_me:$LINENO: result: $ac_res" >&5
21291 echo "${ECHO_T}$ac_res" >&6; }
21293 # Is the header compilable?
21294 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
21295 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21296 cat >conftest.
$ac_ext <<_ACEOF
21299 cat confdefs.h
>>conftest.
$ac_ext
21300 cat >>conftest.
$ac_ext <<_ACEOF
21301 /* end confdefs.h. */
21302 $ac_includes_default
21303 #include <$ac_header>
21305 rm -f conftest.
$ac_objext
21306 if { (ac_try
="$ac_compile"
21307 case "(($ac_try" in
21308 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21309 *) ac_try_echo=$ac_try;;
21311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21312 (eval "$ac_compile") 2>conftest.er1
21314 grep -v '^ *+' conftest.er1 >conftest.err
21316 cat conftest.err >&5
21317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21318 (exit $ac_status); } &&
21319 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21320 { (case "(($ac_try" in
21321 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21322 *) ac_try_echo
=$ac_try;;
21324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21325 (eval "$ac_try") 2>&5
21327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21328 (exit $ac_status); }; } &&
21329 { ac_try
='test -s conftest.$ac_objext'
21330 { (case "(($ac_try" in
21331 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21332 *) ac_try_echo=$ac_try;;
21334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21335 (eval "$ac_try") 2>&5
21337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21338 (exit $ac_status); }; }; then
21339 ac_header_compiler=yes
21341 echo "$as_me: failed program was:" >&5
21342 sed 's/^/| /' conftest.$ac_ext >&5
21344 ac_header_compiler=no
21347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21348 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21349 echo "${ECHO_T}$ac_header_compiler" >&6; }
21351 # Is the header present?
21352 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
21353 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21354 cat >conftest.$ac_ext <<_ACEOF
21357 cat confdefs.h >>conftest.$ac_ext
21358 cat >>conftest.$ac_ext <<_ACEOF
21359 /* end confdefs.h. */
21360 #include <$ac_header>
21362 if { (ac_try="$ac_cpp conftest.$ac_ext"
21363 case "(($ac_try" in
21364 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21365 *) ac_try_echo
=$ac_try;;
21367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21368 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21370 grep -v '^ *+' conftest.er1
>conftest.err
21372 cat conftest.err
>&5
21373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21374 (exit $ac_status); } >/dev
/null
; then
21375 if test -s conftest.err
; then
21376 ac_cpp_err
=$ac_c_preproc_warn_flag
21377 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21384 if test -z "$ac_cpp_err"; then
21385 ac_header_preproc
=yes
21387 echo "$as_me: failed program was:" >&5
21388 sed 's/^/| /' conftest.
$ac_ext >&5
21390 ac_header_preproc
=no
21393 rm -f conftest.err conftest.
$ac_ext
21394 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21395 echo "${ECHO_T}$ac_header_preproc" >&6; }
21397 # So? What about this header?
21398 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21400 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21401 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21402 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21403 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21404 ac_header_preproc
=yes
21407 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21408 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21409 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21410 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21411 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21412 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21413 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21414 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21415 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21416 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21417 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21418 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21420 ## ----------------------------------- ##
21421 ## Report this to llvmbugs@cs.uiuc.edu ##
21422 ## ----------------------------------- ##
21424 ) |
sed "s/^/$as_me: WARNING: /" >&2
21427 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21429 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21430 echo $ECHO_N "(cached) $ECHO_C" >&6
21432 eval "$as_ac_Header=\$ac_header_preproc"
21434 ac_res
=`eval echo '${'$as_ac_Header'}'`
21435 { echo "$as_me:$LINENO: result: $ac_res" >&5
21436 echo "${ECHO_T}$ac_res" >&6; }
21439 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21440 cat >>confdefs.h
<<_ACEOF
21441 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21449 for ac_func
in getpagesize
21451 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21452 { echo "$as_me:$LINENO: checking for $ac_func" >&5
21453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21454 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21455 echo $ECHO_N "(cached) $ECHO_C" >&6
21457 cat >conftest.
$ac_ext <<_ACEOF
21460 cat confdefs.h
>>conftest.
$ac_ext
21461 cat >>conftest.
$ac_ext <<_ACEOF
21462 /* end confdefs.h. */
21463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21465 #define $ac_func innocuous_$ac_func
21467 /* System header to define __stub macros and hopefully few prototypes,
21468 which can conflict with char $ac_func (); below.
21469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21470 <limits.h> exists even on freestanding compilers. */
21473 # include <limits.h>
21475 # include <assert.h>
21480 /* Override any GCC internal prototype to avoid an error.
21481 Use char because int might match the return type of a GCC
21482 builtin and then its argument prototype would still apply. */
21487 /* The GNU C library defines this for functions which it implements
21488 to always fail with ENOSYS. Some functions are actually named
21489 something starting with __ and the normal name is an alias. */
21490 #if defined __stub_$ac_func || defined __stub___$ac_func
21497 return $ac_func ();
21502 rm -f conftest.
$ac_objext conftest
$ac_exeext
21503 if { (ac_try
="$ac_link"
21504 case "(($ac_try" in
21505 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21506 *) ac_try_echo=$ac_try;;
21508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21509 (eval "$ac_link") 2>conftest.er1
21511 grep -v '^ *+' conftest.er1 >conftest.err
21513 cat conftest.err >&5
21514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21515 (exit $ac_status); } &&
21516 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21517 { (case "(($ac_try" in
21518 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21519 *) ac_try_echo
=$ac_try;;
21521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21522 (eval "$ac_try") 2>&5
21524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21525 (exit $ac_status); }; } &&
21526 { ac_try
='test -s conftest$ac_exeext'
21527 { (case "(($ac_try" in
21528 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21529 *) ac_try_echo=$ac_try;;
21531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21532 (eval "$ac_try") 2>&5
21534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21535 (exit $ac_status); }; }; then
21536 eval "$as_ac_var=yes"
21538 echo "$as_me: failed program was:" >&5
21539 sed 's/^/| /' conftest.$ac_ext >&5
21541 eval "$as_ac_var=no"
21544 rm -f core conftest.err conftest.$ac_objext \
21545 conftest$ac_exeext conftest.$ac_ext
21547 ac_res=`eval echo '${'$as_ac_var'}'`
21548 { echo "$as_me:$LINENO: result: $ac_res" >&5
21549 echo "${ECHO_T}$ac_res" >&6; }
21550 if test `eval echo '${'$as_ac_var'}'` = yes; then
21551 cat >>confdefs.h <<_ACEOF
21552 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
21558 { echo "$as_me:$LINENO: checking for working mmap" >&5
21559 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
21560 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
21561 echo $ECHO_N "(cached) $ECHO_C" >&6
21563 if test "$cross_compiling" = yes; then
21564 ac_cv_func_mmap_fixed_mapped=no
21566 cat >conftest.$ac_ext <<_ACEOF
21569 cat confdefs.h >>conftest.$ac_ext
21570 cat >>conftest.$ac_ext <<_ACEOF
21571 /* end confdefs.h. */
21572 $ac_includes_default
21573 /* malloc might have been renamed as rpl_malloc. */
21576 /* Thanks to Mike Haertel and Jim Avera for this test.
21577 Here is a matrix of mmap possibilities:
21578 mmap private not fixed
21579 mmap private fixed at somewhere currently unmapped
21580 mmap private fixed at somewhere already mapped
21581 mmap shared not fixed
21582 mmap shared fixed at somewhere currently unmapped
21583 mmap shared fixed at somewhere already mapped
21584 For private mappings, we should verify that changes cannot be read()
21585 back from the file, nor mmap's back from the file at a different
21586 address. (There have been systems where private was not correctly
21587 implemented like the infamous i386 svr4.0, and systems where the
21588 VM page cache was not coherent with the file system buffer cache
21589 like early versions of FreeBSD and possibly contemporary NetBSD.)
21590 For shared mappings, we should conversely verify that changes get
21591 propagated back to all the places they're supposed to be.
21593 Grep wants private fixed already mapped.
21594 The main things grep needs to know about mmap are:
21595 * does it exist and is it safe to write into the mmap'd area
21596 * how to use it (BSD variants) */
21599 #include <sys/mman.h>
21601 #if !STDC_HEADERS && !HAVE_STDLIB_H
21605 /* This mess was copied from the GNU getpagesize.h. */
21606 #if !HAVE_GETPAGESIZE
21607 /* Assume that all systems that can run configure have sys/param.h. */
21608 # if !HAVE_SYS_PARAM_H
21609 # define HAVE_SYS_PARAM_H 1
21612 # ifdef _SC_PAGESIZE
21613 # define getpagesize() sysconf(_SC_PAGESIZE)
21614 # else /* no _SC_PAGESIZE */
21615 # if HAVE_SYS_PARAM_H
21616 # include <sys/param.h>
21617 # ifdef EXEC_PAGESIZE
21618 # define getpagesize() EXEC_PAGESIZE
21619 # else /* no EXEC_PAGESIZE */
21621 # define getpagesize() NBPG * CLSIZE
21624 # endif /* no CLSIZE */
21625 # else /* no NBPG */
21627 # define getpagesize() NBPC
21628 # else /* no NBPC */
21630 # define getpagesize() PAGESIZE
21631 # endif /* PAGESIZE */
21632 # endif /* no NBPC */
21633 # endif /* no NBPG */
21634 # endif /* no EXEC_PAGESIZE */
21635 # else /* no HAVE_SYS_PARAM_H */
21636 # define getpagesize() 8192 /* punt totally */
21637 # endif /* no HAVE_SYS_PARAM_H */
21638 # endif /* no _SC_PAGESIZE */
21640 #endif /* no HAVE_GETPAGESIZE */
21645 char *data, *data2, *data3;
21649 pagesize = getpagesize ();
21651 /* First, make a file with some known garbage in it. */
21652 data = (char *) malloc (pagesize);
21655 for (i = 0; i < pagesize; ++i)
21656 *(data + i) = rand ();
21658 fd = creat ("conftest.mmap", 0600);
21661 if (write (fd, data, pagesize) != pagesize)
21665 /* Next, try to mmap the file at a fixed address which already has
21666 something else allocated at it. If we can, also make sure that
21667 we see the same garbage. */
21668 fd = open ("conftest.mmap", O_RDWR);
21671 data2 = (char *) malloc (2 * pagesize);
21674 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
21675 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
21676 MAP_PRIVATE | MAP_FIXED, fd, 0L))
21678 for (i = 0; i < pagesize; ++i)
21679 if (*(data + i) != *(data2 + i))
21682 /* Finally, make sure that changes to the mapped area do not
21683 percolate back to the file as seen by read(). (This is a bug on
21684 some variants of i386 svr4.0.) */
21685 for (i = 0; i < pagesize; ++i)
21686 *(data2 + i) = *(data2 + i) + 1;
21687 data3 = (char *) malloc (pagesize);
21690 if (read (fd, data3, pagesize) != pagesize)
21692 for (i = 0; i < pagesize; ++i)
21693 if (*(data + i) != *(data3 + i))
21699 rm -f conftest$ac_exeext
21700 if { (ac_try="$ac_link"
21701 case "(($ac_try" in
21702 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21703 *) ac_try_echo
=$ac_try;;
21705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21706 (eval "$ac_link") 2>&5
21708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21709 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21710 { (case "(($ac_try" in
21711 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21712 *) ac_try_echo=$ac_try;;
21714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21715 (eval "$ac_try") 2>&5
21717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21718 (exit $ac_status); }; }; then
21719 ac_cv_func_mmap_fixed_mapped=yes
21721 echo "$as_me: program exited with status $ac_status" >&5
21722 echo "$as_me: failed program was:" >&5
21723 sed 's/^/| /' conftest.$ac_ext >&5
21725 ( exit $ac_status )
21726 ac_cv_func_mmap_fixed_mapped=no
21728 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21733 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
21734 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
21735 if test $ac_cv_func_mmap_fixed_mapped = yes; then
21737 cat >>confdefs.h <<\_ACEOF
21738 #define HAVE_MMAP 1
21742 rm -f conftest.mmap
21744 { echo "$as_me:$LINENO: checking for mmap of files" >&5
21745 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6; }
21746 if test "${ac_cv_func_mmap_file+set}" = set; then
21747 echo $ECHO_N "(cached) $ECHO_C" >&6
21750 ac_cpp='$CPP $CPPFLAGS'
21751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21755 if test "$cross_compiling" = yes; then
21756 ac_cv_func_mmap_file=no
21758 cat >conftest.$ac_ext <<_ACEOF
21762 cat confdefs.h >>conftest.$ac_ext
21763 cat >>conftest.$ac_ext <<_ACEOF
21764 /* end confdefs.h. */
21766 #include <sys/types.h>
21767 #include <sys/mman.h>
21775 fd = creat ("foo",0777);
21776 fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0);
21778 return (fd != (int) MAP_FAILED);
21783 rm -f conftest$ac_exeext
21784 if { (ac_try="$ac_link"
21785 case "(($ac_try" in
21786 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21787 *) ac_try_echo
=$ac_try;;
21789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21790 (eval "$ac_link") 2>&5
21792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21793 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21794 { (case "(($ac_try" in
21795 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21796 *) ac_try_echo=$ac_try;;
21798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21799 (eval "$ac_try") 2>&5
21801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21802 (exit $ac_status); }; }; then
21803 ac_cv_func_mmap_file=yes
21805 echo "$as_me: program exited with status $ac_status" >&5
21806 echo "$as_me: failed program was:" >&5
21807 sed 's/^/| /' conftest.$ac_ext >&5
21809 ( exit $ac_status )
21810 ac_cv_func_mmap_file=no
21812 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21817 ac_cpp='$CPP $CPPFLAGS'
21818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21824 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
21825 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6; }
21826 if test "$ac_cv_func_mmap_file" = yes; then
21828 cat >>confdefs.h <<\_ACEOF
21829 #define HAVE_MMAP_FILE
21836 { echo "$as_me:$LINENO: checking if /dev/zero is needed for mmap" >&5
21837 echo $ECHO_N "checking if /dev/zero is needed for mmap... $ECHO_C" >&6; }
21838 if test "${ac_cv_need_dev_zero_for_mmap+set}" = set; then
21839 echo $ECHO_N "(cached) $ECHO_C" >&6
21841 if test "$llvm_cv_os_type" = "Interix" ; then
21842 ac_cv_need_dev_zero_for_mmap=yes
21844 ac_cv_need_dev_zero_for_mmap=no
21848 { echo "$as_me:$LINENO: result: $ac_cv_need_dev_zero_for_mmap" >&5
21849 echo "${ECHO_T}$ac_cv_need_dev_zero_for_mmap" >&6; }
21850 if test "$ac_cv_need_dev_zero_for_mmap" = yes; then
21852 cat >>confdefs.h <<\_ACEOF
21853 #define NEED_DEV_ZERO_FOR_MMAP 1
21858 if test "$ac_cv_func_mmap_fixed_mapped" = "no"
21860 { echo "$as_me:$LINENO: WARNING: mmap() of a fixed address required but not supported" >&5
21861 echo "$as_me: WARNING: mmap() of a fixed address required but not supported" >&2;}
21863 if test "$ac_cv_func_mmap_file" = "no"
21865 { echo "$as_me:$LINENO: WARNING: mmap() of files required but not found" >&5
21866 echo "$as_me: WARNING: mmap() of files required but not found" >&2;}
21870 { echo "$as_me:$LINENO: checking for GCC atomic builtins" >&5
21871 echo $ECHO_N "checking for GCC atomic builtins... $ECHO_C" >&6; }
21873 ac_cpp='$CXXCPP $CPPFLAGS'
21874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21878 cat >conftest.$ac_ext <<_ACEOF
21881 cat confdefs.h >>conftest.$ac_ext
21882 cat >>conftest.$ac_ext <<_ACEOF
21883 /* end confdefs.h. */
21885 volatile unsigned long val = 1;
21886 __sync_synchronize();
21887 __sync_val_compare_and_swap(&val, 1, 0);
21888 __sync_add_and_fetch(&val, 1);
21889 __sync_sub_and_fetch(&val, 1);
21894 rm -f conftest.$ac_objext conftest$ac_exeext
21895 if { (ac_try="$ac_link"
21896 case "(($ac_try" in
21897 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21898 *) ac_try_echo
=$ac_try;;
21900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21901 (eval "$ac_link") 2>conftest.er1
21903 grep -v '^ *+' conftest.er1
>conftest.err
21905 cat conftest.err
>&5
21906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21907 (exit $ac_status); } &&
21908 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21909 { (case "(($ac_try" in
21910 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21911 *) ac_try_echo=$ac_try;;
21913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21914 (eval "$ac_try") 2>&5
21916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21917 (exit $ac_status); }; } &&
21918 { ac_try='test -s conftest$ac_exeext'
21919 { (case "(($ac_try" in
21920 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21921 *) ac_try_echo
=$ac_try;;
21923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21924 (eval "$ac_try") 2>&5
21926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21927 (exit $ac_status); }; }; then
21929 ac_cpp
='$CPP $CPPFLAGS'
21930 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21931 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21932 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21934 { echo "$as_me:$LINENO: result: yes" >&5
21935 echo "${ECHO_T}yes" >&6; }
21937 cat >>confdefs.h
<<\_ACEOF
21938 #define LLVM_MULTITHREADED 1
21942 echo "$as_me: failed program was:" >&5
21943 sed 's/^/| /' conftest.
$ac_ext >&5
21945 { echo "$as_me:$LINENO: result: no" >&5
21946 echo "${ECHO_T}no" >&6; }
21948 cat >>confdefs.h
<<\_ACEOF
21949 #define LLVM_MULTITHREADED 0
21952 { echo "$as_me:$LINENO: WARNING: LLVM will be built thread-unsafe because atomic builtins are missing" >&5
21953 echo "$as_me: WARNING: LLVM will be built thread-unsafe because atomic builtins are missing" >&2;}
21956 rm -f core conftest.err conftest.
$ac_objext \
21957 conftest
$ac_exeext conftest.
$ac_ext
21960 if test "$llvm_cv_os_type" = "Linux" -a "$llvm_cv_target_arch" = "x86_64" ; then
21961 { echo "$as_me:$LINENO: checking for 32-bit userspace on 64-bit system" >&5
21962 echo $ECHO_N "checking for 32-bit userspace on 64-bit system... $ECHO_C" >&6; }
21963 if test "${llvm_cv_linux_mixed+set}" = set; then
21964 echo $ECHO_N "(cached) $ECHO_C" >&6
21967 ac_cpp
='$CPP $CPPFLAGS'
21968 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21969 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21970 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21972 cat >conftest.
$ac_ext <<_ACEOF
21975 cat confdefs.h
>>conftest.
$ac_ext
21976 cat >>conftest.
$ac_ext <<_ACEOF
21977 /* end confdefs.h. */
21979 error: Not x86-64 even if uname says so!
21990 rm -f conftest.
$ac_objext
21991 if { (ac_try
="$ac_compile"
21992 case "(($ac_try" in
21993 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21994 *) ac_try_echo=$ac_try;;
21996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21997 (eval "$ac_compile") 2>conftest.er1
21999 grep -v '^ *+' conftest.er1 >conftest.err
22001 cat conftest.err >&5
22002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22003 (exit $ac_status); } &&
22004 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22005 { (case "(($ac_try" in
22006 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22007 *) ac_try_echo
=$ac_try;;
22009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22010 (eval "$ac_try") 2>&5
22012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22013 (exit $ac_status); }; } &&
22014 { ac_try
='test -s conftest.$ac_objext'
22015 { (case "(($ac_try" in
22016 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22017 *) ac_try_echo=$ac_try;;
22019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22020 (eval "$ac_try") 2>&5
22022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22023 (exit $ac_status); }; }; then
22024 llvm_cv_linux_mixed=no
22026 echo "$as_me: failed program was:" >&5
22027 sed 's/^/| /' conftest.$ac_ext >&5
22029 llvm_cv_linux_mixed=yes
22032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22034 ac_cpp='$CPP $CPPFLAGS'
22035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22041 { echo "$as_me:$LINENO: result: $llvm_cv_linux_mixed" >&5
22042 echo "${ECHO_T}$llvm_cv_linux_mixed" >&6; }
22044 if test "$llvm_cv_linux_mixed" = "yes"; then
22045 llvm_cv_target_arch="x86"
22051 for ac_func in __dso_handle
22053 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
22054 { echo "$as_me:$LINENO: checking for $ac_func" >&5
22055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22056 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22057 echo $ECHO_N "(cached) $ECHO_C" >&6
22059 cat >conftest.$ac_ext <<_ACEOF
22062 cat confdefs.h >>conftest.$ac_ext
22063 cat >>conftest.$ac_ext <<_ACEOF
22064 /* end confdefs.h. */
22065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22067 #define $ac_func innocuous_$ac_func
22069 /* System header to define __stub macros and hopefully few prototypes,
22070 which can conflict with char $ac_func (); below.
22071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22072 <limits.h> exists even on freestanding compilers. */
22075 # include <limits.h>
22077 # include <assert.h>
22082 /* Override any GCC internal prototype to avoid an error.
22083 Use char because int might match the return type of a GCC
22084 builtin and then its argument prototype would still apply. */
22089 /* The GNU C library defines this for functions which it implements
22090 to always fail with ENOSYS. Some functions are actually named
22091 something starting with __ and the normal name is an alias. */
22092 #if defined __stub_$ac_func || defined __stub___$ac_func
22099 return $ac_func ();
22104 rm -f conftest.$ac_objext conftest$ac_exeext
22105 if { (ac_try="$ac_link"
22106 case "(($ac_try" in
22107 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22108 *) ac_try_echo
=$ac_try;;
22110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22111 (eval "$ac_link") 2>conftest.er1
22113 grep -v '^ *+' conftest.er1
>conftest.err
22115 cat conftest.err
>&5
22116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22117 (exit $ac_status); } &&
22118 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22119 { (case "(($ac_try" in
22120 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22121 *) ac_try_echo=$ac_try;;
22123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22124 (eval "$ac_try") 2>&5
22126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22127 (exit $ac_status); }; } &&
22128 { ac_try='test -s conftest$ac_exeext'
22129 { (case "(($ac_try" in
22130 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22131 *) ac_try_echo
=$ac_try;;
22133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22134 (eval "$ac_try") 2>&5
22136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22137 (exit $ac_status); }; }; then
22138 eval "$as_ac_var=yes"
22140 echo "$as_me: failed program was:" >&5
22141 sed 's/^/| /' conftest.
$ac_ext >&5
22143 eval "$as_ac_var=no"
22146 rm -f core conftest.err conftest.
$ac_objext \
22147 conftest
$ac_exeext conftest.
$ac_ext
22149 ac_res
=`eval echo '${'$as_ac_var'}'`
22150 { echo "$as_me:$LINENO: result: $ac_res" >&5
22151 echo "${ECHO_T}$ac_res" >&6; }
22152 if test `eval echo '${'$as_ac_var'}'` = yes; then
22153 cat >>confdefs.h
<<_ACEOF
22154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22161 { echo "$as_me:$LINENO: checking whether llvm-gcc is dragonegg" >&5
22162 echo $ECHO_N "checking whether llvm-gcc is dragonegg... $ECHO_C" >&6; }
22163 if test "${llvm_cv_llvmgcc_dragonegg+set}" = set; then
22164 echo $ECHO_N "(cached) $ECHO_C" >&6
22166 llvm_cv_llvmgcc_dragonegg
="no"
22167 if test -n "$LLVMGCC" ; then
22168 cp /dev
/null conftest.c
22169 $LLVMGCC -fplugin-arg-dragonegg-emit-ir -S -o - conftest.c
> /dev
/null
2>&1
22170 if test $?
-eq 0 ; then
22171 llvm_cv_llvmgcc_dragonegg
="yes"
22176 { echo "$as_me:$LINENO: result: $llvm_cv_llvmgcc_dragonegg" >&5
22177 echo "${ECHO_T}$llvm_cv_llvmgcc_dragonegg" >&6; }
22179 if test "$llvm_cv_llvmgcc_dragonegg" = "yes" ; then
22180 LLVMCC_EMITIR_FLAG
="-fplugin-arg-dragonegg-emit-ir"
22181 LLVMCC_DISABLEOPT_FLAGS
="-fplugin-arg-dragonegg-disable-llvm-optzns"
22183 LLVMCC_EMITIR_FLAG
="-emit-llvm"
22184 LLVMCC_DISABLEOPT_FLAGS
="-mllvm -disable-llvm-optzns"
22189 { echo "$as_me:$LINENO: checking whether llvm-gcc is sane" >&5
22190 echo $ECHO_N "checking whether llvm-gcc is sane... $ECHO_C" >&6; }
22191 if test "${llvm_cv_llvmgcc_sanity+set}" = set; then
22192 echo $ECHO_N "(cached) $ECHO_C" >&6
22194 llvm_cv_llvmgcc_sanity
="no"
22195 if test -n "$LLVMGCC" ; then
22196 cp /dev
/null conftest.c
22197 $LLVMGCC "$LLVMCC_EMITIR_FLAG" -S -o - conftest.c | \
22198 grep 'target datalayout =' > /dev
/null
2>&1
22199 if test $?
-eq 0 ; then
22200 llvm_cv_llvmgcc_sanity
="yes"
22205 { echo "$as_me:$LINENO: result: $llvm_cv_llvmgcc_sanity" >&5
22206 echo "${ECHO_T}$llvm_cv_llvmgcc_sanity" >&6; }
22208 if test "$llvm_cv_llvmgcc_sanity" = "yes" ; then
22209 { echo "$as_me:$LINENO: checking llvm-gcc component support" >&5
22210 echo $ECHO_N "checking llvm-gcc component support... $ECHO_C" >&6; }
22211 llvmcc1path
=`$LLVMGCC --print-prog-name=cc1`
22212 LLVMCC1
=$llvmcc1path
22214 llvmcc1pluspath
=`$LLVMGCC --print-prog-name=cc1plus`
22215 LLVMCC1PLUS
=$llvmcc1pluspath
22217 llvmgccdir
=`echo "$llvmcc1path" | sed 's,/libexec/.*,,'`
22218 LLVMGCCDIR
=$llvmgccdir
22220 llvmgcclangs
=`$LLVMGCC -v --help 2>&1 | grep '^Configured with:' | sed 's/^.*--enable-languages=\([^ ]*\).*/\1/'`
22221 LLVMGCC_LANGS
=$llvmgcclangs
22223 LLVMGCC_DRAGONEGG
=$llvm_cv_llvmgcc_dragonegg
22226 { echo "$as_me:$LINENO: result: ok" >&5
22227 echo "${ECHO_T}ok" >&6; }
22230 SHLIBEXT
=$libltdl_cv_shlibext
22233 SHLIBPATH_VAR
=$libltdl_cv_shlibpath_var
22236 # Translate the various configuration directories and other basic
22237 # information into substitutions that will end up in Makefile.config.in
22238 # that these configured values can be used by the makefiles
22239 if test "${prefix}" = "NONE" ; then
22240 prefix
="/usr/local"
22242 eval LLVM_PREFIX
="${prefix}";
22243 eval LLVM_BINDIR
="${prefix}/bin";
22244 eval LLVM_LIBDIR
="${prefix}/lib";
22245 eval LLVM_DATADIR
="${prefix}/share/llvm";
22246 eval LLVM_DOCSDIR
="${prefix}/share/doc/llvm";
22247 eval LLVM_ETCDIR
="${prefix}/etc/llvm";
22248 eval LLVM_INCLUDEDIR
="${prefix}/include";
22249 eval LLVM_INFODIR
="${prefix}/info";
22250 eval LLVM_MANDIR
="${prefix}/man";
22251 LLVM_CONFIGTIME
=`date`
22263 # Place the various directores into the config.h file as #defines so that we
22264 # can know about the installation paths within LLVM.
22266 cat >>confdefs.h
<<_ACEOF
22267 #define LLVM_PREFIX "$LLVM_PREFIX"
22271 cat >>confdefs.h
<<_ACEOF
22272 #define LLVM_BINDIR "$LLVM_BINDIR"
22276 cat >>confdefs.h
<<_ACEOF
22277 #define LLVM_LIBDIR "$LLVM_LIBDIR"
22281 cat >>confdefs.h
<<_ACEOF
22282 #define LLVM_DATADIR "$LLVM_DATADIR"
22286 cat >>confdefs.h
<<_ACEOF
22287 #define LLVM_DOCSDIR "$LLVM_DOCSDIR"
22291 cat >>confdefs.h
<<_ACEOF
22292 #define LLVM_ETCDIR "$LLVM_ETCDIR"
22296 cat >>confdefs.h
<<_ACEOF
22297 #define LLVM_INCLUDEDIR "$LLVM_INCLUDEDIR"
22301 cat >>confdefs.h
<<_ACEOF
22302 #define LLVM_INFODIR "$LLVM_INFODIR"
22306 cat >>confdefs.h
<<_ACEOF
22307 #define LLVM_MANDIR "$LLVM_MANDIR"
22311 cat >>confdefs.h
<<_ACEOF
22312 #define LLVM_CONFIGTIME "$LLVM_CONFIGTIME"
22316 cat >>confdefs.h
<<_ACEOF
22317 #define LLVM_HOSTTRIPLE "$host"
22321 # Determine which bindings to build.
22322 if test "$BINDINGS_TO_BUILD" = auto
; then
22323 BINDINGS_TO_BUILD
=""
22324 if test "x$OCAMLC" != x
-a "x$OCAMLDEP" != x
; then
22325 BINDINGS_TO_BUILD
="ocaml $BINDINGS_TO_BUILD"
22328 BINDINGS_TO_BUILD
=$BINDINGS_TO_BUILD
22331 # This isn't really configurey, but it avoids having to repeat the list in
22336 # Do any work necessary to ensure that bindings have what they need.
22337 binding_prereqs_failed
=0
22338 for a_binding
in $BINDINGS_TO_BUILD ; do
22339 case "$a_binding" in
22341 if test "x$OCAMLC" = x
; then
22342 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamlc not found. Try configure OCAMLC=/path/to/ocamlc" >&5
22343 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamlc not found. Try configure OCAMLC=/path/to/ocamlc" >&2;}
22344 binding_prereqs_failed
=1
22346 if test "x$OCAMLDEP" = x
; then
22347 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamldep not found. Try configure OCAMLDEP=/path/to/ocamldep" >&5
22348 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamldep not found. Try configure OCAMLDEP=/path/to/ocamldep" >&2;}
22349 binding_prereqs_failed
=1
22351 if test "x$OCAMLOPT" = x
; then
22352 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamlopt not found. Try configure OCAMLOPT=/path/to/ocamlopt" >&5
22353 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamlopt not found. Try configure OCAMLOPT=/path/to/ocamlopt" >&2;}
22355 if test "x$with_ocaml_libdir" != xauto
; then
22356 OCAML_LIBDIR
=$with_ocaml_libdir
22359 ocaml_stdlib
="`"$OCAMLC" -where`"
22360 if test "$LLVM_PREFIX" '<' "$ocaml_stdlib" -a "$ocaml_stdlib" '<' "$LLVM_PREFIX~"
22362 # ocaml stdlib is beneath our prefix; use stdlib
22363 OCAML_LIBDIR
=$ocaml_stdlib
22366 # ocaml stdlib is outside our prefix; use libdir/ocaml
22367 OCAML_LIBDIR
=$LLVM_LIBDIR/ocaml
22374 if test "$binding_prereqs_failed" = 1 ; then
22375 { { echo "$as_me:$LINENO: error: Prequisites for bindings not satisfied. Fix them or use configure --disable-bindings." >&5
22376 echo "$as_me: error: Prequisites for bindings not satisfied. Fix them or use configure --disable-bindings." >&2;}
22377 { (exit 1); exit 1; }; }
22380 { echo "$as_me:$LINENO: checking for compiler -fvisibility-inlines-hidden option" >&5
22381 echo $ECHO_N "checking for compiler -fvisibility-inlines-hidden option... $ECHO_C" >&6; }
22382 if test "${llvm_cv_cxx_visibility_inlines_hidden+set}" = set; then
22383 echo $ECHO_N "(cached) $ECHO_C" >&6
22386 ac_cpp
='$CXXCPP $CPPFLAGS'
22387 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22388 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22389 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22391 oldcxxflags
="$CXXFLAGS"
22392 CXXFLAGS
="$CXXFLAGS -fvisibility-inlines-hidden"
22393 cat >conftest.
$ac_ext <<_ACEOF
22396 cat confdefs.h
>>conftest.
$ac_ext
22397 cat >>conftest.
$ac_ext <<_ACEOF
22398 /* end confdefs.h. */
22408 rm -f conftest.
$ac_objext
22409 if { (ac_try
="$ac_compile"
22410 case "(($ac_try" in
22411 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22412 *) ac_try_echo=$ac_try;;
22414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22415 (eval "$ac_compile") 2>conftest.er1
22417 grep -v '^ *+' conftest.er1 >conftest.err
22419 cat conftest.err >&5
22420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421 (exit $ac_status); } &&
22422 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22423 { (case "(($ac_try" in
22424 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22425 *) ac_try_echo
=$ac_try;;
22427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22428 (eval "$ac_try") 2>&5
22430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22431 (exit $ac_status); }; } &&
22432 { ac_try
='test -s conftest.$ac_objext'
22433 { (case "(($ac_try" in
22434 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22435 *) ac_try_echo=$ac_try;;
22437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22438 (eval "$ac_try") 2>&5
22440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22441 (exit $ac_status); }; }; then
22442 llvm_cv_cxx_visibility_inlines_hidden=yes
22444 echo "$as_me: failed program was:" >&5
22445 sed 's/^/| /' conftest.$ac_ext >&5
22447 llvm_cv_cxx_visibility_inlines_hidden=no
22450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22451 CXXFLAGS="$oldcxxflags"
22453 ac_cpp='$CPP $CPPFLAGS'
22454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22460 { echo "$as_me:$LINENO: result: $llvm_cv_cxx_visibility_inlines_hidden" >&5
22461 echo "${ECHO_T}$llvm_cv_cxx_visibility_inlines_hidden" >&6; }
22462 if test "$llvm_cv_cxx_visibility_inlines_hidden" = yes ; then
22463 ENABLE_VISIBILITY_INLINES_HIDDEN=1
22466 ENABLE_VISIBILITY_INLINES_HIDDEN=0
22471 if test "$llvm_cv_link_use_r" = "yes" ; then
22478 if test "$llvm_cv_link_use_export_dynamic" = "yes" ; then
22479 RDYNAMIC="-Wl,-export-dynamic"
22486 ac_config_headers="$ac_config_headers include/llvm/Config/config.h include/llvm/Config/llvm-config.h"
22493 ac_config_files="$ac_config_files include/llvm/Config/Targets.def"
22495 ac_config_files="$ac_config_files include/llvm/Config/AsmPrinters.def"
22497 ac_config_files="$ac_config_files include/llvm/Config/AsmParsers.def"
22499 ac_config_files="$ac_config_files include/llvm/Config/Disassemblers.def"
22501 ac_config_headers="$ac_config_headers include/llvm/Support/DataTypes.h"
22504 ac_config_files="$ac_config_files Makefile.config"
22507 ac_config_files="$ac_config_files llvm.spec"
22510 ac_config_files="$ac_config_files tools/llvmc/src/Base.td"
22513 ac_config_files="$ac_config_files tools/llvm-config/llvm-config.in"
22516 ac_config_commands="$ac_config_commands setup"
22518 ac_config_commands="$ac_config_commands Makefile"
22521 ac_config_commands="$ac_config_commands Makefile.common"
22524 ac_config_commands="$ac_config_commands examples/Makefile"
22527 ac_config_commands="$ac_config_commands lib/Makefile"
22530 ac_config_commands="$ac_config_commands runtime/Makefile"
22533 ac_config_commands="$ac_config_commands test/Makefile"
22536 ac_config_commands="$ac_config_commands test/Makefile.tests"
22539 ac_config_commands="$ac_config_commands unittests/Makefile"
22542 ac_config_commands="$ac_config_commands tools/Makefile"
22545 ac_config_commands="$ac_config_commands utils/Makefile"
22548 ac_config_commands="$ac_config_commands projects/Makefile"
22551 ac_config_commands="$ac_config_commands bindings/Makefile"
22554 ac_config_commands="$ac_config_commands bindings/ocaml/Makefile.ocaml"
22558 cat >confcache <<\_ACEOF
22559 # This file is a shell script that caches the results of configure
22560 # tests run on this system so they can be shared between configure
22561 # scripts and configure runs, see configure's option --config-cache.
22562 # It is not useful on other systems. If it contains results you don't
22563 # want to keep, you may remove or edit it.
22565 # config.status only pays attention to the cache file if you give it
22566 # the --recheck option to rerun configure.
22568 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
22569 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22570 # following values.
22574 # The following way of writing the cache mishandles newlines in values,
22575 # but we know of no workaround that is simple, portable, and efficient.
22576 # So, we kill variables containing newlines.
22577 # Ultrix sh set writes to stderr and can't be redirected directly,
22578 # and sets the high bit in the cache file unless we assign to the vars.
22580 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22581 eval ac_val
=\$
$ac_var
22585 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22586 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22589 _ | IFS | as_nl
) ;; #(
22590 *) $as_unset $ac_var ;;
22596 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22597 *${as_nl}ac_space
=\
*)
22598 # `set' does not quote correctly, so add quotes (double-quote
22599 # substitution turns \\\\ into \\, and sed turns \\ into \).
22602 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22605 # `set' quotes correctly as required by POSIX, so do not add quotes.
22606 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22615 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22617 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22619 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22620 if test -w "$cache_file"; then
22621 test "x$cache_file" != "x/dev/null" &&
22622 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22623 echo "$as_me: updating cache $cache_file" >&6;}
22624 cat confcache
>$cache_file
22626 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22627 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22632 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22633 # Let make expand exec_prefix.
22634 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22636 DEFS
=-DHAVE_CONFIG_H
22640 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22641 # 1. Remove the extension, and $U if already installed.
22642 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22643 ac_i
=`echo "$ac_i" | sed "$ac_script"`
22644 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22645 # will be set to the directory where LIBOBJS objects are built.
22646 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22647 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22649 LIBOBJS
=$ac_libobjs
22651 LTLIBOBJS
=$ac_ltlibobjs
22654 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
22655 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
22656 Usually this means the macro was only invoked conditionally." >&5
22657 echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
22658 Usually this means the macro was only invoked conditionally." >&2;}
22659 { (exit 1); exit 1; }; }
22661 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
22662 { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
22663 Usually this means the macro was only invoked conditionally." >&5
22664 echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
22665 Usually this means the macro was only invoked conditionally." >&2;}
22666 { (exit 1); exit 1; }; }
22669 : ${CONFIG_STATUS=./config.status}
22670 ac_clean_files_save
=$ac_clean_files
22671 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22672 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22673 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22674 cat >$CONFIG_STATUS <<_ACEOF
22676 # Generated by $as_me.
22677 # Run this file to recreate the current configuration.
22678 # Compiler output produced by configure, useful for debugging
22679 # configure, is in config.log if it exists.
22682 ac_cs_recheck=false
22684 SHELL=\${CONFIG_SHELL-$SHELL}
22687 cat >>$CONFIG_STATUS <<\_ACEOF
22688 ## --------------------- ##
22689 ## M4sh Initialization. ##
22690 ## --------------------- ##
22692 # Be Bourne compatible
22693 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22696 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22697 # is contrary to our usage. Disable this feature.
22698 alias -g '${1+"$@"}'='"$@"'
22699 setopt NO_GLOB_SUBST
22701 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
22703 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
22704 DUALCASE
=1; export DUALCASE
# for MKS sh
22708 # Avoid depending upon Character Ranges.
22709 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22710 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22711 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22712 as_cr_digits
='0123456789'
22713 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22715 # The user is always right.
22716 if test "${PATH_SEPARATOR+set}" != set; then
22717 echo "#! /bin/sh" >conf$$.sh
22718 echo "exit 0" >>conf$$.sh
22720 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22728 # Support unset when possible.
22729 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22737 # We need space, tab and new line, in precisely that order. Quoting is
22738 # there to prevent editors from complaining about space-tab.
22739 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22740 # splitting by setting IFS to empty value.)
22745 # Find who we are. Look in the path if we contain no directory separator.
22747 *[\\/]* ) as_myself
=$0 ;;
22748 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22749 for as_dir
in $PATH
22752 test -z "$as_dir" && as_dir
=.
22753 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22759 # We did not find ourselves, most probably we were run as `sh COMMAND'
22760 # in which case we are not to be found in the path.
22761 if test "x$as_myself" = x
; then
22764 if test ! -f "$as_myself"; then
22765 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22766 { (exit 1); exit 1; }
22769 # Work around bugs in pre-3.0 UWIN ksh.
22770 for as_var
in ENV MAIL MAILPATH
22771 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22779 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22780 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22781 LC_TELEPHONE LC_TIME
22783 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22784 eval $as_var=C
; export $as_var
22786 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22790 # Required to use basename.
22791 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22792 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22798 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22799 as_basename
=basename
22805 # Name of the executable.
22806 as_me
=`$as_basename -- "$0" ||
22807 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22808 X"$0" : 'X\(//\)$' \| \
22809 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22811 sed '/^.*\/\([^/][^/]*\)\/*$/{
22830 as_lineno_1
=$LINENO
22831 as_lineno_2
=$LINENO
22832 test "x$as_lineno_1" != "x$as_lineno_2" &&
22833 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
22835 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22836 # uniformly replaced by the line number. The first 'sed' inserts a
22837 # line-number line after each line using $LINENO; the second 'sed'
22838 # does the real work. The second script uses 'N' to pair each
22839 # line-number line with the line containing $LINENO, and appends
22840 # trailing '-' during substitution so that $LINENO is not a special
22841 # case at line end.
22842 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22843 # scripts with optimization help from Paolo Bonzini. Blame Lee
22844 # E. McMahon (1931-1989) for sed's syntax. :-)
22856 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22859 ' >$as_me.lineno
&&
22860 chmod +x
"$as_me.lineno" ||
22861 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22862 { (exit 1); exit 1; }; }
22864 # Don't try to exec as it changes $[0], causing all sort of problems
22865 # (the dirname of $[0] is not the place where we might find the
22866 # original and so on. Autoconf is especially sensitive to this).
22867 .
"./$as_me.lineno"
22868 # Exit status is that of the last command.
22873 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22879 ECHO_C
= ECHO_N
= ECHO_T
=
22880 case `echo -n x` in
22882 case `echo 'x\c'` in
22883 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22890 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22891 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22897 rm -f conf$$ conf$$.exe conf$$.
file
22898 if test -d conf$$.dir
; then
22899 rm -f conf$$.dir
/conf$$.
file
22905 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22907 # ... but there are two gotchas:
22908 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22909 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22910 # In both cases, we have to default to `cp -p'.
22911 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22913 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22918 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22919 rmdir conf$$.dir
2>/dev
/null
22921 if mkdir
-p .
2>/dev
/null
; then
22924 test -d .
/-p && rmdir .
/-p
22928 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
22929 # systems may use methods other than mode bits to determine executability.
22930 cat >conf$$.
file <<_ASEOF
22934 chmod +x conf$$.
file
22935 if test -x conf$$.
file >/dev
/null
2>&1; then
22936 as_executable_p
="test -x"
22942 # Sed expression to map a string onto a valid CPP name.
22943 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22945 # Sed expression to map a string onto a valid variable name.
22946 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22951 # Save the log message, to keep $[0] and so on meaningful, and to
22952 # report actual input values of CONFIG_FILES etc. instead of their
22953 # values after options handling.
22955 This file was extended by llvm $as_me 3.0svn, which was
22956 generated by GNU Autoconf 2.60. Invocation command line was
22958 CONFIG_FILES = $CONFIG_FILES
22959 CONFIG_HEADERS = $CONFIG_HEADERS
22960 CONFIG_LINKS = $CONFIG_LINKS
22961 CONFIG_COMMANDS = $CONFIG_COMMANDS
22964 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22969 cat >>$CONFIG_STATUS <<_ACEOF
22970 # Files that config.status was made for.
22971 config_files="$ac_config_files"
22972 config_headers="$ac_config_headers"
22973 config_commands="$ac_config_commands"
22977 cat >>$CONFIG_STATUS <<\_ACEOF
22979 \`$as_me' instantiates files from templates according to the
22980 current configuration.
22982 Usage: $0 [OPTIONS] [FILE]...
22984 -h, --help print this help, then exit
22985 -V, --version print version number, then exit
22986 -q, --quiet do not print progress messages
22987 -d, --debug don't remove temporary files
22988 --recheck update $as_me by reconfiguring in the same conditions
22989 --file=FILE[:TEMPLATE]
22990 instantiate the configuration file FILE
22991 --header=FILE[:TEMPLATE]
22992 instantiate the configuration header FILE
22994 Configuration files:
22997 Configuration headers:
23000 Configuration commands:
23003 Report bugs to <bug-autoconf@gnu.org>."
23006 cat >>$CONFIG_STATUS <<_ACEOF
23008 llvm config.status 3.0svn
23009 configured by $0, generated by GNU Autoconf 2.60,
23010 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
23012 Copyright (C) 2006 Free Software Foundation, Inc.
23013 This config.status script is free software; the Free Software Foundation
23014 gives unlimited permission to copy, distribute and modify it."
23021 cat >>$CONFIG_STATUS <<\_ACEOF
23022 # If no file are specified by the user, then we need to provide default
23023 # value. By we need to know if files were specified by the user.
23029 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23030 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23041 # Handling of the options.
23042 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23044 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23045 echo "$ac_cs_version"; exit ;;
23046 --debug |
--debu |
--deb |
--de |
--d |
-d )
23048 --file |
--fil |
--fi |
--f )
23050 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
23051 ac_need_defaults
=false
;;
23052 --header |
--heade |
--head |
--hea )
23054 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
23055 ac_need_defaults
=false
;;
23057 # Conflict between --help and --header
23058 { echo "$as_me: error: ambiguous option: $1
23059 Try \`$0 --help' for more information." >&2
23060 { (exit 1); exit 1; }; };;
23061 --help |
--hel |
-h )
23062 echo "$ac_cs_usage"; exit ;;
23063 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23064 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23067 # This is an error.
23068 -*) { echo "$as_me: error: unrecognized option: $1
23069 Try \`$0 --help' for more information." >&2
23070 { (exit 1); exit 1; }; } ;;
23072 *) ac_config_targets
="$ac_config_targets $1"
23073 ac_need_defaults
=false
;;
23079 ac_configure_extra_args
=
23081 if $ac_cs_silent; then
23083 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23087 cat >>$CONFIG_STATUS <<_ACEOF
23088 if \$ac_cs_recheck; then
23089 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23090 CONFIG_SHELL=$SHELL
23091 export CONFIG_SHELL
23092 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23096 cat >>$CONFIG_STATUS <<\_ACEOF
23100 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23101 ## Running $as_me. ##
23107 cat >>$CONFIG_STATUS <<_ACEOF
23111 llvm_src="${srcdir}"
23115 cat >>$CONFIG_STATUS <<\_ACEOF
23117 # Handling of arguments.
23118 for ac_config_target
in $ac_config_targets
23120 case $ac_config_target in
23121 "include/llvm/Config/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/Config/config.h" ;;
23122 "include/llvm/Config/llvm-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/Config/llvm-config.h" ;;
23123 "include/llvm/Config/Targets.def") CONFIG_FILES
="$CONFIG_FILES include/llvm/Config/Targets.def" ;;
23124 "include/llvm/Config/AsmPrinters.def") CONFIG_FILES
="$CONFIG_FILES include/llvm/Config/AsmPrinters.def" ;;
23125 "include/llvm/Config/AsmParsers.def") CONFIG_FILES
="$CONFIG_FILES include/llvm/Config/AsmParsers.def" ;;
23126 "include/llvm/Config/Disassemblers.def") CONFIG_FILES
="$CONFIG_FILES include/llvm/Config/Disassemblers.def" ;;
23127 "include/llvm/Support/DataTypes.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/Support/DataTypes.h" ;;
23128 "Makefile.config") CONFIG_FILES
="$CONFIG_FILES Makefile.config" ;;
23129 "llvm.spec") CONFIG_FILES
="$CONFIG_FILES llvm.spec" ;;
23130 "tools/llvmc/src/Base.td") CONFIG_FILES
="$CONFIG_FILES tools/llvmc/src/Base.td" ;;
23131 "tools/llvm-config/llvm-config.in") CONFIG_FILES
="$CONFIG_FILES tools/llvm-config/llvm-config.in" ;;
23132 "setup") CONFIG_COMMANDS
="$CONFIG_COMMANDS setup" ;;
23133 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
23134 "Makefile.common") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile.common" ;;
23135 "examples/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS examples/Makefile" ;;
23136 "lib/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS lib/Makefile" ;;
23137 "runtime/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS runtime/Makefile" ;;
23138 "test/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS test/Makefile" ;;
23139 "test/Makefile.tests") CONFIG_COMMANDS
="$CONFIG_COMMANDS test/Makefile.tests" ;;
23140 "unittests/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS unittests/Makefile" ;;
23141 "tools/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/Makefile" ;;
23142 "utils/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS utils/Makefile" ;;
23143 "projects/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS projects/Makefile" ;;
23144 "bindings/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS bindings/Makefile" ;;
23145 "bindings/ocaml/Makefile.ocaml") CONFIG_COMMANDS
="$CONFIG_COMMANDS bindings/ocaml/Makefile.ocaml" ;;
23147 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23148 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23149 { (exit 1); exit 1; }; };;
23154 # If the user did not use the arguments to specify the items to instantiate,
23155 # then the envvar interface is used. Set only those that are not.
23156 # We use the long form for the default assignment because of an extremely
23157 # bizarre bug on SunOS 4.1.3.
23158 if $ac_need_defaults; then
23159 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23160 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23161 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23164 # Have a temporary directory for convenience. Make it in the build tree
23165 # simply because there is no reason against having it here, and in addition,
23166 # creating and moving files from /tmp can sometimes cause problems.
23167 # Hook for its removal unless debugging.
23168 # Note that there is a small window in which the directory will not be cleaned:
23169 # after its creation but before its name has been assigned to `$tmp'.
23173 trap 'exit_status=$?
23174 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23176 trap '{ (exit 1); exit 1; }' 1 2 13 15
23178 # Create a (secure) tmp directory for tmp files.
23181 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23182 test -n "$tmp" && test -d "$tmp"
23185 tmp
=.
/conf$$
-$RANDOM
23186 (umask 077 && mkdir
"$tmp")
23189 echo "$me: cannot create a temporary directory in ." >&2
23190 { (exit 1); exit 1; }
23194 # Set up the sed scripts for CONFIG_FILES section.
23197 # No need to generate the scripts if there are no CONFIG_FILES.
23198 # This happens for instance when ./config.status config.h
23199 if test -n "$CONFIG_FILES"; then
23206 for ac_last_try
in false false false false false
:; do
23207 cat >conf$
$subs.
sed <<_ACEOF
23208 SHELL!$SHELL$ac_delim
23209 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23210 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23211 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23212 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23213 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23214 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23215 exec_prefix!$exec_prefix$ac_delim
23216 prefix!$prefix$ac_delim
23217 program_transform_name!$program_transform_name$ac_delim
23218 bindir!$bindir$ac_delim
23219 sbindir!$sbindir$ac_delim
23220 libexecdir!$libexecdir$ac_delim
23221 datarootdir!$datarootdir$ac_delim
23222 datadir!$datadir$ac_delim
23223 sysconfdir!$sysconfdir$ac_delim
23224 sharedstatedir!$sharedstatedir$ac_delim
23225 localstatedir!$localstatedir$ac_delim
23226 includedir!$includedir$ac_delim
23227 oldincludedir!$oldincludedir$ac_delim
23228 docdir!$docdir$ac_delim
23229 infodir!$infodir$ac_delim
23230 htmldir!$htmldir$ac_delim
23231 dvidir!$dvidir$ac_delim
23232 pdfdir!$pdfdir$ac_delim
23233 psdir!$psdir$ac_delim
23234 libdir!$libdir$ac_delim
23235 localedir!$localedir$ac_delim
23236 mandir!$mandir$ac_delim
23237 DEFS!$DEFS$ac_delim
23238 ECHO_C!$ECHO_C$ac_delim
23239 ECHO_N!$ECHO_N$ac_delim
23240 ECHO_T!$ECHO_T$ac_delim
23241 LIBS!$LIBS$ac_delim
23242 build_alias!$build_alias$ac_delim
23243 host_alias!$host_alias$ac_delim
23244 target_alias!$target_alias$ac_delim
23245 LLVM_COPYRIGHT!$LLVM_COPYRIGHT$ac_delim
23246 subdirs!$subdirs$ac_delim
23247 ENABLE_POLLY!$ENABLE_POLLY$ac_delim
23248 LLVM_HAS_POLLY!$LLVM_HAS_POLLY$ac_delim
23249 build!$build$ac_delim
23250 build_cpu!$build_cpu$ac_delim
23251 build_vendor!$build_vendor$ac_delim
23252 build_os!$build_os$ac_delim
23253 host!$host$ac_delim
23254 host_cpu!$host_cpu$ac_delim
23255 host_vendor!$host_vendor$ac_delim
23256 host_os!$host_os$ac_delim
23257 target!$target$ac_delim
23258 target_cpu!$target_cpu$ac_delim
23259 target_vendor!$target_vendor$ac_delim
23260 target_os!$target_os$ac_delim
23262 HOST_OS!$HOST_OS$ac_delim
23263 TARGET_OS!$TARGET_OS$ac_delim
23264 LINKALL!$LINKALL$ac_delim
23265 NOLINKALL!$NOLINKALL$ac_delim
23266 LLVM_ON_UNIX!$LLVM_ON_UNIX$ac_delim
23267 LLVM_ON_WIN32!$LLVM_ON_WIN32$ac_delim
23268 ARCH!$ARCH$ac_delim
23269 ENDIAN!$ENDIAN$ac_delim
23271 CFLAGS!$CFLAGS$ac_delim
23272 LDFLAGS!$LDFLAGS$ac_delim
23273 CPPFLAGS!$CPPFLAGS$ac_delim
23274 ac_ct_CC!$ac_ct_CC$ac_delim
23275 EXEEXT!$EXEEXT$ac_delim
23276 OBJEXT!$OBJEXT$ac_delim
23278 GREP!$GREP$ac_delim
23279 EGREP!$EGREP$ac_delim
23280 LLVM_CROSS_COMPILING!$LLVM_CROSS_COMPILING$ac_delim
23281 BUILD_CC!$BUILD_CC$ac_delim
23282 BUILD_EXEEXT!$BUILD_EXEEXT$ac_delim
23283 BUILD_CXX!$BUILD_CXX$ac_delim
23284 CVSBUILD!$CVSBUILD$ac_delim
23285 ENABLE_OPTIMIZED!$ENABLE_OPTIMIZED$ac_delim
23286 ENABLE_PROFILING!$ENABLE_PROFILING$ac_delim
23287 DISABLE_ASSERTIONS!$DISABLE_ASSERTIONS$ac_delim
23288 ENABLE_EXPENSIVE_CHECKS!$ENABLE_EXPENSIVE_CHECKS$ac_delim
23289 EXPENSIVE_CHECKS!$EXPENSIVE_CHECKS$ac_delim
23290 DEBUG_RUNTIME!$DEBUG_RUNTIME$ac_delim
23291 DEBUG_SYMBOLS!$DEBUG_SYMBOLS$ac_delim
23293 TARGET_HAS_JIT!$TARGET_HAS_JIT$ac_delim
23294 ENABLE_DOCS!$ENABLE_DOCS$ac_delim
23295 ENABLE_DOXYGEN!$ENABLE_DOXYGEN$ac_delim
23296 ENABLE_THREADS!$ENABLE_THREADS$ac_delim
23297 ENABLE_PTHREADS!$ENABLE_PTHREADS$ac_delim
23298 ENABLE_PIC!$ENABLE_PIC$ac_delim
23299 ENABLE_SHARED!$ENABLE_SHARED$ac_delim
23300 ENABLE_EMBED_STDCXX!$ENABLE_EMBED_STDCXX$ac_delim
23301 ENABLE_TIMESTAMPS!$ENABLE_TIMESTAMPS$ac_delim
23302 TARGETS_TO_BUILD!$TARGETS_TO_BUILD$ac_delim
23303 LLVM_ENUM_TARGETS!$LLVM_ENUM_TARGETS$ac_delim
23304 LLVM_ENUM_ASM_PRINTERS!$LLVM_ENUM_ASM_PRINTERS$ac_delim
23307 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
23309 elif $ac_last_try; then
23310 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23311 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23312 { (exit 1); exit 1; }; }
23314 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23318 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23319 if test -n "$ac_eof"; then
23320 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23321 ac_eof
=`expr $ac_eof + 1`
23324 cat >>$CONFIG_STATUS <<_ACEOF
23325 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23326 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23329 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23330 s/^/s,@/; s/!/@,|#_!!_#|/
23333 s/'"$ac_delim"'$/,g/; t
23335 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23336 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23337 rm -f conf$
$subs.
sed
23338 cat >>$CONFIG_STATUS <<_ACEOF
23344 for ac_last_try
in false false false false false
:; do
23345 cat >conf$
$subs.
sed <<_ACEOF
23346 LLVM_ENUM_ASM_PARSERS!$LLVM_ENUM_ASM_PARSERS$ac_delim
23347 LLVM_ENUM_DISASSEMBLERS!$LLVM_ENUM_DISASSEMBLERS$ac_delim
23348 ENABLE_CBE_PRINTF_A!$ENABLE_CBE_PRINTF_A$ac_delim
23349 CLANGPATH!$CLANGPATH$ac_delim
23350 CLANGXXPATH!$CLANGXXPATH$ac_delim
23351 ENABLE_BUILT_CLANG!$ENABLE_BUILT_CLANG$ac_delim
23352 OPTIMIZE_OPTION!$OPTIMIZE_OPTION$ac_delim
23353 EXTRA_OPTIONS!$EXTRA_OPTIONS$ac_delim
23354 BINUTILS_INCDIR!$BINUTILS_INCDIR$ac_delim
23356 CXXFLAGS!$CXXFLAGS$ac_delim
23357 ac_ct_CXX!$ac_ct_CXX$ac_delim
23359 ifGNUmake!$ifGNUmake$ac_delim
23360 LN_S!$LN_S$ac_delim
23363 DATE!$DATE$ac_delim
23364 FIND!$FIND$ac_delim
23365 MKDIR!$MKDIR$ac_delim
23367 RANLIB!$RANLIB$ac_delim
23372 BINPWD!$BINPWD$ac_delim
23373 GRAPHVIZ!$GRAPHVIZ$ac_delim
23376 NEATO!$NEATO$ac_delim
23377 TWOPI!$TWOPI$ac_delim
23378 CIRCO!$CIRCO$ac_delim
23380 DOTTY!$DOTTY$ac_delim
23381 XDOT_PY!$XDOT_PY$ac_delim
23382 PERL!$PERL$ac_delim
23383 HAVE_PERL!$HAVE_PERL$ac_delim
23384 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23385 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23386 INSTALL_DATA!$INSTALL_DATA$ac_delim
23387 BZIP2!$BZIP2$ac_delim
23389 DOXYGEN!$DOXYGEN$ac_delim
23390 GROFF!$GROFF$ac_delim
23391 GZIPBIN!$GZIPBIN$ac_delim
23392 POD2HTML!$POD2HTML$ac_delim
23393 POD2MAN!$POD2MAN$ac_delim
23394 PDFROFF!$PDFROFF$ac_delim
23395 RUNTEST!$RUNTEST$ac_delim
23396 TCLSH!$TCLSH$ac_delim
23398 OCAMLC!$OCAMLC$ac_delim
23399 OCAMLOPT!$OCAMLOPT$ac_delim
23400 OCAMLDEP!$OCAMLDEP$ac_delim
23401 OCAMLDOC!$OCAMLDOC$ac_delim
23403 HAVE_LINK_VERSION_SCRIPT!$HAVE_LINK_VERSION_SCRIPT$ac_delim
23404 INSTALL_LTDL_TRUE!$INSTALL_LTDL_TRUE$ac_delim
23405 INSTALL_LTDL_FALSE!$INSTALL_LTDL_FALSE$ac_delim
23406 CONVENIENCE_LTDL_TRUE!$CONVENIENCE_LTDL_TRUE$ac_delim
23407 CONVENIENCE_LTDL_FALSE!$CONVENIENCE_LTDL_FALSE$ac_delim
23408 LIBADD_DL!$LIBADD_DL$ac_delim
23409 LLVMGCCCOMMAND!$LLVMGCCCOMMAND$ac_delim
23410 LLVMGXXCOMMAND!$LLVMGXXCOMMAND$ac_delim
23411 LLVMGCC!$LLVMGCC$ac_delim
23412 LLVMGXX!$LLVMGXX$ac_delim
23413 LLVMCC_OPTION!$LLVMCC_OPTION$ac_delim
23414 NO_VARIADIC_MACROS!$NO_VARIADIC_MACROS$ac_delim
23415 NO_MISSING_FIELD_INITIALIZERS!$NO_MISSING_FIELD_INITIALIZERS$ac_delim
23416 USE_UDIS86!$USE_UDIS86$ac_delim
23417 USE_OPROFILE!$USE_OPROFILE$ac_delim
23418 HAVE_PTHREAD!$HAVE_PTHREAD$ac_delim
23419 HUGE_VAL_SANITY!$HUGE_VAL_SANITY$ac_delim
23420 MMAP_FILE!$MMAP_FILE$ac_delim
23421 LLVMCC_EMITIR_FLAG!$LLVMCC_EMITIR_FLAG$ac_delim
23422 LLVMCC1!$LLVMCC1$ac_delim
23423 LLVMCC1PLUS!$LLVMCC1PLUS$ac_delim
23424 LLVMGCCDIR!$LLVMGCCDIR$ac_delim
23425 LLVMGCC_LANGS!$LLVMGCC_LANGS$ac_delim
23426 LLVMGCC_DRAGONEGG!$LLVMGCC_DRAGONEGG$ac_delim
23427 LLVMCC_DISABLEOPT_FLAGS!$LLVMCC_DISABLEOPT_FLAGS$ac_delim
23428 SHLIBEXT!$SHLIBEXT$ac_delim
23429 SHLIBPATH_VAR!$SHLIBPATH_VAR$ac_delim
23430 LLVM_PREFIX!$LLVM_PREFIX$ac_delim
23431 LLVM_BINDIR!$LLVM_BINDIR$ac_delim
23432 LLVM_LIBDIR!$LLVM_LIBDIR$ac_delim
23433 LLVM_DATADIR!$LLVM_DATADIR$ac_delim
23434 LLVM_DOCSDIR!$LLVM_DOCSDIR$ac_delim
23435 LLVM_ETCDIR!$LLVM_ETCDIR$ac_delim
23436 LLVM_INCLUDEDIR!$LLVM_INCLUDEDIR$ac_delim
23437 LLVM_INFODIR!$LLVM_INFODIR$ac_delim
23438 LLVM_MANDIR!$LLVM_MANDIR$ac_delim
23439 LLVM_CONFIGTIME!$LLVM_CONFIGTIME$ac_delim
23440 BINDINGS_TO_BUILD!$BINDINGS_TO_BUILD$ac_delim
23441 ALL_BINDINGS!$ALL_BINDINGS$ac_delim
23442 OCAML_LIBDIR!$OCAML_LIBDIR$ac_delim
23445 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
23447 elif $ac_last_try; then
23448 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23449 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23450 { (exit 1); exit 1; }; }
23452 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23456 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23457 if test -n "$ac_eof"; then
23458 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23459 ac_eof
=`expr $ac_eof + 1`
23462 cat >>$CONFIG_STATUS <<_ACEOF
23463 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23464 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23467 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23468 s/^/s,@/; s/!/@,|#_!!_#|/
23471 s/'"$ac_delim"'$/,g/; t
23473 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23474 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23475 rm -f conf$
$subs.
sed
23476 cat >>$CONFIG_STATUS <<_ACEOF
23482 for ac_last_try
in false false false false false
:; do
23483 cat >conf$
$subs.
sed <<_ACEOF
23484 ENABLE_VISIBILITY_INLINES_HIDDEN!$ENABLE_VISIBILITY_INLINES_HIDDEN$ac_delim
23485 RPATH!$RPATH$ac_delim
23486 RDYNAMIC!$RDYNAMIC$ac_delim
23487 LIBOBJS!$LIBOBJS$ac_delim
23488 LTLIBOBJS!$LTLIBOBJS$ac_delim
23491 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 5; then
23493 elif $ac_last_try; then
23494 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23495 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23496 { (exit 1); exit 1; }; }
23498 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23502 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23503 if test -n "$ac_eof"; then
23504 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23505 ac_eof
=`expr $ac_eof + 1`
23508 cat >>$CONFIG_STATUS <<_ACEOF
23509 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
23510 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23513 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23514 s/^/s,@/; s/!/@,|#_!!_#|/
23517 s/'"$ac_delim"'$/,g/; t
23519 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23520 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23521 rm -f conf$
$subs.
sed
23522 cat >>$CONFIG_STATUS <<_ACEOF
23529 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23530 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23531 # trailing colons and then remove the whole line if VPATH becomes empty
23532 # (actually we leave an empty line to preserve line numbers).
23533 if test "x$srcdir" = x.
; then
23534 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
23535 s/:*\$(srcdir):*/:/
23536 s/:*\${srcdir}:*/:/
23538 s/^\([^=]*=[ ]*\):*/\1/
23544 cat >>$CONFIG_STATUS <<\_ACEOF
23545 fi # test -n "$CONFIG_FILES"
23548 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
23551 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23553 case $ac_mode$ac_tag in
23555 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23556 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23557 { (exit 1); exit 1; }; };;
23558 :[FH
]-) ac_tag
=-:-;;
23559 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23576 -) ac_f
="$tmp/stdin";;
23577 *) # Look for the file first in the build tree, then in the source tree
23578 # (if the path is not absolute). The absolute path cannot be DOS-style,
23579 # because $ac_f cannot contain `:'.
23583 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23585 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23586 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23587 { (exit 1); exit 1; }; };;
23589 ac_file_inputs
="$ac_file_inputs $ac_f"
23592 # Let's still pretend it is `configure' which instantiates (i.e., don't
23593 # use $as_me), people would be surprised to read:
23594 # /* config.h. Generated by config.status. */
23595 configure_input
="Generated from "`IFS=:
23596 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23597 if test x
"$ac_file" != x-
; then
23598 configure_input
="$ac_file. $configure_input"
23599 { echo "$as_me:$LINENO: creating $ac_file" >&5
23600 echo "$as_me: creating $ac_file" >&6;}
23604 *:-:* |
*:-) cat >"$tmp/stdin";;
23609 ac_dir
=`$as_dirname -- "$ac_file" ||
23610 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23611 X"$ac_file" : 'X\(//\)[^/]' \| \
23612 X"$ac_file" : 'X\(//\)$' \| \
23613 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23615 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23619 /^X\(\/\/\)[^/].*/{
23634 -*) as_dir
=.
/$as_dir;;
23636 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
23640 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23641 *) as_qdir
=$as_dir;;
23643 as_dirs
="'$as_qdir' $as_dirs"
23644 as_dir
=`$as_dirname -- "$as_dir" ||
23645 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23646 X"$as_dir" : 'X\(//\)[^/]' \| \
23647 X"$as_dir" : 'X\(//\)$' \| \
23648 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23650 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23654 /^X\(\/\/\)[^/].*/{
23667 test -d "$as_dir" && break
23669 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23670 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23671 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23672 { (exit 1); exit 1; }; }; }
23676 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23678 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23679 # A ".." for each directory in $ac_dir_suffix.
23680 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23681 case $ac_top_builddir_sub in
23682 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23683 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23686 ac_abs_top_builddir
=$ac_pwd
23687 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23688 # for backward compatibility:
23689 ac_top_builddir
=$ac_top_build_prefix
23692 .
) # We are building in place.
23694 ac_top_srcdir
=$ac_top_builddir_sub
23695 ac_abs_top_srcdir
=$ac_pwd ;;
23696 [\\/]* | ?
:[\\/]* ) # Absolute name.
23697 ac_srcdir
=$srcdir$ac_dir_suffix;
23698 ac_top_srcdir
=$srcdir
23699 ac_abs_top_srcdir
=$srcdir ;;
23700 *) # Relative name.
23701 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23702 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23703 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23705 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23715 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23716 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
23720 cat >>$CONFIG_STATUS <<\_ACEOF
23721 # If the template does not know about datarootdir, expand it.
23722 # FIXME: This hack should be removed a few years after 2.60.
23723 ac_datarootdir_hack
=; ac_datarootdir_seen
=
23725 case `sed -n '/datarootdir/ {
23734 ' $ac_file_inputs` in
23735 *datarootdir
*) ac_datarootdir_seen
=yes;;
23736 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
23737 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23738 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23740 cat >>$CONFIG_STATUS <<_ACEOF
23741 ac_datarootdir_hack='
23742 s&@datadir@&$datadir&g
23743 s&@docdir@&$docdir&g
23744 s&@infodir@&$infodir&g
23745 s&@localedir@&$localedir&g
23746 s&@mandir@&$mandir&g
23747 s&\\\${datarootdir}&$datarootdir&g' ;;
23751 # Neutralize VPATH when `$srcdir' = `.'.
23752 # Shell code in configure.ac might set extrasub.
23753 # FIXME: do we really want to maintain this feature?
23754 cat >>$CONFIG_STATUS <<_ACEOF
23758 cat >>$CONFIG_STATUS <<\_ACEOF
23760 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23761 s
&@configure_input@
&$configure_input&;t t
23762 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23763 s
&@srcdir@
&$ac_srcdir&;t t
23764 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23765 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23766 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23767 s
&@builddir@
&$ac_builddir&;t t
23768 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23769 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23770 s
&@INSTALL@
&$ac_INSTALL&;t t
23771 $ac_datarootdir_hack
23772 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" | sed -f "$tmp/subs-3.
sed" >$tmp/out
23774 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23775 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
23776 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
23777 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23778 which seems to be undefined. Please make sure it is defined." >&5
23779 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23780 which seems to be undefined. Please make sure it is defined." >&2;}
23784 -) cat "$tmp/out"; rm -f "$tmp/out";;
23785 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23794 # Transform confdefs.h into a sed script `conftest.defines', that
23795 # substitutes the proper values into config.h.in to produce config.h.
23796 rm -f conftest.defines conftest.
tail
23797 # First, append a space to every undef/define line, to ease matching.
23798 echo 's/$/ /' >conftest.defines
23799 # Then, protect against being on the right side of a sed subst, or in
23800 # an unquoted here document, in config.status. If some macros were
23801 # called several times there might be several #defines for the same
23802 # symbol, which is useless. But do not sort them, since the last
23803 # AC_DEFINE must be honored.
23804 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23805 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23806 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23807 # PARAMS is the parameter list in the macro definition--in most cases, it's
23808 # just an empty string.
23809 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23810 ac_dB
='\\)[ (].*,\\1define\\2'
23818 s/^[ ]*#[ ]*define[ ][ ]*//
23823 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23824 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23825 ' >>conftest.defines
23827 # Remove the space that was appended to ease matching.
23828 # Then replace #undef with comments. This is necessary, for
23829 # example, in the case of _POSIX_SOURCE, which is predefined and required
23830 # on some systems where configure will not decide to define it.
23831 # (The regexp can be short, since the line contains either #define or #undef.)
23833 s,^[ #]*u.*,/* & */,' >>conftest.defines
23835 # Break up conftest.defines:
23836 ac_max_sed_lines
=50
23838 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23839 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23840 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23842 ac_in
='$ac_file_inputs'
23843 ac_out
='"$tmp/out1"'
23844 ac_nxt
='"$tmp/out2"'
23848 # Write a here document:
23849 cat >>$CONFIG_STATUS <<_ACEOF
23850 # First, check the format of the line:
23851 cat >"\$tmp/defines.sed" <<\\CEOF
23852 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23853 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23857 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
23859 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23860 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
23861 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
23862 grep . conftest.
tail >/dev
/null ||
break
23863 rm -f conftest.defines
23864 mv conftest.
tail conftest.defines
23866 rm -f conftest.defines conftest.
tail
23868 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23869 cat >>$CONFIG_STATUS <<\_ACEOF
23870 if test x
"$ac_file" != x-
; then
23871 echo "/* $configure_input */" >"$tmp/config.h"
23872 cat "$ac_result" >>"$tmp/config.h"
23873 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
23874 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23875 echo "$as_me: $ac_file is unchanged" >&6;}
23878 mv "$tmp/config.h" $ac_file
23881 echo "/* $configure_input */"
23887 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23888 echo "$as_me: executing $ac_file commands" >&6;}
23893 case $ac_file$ac_mode in
23894 "Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname Makefile`
23895 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/Makefile Makefile
;;
23896 "Makefile.common":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname Makefile.common`
23897 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/Makefile.common Makefile.common
;;
23898 "examples/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname examples/Makefile`
23899 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/examples
/Makefile examples
/Makefile
;;
23900 "lib/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname lib/Makefile`
23901 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/lib
/Makefile lib
/Makefile
;;
23902 "runtime/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname runtime/Makefile`
23903 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/runtime
/Makefile runtime
/Makefile
;;
23904 "test/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname test/Makefile`
23905 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/test
/Makefile test
/Makefile
;;
23906 "test/Makefile.tests":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname test/Makefile.tests`
23907 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/test
/Makefile.tests test
/Makefile.tests
;;
23908 "unittests/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname unittests/Makefile`
23909 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/unittests
/Makefile unittests
/Makefile
;;
23910 "tools/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname tools/Makefile`
23911 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/tools
/Makefile tools
/Makefile
;;
23912 "utils/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname utils/Makefile`
23913 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/utils
/Makefile utils
/Makefile
;;
23914 "projects/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname projects/Makefile`
23915 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/projects
/Makefile projects
/Makefile
;;
23916 "bindings/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname bindings/Makefile`
23917 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/bindings
/Makefile bindings
/Makefile
;;
23918 "bindings/ocaml/Makefile.ocaml":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname bindings/ocaml/Makefile.ocaml`
23919 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/bindings
/ocaml
/Makefile.ocaml bindings
/ocaml
/Makefile.ocaml
;;
23925 { (exit 0); exit 0; }
23927 chmod +x
$CONFIG_STATUS
23928 ac_clean_files
=$ac_clean_files_save
23931 # configure is writing to config.log, and then calls config.status.
23932 # config.status does its own redirection, appending to config.log.
23933 # Unfortunately, on DOS this fails, as config.log is still kept open
23934 # by configure, so config.status won't be able to write to it; its
23935 # output is simply discarded. So we exec the FD to /dev/null,
23936 # effectively closing config.log, so it can be properly (re)opened and
23937 # appended to by config.status. When coming back to configure, we
23938 # need to make the FD available again.
23939 if test "$no_create" != yes; then
23941 ac_config_status_args
=
23942 test "$silent" = yes &&
23943 ac_config_status_args
="$ac_config_status_args --quiet"
23945 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23947 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23948 # would make configure fail if this is the last instruction.
23949 $ac_cs_success ||
{ (exit 1); exit 1; }
23953 # CONFIG_SUBDIRS section.
23955 if test "$no_recursion" != yes; then
23957 # Remove --cache-file and --srcdir arguments so they do not pile up.
23958 ac_sub_configure_args
=
23960 eval "set x $ac_configure_args"
23964 if test -n "$ac_prev"; then
23969 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
23970 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
23971 ac_prev
=cache_file
;;
23972 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
23973 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
23976 --config-cache |
-C)
23978 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
23980 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
23982 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
23984 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
23988 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
23990 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
23994 # Always prepend --prefix to ensure using the same prefix
23995 # in subdir configurations.
23996 ac_arg
="--prefix=$prefix"
23998 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
24000 ac_sub_configure_args
="$ac_arg $ac_sub_configure_args"
24003 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
24005 # Do not complain, so a configure script can configure whichever
24006 # parts of a large source tree are present.
24007 test -d "$srcdir/$ac_dir" ||
continue
24009 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
24010 echo "$as_me:$LINENO: $ac_msg" >&5
24014 -*) as_dir
=.
/$as_dir;;
24016 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
24020 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
24021 *) as_qdir
=$as_dir;;
24023 as_dirs
="'$as_qdir' $as_dirs"
24024 as_dir
=`$as_dirname -- "$as_dir" ||
24025 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24026 X"$as_dir" : 'X\(//\)[^/]' \| \
24027 X"$as_dir" : 'X\(//\)$' \| \
24028 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24030 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24034 /^X\(\/\/\)[^/].*/{
24047 test -d "$as_dir" && break
24049 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
24050 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24051 echo "$as_me: error: cannot create directory $as_dir" >&2;}
24052 { (exit 1); exit 1; }; }; }
24056 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24058 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24059 # A ".." for each directory in $ac_dir_suffix.
24060 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
24061 case $ac_top_builddir_sub in
24062 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24063 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
24066 ac_abs_top_builddir
=$ac_pwd
24067 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
24068 # for backward compatibility:
24069 ac_top_builddir
=$ac_top_build_prefix
24072 .
) # We are building in place.
24074 ac_top_srcdir
=$ac_top_builddir_sub
24075 ac_abs_top_srcdir
=$ac_pwd ;;
24076 [\\/]* | ?
:[\\/]* ) # Absolute name.
24077 ac_srcdir
=$srcdir$ac_dir_suffix;
24078 ac_top_srcdir
=$srcdir
24079 ac_abs_top_srcdir
=$srcdir ;;
24080 *) # Relative name.
24081 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
24082 ac_top_srcdir
=$ac_top_build_prefix$srcdir
24083 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
24085 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
24090 # Check for guested configure; otherwise get Cygnus style configure.
24091 if test -f "$ac_srcdir/configure.gnu"; then
24092 ac_sub_configure
=$ac_srcdir/configure.gnu
24093 elif test -f "$ac_srcdir/configure"; then
24094 ac_sub_configure
=$ac_srcdir/configure
24095 elif test -f "$ac_srcdir/configure.in"; then
24096 # This should be Cygnus configure.
24097 ac_sub_configure
=$ac_aux_dir/configure
24099 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
24100 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
24104 # The recursion is here.
24105 if test -n "$ac_sub_configure"; then
24106 # Make the cache file name correct relative to the subdirectory.
24107 case $cache_file in
24108 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
24109 *) # Relative name.
24110 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
24113 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
24114 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
24115 # The eval makes quoting arguments work.
24116 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
24117 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
24118 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
24119 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
24120 { (exit 1); exit 1; }; }