llvm.org GIT mirror llvm / 1611ebb
Reconfigure with autoconf-2.60, and fix autoconf.ac to work with that version. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95191 91177308-0d34-0410-b5e6-96231b3b80d8 Jeffrey Yasskin 10 years ago
3 changed file(s) with 11966 addition(s) and 4781 deletion(s). Raw diff Collapse all Expand all
4848 dnl Place all of the extra autoconf files into the config subdirectory. Tell
4949 dnl various tools where the m4 autoconf macros are.
5050 AC_CONFIG_AUX_DIR([autoconf])
51 AC_CONFIG_MACRO_DIR([m4])
5251
5352 dnl Quit if the source directory has already been configured.
5453 dnl NOTE: This relies upon undocumented autoconf behavior.
+11966
-4762
configure less more
0 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.65 for llvm 2.7svn.
2 # Generated by GNU Autoconf 2.60 for llvm 2.7svn.
33 #
44 # Report bugs to .
55 #
6 #
76 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
9 # Inc.
10 #
11 #
7 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
128 # This configure script is free software; the Free Software Foundation
139 # gives unlimited permission to copy, distribute and modify it.
1410 #
1511 # Copyright (c) 2003-2009 University of Illinois at Urbana-Champaign.
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 :
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be Bourne compatible
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2318 emulate sh
2419 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2621 # is contrary to our usage. Disable this feature.
2722 alias -g '${1+"$@"}'='"$@"'
2823 setopt NO_GLOB_SUBST
2924 else
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
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
7638
7739 # The user is always right.
7840 if test "${PATH_SEPARATOR+set}" != set; then
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 }
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
8457 fi
8558
8659
8962 # there to prevent editors from complaining about space-tab.
9063 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9164 # splitting by setting IFS to empty value.)
65 as_nl='
66 '
9267 IFS=" "" $as_nl"
9368
9469 # Find who we are. Look in the path if we contain no directory separator.
95 case $0 in #((
70 case $0 in
9671 *[\\/]* ) as_myself=$0 ;;
9772 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9873 for as_dir in $PATH
9974 do
10075 IFS=$as_save_IFS
10176 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 done
77 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
78 done
10479 IFS=$as_save_IFS
10580
10681 ;;
11186 as_myself=$0
11287 fi
11388 if test ! -f "$as_myself"; then
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 || :
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
12596 done
12697 PS1='$ '
12798 PS2='> '
12899 PS4='+ '
129100
130101 # NLS nuisances.
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
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
189106 do
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
107 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
108 eval $as_var=C; export $as_var
109 else
110 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
111 fi
208112 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."
233 else
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
113
114 # Required to use basename.
379115 if expr a : '\(a\)' >/dev/null 2>&1 &&
380116 test "X`expr 00001 : '.*\(...\)'`" = X001; then
381117 as_expr=expr
389125 as_basename=false
390126 fi
391127
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
128
129 # Name of the executable.
398130 as_me=`$as_basename -- "$0" ||
399131 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
400132 X"$0" : 'X\(//\)$' \| \
401133 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 $as_echo X/"$0" |
134 echo X/"$0" |
403135 sed '/^.*\/\([^/][^/]*\)\/*$/{
404136 s//\1/
405137 q
414146 }
415147 s/.*/./; q'`
416148
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. :-)
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. :-)
430435 sed -n '
431436 p
432437 /[$]LINENO/=
443448 s/-\n.*//
444449 ' >$as_me.lineno &&
445450 chmod +x "$as_me.lineno" ||
446 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
451 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
452 { (exit 1); exit 1; }; }
447453
448454 # Don't try to exec as it changes $[0], causing all sort of problems
449455 # (the dirname of $[0] is not the place where we might find the
453459 exit
454460 }
455461
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
456469 ECHO_C= ECHO_N= ECHO_T=
457 case `echo -n x` in #(((((
470 case `echo -n x` in
458471 -n*)
459 case `echo 'xy\c'` in
472 case `echo 'x\c'` in
460473 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
461 xy) ECHO_C='\c';;
462 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
463 ECHO_T=' ';;
474 *) ECHO_C='\c';;
464475 esac;;
465476 *)
466477 ECHO_N='-n';;
467478 esac
468479
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
469487 rm -f conf$$ conf$$.exe conf$$.file
470488 if test -d conf$$.dir; then
471489 rm -f conf$$.dir/conf$$.file
472490 else
473491 rm -f conf$$.dir
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
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 ||
488502 as_ln_s='cp -p'
489 fi
503 elif ln conf$$.file conf$$ 2>/dev/null; then
504 as_ln_s=ln
490505 else
491506 as_ln_s='cp -p'
492507 fi
494509 rmdir conf$$.dir 2>/dev/null
495510
496511 if mkdir -p . 2>/dev/null; then
497 as_mkdir_p='mkdir -p "$as_dir"'
512 as_mkdir_p=:
498513 else
499514 test -d ./-p && rmdir ./-p
500515 as_mkdir_p=false
501516 fi
502517
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
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
525531
526532 # Sed expression to map a string onto a valid CPP name.
527533 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530536 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
531537
532538
533 test -n "$DJDIR" || exec 7<&0
534 exec 6>&1
539
540 exec 7<&0 &1
535541
536542 # Name of the host.
537543 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
549555 subdirs=
550556 MFLAGS=
551557 MAKEFLAGS=
558 SHELL=${CONFIG_SHELL-/bin/sh}
552559
553560 # Identity of this package.
554561 PACKAGE_NAME='llvm'
556563 PACKAGE_VERSION='2.7svn'
557564 PACKAGE_STRING='llvm 2.7svn'
558565 PACKAGE_BUGREPORT='llvmbugs@cs.uiuc.edu'
559 PACKAGE_URL=''
560566
561567 ac_unique_file="lib/VMCore/Module.cpp"
562 enable_option_checking=no
563568 # Factoring default headers for most tests.
564569 ac_includes_default="\
565570 #include
566 #ifdef HAVE_SYS_TYPES_H
571 #if HAVE_SYS_TYPES_H
567572 # include
568573 #endif
569 #ifdef HAVE_SYS_STAT_H
574 #if HAVE_SYS_STAT_H
570575 # include
571576 #endif
572 #ifdef STDC_HEADERS
577 #if STDC_HEADERS
573578 # include
574579 # include
575580 #else
576 # ifdef HAVE_STDLIB_H
581 # if HAVE_STDLIB_H
577582 # include
578583 # endif
579584 #endif
580 #ifdef HAVE_STRING_H
581 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
585 #if HAVE_STRING_H
586 # if !STDC_HEADERS && HAVE_MEMORY_H
582587 # include
583588 # endif
584589 # include
585590 #endif
586 #ifdef HAVE_STRINGS_H
591 #if HAVE_STRINGS_H
587592 # include
588593 #endif
589 #ifdef HAVE_INTTYPES_H
594 #if HAVE_INTTYPES_H
590595 # include
591596 #endif
592 #ifdef HAVE_STDINT_H
597 #if HAVE_STDINT_H
593598 # include
594599 #endif
595 #ifdef HAVE_UNISTD_H
600 #if HAVE_UNISTD_H
596601 # include
597602 #endif"
598603
599 ac_header_list=
600 ac_subst_vars='LTLIBOBJS
604 ac_subst_vars='SHELL
605 PATH_SEPARATOR
606 PACKAGE_NAME
607 PACKAGE_TARNAME
608 PACKAGE_VERSION
609 PACKAGE_STRING
610 PACKAGE_BUGREPORT
611 exec_prefix
612 prefix
613 program_transform_name
614 bindir
615 sbindir
616 libexecdir
617 datarootdir
618 datadir
619 sysconfdir
620 sharedstatedir
621 localstatedir
622 includedir
623 oldincludedir
624 docdir
625 infodir
626 htmldir
627 dvidir
628 pdfdir
629 psdir
630 libdir
631 localedir
632 mandir
633 DEFS
634 ECHO_C
635 ECHO_N
636 ECHO_T
637 LIBS
638 build_alias
639 host_alias
640 target_alias
641 LLVM_COPYRIGHT
642 subdirs
643 build
644 build_cpu
645 build_vendor
646 build_os
647 host
648 host_cpu
649 host_vendor
650 host_os
651 target
652 target_cpu
653 target_vendor
654 target_os
655 OS
656 HOST_OS
657 TARGET_OS
658 LINKALL
659 NOLINKALL
660 LLVM_ON_UNIX
661 LLVM_ON_WIN32
662 ARCH
663 ENDIAN
664 CC
665 CFLAGS
666 LDFLAGS
667 CPPFLAGS
668 ac_ct_CC
669 EXEEXT
670 OBJEXT
671 CPP
672 GREP
673 EGREP
674 LLVM_CROSS_COMPILING
675 BUILD_CC
676 BUILD_EXEEXT
677 BUILD_CXX
678 CVSBUILD
679 ENABLE_OPTIMIZED
680 ENABLE_PROFILING
681 DISABLE_ASSERTIONS
682 ENABLE_EXPENSIVE_CHECKS
683 EXPENSIVE_CHECKS
684 DEBUG_RUNTIME
685 DEBUG_SYMBOLS
686 JIT
687 TARGET_HAS_JIT
688 ENABLE_DOXYGEN
689 ENABLE_THREADS
690 ENABLE_PIC
691 TARGETS_TO_BUILD
692 LLVM_ENUM_TARGETS
693 LLVM_ENUM_ASM_PRINTERS
694 LLVM_ENUM_ASM_PARSERS
695 LLVM_ENUM_DISASSEMBLERS
696 ENABLE_CBE_PRINTF_A
697 OPTIMIZE_OPTION
698 EXTRA_OPTIONS
699 BINUTILS_INCDIR
700 ENABLE_LLVMC_DYNAMIC
701 ENABLE_LLVMC_DYNAMIC_PLUGINS
702 CXX
703 CXXFLAGS
704 ac_ct_CXX
705 NM
706 ifGNUmake
707 LN_S
708 CMP
709 CP
710 DATE
711 FIND
712 MKDIR
713 MV
714 RANLIB
715 AR
716 RM
717 SED
718 TAR
719 BINPWD
720 GRAPHVIZ
721 DOT
722 FDP
723 NEATO
724 TWOPI
725 CIRCO
726 GV
727 DOTTY
728 PERL
729 HAVE_PERL
730 INSTALL_PROGRAM
731 INSTALL_SCRIPT
732 INSTALL_DATA
733 BZIP2
734 DOXYGEN
735 GROFF
736 GZIP
737 POD2HTML
738 POD2MAN
739 RUNTEST
740 TCLSH
741 ZIP
742 OCAMLC
743 OCAMLOPT
744 OCAMLDEP
745 OCAMLDOC
746 GAS
747 INSTALL_LTDL_TRUE
748 INSTALL_LTDL_FALSE
749 CONVENIENCE_LTDL_TRUE
750 CONVENIENCE_LTDL_FALSE
751 LIBADD_DL
752 LLVMGCCCOMMAND
753 LLVMGXXCOMMAND
754 LLVMGCC
755 LLVMGXX
756 NO_VARIADIC_MACROS
757 NO_MISSING_FIELD_INITIALIZERS
758 USE_UDIS86
759 USE_OPROFILE
760 HAVE_PTHREAD
761 HUGE_VAL_SANITY
762 MMAP_FILE
763 LLVMCC1
764 LLVMCC1PLUS
765 LLVMGCCDIR
766 LLVMGCCLIBEXEC
767 LLVMGCC_VERSION
768 LLVMGCC_MAJVERS
769 LLVMGCC_LANGS
770 SHLIBEXT
771 LLVM_PREFIX
772 LLVM_BINDIR
773 LLVM_LIBDIR
774 LLVM_DATADIR
775 LLVM_DOCSDIR
776 LLVM_ETCDIR
777 LLVM_INCLUDEDIR
778 LLVM_INFODIR
779 LLVM_MANDIR
780 LLVM_CONFIGTIME
781 BINDINGS_TO_BUILD
782 ALL_BINDINGS
783 OCAML_LIBDIR
784 ENABLE_VISIBILITY_INLINES_HIDDEN
785 RPATH
786 RDYNAMIC
601787 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
784 PATH_SEPARATOR
785 SHELL'
788 LTLIBOBJS'
786789 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 '
822790 ac_precious_vars='build_alias
823791 host_alias
824792 target_alias
825793 CC
826794 CFLAGS
827795 LDFLAGS
828 LIBS
829796 CPPFLAGS
830797 CPP
831798 CXX
847814 # Initialize some variables set by options.
848815 ac_init_help=
849816 ac_init_version=false
850 ac_unrecognized_opts=
851 ac_unrecognized_sep=
852817 # The variables have the same names as the options, with
853818 # dashes changed to underlines.
854819 cache_file=/dev/null
947912 datarootdir=$ac_optarg ;;
948913
949914 -disable-* | --disable-*)
950 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
915 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
951916 # Reject names that are not valid shell variable names.
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 ;;
917 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
918 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
919 { (exit 1); exit 1; }; }
920 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
921 eval enable_$ac_feature=no ;;
964922
965923 -docdir | --docdir | --docdi | --doc | --do)
966924 ac_prev=docdir ;;
973931 dvidir=$ac_optarg ;;
974932
975933 -enable-* | --enable-*)
976 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
934 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
977935 # Reject names that are not valid shell variable names.
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 ;;
936 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
937 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
938 { (exit 1); exit 1; }; }
939 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
940 eval enable_$ac_feature=\$ac_optarg ;;
990941
991942 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
992943 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
11771128 ac_init_version=: ;;
11781129
11791130 -with-* | --with-*)
1180 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1131 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
11811132 # Reject names that are not valid shell variable names.
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 ;;
1133 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1134 { echo "$as_me: error: invalid package name: $ac_package" >&2
1135 { (exit 1); exit 1; }; }
1136 ac_package=`echo $ac_package| sed 's/-/_/g'`
1137 eval with_$ac_package=\$ac_optarg ;;
11941138
11951139 -without-* | --without-*)
1196 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1140 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
11971141 # Reject names that are not valid shell variable names.
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 ;;
1142 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1143 { echo "$as_me: error: invalid package name: $ac_package" >&2
1144 { (exit 1); exit 1; }; }
1145 ac_package=`echo $ac_package | sed 's/-/_/g'`
1146 eval with_$ac_package=no ;;
12101147
12111148 --x)
12121149 # Obsolete; use --with-x.
12261163 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
12271164 x_libraries=$ac_optarg ;;
12281165
1229 -*) as_fn_error "unrecognized option: \`$ac_option'
1230 Try \`$0 --help' for more information."
1166 -*) { echo "$as_me: error: unrecognized option: $ac_option
1167 Try \`$0 --help' for more information." >&2
1168 { (exit 1); exit 1; }; }
12311169 ;;
12321170
12331171 *=*)
12341172 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
12351173 # Reject names that are not valid shell variable names.
1236 case $ac_envvar in #(
1237 '' | [0-9]* | *[!_$as_cr_alnum]* )
1238 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1239 esac
1174 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1175 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1176 { (exit 1); exit 1; }; }
12401177 eval $ac_envvar=\$ac_optarg
12411178 export $ac_envvar ;;
12421179
12431180 *)
12441181 # FIXME: should be removed in autoconf 3.0.
1245 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1182 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
12461183 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1247 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1184 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
12481185 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
12491186 ;;
12501187
12531190
12541191 if test -n "$ac_prev"; then
12551192 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
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.
1193 { echo "$as_me: error: missing argument to $ac_option" >&2
1194 { (exit 1); exit 1; }; }
1195 fi
1196
1197 # Be sure to have absolute directory names.
12681198 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
12691199 datadir sysconfdir sharedstatedir localstatedir includedir \
12701200 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
12711201 libdir localedir mandir
12721202 do
12731203 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.
12811204 case $ac_val in
12821205 [\\/$]* | ?:[\\/]* ) continue;;
12831206 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
12841207 esac
1285 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1208 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1209 { (exit 1); exit 1; }; }
12861210 done
12871211
12881212 # There might be people who depend on the old broken behavior: `$host'
12961220 if test "x$host_alias" != x; then
12971221 if test "x$build_alias" = x; then
12981222 cross_compiling=maybe
1299 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1223 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
13001224 If a cross compiler is detected then cross compile mode will be used." >&2
13011225 elif test "x$build_alias" != "x$host_alias"; then
13021226 cross_compiling=yes
13121236 ac_pwd=`pwd` && test -n "$ac_pwd" &&
13131237 ac_ls_di=`ls -di .` &&
13141238 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1315 as_fn_error "working directory cannot be determined"
1239 { echo "$as_me: error: Working directory cannot be determined" >&2
1240 { (exit 1); exit 1; }; }
13161241 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1317 as_fn_error "pwd does not report name of working directory"
1242 { echo "$as_me: error: pwd does not report name of working directory" >&2
1243 { (exit 1); exit 1; }; }
13181244
13191245
13201246 # Find the source files, if location was not specified.
13211247 if test -z "$srcdir"; then
13221248 ac_srcdir_defaulted=yes
13231249 # Try the directory containing this script, then the parent directory.
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" |
1250 ac_confdir=`$as_dirname -- "$0" ||
1251 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1252 X"$0" : 'X\(//\)[^/]' \| \
1253 X"$0" : 'X\(//\)$' \| \
1254 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1255 echo X"$0" |
13301256 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13311257 s//\1/
13321258 q
13531279 fi
13541280 if test ! -r "$srcdir/$ac_unique_file"; then
13551281 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1356 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1282 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1283 { (exit 1); exit 1; }; }
13571284 fi
13581285 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
13591286 ac_abs_confdir=`(
1360 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1287 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1288 { (exit 1); exit 1; }; }
13611289 pwd)`
13621290 # When building in place, set srcdir=.
13631291 if test "$ac_abs_confdir" = "$ac_pwd"; then
14051333
14061334 Installation directories:
14071335 --prefix=PREFIX install architecture-independent files in PREFIX
1408 [$ac_default_prefix]
1336 [$ac_default_prefix]
14091337 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1410 [PREFIX]
1338 [PREFIX]
14111339
14121340 By default, \`make install' will install all the files in
14131341 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
14171345 For better control, use the options below.
14181346
14191347 Fine tuning of the installation directories:
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]
1348 --bindir=DIR user executables [EPREFIX/bin]
1349 --sbindir=DIR system admin executables [EPREFIX/sbin]
1350 --libexecdir=DIR program executables [EPREFIX/libexec]
1351 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1352 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1353 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1354 --libdir=DIR object code libraries [EPREFIX/lib]
1355 --includedir=DIR C header files [PREFIX/include]
1356 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1357 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1358 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1359 --infodir=DIR info documentation [DATAROOTDIR/info]
1360 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1361 --mandir=DIR man documentation [DATAROOTDIR/man]
1362 --docdir=DIR documentation root [DATAROOTDIR/doc/-llvm-]
1363 --htmldir=DIR html documentation [DOCDIR]
1364 --dvidir=DIR dvi documentation [DOCDIR]
1365 --pdfdir=DIR pdf documentation [DOCDIR]
1366 --psdir=DIR ps documentation [DOCDIR]
14391367 _ACEOF
14401368
14411369 cat <<\_ACEOF
14541382 cat <<\_ACEOF
14551383
14561384 Optional Features:
1457 --disable-option-checking ignore unrecognized --enable/--with options
14581385 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
14591386 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
14601387 --enable-optimized Compile with optimizations enabled (default is NO)
15231450 CFLAGS C compiler flags
15241451 LDFLAGS linker flags, e.g. -L if you have libraries in a
15251452 nonstandard directory
1526 LIBS libraries to pass to the linker, e.g. -l
1527 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if
1453 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if
15281454 you have headers in a nonstandard directory
15291455 CPP C preprocessor
15301456 CXX C++ compiler command
15411467 if test "$ac_init_help" = "recursive"; then
15421468 # If there are subdirs, report their specific --help.
15431469 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1544 test -d "$ac_dir" ||
1545 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1546 continue
1470 test -d "$ac_dir" || continue
15471471 ac_builddir=.
15481472
15491473 case "$ac_dir" in
15501474 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15511475 *)
1552 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1476 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15531477 # A ".." for each directory in $ac_dir_suffix.
1554 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1478 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
15551479 case $ac_top_builddir_sub in
15561480 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15571481 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15871511 echo &&
15881512 $SHELL "$ac_srcdir/configure" --help=recursive
15891513 else
1590 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1514 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
15911515 fi || ac_status=$?
15921516 cd "$ac_pwd" || { ac_status=$?; break; }
15931517 done
15971521 if $ac_init_version; then
15981522 cat <<\_ACEOF
15991523 llvm configure 2.7svn
1600 generated by GNU Autoconf 2.65
1601
1602 Copyright (C) 2009 Free Software Foundation, Inc.
1524 generated by GNU Autoconf 2.60
1525
1526 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1527 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
16031528 This configure script is free software; the Free Software Foundation
16041529 gives unlimited permission to copy, distribute and modify it.
16051530
16071532 _ACEOF
16081533 exit
16091534 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
21021535 cat >config.log <<_ACEOF
21031536 This file contains any messages produced by compilers while
21041537 running configure, to aid debugging if configure makes a mistake.
21051538
21061539 It was created by llvm $as_me 2.7svn, which was
2107 generated by GNU Autoconf 2.65. Invocation command line was
1540 generated by GNU Autoconf 2.60. Invocation command line was
21081541
21091542 $ $0 $@
21101543
21401573 do
21411574 IFS=$as_save_IFS
21421575 test -z "$as_dir" && as_dir=.
2143 $as_echo "PATH: $as_dir"
2144 done
1576 echo "PATH: $as_dir"
1577 done
21451578 IFS=$as_save_IFS
21461579
21471580 } >&5
21751608 | -silent | --silent | --silen | --sile | --sil)
21761609 continue ;;
21771610 *\'*)
2178 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1611 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
21791612 esac
21801613 case $ac_pass in
2181 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1614 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
21821615 2)
2183 as_fn_append ac_configure_args1 " '$ac_arg'"
1616 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
21841617 if test $ac_must_keep_next = true; then
21851618 ac_must_keep_next=false # Got value, back to normal.
21861619 else
21961629 -* ) ac_must_keep_next=true ;;
21971630 esac
21981631 fi
2199 as_fn_append ac_configure_args " '$ac_arg'"
1632 ac_configure_args="$ac_configure_args '$ac_arg'"
22001633 ;;
22011634 esac
22021635 done
22031636 done
2204 { ac_configure_args0=; unset ac_configure_args0;}
2205 { ac_configure_args1=; unset ac_configure_args1;}
1637 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1638 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
22061639
22071640 # When interrupted or exit'd, cleanup temporary files, and complete
22081641 # config.log. We remove comments because anyway the quotes in there
22271660 case $ac_val in #(
22281661 *${as_nl}*)
22291662 case $ac_var in #(
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;} ;;
1663 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1664 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22321665 esac
22331666 case $ac_var in #(
22341667 _ | IFS | as_nl) ;; #(
2235 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2236 *) { eval $ac_var=; unset $ac_var;} ;;
1668 *) $as_unset $ac_var ;;
22371669 esac ;;
22381670 esac
22391671 done
22621694 do
22631695 eval ac_val=\$$ac_var
22641696 case $ac_val in
2265 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1697 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
22661698 esac
2267 $as_echo "$ac_var='\''$ac_val'\''"
1699 echo "$ac_var='\''$ac_val'\''"
22681700 done | sort
22691701 echo
22701702
22791711 do
22801712 eval ac_val=\$$ac_var
22811713 case $ac_val in
2282 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1714 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
22831715 esac
2284 $as_echo "$ac_var='\''$ac_val'\''"
1716 echo "$ac_var='\''$ac_val'\''"
22851717 done | sort
22861718 echo
22871719 fi
22971729 echo
22981730 fi
22991731 test "$ac_signal" != 0 &&
2300 $as_echo "$as_me: caught signal $ac_signal"
2301 $as_echo "$as_me: exit $exit_status"
1732 echo "$as_me: caught signal $ac_signal"
1733 echo "$as_me: exit $exit_status"
23021734 } >&5
23031735 rm -f core *.core core.conftest.* &&
23041736 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
23051737 exit $exit_status
23061738 ' 0
23071739 for ac_signal in 1 2 13 15; do
2308 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1740 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
23091741 done
23101742 ac_signal=0
23111743
23121744 # confdefs.h avoids OS command line length limits that DEFS can exceed.
23131745 rm -f -r conftest* confdefs.h
23141746
2315 $as_echo "/* confdefs.h */" > confdefs.h
2316
23171747 # Predefined preprocessor variables.
23181748
23191749 cat >>confdefs.h <<_ACEOF
23201750 #define PACKAGE_NAME "$PACKAGE_NAME"
23211751 _ACEOF
23221752
1753
23231754 cat >>confdefs.h <<_ACEOF
23241755 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
23251756 _ACEOF
23261757
1758
23271759 cat >>confdefs.h <<_ACEOF
23281760 #define PACKAGE_VERSION "$PACKAGE_VERSION"
23291761 _ACEOF
23301762
1763
23311764 cat >>confdefs.h <<_ACEOF
23321765 #define PACKAGE_STRING "$PACKAGE_STRING"
23331766 _ACEOF
23341767
1768
23351769 cat >>confdefs.h <<_ACEOF
23361770 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
23371771 _ACEOF
23381772
2339 cat >>confdefs.h <<_ACEOF
2340 #define PACKAGE_URL "$PACKAGE_URL"
2341 _ACEOF
2342
23431773
23441774 # Let the site file select an alternate cache file if it wants to.
2345 # Prefer an explicitly selected file to automatically selected ones.
2346 ac_site_file1=NONE
2347 ac_site_file2=NONE
1775 # Prefer explicitly selected file to automatically selected ones.
23481776 if test -n "$CONFIG_SITE"; then
2349 ac_site_file1=$CONFIG_SITE
1777 set x "$CONFIG_SITE"
23501778 elif test "x$prefix" != xNONE; then
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"
1779 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1780 else
1781 set x "$ac_default_prefix/share/config.site" \
1782 "$ac_default_prefix/etc/config.site"
1783 fi
1784 shift
1785 for ac_site_file
23581786 do
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;}
1787 if test -r "$ac_site_file"; then
1788 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1789 echo "$as_me: loading site script $ac_site_file" >&6;}
23631790 sed 's/^/| /' "$ac_site_file" >&5
23641791 . "$ac_site_file"
23651792 fi
23661793 done
23671794
23681795 if test -r "$cache_file"; then
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;}
1796 # Some versions of bash will fail to source /dev/null (special
1797 # files actually), so we avoid doing that.
1798 if test -f "$cache_file"; then
1799 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1800 echo "$as_me: loading cache $cache_file" >&6;}
23741801 case $cache_file in
23751802 [\\/]* | ?:[\\/]* ) . "$cache_file";;
23761803 *) . "./$cache_file";;
23771804 esac
23781805 fi
23791806 else
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2381 $as_echo "$as_me: creating cache $cache_file" >&6;}
1807 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1808 echo "$as_me: creating cache $cache_file" >&6;}
23821809 >$cache_file
23831810 fi
23841811
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"
23881812 # Check that the precious variables saved in the cache have kept the same
23891813 # value.
23901814 ac_cache_corrupted=false
23951819 eval ac_new_val=\$ac_env_${ac_var}_value
23961820 case $ac_old_set,$ac_new_set in
23971821 set,)
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;}
1822 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1823 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
24001824 ac_cache_corrupted=: ;;
24011825 ,set)
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;}
1826 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1827 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
24041828 ac_cache_corrupted=: ;;
24051829 ,);;
24061830 *)
24071831 if test "x$ac_old_val" != "x$ac_new_val"; then
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;}
1832 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1833 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1834 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1835 echo "$as_me: former value: $ac_old_val" >&2;}
1836 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1837 echo "$as_me: current value: $ac_new_val" >&2;}
1838 ac_cache_corrupted=:
24241839 fi;;
24251840 esac
24261841 # Pass precious variables to config.status.
24271842 if test "$ac_new_set" = set; then
24281843 case $ac_new_val in
2429 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1844 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
24301845 *) ac_arg=$ac_var=$ac_new_val ;;
24311846 esac
24321847 case " $ac_configure_args " in
24331848 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2434 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1849 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
24351850 esac
24361851 fi
24371852 done
24381853 if $ac_cache_corrupted; then
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 ## -------------------- ##
1854 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1855 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1856 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1857 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1858 { (exit 1); exit 1; }; }
1859 fi
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
24481884
24491885 ac_ext=c
24501886 ac_cpp='$CPP $CPPFLAGS'
24641900
24651901 ac_aux_dir=
24661902 for ac_dir in autoconf "$srcdir"/autoconf; do
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
1903 if test -f "$ac_dir/install-sh"; then
1904 ac_aux_dir=$ac_dir
1905 ac_install_sh="$ac_aux_dir/install-sh -c"
1906 break
1907 elif test -f "$ac_dir/install.sh"; then
1908 ac_aux_dir=$ac_dir
1909 ac_install_sh="$ac_aux_dir/install.sh -c"
1910 break
1911 elif test -f "$ac_dir/shtool"; then
1912 ac_aux_dir=$ac_dir
1913 ac_install_sh="$ac_aux_dir/shtool install -c"
1914 break
1915 fi
24741916 done
24751917 if test -z "$ac_aux_dir"; then
2476 as_fn_error "cannot find install-sh, install.sh, or shtool in autoconf \"$srcdir\"/autoconf" "$LINENO" 5
1918 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
1919 echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
1920 { (exit 1); exit 1; }; }
24771921 fi
24781922
24791923 # These three variables are undocumented and unsupported,
24861930
24871931
24881932
2489
24901933 if test ${srcdir} != "." ; then
24911934 if test -f ${srcdir}/include/llvm/Config/config.h ; then
2492 as_fn_error "Already configured in ${srcdir}" "$LINENO" 5
1935 { { echo "$as_me:$LINENO: error: Already configured in ${srcdir}" >&5
1936 echo "$as_me: error: Already configured in ${srcdir}" >&2;}
1937 { (exit 1); exit 1; }; }
24931938 fi
24941939 fi
24951940
24981943 if test -d ${srcdir}/projects/${i} ; then
24991944 case ${i} in
25001945 CVS) ;;
2501 sample)
2502
2503 subdirs="$subdirs projects/sample"
1946 sample) subdirs="$subdirs projects/sample"
25041947 ;;
25051948 privbracket) subdirs="$subdirs projects/privbracket"
25061949 ;;
25271970 llvm-kernel) subdirs="$subdirs projects/llvm-kernel"
25281971 ;;
25291972 *)
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;}
1973 { echo "$as_me:$LINENO: WARNING: Unknown project (${i}) won't be configured automatically" >&5
1974 echo "$as_me: WARNING: Unknown project (${i}) won't be configured automatically" >&2;}
25321975 ;;
25331976 esac
25341977 fi
25371980
25381981 # Make sure we can run config.sub.
25391982 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
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
1983 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1984 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1985 { (exit 1); exit 1; }; }
1986
1987 { echo "$as_me:$LINENO: checking build system type" >&5
1988 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1989 if test "${ac_cv_build+set}" = set; then
1990 echo $ECHO_N "(cached) $ECHO_C" >&6
25461991 else
25471992 ac_build_alias=$build_alias
25481993 test "x$ac_build_alias" = x &&
25491994 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
25501995 test "x$ac_build_alias" = x &&
2551 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
1996 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1997 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1998 { (exit 1); exit 1; }; }
25521999 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
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; }
2000 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2001 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2002 { (exit 1); exit 1; }; }
2003
2004 fi
2005 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2006 echo "${ECHO_T}$ac_cv_build" >&6; }
25582007 case $ac_cv_build in
25592008 *-*-*) ;;
2560 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2009 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2010 echo "$as_me: error: invalid value of canonical build" >&2;}
2011 { (exit 1); exit 1; }; };;
25612012 esac
25622013 build=$ac_cv_build
25632014 ac_save_IFS=$IFS; IFS='-'
25732024 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
25742025
25752026
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
2027 { echo "$as_me:$LINENO: checking host system type" >&5
2028 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2029 if test "${ac_cv_host+set}" = set; then
2030 echo $ECHO_N "(cached) $ECHO_C" >&6
25802031 else
25812032 if test "x$host_alias" = x; then
25822033 ac_cv_host=$ac_cv_build
25832034 else
25842035 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
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; }
2036 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2037 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2038 { (exit 1); exit 1; }; }
2039 fi
2040
2041 fi
2042 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2043 echo "${ECHO_T}$ac_cv_host" >&6; }
25912044 case $ac_cv_host in
25922045 *-*-*) ;;
2593 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2046 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2047 echo "$as_me: error: invalid value of canonical host" >&2;}
2048 { (exit 1); exit 1; }; };;
25942049 esac
25952050 host=$ac_cv_host
25962051 ac_save_IFS=$IFS; IFS='-'
26062061 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
26072062
26082063
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
2064 { echo "$as_me:$LINENO: checking target system type" >&5
2065 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2066 if test "${ac_cv_target+set}" = set; then
2067 echo $ECHO_N "(cached) $ECHO_C" >&6
26132068 else
26142069 if test "x$target_alias" = x; then
26152070 ac_cv_target=$ac_cv_host
26162071 else
26172072 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
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; }
2073 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2074 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2075 { (exit 1); exit 1; }; }
2076 fi
2077
2078 fi
2079 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2080 echo "${ECHO_T}$ac_cv_target" >&6; }
26242081 case $ac_cv_target in
26252082 *-*-*) ;;
2626 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2083 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2084 echo "$as_me: error: invalid value of canonical target" >&2;}
2085 { (exit 1); exit 1; }; };;
26272086 esac
26282087 target=$ac_cv_target
26292088 ac_save_IFS=$IFS; IFS='-'
26462105 NONENONEs,x,x, &&
26472106 program_prefix=${target_alias}-
26482107
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
2108 { echo "$as_me:$LINENO: checking type of operating system we're going to host on" >&5
2109 echo $ECHO_N "checking type of operating system we're going to host on... $ECHO_C" >&6; }
2110 if test "${llvm_cv_os_type+set}" = set; then
2111 echo $ECHO_N "(cached) $ECHO_C" >&6
26532112 else
26542113 case $host in
26552114 *-*-aix*)
27492208 llvm_cv_platform_type="Unknown" ;;
27502209 esac
27512210 fi
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
2211 { echo "$as_me:$LINENO: result: $llvm_cv_os_type" >&5
2212 echo "${ECHO_T}$llvm_cv_os_type" >&6; }
2213
2214 { echo "$as_me:$LINENO: checking type of operating system we're going to target" >&5
2215 echo $ECHO_N "checking type of operating system we're going to target... $ECHO_C" >&6; }
2216 if test "${llvm_cv_target_os_type+set}" = set; then
2217 echo $ECHO_N "(cached) $ECHO_C" >&6
27592218 else
27602219 case $target in
27612220 *-*-aix*)
27962255 llvm_cv_target_os_type="Unknown" ;;
27972256 esac
27982257 fi
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $llvm_cv_target_os_type" >&5
2800 $as_echo "$llvm_cv_target_os_type" >&6; }
2258 { echo "$as_me:$LINENO: result: $llvm_cv_target_os_type" >&5
2259 echo "${ECHO_T}$llvm_cv_target_os_type" >&6; }
28012260
28022261 if test "$llvm_cv_os_type" = "Unknown" ; then
2803 as_fn_error "Operating system is unknown, configure can't continue" "$LINENO" 5
2262 { { echo "$as_me:$LINENO: error: Operating system is unknown, configure can't continue" >&5
2263 echo "$as_me: error: Operating system is unknown, configure can't continue" >&2;}
2264 { (exit 1); exit 1; }; }
28042265 fi
28052266
28062267 OS=$llvm_cv_os_type
28182279 case $llvm_cv_platform_type in
28192280 Unix)
28202281
2821 $as_echo "#define LLVM_ON_UNIX 1" >>confdefs.h
2282 cat >>confdefs.h <<\_ACEOF
2283 #define LLVM_ON_UNIX 1
2284 _ACEOF
28222285
28232286 LLVM_ON_UNIX=1
28242287
28272290 ;;
28282291 Win32)
28292292
2830 $as_echo "#define LLVM_ON_WIN32 1" >>confdefs.h
2293 cat >>confdefs.h <<\_ACEOF
2294 #define LLVM_ON_WIN32 1
2295 _ACEOF
28312296
28322297 LLVM_ON_UNIX=0
28332298
28362301 ;;
28372302 esac
28382303
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
2304 { echo "$as_me:$LINENO: checking target architecture" >&5
2305 echo $ECHO_N "checking target architecture... $ECHO_C" >&6; }
2306 if test "${llvm_cv_target_arch+set}" = set; then
2307 echo $ECHO_N "(cached) $ECHO_C" >&6
28432308 else
28442309 case $target in
28452310 i?86-*) llvm_cv_target_arch="x86" ;;
28572322 *) llvm_cv_target_arch="Unknown" ;;
28582323 esac
28592324 fi
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $llvm_cv_target_arch" >&5
2861 $as_echo "$llvm_cv_target_arch" >&6; }
2325 { echo "$as_me:$LINENO: result: $llvm_cv_target_arch" >&5
2326 echo "${ECHO_T}$llvm_cv_target_arch" >&6; }
28622327
28632328 if test "$llvm_cv_target_arch" = "Unknown" ; then
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;}
2329 { echo "$as_me:$LINENO: WARNING: Configuring LLVM for an unknown target archicture" >&5
2330 echo "$as_me: WARNING: Configuring LLVM for an unknown target archicture" >&2;}
28662331 fi
28672332
28682333 # Determine the LLVM native architecture for the target
28832348 if test -n "$ac_tool_prefix"; then
28842349 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
28852350 set dummy ${ac_tool_prefix}gcc; ac_word=$2
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
2351 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2353 if test "${ac_cv_prog_CC+set}" = set; then
2354 echo $ECHO_N "(cached) $ECHO_C" >&6
28902355 else
28912356 if test -n "$CC"; then
28922357 ac_cv_prog_CC="$CC" # Let the user override the test.
28962361 do
28972362 IFS=$as_save_IFS
28982363 test -z "$as_dir" && as_dir=.
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
2364 for ac_exec_ext in '' $ac_executable_extensions; do
2365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
29012366 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29032368 break 2
29042369 fi
29052370 done
2906 done
2371 done
29072372 IFS=$as_save_IFS
29082373
29092374 fi
29102375 fi
29112376 CC=$ac_cv_prog_CC
29122377 if test -n "$CC"; then
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; }
2378 { echo "$as_me:$LINENO: result: $CC" >&5
2379 echo "${ECHO_T}$CC" >&6; }
2380 else
2381 { echo "$as_me:$LINENO: result: no" >&5
2382 echo "${ECHO_T}no" >&6; }
29182383 fi
29192384
29202385
29232388 ac_ct_CC=$CC
29242389 # Extract the first word of "gcc", so it can be a program name with args.
29252390 set dummy gcc; ac_word=$2
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
2391 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2393 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2394 echo $ECHO_N "(cached) $ECHO_C" >&6
29302395 else
29312396 if test -n "$ac_ct_CC"; then
29322397 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
29362401 do
29372402 IFS=$as_save_IFS
29382403 test -z "$as_dir" && as_dir=.
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
2404 for ac_exec_ext in '' $ac_executable_extensions; do
2405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
29412406 ac_cv_prog_ac_ct_CC="gcc"
2942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29432408 break 2
29442409 fi
29452410 done
2946 done
2411 done
29472412 IFS=$as_save_IFS
29482413
29492414 fi
29502415 fi
29512416 ac_ct_CC=$ac_cv_prog_ac_ct_CC
29522417 if test -n "$ac_ct_CC"; then
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; }
2418 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2419 echo "${ECHO_T}$ac_ct_CC" >&6; }
2420 else
2421 { echo "$as_me:$LINENO: result: no" >&5
2422 echo "${ECHO_T}no" >&6; }
29582423 fi
29592424
29602425 if test "x$ac_ct_CC" = x; then
29622427 else
29632428 case $cross_compiling:$ac_tool_warned in
29642429 yes:)
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;}
2430 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2431 whose name does not start with the host triplet. If you think this
2432 configuration is useful to you, please write to autoconf@gnu.org." >&5
2433 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2434 whose name does not start with the host triplet. If you think this
2435 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29672436 ac_tool_warned=yes ;;
29682437 esac
29692438 CC=$ac_ct_CC
29762445 if test -n "$ac_tool_prefix"; then
29772446 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
29782447 set dummy ${ac_tool_prefix}cc; ac_word=$2
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
2448 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2450 if test "${ac_cv_prog_CC+set}" = set; then
2451 echo $ECHO_N "(cached) $ECHO_C" >&6
29832452 else
29842453 if test -n "$CC"; then
29852454 ac_cv_prog_CC="$CC" # Let the user override the test.
29892458 do
29902459 IFS=$as_save_IFS
29912460 test -z "$as_dir" && as_dir=.
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
2461 for ac_exec_ext in '' $ac_executable_extensions; do
2462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
29942463 ac_cv_prog_CC="${ac_tool_prefix}cc"
2995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29962465 break 2
29972466 fi
29982467 done
2999 done
2468 done
30002469 IFS=$as_save_IFS
30012470
30022471 fi
30032472 fi
30042473 CC=$ac_cv_prog_CC
30052474 if test -n "$CC"; then
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; }
2475 { echo "$as_me:$LINENO: result: $CC" >&5
2476 echo "${ECHO_T}$CC" >&6; }
2477 else
2478 { echo "$as_me:$LINENO: result: no" >&5
2479 echo "${ECHO_T}no" >&6; }
30112480 fi
30122481
30132482
30162485 if test -z "$CC"; then
30172486 # Extract the first word of "cc", so it can be a program name with args.
30182487 set dummy cc; ac_word=$2
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
2488 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2490 if test "${ac_cv_prog_CC+set}" = set; then
2491 echo $ECHO_N "(cached) $ECHO_C" >&6
30232492 else
30242493 if test -n "$CC"; then
30252494 ac_cv_prog_CC="$CC" # Let the user override the test.
30302499 do
30312500 IFS=$as_save_IFS
30322501 test -z "$as_dir" && as_dir=.
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
2502 for ac_exec_ext in '' $ac_executable_extensions; do
2503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
30352504 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
30362505 ac_prog_rejected=yes
30372506 continue
30382507 fi
30392508 ac_cv_prog_CC="cc"
3040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30412510 break 2
30422511 fi
30432512 done
3044 done
2513 done
30452514 IFS=$as_save_IFS
30462515
30472516 if test $ac_prog_rejected = yes; then
30602529 fi
30612530 CC=$ac_cv_prog_CC
30622531 if test -n "$CC"; then
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; }
2532 { echo "$as_me:$LINENO: result: $CC" >&5
2533 echo "${ECHO_T}$CC" >&6; }
2534 else
2535 { echo "$as_me:$LINENO: result: no" >&5
2536 echo "${ECHO_T}no" >&6; }
30682537 fi
30692538
30702539
30752544 do
30762545 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
30772546 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
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
2547 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2549 if test "${ac_cv_prog_CC+set}" = set; then
2550 echo $ECHO_N "(cached) $ECHO_C" >&6
30822551 else
30832552 if test -n "$CC"; then
30842553 ac_cv_prog_CC="$CC" # Let the user override the test.
30882557 do
30892558 IFS=$as_save_IFS
30902559 test -z "$as_dir" && as_dir=.
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
2560 for ac_exec_ext in '' $ac_executable_extensions; do
2561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
30932562 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30952564 break 2
30962565 fi
30972566 done
3098 done
2567 done
30992568 IFS=$as_save_IFS
31002569
31012570 fi
31022571 fi
31032572 CC=$ac_cv_prog_CC
31042573 if test -n "$CC"; then
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; }
2574 { echo "$as_me:$LINENO: result: $CC" >&5
2575 echo "${ECHO_T}$CC" >&6; }
2576 else
2577 { echo "$as_me:$LINENO: result: no" >&5
2578 echo "${ECHO_T}no" >&6; }
31102579 fi
31112580
31122581
31192588 do
31202589 # Extract the first word of "$ac_prog", so it can be a program name with args.
31212590 set dummy $ac_prog; ac_word=$2
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
2591 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2593 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2594 echo $ECHO_N "(cached) $ECHO_C" >&6
31262595 else
31272596 if test -n "$ac_ct_CC"; then
31282597 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
31322601 do
31332602 IFS=$as_save_IFS
31342603 test -z "$as_dir" && as_dir=.
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
2604 for ac_exec_ext in '' $ac_executable_extensions; do
2605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
31372606 ac_cv_prog_ac_ct_CC="$ac_prog"
3138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31392608 break 2
31402609 fi
31412610 done
3142 done
2611 done
31432612 IFS=$as_save_IFS
31442613
31452614 fi
31462615 fi
31472616 ac_ct_CC=$ac_cv_prog_ac_ct_CC
31482617 if test -n "$ac_ct_CC"; then
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; }
2618 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2619 echo "${ECHO_T}$ac_ct_CC" >&6; }
2620 else
2621 { echo "$as_me:$LINENO: result: no" >&5
2622 echo "${ECHO_T}no" >&6; }
31542623 fi
31552624
31562625
31622631 else
31632632 case $cross_compiling:$ac_tool_warned in
31642633 yes:)
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;}
2634 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2635 whose name does not start with the host triplet. If you think this
2636 configuration is useful to you, please write to autoconf@gnu.org." >&5
2637 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2638 whose name does not start with the host triplet. If you think this
2639 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31672640 ac_tool_warned=yes ;;
31682641 esac
31692642 CC=$ac_ct_CC
31732646 fi
31742647
31752648
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; }
2649 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2650 See \`config.log' for more details." >&5
2651 echo "$as_me: error: no acceptable C compiler found in \$PATH
2652 See \`config.log' for more details." >&2;}
2653 { (exit 1); exit 1; }; }
31802654
31812655 # Provide some information about the compiler.
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"
2656 echo "$as_me:$LINENO: checking for C compiler version" >&5
2657 ac_compiler=`set X $ac_compile; echo $2`
2658 { (ac_try="$ac_compiler --version >&5"
31872659 case "(($ac_try" in
31882660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31892661 *) ac_try_echo=$ac_try;;
31902662 esac
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
3194 ac_status=$?
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
2663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2664 (eval "$ac_compiler --version >&5") 2>&5
2665 ac_status=$?
2666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2667 (exit $ac_status); }
2668 { (ac_try="$ac_compiler -v >&5"
2669 case "(($ac_try" in
2670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2671 *) ac_try_echo=$ac_try;;
2672 esac
2673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2674 (eval "$ac_compiler -v >&5") 2>&5
2675 ac_status=$?
2676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2677 (exit $ac_status); }
2678 { (ac_try="$ac_compiler -V >&5"
2679 case "(($ac_try" in
2680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2681 *) ac_try_echo=$ac_try;;
2682 esac
2683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2684 (eval "$ac_compiler -V >&5") 2>&5
2685 ac_status=$?
2686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2687 (exit $ac_status); }
2688
2689 cat >conftest.$ac_ext <<_ACEOF
2690 /* confdefs.h. */
2691 _ACEOF
2692 cat confdefs.h >>conftest.$ac_ext
2693 cat >>conftest.$ac_ext <<_ACEOF
32072694 /* end confdefs.h. */
32082695
32092696 int
32152702 }
32162703 _ACEOF
32172704 ac_clean_files_save=$ac_clean_files
3218 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2705 ac_clean_files="$ac_clean_files a.out a.exe b.out"
32192706 # Try to create an executable without -o first, disregard a.out.
32202707 # It will help us diagnose broken compilers, and finding out an intuition
32212708 # 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
2709 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2710 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2711 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2712 #
2713 # List of possible output files, starting from the most likely.
2714 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2715 # only as a last resort. b.out is created by i960 compilers.
2716 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2717 #
2718 # The IRIX 6 linker writes into existing files which may not be
2719 # executable, retaining their permissions. Remove them first so a
2720 # subsequent execution test works.
32292721 ac_rmfiles=
32302722 for ac_file in $ac_files
32312723 do
32322724 case $ac_file in
3233 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2725 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
32342726 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
32352727 esac
32362728 done
32372729 rm -f $ac_rmfiles
32382730
3239 if { { ac_try="$ac_link_default"
2731 if { (ac_try="$ac_link_default"
32402732 case "(($ac_try" in
32412733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32422734 *) ac_try_echo=$ac_try;;
32432735 esac
3244 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3245 $as_echo "$ac_try_echo"; } >&5
2736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32462737 (eval "$ac_link_default") 2>&5
32472738 ac_status=$?
3248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3249 test $ac_status = 0; }; then :
2739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2740 (exit $ac_status); }; then
32502741 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
32512742 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
32522743 # in a Makefile. We should not override ac_cv_exeext if it was cached,
32532744 # so that the user can short-circuit this test for compilers unknown to
32542745 # Autoconf.
3255 for ac_file in $ac_files ''
2746 for ac_file in $ac_files
32562747 do
32572748 test -f "$ac_file" || continue
32582749 case $ac_file in
3259 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2750 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
32602751 ;;
32612752 [ab].out )
32622753 # We found the default executable, but exeext='' is most
32632754 # certainly right.
32642755 break;;
32652756 *.* )
3266 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2757 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
32672758 then :; else
32682759 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
32692760 fi
32802771 test "$ac_cv_exeext" = no && ac_cv_exeext=
32812772
32822773 else
3283 ac_file=''
3284 fi
3285 if test -z "$ac_file"; then :
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3287 $as_echo "no" >&6; }
3288 $as_echo "$as_me: failed program was:" >&5
2774 echo "$as_me: failed program was:" >&5
32892775 sed 's/^/| /' conftest.$ac_ext >&5
32902776
3291 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3293 { as_fn_set_status 77
3294 as_fn_error "C compiler cannot create executables
3295 See \`config.log' for more details." "$LINENO" 5; }; }
3296 else
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3298 $as_echo "yes" >&6; }
3299 fi
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3301 $as_echo_n "checking for C compiler default output file name... " >&6; }
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3303 $as_echo "$ac_file" >&6; }
2777 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2778 See \`config.log' for more details." >&5
2779 echo "$as_me: error: C compiler cannot create executables
2780 See \`config.log' for more details." >&2;}
2781 { (exit 77); exit 77; }; }
2782 fi
2783
33042784 ac_exeext=$ac_cv_exeext
3305
3306 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2785 { echo "$as_me:$LINENO: result: $ac_file" >&5
2786 echo "${ECHO_T}$ac_file" >&6; }
2787
2788 # Check that the compiler produces executables we can run. If not, either
2789 # the compiler is broken, or we cross compile.
2790 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2791 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2792 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2793 # If not cross compiling, check that we can run a simple program.
2794 if test "$cross_compiling" != yes; then
2795 if { ac_try='./$ac_file'
2796 { (case "(($ac_try" in
2797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2798 *) ac_try_echo=$ac_try;;
2799 esac
2800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2801 (eval "$ac_try") 2>&5
2802 ac_status=$?
2803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804 (exit $ac_status); }; }; then
2805 cross_compiling=no
2806 else
2807 if test "$cross_compiling" = maybe; then
2808 cross_compiling=yes
2809 else
2810 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2811 If you meant to cross compile, use \`--host'.
2812 See \`config.log' for more details." >&5
2813 echo "$as_me: error: cannot run C compiled programs.
2814 If you meant to cross compile, use \`--host'.
2815 See \`config.log' for more details." >&2;}
2816 { (exit 1); exit 1; }; }
2817 fi
2818 fi
2819 fi
2820 { echo "$as_me:$LINENO: result: yes" >&5
2821 echo "${ECHO_T}yes" >&6; }
2822
2823 rm -f a.out a.exe conftest$ac_cv_exeext b.out
33072824 ac_clean_files=$ac_clean_files_save
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3309 $as_echo_n "checking for suffix of executables... " >&6; }
3310 if { { ac_try="$ac_link"
2825 # Check that the compiler produces executables we can run. If not, either
2826 # the compiler is broken, or we cross compile.
2827 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2828 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2829 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2830 echo "${ECHO_T}$cross_compiling" >&6; }
2831
2832 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2833 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2834 if { (ac_try="$ac_link"
33112835 case "(($ac_try" in
33122836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33132837 *) ac_try_echo=$ac_try;;
33142838 esac
3315 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3316 $as_echo "$ac_try_echo"; } >&5
2839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33172840 (eval "$ac_link") 2>&5
33182841 ac_status=$?
3319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3320 test $ac_status = 0; }; then :
2842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843 (exit $ac_status); }; then
33212844 # If both `conftest.exe' and `conftest' are `present' (well, observable)
33222845 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
33232846 # work properly (i.e., refer to `conftest.exe'), while it won't with
33252848 for ac_file in conftest.exe conftest conftest.*; do
33262849 test -f "$ac_file" || continue
33272850 case $ac_file in
3328 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2851 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
33292852 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
33302853 break;;
33312854 * ) break;;
33322855 esac
33332856 done
33342857 else
3335 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3336 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3337 as_fn_error "cannot compute suffix of executables: cannot compile and link
3338 See \`config.log' for more details." "$LINENO" 5; }
3339 fi
3340 rm -f conftest conftest$ac_cv_exeext
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3342 $as_echo "$ac_cv_exeext" >&6; }
2858 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2859 See \`config.log' for more details." >&5
2860 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2861 See \`config.log' for more details." >&2;}
2862 { (exit 1); exit 1; }; }
2863 fi
2864
2865 rm -f conftest$ac_cv_exeext
2866 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2867 echo "${ECHO_T}$ac_cv_exeext" >&6; }
33432868
33442869 rm -f conftest.$ac_ext
33452870 EXEEXT=$ac_cv_exeext
33462871 ac_exeext=$EXEEXT
3347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2872 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2873 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2874 if test "${ac_cv_objext+set}" = set; then
2875 echo $ECHO_N "(cached) $ECHO_C" >&6
2876 else
2877 cat >conftest.$ac_ext <<_ACEOF
2878 /* confdefs.h. */
2879 _ACEOF
2880 cat confdefs.h >>conftest.$ac_ext
2881 cat >>conftest.$ac_ext <<_ACEOF
33482882 /* end confdefs.h. */
3349 #include
2883
33502884 int
33512885 main ()
33522886 {
3353 FILE *f = fopen ("conftest.out", "w");
3354 return ferror (f) || fclose (f) != 0;
33552887
33562888 ;
33572889 return 0;
33582890 }
33592891 _ACEOF
3360 ac_clean_files="$ac_clean_files conftest.out"
3361 # Check that the compiler produces executables we can run. If not, either
3362 # the compiler is broken, or we cross compile.
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3364 $as_echo_n "checking whether we are cross compiling... " >&6; }
3365 if test "$cross_compiling" != yes; then
3366 { { ac_try="$ac_link"
2892 rm -f conftest.o conftest.obj
2893 if { (ac_try="$ac_compile"
33672894 case "(($ac_try" in
33682895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33692896 *) ac_try_echo=$ac_try;;
33702897 esac
3371 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3372 $as_echo "$ac_try_echo"; } >&5
3373