llvm.org GIT mirror llvm / d02a281
Regenerate configure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67656 91177308-0d34-0410-b5e6-96231b3b80d8 Dan Gohman 11 years ago
1 changed file(s) with 1498 addition(s) and 1116 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.61 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 ## --------------------- ##
1011 ## M4sh Initialization. ##
1112 ## --------------------- ##
1213
13 # Be Bourne compatible
14 # Be more Bourne compatible
15 DUALCASE=1; export DUALCASE # for MKS sh
1416 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1517 emulate sh
1618 NULLCMD=:
1719 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1820 # is contrary to our usage. Disable this feature.
1921 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21 set -o posix
22 fi
23 DUALCASE=1; export DUALCASE # for MKS sh
24
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.
22 setopt NO_GLOB_SUBST
23 else
24 case `(set -o) 2>/dev/null` in
25 *posix*) set -o posix ;;
26 esac
27
28 fi
29
30
31
32
33 # PATH needs CR
8034 # Avoid depending upon Character Ranges.
8135 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8236 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9751 rm -f conf$$.sh
9852 fi
9953
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
54 # Support unset when possible.
55 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
56 as_unset=unset
57 else
58 as_unset=false
59 fi
60
61
62 # IFS
63 # We need space, tab and new line, in precisely that order. Quoting is
64 # there to prevent editors from complaining about space-tab.
65 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
66 # splitting by setting IFS to empty value.)
67 as_nl='
68 '
69 IFS=" "" $as_nl"
70
71 # Find who we are. Look in the path if we contain no directory separator.
72 case $0 in
73 *[\\/]* ) as_myself=$0 ;;
74 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11175 for as_dir in $PATH
11276 do
11377 IFS=$as_save_IFS
11478 test -z "$as_dir" && as_dir=.
11579 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11680 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
81 IFS=$as_save_IFS
82
83 ;;
84 esac
85 # We did not find ourselves, most probably we were run as `sh COMMAND'
86 # in which case we are not to be found in the path.
87 if test "x$as_myself" = x; then
88 as_myself=$0
89 fi
90 if test ! -f "$as_myself"; then
91 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
92 { (exit 1); exit 1; }
93 fi
94
95 # Work around bugs in pre-3.0 UWIN ksh.
96 for as_var in ENV MAIL MAILPATH
97 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
98 done
99 PS1='$ '
100 PS2='> '
101 PS4='+ '
102
103 # NLS nuisances.
104 for as_var in \
105 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
106 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
107 LC_TELEPHONE LC_TIME
108 do
109 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
110 eval $as_var=C; export $as_var
111 else
112 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
124113 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 '')
114 done
115
116 # Required to use basename.
117 if expr a : '\(a\)' >/dev/null 2>&1 &&
118 test "X`expr 00001 : '.*\(...\)'`" = X001; then
119 as_expr=expr
120 else
121 as_expr=false
122 fi
123
124 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
125 as_basename=basename
126 else
127 as_basename=false
128 fi
129
130
131 # Name of the executable.
132 as_me=`$as_basename -- "$0" ||
133 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
134 X"$0" : 'X\(//\)$' \| \
135 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 echo X/"$0" |
137 sed '/^.*\/\([^/][^/]*\)\/*$/{
138 s//\1/
139 q
140 }
141 /^X\/\(\/\/\)$/{
142 s//\1/
143 q
144 }
145 /^X\/\(\/\).*/{
146 s//\1/
147 q
148 }
149 s/.*/./; q'`
150
151 # CDPATH.
152 $as_unset CDPATH
153
154
155 if test "x$CONFIG_SHELL" = x; then
156 if (eval ":") 2>/dev/null; then
157 as_have_required=yes
158 else
159 as_have_required=no
160 fi
161
162 if test $as_have_required = yes && (eval ":
163 (as_func_return () {
164 (exit \$1)
165 }
166 as_func_success () {
167 as_func_return 0
168 }
169 as_func_failure () {
170 as_func_return 1
171 }
172 as_func_ret_success () {
173 return 0
174 }
175 as_func_ret_failure () {
176 return 1
177 }
178
179 exitcode=0
180 if as_func_success; then
181 :
182 else
183 exitcode=1
184 echo as_func_success failed.
185 fi
186
187 if as_func_failure; then
188 exitcode=1
189 echo as_func_failure succeeded.
190 fi
191
192 if as_func_ret_success; then
193 :
194 else
195 exitcode=1
196 echo as_func_ret_success failed.
197 fi
198
199 if as_func_ret_failure; then
200 exitcode=1
201 echo as_func_ret_failure succeeded.
202 fi
203
204 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205 :
206 else
207 exitcode=1
208 echo positional parameters were not saved.
209 fi
210
211 test \$exitcode = 0) || { (exit 1); exit 1; }
212
213 (
214 as_lineno_1=\$LINENO
215 as_lineno_2=\$LINENO
216 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
217 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
218 ") 2> /dev/null; then
219 :
220 else
221 as_candidate_shells=
131222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
132223 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133224 do
134225 IFS=$as_save_IFS
135226 test -z "$as_dir" && as_dir=.
136 for as_base in sh bash ksh sh5; do
137 case $as_dir in
227 case $as_dir in
138228 /*)
139 if ("$as_dir/$as_base" -c '
229 for as_base in sh bash ksh sh5; do
230 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
231 done;;
232 esac
233 done
234 IFS=$as_save_IFS
235
236
237 for as_shell in $as_candidate_shells $SHELL; do
238 # Try only shells that exist, to save several forks.
239 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
240 { ("$as_shell") 2> /dev/null <<\_ASEOF
241 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
242 emulate sh
243 NULLCMD=:
244 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
245 # is contrary to our usage. Disable this feature.
246 alias -g '${1+"$@"}'='"$@"'
247 setopt NO_GLOB_SUBST
248 else
249 case `(set -o) 2>/dev/null` in
250 *posix*) set -o posix ;;
251 esac
252
253 fi
254
255
256 :
257 _ASEOF
258 }; then
259 CONFIG_SHELL=$as_shell
260 as_have_required=yes
261 if { "$as_shell" 2> /dev/null <<\_ASEOF
262 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
263 emulate sh
264 NULLCMD=:
265 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
266 # is contrary to our usage. Disable this feature.
267 alias -g '${1+"$@"}'='"$@"'
268 setopt NO_GLOB_SUBST
269 else
270 case `(set -o) 2>/dev/null` in
271 *posix*) set -o posix ;;
272 esac
273
274 fi
275
276
277 :
278 (as_func_return () {
279 (exit $1)
280 }
281 as_func_success () {
282 as_func_return 0
283 }
284 as_func_failure () {
285 as_func_return 1
286 }
287 as_func_ret_success () {
288 return 0
289 }
290 as_func_ret_failure () {
291 return 1
292 }
293
294 exitcode=0
295 if as_func_success; then
296 :
297 else
298 exitcode=1
299 echo as_func_success failed.
300 fi
301
302 if as_func_failure; then
303 exitcode=1
304 echo as_func_failure succeeded.
305 fi
306
307 if as_func_ret_success; then
308 :
309 else
310 exitcode=1
311 echo as_func_ret_success failed.
312 fi
313
314 if as_func_ret_failure; then
315 exitcode=1
316 echo as_func_ret_failure succeeded.
317 fi
318
319 if ( set x; as_func_ret_success y && test x = "$1" ); then
320 :
321 else
322 exitcode=1
323 echo positional parameters were not saved.
324 fi
325
326 test $exitcode = 0) || { (exit 1); exit 1; }
327
328 (
140329 as_lineno_1=$LINENO
141330 as_lineno_2=$LINENO
142 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
143331 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
332 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
333
334 _ASEOF
335 }; then
336 break
337 fi
338
339 fi
340
341 done
342
343 if test "x$CONFIG_SHELL" != x; then
344 for as_var in BASH_ENV ENV
345 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
346 done
347 export CONFIG_SHELL
348 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
349 fi
350
351
352 if test $as_have_required = no; then
353 echo This script requires a shell more modern than all the
354 echo shells that I found on your system. Please install a
355 echo modern shell, or manually run the script under such a
356 echo shell if you do have one.
357 { (exit 1); exit 1; }
358 fi
359
360
361 fi
362
363 fi
364
365
366
367 (eval "as_func_return () {
368 (exit \$1)
369 }
370 as_func_success () {
371 as_func_return 0
372 }
373 as_func_failure () {
374 as_func_return 1
375 }
376 as_func_ret_success () {
377 return 0
378 }
379 as_func_ret_failure () {
380 return 1
381 }
382
383 exitcode=0
384 if as_func_success; then
385 :
386 else
387 exitcode=1
388 echo as_func_success failed.
389 fi
390
391 if as_func_failure; then
392 exitcode=1
393 echo as_func_failure succeeded.
394 fi
395
396 if as_func_ret_success; then
397 :
398 else
399 exitcode=1
400 echo as_func_ret_success failed.
401 fi
402
403 if as_func_ret_failure; then
404 exitcode=1
405 echo as_func_ret_failure succeeded.
406 fi
407
408 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
409 :
410 else
411 exitcode=1
412 echo positional parameters were not saved.
413 fi
414
415 test \$exitcode = 0") || {
416 echo No shell found that supports shell functions.
417 echo Please tell autoconf@gnu.org about your system,
418 echo including any error possibly output before this
419 echo message
420 }
421
422
423
424 as_lineno_1=$LINENO
425 as_lineno_2=$LINENO
426 test "x$as_lineno_1" != "x$as_lineno_2" &&
427 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
156428
157429 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
158430 # 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.
431 # line-number line after each line using $LINENO; the second 'sed'
432 # does the real work. The second script uses 'N' to pair each
433 # line-number line with the line containing $LINENO, and appends
434 # trailing '-' during substitution so that $LINENO is not a special
435 # case at line end.
163436 # (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 |
437 # scripts with optimization help from Paolo Bonzini. Blame Lee
438 # E. McMahon (1931-1989) for sed's syntax. :-)
439 sed -n '
440 p
441 /[$]LINENO/=
442 ' <$as_myself |
166443 sed '
444 s/[$]LINENO.*/&-/
445 t lineno
446 b
447 :lineno
167448 N
168 s,$,-,
169 : loop
170 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
449 :loop
450 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
171451 t loop
172 s,-$,,
173 s,^['$as_cr_digits']*\n,,
452 s/-\n.*//
174453 ' >$as_me.lineno &&
175 chmod +x $as_me.lineno ||
454 chmod +x "$as_me.lineno" ||
176455 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
177456 { (exit 1); exit 1; }; }
178457
179458 # Don't try to exec as it changes $[0], causing all sort of problems
180459 # (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
460 # original and so on. Autoconf is especially sensitive to this).
461 . "./$as_me.lineno"
183462 # Exit status is that of the last command.
184463 exit
185464 }
186465
187466
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= ;;
467 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
468 as_dirname=dirname
469 else
470 as_dirname=false
471 fi
472
473 ECHO_C= ECHO_N= ECHO_T=
474 case `echo -n x` in
475 -n*)
476 case `echo 'x\c'` in
477 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
478 *) ECHO_C='\c';;
479 esac;;
480 *)
481 ECHO_N='-n';;
193482 esac
194483
195 if expr a : '\(a\)' >/dev/null 2>&1; then
484 if expr a : '\(a\)' >/dev/null 2>&1 &&
485 test "X`expr 00001 : '.*\(...\)'`" = X001; then
196486 as_expr=expr
197487 else
198488 as_expr=false
199489 fi
200490
201491 rm -f conf$$ conf$$.exe conf$$.file
492 if test -d conf$$.dir; then
493 rm -f conf$$.dir/conf$$.file
494 else
495 rm -f conf$$.dir
496 mkdir conf$$.dir
497 fi
202498 echo >conf$$.file
203499 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
500 as_ln_s='ln -s'
501 # ... but there are two gotchas:
502 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
503 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
504 # In both cases, we have to default to `cp -p'.
505 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
208506 as_ln_s='cp -p'
209 else
210 as_ln_s='ln -s'
211 fi
212507 elif ln conf$$.file conf$$ 2>/dev/null; then
213508 as_ln_s=ln
214509 else
215510 as_ln_s='cp -p'
216511 fi
217 rm -f conf$$ conf$$.exe conf$$.file
512 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
513 rmdir conf$$.dir 2>/dev/null
218514
219515 if mkdir -p . 2>/dev/null; then
220516 as_mkdir_p=:
223519 as_mkdir_p=false
224520 fi
225521
226 as_executable_p="test -f"
522 if test -x / >/dev/null 2>&1; then
523 as_test_x='test -x'
524 else
525 if ls -dL / >/dev/null 2>&1; then
526 as_ls_L_option=L
527 else
528 as_ls_L_option=
529 fi
530 as_test_x='
531 eval sh -c '\''
532 if test -d "$1"; then
533 test -d "$1/.";
534 else
535 case $1 in
536 -*)set "./$1";;
537 esac;
538 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
539 ???[sx]*):;;*)false;;esac;fi
540 '\'' sh
541 '
542 fi
543 as_executable_p=$as_test_x
227544
228545 # Sed expression to map a string onto a valid CPP name.
229546 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232549 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
233550
234551
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
552
553 exec 7<&0 &1
244554
245555 # Name of the host.
246556 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247557 # so uname gets run too.
248558 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249559
250 exec 6>&1
251
252560 #
253561 # Initializations.
254562 #
255563 ac_default_prefix=/usr/local
564 ac_clean_files=
256565 ac_config_libobj_dir=.
566 LIBOBJS=
257567 cross_compiling=no
258568 subdirs=
259569 MFLAGS=
260570 MAKEFLAGS=
261571 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}
267572
268573 # Identity of this package.
269574 PACKAGE_NAME='[SAMPLE]'
273578 PACKAGE_BUGREPORT='bugs@yourdomain'
274579
275580 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'
581 ac_subst_vars='SHELL
582 PATH_SEPARATOR
583 PACKAGE_NAME
584 PACKAGE_TARNAME
585 PACKAGE_VERSION
586 PACKAGE_STRING
587 PACKAGE_BUGREPORT
588 exec_prefix
589 prefix
590 program_transform_name
591 bindir
592 sbindir
593 libexecdir
594 datarootdir
595 datadir
596 sysconfdir
597 sharedstatedir
598 localstatedir
599 includedir
600 oldincludedir
601 docdir
602 infodir
603 htmldir
604 dvidir
605 pdfdir
606 psdir
607 libdir
608 localedir
609 mandir
610 DEFS
611 ECHO_C
612 ECHO_N
613 ECHO_T
614 LIBS
615 build_alias
616 host_alias
617 target_alias
618 LLVM_SRC
619 LLVM_OBJ
620 LIBOBJS
621 LTLIBOBJS'
277622 ac_subst_files=''
623 ac_precious_vars='build_alias
624 host_alias
625 target_alias'
626
278627
279628 # Initialize some variables set by options.
280629 ac_init_help=
301650 # and all the variables that are supposed to be based on exec_prefix
302651 # by default will actually change.
303652 # Use braces instead of parens because sh, perl, etc. also accept them.
653 # (The list follows the same order as the GNU Coding Standards.)
304654 bindir='${exec_prefix}/bin'
305655 sbindir='${exec_prefix}/sbin'
306656 libexecdir='${exec_prefix}/libexec'
307 datadir='${prefix}/share'
657 datarootdir='${prefix}/share'
658 datadir='${datarootdir}'
308659 sysconfdir='${prefix}/etc'
309660 sharedstatedir='${prefix}/com'
310661 localstatedir='${prefix}/var'
311 libdir='${exec_prefix}/lib'
312662 includedir='${prefix}/include'
313663 oldincludedir='/usr/include'
314 infodir='${prefix}/info'
315 mandir='${prefix}/man'
664 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
665 infodir='${datarootdir}/info'
666 htmldir='${docdir}'
667 dvidir='${docdir}'
668 pdfdir='${docdir}'
669 psdir='${docdir}'
670 libdir='${exec_prefix}/lib'
671 localedir='${datarootdir}/locale'
672 mandir='${datarootdir}/man'
316673
317674 ac_prev=
675 ac_dashdash=
318676 for ac_option
319677 do
320678 # If the previous option needs an argument, assign it.
321679 if test -n "$ac_prev"; then
322 eval "$ac_prev=\$ac_option"
680 eval $ac_prev=\$ac_option
323681 ac_prev=
324682 continue
325683 fi
326684
327 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
685 case $ac_option in
686 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
687 *) ac_optarg=yes ;;
688 esac
328689
329690 # Accept the important Cygnus configure options, so we can diagnose typos.
330691
331 case $ac_option in
692 case $ac_dashdash$ac_option in
693 --)
694 ac_dashdash=yes ;;
332695
333696 -bindir | --bindir | --bindi | --bind | --bin | --bi)
334697 ac_prev=bindir ;;
350713 --config-cache | -C)
351714 cache_file=config.cache ;;
352715
353 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
716 -datadir | --datadir | --datadi | --datad)
354717 ac_prev=datadir ;;
355 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
356 | --da=*)
718 -datadir=* | --datadir=* | --datadi=* | --datad=*)
357719 datadir=$ac_optarg ;;
720
721 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
722 | --dataroo | --dataro | --datar)
723 ac_prev=datarootdir ;;
724 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
725 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
726 datarootdir=$ac_optarg ;;
358727
359728 -disable-* | --disable-*)
360729 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361730 # Reject names that are not valid shell variable names.
362 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
731 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
363732 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364733 { (exit 1); exit 1; }; }
365 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
366 eval "enable_$ac_feature=no" ;;
734 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
735 eval enable_$ac_feature=no ;;
736
737 -docdir | --docdir | --docdi | --doc | --do)
738 ac_prev=docdir ;;
739 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
740 docdir=$ac_optarg ;;
741
742 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
743 ac_prev=dvidir ;;
744 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
745 dvidir=$ac_optarg ;;
367746
368747 -enable-* | --enable-*)
369748 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370749 # Reject names that are not valid shell variable names.
371 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
750 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
372751 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373752 { (exit 1); exit 1; }; }
374 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'" ;;
753 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
754 eval enable_$ac_feature=\$ac_optarg ;;
380755
381756 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
382757 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
403778 -host=* | --host=* | --hos=* | --ho=*)
404779 host_alias=$ac_optarg ;;
405780
781 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
782 ac_prev=htmldir ;;
783 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
784 | --ht=*)
785 htmldir=$ac_optarg ;;
786
406787 -includedir | --includedir | --includedi | --included | --include \
407788 | --includ | --inclu | --incl | --inc)
408789 ac_prev=includedir ;;
427808 | --libexe=* | --libex=* | --libe=*)
428809 libexecdir=$ac_optarg ;;
429810
811 -localedir | --localedir | --localedi | --localed | --locale)
812 ac_prev=localedir ;;
813 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
814 localedir=$ac_optarg ;;
815
430816 -localstatedir | --localstatedir | --localstatedi | --localstated \
431 | --localstate | --localstat | --localsta | --localst \
432 | --locals | --local | --loca | --loc | --lo)
817 | --localstate | --localstat | --localsta | --localst | --locals)
433818 ac_prev=localstatedir ;;
434819 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
435 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
436 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
820 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
437821 localstatedir=$ac_optarg ;;
438822
439823 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
498882 | --progr-tra=* | --program-tr=* | --program-t=*)
499883 program_transform_name=$ac_optarg ;;
500884
885 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
886 ac_prev=pdfdir ;;
887 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
888 pdfdir=$ac_optarg ;;
889
890 -psdir | --psdir | --psdi | --psd | --ps)
891 ac_prev=psdir ;;
892 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
893 psdir=$ac_optarg ;;
894
501895 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
502896 | -silent | --silent | --silen | --sile | --sil)
503897 silent=yes ;;
550944 -with-* | --with-*)
551945 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552946 # Reject names that are not valid shell variable names.
553 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
947 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
554948 { echo "$as_me: error: invalid package name: $ac_package" >&2
555949 { (exit 1); exit 1; }; }
556 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'" ;;
950 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
951 eval with_$ac_package=\$ac_optarg ;;
562952
563953 -without-* | --without-*)
564954 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565955 # Reject names that are not valid shell variable names.
566 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
956 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
567957 { echo "$as_me: error: invalid package name: $ac_package" >&2
568958 { (exit 1); exit 1; }; }
569 ac_package=`echo $ac_package | sed 's/-/_/g'`
570 eval "with_$ac_package=no" ;;
959 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
960 eval with_$ac_package=no ;;
571961
572962 --x)
573963 # Obsolete; use --with-x.
598988 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
599989 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600990 { (exit 1); exit 1; }; }
601 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602 eval "$ac_envvar='$ac_optarg'"
991 eval $ac_envvar=\$ac_optarg
603992 export $ac_envvar ;;
604993
605994 *)
6191008 { (exit 1); exit 1; }; }
6201009 fi
6211010
622 # Be sure to have absolute paths.
623 for ac_var in exec_prefix prefix
1011 # Be sure to have absolute directory names.
1012 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1013 datadir sysconfdir sharedstatedir localstatedir includedir \
1014 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1015 libdir localedir mandir
6241016 do
625 eval ac_val=$`echo $ac_var`
1017 eval ac_val=\$$ac_var
6261018 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; }; };;
1019 [\\/$]* | ?:[\\/]* ) continue;;
1020 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
6301021 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
1022 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1023 { (exit 1); exit 1; }; }
6431024 done
6441025
6451026 # There might be people who depend on the old broken behavior: `$host'
6661047 test "$silent" = yes && exec 6>/dev/null
6671048
6681049
1050 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1051 ac_ls_di=`ls -di .` &&
1052 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1053 { echo "$as_me: error: Working directory cannot be determined" >&2
1054 { (exit 1); exit 1; }; }
1055 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1056 { echo "$as_me: error: pwd does not report name of working directory" >&2
1057 { (exit 1); exit 1; }; }
1058
1059
6691060 # Find the source files, if location was not specified.
6701061 if test -z "$srcdir"; then
6711062 ac_srcdir_defaulted=yes
672 # Try the directory containing this script, then its parent.
673 ac_confdir=`(dirname "$0") 2>/dev/null ||
1063 # Try the directory containing this script, then the parent directory.
1064 ac_confdir=`$as_dirname -- "$0" ||
6741065 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6751066 X"$0" : 'X\(//\)[^/]' \| \
6761067 X"$0" : 'X\(//\)$' \| \
677 X"$0" : 'X\(/\)' \| \
678 . : '\(.\)' 2>/dev/null ||
1068 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6791069 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'`
1070 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1071 s//\1/
1072 q
1073 }
1074 /^X\(\/\/\)[^/].*/{
1075 s//\1/
1076 q
1077 }
1078 /^X\(\/\/\)$/{
1079 s//\1/
1080 q
1081 }
1082 /^X\(\/\).*/{
1083 s//\1/
1084 q
1085 }
1086 s/.*/./; q'`
6851087 srcdir=$ac_confdir
686 if test ! -r $srcdir/$ac_unique_file; then
1088 if test ! -r "$srcdir/$ac_unique_file"; then
6871089 srcdir=..
6881090 fi
6891091 else
6901092 ac_srcdir_defaulted=no
6911093 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
1094 if test ! -r "$srcdir/$ac_unique_file"; then
1095 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1096 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
6951097 { (exit 1); exit 1; }; }
696 else
697 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1098 fi
1099 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1100 ac_abs_confdir=`(
1101 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
6981102 { (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
1103 pwd)`
1104 # When building in place, set srcdir=.
1105 if test "$ac_abs_confdir" = "$ac_pwd"; then
1106 srcdir=.
1107 fi
1108 # Remove unnecessary trailing slashes from srcdir.
1109 # Double slashes in file names in object file debugging info
1110 # mess up M-x gdb in Emacs.
1111 case $srcdir in
1112 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1113 esac
1114 for ac_var in $ac_precious_vars; do
1115 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1116 eval ac_env_${ac_var}_value=\$${ac_var}
1117 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1118 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1119 done
7171120
7181121 #
7191122 # Report the --help message.
7421145 -n, --no-create do not create output files
7431146 --srcdir=DIR find the sources in DIR [configure dir or \`..']
7441147
745 _ACEOF
746
747 cat <<_ACEOF
7481148 Installation directories:
7491149 --prefix=PREFIX install architecture-independent files in PREFIX
7501150 [$ac_default_prefix]
7621162 --bindir=DIR user executables [EPREFIX/bin]
7631163 --sbindir=DIR system admin executables [EPREFIX/sbin]
7641164 --libexecdir=DIR program executables [EPREFIX/libexec]
765 --datadir=DIR read-only architecture-independent data [PREFIX/share]
7661165 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
7671166 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
7681167 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
7691168 --libdir=DIR object code libraries [EPREFIX/lib]
7701169 --includedir=DIR C header files [PREFIX/include]
7711170 --oldincludedir=DIR C header files for non-gcc [/usr/include]
772 --infodir=DIR info documentation [PREFIX/info]
773 --mandir=DIR man documentation [PREFIX/man]
1171 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1172 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1173 --infodir=DIR info documentation [DATAROOTDIR/info]
1174 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1175 --mandir=DIR man documentation [DATAROOTDIR/man]
1176 --docdir=DIR documentation root [DATAROOTDIR/doc/--sample--]
1177 --htmldir=DIR html documentation [DOCDIR]
1178 --dvidir=DIR dvi documentation [DOCDIR]
1179 --pdfdir=DIR pdf documentation [DOCDIR]
1180 --psdir=DIR ps documentation [DOCDIR]
7741181 _ACEOF
7751182
7761183 cat <<\_ACEOF
7911198
7921199 Report bugs to .
7931200 _ACEOF
1201 ac_status=$?
7941202 fi
7951203
7961204 if test "$ac_init_help" = "recursive"; then
7971205 # If there are subdirs, report their specific --help.
798 ac_popdir=`pwd`
7991206 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
800 test -d $ac_dir || continue
1207 test -d "$ac_dir" || continue
8011208 ac_builddir=.
8021209
803 if test "$ac_dir" != .; then
1210 case "$ac_dir" in
1211 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1212 *)
8041213 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
1214 # A ".." for each directory in $ac_dir_suffix.
1215 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1216 case $ac_top_builddir_sub in
1217 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1218 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1219 esac ;;
1220 esac
1221 ac_abs_top_builddir=$ac_pwd
1222 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1223 # for backward compatibility:
1224 ac_top_builddir=$ac_top_build_prefix
8101225
8111226 case $srcdir in
812 .) # No --srcdir option. We are building in place.
1227 .) # We are building in place.
8131228 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.
1229 ac_top_srcdir=$ac_top_builddir_sub
1230 ac_abs_top_srcdir=$ac_pwd ;;
1231 [\\/]* | ?:[\\/]* ) # Absolute name.
8201232 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 ;;
1233 ac_top_srcdir=$srcdir
1234 ac_abs_top_srcdir=$srcdir ;;
1235 *) # Relative name.
1236 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1237 ac_top_srcdir=$ac_top_build_prefix$srcdir
1238 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8251239 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
1240 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1241
1242 cd "$ac_dir" || { ac_status=$?; continue; }
1243 # Check for guested configure.
1244 if test -f "$ac_srcdir/configure.gnu"; then
1245 echo &&
1246 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1247 elif test -f "$ac_srcdir/configure"; then
1248 echo &&
1249 $SHELL "$ac_srcdir/configure" --help=recursive
8781250 else
8791251 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
880 fi
881 cd $ac_popdir
1252 fi || ac_status=$?
1253 cd "$ac_pwd" || { ac_status=$?; break; }
8821254 done
8831255 fi
8841256
885 test -n "$ac_init_help" && exit 0
1257 test -n "$ac_init_help" && exit $ac_status
8861258 if $ac_init_version; then
8871259 cat <<\_ACEOF
8881260 [SAMPLE] configure [x.xx]
889 generated by GNU Autoconf 2.59
890
891 Copyright (C) 2003 Free Software Foundation, Inc.
1261 generated by GNU Autoconf 2.61
1262
1263 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1264 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8921265 This configure script is free software; the Free Software Foundation
8931266 gives unlimited permission to copy, distribute and modify it.
8941267 _ACEOF
895 exit 0
896 fi
897 exec 5>config.log
898 cat >&5 <<_ACEOF
1268 exit
1269 fi
1270 cat >config.log <<_ACEOF
8991271 This file contains any messages produced by compilers while
9001272 running configure, to aid debugging if configure makes a mistake.
9011273
9021274 It was created by [SAMPLE] $as_me [x.xx], which was
903 generated by GNU Autoconf 2.59. Invocation command line was
1275 generated by GNU Autoconf 2.61. Invocation command line was
9041276
9051277 $ $0 $@
9061278
9071279 _ACEOF
1280 exec 5>>config.log
9081281 {
9091282 cat <<_ASUNAME
9101283 ## --------- ##
9231296 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
9241297 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
9251298 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
926 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1299 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
9271300 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
9281301 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
9291302 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
9371310 test -z "$as_dir" && as_dir=.
9381311 echo "PATH: $as_dir"
9391312 done
1313 IFS=$as_save_IFS
9401314
9411315 } >&5
9421316
9581332 ac_configure_args=
9591333 ac_configure_args0=
9601334 ac_configure_args1=
961 ac_sep=
9621335 ac_must_keep_next=false
9631336 for ac_pass in 1 2
9641337 do
9691342 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9701343 | -silent | --silent | --silen | --sile | --sil)
9711344 continue ;;
972 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1345 *\'*)
9731346 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9741347 esac
9751348 case $ac_pass in
9911364 -* ) ac_must_keep_next=true ;;
9921365 esac
9931366 fi
994 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
995 # Get rid of the leading space.
996 ac_sep=" "
1367 ac_configure_args="$ac_configure_args '$ac_arg'"
9971368 ;;
9981369 esac
9991370 done
10041375 # When interrupted or exit'd, cleanup temporary files, and complete
10051376 # config.log. We remove comments because anyway the quotes in there
10061377 # 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.
1378 # WARNING: Use '\'' to represent an apostrophe within the trap.
1379 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
10091380 trap 'exit_status=$?
10101381 # Save into config.log some information that might help in debugging.
10111382 {
10181389 _ASBOX
10191390 echo
10201391 # The following way of writing the cache mishandles newlines in values,
1021 {
1392 (
1393 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1394 eval ac_val=\$$ac_var
1395 case $ac_val in #(
1396 *${as_nl}*)
1397 case $ac_var in #(
1398 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1399 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1400 esac
1401 case $ac_var in #(
1402 _ | IFS | as_nl) ;; #(
1403 *) $as_unset $ac_var ;;
1404 esac ;;
1405 esac
1406 done
10221407 (set) 2>&1 |
1023 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1024 *ac_space=\ *)
1408 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1409 *${as_nl}ac_space=\ *)
10251410 sed -n \
1026 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1027 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1411 "s/'\''/'\''\\\\'\'''\''/g;
1412 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1413 ;; #(
1414 *)
1415 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10281416 ;;
1029 *)
1030 sed -n \
1031 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1032 ;;
1033 esac;
1034 }
1417 esac |
1418 sort
1419 )
10351420 echo
10361421
10371422 cat <<\_ASBOX
10421427 echo
10431428 for ac_var in $ac_subst_vars
10441429 do
1045 eval ac_val=$`echo $ac_var`
1046 echo "$ac_var='"'"'$ac_val'"'"'"
1430 eval ac_val=\$$ac_var
1431 case $ac_val in
1432 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1433 esac
1434 echo "$ac_var='\''$ac_val'\''"
10471435 done | sort
10481436 echo
10491437
10501438 if test -n "$ac_subst_files"; then
10511439 cat <<\_ASBOX
1052 ## ------------- ##
1053 ## Output files. ##
1054 ## ------------- ##
1440 ## ------------------- ##
1441 ## File substitutions. ##
1442 ## ------------------- ##
10551443 _ASBOX
10561444 echo
10571445 for ac_var in $ac_subst_files
10581446 do
1059 eval ac_val=$`echo $ac_var`
1060 echo "$ac_var='"'"'$ac_val'"'"'"
1447 eval ac_val=\$$ac_var
1448 case $ac_val in
1449 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1450 esac
1451 echo "$ac_var='\''$ac_val'\''"
10611452 done | sort
10621453 echo
10631454 fi
10691460 ## ----------- ##
10701461 _ASBOX
10711462 echo
1072 sed "/^$/d" confdefs.h | sort
1463 cat confdefs.h
10731464 echo
10741465 fi
10751466 test "$ac_signal" != 0 &&
10761467 echo "$as_me: caught signal $ac_signal"
10771468 echo "$as_me: exit $exit_status"
10781469 } >&5
1079 rm -f core *.core &&
1080 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1470 rm -f core *.core core.conftest.* &&
1471 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
10811472 exit $exit_status
1082 ' 0
1473 ' 0
10831474 for ac_signal in 1 2 13 15; do
10841475 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
10851476 done
10861477 ac_signal=0
10871478
10881479 # 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
1480 rm -f -r conftest* confdefs.h
10921481
10931482 # Predefined preprocessor variables.
10941483
11191508
11201509 # Let the site file select an alternate cache file if it wants to.
11211510 # 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
1511 if test -n "$CONFIG_SITE"; then
1512 set x "$CONFIG_SITE"
1513 elif test "x$prefix" != xNONE; then
1514 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1515 else
1516 set x "$ac_default_prefix/share/config.site" \
1517 "$ac_default_prefix/etc/config.site"
1518 fi
1519 shift
1520 for ac_site_file
1521 do
11301522 if test -r "$ac_site_file"; then
11311523 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
11321524 echo "$as_me: loading site script $ac_site_file" >&6;}
11421534 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
11431535 echo "$as_me: loading cache $cache_file" >&6;}
11441536 case $cache_file in
1145 [\\/]* | ?:[\\/]* ) . $cache_file;;
1146 *) . ./$cache_file;;
1537 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1538 *) . "./$cache_file";;
11471539 esac
11481540 fi
11491541 else
11551547 # Check that the precious variables saved in the cache have kept the same
11561548 # value.
11571549 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
1550 for ac_var in $ac_precious_vars; do
11601551 eval ac_old_set=\$ac_cv_env_${ac_var}_set
11611552 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"
1553 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1554 eval ac_new_val=\$ac_env_${ac_var}_value
11641555 case $ac_old_set,$ac_new_set in
11651556 set,)
11661557 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
11851576 # Pass precious variables to config.status.
11861577 if test "$ac_new_set" = set; then
11871578 case $ac_new_val in
1188 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1189 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1579 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
11901580 *) ac_arg=$ac_var=$ac_new_val ;;
11911581 esac
11921582 case " $ac_configure_args " in
12031593 { (exit 1); exit 1; }; }
12041594 fi
12051595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
12061620 ac_ext=c
12071621 ac_cpp='$CPP $CPPFLAGS'
12081622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12111625
12121626
12131627
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1628 LLVM_SRC_ROOT="../.."
1629 LLVM_OBJ_ROOT="../.."
12391630 ac_aux_dir=
1240 for ac_dir in ../../autoconf $srcdir/../../autoconf; do
1241 if test -f $ac_dir/install-sh; then
1631 for ac_dir in $LLVM_SRC_ROOT/autoconf "$srcdir"/$LLVM_SRC_ROOT/autoconf; do
1632 if test -f "$ac_dir/install-sh"; then
12421633 ac_aux_dir=$ac_dir
12431634 ac_install_sh="$ac_aux_dir/install-sh -c"
12441635 break
1245 elif test -f $ac_dir/install.sh; then
1636 elif test -f "$ac_dir/install.sh"; then
12461637 ac_aux_dir=$ac_dir
12471638 ac_install_sh="$ac_aux_dir/install.sh -c"
12481639 break
1249 elif test -f $ac_dir/shtool; then
1640 elif test -f "$ac_dir/shtool"; then
12501641 ac_aux_dir=$ac_dir
12511642 ac_install_sh="$ac_aux_dir/shtool install -c"
12521643 break
12531644 fi
12541645 done
12551646 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;}
1647 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $LLVM_SRC_ROOT/autoconf \"$srcdir\"/$LLVM_SRC_ROOT/autoconf" >&5
1648 echo "$as_me: error: cannot find install-sh or install.sh in $LLVM_SRC_ROOT/autoconf \"$srcdir\"/$LLVM_SRC_ROOT/autoconf" >&2;}
12581649 { (exit 1); exit 1; }; }
12591650 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.
1651
1652 # These three variables are undocumented and unsupported,
1653 # and are intended to be withdrawn in a future Autoconf release.
1654 # They can cause serious problems if a builder's source tree is in a directory
1655 # whose full name contains unusual characters.
1656 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1657 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1658 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1659
1660
1661
1662
1663 # Check whether --with-llvmsrc was given.
12671664 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;
1665 withval=$with_llvmsrc; llvm_src="$withval"
1666 else
1667 llvm_src="$LLVM_SRC_ROOT"
1668 fi
1669
12731670 LLVM_SRC=$llvm_src
12741671
12751672
1276 # Check whether --with-llvmobj or --without-llvmobj was given.
1673 # Check whether --with-llvmobj was given.
12771674 if test "${with_llvmobj+set}" = set; then
1278 withval="$with_llvmobj"
1279 llvm_obj="$withval"
1280 else
1281 llvm_obj=`cd ../..; pwd`
1282 fi;
1675 withval=$with_llvmobj; llvm_obj="$withval"
1676 else
1677 llvm_obj="$LLVM_OBJ_ROOT"
1678 fi
1679
12831680 LLVM_OBJ=$llvm_obj
12841681
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"
1682 ac_config_commands="$ac_config_commands setup"
1683
1684
1685
1686
1687
1688 ac_config_files="$ac_config_files Makefile.common"
1689
1690
1691 ac_config_commands="$ac_config_commands Makefile"
1692
1693
1694 ac_config_commands="$ac_config_commands lib/Makefile"
1695
1696
1697 ac_config_commands="$ac_config_commands lib/sample/Makefile"
1698
1699
1700 ac_config_commands="$ac_config_commands tools/Makefile"
1701
1702
1703 ac_config_commands="$ac_config_commands tools/sample/Makefile"
13071704
13081705
13091706
13341731
13351732 # The following way of writing the cache mishandles newlines in values,
13361733 # but we know of no workaround that is simple, portable, and efficient.
1337 # So, don't put newlines in cache variables' values.
1734 # So, we kill variables containing newlines.
13381735 # Ultrix sh set writes to stderr and can't be redirected directly,
13391736 # and sets the high bit in the cache file unless we assign to the vars.
1340 {
1737 (
1738 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1739 eval ac_val=\$$ac_var
1740 case $ac_val in #(
1741 *${as_nl}*)
1742 case $ac_var in #(
1743 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1744 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1745 esac
1746 case $ac_var in #(
1747 _ | IFS | as_nl) ;; #(
1748 *) $as_unset $ac_var ;;
1749 esac ;;
1750 esac
1751 done
1752
13411753 (set) 2>&1 |
1342 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1343 *ac_space=\ *)
1754 case $as_nl`(ac_space=' '; set) 2>&1` in #(
1755 *${as_nl}ac_space=\ *)
13441756 # `set' does not quote correctly, so add quotes (double-quote
13451757 # substitution turns \\\\ into \\, and sed turns \\ into \).
13461758 sed -n \
13471759 "s/'/'\\\\''/g;
13481760 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1349 ;;
1761 ;; #(
13501762 *)
13511763 # `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"
1764 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13541765 ;;
1355 esac;
1356 } |
1766 esac |
1767 sort
1768 ) |
13571769 sed '
1770 /^ac_cv_env_/b end
13581771 t clear
1359 : clear
1772 :clear
13601773 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13611774 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"
1775 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1776 :end' >>confcache
1777 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1778 if test -w "$cache_file"; then
1779 test "x$cache_file" != "x/dev/null" &&
1780 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
1781 echo "$as_me: updating cache $cache_file" >&6;}
13671782 cat confcache >$cache_file
13681783 else
1369 echo "not updating unwritable cache $cache_file"
1784 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
1785 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13701786 fi
13711787 fi
13721788 rm -f confcache
13741790 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13751791 # Let make expand exec_prefix.
13761792 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
13921793
13931794 # Transform confdefs.h into DEFS.
13941795 # Protect against shell expansion while executing Makefile rules.
13951796 # Protect against Makefile macro expansion.
13961797 #
13971798 # If the first sed substitution is executed (which looks for macros that
1398 # take arguments), then we branch to the quote section. Otherwise,
1799 # take arguments), then branch to the quote section. Otherwise,
13991800 # look for a macro that doesn't take arguments.
1400 cat >confdef2opt.sed <<\_ACEOF
1801 ac_script='
14011802 t clear
1402 : clear
1403 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
1803 :clear
1804 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14041805 t quote
1405 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
1806 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14061807 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
1808 b any
1809 :quote
1810 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
1811 s/\[/\\&/g
1812 s/\]/\\&/g
1813 s/\$/$$/g
1814 H
1815 :any
1816 ${
1817 g
1818 s/^\n//
1819 s/\n/ /g
1820 p
1821 }
1822 '
1823 DEFS=`sed -n "$ac_script" confdefs.h`
14241824
14251825
14261826 ac_libobjs=
14271827 ac_ltlibobjs=
14281828 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14291829 # 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'
1830 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1831 ac_i=`echo "$ac_i" | sed "$ac_script"`
1832 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
1833 # will be set to the directory where LIBOBJS objects are built.
1834 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
1835 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
14351836 done
14361837 LIBOBJS=$ac_libobjs
14371838
14621863 ## M4sh Initialization. ##
14631864 ## --------------------- ##
14641865
1465 # Be Bourne compatible
1866 # Be more Bourne compatible
1867 DUALCASE=1; export DUALCASE # for MKS sh
14661868 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14671869 emulate sh
14681870 NULLCMD=:
14691871 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
14701872 # is contrary to our usage. Disable this feature.
14711873 alias -g '${1+"$@"}'='"$@"'
1472 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1473 set -o posix
1474 fi
1475 DUALCASE=1; export DUALCASE # for MKS sh
1476
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.
1874 setopt NO_GLOB_SUBST
1875 else
1876 case `(set -o) 2>/dev/null` in
1877 *posix*) set -o posix ;;
1878 esac
1879
1880 fi
1881
1882
1883
1884
1885 # PATH needs CR
15321886 # Avoid depending upon Character Ranges.
15331887 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15341888 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15491903 rm -f conf$$.sh
15501904 fi
15511905
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
1906 # Support unset when possible.
1907 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1908 as_unset=unset
1909 else
1910 as_unset=false
1911 fi
1912
1913
1914 # IFS
1915 # We need space, tab and new line, in precisely that order. Quoting is
1916 # there to prevent editors from complaining about space-tab.
1917 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
1918 # splitting by setting IFS to empty value.)
1919 as_nl='
1920 '
1921 IFS=" "" $as_nl"
1922
1923 # Find who we are. Look in the path if we contain no directory separator.
1924 case $0 in
1925 *[\\/]* ) as_myself=$0 ;;
1926 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15631927 for as_dir in $PATH
15641928 do
15651929 IFS=$as_save_IFS
15661930 test -z "$as_dir" && as_dir=.
15671931 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15681932 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
1933 IFS=$as_save_IFS
1934
1935 ;;
1936 esac
1937 # We did not find ourselves, most probably we were run as `sh COMMAND'
1938 # in which case we are not to be found in the path.
1939 if test "x$as_myself" = x; then
1940 as_myself=$0
1941 fi
1942 if test ! -f "$as_myself"; then
1943 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1944 { (exit 1); exit 1; }
1945 fi
1946
1947 # Work around bugs in pre-3.0 UWIN ksh.
1948 for as_var in ENV MAIL MAILPATH
1949 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1950 done
1951 PS1='$ '
1952 PS2='> '
1953 PS4='+ '
1954
1955 # NLS nuisances.
1956 for as_var in \
1957 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1958 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1959 LC_TELEPHONE LC_TIME
1960 do
1961 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1962 eval $as_var=C; export $as_var
1963 else
1964 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
15761965 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 '
1966 done
1967
1968 # Required to use basename.
1969 if expr a : '\(a\)' >/dev/null 2>&1 &&
1970 test "X`expr 00001 : '.*\(...\)'`" = X001; then
1971 as_expr=expr
1972 else
1973 as_expr=false
1974 fi
1975
1976 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1977 as_basename=basename
1978 else
1979 as_basename=false
1980 fi
1981
1982
1983 # Name of the executable.
1984 as_me=`$as_basename -- "$0" ||
1985 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1986 X"$0" : 'X\(//\)$' \| \
1987 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1988 echo X/"$0" |
1989 sed '/^.*\/\([^/][^/]*\)\/*$/{
1990 s//\1/
1991 q
1992 }
1993 /^X\/\(\/\/\)$/{
1994 s//\1/
1995 q
1996 }
1997 /^X\/\(\/\).*/{
1998 s//\1/
1999 q
2000 }
2001 s/.*/./; q'`
2002
2003 # CDPATH.
2004 $as_unset CDPATH
2005
2006
2007
15932008 as_lineno_1=$LINENO
15942009 as_lineno_2=$LINENO
1595 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15962010 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
2011 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
16092012
16102013 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
16112014 # 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.
2015 # line-number line after each line using $LINENO; the second 'sed'
2016 # does the real work. The second script uses 'N' to pair each
2017 # line-number line with the line containing $LINENO, and appends
2018 # trailing '-' during substitution so that $LINENO is not a special
2019 # case at line end.
16162020 # (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 |
2021 # scripts with optimization help from Paolo Bonzini. Blame Lee
2022 # E. McMahon (1931-1989) for sed's syntax. :-)
2023 sed -n '
2024 p
2025 /[$]LINENO/=
2026 ' <$as_myself |
16192027 sed '
2028 s/[$]LINENO.*/&-/
2029 t lineno
2030 b
2031 :lineno
16202032 N
1621 s,$,-,
1622 : loop
1623 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2033 :loop
2034 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
16242035 t loop
1625 s,-$,,
1626 s,^['$as_cr_digits']*\n,,
2036 s/-\n.*//
16272037 ' >$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;}
2038 chmod +x "$as_me.lineno" ||
2039 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
16312040 { (exit 1); exit 1; }; }
16322041
16332042 # Don't try to exec as it changes $[0], causing all sort of problems
16342043 # (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
2044 # original and so on. Autoconf is especially sensitive to this).
2045 . "./$as_me.lineno"
16372046 # Exit status is that of the last command.
16382047 exit
16392048 }
16402049
16412050
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= ;;
2051 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2052 as_dirname=dirname
2053 else
2054 as_dirname=false
2055 fi
2056
2057 ECHO_C= ECHO_N= ECHO_T=
2058 case `echo -n x` in
2059 -n*)
2060 case `echo 'x\c'` in
2061 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2062 *) ECHO_C='\c';;
2063 esac;;
2064 *)
2065 ECHO_N='-n';;
16472066 esac
16482067
1649 if expr a : '\(a\)' >/dev/null 2>&1; then
2068 if expr a : '\(a\)' >/dev/null 2>&1 &&
2069 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16502070 as_expr=expr
16512071 else
16522072 as_expr=false
16532073 fi
16542074
16552075 rm -f conf$$ conf$$.exe conf$$.file
2076 if test -d conf$$.dir; then
2077 rm -f conf$$.dir/conf$$.file
2078 else
2079 rm -f conf$$.dir
2080 mkdir conf$$.dir
2081 fi
16562082 echo >conf$$.file
16572083 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
2084 as_ln_s='ln -s'
2085 # ... but there are two gotchas:
2086 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2087 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2088 # In both cases, we have to default to `cp -p'.
2089 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16622090 as_ln_s='cp -p'
1663 else
1664 as_ln_s='ln -s'
1665 fi
16662091 elif ln conf$$.file conf$$ 2>/dev/null; then
16672092 as_ln_s=ln
16682093 else
16692094 as_ln_s='cp -p'
16702095 fi
1671 rm -f conf$$ conf$$.exe conf$$.file
2096 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2097 rmdir conf$$.dir 2>/dev/null
16722098
16732099 if mkdir -p . 2>/dev/null; then
16742100 as_mkdir_p=:
16772103 as_mkdir_p=false
16782104 fi
16792105
1680 as_executable_p="test -f"
2106 if test -x / >/dev/null 2>&1; then
2107 as_test_x='test -x'
2108 else
2109 if ls -dL / >/dev/null 2>&1; then
2110 as_ls_L_option=L
2111 else
2112 as_ls_L_option=
2113 fi
2114 as_test_x='
2115 eval sh -c '\''
2116 if test -d "$1"; then
2117 test -d "$1/.";
2118 else
2119 case $1 in
2120 -*)set "./$1";;
2121 esac;
2122 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2123 ???[sx]*):;;*)false;;esac;fi
2124 '\'' sh
2125 '
2126 fi
2127 as_executable_p=$as_test_x
16812128
16822129 # Sed expression to map a string onto a valid CPP name.
16832130 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16862133 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16872134
16882135
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
16982136 exec 6>&1
16992137
1700 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2138 # Save the log message, to keep $[0] and so on meaningful, and to
17012139 # 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
2140 # values after options handling.
2141 ac_log="
17122142 This file was extended by [SAMPLE] $as_me [x.xx], which was
1713 generated by GNU Autoconf 2.59. Invocation command line was
2143 generated by GNU Autoconf 2.61. Invocation command line was
17142144
17152145 CONFIG_FILES = $CONFIG_FILES
17162146 CONFIG_HEADERS = $CONFIG_HEADERS
17182148 CONFIG_COMMANDS = $CONFIG_COMMANDS
17192149 $ $0 $@
17202150
1721 _CSEOF
1722 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
1723 echo >&5
1724 _ACEOF
1725
2151 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2152 "
2153
2154 _ACEOF
2155
2156 cat >>$CONFIG_STATUS <<_ACEOF
17262157 # 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
2158 config_files="$ac_config_files"
2159 config_commands="$ac_config_commands"
2160
2161 _ACEOF
17422162
17432163 cat >>$CONFIG_STATUS <<\_ACEOF
1744
17452164 ac_cs_usage="\
17462165 \`$as_me' instantiates files from templates according to the
17472166 current configuration.
17492168 Usage: $0 [OPTIONS] [FILE]...
17502169
17512170 -h, --help print this help, then exit
1752 -V, --version print version number, then exit
2171 -V, --version print version number and configuration settings, then exit
17532172 -q, --quiet do not print progress messages
17542173 -d, --debug don't remove temporary files
17552174 --recheck update $as_me by reconfiguring in the same conditions
17632182 $config_commands
17642183
17652184 Report bugs to ."
1766 _ACEOF
1767
2185
2186 _ACEOF
17682187 cat >>$CONFIG_STATUS <<_ACEOF
17692188 ac_cs_version="\\
17702189 [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.
2190 configured by $0, generated by GNU Autoconf 2.61,
2191 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2192
2193 Copyright (C) 2006 Free Software Foundation, Inc.
17752194 This config.status script is free software; the Free Software Foundation
17762195 gives unlimited permission to copy, distribute and modify it."
1777 srcdir=$srcdir
2196
2197 ac_pwd='$ac_pwd'
2198 srcdir='$srcdir'
17782199 _ACEOF
17792200
17802201 cat >>$CONFIG_STATUS <<\_ACEOF
17852206 do
17862207 case $1 in
17872208 --*=*)
1788 ac_option=`expr "x$1" : 'x\([^=]*\)='`
1789 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2209 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2210 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17902211 ac_shift=:
17912212 ;;
1792 -*)
2213 *)
17932214 ac_option=$1
17942215 ac_optarg=$2
17952216 ac_shift=shift
17962217 ;;
1797 *) # This is not an option, so the user has probably given explicit
1798 # arguments.
1799 ac_option=$1
1800 ac_need_defaults=false;;
18012218 esac
18022219
18032220 case $ac_option in
18042221 # Handling of the options.
1805 _ACEOF
1806 cat >>$CONFIG_STATUS <<\_ACEOF
18072222 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18082223 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 )
2224 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2225 echo "$ac_cs_version"; exit ;;
2226 --debug | --debu | --deb | --de | --d | -d )
18212227 debug=: ;;
18222228 --file | --fil | --fi | --f )
18232229 $ac_shift
18242230 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
18252231 ac_need_defaults=false;;
1826 --header | --heade | --head | --hea )
1827 $ac_shift
1828 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
1829 ac_need_defaults=false;;
2232 --he | --h | --help | --hel | -h )
2233 echo "$ac_cs_usage"; exit ;;
18302234 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18312235 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18322236 ac_cs_silent=: ;;
18332237
18342238 # 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;}
2239 -*) { echo "$as_me: error: unrecognized option: $1
2240 Try \`$0 --help' for more information." >&2
18392241 { (exit 1); exit 1; }; } ;;
18402242
1841 *) ac_config_targets="$ac_config_targets $1" ;;
2243 *) ac_config_targets="$ac_config_targets $1"
2244 ac_need_defaults=false ;;
18422245
18432246 esac
18442247 shift
18542257 _ACEOF
18552258 cat >>$CONFIG_STATUS <<_ACEOF
18562259 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
2260 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2261 CONFIG_SHELL=$SHELL
2262 export CONFIG_SHELL
2263 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2264 fi
2265
2266 _ACEOF
2267 cat >>$CONFIG_STATUS <<\_ACEOF
2268 exec 5>>config.log
2269 {
2270 echo
2271 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2272 ## Running $as_me. ##
2273 _ASBOX
2274 echo "$ac_log"
2275 } >&5
2276
2277 _ACEOF
18632278 cat >>$CONFIG_STATUS <<_ACEOF
18642279 #
1865 # INIT-COMMANDS section.
2280 # INIT-COMMANDS
18662281 #
1867
18682282 llvm_src="${LLVM_SRC}"
18692283
18702284 _ACEOF
18712285
1872
1873
18742286 cat >>$CONFIG_STATUS <<\_ACEOF
2287
2288 # Handling of arguments.
18752289 for ac_config_target in $ac_config_targets
18762290 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" ;;
2291 case $ac_config_target in
2292 "setup") CONFIG_COMMANDS="$CONFIG_COMMANDS setup" ;;
2293 "Makefile.common") CONFIG_FILES="$CONFIG_FILES Makefile.common" ;;
2294 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
2295 "lib/Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
2296 "lib/sample/Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS lib/sample/Makefile" ;;
2297 "tools/Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
2298 "tools/sample/Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/sample/Makefile" ;;
2299
18862300 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
18872301 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
18882302 { (exit 1); exit 1; }; };;
18892303 esac
18902304 done
2305
18912306
18922307 # If the user did not use the arguments to specify the items to instantiate,
18932308 # then the envvar interface is used. Set only those that are not.
18992314 fi
19002315
19012316 # 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,
2317 # simply because there is no reason against having it here, and in addition,
19032318 # creating and moving files from /tmp can sometimes cause problems.
1904 # Create a temporary directory, and hook for its removal unless debugging.
2319 # Hook for its removal unless debugging.
2320 # Note that there is a small window in which the directory will not be cleaned:
2321 # after its creation but before its name has been assigned to `$tmp'.
19052322 $debug ||
19062323 {
1907 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2324 tmp=
2325 trap 'exit_status=$?
2326 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2327 ' 0
19082328 trap '{ (exit 1); exit 1; }' 1 2 13 15
19092329 }
1910
19112330 # Create a (secure) tmp directory for tmp files.
19122331
19132332 {
1914 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2333 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19152334 test -n "$tmp" && test -d "$tmp"
19162335 } ||
19172336 {
1918 tmp=./confstat$$-$RANDOM
1919 (umask 077 && mkdir $tmp)
2337 tmp=./conf$$-$RANDOM
2338 (umask 077 && mkdir "$tmp")
19202339 } ||
19212340 {
19222341 echo "$me: cannot create a temporary directory in ." >&2
19232342 { (exit 1); exit 1; }
19242343 }
19252344
1926 _ACEOF
1927
1928 cat >>$CONFIG_STATUS <<_ACEOF
1929
19302345 #
1931 # CONFIG_FILES section.
2346 # Set up the sed scripts for CONFIG_FILES section.
19322347 #
19332348
19342349 # No need to generate the scripts if there are no CONFIG_FILES.
19352350 # 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
2351 if test -n "$CONFIG_FILES"; then
2352
2353 _ACEOF
2354
2355
2356
2357 ac_delim='%!_!# '
2358 for ac_last_try in false false false false false :; do
2359 cat >conf$$subs.sed <<_ACEOF
2360 SHELL!$SHELL$ac_delim
2361 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
2362 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
2363 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
2364 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
2365 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
2366 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
2367 exec_prefix!$exec_prefix$ac_delim
2368 prefix!$prefix$ac_delim
2369 program_transform_name!$program_transform_name$ac_delim
2370 bindir!$bindir$ac_delim
2371 sbindir!$sbindir$ac_delim
2372 libexecdir!$libexecdir$ac_delim
2373 datarootdir!$datarootdir$ac_delim
2374 datadir!$datadir$ac_delim
2375 sysconfdir!$sysconfdir$ac_delim
2376 sharedstatedir!$sharedstatedir$ac_delim
2377 localstatedir!$localstatedir$ac_delim
2378 includedir!$includedir$ac_delim
2379 oldincludedir!$oldincludedir$ac_delim
2380 docdir!$docdir$ac_delim
2381 infodir!$infodir$ac_delim
2382 htmldir!$htmldir$ac_delim
2383 dvidir!$dvidir$ac_delim
2384 pdfdir!$pdfdir$ac_delim
2385 psdir!$psdir$ac_delim
2386 libdir!$libdir$ac_delim
2387 localedir!$localedir$ac_delim
2388 mandir!$mandir$ac_delim
2389 DEFS!$DEFS$ac_delim
2390 ECHO_C!$ECHO_C$ac_delim
2391 ECHO_N!$ECHO_N$ac_delim
2392 ECHO_T!$ECHO_T$ac_delim
2393 LIBS!$LIBS$ac_delim
2394 build_alias!$build_alias$ac_delim
2395 host_alias!$host_alias$ac_delim
2396 target_alias!$target_alias$ac_delim
2397 LLVM_SRC!$LLVM_SRC$ac_delim
2398 LLVM_OBJ!$LLVM_OBJ$ac_delim
2399 LIBOBJS!$LIBOBJS$ac_delim
2400 LTLIBOBJS!$LTLIBOBJS$ac_delim
2401 _ACEOF
2402
2403 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 41; then
2404 break
2405 elif $ac_last_try; then
2406 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2407 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2408 { (exit 1); exit 1; }; }
2409 else
2410 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2411 fi
2412 done
2413
2414 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
2415 if test -n "$ac_eof"; then
2416 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
2417 ac_eof=`expr $ac_eof + 1`
2418 fi
2419
2420 cat >>$CONFIG_STATUS <<_ACEOF
2421 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
2422 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
2423 _ACEOF
2424 sed '
2425 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2426 s/^/s,@/; s/!/@,|#_!!_#|/
2427 :n
2428 t n
2429 s/'"$ac_delim"'$/,g/; t
2430 s/$/\\/; p
2431 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
2432 ' >>$CONFIG_STATUS
2433 rm -f conf$$subs.sed
2434 cat >>$CONFIG_STATUS <<_ACEOF
2435 :end
2436 s/|#_!!_#|//g
2437 CEOF$ac_eof
2438 _ACEOF
2439
2440
2441 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2442 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2443 # trailing colons and then remove the whole line if VPATH becomes empty
2444 # (actually we leave an empty line to preserve line numbers).
2445 if test "x$srcdir" = x.; then
2446 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2447 s/:*\$(srcdir):*/:/
2448 s/:*\${srcdir}:*/:/
2449 s/:*@srcdir@:*/:/
2450 s/^\([^=]*=[ ]*\):*/\1/
2451 s/:*$//
2452 s/^[^=]*=[ ]*$//
2453 }'
2454 fi
2455
2456 cat >>$CONFIG_STATUS <<\_ACEOF
2457 fi # test -n "$CONFIG_FILES"
2458
2459
2460 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
2461 do
2462 case $ac_tag in
2463 :[FHLC]) ac_mode=$ac_tag; continue;;
2464 esac
2465 case $ac_mode$ac_tag in
2466 :[FHL]*:*);;
2467 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
2468 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
2469 { (exit 1); exit 1; }; };;
2470 :[FH]-) ac_tag=-:-;;
2471 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2472 esac
2473 ac_save_IFS=$IFS
2474 IFS=:
2475 set x $ac_tag
2476 IFS=$ac_save_IFS
2477 shift
2478 ac_file=$1
2479 shift
2480
2481 case $ac_mode in
2482 :L) ac_source=$1;;
2483 :[FH])
2484 ac_file_inputs=
2485 for ac_f
2486 do
2487 case $ac_f in
2488 -) ac_f="$tmp/stdin";;
2489 *) # Look for the file first in the build tree, then in the source tree
2490 # (if the path is not absolute). The absolute path cannot be DOS-style,
2491 # because $ac_f cannot contain `:'.
2492 test -f "$ac_f" ||
2493 case $ac_f in
2494 [\\/$]*) false;;
2495 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2496 esac ||
2497 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
2498 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
2499 { (exit 1); exit 1; }; };;
2500 esac
2501 ac_file_inputs="$ac_file_inputs $ac_f"
2502 done
2503
2504 # Let's still pretend it is `configure' which instantiates (i.e., don't
2505 # use $as_me), people would be surprised to read:
2506 # /* config.h. Generated by config.status. */
2507 configure_input="Generated from "`IFS=:
2508 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
2509 if test x"$ac_file" != x-; then
2510 configure_input="$ac_file. $configure_input"
2511 { echo "$as_me:$LINENO: creating $ac_file" >&5
2512 echo "$as_me: creating $ac_file" >&6;}
19922513 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 ;;
2514
2515 case $ac_tag in
2516 *:-:* | *:-) cat >"$tmp/stdin";;
2517 esac
2518 ;;
20292519 esac
20302520
2031 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2032 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2521 ac_dir=`$as_dirname -- "$ac_file" ||
20332522 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20342523 X"$ac_file" : 'X\(//\)[^/]' \| \
20352524 X"$ac_file" : 'X\(//\)$' \| \
2036 X"$ac_file" : 'X\(/\)' \| \
2037 . : '\(.\)' 2>/dev/null ||
2525 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20382526 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"
2527 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2528 s//\1/
2529 q
2530 }
2531 /^X\(\/\/\)[^/].*/{
2532 s//\1/
2533 q
2534 }
2535 /^X\(\/\/\)$/{
2536 s//\1/
2537 q
2538 }
2539 /^X\(\/\).*/{
2540 s//\1/
2541 q
2542 }
2543 s/.*/./; q'`
2544 { as_dir="$ac_dir"
2545 case $as_dir in #(
2546 -*) as_dir=./$as_dir;;
2547 esac
2548 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
20482549 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 ||
2550 while :; do
2551 case $as_dir in #(
2552 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
2553 *) as_qdir=$as_dir;;
2554 esac
2555 as_dirs="'$as_qdir' $as_dirs"
2556 as_dir=`$as_dirname -- "$as_dir" ||
20522557 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20532558 X"$as_dir" : 'X\(//\)[^/]' \| \
20542559 X"$as_dir" : 'X\(//\)$' \| \
2055 X"$as_dir" : 'X\(/\)' \| \
2056 . : '\(.\)' 2>/dev/null ||
2560 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20572561 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'`
2562 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2563 s//\1/
2564 q
2565 }
2566 /^X\(\/\/\)[^/].*/{
2567 s//\1/
2568 q
2569 }
2570 /^X\(\/\/\)$/{
2571 s//\1/
2572 q
2573 }
2574 /^X\(\/\).*/{
2575 s//\1/
2576 q
2577 }
2578 s/.*/./; q'`
2579 test -d "$as_dir" && break
20632580 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;}
2581 test -z "$as_dirs" || eval "mkdir $as_dirs"
2582 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
2583 echo "$as_me: error: cannot create directory $as_dir" >&2;}
20672584 { (exit 1); exit 1; }; }; }
2068
20692585 ac_builddir=.
20702586
2071 if test "$ac_dir" != .; then
2587 case "$ac_dir" in
2588 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2589 *)
20722590 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
2591 # A ".." for each directory in $ac_dir_suffix.
2592 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2593 case $ac_top_builddir_sub in
2594 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2595 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2596 esac ;;
2597 esac
2598 ac_abs_top_builddir=$ac_pwd
2599 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2600 # for backward compatibility:
2601 ac_top_builddir=$ac_top_build_prefix
20782602
20792603 case $srcdir in
2080 .) # No --srcdir option. We are building in place.
2604 .) # We are building in place.
20812605 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.
2606 ac_top_srcdir=$ac_top_builddir_sub
2607 ac_abs_top_srcdir=$ac_pwd ;;
2608 [\\/]* | ?:[\\/]* ) # Absolute name.
20882609 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 ;;
2610 ac_top_srcdir=$srcdir
2611 ac_abs_top_srcdir=$srcdir ;;
2612 *) # Relative name.
2613 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2614 ac_top_srcdir=$ac_top_build_prefix$srcdir
2615 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20932616 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;;
2617 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2618
2619
2620 case $ac_mode in
2621 :F)
2622 #
2623 # CONFIG_FILE
2624 #
2625
2626 _ACEOF
2627
2628 cat >>$CONFIG_STATUS <<\_ACEOF
2629 # If the template does not know about datarootdir, expand it.
2630 # FIXME: This hack should be removed a few years after 2.60.
2631 ac_datarootdir_hack=; ac_datarootdir_seen=
2632
2633 case `sed -n '/datarootdir/ {
2634 p
2635 q
2636 }
2637 /@datadir@/p
2638 /@docdir@/p
2639 /@infodir@/p
2640 /@localedir@/p
2641 /@mandir@/p
2642 ' $ac_file_inputs` in
2643 *datarootdir*) ac_datarootdir_seen=yes;;
2644 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2645 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2646 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2647 _ACEOF
2648 cat >>$CONFIG_STATUS <<_ACEOF
2649 ac_datarootdir_hack='
2650 s&@datadir@&$datadir&g
2651 s&@docdir@&$docdir&g
2652 s&@infodir@&$infodir&g
2653 s&@localedir@&$localedir&g
2654 s&@mandir@&$mandir&g
2655 s&\\\${datarootdir}&$datarootdir&g' ;;
21052656 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
2657 _ACEOF
2658
2659 # Neutralize VPATH when `$srcdir' = `.'.
2660 # Shell code in configure.ac might set extrasub.
2661 # FIXME: do we really want to maintain this feature?
21802662 cat >>$CONFIG_STATUS <<_ACEOF
21812663 sed "$ac_vpsub
21822664 $extrasub
21842666 cat >>$CONFIG_STATUS <<\_ACEOF
21852667 :t
21862668 /@[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`
2669 s&@configure_input@&$configure_input&;t t
2670 s&@top_builddir@&$ac_top_builddir_sub&;t t
2671 s&@srcdir@&$ac_srcdir&;t t
2672 s&@abs_srcdir@&$ac_abs_srcdir&;t t
2673 s&@top_srcdir@&$ac_top_srcdir&;t t
2674 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
2675 s&@builddir@&$ac_builddir&;t t
2676 s&@abs_builddir@&$ac_abs_builddir&;t t
2677 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
2678 $ac_datarootdir_hack
2679 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
2680
2681 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
2682 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
2683 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
2684 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2685 which seems to be undefined. Please make sure it is defined." >&5
2686 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2687 which seems to be undefined. Please make sure it is defined." >&2;}
2688
2689 rm -f "$tmp/stdin"
2690 case $ac_file in
2691 -) cat "$tmp/out"; rm -f "$tmp/out";;
2692 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
2693 esac
2694 ;;
2695
2696
2697 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
2698 echo "$as_me: executing $ac_file commands" >&6;}
2699 ;;
2700 esac
2701
2702
2703 case $ac_file$ac_mode in
2704 "Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname Makefile`
23222705 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
2323 lib/Makefile ) ${llvm_src}/autoconf/mkinstalldirs `dirname lib/Makefile`
2706 "lib/Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname lib/Makefile`
23242707 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
2325 lib/sample/Makefile ) ${llvm_src}/autoconf/mkinstalldirs `dirname lib/sample/Makefile`
2708 "lib/sample/Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname lib/sample/Makefile`
23262709 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/lib/sample/Makefile lib/sample/Makefile ;;
2327 tools/Makefile ) ${llvm_src}/autoconf/mkinstalldirs `dirname tools/Makefile`
2710 "tools/Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname tools/Makefile`
23282711 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
2329 tools/sample/Makefile ) ${llvm_src}/autoconf/mkinstalldirs `dirname tools/sample/Makefile`
2712 "tools/sample/Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname tools/sample/Makefile`
23302713 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/tools/sample/Makefile tools/sample/Makefile ;;
2714
23312715 esac
2332 done
2333 _ACEOF
2334
2335 cat >>$CONFIG_STATUS <<\_ACEOF
2716 done # for ac_tag
2717
23362718
23372719 { (exit 0); exit 0; }
23382720 _ACEOF