llvm.org GIT mirror llvm / 871384f
Regenerate configure. With the previous cleanup to configure.ac, configure is now only 393k, instead of 1.1M! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94535 91177308-0d34-0410-b5e6-96231b3b80d8 Torok Edwin 10 years ago
2 changed file(s) with 5266 addition(s) and 28024 deletion(s). Raw diff Collapse all Expand all
+5249
-27987
configure less more
0 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.60 for llvm 2.7svn.
2 # Generated by GNU Autoconf 2.65 for llvm 2.7svn.
33 #
44 # Report bugs to .
55 #
6 #
67 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
9 # Inc.
10 #
11 #
812 # This configure script is free software; the Free Software Foundation
913 # gives unlimited permission to copy, distribute and modify it.
1014 #
1115 # Copyright (c) 2003-2009 University of Illinois at Urbana-Champaign.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be Bourne compatible
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 ## -------------------- ##
17 ## M4sh Initialization. ##
18 ## -------------------- ##
19
20 # Be more Bourne compatible
21 DUALCASE=1; export DUALCASE # for MKS sh
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1823 emulate sh
1924 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2126 # is contrary to our usage. Disable this feature.
2227 alias -g '${1+"$@"}'='"$@"'
2328 setopt NO_GLOB_SUBST
2429 else
25 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
26 fi
27 BIN_SH=xpg4; export BIN_SH # for Tru64
28 DUALCASE=1; export DUALCASE # for MKS sh
29
30
31 # PATH needs CR
32 # Avoid depending upon Character Ranges.
33 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
36 as_cr_digits='0123456789'
37 as_cr_alnum=$as_cr_Letters$as_cr_digits
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
34 ;;
35 esac
36 fi
37
38
39 as_nl='
40 '
41 export as_nl
42 # Printing a long string crashes Solaris 7 /usr/bin/printf.
43 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46 # Prefer a ksh shell builtin over an external printf program on Solaris,
47 # but without wasting forks for bash or zsh.
48 if test -z "$BASH_VERSION$ZSH_VERSION" \
49 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='print -r --'
51 as_echo_n='print -rn --'
52 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 as_echo='printf %s\n'
54 as_echo_n='printf %s'
55 else
56 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
57 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
58 as_echo_n='/usr/ucb/echo -n'
59 else
60 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
61 as_echo_n_body='eval
62 arg=$1;
63 case $arg in #(
64 *"$as_nl"*)
65 expr "X$arg" : "X\\(.*\\)$as_nl";
66 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 esac;
68 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69 '
70 export as_echo_n_body
71 as_echo_n='sh -c $as_echo_n_body as_echo'
72 fi
73 export as_echo_body
74 as_echo='sh -c $as_echo_body as_echo'
75 fi
3876
3977 # The user is always right.
4078 if test "${PATH_SEPARATOR+set}" != set; then
41 echo "#! /bin/sh" >conf$$.sh
42 echo "exit 0" >>conf$$.sh
43 chmod +x conf$$.sh
44 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
45 PATH_SEPARATOR=';'
46 else
47 PATH_SEPARATOR=:
48 fi
49 rm -f conf$$.sh
50 fi
51
52 # Support unset when possible.
53 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
54 as_unset=unset
55 else
56 as_unset=false
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
83 }
5784 fi
5885
5986
6289 # there to prevent editors from complaining about space-tab.
6390 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6491 # splitting by setting IFS to empty value.)
65 as_nl='
66 '
6792 IFS=" "" $as_nl"
6893
6994 # Find who we are. Look in the path if we contain no directory separator.
70 case $0 in
95 case $0 in #((
7196 *[\\/]* ) as_myself=$0 ;;
7297 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7398 for as_dir in $PATH
7499 do
75100 IFS=$as_save_IFS
76101 test -z "$as_dir" && as_dir=.
77 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
78 done
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 done
79104 IFS=$as_save_IFS
80105
81106 ;;
86111 as_myself=$0
87112 fi
88113 if test ! -f "$as_myself"; then
89 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
90 { (exit 1); exit 1; }
91 fi
92
93 # Work around bugs in pre-3.0 UWIN ksh.
94 for as_var in ENV MAIL MAILPATH
95 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
96125 done
97126 PS1='$ '
98127 PS2='> '
99128 PS4='+ '
100129
101130 # NLS nuisances.
102 for as_var in \
103 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
104 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
105 LC_TELEPHONE LC_TIME
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 emulate sh
142 NULLCMD=:
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 setopt NO_GLOB_SUBST
147 else
148 case \`(set -o) 2>/dev/null\` in #(
149 *posix*) :
150 set -o posix ;; #(
151 *) :
152 ;;
153 esac
154 fi
155 "
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170 exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev/null; then :
179 as_have_required=yes
180 else
181 as_have_required=no
182 fi
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184
185 else
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 as_found=false
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
106189 do
107 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
108 eval $as_var=C; export $as_var
190 IFS=$as_save_IFS
191 test -z "$as_dir" && as_dir=.
192 as_found=:
193 case $as_dir in #(
194 /*)
195 for as_base in sh bash ksh sh5; do
196 # Try only shells that exist, to save several forks.
197 as_shell=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 CONFIG_SHELL=$as_shell as_have_required=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
202 break 2
203 fi
204 fi
205 done;;
206 esac
207 as_found=false
208 done
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 CONFIG_SHELL=$SHELL as_have_required=yes
212 fi; }
213 IFS=$as_save_IFS
214
215
216 if test "x$CONFIG_SHELL" != x; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
220 BASH_ENV=/dev/null
221 ENV=/dev/null
222 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 export CONFIG_SHELL
224 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
225 fi
226
227 if test x$as_have_required = xno; then :
228 $as_echo "$0: This script requires a shell more modern than all"
229 $as_echo "$0: the shells that I found on your system."
230 if test x${ZSH_VERSION+set} = xset ; then
231 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
232 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
109233 else
110 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
111 fi
112 done
113
114 # Required to use basename.
234 $as_echo "$0: Please tell bug-autoconf@gnu.org and
235 $0: llvmbugs@cs.uiuc.edu about your system, including any
236 $0: error possibly output before this message. Then install
237 $0: a modern shell, or manually run the script under such a
238 $0: shell if you do have one."
239 fi
240 exit 1
241 fi
242 fi
243 fi
244 SHELL=${CONFIG_SHELL-/bin/sh}
245 export SHELL
246 # Unset more variables known to interfere with behavior of common tools.
247 CLICOLOR_FORCE= GREP_OPTIONS=
248 unset CLICOLOR_FORCE GREP_OPTIONS
249
250 ## --------------------- ##
251 ## M4sh Shell Functions. ##
252 ## --------------------- ##
253 # as_fn_unset VAR
254 # ---------------
255 # Portably unset VAR.
256 as_fn_unset ()
257 {
258 { eval $1=; unset $1;}
259 }
260 as_unset=as_fn_unset
261
262 # as_fn_set_status STATUS
263 # -----------------------
264 # Set $? to STATUS, without forking.
265 as_fn_set_status ()
266 {
267 return $1
268 } # as_fn_set_status
269
270 # as_fn_exit STATUS
271 # -----------------
272 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
273 as_fn_exit ()
274 {
275 set +e
276 as_fn_set_status $1
277 exit $1
278 } # as_fn_exit
279
280 # as_fn_mkdir_p
281 # -------------
282 # Create "$as_dir" as a directory, including parents if necessary.
283 as_fn_mkdir_p ()
284 {
285
286 case $as_dir in #(
287 -*) as_dir=./$as_dir;;
288 esac
289 test -d "$as_dir" || eval $as_mkdir_p || {
290 as_dirs=
291 while :; do
292 case $as_dir in #(
293 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
294 *) as_qdir=$as_dir;;
295 esac
296 as_dirs="'$as_qdir' $as_dirs"
297 as_dir=`$as_dirname -- "$as_dir" ||
298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
299 X"$as_dir" : 'X\(//\)[^/]' \| \
300 X"$as_dir" : 'X\(//\)$' \| \
301 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
302 $as_echo X"$as_dir" |
303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
304 s//\1/
305 q
306 }
307 /^X\(\/\/\)[^/].*/{
308 s//\1/
309 q
310 }
311 /^X\(\/\/\)$/{
312 s//\1/
313 q
314 }
315 /^X\(\/\).*/{
316 s//\1/
317 q
318 }
319 s/.*/./; q'`
320 test -d "$as_dir" && break
321 done
322 test -z "$as_dirs" || eval "mkdir $as_dirs"
323 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
324
325
326 } # as_fn_mkdir_p
327 # as_fn_append VAR VALUE
328 # ----------------------
329 # Append the text in VALUE to the end of the definition contained in VAR. Take
330 # advantage of any shell optimizations that allow amortized linear growth over
331 # repeated appends, instead of the typical quadratic growth present in naive
332 # implementations.
333 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
334 eval 'as_fn_append ()
335 {
336 eval $1+=\$2
337 }'
338 else
339 as_fn_append ()
340 {
341 eval $1=\$$1\$2
342 }
343 fi # as_fn_append
344
345 # as_fn_arith ARG...
346 # ------------------
347 # Perform arithmetic evaluation on the ARGs, and store the result in the
348 # global $as_val. Take advantage of shells that can avoid forks. The arguments
349 # must be portable across $(()) and expr.
350 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
351 eval 'as_fn_arith ()
352 {
353 as_val=$(( $* ))
354 }'
355 else
356 as_fn_arith ()
357 {
358 as_val=`expr "$@" || test $? -eq 1`
359 }
360 fi # as_fn_arith
361
362
363 # as_fn_error ERROR [LINENO LOG_FD]
364 # ---------------------------------
365 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367 # script with status $?, using 1 if that was 0.
368 as_fn_error ()
369 {
370 as_status=$?; test $as_status -eq 0 && as_status=1
371 if test "$3"; then
372 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374 fi
375 $as_echo "$as_me: error: $1" >&2
376 as_fn_exit $as_status
377 } # as_fn_error
378
115379 if expr a : '\(a\)' >/dev/null 2>&1 &&
116380 test "X`expr 00001 : '.*\(...\)'`" = X001; then
117381 as_expr=expr
125389 as_basename=false
126390 fi
127391
128
129 # Name of the executable.
392 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
393 as_dirname=dirname
394 else
395 as_dirname=false
396 fi
397
130398 as_me=`$as_basename -- "$0" ||
131399 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
132400 X"$0" : 'X\(//\)$' \| \
133401 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
134 echo X/"$0" |
402 $as_echo X/"$0" |
135403 sed '/^.*\/\([^/][^/]*\)\/*$/{
136404 s//\1/
137405 q
146414 }
147415 s/.*/./; q'`
148416
149 # CDPATH.
150 $as_unset CDPATH
151
152
153 if test "x$CONFIG_SHELL" = x; then
154 if (eval ":") 2>/dev/null; then
155 as_have_required=yes
156 else
157 as_have_required=no
158 fi
159
160 if test $as_have_required = yes && (eval ":
161 (as_func_return () {
162 (exit \$1)
163 }
164 as_func_success () {
165 as_func_return 0
166 }
167 as_func_failure () {
168 as_func_return 1
169 }
170 as_func_ret_success () {
171 return 0
172 }
173 as_func_ret_failure () {
174 return 1
175 }
176
177 exitcode=0
178 if as_func_success; then
179 :
180 else
181 exitcode=1
182 echo as_func_success failed.
183 fi
184
185 if as_func_failure; then
186 exitcode=1
187 echo as_func_failure succeeded.
188 fi
189
190 if as_func_ret_success; then
191 :
192 else
193 exitcode=1
194 echo as_func_ret_success failed.
195 fi
196
197 if as_func_ret_failure; then
198 exitcode=1
199 echo as_func_ret_failure succeeded.
200 fi
201
202 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
203 :
204 else
205 exitcode=1
206 echo positional parameters were not saved.
207 fi
208
209 test \$exitcode = 0) || { (exit 1); exit 1; }
210
211 (
212 as_lineno_1=\$LINENO
213 as_lineno_2=\$LINENO
214 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
215 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
216 ") 2> /dev/null; then
217 :
218 else
219 as_candidate_shells=
220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
221 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
222 do
223 IFS=$as_save_IFS
224 test -z "$as_dir" && as_dir=.
225 case $as_dir in
226 /*)
227 for as_base in sh bash ksh sh5; do
228 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
229 done;;
230 esac
231 done
232 IFS=$as_save_IFS
233
234
235 for as_shell in $as_candidate_shells $SHELL; do
236 # Try only shells that exist, to save several forks.
237 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
238 { ("$as_shell") 2> /dev/null <<\_ASEOF
239 # Be Bourne compatible
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241 emulate sh
242 NULLCMD=:
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
246 setopt NO_GLOB_SUBST
247 else
248 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
249 fi
250 BIN_SH=xpg4; export BIN_SH # for Tru64
251 DUALCASE=1; export DUALCASE # for MKS sh
252
253 :
254 _ASEOF
255 }; then
256 CONFIG_SHELL=$as_shell
257 as_have_required=yes
258 if { "$as_shell" 2> /dev/null <<\_ASEOF
259 # Be Bourne compatible
260 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
261 emulate sh
262 NULLCMD=:
263 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
264 # is contrary to our usage. Disable this feature.
265 alias -g '${1+"$@"}'='"$@"'
266 setopt NO_GLOB_SUBST
267 else
268 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
269 fi
270 BIN_SH=xpg4; export BIN_SH # for Tru64
271 DUALCASE=1; export DUALCASE # for MKS sh
272
273 :
274 (as_func_return () {
275 (exit $1)
276 }
277 as_func_success () {
278 as_func_return 0
279 }
280 as_func_failure () {
281 as_func_return 1
282 }
283 as_func_ret_success () {
284 return 0
285 }
286 as_func_ret_failure () {
287 return 1
288 }
289
290 exitcode=0
291 if as_func_success; then
292 :
293 else
294 exitcode=1
295 echo as_func_success failed.
296 fi
297
298 if as_func_failure; then
299 exitcode=1
300 echo as_func_failure succeeded.
301 fi
302
303 if as_func_ret_success; then
304 :
305 else
306 exitcode=1
307 echo as_func_ret_success failed.
308 fi
309
310 if as_func_ret_failure; then
311 exitcode=1
312 echo as_func_ret_failure succeeded.
313 fi
314
315 if ( set x; as_func_ret_success y && test x = "$1" ); then
316 :
317 else
318 exitcode=1
319 echo positional parameters were not saved.
320 fi
321
322 test $exitcode = 0) || { (exit 1); exit 1; }
323
324 (
325 as_lineno_1=$LINENO
326 as_lineno_2=$LINENO
327 test "x$as_lineno_1" != "x$as_lineno_2" &&
328 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
329
330 _ASEOF
331 }; then
332 break
333 fi
334
335 fi
336
337 done
338
339 if test "x$CONFIG_SHELL" != x; then
340 for as_var in BASH_ENV ENV
341 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
342 done
343 export CONFIG_SHELL
344 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
345 fi
346
347
348 if test $as_have_required = no; then
349 echo This script requires a shell more modern than all the
350 echo shells that I found on your system. Please install a
351 echo modern shell, or manually run the script under such a
352 echo shell if you do have one.
353 { (exit 1); exit 1; }
354 fi
355
356
357 fi
358
359 fi
360
361
362
363 (eval "as_func_return () {
364 (exit \$1)
365 }
366 as_func_success () {
367 as_func_return 0
368 }
369 as_func_failure () {
370 as_func_return 1
371 }
372 as_func_ret_success () {
373 return 0
374 }
375 as_func_ret_failure () {
376 return 1
377 }
378
379 exitcode=0
380 if as_func_success; then
381 :
382 else
383 exitcode=1
384 echo as_func_success failed.
385 fi
386
387 if as_func_failure; then
388 exitcode=1
389 echo as_func_failure succeeded.
390 fi
391
392 if as_func_ret_success; then
393 :
394 else
395 exitcode=1
396 echo as_func_ret_success failed.
397 fi
398
399 if as_func_ret_failure; then
400 exitcode=1
401 echo as_func_ret_failure succeeded.
402 fi
403
404 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
405 :
406 else
407 exitcode=1
408 echo positional parameters were not saved.
409 fi
410
411 test \$exitcode = 0") || {
412 echo No shell found that supports shell functions.
413 echo Please tell autoconf@gnu.org about your system,
414 echo including any error possibly output before this
415 echo message
416 }
417
418
419
420 as_lineno_1=$LINENO
421 as_lineno_2=$LINENO
422 test "x$as_lineno_1" != "x$as_lineno_2" &&
423 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
424
425 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
426 # uniformly replaced by the line number. The first 'sed' inserts a
427 # line-number line after each line using $LINENO; the second 'sed'
428 # does the real work. The second script uses 'N' to pair each
429 # line-number line with the line containing $LINENO, and appends
430 # trailing '-' during substitution so that $LINENO is not a special
431 # case at line end.
432 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
433 # scripts with optimization help from Paolo Bonzini. Blame Lee
434 # E. McMahon (1931-1989) for sed's syntax. :-)
417 # Avoid depending upon Character Ranges.
418 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
419 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
420 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
421 as_cr_digits='0123456789'
422 as_cr_alnum=$as_cr_Letters$as_cr_digits
423
424
425 as_lineno_1=$LINENO as_lineno_1a=$LINENO
426 as_lineno_2=$LINENO as_lineno_2a=$LINENO
427 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
428 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
429 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435430 sed -n '
436431 p
437432 /[$]LINENO/=
448443 s/-\n.*//
449444 ' >$as_me.lineno &&
450445 chmod +x "$as_me.lineno" ||
451 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
452 { (exit 1); exit 1; }; }
446 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
453447
454448 # Don't try to exec as it changes $[0], causing all sort of problems
455449 # (the dirname of $[0] is not the place where we might find the
459453 exit
460454 }
461455
462
463 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
464 as_dirname=dirname
465 else
466 as_dirname=false
467 fi
468
469456 ECHO_C= ECHO_N= ECHO_T=
470 case `echo -n x` in
457 case `echo -n x` in #(((((
471458 -n*)
472 case `echo 'x\c'` in
459 case `echo 'xy\c'` in
473460 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
474 *) ECHO_C='\c';;
461 xy) ECHO_C='\c';;
462 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
463 ECHO_T=' ';;
475464 esac;;
476465 *)
477466 ECHO_N='-n';;
478467 esac
479468
480 if expr a : '\(a\)' >/dev/null 2>&1 &&
481 test "X`expr 00001 : '.*\(...\)'`" = X001; then
482 as_expr=expr
483 else
484 as_expr=false
485 fi
486
487469 rm -f conf$$ conf$$.exe conf$$.file
488470 if test -d conf$$.dir; then
489471 rm -f conf$$.dir/conf$$.file
490472 else
491473 rm -f conf$$.dir
492 mkdir conf$$.dir
493 fi
494 echo >conf$$.file
495 if ln -s conf$$.file conf$$ 2>/dev/null; then
496 as_ln_s='ln -s'
497 # ... but there are two gotchas:
498 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
499 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
500 # In both cases, we have to default to `cp -p'.
501 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
474 mkdir conf$$.dir 2>/dev/null
475 fi
476 if (echo >conf$$.file) 2>/dev/null; then
477 if ln -s conf$$.file conf$$ 2>/dev/null; then
478 as_ln_s='ln -s'
479 # ... but there are two gotchas:
480 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
481 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
482 # In both cases, we have to default to `cp -p'.
483 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484 as_ln_s='cp -p'
485 elif ln conf$$.file conf$$ 2>/dev/null; then
486 as_ln_s=ln
487 else
502488 as_ln_s='cp -p'
503 elif ln conf$$.file conf$$ 2>/dev/null; then
504 as_ln_s=ln
489 fi
505490 else
506491 as_ln_s='cp -p'
507492 fi
509494 rmdir conf$$.dir 2>/dev/null
510495
511496 if mkdir -p . 2>/dev/null; then
512 as_mkdir_p=:
497 as_mkdir_p='mkdir -p "$as_dir"'
513498 else
514499 test -d ./-p && rmdir ./-p
515500 as_mkdir_p=false
516501 fi
517502
518 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
519 # systems may use methods other than mode bits to determine executability.
520 cat >conf$$.file <<_ASEOF
521 #! /bin/sh
522 exit 0
523 _ASEOF
524 chmod +x conf$$.file
525 if test -x conf$$.file >/dev/null 2>&1; then
526 as_executable_p="test -x"
527 else
528 as_executable_p=:
529 fi
530 rm -f conf$$.file
503 if test -x / >/dev/null 2>&1; then
504 as_test_x='test -x'
505 else
506 if ls -dL / >/dev/null 2>&1; then
507 as_ls_L_option=L
508 else
509 as_ls_L_option=
510 fi
511 as_test_x='
512 eval sh -c '\''
513 if test -d "$1"; then
514 test -d "$1/.";
515 else
516 case $1 in #(
517 -*)set "./$1";;
518 esac;
519 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520 ???[sx]*):;;*)false;;esac;fi
521 '\'' sh
522 '
523 fi
524 as_executable_p=$as_test_x
531525
532526 # Sed expression to map a string onto a valid CPP name.
533527 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536530 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537531
538532
539
540
541 # Check that we are running under the correct shell.
542 SHELL=${CONFIG_SHELL-/bin/sh}
543
544 case X$ECHO in
545 X*--fallback-echo)
546 # Remove one level of quotation (which was required for Make).
547 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
548 ;;
549 esac
550
551 echo=${ECHO-echo}
552 if test "X$1" = X--no-reexec; then
553 # Discard the --no-reexec flag, and continue.
554 shift
555 elif test "X$1" = X--fallback-echo; then
556 # Avoid inline document here, it may be left over
557 :
558 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
559 # Yippee, $echo works!
560 :
561 else
562 # Restart under the correct shell.
563 exec $SHELL "$0" --no-reexec ${1+"$@"}
564 fi
565
566 if test "X$1" = X--fallback-echo; then
567 # used as fallback echo
568 shift
569 cat <
570 $*
571 EOF
572 exit 0
573 fi
574
575 # The HP-UX ksh and POSIX shell print the target directory to stdout
576 # if CDPATH is set.
577 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
578
579 if test -z "$ECHO"; then
580 if test "X${echo_test_string+set}" != Xset; then
581 # find a string as large as possible, as long as the shell can cope with it
582 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
583 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
584 if (echo_test_string=`eval $cmd`) 2>/dev/null &&
585 echo_test_string=`eval $cmd` &&
586 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
587 then
588 break
589 fi
590 done
591 fi
592
593 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
594 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
595 test "X$echo_testing_string" = "X$echo_test_string"; then
596 :
597 else
598 # The Solaris, AIX, and Digital Unix default echo programs unquote
599 # backslashes. This makes it impossible to quote backslashes using
600 # echo "$something" | sed 's/\\/\\\\/g'
601 #
602 # So, first we look for a working echo in the user's PATH.
603
604 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
605 for dir in $PATH /usr/ucb; do
606 IFS="$lt_save_ifs"
607 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
608 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
609 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
610 test "X$echo_testing_string" = "X$echo_test_string"; then
611 echo="$dir/echo"
612 break
613 fi
614 done
615 IFS="$lt_save_ifs"
616
617 if test "X$echo" = Xecho; then
618 # We didn't find a better echo, so look for alternatives.
619 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
620 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
621 test "X$echo_testing_string" = "X$echo_test_string"; then
622 # This shell has a builtin print -r that does the trick.
623 echo='print -r'
624 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
625 test "X$CONFIG_SHELL" != X/bin/ksh; then
626 # If we have ksh, try running configure again with it.
627 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
628 export ORIGINAL_CONFIG_SHELL
629 CONFIG_SHELL=/bin/ksh
630 export CONFIG_SHELL
631 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
632 else
633 # Try using printf.
634 echo='printf %s\n'
635 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
636 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
637 test "X$echo_testing_string" = "X$echo_test_string"; then
638 # Cool, printf works
639 :
640 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641 test "X$echo_testing_string" = 'X\t' &&
642 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
644 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
645 export CONFIG_SHELL
646 SHELL="$CONFIG_SHELL"
647 export SHELL
648 echo="$CONFIG_SHELL $0 --fallback-echo"
649 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
650 test "X$echo_testing_string" = 'X\t' &&
651 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
652 test "X$echo_testing_string" = "X$echo_test_string"; then
653 echo="$CONFIG_SHELL $0 --fallback-echo"
654 else
655 # maybe with a smaller string...
656 prev=:
657
658 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
659 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
660 then
661 break
662 fi
663 prev="$cmd"
664 done
665
666 if test "$prev" != 'sed 50q "$0"'; then
667 echo_test_string=`eval $prev`
668 export echo_test_string
669 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
670 else
671 # Oops. We lost completely, so just stick with echo.
672 echo=echo
673 fi
674 fi
675 fi
676 fi
677 fi
678 fi
679
680 # Copy echo and quote the copy suitably for passing to libtool from
681 # the Makefile, instead of quoting the original, which is used later.
682 ECHO=$echo
683 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
684 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
685 fi
686
687
688
689
690 tagnames=${tagnames+${tagnames},}CXX
691
692 tagnames=${tagnames+${tagnames},}F77
693
694 exec 7<&0 &1
533 test -n "$DJDIR" || exec 7<&0 ⏎
534 exec 6>&1
695535
696536 # Name of the host.
697537 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
709549 subdirs=
710550 MFLAGS=
711551 MAKEFLAGS=
712 SHELL=${CONFIG_SHELL-/bin/sh}
713552
714553 # Identity of this package.
715554 PACKAGE_NAME='llvm'
717556 PACKAGE_VERSION='2.7svn'
718557 PACKAGE_STRING='llvm 2.7svn'
719558 PACKAGE_BUGREPORT='llvmbugs@cs.uiuc.edu'
559 PACKAGE_URL=''
720560
721561 ac_unique_file="lib/VMCore/Module.cpp"
562 enable_option_checking=no
722563 # Factoring default headers for most tests.
723564 ac_includes_default="\
724565 #include
725 #if HAVE_SYS_TYPES_H
566 #ifdef HAVE_SYS_TYPES_H
726567 # include
727568 #endif
728 #if HAVE_SYS_STAT_H
569 #ifdef HAVE_SYS_STAT_H
729570 # include
730571 #endif
731 #if STDC_HEADERS
572 #ifdef STDC_HEADERS
732573 # include
733574 # include
734575 #else
735 # if HAVE_STDLIB_H
576 # ifdef HAVE_STDLIB_H
736577 # include
737578 # endif
738579 #endif
739 #if HAVE_STRING_H
740 # if !STDC_HEADERS && HAVE_MEMORY_H
580 #ifdef HAVE_STRING_H
581 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
741582 # include
742583 # endif
743584 # include
744585 #endif
745 #if HAVE_STRINGS_H
586 #ifdef HAVE_STRINGS_H
746587 # include
747588 #endif
748 #if HAVE_INTTYPES_H
589 #ifdef HAVE_INTTYPES_H
749590 # include
750591 #endif
751 #if HAVE_STDINT_H
592 #ifdef HAVE_STDINT_H
752593 # include
753594 #endif
754 #if HAVE_UNISTD_H
595 #ifdef HAVE_UNISTD_H
755596 # include
756597 #endif"
757598
758 ac_subst_vars='SHELL
599 ac_header_list=
600 ac_subst_vars='LTLIBOBJS
601 LIBOBJS
602 RDYNAMIC
603 RPATH
604 ENABLE_VISIBILITY_INLINES_HIDDEN
605 OCAML_LIBDIR
606 ALL_BINDINGS
607 BINDINGS_TO_BUILD
608 LLVM_CONFIGTIME
609 LLVM_MANDIR
610 LLVM_INFODIR
611 LLVM_INCLUDEDIR
612 LLVM_ETCDIR
613 LLVM_DOCSDIR
614 LLVM_DATADIR
615 LLVM_LIBDIR
616 LLVM_BINDIR
617 LLVM_PREFIX
618 SHLIBEXT
619 LLVMGCC_LANGS
620 LLVMGCC_MAJVERS
621 LLVMGCC_VERSION
622 LLVMGCCLIBEXEC
623 LLVMGCCDIR
624 LLVMCC1PLUS
625 LLVMCC1
626 MMAP_FILE
627 HUGE_VAL_SANITY
628 HAVE_PTHREAD
629 USE_OPROFILE
630 USE_UDIS86
631 NO_MISSING_FIELD_INITIALIZERS
632 NO_VARIADIC_MACROS
633 LLVMGXX
634 LLVMGCC
635 LLVMGXXCOMMAND
636 LLVMGCCCOMMAND
637 LIBADD_DL
638 CONVENIENCE_LTDL_FALSE
639 CONVENIENCE_LTDL_TRUE
640 INSTALL_LTDL_FALSE
641 INSTALL_LTDL_TRUE
642 GAS
643 OCAMLDOC
644 OCAMLDEP
645 OCAMLOPT
646 OCAMLC
647 ZIP
648 TCLSH
649 RUNTEST
650 POD2MAN
651 POD2HTML
652 GZIP
653 GROFF
654 DOXYGEN
655 BZIP2
656 INSTALL_DATA
657 INSTALL_SCRIPT
658 INSTALL_PROGRAM
659 HAVE_PERL
660 PERL
661 DOTTY
662 GV
663 CIRCO
664 TWOPI
665 NEATO
666 FDP
667 DOT
668 GRAPHVIZ
669 BINPWD
670 TAR
671 SED
672 RM
673 AR
674 RANLIB
675 MV
676 MKDIR
677 FIND
678 DATE
679 CP
680 CMP
681 LN_S
682 ifGNUmake
683 NM
684 ac_ct_CXX
685 CXXFLAGS
686 CXX
687 ENABLE_LLVMC_DYNAMIC_PLUGINS
688 ENABLE_LLVMC_DYNAMIC
689 BINUTILS_INCDIR
690 EXTRA_OPTIONS
691 OPTIMIZE_OPTION
692 ENABLE_CBE_PRINTF_A
693 LLVM_ENUM_DISASSEMBLERS
694 LLVM_ENUM_ASM_PARSERS
695 LLVM_ENUM_ASM_PRINTERS
696 LLVM_ENUM_TARGETS
697 TARGETS_TO_BUILD
698 ENABLE_PIC
699 ENABLE_THREADS
700 ENABLE_DOXYGEN
701 TARGET_HAS_JIT
702 JIT
703 DEBUG_SYMBOLS
704 DEBUG_RUNTIME
705 EXPENSIVE_CHECKS
706 ENABLE_EXPENSIVE_CHECKS
707 DISABLE_ASSERTIONS
708 ENABLE_PROFILING
709 ENABLE_OPTIMIZED
710 CVSBUILD
711 BUILD_CXX
712 BUILD_EXEEXT
713 BUILD_CC
714 LLVM_CROSS_COMPILING
715 EGREP
716 GREP
717 CPP
718 OBJEXT
719 EXEEXT
720 ac_ct_CC
721 CPPFLAGS
722 LDFLAGS
723 CFLAGS
724 CC
725 ENDIAN
726 ARCH
727 LLVM_ON_WIN32
728 LLVM_ON_UNIX
729 NOLINKALL
730 LINKALL
731 TARGET_OS
732 HOST_OS
733 OS
734 target_os
735 target_vendor
736 target_cpu
737 target
738 host_os
739 host_vendor
740 host_cpu
741 host
742 build_os
743 build_vendor
744 build_cpu
745 build
746 subdirs
747 LLVM_COPYRIGHT
748 target_alias
749 host_alias
750 build_alias
751 LIBS
752 ECHO_T
753 ECHO_N
754 ECHO_C
755 DEFS
756 mandir
757 localedir
758 libdir
759 psdir
760 pdfdir
761 dvidir
762 htmldir
763 infodir
764 docdir
765 oldincludedir
766 includedir
767 localstatedir
768 sharedstatedir
769 sysconfdir
770 datadir
771 datarootdir
772 libexecdir
773 sbindir
774 bindir
775 program_transform_name
776 prefix
777 exec_prefix
778 PACKAGE_URL
779 PACKAGE_BUGREPORT
780 PACKAGE_STRING
781 PACKAGE_VERSION
782 PACKAGE_TARNAME
783 PACKAGE_NAME
759784 PATH_SEPARATOR
760 PACKAGE_NAME
761 PACKAGE_TARNAME
762 PACKAGE_VERSION
763 PACKAGE_STRING
764 PACKAGE_BUGREPORT
765 exec_prefix
766 prefix
767 program_transform_name
768 bindir
769 sbindir
770 libexecdir
771 datarootdir
772 datadir
773 sysconfdir
774 sharedstatedir
775 localstatedir
776 includedir
777 oldincludedir
778 docdir
779 infodir
780 htmldir
781 dvidir
782 pdfdir
783 psdir
784 libdir
785 localedir
786 mandir
787 DEFS
788 ECHO_C
789 ECHO_N
790 ECHO_T
791 LIBS
792 build_alias
793 host_alias
794 target_alias
795 LLVM_COPYRIGHT
796 subdirs
797 build
798 build_cpu
799 build_vendor
800 build_os
801 host
802 host_cpu
803 host_vendor
804 host_os
805 target
806 target_cpu
807 target_vendor
808 target_os
809 OS
810 HOST_OS
811 TARGET_OS
812 LINKALL
813 NOLINKALL
814 LLVM_ON_UNIX
815 LLVM_ON_WIN32
816 ARCH
817 ENDIAN
818 CC
819 CFLAGS
820 LDFLAGS
821 CPPFLAGS
822 ac_ct_CC
823 EXEEXT
824 OBJEXT
825 CPP
826 GREP
827 EGREP
828 LLVM_CROSS_COMPILING
829 BUILD_CC
830 BUILD_EXEEXT
831 BUILD_CXX
832 CVSBUILD
833 ENABLE_OPTIMIZED
834 ENABLE_PROFILING
835 DISABLE_ASSERTIONS
836 ENABLE_EXPENSIVE_CHECKS
837 EXPENSIVE_CHECKS
838 DEBUG_RUNTIME
839 DEBUG_SYMBOLS
840 JIT
841 TARGET_HAS_JIT
842 ENABLE_DOXYGEN
843 ENABLE_THREADS
844 ENABLE_PIC
845 TARGETS_TO_BUILD
846 LLVM_ENUM_TARGETS
847 LLVM_ENUM_ASM_PRINTERS
848 LLVM_ENUM_ASM_PARSERS
849 LLVM_ENUM_DISASSEMBLERS
850 ENABLE_CBE_PRINTF_A
851 OPTIMIZE_OPTION
852 EXTRA_OPTIONS
853 BINUTILS_INCDIR
854 ENABLE_LLVMC_DYNAMIC
855 ENABLE_LLVMC_DYNAMIC_PLUGINS
856 CXX
857 CXXFLAGS
858 ac_ct_CXX
859 NM
860 ifGNUmake
861 LN_S
862 CMP
863 CP
864 DATE
865 FIND
866 MKDIR
867 MV
868 RANLIB
869 RM
870 SED
871 TAR
872 BINPWD
873 GRAPHVIZ
874 DOT
875 FDP
876 NEATO
877 TWOPI
878 CIRCO
879 GV
880 DOTTY
881 PERL
882 HAVE_PERL
883 INSTALL_PROGRAM
884 INSTALL_SCRIPT
885 INSTALL_DATA
886 BZIP2
887 DOXYGEN
888 GROFF
889 GZIP
890 POD2HTML
891 POD2MAN
892 RUNTEST
893 TCLSH
894 ZIP
895 OCAMLC
896 OCAMLOPT
897 OCAMLDEP
898 OCAMLDOC
899 GAS
900 INSTALL_LTDL_TRUE
901 INSTALL_LTDL_FALSE
902 CONVENIENCE_LTDL_TRUE
903 CONVENIENCE_LTDL_FALSE
904 LIBADD_DL
905 ECHO
906 AR
907 STRIP
908 CXXCPP
909 F77
910 FFLAGS
911 ac_ct_F77
912 LIBTOOL
913 LLVMGCCCOMMAND
914 LLVMGXXCOMMAND
915 LLVMGCC
916 LLVMGXX
917 NO_VARIADIC_MACROS
918 NO_MISSING_FIELD_INITIALIZERS
919 USE_UDIS86
920 USE_OPROFILE
921 HAVE_PTHREAD
922 HUGE_VAL_SANITY
923 ALLOCA
924 MMAP_FILE
925 LLVMCC1
926 LLVMCC1PLUS
927 LLVMGCCDIR
928 LLVMGCCLIBEXEC
929 LLVMGCC_VERSION
930 LLVMGCC_MAJVERS
931 LLVMGCC_LANGS
932 SHLIBEXT
933 LLVM_PREFIX
934 LLVM_BINDIR
935 LLVM_LIBDIR
936 LLVM_DATADIR
937 LLVM_DOCSDIR
938 LLVM_ETCDIR
939 LLVM_INCLUDEDIR
940 LLVM_INFODIR
941 LLVM_MANDIR
942 LLVM_CONFIGTIME
943 BINDINGS_TO_BUILD
944 ALL_BINDINGS
945 OCAML_LIBDIR
946 ENABLE_VISIBILITY_INLINES_HIDDEN
947 RPATH
948 RDYNAMIC
949 LIBOBJS
950 LTLIBOBJS'
785 SHELL'
951786 ac_subst_files=''
787 ac_user_opts='
788 enable_option_checking
789 enable_optimized
790 enable_profiling
791 enable_assertions
792 enable_expensive_checks
793 enable_debug_runtime
794 enable_debug_symbols
795 enable_jit
796 enable_doxygen
797 enable_threads
798 enable_pic
799 enable_targets
800 enable_cbe_printf_a
801 with_llvmgccdir
802 with_llvmgcc
803 with_llvmgxx
804 with_optimize_option
805 with_extra_options
806 enable_bindings
807 with_ocaml_libdir
808 with_c_include_dirs
809 with_cxx_include_root
810 with_cxx_include_arch
811 with_cxx_include_32bit_dir
812 with_cxx_include_64bit_dir
813 with_binutils_include
814 enable_libffi
815 enable_llvmc_dynamic
816 enable_llvmc_dynamic_plugins
817 with_tclinclude
818 enable_ltdl_install
819 with_udis86
820 with_oprofile
821 '
952822 ac_precious_vars='build_alias
953823 host_alias
954824 target_alias
955825 CC
956826 CFLAGS
957827 LDFLAGS
828 LIBS
958829 CPPFLAGS
959830 CPP
960831 CXX
961832 CXXFLAGS
962 CCC
963 CXXCPP
964 F77
965 FFLAGS'
833 CCC'
966834 ac_subdirs_all='projects/sample
967835 projects/privbracket
968836 projects/llvm-stacker
979847 # Initialize some variables set by options.
980848 ac_init_help=
981849 ac_init_version=false
850 ac_unrecognized_opts=
851 ac_unrecognized_sep=
982852 # The variables have the same names as the options, with
983853 # dashes changed to underlines.
984854 cache_file=/dev/null
1077947 datarootdir=$ac_optarg ;;
1078948
1079949 -disable-* | --disable-*)
1080 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
950 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1081951 # Reject names that are not valid shell variable names.
1082 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1083 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1084 { (exit 1); exit 1; }; }
1085 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1086 eval enable_$ac_feature=no ;;
952 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
953 as_fn_error "invalid feature name: $ac_useropt"
954 ac_useropt_orig=$ac_useropt
955 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
956 case $ac_user_opts in
957 *"
958 "enable_$ac_useropt"
959 "*) ;;
960 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
961 ac_unrecognized_sep=', ';;
962 esac
963 eval enable_$ac_useropt=no ;;
1087964
1088965 -docdir | --docdir | --docdi | --doc | --do)
1089966 ac_prev=docdir ;;
1096973 dvidir=$ac_optarg ;;
1097974
1098975 -enable-* | --enable-*)
1099 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
976 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1100977 # Reject names that are not valid shell variable names.
1101 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1102 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1103 { (exit 1); exit 1; }; }
1104 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1105 eval enable_$ac_feature=\$ac_optarg ;;
978 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
979 as_fn_error "invalid feature name: $ac_useropt"
980 ac_useropt_orig=$ac_useropt
981 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
982 case $ac_user_opts in
983 *"
984 "enable_$ac_useropt"
985 "*) ;;
986 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
987 ac_unrecognized_sep=', ';;
988 esac
989 eval enable_$ac_useropt=\$ac_optarg ;;
1106990
1107991 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1108992 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
12931177 ac_init_version=: ;;
12941178
12951179 -with-* | --with-*)
1296 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1180 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
12971181 # Reject names that are not valid shell variable names.
1298 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1299 { echo "$as_me: error: invalid package name: $ac_package" >&2
1300 { (exit 1); exit 1; }; }
1301 ac_package=`echo $ac_package| sed 's/-/_/g'`
1302 eval with_$ac_package=\$ac_optarg ;;
1182 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1183 as_fn_error "invalid package name: $ac_useropt"
1184 ac_useropt_orig=$ac_useropt
1185 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1186 case $ac_user_opts in
1187 *"
1188 "with_$ac_useropt"
1189 "*) ;;
1190 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1191 ac_unrecognized_sep=', ';;
1192 esac
1193 eval with_$ac_useropt=\$ac_optarg ;;
13031194
13041195 -without-* | --without-*)
1305 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1196 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
13061197 # Reject names that are not valid shell variable names.
1307 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1308 { echo "$as_me: error: invalid package name: $ac_package" >&2
1309 { (exit 1); exit 1; }; }
1310 ac_package=`echo $ac_package | sed 's/-/_/g'`
1311 eval with_$ac_package=no ;;
1198 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1199 as_fn_error "invalid package name: $ac_useropt"
1200 ac_useropt_orig=$ac_useropt
1201 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1202 case $ac_user_opts in
1203 *"
1204 "with_$ac_useropt"
1205 "*) ;;
1206 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1207 ac_unrecognized_sep=', ';;
1208 esac
1209 eval with_$ac_useropt=no ;;
13121210
13131211 --x)
13141212 # Obsolete; use --with-x.
13281226 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
13291227 x_libraries=$ac_optarg ;;
13301228
1331 -*) { echo "$as_me: error: unrecognized option: $ac_option
1332 Try \`$0 --help' for more information." >&2
1333 { (exit 1); exit 1; }; }
1229 -*) as_fn_error "unrecognized option: \`$ac_option'
1230 Try \`$0 --help' for more information."
13341231 ;;
13351232
13361233 *=*)
13371234 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
13381235 # Reject names that are not valid shell variable names.
1339 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1340 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1341 { (exit 1); exit 1; }; }
1236 case $ac_envvar in #(
1237 '' | [0-9]* | *[!_$as_cr_alnum]* )
1238 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1239 esac
13421240 eval $ac_envvar=\$ac_optarg
13431241 export $ac_envvar ;;
13441242
13451243 *)
13461244 # FIXME: should be removed in autoconf 3.0.
1347 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1245 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
13481246 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1349 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1247 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
13501248 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
13511249 ;;
13521250
13551253
13561254 if test -n "$ac_prev"; then
13571255 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1358 { echo "$as_me: error: missing argument to $ac_option" >&2
1359 { (exit 1); exit 1; }; }
1360 fi
1361
1362 # Be sure to have absolute directory names.
1256 as_fn_error "missing argument to $ac_option"
1257 fi
1258
1259 if test -n "$ac_unrecognized_opts"; then
1260 case $enable_option_checking in
1261 no) ;;
1262 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1263 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1264 esac
1265 fi
1266
1267 # Check all directory arguments for consistency.
13631268 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
13641269 datadir sysconfdir sharedstatedir localstatedir includedir \
13651270 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
13661271 libdir localedir mandir
13671272 do
13681273 eval ac_val=\$$ac_var
1274 # Remove trailing slashes.
1275 case $ac_val in
1276 */ )
1277 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1278 eval $ac_var=\$ac_val;;
1279 esac
1280 # Be sure to have absolute directory names.
13691281 case $ac_val in
13701282 [\\/$]* | ?:[\\/]* ) continue;;
13711283 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
13721284 esac
1373 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1374 { (exit 1); exit 1; }; }
1285 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
13751286 done
13761287
13771288 # There might be people who depend on the old broken behavior: `$host'
13851296 if test "x$host_alias" != x; then
13861297 if test "x$build_alias" = x; then
13871298 cross_compiling=maybe
1388 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1299 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
13891300 If a cross compiler is detected then cross compile mode will be used." >&2
13901301 elif test "x$build_alias" != "x$host_alias"; then
13911302 cross_compiling=yes
14011312 ac_pwd=`pwd` && test -n "$ac_pwd" &&
14021313 ac_ls_di=`ls -di .` &&
14031314 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1404 { echo "$as_me: error: Working directory cannot be determined" >&2
1405 { (exit 1); exit 1; }; }
1315 as_fn_error "working directory cannot be determined"
14061316 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1407 { echo "$as_me: error: pwd does not report name of working directory" >&2
1408 { (exit 1); exit 1; }; }
1317 as_fn_error "pwd does not report name of working directory"
14091318
14101319
14111320 # Find the source files, if location was not specified.
14121321 if test -z "$srcdir"; then
14131322 ac_srcdir_defaulted=yes
14141323 # Try the directory containing this script, then the parent directory.
1415 ac_confdir=`$as_dirname -- "$0" ||
1416 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1417 X"$0" : 'X\(//\)[^/]' \| \
1418 X"$0" : 'X\(//\)$' \| \
1419 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1420 echo X"$0" |
1324 ac_confdir=`$as_dirname -- "$as_myself" ||
1325 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1326 X"$as_myself" : 'X\(//\)[^/]' \| \
1327 X"$as_myself" : 'X\(//\)$' \| \
1328 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1329 $as_echo X"$as_myself" |
14211330 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14221331 s//\1/
14231332 q
14441353 fi
14451354 if test ! -r "$srcdir/$ac_unique_file"; then
14461355 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1447 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1448 { (exit 1); exit 1; }; }
1356 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
14491357 fi
14501358 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
14511359 ac_abs_confdir=`(
1452 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1453 { (exit 1); exit 1; }; }
1360 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
14541361 pwd)`
14551362 # When building in place, set srcdir=.
14561363 if test "$ac_abs_confdir" = "$ac_pwd"; then
14981405
14991406 Installation directories:
15001407 --prefix=PREFIX install architecture-independent files in PREFIX
1501 [$ac_default_prefix]
1408 [$ac_default_prefix]
15021409 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1503 [PREFIX]
1410 [PREFIX]
15041411
15051412 By default, \`make install' will install all the files in
15061413 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
15101417 For better control, use the options below.
15111418
15121419 Fine tuning of the installation directories:
1513 --bindir=DIR user executables [EPREFIX/bin]
1514 --sbindir=DIR system admin executables [EPREFIX/sbin]
1515 --libexecdir=DIR program executables [EPREFIX/libexec]
1516 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1517 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1518 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1519 --libdir=DIR object code libraries [EPREFIX/lib]
1520 --includedir=DIR C header files [PREFIX/include]
1521 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1522 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1523 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1524 --infodir=DIR info documentation [DATAROOTDIR/info]
1525 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1526 --mandir=DIR man documentation [DATAROOTDIR/man]
1527 --docdir=DIR documentation root [DATAROOTDIR/doc/-llvm-]
1528 --htmldir=DIR html documentation [DOCDIR]
1529 --dvidir=DIR dvi documentation [DOCDIR]
1530 --pdfdir=DIR pdf documentation [DOCDIR]
1531 --psdir=DIR ps documentation [DOCDIR]
1420 --bindir=DIR user executables [EPREFIX/bin]
1421 --sbindir=DIR system admin executables [EPREFIX/sbin]
1422 --libexecdir=DIR program executables [EPREFIX/libexec]
1423 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1424 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1425 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1426 --libdir=DIR object code libraries [EPREFIX/lib]
1427 --includedir=DIR C header files [PREFIX/include]
1428 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1429 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1430 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1431 --infodir=DIR info documentation [DATAROOTDIR/info]
1432 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1433 --mandir=DIR man documentation [DATAROOTDIR/man]
1434 --docdir=DIR documentation root [DATAROOTDIR/doc/-llvm-]
1435 --htmldir=DIR html documentation [DOCDIR]
1436 --dvidir=DIR dvi documentation [DOCDIR]
1437 --pdfdir=DIR pdf documentation [DOCDIR]
1438 --psdir=DIR ps documentation [DOCDIR]
15321439 _ACEOF
15331440
15341441 cat <<\_ACEOF
15471454 cat <<\_ACEOF
15481455
15491456 Optional Features:
1457 --disable-option-checking ignore unrecognized --enable/--with options
15501458 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
15511459 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
15521460 --enable-optimized Compile with optimizations enabled (default is NO)
15801488 --enable-llvmc-dynamic-plugins
15811489 Enable dynamic LLVMC plugins (default is YES)
15821490 --enable-ltdl-install install libltdl
1583 --enable-shared[=PKGS] build shared libraries
1584 [default=yes]
1585 --enable-static[=PKGS] build static libraries
1586 [default=yes]
1587 --enable-fast-install[=PKGS]
1588 optimize for fast installation
1589 [default=yes]
1590 --disable-libtool-lock avoid locking (might break parallel builds)
15911491
15921492 Optional Packages:
15931493 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
16141514 --with-binutils-include Specify path to binutils/include/ containing
16151515 plugin-api.h file for gold plugin.
16161516 --with-tclinclude directory where tcl headers are
1617 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1618 --with-pic try to use only PIC/non-PIC objects [default=use
1619 both]
1620 --with-tags[=TAGS] include additional configurations [automatic]
16211517 --with-udis86= Use udis86 external x86 disassembler library
16221518 --with-oprofile=
16231519 Tell OProfile >= 0.9.4 how to symbolize JIT output
16271523 CFLAGS C compiler flags
16281524 LDFLAGS linker flags, e.g. -L if you have libraries in a
16291525 nonstandard directory
1630 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if
1526 LIBS libraries to pass to the linker, e.g. -l
1527 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if
16311528 you have headers in a nonstandard directory
16321529 CPP C preprocessor
16331530 CXX C++ compiler command
16341531 CXXFLAGS C++ compiler flags
1635 CXXCPP C++ preprocessor
1636 F77 Fortran 77 compiler command
1637 FFLAGS Fortran 77 compiler flags
16381532
16391533 Use these variables to override the choices made by `configure' or to help
16401534 it to find libraries and programs with nonstandard names/locations.
16471541 if test "$ac_init_help" = "recursive"; then
16481542 # If there are subdirs, report their specific --help.
16491543 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1650 test -d "$ac_dir" || continue
1544 test -d "$ac_dir" ||
1545 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1546 continue
16511547 ac_builddir=.
16521548
16531549 case "$ac_dir" in
16541550 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16551551 *)
1656 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1552 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16571553 # A ".." for each directory in $ac_dir_suffix.
1658 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1554 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16591555 case $ac_top_builddir_sub in
16601556 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16611557 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16911587 echo &&
16921588 $SHELL "$ac_srcdir/configure" --help=recursive
16931589 else
1694 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1590 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
16951591 fi || ac_status=$?
16961592 cd "$ac_pwd" || { ac_status=$?; break; }
16971593 done
17011597 if $ac_init_version; then
17021598 cat <<\_ACEOF
17031599 llvm configure 2.7svn
1704 generated by GNU Autoconf 2.60
1705
1706 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1707 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1600 generated by GNU Autoconf 2.65
1601
1602 Copyright (C) 2009 Free Software Foundation, Inc.
17081603 This configure script is free software; the Free Software Foundation
17091604 gives unlimited permission to copy, distribute and modify it.
17101605
17121607 _ACEOF
17131608 exit
17141609 fi
1610
1611 ## ------------------------ ##
1612 ## Autoconf initialization. ##
1613 ## ------------------------ ##
1614
1615 # ac_fn_c_try_compile LINENO
1616 # --------------------------
1617 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1618 ac_fn_c_try_compile ()
1619 {
1620 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1621 rm -f conftest.$ac_objext
1622 if { { ac_try="$ac_compile"
1623 case "(($ac_try" in
1624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1625 *) ac_try_echo=$ac_try;;
1626 esac
1627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1628 $as_echo "$ac_try_echo"; } >&5
1629 (eval "$ac_compile") 2>conftest.err
1630 ac_status=$?
1631 if test -s conftest.err; then
1632 grep -v '^ *+' conftest.err >conftest.er1
1633 cat conftest.er1 >&5
1634 mv -f conftest.er1 conftest.err
1635 fi
1636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1637 test $ac_status = 0; } && {
1638 test -z "$ac_c_werror_flag" ||
1639 test ! -s conftest.err
1640 } && test -s conftest.$ac_objext; then :
1641 ac_retval=0
1642 else
1643 $as_echo "$as_me: failed program was:" >&5
1644 sed 's/^/| /' conftest.$ac_ext >&5
1645
1646 ac_retval=1
1647 fi
1648 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1649 as_fn_set_status $ac_retval
1650
1651 } # ac_fn_c_try_compile
1652
1653 # ac_fn_c_try_run LINENO
1654 # ----------------------
1655 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1656 # that executables *can* be run.
1657 ac_fn_c_try_run ()
1658 {
1659 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1660 if { { ac_try="$ac_link"
1661 case "(($ac_try" in
1662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1663 *) ac_try_echo=$ac_try;;
1664 esac
1665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1666 $as_echo "$ac_try_echo"; } >&5
1667 (eval "$ac_link") 2>&5
1668 ac_status=$?
1669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1670 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1671 { { case "(($ac_try" in
1672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1673 *) ac_try_echo=$ac_try;;
1674 esac
1675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1676 $as_echo "$ac_try_echo"; } >&5
1677 (eval "$ac_try") 2>&5
1678 ac_status=$?
1679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1680 test $ac_status = 0; }; }; then :
1681 ac_retval=0
1682 else
1683 $as_echo "$as_me: program exited with status $ac_status" >&5
1684 $as_echo "$as_me: failed program was:" >&5
1685 sed 's/^/| /' conftest.$ac_ext >&5
1686
1687 ac_retval=$ac_status
1688 fi
1689 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1690 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1691 as_fn_set_status $ac_retval
1692
1693 } # ac_fn_c_try_run
1694
1695 # ac_fn_c_try_cpp LINENO
1696 # ----------------------
1697 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1698 ac_fn_c_try_cpp ()
1699 {
1700 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701 if { { ac_try="$ac_cpp conftest.$ac_ext"
1702 case "(($ac_try" in
1703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1704 *) ac_try_echo=$ac_try;;
1705 esac
1706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1707 $as_echo "$ac_try_echo"; } >&5
1708 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1709 ac_status=$?
1710 if test -s conftest.err; then
1711 grep -v '^ *+' conftest.err >conftest.er1
1712 cat conftest.er1 >&5
1713 mv -f conftest.er1 conftest.err
1714 fi
1715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1716 test $ac_status = 0; } >/dev/null && {
1717 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1718 test ! -s conftest.err
1719 }; then :
1720 ac_retval=0
1721 else
1722 $as_echo "$as_me: failed program was:" >&5
1723 sed 's/^/| /' conftest.$ac_ext >&5
1724
1725 ac_retval=1
1726 fi
1727 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1728 as_fn_set_status $ac_retval
1729
1730 } # ac_fn_c_try_cpp
1731
1732 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1733 # -------------------------------------------------------
1734 # Tests whether HEADER exists and can be compiled using the include files in
1735 # INCLUDES, setting the cache variable VAR accordingly.
1736 ac_fn_c_check_header_compile ()
1737 {
1738 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1740 $as_echo_n "checking for $2... " >&6; }
1741 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1742 $as_echo_n "(cached) " >&6
1743 else
1744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1745 /* end confdefs.h. */
1746 $4
1747 #include <$2>
1748 _ACEOF
1749 if ac_fn_c_try_compile "$LINENO"; then :
1750 eval "$3=yes"
1751 else
1752 eval "$3=no"
1753 fi
1754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1755 fi
1756 eval ac_res=\$$3
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1758 $as_echo "$ac_res" >&6; }
1759 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1760
1761 } # ac_fn_c_check_header_compile
1762
1763 # ac_fn_cxx_try_compile LINENO
1764 # ----------------------------
1765 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1766 ac_fn_cxx_try_compile ()
1767 {
1768 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769 rm -f conftest.$ac_objext
1770 if { { ac_try="$ac_compile"
1771 case "(($ac_try" in
1772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1773 *) ac_try_echo=$ac_try;;
1774 esac
1775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1776 $as_echo "$ac_try_echo"; } >&5
1777 (eval "$ac_compile") 2>conftest.err
1778 ac_status=$?
1779 if test -s conftest.err; then
1780 grep -v '^ *+' conftest.err >conftest.er1
1781 cat conftest.er1 >&5
1782 mv -f conftest.er1 conftest.err
1783 fi
1784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1785 test $ac_status = 0; } && {
1786 test -z "$ac_cxx_werror_flag" ||
1787 test ! -s conftest.err
1788 } && test -s conftest.$ac_objext; then :
1789 ac_retval=0
1790 else
1791 $as_echo "$as_me: failed program was:" >&5
1792 sed 's/^/| /' conftest.$ac_ext >&5
1793
1794 ac_retval=1
1795 fi
1796 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1797 as_fn_set_status $ac_retval
1798
1799 } # ac_fn_cxx_try_compile
1800
1801 # ac_fn_c_try_link LINENO
1802 # -----------------------
1803 # Try to link conftest.$ac_ext, and return whether this succeeded.
1804 ac_fn_c_try_link ()
1805 {
1806 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1807 rm -f conftest.$ac_objext conftest$ac_exeext
1808 if { { ac_try="$ac_link"
1809 case "(($ac_try" in
1810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1811 *) ac_try_echo=$ac_try;;
1812 esac
1813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1814 $as_echo "$ac_try_echo"; } >&5
1815 (eval "$ac_link") 2>conftest.err
1816 ac_status=$?
1817 if test -s conftest.err; then
1818 grep -v '^ *+' conftest.err >conftest.er1
1819 cat conftest.er1 >&5
1820 mv -f conftest.er1 conftest.err
1821 fi
1822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1823 test $ac_status = 0; } && {
1824 test -z "$ac_c_werror_flag" ||
1825 test ! -s conftest.err
1826 } && test -s conftest$ac_exeext && {
1827 test "$cross_compiling" = yes ||
1828 $as_test_x conftest$ac_exeext
1829 }; then :
1830 ac_retval=0
1831 else
1832 $as_echo "$as_me: failed program was:" >&5
1833 sed 's/^/| /' conftest.$ac_ext >&5
1834
1835 ac_retval=1
1836 fi
1837 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1838 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1839 # interfere with the next link command; also delete a directory that is
1840 # left behind by Apple's compiler. We do this before executing the actions.
1841 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1842 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1843 as_fn_set_status $ac_retval
1844
1845 } # ac_fn_c_try_link
1846
1847 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1848 # -------------------------------------------------------
1849 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1850 # the include files in INCLUDES and setting the cache variable VAR
1851 # accordingly.
1852 ac_fn_c_check_header_mongrel ()
1853 {
1854 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1855 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1857 $as_echo_n "checking for $2... " >&6; }
1858 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1859 $as_echo_n "(cached) " >&6
1860 fi
1861 eval ac_res=\$$3
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1863 $as_echo "$ac_res" >&6; }
1864 else
1865 # Is the header compilable?
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1867 $as_echo_n "checking $2 usability... " >&6; }
1868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1869 /* end confdefs.h. */
1870 $4
1871 #include <$2>
1872 _ACEOF
1873 if ac_fn_c_try_compile "$LINENO"; then :
1874 ac_header_compiler=yes
1875 else
1876 ac_header_compiler=no
1877 fi
1878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1880 $as_echo "$ac_header_compiler" >&6; }
1881
1882 # Is the header present?
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1884 $as_echo_n "checking $2 presence... " >&6; }
1885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1886 /* end confdefs.h. */
1887 #include <$2>
1888 _ACEOF
1889 if ac_fn_c_try_cpp "$LINENO"; then :
1890 ac_header_preproc=yes
1891 else
1892 ac_header_preproc=no
1893 fi
1894 rm -f conftest.err conftest.$ac_ext
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1896 $as_echo "$ac_header_preproc" >&6; }
1897
1898 # So? What about this header?
1899 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1900 yes:no: )
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1902 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1904 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1905 ;;
1906 no:yes:* )
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1908 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1910 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1912 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1914 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1916 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1917 ( cat <<\_ASBOX
1918 ## ----------------------------------- ##
1919 ## Report this to llvmbugs@cs.uiuc.edu ##
1920 ## ----------------------------------- ##
1921 _ASBOX
1922 ) | sed "s/^/$as_me: WARNING: /" >&2
1923 ;;
1924 esac
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1926 $as_echo_n "checking for $2... " >&6; }
1927 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1928 $as_echo_n "(cached) " >&6
1929 else
1930 eval "$3=\$ac_header_compiler"
1931 fi
1932 eval ac_res=\$$3
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1934 $as_echo "$ac_res" >&6; }
1935 fi
1936 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1937
1938 } # ac_fn_c_check_header_mongrel
1939
1940 # ac_fn_c_check_func LINENO FUNC VAR
1941 # ----------------------------------
1942 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1943 ac_fn_c_check_func ()
1944 {
1945 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1947 $as_echo_n "checking for $2... " >&6; }
1948 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1949 $as_echo_n "(cached) " >&6
1950 else
1951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1952 /* end confdefs.h. */
1953 /* Define $2 to an innocuous variant, in case declares $2.
1954 For example, HP-UX 11i declares gettimeofday. */
1955 #define $2 innocuous_$2
1956
1957 /* System header to define __stub macros and hopefully few prototypes,
1958 which can conflict with char $2 (); below.
1959 Prefer to if __STDC__ is defined, since
1960 exists even on freestanding compilers. */
1961
1962 #ifdef __STDC__
1963 # include
1964 #else
1965 # include
1966 #endif
1967
1968 #undef $2
1969
1970 /* Override any GCC internal prototype to avoid an error.
1971 Use char because int might match the return type of a GCC
1972 builtin and then its argument prototype would still apply. */
1973 #ifdef __cplusplus
1974 extern "C"
1975 #endif
1976 char $2 ();
1977 /* The GNU C library defines this for functions which it implements
1978 to always fail with ENOSYS. Some functions are actually named
1979 something starting with __ and the normal name is an alias. */
1980 #if defined __stub_$2 || defined __stub___$2
1981 choke me
1982 #endif
1983
1984 int
1985 main ()
1986 {
1987 return $2 ();
1988 ;
1989 return 0;
1990 }
1991 _ACEOF
1992 if ac_fn_c_try_link "$LINENO"; then :
1993 eval "$3=yes"
1994 else
1995 eval "$3=no"
1996 fi
1997 rm -f core conftest.err conftest.$ac_objext \
1998 conftest$ac_exeext conftest.$ac_ext
1999 fi
2000 eval ac_res=\$$3
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2002 $as_echo "$ac_res" >&6; }
2003 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2004
2005 } # ac_fn_c_check_func
2006
2007 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2008 # -------------------------------------------
2009 # Tests whether TYPE exists after having included INCLUDES, setting cache
2010 # variable VAR accordingly.
2011 ac_fn_c_check_type ()
2012 {
2013 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2015 $as_echo_n "checking for $2... " >&6; }
2016 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2017 $as_echo_n "(cached) " >&6
2018 else
2019 eval "$3=no"
2020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2021 /* end confdefs.h. */
2022 $4
2023 int
2024 main ()
2025 {
2026 if (sizeof ($2))
2027 return 0;
2028 ;
2029 return 0;
2030 }
2031 _ACEOF
2032 if ac_fn_c_try_compile "$LINENO"; then :
2033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2034 /* end confdefs.h. */
2035 $4
2036 int
2037 main ()
2038 {
2039 if (sizeof (($2)))
2040 return 0;
2041 ;
2042 return 0;
2043 }
2044 _ACEOF
2045 if ac_fn_c_try_compile "$LINENO"; then :
2046
2047 else
2048 eval "$3=yes"
2049 fi
2050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2051 fi
2052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2053 fi
2054 eval ac_res=\$$3
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2056 $as_echo "$ac_res" >&6; }
2057 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2058
2059 } # ac_fn_c_check_type
2060
2061 # ac_fn_cxx_try_run LINENO
2062 # ------------------------
2063 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2064 # that executables *can* be run.
2065 ac_fn_cxx_try_run ()
2066 {
2067 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2068 if { { ac_try="$ac_link"
2069 case "(($ac_try" in
2070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2071 *) ac_try_echo=$ac_try;;
2072 esac
2073 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2074 $as_echo "$ac_try_echo"; } >&5
2075 (eval "$ac_link") 2>&5
2076 ac_status=$?
2077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2078 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2079 { { case "(($ac_try" in
2080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2081 *) ac_try_echo=$ac_try;;
2082 esac
2083 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2084 $as_echo "$ac_try_echo"; } >&5
2085 (eval "$ac_try") 2>&5
2086 ac_status=$?
2087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2088 test $ac_status = 0; }; }; then :
2089 ac_retval=0
2090 else
2091 $as_echo "$as_me: program exited with status $ac_status" >&5
2092 $as_echo "$as_me: failed program was:" >&5
2093 sed 's/^/| /' conftest.$ac_ext >&5
2094
2095 ac_retval=$ac_status
2096 fi
2097 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2098 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2099 as_fn_set_status $ac_retval
2100
2101 } # ac_fn_cxx_try_run
17152102 cat >config.log <<_ACEOF
17162103 This file contains any messages produced by compilers while
17172104 running configure, to aid debugging if configure makes a mistake.
17182105
17192106 It was created by llvm $as_me 2.7svn, which was
1720 generated by GNU Autoconf 2.60. Invocation command line was
2107 generated by GNU Autoconf 2.65. Invocation command line was
17212108
17222109 $ $0 $@
17232110
17532140 do
17542141 IFS=$as_save_IFS
17552142 test -z "$as_dir" && as_dir=.
1756 echo "PATH: $as_dir"
1757 done
2143 $as_echo "PATH: $as_dir"
2144 done
17582145 IFS=$as_save_IFS
17592146
17602147 } >&5
17882175 | -silent | --silent | --silen | --sile | --sil)
17892176 continue ;;
17902177 *\'*)
1791 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2178 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
17922179 esac
17932180 case $ac_pass in
1794 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2181 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
17952182 2)
1796 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2183 as_fn_append ac_configure_args1 " '$ac_arg'"
17972184 if test $ac_must_keep_next = true; then
17982185 ac_must_keep_next=false # Got value, back to normal.
17992186 else
18092196 -* ) ac_must_keep_next=true ;;
18102197 esac
18112198 fi
1812 ac_configure_args="$ac_configure_args '$ac_arg'"
2199 as_fn_append ac_configure_args " '$ac_arg'"
18132200 ;;
18142201 esac
18152202 done
18162203 done
1817 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1818 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2204 { ac_configure_args0=; unset ac_configure_args0;}
2205 { ac_configure_args1=; unset ac_configure_args1;}
18192206
18202207 # When interrupted or exit'd, cleanup temporary files, and complete
18212208 # config.log. We remove comments because anyway the quotes in there
18402227 case $ac_val in #(
18412228 *${as_nl}*)
18422229 case $ac_var in #(
1843 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1844 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2230 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2231 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18452232 esac
18462233 case $ac_var in #(
18472234 _ | IFS | as_nl) ;; #(
1848 *) $as_unset $ac_var ;;
2235 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2236 *) { eval $ac_var=; unset $ac_var;} ;;
18492237 esac ;;
18502238 esac
18512239 done
18742262 do
18752263 eval ac_val=\$$ac_var
18762264 case $ac_val in
1877 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2265 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
18782266 esac
1879 echo "$ac_var='\''$ac_val'\''"
2267 $as_echo "$ac_var='\''$ac_val'\''"
18802268 done | sort
18812269 echo
18822270
18912279 do
18922280 eval ac_val=\$$ac_var
18932281 case $ac_val in
1894 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2282 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
18952283 esac
1896 echo "$ac_var='\''$ac_val'\''"
2284 $as_echo "$ac_var='\''$ac_val'\''"
18972285 done | sort
18982286 echo
18992287 fi
19092297 echo
19102298 fi
19112299 test "$ac_signal" != 0 &&
1912 echo "$as_me: caught signal $ac_signal"
1913 echo "$as_me: exit $exit_status"
2300 $as_echo "$as_me: caught signal $ac_signal"
2301 $as_echo "$as_me: exit $exit_status"
19142302 } >&5
19152303 rm -f core *.core core.conftest.* &&
19162304 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
19172305 exit $exit_status
19182306 ' 0
19192307 for ac_signal in 1 2 13 15; do
1920 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2308 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
19212309 done
19222310 ac_signal=0
19232311
19242312 # confdefs.h avoids OS command line length limits that DEFS can exceed.
19252313 rm -f -r conftest* confdefs.h
19262314
2315 $as_echo "/* confdefs.h */" > confdefs.h
2316
19272317 # Predefined preprocessor variables.
19282318
19292319 cat >>confdefs.h <<_ACEOF
19302320 #define PACKAGE_NAME "$PACKAGE_NAME"
19312321 _ACEOF
19322322
1933
19342323 cat >>confdefs.h <<_ACEOF
19352324 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
19362325 _ACEOF
19372326
1938
19392327 cat >>confdefs.h <<_ACEOF
19402328 #define PACKAGE_VERSION "$PACKAGE_VERSION"
19412329 _ACEOF
19422330
1943
19442331 cat >>confdefs.h <<_ACEOF
19452332 #define PACKAGE_STRING "$PACKAGE_STRING"
19462333 _ACEOF
19472334
1948
19492335 cat >>confdefs.h <<_ACEOF
19502336 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
19512337 _ACEOF
19522338
2339 cat >>confdefs.h <<_ACEOF
2340 #define PACKAGE_URL "$PACKAGE_URL"
2341 _ACEOF
2342
19532343
19542344 # Let the site file select an alternate cache file if it wants to.
1955 # Prefer explicitly selected file to automatically selected ones.
2345 # Prefer an explicitly selected file to automatically selected ones.
2346 ac_site_file1=NONE
2347 ac_site_file2=NONE
19562348 if test -n "$CONFIG_SITE"; then
1957 set x "$CONFIG_SITE"
2349 ac_site_file1=$CONFIG_SITE
19582350 elif test "x$prefix" != xNONE; then
1959 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1960 else
1961 set x "$ac_default_prefix/share/config.site" \
1962 "$ac_default_prefix/etc/config.site"
1963 fi
1964 shift
1965 for ac_site_file
2351 ac_site_file1=$prefix/share/config.site
2352 ac_site_file2=$prefix/etc/config.site
2353 else
2354 ac_site_file1=$ac_default_prefix/share/config.site
2355 ac_site_file2=$ac_default_prefix/etc/config.site
2356 fi
2357 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
19662358 do
1967 if test -r "$ac_site_file"; then
1968 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1969 echo "$as_me: loading site script $ac_site_file" >&6;}
2359 test "x$ac_site_file" = xNONE && continue
2360 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2362 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
19702363 sed 's/^/| /' "$ac_site_file" >&5
19712364 . "$ac_site_file"
19722365 fi
19732366 done
19742367
19752368 if test -r "$cache_file"; then
1976 # Some versions of bash will fail to source /dev/null (special
1977 # files actually), so we avoid doing that.
1978 if test -f "$cache_file"; then
1979 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1980 echo "$as_me: loading cache $cache_file" >&6;}
2369 # Some versions of bash will fail to source /dev/null (special files
2370 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2371 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2373 $as_echo "$as_me: loading cache $cache_file" >&6;}
19812374 case $cache_file in
19822375 [\\/]* | ?:[\\/]* ) . "$cache_file";;
19832376 *) . "./$cache_file";;
19842377 esac
19852378 fi
19862379 else
1987 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1988 echo "$as_me: creating cache $cache_file" >&6;}
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2381 $as_echo "$as_me: creating cache $cache_file" >&6;}
19892382 >$cache_file
19902383 fi
19912384
2385 as_fn_append ac_header_list " stdlib.h"
2386 as_fn_append ac_header_list " unistd.h"
2387 as_fn_append ac_header_list " sys/param.h"
19922388 # Check that the precious variables saved in the cache have kept the same
19932389 # value.
19942390 ac_cache_corrupted=false
19992395 eval ac_new_val=\$ac_env_${ac_var}_value
20002396 case $ac_old_set,$ac_new_set in
20012397 set,)
2002 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2003 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2399 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
20042400 ac_cache_corrupted=: ;;
20052401 ,set)
2006 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2007 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2403 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
20082404 ac_cache_corrupted=: ;;
20092405 ,);;
20102406 *)
20112407 if test "x$ac_old_val" != "x$ac_new_val"; then
2012 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2013 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2014 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2015 echo "$as_me: former value: $ac_old_val" >&2;}
2016 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2017 echo "$as_me: current value: $ac_new_val" >&2;}
2018 ac_cache_corrupted=:
2408 # differences in whitespace do not lead to failure.
2409 ac_old_val_w=`echo x $ac_old_val`
2410 ac_new_val_w=`echo x $ac_new_val`
2411 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2413 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2414 ac_cache_corrupted=:
2415 else
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2417 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2418 eval $ac_var=\$ac_old_val
2419 fi
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2421 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2423 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
20192424 fi;;
20202425 esac
20212426 # Pass precious variables to config.status.
20222427 if test "$ac_new_set" = set; then
20232428 case $ac_new_val in
2024 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2429 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
20252430 *) ac_arg=$ac_var=$ac_new_val ;;
20262431 esac
20272432 case " $ac_configure_args " in
20282433 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2029 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2434 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
20302435 esac
20312436 fi
20322437 done
20332438 if $ac_cache_corrupted; then
2034 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2035 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2036 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2037 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2038 { (exit 1); exit 1; }; }
2039 fi
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2442 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2443 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2444 fi
2445 ## -------------------- ##
2446 ## Main body of script. ##
2447 ## -------------------- ##
20642448
20652449 ac_ext=c
20662450 ac_cpp='$CPP $CPPFLAGS'
20802464
20812465 ac_aux_dir=
20822466 for ac_dir in autoconf "$srcdir"/autoconf; do
2083 if test -f "$ac_dir/install-sh"; then
2084 ac_aux_dir=$ac_dir
2085 ac_install_sh="$ac_aux_dir/install-sh -c"
2086 break
2087 elif test -f "$ac_dir/install.sh"; then
2088 ac_aux_dir=$ac_dir
2089 ac_install_sh="$ac_aux_dir/install.sh -c"
2090 break
2091 elif test -f "$ac_dir/shtool"; then
2092 ac_aux_dir=$ac_dir
2093 ac_install_sh="$ac_aux_dir/shtool install -c"
2094 break
2095 fi
2467 for ac_t in install-sh install.sh shtool; do
2468 if test -f "$ac_dir/$ac_t"; then
2469 ac_aux_dir=$ac_dir
2470 ac_install_sh="$ac_aux_dir/$ac_t -c"
2471 break 2
2472 fi
2473 done
20962474 done
20972475 if test -z "$ac_aux_dir"; then
2098 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
2099 echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
2100 { (exit 1); exit 1; }; }
2476 as_fn_error "cannot find install-sh, install.sh, or shtool in autoconf \"$srcdir\"/autoconf" "$LINENO" 5
21012477 fi
21022478
21032479 # These three variables are undocumented and unsupported,
21102486
21112487
21122488
2489
21132490 if test ${srcdir} != "." ; then
21142491 if test -f ${srcdir}/include/llvm/Config/config.h ; then
2115 { { echo "$as_me:$LINENO: error: Already configured in ${srcdir}" >&5
2116 echo "$as_me: error: Already configured in ${srcdir}" >&2;}
2117 { (exit 1); exit 1; }; }
2492 as_fn_error "Already configured in ${srcdir}" "$LINENO" 5
21182493 fi
21192494 fi
21202495
21232498 if test -d ${srcdir}/projects/${i} ; then
21242499 case ${i} in
21252500 CVS) ;;
2126 sample) subdirs="$subdirs projects/sample"
2501 sample)
2502
2503 subdirs="$subdirs projects/sample"
21272504 ;;
21282505 privbracket) subdirs="$subdirs projects/privbracket"
21292506 ;;
21502527 llvm-kernel) subdirs="$subdirs projects/llvm-kernel"
21512528 ;;
21522529 *)
2153 { echo "$as_me:$LINENO: WARNING: Unknown project (${i}) won't be configured automatically" >&5
2154 echo "$as_me: WARNING: Unknown project (${i}) won't be configured automatically" >&2;}
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unknown project (${i}) won't be configured automatically" >&5
2531 $as_echo "$as_me: WARNING: Unknown project (${i}) won't be configured automatically" >&2;}
21552532 ;;
21562533 esac
21572534 fi
21602537
21612538 # Make sure we can run config.sub.
21622539 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2163 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2164 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2165 { (exit 1); exit 1; }; }
2166
2167 { echo "$as_me:$LINENO: checking build system type" >&5
2168 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2169 if test "${ac_cv_build+set}" = set; then
2170 echo $ECHO_N "(cached) $ECHO_C" >&6
2540 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2541
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2543 $as_echo_n "checking build system type... " >&6; }
2544 if test "${ac_cv_build+set}" = set; then :
2545 $as_echo_n "(cached) " >&6
21712546 else
21722547 ac_build_alias=$build_alias
21732548 test "x$ac_build_alias" = x &&
21742549 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
21752550 test "x$ac_build_alias" = x &&
2176 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2177 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2178 { (exit 1); exit 1; }; }
2551 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
21792552 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2180 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2181 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2182 { (exit 1); exit 1; }; }
2183
2184 fi
2185 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2186 echo "${ECHO_T}$ac_cv_build" >&6; }
2553 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2554
2555 fi
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2557 $as_echo "$ac_cv_build" >&6; }
21872558 case $ac_cv_build in
21882559 *-*-*) ;;
2189 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2190 echo "$as_me: error: invalid value of canonical build" >&2;}
2191 { (exit 1); exit 1; }; };;
2560 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
21922561 esac
21932562 build=$ac_cv_build
21942563 ac_save_IFS=$IFS; IFS='-'
22042573 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
22052574
22062575
2207 { echo "$as_me:$LINENO: checking host system type" >&5
2208 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2209 if test "${ac_cv_host+set}" = set; then
2210 echo $ECHO_N "(cached) $ECHO_C" >&6
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2577 $as_echo_n "checking host system type... " >&6; }
2578 if test "${ac_cv_host+set}" = set; then :
2579 $as_echo_n "(cached) " >&6
22112580 else
22122581 if test "x$host_alias" = x; then
22132582 ac_cv_host=$ac_cv_build
22142583 else
22152584 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2216 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2217 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2218 { (exit 1); exit 1; }; }
2219 fi
2220
2221 fi
2222 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2223 echo "${ECHO_T}$ac_cv_host" >&6; }
2585 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2586 fi
2587
2588 fi
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2590 $as_echo "$ac_cv_host" >&6; }
22242591 case $ac_cv_host in
22252592 *-*-*) ;;
2226 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2227 echo "$as_me: error: invalid value of canonical host" >&2;}
2228 { (exit 1); exit 1; }; };;
2593 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
22292594 esac
22302595 host=$ac_cv_host
22312596 ac_save_IFS=$IFS; IFS='-'
22412606 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
22422607
22432608
2244 { echo "$as_me:$LINENO: checking target system type" >&5
2245 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2246 if test "${ac_cv_target+set}" = set; then
2247 echo $ECHO_N "(cached) $ECHO_C" >&6
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2610 $as_echo_n "checking target system type... " >&6; }
2611 if test "${ac_cv_target+set}" = set; then :
2612 $as_echo_n "(cached) " >&6
22482613 else
22492614 if test "x$target_alias" = x; then
22502615 ac_cv_target=$ac_cv_host
22512616 else
22522617 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2253 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2254 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2255 { (exit 1); exit 1; }; }
2256 fi
2257
2258 fi
2259 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2260 echo "${ECHO_T}$ac_cv_target" >&6; }
2618 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2619 fi
2620
2621 fi
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2623 $as_echo "$ac_cv_target" >&6; }
22612624 case $ac_cv_target in
22622625 *-*-*) ;;
2263 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2264 echo "$as_me: error: invalid value of canonical target" >&2;}
2265 { (exit 1); exit 1; }; };;
2626 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
22662627 esac
22672628 target=$ac_cv_target
22682629 ac_save_IFS=$IFS; IFS='-'
22852646 NONENONEs,x,x, &&
22862647 program_prefix=${target_alias}-
22872648
2288 { echo "$as_me:$LINENO: checking type of operating system we're going to host on" >&5
2289 echo $ECHO_N "checking type of operating system we're going to host on... $ECHO_C" >&6; }
2290 if test "${llvm_cv_os_type+set}" = set; then
2291 echo $ECHO_N "(cached) $ECHO_C" >&6
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking type of operating system we're going to host on" >&5
2650 $as_echo_n "checking type of operating system we're going to host on... " >&6; }
2651 if test "${llvm_cv_os_type+set}" = set; then :
2652 $as_echo_n "(cached) " >&6
22922653 else
22932654 case $host in
22942655 *-*-aix*)
23882749 llvm_cv_platform_type="Unknown" ;;
23892750 esac
23902751 fi
2391 { echo "$as_me:$LINENO: result: $llvm_cv_os_type" >&5
2392 echo "${ECHO_T}$llvm_cv_os_type" >&6; }
2393
2394 { echo "$as_me:$LINENO: checking type of operating system we're going to target" >&5
2395 echo $ECHO_N "checking type of operating system we're going to target... $ECHO_C" >&6; }
2396 if test "${llvm_cv_target_os_type+set}" = set; then
2397 echo $ECHO_N "(cached) $ECHO_C" >&6
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $llvm_cv_os_type" >&5
2753 $as_echo "$llvm_cv_os_type" >&6; }
2754
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking type of operating system we're going to target" >&5
2756 $as_echo_n "checking type of operating system we're going to target... " >&6; }
2757 if test "${llvm_cv_target_os_type+set}" = set; then :
2758 $as_echo_n "(cached) " >&6
23982759 else
23992760 case $target in
24002761 *-*-aix*)
24352796 llvm_cv_target_os_type="Unknown" ;;
24362797 esac
24372798 fi
2438 { echo "$as_me:$LINENO: result: $llvm_cv_target_os_type" >&5
2439 echo "${ECHO_T}$llvm_cv_target_os_type" >&6; }
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $llvm_cv_target_os_type" >&5
2800 $as_echo "$llvm_cv_target_os_type" >&6; }
24402801
24412802 if test "$llvm_cv_os_type" = "Unknown" ; then
2442 { { echo "$as_me:$LINENO: error: Operating system is unknown, configure can't continue" >&5
2443 echo "$as_me: error: Operating system is unknown, configure can't continue" >&2;}
2444 { (exit 1); exit 1; }; }
2803 as_fn_error "Operating system is unknown, configure can't continue" "$LINENO" 5
24452804 fi
24462805
24472806 OS=$llvm_cv_os_type
24592818 case $llvm_cv_platform_type in
24602819 Unix)
24612820
2462 cat >>confdefs.h <<\_ACEOF
2463 #define LLVM_ON_UNIX 1
2464 _ACEOF
2821 $as_echo "#define LLVM_ON_UNIX 1" >>confdefs.h
24652822
24662823 LLVM_ON_UNIX=1
24672824
24702827 ;;
24712828 Win32)
24722829
2473 cat >>confdefs.h <<\_ACEOF
2474 #define LLVM_ON_WIN32 1
2475 _ACEOF
2830 $as_echo "#define LLVM_ON_WIN32 1" >>confdefs.h
24762831
24772832 LLVM_ON_UNIX=0
24782833
24812836 ;;
24822837 esac
24832838
2484 { echo "$as_me:$LINENO: checking target architecture" >&5
2485 echo $ECHO_N "checking target architecture... $ECHO_C" >&6; }
2486 if test "${llvm_cv_target_arch+set}" = set; then
2487 echo $ECHO_N "(cached) $ECHO_C" >&6
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target architecture" >&5
2840 $as_echo_n "checking target architecture... " >&6; }
2841 if test "${llvm_cv_target_arch+set}" = set; then :
2842 $as_echo_n "(cached) " >&6
24882843 else
24892844 case $target in
24902845 i?86-*) llvm_cv_target_arch="x86" ;;
25022857 *) llvm_cv_target_arch="Unknown" ;;
25032858 esac
25042859 fi
2505 { echo "$as_me:$LINENO: result: $llvm_cv_target_arch" >&5
2506 echo "${ECHO_T}$llvm_cv_target_arch" >&6; }
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $llvm_cv_target_arch" >&5
2861 $as_echo "$llvm_cv_target_arch" >&6; }
25072862
25082863 if test "$llvm_cv_target_arch" = "Unknown" ; then
2509 { echo "$as_me:$LINENO: WARNING: Configuring LLVM for an unknown target archicture" >&5
2510 echo "$as_me: WARNING: Configuring LLVM for an unknown target archicture" >&2;}
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Configuring LLVM for an unknown target archicture" >&5
2865 $as_echo "$as_me: WARNING: Configuring LLVM for an unknown target archicture" >&2;}
25112866 fi
25122867
25132868 # Determine the LLVM native architecture for the target
25282883 if test -n "$ac_tool_prefix"; then
25292884 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
25302885 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2531 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2533 if test "${ac_cv_prog_CC+set}" = set; then
2534 echo $ECHO_N "(cached) $ECHO_C" >&6
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2887 $as_echo_n "checking for $ac_word... " >&6; }
2888 if test "${ac_cv_prog_CC+set}" = set; then :
2889 $as_echo_n "(cached) " >&6
25352890 else
25362891 if test -n "$CC"; then
25372892 ac_cv_prog_CC="$CC" # Let the user override the test.
25412896 do
25422897 IFS=$as_save_IFS
25432898 test -z "$as_dir" && as_dir=.
2544 for ac_exec_ext in '' $ac_executable_extensions; do
2545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2899 for ac_exec_ext in '' $ac_executable_extensions; do
2900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25462901 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25482903 break 2
25492904 fi
25502905 done
2551 done
2906 done
25522907 IFS=$as_save_IFS
25532908
25542909 fi
25552910 fi
25562911 CC=$ac_cv_prog_CC
25572912 if test -n "$CC"; then
2558 { echo "$as_me:$LINENO: result: $CC" >&5
2559 echo "${ECHO_T}$CC" >&6; }
2560 else
2561 { echo "$as_me:$LINENO: result: no" >&5
2562 echo "${ECHO_T}no" >&6; }
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2914 $as_echo "$CC" >&6; }
2915 else
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2917 $as_echo "no" >&6; }
25632918 fi
25642919
25652920
25682923 ac_ct_CC=$CC
25692924 # Extract the first word of "gcc", so it can be a program name with args.
25702925 set dummy gcc; ac_word=$2
2571 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2573 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2574 echo $ECHO_N "(cached) $ECHO_C" >&6
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2927 $as_echo_n "checking for $ac_word... " >&6; }
2928 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2929 $as_echo_n "(cached) " >&6
25752930 else
25762931 if test -n "$ac_ct_CC"; then
25772932 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
25812936 do
25822937 IFS=$as_save_IFS
25832938 test -z "$as_dir" && as_dir=.
2584 for ac_exec_ext in '' $ac_executable_extensions; do
2585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2939 for ac_exec_ext in '' $ac_executable_extensions; do
2940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25862941 ac_cv_prog_ac_ct_CC="gcc"
2587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25882943 break 2
25892944 fi
25902945 done
2591 done
2946 done
25922947 IFS=$as_save_IFS
25932948
25942949 fi
25952950 fi
25962951 ac_ct_CC=$ac_cv_prog_ac_ct_CC
25972952 if test -n "$ac_ct_CC"; then
2598 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2599 echo "${ECHO_T}$ac_ct_CC" >&6; }
2600 else
2601 { echo "$as_me:$LINENO: result: no" >&5
2602 echo "${ECHO_T}no" >&6; }
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2954 $as_echo "$ac_ct_CC" >&6; }
2955 else
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2957 $as_echo "no" >&6; }
26032958 fi
26042959
26052960 if test "x$ac_ct_CC" = x; then
26072962 else
26082963 case $cross_compiling:$ac_tool_warned in
26092964 yes:)
2610 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2611 whose name does not start with the host triplet. If you think this
2612 configuration is useful to you, please write to autoconf@gnu.org." >&5
2613 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2614 whose name does not start with the host triplet. If you think this
2615 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26162967 ac_tool_warned=yes ;;
26172968 esac
26182969 CC=$ac_ct_CC
26252976 if test -n "$ac_tool_prefix"; then
26262977 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
26272978 set dummy ${ac_tool_prefix}cc; ac_word=$2
2628 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2630 if test "${ac_cv_prog_CC+set}" = set; then
2631 echo $ECHO_N "(cached) $ECHO_C" >&6
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2980 $as_echo_n "checking for $ac_word... " >&6; }
2981 if test "${ac_cv_prog_CC+set}" = set; then :
2982 $as_echo_n "(cached) " >&6
26322983 else
26332984 if test -n "$CC"; then
26342985 ac_cv_prog_CC="$CC" # Let the user override the test.
26382989 do
26392990 IFS=$as_save_IFS
26402991 test -z "$as_dir" && as_dir=.
2641 for ac_exec_ext in '' $ac_executable_extensions; do
2642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2992 for ac_exec_ext in '' $ac_executable_extensions; do
2993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26432994 ac_cv_prog_CC="${ac_tool_prefix}cc"
2644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26452996 break 2
26462997 fi
26472998 done
2648 done
2999 done
26493000 IFS=$as_save_IFS
26503001
26513002 fi
26523003 fi
26533004 CC=$ac_cv_prog_CC
26543005 if test -n "$CC"; then
2655 { echo "$as_me:$LINENO: result: $CC" >&5
2656 echo "${ECHO_T}$CC" >&6; }
2657 else
2658 { echo "$as_me:$LINENO: result: no" >&5
2659 echo "${ECHO_T}no" >&6; }
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3007 $as_echo "$CC" >&6; }
3008 else
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3010 $as_echo "no" >&6; }
26603011 fi
26613012
26623013
26653016 if test -z "$CC"; then
26663017 # Extract the first word of "cc", so it can be a program name with args.
26673018 set dummy cc; ac_word=$2
2668 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2670 if test "${ac_cv_prog_CC+set}" = set; then
2671 echo $ECHO_N "(cached) $ECHO_C" >&6
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3020 $as_echo_n "checking for $ac_word... " >&6; }
3021 if test "${ac_cv_prog_CC+set}" = set; then :
3022 $as_echo_n "(cached) " >&6
26723023 else
26733024 if test -n "$CC"; then
26743025 ac_cv_prog_CC="$CC" # Let the user override the test.
26793030 do
26803031 IFS=$as_save_IFS
26813032 test -z "$as_dir" && as_dir=.
2682 for ac_exec_ext in '' $ac_executable_extensions; do
2683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3033 for ac_exec_ext in '' $ac_executable_extensions; do
3034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26843035 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
26853036 ac_prog_rejected=yes
26863037 continue
26873038 fi
26883039 ac_cv_prog_CC="cc"
2689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26903041 break 2
26913042 fi
26923043 done
2693 done
3044 done
26943045 IFS=$as_save_IFS
26953046
26963047 if test $ac_prog_rejected = yes; then
27093060 fi
27103061 CC=$ac_cv_prog_CC
27113062 if test -n "$CC"; then
2712 { echo "$as_me:$LINENO: result: $CC" >&5
2713 echo "${ECHO_T}$CC" >&6; }
2714 else
2715 { echo "$as_me:$LINENO: result: no" >&5
2716 echo "${ECHO_T}no" >&6; }
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3064 $as_echo "$CC" >&6; }
3065 else
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3067 $as_echo "no" >&6; }
27173068 fi
27183069
27193070
27243075 do
27253076 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
27263077 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2727 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2729 if test "${ac_cv_prog_CC+set}" = set; then
2730 echo $ECHO_N "(cached) $ECHO_C" >&6
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3079 $as_echo_n "checking for $ac_word... " >&6; }
3080 if test "${ac_cv_prog_CC+set}" = set; then :
3081 $as_echo_n "(cached) " >&6
27313082 else
27323083 if test -n "$CC"; then
27333084 ac_cv_prog_CC="$CC" # Let the user override the test.
27373088 do
27383089 IFS=$as_save_IFS
27393090 test -z "$as_dir" && as_dir=.
2740 for ac_exec_ext in '' $ac_executable_extensions; do
2741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3091 for ac_exec_ext in '' $ac_executable_extensions; do
3092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27423093 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27443095 break 2
27453096 fi
27463097 done
2747 done
3098 done
27483099 IFS=$as_save_IFS
27493100
27503101 fi
27513102 fi
27523103 CC=$ac_cv_prog_CC
27533104 if test -n "$CC"; then
2754 { echo "$as_me:$LINENO: result: $CC" >&5
2755 echo "${ECHO_T}$CC" >&6; }
2756 else
2757 { echo "$as_me:$LINENO: result: no" >&5
2758 echo "${ECHO_T}no" >&6; }
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3106 $as_echo "$CC" >&6; }
3107 else
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3109 $as_echo "no" >&6; }
27593110 fi
27603111
27613112
27683119 do
27693120 # Extract the first word of "$ac_prog", so it can be a program name with args.
27703121 set dummy $ac_prog; ac_word=$2
2771 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2773 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2774 echo $ECHO_N "(cached) $ECHO_C" >&6
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3123 $as_echo_n "checking for $ac_word... " >&6; }
3124 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3125 $as_echo_n "(cached) " >&6
27753126 else
27763127 if test -n "$ac_ct_CC"; then
27773128 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
27813132 do
27823133 IFS=$as_save_IFS
27833134 test -z "$as_dir" && as_dir=.
2784 for ac_exec_ext in '' $ac_executable_extensions; do
2785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3135 for ac_exec_ext in '' $ac_executable_extensions; do
3136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27863137 ac_cv_prog_ac_ct_CC="$ac_prog"
2787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27883139 break 2
27893140 fi
27903141 done
2791 done
3142 done
27923143 IFS=$as_save_IFS
27933144
27943145 fi
27953146 fi
27963147 ac_ct_CC=$ac_cv_prog_ac_ct_CC
27973148 if test -n "$ac_ct_CC"; then
2798 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2799 echo "${ECHO_T}$ac_ct_CC" >&6; }
2800 else
2801 { echo "$as_me:$LINENO: result: no" >&5
2802 echo "${ECHO_T}no" >&6; }
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3150 $as_echo "$ac_ct_CC" >&6; }
3151 else
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3153 $as_echo "no" >&6; }
28033154 fi
28043155
28053156
28113162 else
28123163 case $cross_compiling:$ac_tool_warned in
28133164 yes:)
2814 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2815 whose name does not start with the host triplet. If you think this
2816 configuration is useful to you, please write to autoconf@gnu.org." >&5
2817 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2818 whose name does not start with the host triplet. If you think this
2819 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3166 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28203167 ac_tool_warned=yes ;;
28213168 esac
28223169 CC=$ac_ct_CC
28263173 fi
28273174
28283175
2829 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2830 See \`config.log' for more details." >&5
2831 echo "$as_me: error: no acceptable C compiler found in \$PATH
2832 See \`config.log' for more details." >&2;}
2833 { (exit 1); exit 1; }; }
3176 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3177 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3178 as_fn_error "no acceptable C compiler found in \$PATH
3179 See \`config.log' for more details." "$LINENO" 5; }
28343180
28353181 # Provide some information about the compiler.
2836 echo "$as_me:$LINENO: checking for C compiler version" >&5
2837 ac_compiler=`set X $ac_compile; echo $2`
2838 { (ac_try="$ac_compiler --version >&5"
3182 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3183 set X $ac_compile
3184 ac_compiler=$2
3185 for ac_option in --version -v -V -qversion; do
3186 { { ac_try="$ac_compiler $ac_option >&5"
28393187 case "(($ac_try" in
28403188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28413189 *) ac_try_echo=$ac_try;;
28423190 esac
2843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2844 (eval "$ac_compiler --version >&5") 2>&5
3191 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3192 $as_echo "$ac_try_echo"; } >&5
3193 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
28453194 ac_status=$?
2846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2847 (exit $ac_status); }
2848 { (ac_try="$ac_compiler -v >&5"
3195 if test -s conftest.err; then
3196 sed '10a\
3197 ... rest of stderr output deleted ...
3198 10q' conftest.err >conftest.er1
3199 cat conftest.er1 >&5
3200 fi
3201 rm -f conftest.er1 conftest.err
3202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3203 test $ac_status = 0; }
3204 done
3205
3206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3207 /* end confdefs.h. */
3208
3209 int
3210 main ()
3211 {
3212
3213 ;
3214 return 0;
3215 }
3216 _ACEOF
3217 ac_clean_files_save=$ac_clean_files
3218 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3219 # Try to create an executable without -o first, disregard a.out.
3220 # It will help us diagnose broken compilers, and finding out an intuition
3221 # of exeext.
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3223 $as_echo_n "checking whether the C compiler works... " >&6; }
3224 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3225
3226 # The possible output files:
3227 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3228
3229 ac_rmfiles=
3230 for ac_file in $ac_files
3231 do
3232 case $ac_file in
3233 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3234 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3235 esac
3236 done
3237 rm -f $ac_rmfiles
3238
3239 if { { ac_try="$ac_link_default"
28493240 case "(($ac_try" in
28503241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28513242 *) ac_try_echo=$ac_try;;
28523243 esac
2853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2854 (eval "$ac_compiler -v >&5") 2>&5
2855 ac_status=$?
2856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2857 (exit $ac_status); }
2858 { (ac_try="$ac_compiler -V >&5"
2859 case "(($ac_try" in
2860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2861 *) ac_try_echo=$ac_try;;
2862 esac
2863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2864 (eval "$ac_compiler -V >&5") 2>&5
2865 ac_status=$?
2866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867 (exit $ac_status); }
2868
2869 cat >conftest.$ac_ext <<_ACEOF
2870 /* confdefs.h. */
2871 _ACEOF
2872 cat confdefs.h >>conftest.$ac_ext
2873 cat >>conftest.$ac_ext <<_ACEOF
2874 /* end confdefs.h. */
2875
2876 int
2877 main ()
2878 {
2879
2880 ;
2881 return 0;
2882 }
2883 _ACEOF
2884 ac_clean_files_save=$ac_clean_files
2885 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2886 # Try to create an executable without -o first, disregard a.out.
2887 # It will help us diagnose broken compilers, and finding out an intuition
2888 # of exeext.
2889 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2890 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2891 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2892 #
2893 # List of possible output files, starting from the most likely.
2894 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2895 # only as a last resort. b.out is created by i960 compilers.
2896 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2897 #
2898 # The IRIX 6 linker writes into existing files which may not be
2899 # executable, retaining their permissions. Remove them first so a
2900 # subsequent execution test works.
2901 ac_rmfiles=
2902 for ac_file in $ac_files
2903 do
2904 case $ac_file in
2905