llvm.org GIT mirror llvm / 2bf4b54
Regen configure git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121646 91177308-0d34-0410-b5e6-96231b3b80d8 Peter Collingbourne 8 years ago
1 changed file(s) with 1464 addition(s) and 1107 deletion(s). Raw diff Collapse all Expand all
0 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.59 for [SAMPLE] [x.xx].
2 # Generated by GNU Autoconf 2.60 for [SAMPLE] [x.xx].
33 #
44 # Report bugs to .
55 #
6 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
78 # This configure script is free software; the Free Software Foundation
89 # gives unlimited permission to copy, distribute and modify it.
910 ## --------------------- ##
1718 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1819 # is contrary to our usage. Disable this feature.
1920 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21 set -o posix
22 fi
21 setopt NO_GLOB_SUBST
22 else
23 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
24 fi
25 BIN_SH=xpg4; export BIN_SH # for Tru64
2326 DUALCASE=1; export DUALCASE # for MKS sh
2427
25 # Support unset when possible.
26 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
27 as_unset=unset
28 else
29 as_unset=false
30 fi
31
32
33 # Work around bugs in pre-3.0 UWIN ksh.
34 $as_unset ENV MAIL MAILPATH
35 PS1='$ '
36 PS2='> '
37 PS4='+ '
38
39 # NLS nuisances.
40 for as_var in \
41 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
43 LC_TELEPHONE LC_TIME
44 do
45 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
46 eval $as_var=C; export $as_var
47 else
48 $as_unset $as_var
49 fi
50 done
51
52 # Required to use basename.
53 if expr a : '\(a\)' >/dev/null 2>&1; then
54 as_expr=expr
55 else
56 as_expr=false
57 fi
58
59 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
60 as_basename=basename
61 else
62 as_basename=false
63 fi
64
65
66 # Name of the executable.
67 as_me=`$as_basename "$0" ||
68 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
69 X"$0" : 'X\(//\)$' \| \
70 X"$0" : 'X\(/\)$' \| \
71 . : '\(.\)' 2>/dev/null ||
72 echo X/"$0" |
73 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
74 /^X\/\(\/\/\)$/{ s//\1/; q; }
75 /^X\/\(\/\).*/{ s//\1/; q; }
76 s/.*/./; q'`
77
78
79 # PATH needs CR, and LINENO needs CR and PATH.
28
29 # PATH needs CR
8030 # Avoid depending upon Character Ranges.
8131 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8232 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9747 rm -f conf$$.sh
9848 fi
9949
100
101 as_lineno_1=$LINENO
102 as_lineno_2=$LINENO
103 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
104 test "x$as_lineno_1" != "x$as_lineno_2" &&
105 test "x$as_lineno_3" = "x$as_lineno_2" || {
106 # Find who we are. Look in the path if we contain no path at all
107 # relative or not.
108 case $0 in
109 *[\\/]* ) as_myself=$0 ;;
110 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50 # Support unset when possible.
51 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
52 as_unset=unset
53 else
54 as_unset=false
55 fi
56
57
58 # IFS
59 # We need space, tab and new line, in precisely that order. Quoting is
60 # there to prevent editors from complaining about space-tab.
61 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
62 # splitting by setting IFS to empty value.)
63 as_nl='
64 '
65 IFS=" "" $as_nl"
66
67 # Find who we are. Look in the path if we contain no directory separator.
68 case $0 in
69 *[\\/]* ) as_myself=$0 ;;
70 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11171 for as_dir in $PATH
11272 do
11373 IFS=$as_save_IFS
11474 test -z "$as_dir" && as_dir=.
11575 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11676 done
117
118 ;;
119 esac
120 # We did not find ourselves, most probably we were run as `sh COMMAND'
121 # in which case we are not to be found in the path.
122 if test "x$as_myself" = x; then
123 as_myself=$0
77 IFS=$as_save_IFS
78
79 ;;
80 esac
81 # We did not find ourselves, most probably we were run as `sh COMMAND'
82 # in which case we are not to be found in the path.
83 if test "x$as_myself" = x; then
84 as_myself=$0
85 fi
86 if test ! -f "$as_myself"; then
87 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
88 { (exit 1); exit 1; }
89 fi
90
91 # Work around bugs in pre-3.0 UWIN ksh.
92 for as_var in ENV MAIL MAILPATH
93 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
94 done
95 PS1='$ '
96 PS2='> '
97 PS4='+ '
98
99 # NLS nuisances.
100 for as_var in \
101 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
102 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
103 LC_TELEPHONE LC_TIME
104 do
105 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
106 eval $as_var=C; export $as_var
107 else
108 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
124109 fi
125 if test ! -f "$as_myself"; then
126 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
127 { (exit 1); exit 1; }; }
128 fi
129 case $CONFIG_SHELL in
130 '')
110 done
111
112 # Required to use basename.
113 if expr a : '\(a\)' >/dev/null 2>&1 &&
114 test "X`expr 00001 : '.*\(...\)'`" = X001; then
115 as_expr=expr
116 else
117 as_expr=false
118 fi
119
120 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
121 as_basename=basename
122 else
123 as_basename=false
124 fi
125
126
127 # Name of the executable.
128 as_me=`$as_basename -- "$0" ||
129 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
130 X"$0" : 'X\(//\)$' \| \
131 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
132 echo X/"$0" |
133 sed '/^.*\/\([^/][^/]*\)\/*$/{
134 s//\1/
135 q
136 }
137 /^X\/\(\/\/\)$/{
138 s//\1/
139 q
140 }
141 /^X\/\(\/\).*/{
142 s//\1/
143 q
144 }
145 s/.*/./; q'`
146
147 # CDPATH.
148 $as_unset CDPATH
149
150
151 if test "x$CONFIG_SHELL" = x; then
152 if (eval ":") 2>/dev/null; then
153 as_have_required=yes
154 else
155 as_have_required=no
156 fi
157
158 if test $as_have_required = yes && (eval ":
159 (as_func_return () {
160 (exit \$1)
161 }
162 as_func_success () {
163 as_func_return 0
164 }
165 as_func_failure () {
166 as_func_return 1
167 }
168 as_func_ret_success () {
169 return 0
170 }
171 as_func_ret_failure () {
172 return 1
173 }
174
175 exitcode=0
176 if as_func_success; then
177 :
178 else
179 exitcode=1
180 echo as_func_success failed.
181 fi
182
183 if as_func_failure; then
184 exitcode=1
185 echo as_func_failure succeeded.
186 fi
187
188 if as_func_ret_success; then
189 :
190 else
191 exitcode=1
192 echo as_func_ret_success failed.
193 fi
194
195 if as_func_ret_failure; then
196 exitcode=1
197 echo as_func_ret_failure succeeded.
198 fi
199
200 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
201 :
202 else
203 exitcode=1
204 echo positional parameters were not saved.
205 fi
206
207 test \$exitcode = 0) || { (exit 1); exit 1; }
208
209 (
210 as_lineno_1=\$LINENO
211 as_lineno_2=\$LINENO
212 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
213 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
214 ") 2> /dev/null; then
215 :
216 else
217 as_candidate_shells=
131218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
132 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133220 do
134221 IFS=$as_save_IFS
135222 test -z "$as_dir" && as_dir=.
136 for as_base in sh bash ksh sh5; do
137 case $as_dir in
223 case $as_dir in
138224 /*)
139 if ("$as_dir/$as_base" -c '
225 for as_base in sh bash ksh sh5; do
226 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
227 done;;
228 esac
229 done
230 IFS=$as_save_IFS
231
232
233 for as_shell in $as_candidate_shells $SHELL; do
234 # Try only shells that exist, to save several forks.
235 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
236 { ("$as_shell") 2> /dev/null <<\_ASEOF
237 # Be Bourne compatible
238 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
239 emulate sh
240 NULLCMD=:
241 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
242 # is contrary to our usage. Disable this feature.
243 alias -g '${1+"$@"}'='"$@"'
244 setopt NO_GLOB_SUBST
245 else
246 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
247 fi
248 BIN_SH=xpg4; export BIN_SH # for Tru64
249 DUALCASE=1; export DUALCASE # for MKS sh
250
251 :
252 _ASEOF
253 }; then
254 CONFIG_SHELL=$as_shell
255 as_have_required=yes
256 if { "$as_shell" 2> /dev/null <<\_ASEOF
257 # Be Bourne compatible
258 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
259 emulate sh
260 NULLCMD=:
261 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
262 # is contrary to our usage. Disable this feature.
263 alias -g '${1+"$@"}'='"$@"'
264 setopt NO_GLOB_SUBST
265 else
266 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
267 fi
268 BIN_SH=xpg4; export BIN_SH # for Tru64
269 DUALCASE=1; export DUALCASE # for MKS sh
270
271 :
272 (as_func_return () {
273 (exit $1)
274 }
275 as_func_success () {
276 as_func_return 0
277 }
278 as_func_failure () {
279 as_func_return 1
280 }
281 as_func_ret_success () {
282 return 0
283 }
284 as_func_ret_failure () {
285 return 1
286 }
287
288 exitcode=0
289 if as_func_success; then
290 :
291 else
292 exitcode=1
293 echo as_func_success failed.
294 fi
295
296 if as_func_failure; then
297 exitcode=1
298 echo as_func_failure succeeded.
299 fi
300
301 if as_func_ret_success; then
302 :
303 else
304 exitcode=1
305 echo as_func_ret_success failed.
306 fi
307
308 if as_func_ret_failure; then
309 exitcode=1
310 echo as_func_ret_failure succeeded.
311 fi
312
313 if ( set x; as_func_ret_success y && test x = "$1" ); then
314 :
315 else
316 exitcode=1
317 echo positional parameters were not saved.
318 fi
319
320 test $exitcode = 0) || { (exit 1); exit 1; }
321
322 (
140323 as_lineno_1=$LINENO
141324 as_lineno_2=$LINENO
142 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
143325 test "x$as_lineno_1" != "x$as_lineno_2" &&
144 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
145 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
146 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
147 CONFIG_SHELL=$as_dir/$as_base
148 export CONFIG_SHELL
149 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
150 fi;;
151 esac
152 done
153 done
154 ;;
155 esac
326 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
327
328 _ASEOF
329 }; then
330 break
331 fi
332
333 fi
334
335 done
336
337 if test "x$CONFIG_SHELL" != x; then
338 for as_var in BASH_ENV ENV
339 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
340 done
341 export CONFIG_SHELL
342 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
343 fi
344
345
346 if test $as_have_required = no; then
347 echo This script requires a shell more modern than all the
348 echo shells that I found on your system. Please install a
349 echo modern shell, or manually run the script under such a
350 echo shell if you do have one.
351 { (exit 1); exit 1; }
352 fi
353
354
355 fi
356
357 fi
358
359
360
361 (eval "as_func_return () {
362 (exit \$1)
363 }
364 as_func_success () {
365 as_func_return 0
366 }
367 as_func_failure () {
368 as_func_return 1
369 }
370 as_func_ret_success () {
371 return 0
372 }
373 as_func_ret_failure () {
374 return 1
375 }
376
377 exitcode=0
378 if as_func_success; then
379 :
380 else
381 exitcode=1
382 echo as_func_success failed.
383 fi
384
385 if as_func_failure; then
386 exitcode=1
387 echo as_func_failure succeeded.
388 fi
389
390 if as_func_ret_success; then
391 :
392 else
393 exitcode=1
394 echo as_func_ret_success failed.
395 fi
396
397 if as_func_ret_failure; then
398 exitcode=1
399 echo as_func_ret_failure succeeded.
400 fi
401
402 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
403 :
404 else
405 exitcode=1
406 echo positional parameters were not saved.
407 fi
408
409 test \$exitcode = 0") || {
410 echo No shell found that supports shell functions.
411 echo Please tell autoconf@gnu.org about your system,
412 echo including any error possibly output before this
413 echo message
414 }
415
416
417
418 as_lineno_1=$LINENO
419 as_lineno_2=$LINENO
420 test "x$as_lineno_1" != "x$as_lineno_2" &&
421 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
156422
157423 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
158424 # uniformly replaced by the line number. The first 'sed' inserts a
159 # line-number line before each line; the second 'sed' does the real
160 # work. The second script uses 'N' to pair each line-number line
161 # with the numbered line, and appends trailing '-' during
162 # substitution so that $LINENO is not a special case at line end.
425 # line-number line after each line using $LINENO; the second 'sed'
426 # does the real work. The second script uses 'N' to pair each
427 # line-number line with the line containing $LINENO, and appends
428 # trailing '-' during substitution so that $LINENO is not a special
429 # case at line end.
163430 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
164 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
165 sed '=' <$as_myself |
431 # scripts with optimization help from Paolo Bonzini. Blame Lee
432 # E. McMahon (1931-1989) for sed's syntax. :-)
433 sed -n '
434 p
435 /[$]LINENO/=
436 ' <$as_myself |
166437 sed '
438 s/[$]LINENO.*/&-/
439 t lineno
440 b
441 :lineno
167442 N
168 s,$,-,
169 : loop
170 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
443 :loop
444 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
171445 t loop
172 s,-$,,
173 s,^['$as_cr_digits']*\n,,
446 s/-\n.*//
174447 ' >$as_me.lineno &&
175 chmod +x $as_me.lineno ||
448 chmod +x "$as_me.lineno" ||
176449 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
177450 { (exit 1); exit 1; }; }
178451
179452 # Don't try to exec as it changes $[0], causing all sort of problems
180453 # (the dirname of $[0] is not the place where we might find the
181 # original and so on. Autoconf is especially sensible to this).
182 . ./$as_me.lineno
454 # original and so on. Autoconf is especially sensitive to this).
455 . "./$as_me.lineno"
183456 # Exit status is that of the last command.
184457 exit
185458 }
186459
187460
188 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
189 *c*,-n*) ECHO_N= ECHO_C='
190 ' ECHO_T=' ' ;;
191 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
192 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
461 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
462 as_dirname=dirname
463 else
464 as_dirname=false
465 fi
466
467 ECHO_C= ECHO_N= ECHO_T=
468 case `echo -n x` in
469 -n*)
470 case `echo 'x\c'` in
471 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
472 *) ECHO_C='\c';;
473 esac;;
474 *)
475 ECHO_N='-n';;
193476 esac
194477
195 if expr a : '\(a\)' >/dev/null 2>&1; then
478 if expr a : '\(a\)' >/dev/null 2>&1 &&
479 test "X`expr 00001 : '.*\(...\)'`" = X001; then
196480 as_expr=expr
197481 else
198482 as_expr=false
199483 fi
200484
201485 rm -f conf$$ conf$$.exe conf$$.file
486 if test -d conf$$.dir; then
487 rm -f conf$$.dir/conf$$.file
488 else
489 rm -f conf$$.dir
490 mkdir conf$$.dir
491 fi
202492 echo >conf$$.file
203493 if ln -s conf$$.file conf$$ 2>/dev/null; then
204 # We could just check for DJGPP; but this test a) works b) is more generic
205 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
206 if test -f conf$$.exe; then
207 # Don't use ln at all; we don't have any links
494 as_ln_s='ln -s'
495 # ... but there are two gotchas:
496 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498 # In both cases, we have to default to `cp -p'.
499 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
208500 as_ln_s='cp -p'
209 else
210 as_ln_s='ln -s'
211 fi
212501 elif ln conf$$.file conf$$ 2>/dev/null; then
213502 as_ln_s=ln
214503 else
215504 as_ln_s='cp -p'
216505 fi
217 rm -f conf$$ conf$$.exe conf$$.file
506 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
507 rmdir conf$$.dir 2>/dev/null
218508
219509 if mkdir -p . 2>/dev/null; then
220510 as_mkdir_p=:
223513 as_mkdir_p=false
224514 fi
225515
226 as_executable_p="test -f"
516 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
517 # systems may use methods other than mode bits to determine executability.
518 cat >conf$$.file <<_ASEOF
519 #! /bin/sh
520 exit 0
521 _ASEOF
522 chmod +x conf$$.file
523 if test -x conf$$.file >/dev/null 2>&1; then
524 as_executable_p="test -x"
525 else
526 as_executable_p=:
527 fi
528 rm -f conf$$.file
227529
228530 # Sed expression to map a string onto a valid CPP name.
229531 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232534 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
233535
234536
235 # IFS
236 # We need space, tab and new line, in precisely that order.
237 as_nl='
238 '
239 IFS=" $as_nl"
240
241 # CDPATH.
242 $as_unset CDPATH
243
537
538 exec 7<&0 &1
244539
245540 # Name of the host.
246541 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247542 # so uname gets run too.
248543 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249544
250 exec 6>&1
251
252545 #
253546 # Initializations.
254547 #
255548 ac_default_prefix=/usr/local
549 ac_clean_files=
256550 ac_config_libobj_dir=.
551 LIBOBJS=
257552 cross_compiling=no
258553 subdirs=
259554 MFLAGS=
260555 MAKEFLAGS=
261556 SHELL=${CONFIG_SHELL-/bin/sh}
262
263 # Maximum number of lines to put in a shell here document.
264 # This variable seems obsolete. It should probably be removed, and
265 # only ac_max_sed_lines should be used.
266 : ${ac_max_here_lines=38}
267557
268558 # Identity of this package.
269559 PACKAGE_NAME='[SAMPLE]'
273563 PACKAGE_BUGREPORT='bugs@yourdomain'
274564
275565 ac_unique_file=""Makefile.common.in""
276 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS LLVM_SRC LLVM_OBJ LIBOBJS LTLIBOBJS'
566 ac_subst_vars='SHELL
567 PATH_SEPARATOR
568 PACKAGE_NAME
569 PACKAGE_TARNAME
570 PACKAGE_VERSION
571 PACKAGE_STRING
572 PACKAGE_BUGREPORT
573 exec_prefix
574 prefix
575 program_transform_name
576 bindir
577 sbindir
578 libexecdir
579 datarootdir
580 datadir
581 sysconfdir
582 sharedstatedir
583 localstatedir
584 includedir
585 oldincludedir
586 docdir
587 infodir
588 htmldir
589 dvidir
590 pdfdir
591 psdir
592 libdir
593 localedir
594 mandir
595 DEFS
596 ECHO_C
597 ECHO_N
598 ECHO_T
599 LIBS
600 build_alias
601 host_alias
602 target_alias
603 LLVM_SRC
604 LLVM_OBJ
605 LIBOBJS
606 LTLIBOBJS'
277607 ac_subst_files=''
608 ac_precious_vars='build_alias
609 host_alias
610 target_alias'
611
278612
279613 # Initialize some variables set by options.
280614 ac_init_help=
301635 # and all the variables that are supposed to be based on exec_prefix
302636 # by default will actually change.
303637 # Use braces instead of parens because sh, perl, etc. also accept them.
638 # (The list follows the same order as the GNU Coding Standards.)
304639 bindir='${exec_prefix}/bin'
305640 sbindir='${exec_prefix}/sbin'
306641 libexecdir='${exec_prefix}/libexec'
307 datadir='${prefix}/share'
642 datarootdir='${prefix}/share'
643 datadir='${datarootdir}'
308644 sysconfdir='${prefix}/etc'
309645 sharedstatedir='${prefix}/com'
310646 localstatedir='${prefix}/var'
311 libdir='${exec_prefix}/lib'
312647 includedir='${prefix}/include'
313648 oldincludedir='/usr/include'
314 infodir='${prefix}/info'
315 mandir='${prefix}/man'
649 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
650 infodir='${datarootdir}/info'
651 htmldir='${docdir}'
652 dvidir='${docdir}'
653 pdfdir='${docdir}'
654 psdir='${docdir}'
655 libdir='${exec_prefix}/lib'
656 localedir='${datarootdir}/locale'
657 mandir='${datarootdir}/man'
316658
317659 ac_prev=
660 ac_dashdash=
318661 for ac_option
319662 do
320663 # If the previous option needs an argument, assign it.
321664 if test -n "$ac_prev"; then
322 eval "$ac_prev=\$ac_option"
665 eval $ac_prev=\$ac_option
323666 ac_prev=
324667 continue
325668 fi
326669
327 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
670 case $ac_option in
671 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
672 *) ac_optarg=yes ;;
673 esac
328674
329675 # Accept the important Cygnus configure options, so we can diagnose typos.
330676
331 case $ac_option in
677 case $ac_dashdash$ac_option in
678 --)
679 ac_dashdash=yes ;;
332680
333681 -bindir | --bindir | --bindi | --bind | --bin | --bi)
334682 ac_prev=bindir ;;
350698 --config-cache | -C)
351699 cache_file=config.cache ;;
352700
353 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
701 -datadir | --datadir | --datadi | --datad)
354702 ac_prev=datadir ;;
355 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
356 | --da=*)
703 -datadir=* | --datadir=* | --datadi=* | --datad=*)
357704 datadir=$ac_optarg ;;
705
706 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
707 | --dataroo | --dataro | --datar)
708 ac_prev=datarootdir ;;
709 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
710 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
711 datarootdir=$ac_optarg ;;
358712
359713 -disable-* | --disable-*)
360714 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
363717 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364718 { (exit 1); exit 1; }; }
365719 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
366 eval "enable_$ac_feature=no" ;;
720 eval enable_$ac_feature=no ;;
721
722 -docdir | --docdir | --docdi | --doc | --do)
723 ac_prev=docdir ;;
724 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
725 docdir=$ac_optarg ;;
726
727 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
728 ac_prev=dvidir ;;
729 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
730 dvidir=$ac_optarg ;;
367731
368732 -enable-* | --enable-*)
369733 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
372736 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373737 { (exit 1); exit 1; }; }
374738 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
375 case $ac_option in
376 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
377 *) ac_optarg=yes ;;
378 esac
379 eval "enable_$ac_feature='$ac_optarg'" ;;
739 eval enable_$ac_feature=\$ac_optarg ;;
380740
381741 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
382742 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
403763 -host=* | --host=* | --hos=* | --ho=*)
404764 host_alias=$ac_optarg ;;
405765
766 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
767 ac_prev=htmldir ;;
768 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
769 | --ht=*)
770 htmldir=$ac_optarg ;;
771
406772 -includedir | --includedir | --includedi | --included | --include \
407773 | --includ | --inclu | --incl | --inc)
408774 ac_prev=includedir ;;
427793 | --libexe=* | --libex=* | --libe=*)
428794 libexecdir=$ac_optarg ;;
429795
796 -localedir | --localedir | --localedi | --localed | --locale)
797 ac_prev=localedir ;;
798 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
799 localedir=$ac_optarg ;;
800
430801 -localstatedir | --localstatedir | --localstatedi | --localstated \
431 | --localstate | --localstat | --localsta | --localst \
432 | --locals | --local | --loca | --loc | --lo)
802 | --localstate | --localstat | --localsta | --localst | --locals)
433803 ac_prev=localstatedir ;;
434804 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
435 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
436 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
805 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
437806 localstatedir=$ac_optarg ;;
438807
439808 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
498867 | --progr-tra=* | --program-tr=* | --program-t=*)
499868 program_transform_name=$ac_optarg ;;
500869
870 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
871 ac_prev=pdfdir ;;
872 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
873 pdfdir=$ac_optarg ;;
874
875 -psdir | --psdir | --psdi | --psd | --ps)
876 ac_prev=psdir ;;
877 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
878 psdir=$ac_optarg ;;
879
501880 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
502881 | -silent | --silent | --silen | --sile | --sil)
503882 silent=yes ;;
554933 { echo "$as_me: error: invalid package name: $ac_package" >&2
555934 { (exit 1); exit 1; }; }
556935 ac_package=`echo $ac_package| sed 's/-/_/g'`
557 case $ac_option in
558 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
559 *) ac_optarg=yes ;;
560 esac
561 eval "with_$ac_package='$ac_optarg'" ;;
936 eval with_$ac_package=\$ac_optarg ;;
562937
563938 -without-* | --without-*)
564939 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
567942 { echo "$as_me: error: invalid package name: $ac_package" >&2
568943 { (exit 1); exit 1; }; }
569944 ac_package=`echo $ac_package | sed 's/-/_/g'`
570 eval "with_$ac_package=no" ;;
945 eval with_$ac_package=no ;;
571946
572947 --x)
573948 # Obsolete; use --with-x.
598973 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
599974 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600975 { (exit 1); exit 1; }; }
601 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602 eval "$ac_envvar='$ac_optarg'"
976 eval $ac_envvar=\$ac_optarg
603977 export $ac_envvar ;;
604978
605979 *)
619993 { (exit 1); exit 1; }; }
620994 fi
621995
622 # Be sure to have absolute paths.
623 for ac_var in exec_prefix prefix
996 # Be sure to have absolute directory names.
997 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
998 datadir sysconfdir sharedstatedir localstatedir includedir \
999 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1000 libdir localedir mandir
6241001 do
625 eval ac_val=$`echo $ac_var`
1002 eval ac_val=\$$ac_var
6261003 case $ac_val in
627 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
628 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629 { (exit 1); exit 1; }; };;
1004 [\\/$]* | ?:[\\/]* ) continue;;
1005 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
6301006 esac
631 done
632
633 # Be sure to have absolute paths.
634 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635 localstatedir libdir includedir oldincludedir infodir mandir
636 do
637 eval ac_val=$`echo $ac_var`
638 case $ac_val in
639 [\\/$]* | ?:[\\/]* ) ;;
640 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641 { (exit 1); exit 1; }; };;
642 esac
1007 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1008 { (exit 1); exit 1; }; }
6431009 done
6441010
6451011 # There might be people who depend on the old broken behavior: `$host'
6661032 test "$silent" = yes && exec 6>/dev/null
6671033
6681034
1035 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1036 ac_ls_di=`ls -di .` &&
1037 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1038 { echo "$as_me: error: Working directory cannot be determined" >&2
1039 { (exit 1); exit 1; }; }
1040 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1041 { echo "$as_me: error: pwd does not report name of working directory" >&2
1042 { (exit 1); exit 1; }; }
1043
1044
6691045 # Find the source files, if location was not specified.
6701046 if test -z "$srcdir"; then
6711047 ac_srcdir_defaulted=yes
672 # Try the directory containing this script, then its parent.
673 ac_confdir=`(dirname "$0") 2>/dev/null ||
1048 # Try the directory containing this script, then the parent directory.
1049 ac_confdir=`$as_dirname -- "$0" ||
6741050 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6751051 X"$0" : 'X\(//\)[^/]' \| \
6761052 X"$0" : 'X\(//\)$' \| \
677 X"$0" : 'X\(/\)' \| \
678 . : '\(.\)' 2>/dev/null ||
1053 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6791054 echo X"$0" |
680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682 /^X\(\/\/\)$/{ s//\1/; q; }
683 /^X\(\/\).*/{ s//\1/; q; }
684 s/.*/./; q'`
1055 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1056 s//\1/
1057 q
1058 }
1059 /^X\(\/\/\)[^/].*/{
1060 s//\1/
1061 q
1062 }
1063 /^X\(\/\/\)$/{
1064 s//\1/
1065 q
1066 }
1067 /^X\(\/\).*/{
1068 s//\1/
1069 q
1070 }
1071 s/.*/./; q'`
6851072 srcdir=$ac_confdir
686 if test ! -r $srcdir/$ac_unique_file; then
1073 if test ! -r "$srcdir/$ac_unique_file"; then
6871074 srcdir=..
6881075 fi
6891076 else
6901077 ac_srcdir_defaulted=no
6911078 fi
692 if test ! -r $srcdir/$ac_unique_file; then
693 if test "$ac_srcdir_defaulted" = yes; then
694 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1079 if test ! -r "$srcdir/$ac_unique_file"; then
1080 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1081 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
6951082 { (exit 1); exit 1; }; }
696 else
697 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1083 fi
1084 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1085 ac_abs_confdir=`(
1086 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
6981087 { (exit 1); exit 1; }; }
699 fi
700 fi
701 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
702 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703 { (exit 1); exit 1; }; }
704 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705 ac_env_build_alias_set=${build_alias+set}
706 ac_env_build_alias_value=$build_alias
707 ac_cv_env_build_alias_set=${build_alias+set}
708 ac_cv_env_build_alias_value=$build_alias
709 ac_env_host_alias_set=${host_alias+set}
710 ac_env_host_alias_value=$host_alias
711 ac_cv_env_host_alias_set=${host_alias+set}
712 ac_cv_env_host_alias_value=$host_alias
713 ac_env_target_alias_set=${target_alias+set}
714 ac_env_target_alias_value=$target_alias
715 ac_cv_env_target_alias_set=${target_alias+set}
716 ac_cv_env_target_alias_value=$target_alias
1088 pwd)`
1089 # When building in place, set srcdir=.
1090 if test "$ac_abs_confdir" = "$ac_pwd"; then
1091 srcdir=.
1092 fi
1093 # Remove unnecessary trailing slashes from srcdir.
1094 # Double slashes in file names in object file debugging info
1095 # mess up M-x gdb in Emacs.
1096 case $srcdir in
1097 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1098 esac
1099 for ac_var in $ac_precious_vars; do
1100 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1101 eval ac_env_${ac_var}_value=\$${ac_var}
1102 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1103 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1104 done
7171105
7181106 #
7191107 # Report the --help message.
7421130 -n, --no-create do not create output files
7431131 --srcdir=DIR find the sources in DIR [configure dir or \`..']
7441132
745 _ACEOF
746
747 cat <<_ACEOF
7481133 Installation directories:
7491134 --prefix=PREFIX install architecture-independent files in PREFIX
7501135 [$ac_default_prefix]
7621147 --bindir=DIR user executables [EPREFIX/bin]
7631148 --sbindir=DIR system admin executables [EPREFIX/sbin]
7641149 --libexecdir=DIR program executables [EPREFIX/libexec]
765 --datadir=DIR read-only architecture-independent data [PREFIX/share]
7661150 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
7671151 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
7681152 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
7691153 --libdir=DIR object code libraries [EPREFIX/lib]
7701154 --includedir=DIR C header files [PREFIX/include]
7711155 --oldincludedir=DIR C header files for non-gcc [/usr/include]
772 --infodir=DIR info documentation [PREFIX/info]
773 --mandir=DIR man documentation [PREFIX/man]
1156 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1157 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1158 --infodir=DIR info documentation [DATAROOTDIR/info]
1159 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1160 --mandir=DIR man documentation [DATAROOTDIR/man]
1161 --docdir=DIR documentation root [DATAROOTDIR/doc/--sample--]
1162 --htmldir=DIR html documentation [DOCDIR]
1163 --dvidir=DIR dvi documentation [DOCDIR]
1164 --pdfdir=DIR pdf documentation [DOCDIR]
1165 --psdir=DIR ps documentation [DOCDIR]
7741166 _ACEOF
7751167
7761168 cat <<\_ACEOF
7911183
7921184 Report bugs to .
7931185 _ACEOF
1186 ac_status=$?
7941187 fi
7951188
7961189 if test "$ac_init_help" = "recursive"; then
7971190 # If there are subdirs, report their specific --help.
798 ac_popdir=`pwd`
7991191 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
800 test -d $ac_dir || continue
1192 test -d "$ac_dir" || continue
8011193 ac_builddir=.
8021194
803 if test "$ac_dir" != .; then
1195 case "$ac_dir" in
1196 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1197 *)
8041198 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
805 # A "../" for each directory in $ac_dir_suffix.
806 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
807 else
808 ac_dir_suffix= ac_top_builddir=
809 fi
1199 # A ".." for each directory in $ac_dir_suffix.
1200 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1201 case $ac_top_builddir_sub in
1202 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1203 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1204 esac ;;
1205 esac
1206 ac_abs_top_builddir=$ac_pwd
1207 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1208 # for backward compatibility:
1209 ac_top_builddir=$ac_top_build_prefix
8101210
8111211 case $srcdir in
812 .) # No --srcdir option. We are building in place.
1212 .) # We are building in place.
8131213 ac_srcdir=.
814 if test -z "$ac_top_builddir"; then
815 ac_top_srcdir=.
816 else
817 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
818 fi ;;
819 [\\/]* | ?:[\\/]* ) # Absolute path.
1214 ac_top_srcdir=$ac_top_builddir_sub
1215 ac_abs_top_srcdir=$ac_pwd ;;
1216 [\\/]* | ?:[\\/]* ) # Absolute name.
8201217 ac_srcdir=$srcdir$ac_dir_suffix;
821 ac_top_srcdir=$srcdir ;;
822 *) # Relative path.
823 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
824 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1218 ac_top_srcdir=$srcdir
1219 ac_abs_top_srcdir=$srcdir ;;
1220 *) # Relative name.
1221 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1222 ac_top_srcdir=$ac_top_build_prefix$srcdir
1223 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8251224 esac
826
827 # Do not use `cd foo && pwd` to compute absolute paths, because
828 # the directories may not exist.
829 case `pwd` in
830 .) ac_abs_builddir="$ac_dir";;
831 *)
832 case "$ac_dir" in
833 .) ac_abs_builddir=`pwd`;;
834 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
835 *) ac_abs_builddir=`pwd`/"$ac_dir";;
836 esac;;
837 esac
838 case $ac_abs_builddir in
839 .) ac_abs_top_builddir=${ac_top_builddir}.;;
840 *)
841 case ${ac_top_builddir}. in
842 .) ac_abs_top_builddir=$ac_abs_builddir;;
843 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
844 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
845 esac;;
846 esac
847 case $ac_abs_builddir in
848 .) ac_abs_srcdir=$ac_srcdir;;
849 *)
850 case $ac_srcdir in
851 .) ac_abs_srcdir=$ac_abs_builddir;;
852 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
853 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
854 esac;;
855 esac
856 case $ac_abs_builddir in
857 .) ac_abs_top_srcdir=$ac_top_srcdir;;
858 *)
859 case $ac_top_srcdir in
860 .) ac_abs_top_srcdir=$ac_abs_builddir;;
861 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
862 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
863 esac;;
864 esac
865
866 cd $ac_dir
867 # Check for guested configure; otherwise get Cygnus style configure.
868 if test -f $ac_srcdir/configure.gnu; then
869 echo
870 $SHELL $ac_srcdir/configure.gnu --help=recursive
871 elif test -f $ac_srcdir/configure; then
872 echo
873 $SHELL $ac_srcdir/configure --help=recursive
874 elif test -f $ac_srcdir/configure.ac ||
875 test -f $ac_srcdir/configure.in; then
876 echo
877 $ac_configure --help
1225 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1226
1227 cd "$ac_dir" || { ac_status=$?; continue; }
1228 # Check for guested configure.
1229 if test -f "$ac_srcdir/configure.gnu"; then
1230 echo &&
1231 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1232 elif test -f "$ac_srcdir/configure"; then
1233 echo &&
1234 $SHELL "$ac_srcdir/configure" --help=recursive
8781235 else
8791236 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
880 fi
881 cd $ac_popdir
1237 fi || ac_status=$?
1238 cd "$ac_pwd" || { ac_status=$?; break; }
8821239 done
8831240 fi
8841241
885 test -n "$ac_init_help" && exit 0
1242 test -n "$ac_init_help" && exit $ac_status
8861243 if $ac_init_version; then
8871244 cat <<\_ACEOF
8881245 [SAMPLE] configure [x.xx]
889 generated by GNU Autoconf 2.59
890
891 Copyright (C) 2003 Free Software Foundation, Inc.
1246 generated by GNU Autoconf 2.60
1247
1248 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1249 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8921250 This configure script is free software; the Free Software Foundation
8931251 gives unlimited permission to copy, distribute and modify it.
8941252 _ACEOF
895 exit 0
896 fi
897 exec 5>config.log
898 cat >&5 <<_ACEOF
1253 exit
1254 fi
1255 cat >config.log <<_ACEOF
8991256 This file contains any messages produced by compilers while
9001257 running configure, to aid debugging if configure makes a mistake.
9011258
9021259 It was created by [SAMPLE] $as_me [x.xx], which was
903 generated by GNU Autoconf 2.59. Invocation command line was
1260 generated by GNU Autoconf 2.60. Invocation command line was
9041261
9051262 $ $0 $@
9061263
9071264 _ACEOF
1265 exec 5>>config.log
9081266 {
9091267 cat <<_ASUNAME
9101268 ## --------- ##
9231281 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
9241282 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
9251283 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
926 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1284 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
9271285 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
9281286 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
9291287 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
9371295 test -z "$as_dir" && as_dir=.
9381296 echo "PATH: $as_dir"
9391297 done
1298 IFS=$as_save_IFS
9401299
9411300 } >&5
9421301
9581317 ac_configure_args=
9591318 ac_configure_args0=
9601319 ac_configure_args1=
961 ac_sep=
9621320 ac_must_keep_next=false
9631321 for ac_pass in 1 2
9641322 do
9691327 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9701328 | -silent | --silent | --silen | --sile | --sil)
9711329 continue ;;
972 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1330 *\'*)
9731331 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9741332 esac
9751333 case $ac_pass in
9911349 -* ) ac_must_keep_next=true ;;
9921350 esac
9931351 fi
994 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
995 # Get rid of the leading space.
996 ac_sep=" "
1352 ac_configure_args="$ac_configure_args '$ac_arg'"
9971353 ;;
9981354 esac
9991355 done
10041360 # When interrupted or exit'd, cleanup temporary files, and complete
10051361 # config.log. We remove comments because anyway the quotes in there
10061362 # would cause problems or look ugly.
1007 # WARNING: Be sure not to use single quotes in there, as some shells,
1008 # such as our DU 5.0 friend, will then `close' the trap.
1363 # WARNING: Use '\'' to represent an apostrophe within the trap.
1364 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
10091365 trap 'exit_status=$?
10101366 # Save into config.log some information that might help in debugging.
10111367 {
10181374 _ASBOX
10191375 echo
10201376 # The following way of writing the cache mishandles newlines in values,
1021 {
1377 (
1378 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1379 eval ac_val=\$$ac_var
1380 case $ac_val in #(
1381 *${as_nl}*)
1382 case $ac_var in #(
1383 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1384 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1385 esac
1386 case $ac_var in #(
1387 _ | IFS | as_nl) ;; #(
1388 *) $as_unset $ac_var ;;
1389 esac ;;
1390 esac
1391 done
10221392 (set) 2>&1 |
1023 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1024 *ac_space=\ *)
1393 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1394 *${as_nl}ac_space=\ *)
10251395 sed -n \
1026 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1027 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1396 "s/'\''/'\''\\\\'\'''\''/g;
1397 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1398 ;; #(
1399 *)
1400 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10281401 ;;
1029 *)
1030 sed -n \
1031 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1032 ;;
1033 esac;
1034 }
1402 esac |
1403 sort
1404 )
10351405 echo
10361406
10371407 cat <<\_ASBOX
10421412 echo
10431413 for ac_var in $ac_subst_vars
10441414 do
1045 eval ac_val=$`echo $ac_var`
1046 echo "$ac_var='"'"'$ac_val'"'"'"
1415 eval ac_val=\$$ac_var
1416 case $ac_val in
1417 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1418 esac
1419 echo "$ac_var='\''$ac_val'\''"
10471420 done | sort
10481421 echo
10491422
10501423 if test -n "$ac_subst_files"; then
10511424 cat <<\_ASBOX
1052 ## ------------- ##
1053 ## Output files. ##
1054 ## ------------- ##
1425 ## ------------------- ##
1426 ## File substitutions. ##
1427 ## ------------------- ##
10551428 _ASBOX
10561429 echo
10571430 for ac_var in $ac_subst_files
10581431 do
1059 eval ac_val=$`echo $ac_var`
1060 echo "$ac_var='"'"'$ac_val'"'"'"
1432 eval ac_val=\$$ac_var
1433 case $ac_val in
1434 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1435 esac
1436 echo "$ac_var='\''$ac_val'\''"
10611437 done | sort
10621438 echo
10631439 fi
10691445 ## ----------- ##
10701446 _ASBOX
10711447 echo
1072 sed "/^$/d" confdefs.h | sort
1448 cat confdefs.h
10731449 echo
10741450 fi
10751451 test "$ac_signal" != 0 &&
10761452 echo "$as_me: caught signal $ac_signal"
10771453 echo "$as_me: exit $exit_status"
10781454 } >&5
1079 rm -f core *.core &&
1080 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1455 rm -f core *.core core.conftest.* &&
1456 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
10811457 exit $exit_status
1082 ' 0
1458 ' 0
10831459 for ac_signal in 1 2 13 15; do
10841460 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
10851461 done
10861462 ac_signal=0
10871463
10881464 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1089 rm -rf conftest* confdefs.h
1090 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1091 echo >confdefs.h
1465 rm -f -r conftest* confdefs.h
10921466
10931467 # Predefined preprocessor variables.
10941468
11191493
11201494 # Let the site file select an alternate cache file if it wants to.
11211495 # Prefer explicitly selected file to automatically selected ones.
1122 if test -z "$CONFIG_SITE"; then
1123 if test "x$prefix" != xNONE; then
1124 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1125 else
1126 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1127 fi
1128 fi
1129 for ac_site_file in $CONFIG_SITE; do
1496 if test -n "$CONFIG_SITE"; then
1497 set x "$CONFIG_SITE"
1498 elif test "x$prefix" != xNONE; then
1499 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1500 else
1501 set x "$ac_default_prefix/share/config.site" \
1502 "$ac_default_prefix/etc/config.site"
1503 fi
1504 shift
1505 for ac_site_file
1506 do
11301507 if test -r "$ac_site_file"; then
11311508 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
11321509 echo "$as_me: loading site script $ac_site_file" >&6;}
11421519 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
11431520 echo "$as_me: loading cache $cache_file" >&6;}
11441521 case $cache_file in
1145 [\\/]* | ?:[\\/]* ) . $cache_file;;
1146 *) . ./$cache_file;;
1522 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1523 *) . "./$cache_file";;
11471524 esac
11481525 fi
11491526 else
11551532 # Check that the precious variables saved in the cache have kept the same
11561533 # value.
11571534 ac_cache_corrupted=false
1158 for ac_var in `(set) 2>&1 |
1159 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1535 for ac_var in $ac_precious_vars; do
11601536 eval ac_old_set=\$ac_cv_env_${ac_var}_set
11611537 eval ac_new_set=\$ac_env_${ac_var}_set
1162 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1163 eval ac_new_val="\$ac_env_${ac_var}_value"
1538 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1539 eval ac_new_val=\$ac_env_${ac_var}_value
11641540 case $ac_old_set,$ac_new_set in
11651541 set,)
11661542 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
11851561 # Pass precious variables to config.status.
11861562 if test "$ac_new_set" = set; then
11871563 case $ac_new_val in
1188 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1189 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1564 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
11901565 *) ac_arg=$ac_var=$ac_new_val ;;
11911566 esac
11921567 case " $ac_configure_args " in
12031578 { (exit 1); exit 1; }; }
12041579 fi
12051580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
12061605 ac_ext=c
12071606 ac_cpp='$CPP $CPPFLAGS'
12081607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12111610
12121611
12131612
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1613 LLVM_SRC_ROOT="../.."
1614 LLVM_OBJ_ROOT="../.."
1615
1616 LLVM_ABS_SRC_ROOT="`cd $srcdir ; cd $LLVM_SRC_ROOT ; pwd`"
1617 LLVM_ABS_OBJ_ROOT="`cd $LLVM_OBJ_ROOT ; pwd`"
1618
1619
1620 # Check whether --with-llvmsrc was given.
1621 if test "${with_llvmsrc+set}" = set; then
1622 withval=$with_llvmsrc; llvm_src="$withval"
1623 else
1624 llvm_src="$LLVM_ABS_SRC_ROOT"
1625 fi
1626
1627 LLVM_SRC=$llvm_src
1628
1629
1630 # Check whether --with-llvmobj was given.
1631 if test "${with_llvmobj+set}" = set; then
1632 withval=$with_llvmobj; llvm_obj="$withval"
1633 else
1634 llvm_obj="$LLVM_ABS_OBJ_ROOT"
1635 fi
1636
1637 LLVM_OBJ=$llvm_obj
1638
1639 ac_config_commands="$ac_config_commands setup"
12361640
12371641
12381642
12391643 ac_aux_dir=
1240 for ac_dir in ../../autoconf $srcdir/../../autoconf; do
1241 if test -f $ac_dir/install-sh; then
1644 for ac_dir in $LLVM_SRC/autoconf "$srcdir"/$LLVM_SRC/autoconf; do
1645 if test -f "$ac_dir/install-sh"; then
12421646 ac_aux_dir=$ac_dir
12431647 ac_install_sh="$ac_aux_dir/install-sh -c"
12441648 break
1245 elif test -f $ac_dir/install.sh; then
1649 elif test -f "$ac_dir/install.sh"; then
12461650 ac_aux_dir=$ac_dir
12471651 ac_install_sh="$ac_aux_dir/install.sh -c"
12481652 break
1249 elif test -f $ac_dir/shtool; then
1653 elif test -f "$ac_dir/shtool"; then
12501654 ac_aux_dir=$ac_dir
12511655 ac_install_sh="$ac_aux_dir/shtool install -c"
12521656 break
12531657 fi
12541658 done
12551659 if test -z "$ac_aux_dir"; then
1256 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../autoconf $srcdir/../../autoconf" >&5
1257 echo "$as_me: error: cannot find install-sh or install.sh in ../../autoconf $srcdir/../../autoconf" >&2;}
1660 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $LLVM_SRC/autoconf \"$srcdir\"/$LLVM_SRC/autoconf" >&5
1661 echo "$as_me: error: cannot find install-sh or install.sh in $LLVM_SRC/autoconf \"$srcdir\"/$LLVM_SRC/autoconf" >&2;}
12581662 { (exit 1); exit 1; }; }
12591663 fi
1260 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1261 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1262 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1263
1264
1265
1266 # Check whether --with-llvmsrc or --without-llvmsrc was given.
1267 if test "${with_llvmsrc+set}" = set; then
1268 withval="$with_llvmsrc"
1269 llvm_src="$withval"
1270 else
1271 llvm_src=`cd ${srcdir}/../..; pwd`
1272 fi;
1273 LLVM_SRC=$llvm_src
1274
1275
1276 # Check whether --with-llvmobj or --without-llvmobj was given.
1277 if test "${with_llvmobj+set}" = set; then
1278 withval="$with_llvmobj"
1279 llvm_obj="$withval"
1280 else
1281 llvm_obj=`cd ../..; pwd`
1282 fi;
1283 LLVM_OBJ=$llvm_obj
1284
1285 ac_config_commands="$ac_config_commands setup"
1286
1287
1288
1289
1290
1291 ac_config_files="$ac_config_files Makefile.common"
1292
1293
1294 ac_config_commands="$ac_config_commands Makefile"
1295
1296
1297 ac_config_commands="$ac_config_commands lib/Makefile"
1298
1299
1300 ac_config_commands="$ac_config_commands lib/sample/Makefile"
1301
1302
1303 ac_config_commands="$ac_config_commands tools/Makefile"
1304
1305
1306 ac_config_commands="$ac_config_commands tools/sample/Makefile"
1664
1665 # These three variables are undocumented and unsupported,
1666 # and are intended to be withdrawn in a future Autoconf release.
1667 # They can cause serious problems if a builder's source tree is in a directory
1668 # whose full name contains unusual characters.
1669 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1670 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1671 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1672
1673
1674
1675
1676
1677 ac_config_files="$ac_config_files Makefile.common"
1678
1679
1680 ac_config_commands="$ac_config_commands Makefile"
1681
1682
1683 ac_config_commands="$ac_config_commands lib/Makefile"
1684
1685
1686 ac_config_commands="$ac_config_commands lib/sample/Makefile"
1687
1688
1689 ac_config_commands="$ac_config_commands tools/Makefile"
1690
1691
1692 ac_config_commands="$ac_config_commands tools/sample/Makefile"
13071693
13081694
13091695
13341720
13351721 # The following way of writing the cache mishandles newlines in values,
13361722 # but we know of no workaround that is simple, portable, and efficient.
1337 # So, don't put newlines in cache variables' values.
1723 # So, we kill variables containing newlines.
13381724 # Ultrix sh set writes to stderr and can't be redirected directly,
13391725 # and sets the high bit in the cache file unless we assign to the vars.
1340 {
1726 (
1727 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1728 eval ac_val=\$$ac_var
1729 case $ac_val in #(
1730 *${as_nl}*)
1731 case $ac_var in #(
1732 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1733 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1734 esac
1735 case $ac_var in #(
1736 _ | IFS | as_nl) ;; #(
1737 *) $as_unset $ac_var ;;
1738 esac ;;
1739 esac
1740 done
1741
13411742 (set) 2>&1 |
1342 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1343 *ac_space=\ *)
1743 case $as_nl`(ac_space=' '; set) 2>&1` in #(
1744 *${as_nl}ac_space=\ *)
13441745 # `set' does not quote correctly, so add quotes (double-quote
13451746 # substitution turns \\\\ into \\, and sed turns \\ into \).
13461747 sed -n \
13471748 "s/'/'\\\\''/g;
13481749 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1349 ;;
1750 ;; #(
13501751 *)
13511752 # `set' quotes correctly as required by POSIX, so do not add quotes.
1352 sed -n \
1353 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1753 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13541754 ;;
1355 esac;
1356 } |
1755 esac |
1756 sort
1757 ) |
13571758 sed '
1759 /^ac_cv_env_/b end
13581760 t clear
1359 : clear
1761 :clear
13601762 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13611763 t end
1362 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1363 : end' >>confcache
1364 if diff $cache_file confcache >/dev/null 2>&1; then :; else
1365 if test -w $cache_file; then
1366 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1764 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1765 :end' >>confcache
1766 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1767 if test -w "$cache_file"; then
1768 test "x$cache_file" != "x/dev/null" &&
1769 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
1770 echo "$as_me: updating cache $cache_file" >&6;}
13671771 cat confcache >$cache_file
13681772 else
1369 echo "not updating unwritable cache $cache_file"
1773 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
1774 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13701775 fi
13711776 fi
13721777 rm -f confcache
13741779 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13751780 # Let make expand exec_prefix.
13761781 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1377
1378 # VPATH may cause trouble with some makes, so we remove $(srcdir),
1379 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1380 # trailing colons and then remove the whole line if VPATH becomes empty
1381 # (actually we leave an empty line to preserve line numbers).
1382 if test "x$srcdir" = x.; then
1383 ac_vpsub='/^[ ]*VPATH[ ]*=/{
1384 s/:*\$(srcdir):*/:/;
1385 s/:*\${srcdir}:*/:/;
1386 s/:*@srcdir@:*/:/;
1387 s/^\([^=]*=[ ]*\):*/\1/;
1388 s/:*$//;
1389 s/^[^=]*=[ ]*$//;
1390 }'
1391 fi
13921782
13931783 # Transform confdefs.h into DEFS.
13941784 # Protect against shell expansion while executing Makefile rules.
13951785 # Protect against Makefile macro expansion.
13961786 #
13971787 # If the first sed substitution is executed (which looks for macros that
1398 # take arguments), then we branch to the quote section. Otherwise,
1788 # take arguments), then branch to the quote section. Otherwise,
13991789 # look for a macro that doesn't take arguments.
1400 cat >confdef2opt.sed <<\_ACEOF
1790 ac_script='
14011791 t clear
1402 : clear
1403 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
1792 :clear
1793 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14041794 t quote
1405 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
1795 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14061796 t quote
1407 d
1408 : quote
1409 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
1410 s,\[,\\&,g
1411 s,\],\\&,g
1412 s,\$,$$,g
1413 p
1414 _ACEOF
1415 # We use echo to avoid assuming a particular line-breaking character.
1416 # The extra dot is to prevent the shell from consuming trailing
1417 # line-breaks from the sub-command output. A line-break within
1418 # single-quotes doesn't work because, if this script is created in a
1419 # platform that uses two characters for line-breaks (e.g., DOS), tr
1420 # would break.
1421 ac_LF_and_DOT=`echo; echo .`
1422 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1423 rm -f confdef2opt.sed
1797 b any
1798 :quote
1799 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
1800 s/\[/\\&/g
1801 s/\]/\\&/g
1802 s/\$/$$/g
1803 H
1804 :any
1805 ${
1806 g
1807 s/^\n//
1808 s/\n/ /g
1809 p
1810 }
1811 '
1812 DEFS=`sed -n "$ac_script" confdefs.h`
14241813
14251814
14261815 ac_libobjs=
14271816 ac_ltlibobjs=
14281817 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14291818 # 1. Remove the extension, and $U if already installed.
1430 ac_i=`echo "$ac_i" |
1431 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1432 # 2. Add them.
1433 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
1434 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
1819 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1820 ac_i=`echo "$ac_i" | sed "$ac_script"`
1821 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
1822 # will be set to the directory where LIBOBJS objects are built.
1823 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
1824 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
14351825 done
14361826 LIBOBJS=$ac_libobjs
14371827
14691859 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
14701860 # is contrary to our usage. Disable this feature.
14711861 alias -g '${1+"$@"}'='"$@"'
1472 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1473 set -o posix
1474 fi
1862 setopt NO_GLOB_SUBST
1863 else
1864 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
1865 fi
1866 BIN_SH=xpg4; export BIN_SH # for Tru64
14751867 DUALCASE=1; export DUALCASE # for MKS sh
14761868
1477 # Support unset when possible.
1478 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1479 as_unset=unset
1480 else
1481 as_unset=false
1482 fi
1483
1484
1485 # Work around bugs in pre-3.0 UWIN ksh.
1486 $as_unset ENV MAIL MAILPATH
1487 PS1='$ '
1488 PS2='> '
1489 PS4='+ '
1490
1491 # NLS nuisances.
1492 for as_var in \
1493 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1494 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1495 LC_TELEPHONE LC_TIME
1496 do
1497 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1498 eval $as_var=C; export $as_var
1499 else
1500 $as_unset $as_var
1501 fi
1502 done
1503
1504 # Required to use basename.
1505 if expr a : '\(a\)' >/dev/null 2>&1; then
1506 as_expr=expr
1507 else
1508 as_expr=false
1509 fi
1510
1511 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1512 as_basename=basename
1513 else
1514 as_basename=false
1515 fi
1516
1517
1518 # Name of the executable.
1519 as_me=`$as_basename "$0" ||
1520 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1521 X"$0" : 'X\(//\)$' \| \
1522 X"$0" : 'X\(/\)$' \| \
1523 . : '\(.\)' 2>/dev/null ||
1524 echo X/"$0" |
1525 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1526 /^X\/\(\/\/\)$/{ s//\1/; q; }
1527 /^X\/\(\/\).*/{ s//\1/; q; }
1528 s/.*/./; q'`
1529
1530
1531 # PATH needs CR, and LINENO needs CR and PATH.
1869
1870 # PATH needs CR
15321871 # Avoid depending upon Character Ranges.
15331872 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15341873 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15491888 rm -f conf$$.sh
15501889 fi
15511890
1552
1553 as_lineno_1=$LINENO
1554 as_lineno_2=$LINENO
1555 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1556 test "x$as_lineno_1" != "x$as_lineno_2" &&
1557 test "x$as_lineno_3" = "x$as_lineno_2" || {
1558 # Find who we are. Look in the path if we contain no path at all
1559 # relative or not.
1560 case $0 in
1561 *[\\/]* ) as_myself=$0 ;;
1562 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1891 # Support unset when possible.
1892 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1893 as_unset=unset
1894 else
1895 as_unset=false
1896 fi
1897
1898
1899 # IFS
1900 # We need space, tab and new line, in precisely that order. Quoting is
1901 # there to prevent editors from complaining about space-tab.
1902 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
1903 # splitting by setting IFS to empty value.)
1904 as_nl='
1905 '
1906 IFS=" "" $as_nl"
1907
1908 # Find who we are. Look in the path if we contain no directory separator.
1909 case $0 in
1910 *[\\/]* ) as_myself=$0 ;;
1911 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15631912 for as_dir in $PATH
15641913 do
15651914 IFS=$as_save_IFS
15661915 test -z "$as_dir" && as_dir=.
15671916 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15681917 done
1569
1570 ;;
1571 esac
1572 # We did not find ourselves, most probably we were run as `sh COMMAND'
1573 # in which case we are not to be found in the path.
1574 if test "x$as_myself" = x; then
1575 as_myself=$0
1918 IFS=$as_save_IFS
1919
1920 ;;
1921 esac
1922 # We did not find ourselves, most probably we were run as `sh COMMAND'
1923 # in which case we are not to be found in the path.
1924 if test "x$as_myself" = x; then
1925 as_myself=$0
1926 fi
1927 if test ! -f "$as_myself"; then
1928 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1929 { (exit 1); exit 1; }
1930 fi
1931
1932 # Work around bugs in pre-3.0 UWIN ksh.
1933 for as_var in ENV MAIL MAILPATH
1934 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1935 done
1936 PS1='$ '
1937 PS2='> '
1938 PS4='+ '
1939
1940 # NLS nuisances.
1941 for as_var in \
1942 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1943 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1944 LC_TELEPHONE LC_TIME
1945 do
1946 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1947 eval $as_var=C; export $as_var
1948 else
1949 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
15761950 fi
1577 if test ! -f "$as_myself"; then
1578 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
1579 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
1580 { (exit 1); exit 1; }; }
1581 fi
1582 case $CONFIG_SHELL in
1583 '')
1584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1585 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1586 do
1587 IFS=$as_save_IFS
1588 test -z "$as_dir" && as_dir=.
1589 for as_base in sh bash ksh sh5; do
1590 case $as_dir in
1591 /*)
1592 if ("$as_dir/$as_base" -c '
1951 done
1952
1953 # Required to use basename.
1954 if expr a : '\(a\)' >/dev/null 2>&1 &&
1955 test "X`expr 00001 : '.*\(...\)'`" = X001; then
1956 as_expr=expr
1957 else
1958 as_expr=false
1959 fi
1960
1961 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1962 as_basename=basename
1963 else
1964 as_basename=false
1965 fi
1966
1967
1968 # Name of the executable.
1969 as_me=`$as_basename -- "$0" ||
1970 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1971 X"$0" : 'X\(//\)$' \| \
1972 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1973 echo X/"$0" |
1974 sed '/^.*\/\([^/][^/]*\)\/*$/{
1975 s//\1/
1976 q
1977 }
1978 /^X\/\(\/\/\)$/{
1979 s//\1/
1980 q
1981 }
1982 /^X\/\(\/\).*/{
1983 s//\1/
1984 q
1985 }
1986 s/.*/./; q'`
1987
1988 # CDPATH.
1989 $as_unset CDPATH
1990
1991
1992
15931993 as_lineno_1=$LINENO
15941994 as_lineno_2=$LINENO
1595 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15961995 test "x$as_lineno_1" != "x$as_lineno_2" &&
1597 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
1598 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1599 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1600 CONFIG_SHELL=$as_dir/$as_base
1601 export CONFIG_SHELL
1602 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1603 fi;;
1604 esac
1605 done
1606 done
1607 ;;
1608 esac
1996 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
16091997
16101998 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
16111999 # uniformly replaced by the line number. The first 'sed' inserts a
1612 # line-number line before each line; the second 'sed' does the real
1613 # work. The second script uses 'N' to pair each line-number line
1614 # with the numbered line, and appends trailing '-' during
1615 # substitution so that $LINENO is not a special case at line end.
2000 # line-number line after each line using $LINENO; the second 'sed'
2001 # does the real work. The second script uses 'N' to pair each
2002 # line-number line with the line containing $LINENO, and appends
2003 # trailing '-' during substitution so that $LINENO is not a special
2004 # case at line end.
16162005 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1617 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
1618 sed '=' <$as_myself |
2006 # scripts with optimization help from Paolo Bonzini. Blame Lee
2007 # E. McMahon (1931-1989) for sed's syntax. :-)
2008 sed -n '
2009 p
2010 /[$]LINENO/=
2011 ' <$as_myself |
16192012 sed '
2013 s/[$]LINENO.*/&-/
2014 t lineno
2015 b
2016 :lineno
16202017 N
1621 s,$,-,
1622 : loop
1623 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2018 :loop
2019 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
16242020 t loop
1625 s,-$,,
1626 s,^['$as_cr_digits']*\n,,
2021 s/-\n.*//
16272022 ' >$as_me.lineno &&
1628 chmod +x $as_me.lineno ||
1629 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
1630 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2023 chmod +x "$as_me.lineno" ||
2024 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
16312025 { (exit 1); exit 1; }; }
16322026
16332027 # Don't try to exec as it changes $[0], causing all sort of problems
16342028 # (the dirname of $[0] is not the place where we might find the
1635 # original and so on. Autoconf is especially sensible to this).
1636 . ./$as_me.lineno
2029 # original and so on. Autoconf is especially sensitive to this).
2030 . "./$as_me.lineno"
16372031 # Exit status is that of the last command.
16382032 exit
16392033 }
16402034
16412035
1642 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1643 *c*,-n*) ECHO_N= ECHO_C='
1644 ' ECHO_T=' ' ;;
1645 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1646 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2036 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2037 as_dirname=dirname
2038 else
2039 as_dirname=false
2040 fi
2041
2042 ECHO_C= ECHO_N= ECHO_T=
2043 case `echo -n x` in
2044 -n*)
2045 case `echo 'x\c'` in
2046 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2047 *) ECHO_C='\c';;
2048 esac;;
2049 *)
2050 ECHO_N='-n';;
16472051 esac
16482052
1649 if expr a : '\(a\)' >/dev/null 2>&1; then
2053 if expr a : '\(a\)' >/dev/null 2>&1 &&
2054 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16502055 as_expr=expr
16512056 else
16522057 as_expr=false
16532058 fi
16542059
16552060 rm -f conf$$ conf$$.exe conf$$.file
2061 if test -d conf$$.dir; then
2062 rm -f conf$$.dir/conf$$.file
2063 else
2064 rm -f conf$$.dir
2065 mkdir conf$$.dir
2066 fi
16562067 echo >conf$$.file
16572068 if ln -s conf$$.file conf$$ 2>/dev/null; then
1658 # We could just check for DJGPP; but this test a) works b) is more generic
1659 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1660 if test -f conf$$.exe; then
1661 # Don't use ln at all; we don't have any links
2069 as_ln_s='ln -s'
2070 # ... but there are two gotchas:
2071 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2072 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2073 # In both cases, we have to default to `cp -p'.
2074 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16622075 as_ln_s='cp -p'
1663 else
1664 as_ln_s='ln -s'
1665 fi
16662076 elif ln conf$$.file conf$$ 2>/dev/null; then
16672077 as_ln_s=ln
16682078 else
16692079 as_ln_s='cp -p'
16702080 fi
1671 rm -f conf$$ conf$$.exe conf$$.file
2081 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2082 rmdir conf$$.dir 2>/dev/null
16722083
16732084 if mkdir -p . 2>/dev/null; then
16742085 as_mkdir_p=:
16772088 as_mkdir_p=false
16782089 fi
16792090
1680 as_executable_p="test -f"
2091 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
2092 # systems may use methods other than mode bits to determine executability.
2093 cat >conf$$.file <<_ASEOF
2094 #! /bin/sh
2095 exit 0
2096 _ASEOF
2097 chmod +x conf$$.file
2098 if test -x conf$$.file >/dev/null 2>&1; then
2099 as_executable_p="test -x"
2100 else
2101 as_executable_p=:
2102 fi
2103 rm -f conf$$.file
16812104
16822105 # Sed expression to map a string onto a valid CPP name.
16832106 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16862109 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16872110
16882111
1689 # IFS
1690 # We need space, tab and new line, in precisely that order.
1691 as_nl='
1692 '
1693 IFS=" $as_nl"
1694
1695 # CDPATH.
1696 $as_unset CDPATH
1697
16982112 exec 6>&1
16992113
1700 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2114 # Save the log message, to keep $[0] and so on meaningful, and to
17012115 # report actual input values of CONFIG_FILES etc. instead of their
1702 # values after options handling. Logging --version etc. is OK.
1703 exec 5>>config.log
1704 {
1705 echo
1706 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1707 ## Running $as_me. ##
1708 _ASBOX
1709 } >&5
1710 cat >&5 <<_CSEOF
1711
2116 # values after options handling.
2117 ac_log="
17122118 This file was extended by [SAMPLE] $as_me [x.xx], which was
1713 generated by GNU Autoconf 2.59. Invocation command line was
2119 generated by GNU Autoconf 2.60. Invocation command line was
17142120
17152121 CONFIG_FILES = $CONFIG_FILES
17162122 CONFIG_HEADERS = $CONFIG_HEADERS
17182124 CONFIG_COMMANDS = $CONFIG_COMMANDS
17192125 $ $0 $@
17202126
1721 _CSEOF
1722 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
1723 echo >&5
1724 _ACEOF
1725
2127 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2128 "
2129
2130 _ACEOF
2131
2132 cat >>$CONFIG_STATUS <<_ACEOF
17262133 # Files that config.status was made for.
1727 if test -n "$ac_config_files"; then
1728 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
1729 fi
1730
1731 if test -n "$ac_config_headers"; then
1732 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
1733 fi
1734
1735 if test -n "$ac_config_links"; then
1736 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
1737 fi
1738
1739 if test -n "$ac_config_commands"; then
1740 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
1741 fi
2134 config_files="$ac_config_files"
2135 config_commands="$ac_config_commands"
2136
2137 _ACEOF
17422138
17432139 cat >>$CONFIG_STATUS <<\_ACEOF
1744
17452140 ac_cs_usage="\
17462141 \`$as_me' instantiates files from templates according to the
17472142 current configuration.
17632158 $config_commands
17642159
17652160 Report bugs to ."
1766 _ACEOF
1767
2161
2162 _ACEOF
17682163 cat >>$CONFIG_STATUS <<_ACEOF
17692164 ac_cs_version="\\
17702165 [SAMPLE] config.status [x.xx]
1771 configured by $0, generated by GNU Autoconf 2.59,
1772 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
1773
1774 Copyright (C) 2003 Free Software Foundation, Inc.
2166 configured by $0, generated by GNU Autoconf 2.60,
2167 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2168
2169 Copyright (C) 2006 Free Software Foundation, Inc.
17752170 This config.status script is free software; the Free Software Foundation
17762171 gives unlimited permission to copy, distribute and modify it."
1777 srcdir=$srcdir
2172
2173 ac_pwd='$ac_pwd'
2174 srcdir='$srcdir'
17782175 _ACEOF
17792176
17802177 cat >>$CONFIG_STATUS <<\_ACEOF
17852182 do
17862183 case $1 in
17872184 --*=*)
1788 ac_option=`expr "x$1" : 'x\([^=]*\)='`
1789 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2185 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2186 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17902187 ac_shift=:
17912188 ;;
1792 -*)
2189 *)
17932190 ac_option=$1
17942191 ac_optarg=$2
17952192 ac_shift=shift
17962193 ;;
1797 *) # This is not an option, so the user has probably given explicit
1798 # arguments.
1799 ac_option=$1
1800 ac_need_defaults=false;;
18012194 esac
18022195
18032196 case $ac_option in
18042197 # Handling of the options.
1805 _ACEOF
1806 cat >>$CONFIG_STATUS <<\_ACEOF
18072198 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18082199 ac_cs_recheck=: ;;
1809 --version | --vers* | -V )
1810 echo "$ac_cs_version"; exit 0 ;;
1811 --he | --h)
1812 # Conflict between --help and --header
1813 { { echo "$as_me:$LINENO: error: ambiguous option: $1
1814 Try \`$0 --help' for more information." >&5
1815 echo "$as_me: error: ambiguous option: $1
1816 Try \`$0 --help' for more information." >&2;}
1817 { (exit 1); exit 1; }; };;
1818 --help | --hel | -h )
1819 echo "$ac_cs_usage"; exit 0 ;;
1820 --debug | --d* | -d )
2200 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2201 echo "$ac_cs_version"; exit ;;
2202 --debug | --debu | --deb | --de | --d | -d )
18212203 debug=: ;;
18222204 --file | --fil | --fi | --f )
18232205 $ac_shift
18242206 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
18252207 ac_need_defaults=false;;
1826 --header | --heade | --head | --hea )
1827 $ac_shift
1828 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
1829 ac_need_defaults=false;;
2208 --he | --h | --help | --hel | -h )
2209 echo "$ac_cs_usage"; exit ;;
18302210 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18312211 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18322212 ac_cs_silent=: ;;
18332213
18342214 # This is an error.
1835 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
1836 Try \`$0 --help' for more information." >&5
1837 echo "$as_me: error: unrecognized option: $1
1838 Try \`$0 --help' for more information." >&2;}
2215 -*) { echo "$as_me: error: unrecognized option: $1
2216 Try \`$0 --help' for more information." >&2
18392217 { (exit 1); exit 1; }; } ;;
18402218
1841 *) ac_config_targets="$ac_config_targets $1" ;;
2219 *) ac_config_targets="$ac_config_targets $1"
2220 ac_need_defaults=false ;;
18422221
18432222 esac
18442223 shift
18542233 _ACEOF
18552234 cat >>$CONFIG_STATUS <<_ACEOF
18562235 if \$ac_cs_recheck; then
1857 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
1858 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1859 fi
1860
1861 _ACEOF
1862
2236 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2237 CONFIG_SHELL=$SHELL
2238 export CONFIG_SHELL
2239 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2240 fi
2241
2242 _ACEOF
2243 cat >>$CONFIG_STATUS <<\_ACEOF
2244 exec 5>>config.log
2245 {
2246 echo
2247 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2248 ## Running $as_me. ##
2249 _ASBOX
2250 echo "$ac_log"
2251 } >&5
2252
2253 _ACEOF
18632254 cat >>$CONFIG_STATUS <<_ACEOF
18642255 #
1865 # INIT-COMMANDS section.
2256 # INIT-COMMANDS
18662257 #
1867
18682258 llvm_src="${LLVM_SRC}"
18692259
18702260 _ACEOF
18712261
1872
1873
18742262 cat >>$CONFIG_STATUS <<\_ACEOF
2263
2264 # Handling of arguments.
18752265 for ac_config_target in $ac_config_targets
18762266 do
1877 case "$ac_config_target" in
1878 # Handling of arguments.
1879 "Makefile.common" ) CONFIG_FILES="$CONFIG_FILES Makefile.common" ;;
1880 "setup" ) CONFIG_COMMANDS="$CONFIG_COMMANDS setup" ;;
1881 "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
1882 "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
1883 "lib/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/sample/Makefile" ;;
1884 "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
1885 "tools/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/sample/Makefile" ;;
2267 case $ac_config_target in
2268 "setup") CONFIG_COMMANDS="$CONFIG_COMMANDS setup" ;;
2269 "Makefile.common") CONFIG_FILES="$CONFIG_FILES Makefile.common" ;;
2270 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
2271 "lib/Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
2272 "lib/sample/Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS lib/sample/Makefile" ;;
2273 "tools/Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
2274 "tools/sample/Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/sample/Makefile" ;;
2275
18862276 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
18872277 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
18882278 { (exit 1); exit 1; }; };;
18892279 esac
18902280 done
2281
18912282
18922283 # If the user did not use the arguments to specify the items to instantiate,
18932284 # then the envvar interface is used. Set only those that are not.
18992290 fi
19002291
19012292 # Have a temporary directory for convenience. Make it in the build tree
1902 # simply because there is no reason to put it here, and in addition,
2293 # simply because there is no reason against having it here, and in addition,
19032294 # creating and moving files from /tmp can sometimes cause problems.
1904 # Create a temporary directory, and hook for its removal unless debugging.
2295 # Hook for its removal unless debugging.
2296 # Note that there is a small window in which the directory will not be cleaned:
2297 # after its creation but before its name has been assigned to `$tmp'.
19052298 $debug ||
19062299 {
1907 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2300 tmp=
2301 trap 'exit_status=$?
2302 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2303 ' 0
19082304 trap '{ (exit 1); exit 1; }' 1 2 13 15
19092305 }
1910
19112306 # Create a (secure) tmp directory for tmp files.
19122307
19132308 {
1914 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2309 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19152310 test -n "$tmp" && test -d "$tmp"
19162311 } ||
19172312 {
1918 tmp=./confstat$$-$RANDOM
1919 (umask 077 && mkdir $tmp)
2313 tmp=./conf$$-$RANDOM
2314 (umask 077 && mkdir "$tmp")
19202315 } ||
19212316 {
19222317 echo "$me: cannot create a temporary directory in ." >&2
19232318 { (exit 1); exit 1; }
19242319 }
19252320
1926 _ACEOF
1927
1928 cat >>$CONFIG_STATUS <<_ACEOF
1929
19302321 #
1931 # CONFIG_FILES section.
2322 # Set up the sed scripts for CONFIG_FILES section.
19322323 #
19332324
19342325 # No need to generate the scripts if there are no CONFIG_FILES.
19352326 # This happens for instance when ./config.status config.h
1936 if test -n "\$CONFIG_FILES"; then
1937 # Protect against being on the right side of a sed subst in config.status.
1938 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
1939 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
1940 s,@SHELL@,$SHELL,;t t
1941 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
1942 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
1943 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
1944 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
1945 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
1946 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
1947 s,@exec_prefix@,$exec_prefix,;t t
1948 s,@prefix@,$prefix,;t t
1949 s,@program_transform_name@,$program_transform_name,;t t
1950 s,@bindir@,$bindir,;t t
1951 s,@sbindir@,$sbindir,;t t
1952 s,@libexecdir@,$libexecdir,;t t
1953 s,@datadir@,$datadir,;t t
1954 s,@sysconfdir@,$sysconfdir,;t t
1955 s,@sharedstatedir@,$sharedstatedir,;t t
1956 s,@localstatedir@,$localstatedir,;t t
1957 s,@libdir@,$libdir,;t t
1958 s,@includedir@,$includedir,;t t
1959 s,@oldincludedir@,$oldincludedir,;t t
1960 s,@infodir@,$infodir,;t t
1961 s,@mandir@,$mandir,;t t
1962 s,@build_alias@,$build_alias,;t t
1963 s,@host_alias@,$host_alias,;t t
1964 s,@target_alias@,$target_alias,;t t
1965 s,@DEFS@,$DEFS,;t t
1966 s,@ECHO_C@,$ECHO_C,;t t
1967 s,@ECHO_N@,$ECHO_N,;t t
1968 s,@ECHO_T@,$ECHO_T,;t t
1969 s,@LIBS@,$LIBS,;t t
1970 s,@LLVM_SRC@,$LLVM_SRC,;t t
1971 s,@LLVM_OBJ@,$LLVM_OBJ,;t t
1972 s,@LIBOBJS@,$LIBOBJS,;t t
1973 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1974 CEOF
1975
1976 _ACEOF
1977
1978 cat >>$CONFIG_STATUS <<\_ACEOF
1979 # Split the substitutions into bite-sized pieces for seds with
1980 # small command number limits, like on Digital OSF/1 and HP-UX.
1981 ac_max_sed_lines=48
1982 ac_sed_frag=1 # Number of current file.
1983 ac_beg=1 # First line for current file.
1984 ac_end=$ac_max_sed_lines # Line after last line for current file.
1985 ac_more_lines=:
1986 ac_sed_cmds=
1987 while $ac_more_lines; do
1988 if test $ac_beg -gt 1; then
1989 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
1990 else
1991 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2327 if test -n "$CONFIG_FILES"; then
2328
2329 _ACEOF
2330
2331
2332
2333 ac_delim='%!_!# '
2334 for ac_last_try in false false false false false :; do
2335 cat >conf$$subs.sed <<_ACEOF
2336 SHELL!$SHELL$ac_delim
2337 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
2338 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
2339 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
2340 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
2341 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
2342 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
2343 exec_prefix!$exec_prefix$ac_delim
2344 prefix!$prefix$ac_delim
2345 program_transform_name!$program_transform_name$ac_delim
2346 bindir!$bindir$ac_delim
2347 sbindir!$sbindir$ac_delim
2348 libexecdir!$libexecdir$ac_delim
2349 datarootdir!$datarootdir$ac_delim
2350 datadir!$datadir$ac_delim
2351 sysconfdir!$sysconfdir$ac_delim
2352 sharedstatedir!$sharedstatedir$ac_delim
2353 localstatedir!$localstatedir$ac_delim
2354 includedir!$includedir$ac_delim
2355 oldincludedir!$oldincludedir$ac_delim
2356 docdir!$docdir$ac_delim
2357 infodir!$infodir$ac_delim
2358 htmldir!$htmldir$ac_delim
2359 dvidir!$dvidir$ac_delim
2360 pdfdir!$pdfdir$ac_delim
2361 psdir!$psdir$ac_delim
2362 libdir!$libdir$ac_delim
2363 localedir!$localedir$ac_delim
2364 mandir!$mandir$ac_delim
2365 DEFS!$DEFS$ac_delim
2366 ECHO_C!$ECHO_C$ac_delim
2367 ECHO_N!$ECHO_N$ac_delim
2368 ECHO_T!$ECHO_T$ac_delim
2369 LIBS!$LIBS$ac_delim
2370 build_alias!$build_alias$ac_delim
2371 host_alias!$host_alias$ac_delim
2372 target_alias!$target_alias$ac_delim
2373 LLVM_SRC!$LLVM_SRC$ac_delim
2374 LLVM_OBJ!$LLVM_OBJ$ac_delim
2375 LIBOBJS!$LIBOBJS$ac_delim
2376 LTLIBOBJS!$LTLIBOBJS$ac_delim
2377 _ACEOF
2378
2379 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 41; then
2380 break
2381 elif $ac_last_try; then
2382 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2383 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2384 { (exit 1); exit 1; }; }
2385 else
2386 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2387 fi
2388 done
2389
2390 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
2391 if test -n "$ac_eof"; then
2392 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
2393 ac_eof=`expr $ac_eof + 1`
2394 fi
2395
2396 cat >>$CONFIG_STATUS <<_ACEOF
2397 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
2398 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
2399 _ACEOF
2400 sed '
2401 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2402 s/^/s,@/; s/!/@,|#_!!_#|/
2403 :n
2404 t n
2405 s/'"$ac_delim"'$/,g/; t
2406 s/$/\\/; p
2407 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
2408 ' >>$CONFIG_STATUS
2409 rm -f conf$$subs.sed
2410 cat >>$CONFIG_STATUS <<_ACEOF
2411 :end
2412 s/|#_!!_#|//g
2413 CEOF$ac_eof
2414 _ACEOF
2415
2416
2417 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2418 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2419 # trailing colons and then remove the whole line if VPATH becomes empty
2420 # (actually we leave an empty line to preserve line numbers).
2421 if test "x$srcdir" = x.; then
2422 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2423 s/:*\$(srcdir):*/:/
2424 s/:*\${srcdir}:*/:/
2425 s/:*@srcdir@:*/:/
2426 s/^\([^=]*=[ ]*\):*/\1/
2427 s/:*$//
2428 s/^[^=]*=[ ]*$//
2429 }'
2430 fi
2431
2432 cat >>$CONFIG_STATUS <<\_ACEOF
2433 fi # test -n "$CONFIG_FILES"
2434
2435
2436 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
2437 do
2438 case $ac_tag in
2439 :[FHLC]) ac_mode=$ac_tag; continue;;
2440 esac
2441 case $ac_mode$ac_tag in
2442 :[FHL]*:*);;
2443 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
2444 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
2445 { (exit 1); exit 1; }; };;
2446 :[FH]-) ac_tag=-:-;;
2447 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2448 esac
2449 ac_save_IFS=$IFS
2450 IFS=:
2451 set x $ac_tag
2452 IFS=$ac_save_IFS
2453 shift
2454 ac_file=$1
2455 shift
2456
2457 case $ac_mode in
2458 :L) ac_source=$1;;
2459 :[FH])
2460 ac_file_inputs=
2461 for ac_f
2462 do
2463 case $ac_f in
2464 -) ac_f="$tmp/stdin";;
2465 *) # Look for the file first in the build tree, then in the source tree
2466 # (if the path is not absolute). The absolute path cannot be DOS-style,
2467 # because $ac_f cannot contain `:'.
2468 test -f "$ac_f" ||
2469 case $ac_f in
2470 [\\/$]*) false;;
2471 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2472 esac ||
2473 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
2474 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
2475 { (exit 1); exit 1; }; };;
2476 esac
2477 ac_file_inputs="$ac_file_inputs $ac_f"
2478 done
2479
2480 # Let's still pretend it is `configure' which instantiates (i.e., don't
2481 # use $as_me), people would be surprised to read:
2482 # /* config.h. Generated by config.status. */
2483 configure_input="Generated from "`IFS=:
2484 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
2485 if test x"$ac_file" != x-; then
2486 configure_input="$ac_file. $configure_input"
2487 { echo "$as_me:$LINENO: creating $ac_file" >&5
2488 echo "$as_me: creating $ac_file" >&6;}
19922489 fi
1993 if test ! -s $tmp/subs.frag; then
1994 ac_more_lines=false
1995 else
1996 # The purpose of the label and of the branching condition is to
1997 # speed up the sed processing (if there are no `@' at all, there
1998 # is no need to browse any of the substitutions).
1999 # These are the two extra sed commands mentioned above.
2000 (echo ':t
2001 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2002 if test -z "$ac_sed_cmds"; then
2003 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2004 else
2005 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2006 fi
2007 ac_sed_frag=`expr $ac_sed_frag + 1`
2008 ac_beg=$ac_end
2009 ac_end=`expr $ac_end + $ac_max_sed_lines`
2010 fi
2011 done
2012 if test -z "$ac_sed_cmds"; then
2013 ac_sed_cmds=cat
2014 fi
2015 fi # test -n "$CONFIG_FILES"
2016
2017 _ACEOF
2018 cat >>$CONFIG_STATUS <<\_ACEOF
2019 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2020 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2021 case $ac_file in
2022 - | *:- | *:-:* ) # input from stdin
2023 cat >$tmp/stdin
2024 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2025 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2026 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2027 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2028 * ) ac_file_in=$ac_file.in ;;
2490
2491 case $ac_tag in
2492 *:-:* | *:-) cat >"$tmp/stdin";;
2493 esac
2494 ;;
20292495 esac
20302496
2031 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2032 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2497 ac_dir=`$as_dirname -- "$ac_file" ||
20332498 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20342499 X"$ac_file" : 'X\(//\)[^/]' \| \
20352500 X"$ac_file" : 'X\(//\)$' \| \
2036 X"$ac_file" : 'X\(/\)' \| \
2037 . : '\(.\)' 2>/dev/null ||
2501 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20382502 echo X"$ac_file" |
2039 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2040 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2041 /^X\(\/\/\)$/{ s//\1/; q; }
2042 /^X\(\/\).*/{ s//\1/; q; }
2043 s/.*/./; q'`
2044 { if $as_mkdir_p; then
2045 mkdir -p "$ac_dir"
2046 else
2047 as_dir="$ac_dir"
2503 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2504 s//\1/
2505 q
2506 }
2507 /^X\(\/\/\)[^/].*/{
2508 s//\1/
2509 q
2510 }
2511 /^X\(\/\/\)$/{
2512 s//\1/
2513 q
2514 }
2515 /^X\(\/\).*/{
2516 s//\1/
2517 q
2518 }
2519 s/.*/./; q'`
2520 { as_dir="$ac_dir"
2521 case $as_dir in #(
2522 -*) as_dir=./$as_dir;;
2523 esac
2524 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
20482525 as_dirs=
2049 while test ! -d "$as_dir"; do
2050 as_dirs="$as_dir $as_dirs"
2051 as_dir=`(dirname "$as_dir") 2>/dev/null ||
2526 while :; do
2527 case $as_dir in #(
2528 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
2529 *) as_qdir=$as_dir;;
2530 esac
2531 as_dirs="'$as_qdir' $as_dirs"
2532 as_dir=`$as_dirname -- "$as_dir" ||
20522533 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20532534 X"$as_dir" : 'X\(//\)[^/]' \| \
20542535 X"$as_dir" : 'X\(//\)$' \| \
2055 X"$as_dir" : 'X\(/\)' \| \
2056 . : '\(.\)' 2>/dev/null ||
2536 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20572537 echo X"$as_dir" |
2058 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2059 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2060 /^X\(\/\/\)$/{ s//\1/; q; }
2061 /^X\(\/\).*/{ s//\1/; q; }
2062 s/.*/./; q'`
2538 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2539 s//\1/
2540 q
2541 }
2542 /^X\(\/\/\)[^/].*/{
2543 s//\1/
2544 q
2545 }
2546 /^X\(\/\/\)$/{
2547 s//\1/
2548 q
2549 }
2550 /^X\(\/\).*/{
2551 s//\1/
2552 q
2553 }
2554 s/.*/./; q'`
2555 test -d "$as_dir" && break
20632556 done
2064 test ! -n "$as_dirs" || mkdir $as_dirs
2065 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2066 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2557 test -z "$as_dirs" || eval "mkdir $as_dirs"
2558 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
2559 echo "$as_me: error: cannot create directory $as_dir" >&2;}
20672560 { (exit 1); exit 1; }; }; }
2068
20692561 ac_builddir=.
20702562
2071 if test "$ac_dir" != .; then
2563 case "$ac_dir" in
2564 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2565 *)
20722566 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2073 # A "../" for each directory in $ac_dir_suffix.
2074 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2075 else
2076 ac_dir_suffix= ac_top_builddir=
2077 fi
2567 # A ".." for each directory in $ac_dir_suffix.
2568 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2569 case $ac_top_builddir_sub in
2570 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2571 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2572 esac ;;
2573 esac
2574 ac_abs_top_builddir=$ac_pwd
2575 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2576 # for backward compatibility:
2577 ac_top_builddir=$ac_top_build_prefix
20782578
20792579 case $srcdir in
2080 .) # No --srcdir option. We are building in place.
2580 .) # We are building in place.
20812581 ac_srcdir=.
2082 if test -z "$ac_top_builddir"; then
2083 ac_top_srcdir=.
2084 else
2085 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2086 fi ;;
2087 [\\/]* | ?:[\\/]* ) # Absolute path.
2582 ac_top_srcdir=$ac_top_builddir_sub
2583 ac_abs_top_srcdir=$ac_pwd ;;
2584 [\\/]* | ?:[\\/]* ) # Absolute name.
20882585 ac_srcdir=$srcdir$ac_dir_suffix;
2089 ac_top_srcdir=$srcdir ;;
2090 *) # Relative path.
2091 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2092 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2586 ac_top_srcdir=$srcdir
2587 ac_abs_top_srcdir=$srcdir ;;
2588 *) # Relative name.
2589 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2590 ac_top_srcdir=$ac_top_build_prefix$srcdir
2591 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20932592 esac
2094
2095 # Do not use `cd foo && pwd` to compute absolute paths, because
2096 # the directories may not exist.
2097 case `pwd` in
2098 .) ac_abs_builddir="$ac_dir";;
2099 *)
2100 case "$ac_dir" in
2101 .) ac_abs_builddir=`pwd`;;
2102 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2103 *) ac_abs_builddir=`pwd`/"$ac_dir";;
2104 esac;;
2593 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2594
2595
2596 case $ac_mode in
2597 :F)
2598 #
2599 # CONFIG_FILE
2600 #
2601
2602 _ACEOF
2603
2604 cat >>$CONFIG_STATUS <<\_ACEOF
2605 # If the template does not know about datarootdir, expand it.
2606 # FIXME: This hack should be removed a few years after 2.60.
2607 ac_datarootdir_hack=; ac_datarootdir_seen=
2608
2609 case `sed -n '/datarootdir/ {
2610 p
2611 q
2612 }
2613 /@datadir@/p
2614 /@docdir@/p
2615 /@infodir@/p
2616 /@localedir@/p
2617 /@mandir@/p
2618 ' $ac_file_inputs` in
2619 *datarootdir*) ac_datarootdir_seen=yes;;
2620 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2621 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2622 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2623 _ACEOF
2624 cat >>$CONFIG_STATUS <<_ACEOF
2625 ac_datarootdir_hack='
2626 s&@datadir@&$datadir&g
2627 s&@docdir@&$docdir&g
2628 s&@infodir@&$infodir&g
2629 s&@localedir@&$localedir&g
2630 s&@mandir@&$mandir&g
2631 s&\\\${datarootdir}&$datarootdir&g' ;;
21052632 esac
2106 case $ac_abs_builddir in
2107 .) ac_abs_top_builddir=${ac_top_builddir}.;;
2108 *)
2109 case ${ac_top_builddir}. in
2110 .) ac_abs_top_builddir=$ac_abs_builddir;;
2111 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2112 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2113 esac;;
2114 esac
2115 case $ac_abs_builddir in
2116 .) ac_abs_srcdir=$ac_srcdir;;
2117 *)
2118 case $ac_srcdir in
2119 .) ac_abs_srcdir=$ac_abs_builddir;;
2120 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2121 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2122 esac;;
2123 esac
2124 case $ac_abs_builddir in
2125 .) ac_abs_top_srcdir=$ac_top_srcdir;;
2126 *)
2127 case $ac_top_srcdir in
2128 .) ac_abs_top_srcdir=$ac_abs_builddir;;
2129 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2130 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2131 esac;;
2132 esac
2133
2134
2135
2136 if test x"$ac_file" != x-; then
2137 { echo "$as_me:$LINENO: creating $ac_file" >&5
2138 echo "$as_me: creating $ac_file" >&6;}
2139 rm -f "$ac_file"
2140 fi
2141 # Let's still pretend it is `configure' which instantiates (i.e., don't
2142 # use $as_me), people would be surprised to read:
2143 # /* config.h. Generated by config.status. */
2144 if test x"$ac_file" = x-; then
2145 configure_input=
2146 else
2147 configure_input="$ac_file. "
2148 fi
2149 configure_input=$configure_input"Generated from `echo $ac_file_in |
2150 sed 's,.*/,,'` by configure."
2151
2152 # First look for the input files in the build tree, otherwise in the
2153 # src tree.
2154 ac_file_inputs=`IFS=:
2155 for f in $ac_file_in; do
2156 case $f in
2157 -) echo $tmp/stdin ;;
2158 [\\/$]*)
2159 # Absolute (can't be DOS-style, as IFS=:)
2160 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2161 echo "$as_me: error: cannot find input file: $f" >&2;}
2162 { (exit 1); exit 1; }; }
2163 echo "$f";;
2164 *) # Relative
2165 if test -f "$f"; then
2166 # Build tree
2167 echo "$f"
2168 elif test -f "$srcdir/$f"; then
2169 # Source tree
2170 echo "$srcdir/$f"
2171 else
2172 # /dev/null tree
2173 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2174 echo "$as_me: error: cannot find input file: $f" >&2;}
2175 { (exit 1); exit 1; }; }
2176 fi;;
2177 esac
2178 done` || { (exit 1); exit 1; }
2179 _ACEOF
2633 _ACEOF
2634
2635 # Neutralize VPATH when `$srcdir' = `.'.
2636 # Shell code in configure.ac might set extrasub.
2637 # FIXME: do we really want to maintain this feature?
21802638 cat >>$CONFIG_STATUS <<_ACEOF
21812639 sed "$ac_vpsub
21822640 $extrasub
21842642 cat >>$CONFIG_STATUS <<\_ACEOF
21852643 :t
21862644 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2187 s,@configure_input@,$configure_input,;t t
2188 s,@srcdir@,$ac_srcdir,;t t
2189 s,@abs_srcdir@,$ac_abs_srcdir,;t t
2190 s,@top_srcdir@,$ac_top_srcdir,;t t
2191 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2192 s,@builddir@,$ac_builddir,;t t
2193 s,@abs_builddir@,$ac_abs_builddir,;t t
2194 s,@top_builddir@,$ac_top_builddir,;t t
2195 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2196 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2197 rm -f $tmp/stdin
2198 if test x"$ac_file" != x-; then
2199 mv $tmp/out $ac_file
2200 else
2201 cat $tmp/out
2202 rm -f $tmp/out
2203 fi
2204
2205 done
2206 _ACEOF
2207 cat >>$CONFIG_STATUS <<\_ACEOF
2208
2209 #
2210 # CONFIG_COMMANDS section.
2211 #
2212 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
2213 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
2214 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
2215 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
2216 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2217 X"$ac_dest" : 'X\(//\)[^/]' \| \
2218 X"$ac_dest" : 'X\(//\)$' \| \
2219 X"$ac_dest" : 'X\(/\)' \| \
2220 . : '\(.\)' 2>/dev/null ||
2221 echo X"$ac_dest" |
2222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2223 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2224 /^X\(\/\/\)$/{ s//\1/; q; }
2225 /^X\(\/\).*/{ s//\1/; q; }
2226 s/.*/./; q'`
2227 { if $as_mkdir_p; then
2228 mkdir -p "$ac_dir"
2229 else
2230 as_dir="$ac_dir"
2231 as_dirs=
2232 while test ! -d "$as_dir"; do
2233 as_dirs="$as_dir $as_dirs"
2234 as_dir=`(dirname "$as_dir") 2>/dev/null ||
2235 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2236 X"$as_dir" : 'X\(//\)[^/]' \| \
2237 X"$as_dir" : 'X\(//\)$' \| \
2238 X"$as_dir" : 'X\(/\)' \| \
2239 . : '\(.\)' 2>/dev/null ||
2240 echo X"$as_dir" |
2241 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2242 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2243 /^X\(\/\/\)$/{ s//\1/; q; }
2244 /^X\(\/\).*/{ s//\1/; q; }
2245 s/.*/./; q'`
2246 done
2247 test ! -n "$as_dirs" || mkdir $as_dirs
2248 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2249 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2250 { (exit 1); exit 1; }; }; }
2251
2252 ac_builddir=.
2253
2254 if test "$ac_dir" != .; then
2255 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2256 # A "../" for each directory in $ac_dir_suffix.
2257 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2258 else
2259 ac_dir_suffix= ac_top_builddir=
2260 fi
2261
2262 case $srcdir in
2263 .) # No --srcdir option. We are building in place.
2264 ac_srcdir=.
2265 if test -z "$ac_top_builddir"; then
2266 ac_top_srcdir=.
2267 else
2268 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2269 fi ;;
2270 [\\/]* | ?:[\\/]* ) # Absolute path.
2271 ac_srcdir=$srcdir$ac_dir_suffix;
2272 ac_top_srcdir=$srcdir ;;
2273 *) # Relative path.
2274 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2275 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2276 esac
2277
2278 # Do not use `cd foo && pwd` to compute absolute paths, because
2279 # the directories may not exist.
2280 case `pwd` in
2281 .) ac_abs_builddir="$ac_dir";;
2282 *)
2283 case "$ac_dir" in
2284 .) ac_abs_builddir=`pwd`;;
2285 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2286 *) ac_abs_builddir=`pwd`/"$ac_dir";;
2287 esac;;
2288 esac
2289 case $ac_abs_builddir in
2290 .) ac_abs_top_builddir=${ac_top_builddir}.;;
2291 *)
2292 case ${ac_top_builddir}. in
2293 .) ac_abs_top_builddir=$ac_abs_builddir;;
2294 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2295 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2296 esac;;
2297 esac
2298 case $ac_abs_builddir in
2299 .) ac_abs_srcdir=$ac_srcdir;;
2300 *)
2301 case $ac_srcdir in
2302 .) ac_abs_srcdir=$ac_abs_builddir;;
2303 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2304 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2305 esac;;
2306 esac
2307 case $ac_abs_builddir in
2308 .) ac_abs_top_srcdir=$ac_top_srcdir;;
2309 *)
2310 case $ac_top_srcdir in
2311 .) ac_abs_top_srcdir=$ac_abs_builddir;;
2312 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2313 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2314 esac;;
2315 esac
2316
2317
2318 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
2319 echo "$as_me: executing $ac_dest commands" >&6;}
2320 case $ac_dest in
2321 Makefile ) ${llvm_src}/autoconf/mkinstalldirs `dirname Makefile`
2645 s&@configure_input@&$configure_input&;t t
2646 s&@top_builddir@&$ac_top_builddir_sub&;t t
2647 s&@srcdir@&$ac_srcdir&;t t
2648 s&@abs_srcdir@&$ac_abs_srcdir&;t t
2649 s&@top_srcdir@&$ac_top_srcdir&;t t
2650 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
2651 s&@builddir@&$ac_builddir&;t t
2652 s&@abs_builddir@&$ac_abs_builddir&;t t
2653 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
2654 $ac_datarootdir_hack
2655 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
2656
2657 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
2658 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
2659 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
2660 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2661 which seems to be undefined. Please make sure it is defined." >&5
2662 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2663 which seems to be undefined. Please make sure it is defined." >&2;}
2664
2665 rm -f "$tmp/stdin"
2666 case $ac_file in
2667 -) cat "$tmp/out"; rm -f "$tmp/out";;
2668 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
2669 esac
2670 ;;
2671
2672
2673 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
2674 echo "$as_me: executing $ac_file commands" >&6;}
2675 ;;
2676 esac
2677
2678
2679 case $ac_file$ac_mode in
2680 "Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname Makefile`
23222681 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/Makefile Makefile ;;
2323 lib/Makefile ) ${llvm_src}/autoconf/mkinstalldirs `dirname lib/Makefile`
2682 "lib/Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname lib/Makefile`
23242683 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/lib/Makefile lib/Makefile ;;
2325 lib/sample/Makefile ) ${llvm_src}/autoconf/mkinstalldirs `dirname lib/sample/Makefile`
2684 "lib/sample/Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname lib/sample/Makefile`
23262685 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/lib/sample/Makefile lib/sample/Makefile ;;
2327 tools/Makefile ) ${llvm_src}/autoconf/mkinstalldirs `dirname tools/Makefile`
2686 "tools/Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname tools/Makefile`
23282687 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/tools/Makefile tools/Makefile ;;
2329 tools/sample/Makefile ) ${llvm_src}/autoconf/mkinstalldirs `dirname tools/sample/Makefile`
2688 "tools/sample/Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname tools/sample/Makefile`
23302689 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/tools/sample/Makefile tools/sample/Makefile ;;
2690
23312691 esac
2332 done
2333 _ACEOF
2334
2335 cat >>$CONFIG_STATUS <<\_ACEOF
2692 done # for ac_tag
2693
23362694
23372695 { (exit 0); exit 0; }
23382696 _ACEOF
23612719 $ac_cs_success || { (exit 1); exit 1; }
23622720 fi
23632721
2364