llvm.org GIT mirror llvm / 324f608
Revert r67655 and r67656, as they are breaking the build. I'm not going to persue this further at this time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67666 91177308-0d34-0410-b5e6-96231b3b80d8 Dan Gohman 10 years ago
3 changed file(s) with 1152 addition(s) and 1534 deletion(s). Raw diff Collapse all Expand all
1212 if test -d ../../../autoconf/m4 ; then
1313 cd ../../../autoconf/m4
1414 llvm_m4=`pwd`
15 llvm_src_root=../..
16 llvm_obj_root=../..
15 llvm_src_root=../../..
16 llvm_obj_root=../../..
1717 cd $cwd
1818 elif test -d ../../llvm/autoconf/m4 ; then
1919 cd ../../llvm/autoconf/m4
2020 llvm_m4=`pwd`
21 llvm_src_root=..
22 llvm_obj_root=..
21 llvm_src_root=../..
22 llvm_obj_root=../..
2323 cd $cwd
2424 else
2525 while true ; do
33 AC_INIT([[[SAMPLE]]],[[[x.xx]]],[bugs@yourdomain])
44
55 dnl Identify where LLVM source tree is
6 LLVM_SRC_ROOT="../.."
7 LLVM_OBJ_ROOT="../.."
6 LLVM_SRC_ROOT="../../"
7 LLVM_OBJ_ROOT="../../"
88 dnl Tell autoconf that the auxilliary files are actually located in
99 dnl the LLVM autoconf directory, not here.
1010 AC_CONFIG_AUX_DIR($LLVM_SRC_ROOT/autoconf)
0 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.61 for [SAMPLE] [x.xx].
2 # Generated by GNU Autoconf 2.59 for [SAMPLE] [x.xx].
33 #
44 # Report bugs to .
55 #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
6 # Copyright (C) 2003 Free Software Foundation, Inc.
87 # This configure script is free software; the Free Software Foundation
98 # gives unlimited permission to copy, distribute and modify it.
109 ## --------------------- ##
1110 ## M4sh Initialization. ##
1211 ## --------------------- ##
1312
14 # Be more Bourne compatible
15 DUALCASE=1; export DUALCASE # for MKS sh
13 # Be Bourne compatible
1614 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1715 emulate sh
1816 NULLCMD=:
1917 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2018 # is contrary to our usage. Disable this feature.
2119 alias -g '${1+"$@"}'='"$@"'
22 setopt NO_GLOB_SUBST
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
2328 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
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.
3480 # Avoid depending upon Character Ranges.
3581 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3682 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5197 rm -f conf$$.sh
5298 fi
5399
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
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
75111 for as_dir in $PATH
76112 do
77113 IFS=$as_save_IFS
78114 test -z "$as_dir" && as_dir=.
79115 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
80116 done
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
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
113124 fi
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=
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 '')
222131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
223132 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
224133 do
225134 IFS=$as_save_IFS
226135 test -z "$as_dir" && as_dir=.
227 case $as_dir in
136 for as_base in sh bash ksh sh5; do
137 case $as_dir in
228138 /*)
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 (
139 if ("$as_dir/$as_base" -c '
329140 as_lineno_1=$LINENO
330141 as_lineno_2=$LINENO
142 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
331143 test "x$as_lineno_1" != "x$as_lineno_2" &&
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" || {
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
428156
429157 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
430158 # uniformly replaced by the line number. The first 'sed' inserts a
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.
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.
436163 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
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 |
164 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
165 sed '=' <$as_myself |
443166 sed '
444 s/[$]LINENO.*/&-/
445 t lineno
446 b
447 :lineno
448167 N
449 :loop
450 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
168 s,$,-,
169 : loop
170 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
451171 t loop
452 s/-\n.*//
172 s,-$,,
173 s,^['$as_cr_digits']*\n,,
453174 ' >$as_me.lineno &&
454 chmod +x "$as_me.lineno" ||
175 chmod +x $as_me.lineno ||
455176 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
456177 { (exit 1); exit 1; }; }
457178
458179 # Don't try to exec as it changes $[0], causing all sort of problems
459180 # (the dirname of $[0] is not the place where we might find the
460 # original and so on. Autoconf is especially sensitive to this).
461 . "./$as_me.lineno"
181 # original and so on. Autoconf is especially sensible to this).
182 . ./$as_me.lineno
462183 # Exit status is that of the last command.
463184 exit
464185 }
465186
466187
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';;
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= ;;
482193 esac
483194
484 if expr a : '\(a\)' >/dev/null 2>&1 &&
485 test "X`expr 00001 : '.*\(...\)'`" = X001; then
195 if expr a : '\(a\)' >/dev/null 2>&1; then
486196 as_expr=expr
487197 else
488198 as_expr=false
489199 fi
490200
491201 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
498202 echo >conf$$.file
499203 if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
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
506208 as_ln_s='cp -p'
209 else
210 as_ln_s='ln -s'
211 fi
507212 elif ln conf$$.file conf$$ 2>/dev/null; then
508213 as_ln_s=ln
509214 else
510215 as_ln_s='cp -p'
511216 fi
512 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
513 rmdir conf$$.dir 2>/dev/null
217 rm -f conf$$ conf$$.exe conf$$.file
514218
515219 if mkdir -p . 2>/dev/null; then
516220 as_mkdir_p=:
519223 as_mkdir_p=false
520224 fi
521225
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
226 as_executable_p="test -f"
544227
545228 # Sed expression to map a string onto a valid CPP name.
546229 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549232 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
550233
551234
552
553 exec 7<&0 &1
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
554244
555245 # Name of the host.
556246 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
557247 # so uname gets run too.
558248 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
559249
250 exec 6>&1
251
560252 #
561253 # Initializations.
562254 #
563255 ac_default_prefix=/usr/local
564 ac_clean_files=
565256 ac_config_libobj_dir=.
566 LIBOBJS=
567257 cross_compiling=no
568258 subdirs=
569259 MFLAGS=
570260 MAKEFLAGS=
571261 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}
572267
573268 # Identity of this package.
574269 PACKAGE_NAME='[SAMPLE]'
578273 PACKAGE_BUGREPORT='bugs@yourdomain'
579274
580275 ac_unique_file=""Makefile.common.in""
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'
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'
622277 ac_subst_files=''
623 ac_precious_vars='build_alias
624 host_alias
625 target_alias'
626
627278
628279 # Initialize some variables set by options.
629280 ac_init_help=
650301 # and all the variables that are supposed to be based on exec_prefix
651302 # by default will actually change.
652303 # Use braces instead of parens because sh, perl, etc. also accept them.
653 # (The list follows the same order as the GNU Coding Standards.)
654304 bindir='${exec_prefix}/bin'
655305 sbindir='${exec_prefix}/sbin'
656306 libexecdir='${exec_prefix}/libexec'
657 datarootdir='${prefix}/share'
658 datadir='${datarootdir}'
307 datadir='${prefix}/share'
659308 sysconfdir='${prefix}/etc'
660309 sharedstatedir='${prefix}/com'
661310 localstatedir='${prefix}/var'
311 libdir='${exec_prefix}/lib'
662312 includedir='${prefix}/include'
663313 oldincludedir='/usr/include'
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'
314 infodir='${prefix}/info'
315 mandir='${prefix}/man'
673316
674317 ac_prev=
675 ac_dashdash=
676318 for ac_option
677319 do
678320 # If the previous option needs an argument, assign it.
679321 if test -n "$ac_prev"; then
680 eval $ac_prev=\$ac_option
322 eval "$ac_prev=\$ac_option"
681323 ac_prev=
682324 continue
683325 fi
684326
327 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328
329 # Accept the important Cygnus configure options, so we can diagnose typos.
330
685331 case $ac_option in
686 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
687 *) ac_optarg=yes ;;
688 esac
689
690 # Accept the important Cygnus configure options, so we can diagnose typos.
691
692 case $ac_dashdash$ac_option in
693 --)
694 ac_dashdash=yes ;;
695332
696333 -bindir | --bindir | --bindi | --bind | --bin | --bi)
697334 ac_prev=bindir ;;
713350 --config-cache | -C)
714351 cache_file=config.cache ;;
715352
716 -datadir | --datadir | --datadi | --datad)
353 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
717354 ac_prev=datadir ;;
718 -datadir=* | --datadir=* | --datadi=* | --datad=*)
355 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
356 | --da=*)
719357 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 ;;
727358
728359 -disable-* | --disable-*)
729360 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
730361 # Reject names that are not valid shell variable names.
731 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
362 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
732363 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
733364 { (exit 1); exit 1; }; }
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 ;;
365 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
366 eval "enable_$ac_feature=no" ;;
746367
747368 -enable-* | --enable-*)
748369 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
749370 # Reject names that are not valid shell variable names.
750 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
371 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
751372 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
752373 { (exit 1); exit 1; }; }
753 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
754 eval enable_$ac_feature=\$ac_optarg ;;
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'" ;;
755380
756381 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
757382 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
778403 -host=* | --host=* | --hos=* | --ho=*)
779404 host_alias=$ac_optarg ;;
780405
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
787406 -includedir | --includedir | --includedi | --included | --include \
788407 | --includ | --inclu | --incl | --inc)
789408 ac_prev=includedir ;;
808427 | --libexe=* | --libex=* | --libe=*)
809428 libexecdir=$ac_optarg ;;
810429
811 -localedir | --localedir | --localedi | --localed | --locale)
812 ac_prev=localedir ;;
813 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
814 localedir=$ac_optarg ;;
815
816430 -localstatedir | --localstatedir | --localstatedi | --localstated \
817 | --localstate | --localstat | --localsta | --localst | --locals)
431 | --localstate | --localstat | --localsta | --localst \
432 | --locals | --local | --loca | --loc | --lo)
818433 ac_prev=localstatedir ;;
819434 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
820 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
435 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
436 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
821437 localstatedir=$ac_optarg ;;
822438
823439 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
882498 | --progr-tra=* | --program-tr=* | --program-t=*)
883499 program_transform_name=$ac_optarg ;;
884500
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
895501 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
896502 | -silent | --silent | --silen | --sile | --sil)
897503 silent=yes ;;
944550 -with-* | --with-*)
945551 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
946552 # Reject names that are not valid shell variable names.
947 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
553 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
948554 { echo "$as_me: error: invalid package name: $ac_package" >&2
949555 { (exit 1); exit 1; }; }
950 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
951 eval with_$ac_package=\$ac_optarg ;;
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'" ;;
952562
953563 -without-* | --without-*)
954564 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
955565 # Reject names that are not valid shell variable names.
956 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
566 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
957567 { echo "$as_me: error: invalid package name: $ac_package" >&2
958568 { (exit 1); exit 1; }; }
959 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
960 eval with_$ac_package=no ;;
569 ac_package=`echo $ac_package | sed 's/-/_/g'`
570 eval "with_$ac_package=no" ;;
961571
962572 --x)
963573 # Obsolete; use --with-x.
988598 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
989599 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
990600 { (exit 1); exit 1; }; }
991 eval $ac_envvar=\$ac_optarg
601 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602 eval "$ac_envvar='$ac_optarg'"
992603 export $ac_envvar ;;
993604
994605 *)
1008619 { (exit 1); exit 1; }; }
1009620 fi
1010621
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
622 # Be sure to have absolute paths.
623 for ac_var in exec_prefix prefix
1016624 do
1017 eval ac_val=\$$ac_var
625 eval ac_val=$`echo $ac_var`
1018626 case $ac_val in
1019 [\\/$]* | ?:[\\/]* ) continue;;
1020 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
627 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
628 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629 { (exit 1); exit 1; }; };;
1021630 esac
1022 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1023 { (exit 1); exit 1; }; }
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
1024643 done
1025644
1026645 # There might be people who depend on the old broken behavior: `$host'
1047666 test "$silent" = yes && exec 6>/dev/null
1048667
1049668
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
1060669 # Find the source files, if location was not specified.
1061670 if test -z "$srcdir"; then
1062671 ac_srcdir_defaulted=yes
1063 # Try the directory containing this script, then the parent directory.
1064 ac_confdir=`$as_dirname -- "$0" ||
672 # Try the directory containing this script, then its parent.
673 ac_confdir=`(dirname "$0") 2>/dev/null ||
1065674 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1066675 X"$0" : 'X\(//\)[^/]' \| \
1067676 X"$0" : 'X\(//\)$' \| \
1068 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
677 X"$0" : 'X\(/\)' \| \
678 . : '\(.\)' 2>/dev/null ||
1069679 echo X"$0" |
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'`
680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682 /^X\(\/\/\)$/{ s//\1/; q; }
683 /^X\(\/\).*/{ s//\1/; q; }
684 s/.*/./; q'`
1087685 srcdir=$ac_confdir
1088 if test ! -r "$srcdir/$ac_unique_file"; then
686 if test ! -r $srcdir/$ac_unique_file; then
1089687 srcdir=..
1090688 fi
1091689 else
1092690 ac_srcdir_defaulted=no
1093691 fi
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
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
1097695 { (exit 1); exit 1; }; }
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
696 else
697 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1102698 { (exit 1); exit 1; }; }
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
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
1120717
1121718 #
1122719 # Report the --help message.
1145742 -n, --no-create do not create output files
1146743 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1147744
745 _ACEOF
746
747 cat <<_ACEOF
1148748 Installation directories:
1149749 --prefix=PREFIX install architecture-independent files in PREFIX
1150750 [$ac_default_prefix]
1162762 --bindir=DIR user executables [EPREFIX/bin]
1163763 --sbindir=DIR system admin executables [EPREFIX/sbin]
1164764 --libexecdir=DIR program executables [EPREFIX/libexec]
765 --datadir=DIR read-only architecture-independent data [PREFIX/share]
1165766 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1166767 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1167768 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1168769 --libdir=DIR object code libraries [EPREFIX/lib]
1169770 --includedir=DIR C header files [PREFIX/include]
1170771 --oldincludedir=DIR C header files for non-gcc [/usr/include]
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]
772 --infodir=DIR info documentation [PREFIX/info]
773 --mandir=DIR man documentation [PREFIX/man]
1181774 _ACEOF
1182775
1183776 cat <<\_ACEOF
1198791
1199792 Report bugs to .
1200793 _ACEOF
1201 ac_status=$?
1202794 fi
1203795
1204796 if test "$ac_init_help" = "recursive"; then
1205797 # If there are subdirs, report their specific --help.
798 ac_popdir=`pwd`
1206799 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1207 test -d "$ac_dir" || continue
800 test -d $ac_dir || continue
1208801 ac_builddir=.
1209802
1210 case "$ac_dir" in
1211 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
803 if test "$ac_dir" != .; then
804 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
810
811 case $srcdir in
812 .) # No --srcdir option. We are building in place.
813 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.
820 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 ;;
825 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";;
1212831 *)
1213 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
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 ;;
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;;
1220837 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
1225
1226 case $srcdir in
1227 .) # We are building in place.
1228 ac_srcdir=.
1229 ac_top_srcdir=$ac_top_builddir_sub
1230 ac_abs_top_srcdir=$ac_pwd ;;
1231 [\\/]* | ?:[\\/]* ) # Absolute name.
1232 ac_srcdir=$srcdir$ac_dir_suffix;
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 ;;
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;;
1239846 esac
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
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
1250878 else
1251879 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1252 fi || ac_status=$?
1253 cd "$ac_pwd" || { ac_status=$?; break; }
880 fi
881 cd $ac_popdir
1254882 done
1255883 fi
1256884
1257 test -n "$ac_init_help" && exit $ac_status
885 test -n "$ac_init_help" && exit 0
1258886 if $ac_init_version; then
1259887 cat <<\_ACEOF
1260888 [SAMPLE] configure [x.xx]
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.
889 generated by GNU Autoconf 2.59
890
891 Copyright (C) 2003 Free Software Foundation, Inc.
1265892 This configure script is free software; the Free Software Foundation
1266893 gives unlimited permission to copy, distribute and modify it.
1267894 _ACEOF
1268 exit
1269 fi
1270 cat >config.log <<_ACEOF
895 exit 0
896 fi
897 exec 5>config.log
898 cat >&5 <<_ACEOF
1271899 This file contains any messages produced by compilers while
1272900 running configure, to aid debugging if configure makes a mistake.
1273901
1274902 It was created by [SAMPLE] $as_me [x.xx], which was
1275 generated by GNU Autoconf 2.61. Invocation command line was
903 generated by GNU Autoconf 2.59. Invocation command line was
1276904
1277905 $ $0 $@
1278906
1279907 _ACEOF
1280 exec 5>>config.log
1281908 {
1282909 cat <<_ASUNAME
1283910 ## --------- ##
1296923 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1297924 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1298925 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1299 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
926 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1300927 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1301928 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1302929 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1310937 test -z "$as_dir" && as_dir=.
1311938 echo "PATH: $as_dir"
1312939 done
1313 IFS=$as_save_IFS
1314940
1315941 } >&5
1316942
1332958 ac_configure_args=
1333959 ac_configure_args0=
1334960 ac_configure_args1=
961 ac_sep=
1335962 ac_must_keep_next=false
1336963 for ac_pass in 1 2
1337964 do
1342969 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1343970 | -silent | --silent | --silen | --sile | --sil)
1344971 continue ;;
1345 *\'*)
972 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1346973 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1347974 esac
1348975 case $ac_pass in
1364991 -* ) ac_must_keep_next=true ;;
1365992 esac
1366993 fi
1367 ac_configure_args="$ac_configure_args '$ac_arg'"
994 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
995 # Get rid of the leading space.
996 ac_sep=" "
1368997 ;;
1369998 esac
1370999 done
13751004 # When interrupted or exit'd, cleanup temporary files, and complete
13761005 # config.log. We remove comments because anyway the quotes in there
13771006 # would cause problems or look ugly.
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.
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.
13801009 trap 'exit_status=$?
13811010 # Save into config.log some information that might help in debugging.
13821011 {
13891018 _ASBOX
13901019 echo
13911020 # The following way of writing the cache mishandles newlines in values,
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
1021 {
14071022 (set) 2>&1 |
1408 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1409 *${as_nl}ac_space=\ *)
1023 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1024 *ac_space=\ *)
14101025 sed -n \
1411 "s/'\''/'\''\\\\'\'''\''/g;
1412 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1413 ;; #(
1026 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1027 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1028 ;;
14141029 *)
1415 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1030 sed -n \
1031 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
14161032 ;;
1417 esac |
1418 sort
1419 )
1033 esac;
1034 }
14201035 echo
14211036
14221037 cat <<\_ASBOX
14271042 echo
14281043 for ac_var in $ac_subst_vars
14291044 do
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'\''"
1045 eval ac_val=$`echo $ac_var`
1046 echo "$ac_var='"'"'$ac_val'"'"'"
14351047 done | sort
14361048 echo
14371049
14381050 if test -n "$ac_subst_files"; then
14391051 cat <<\_ASBOX
1440 ## ------------------- ##
1441 ## File substitutions. ##
1442 ## ------------------- ##
1052 ## ------------- ##
1053 ## Output files. ##
1054 ## ------------- ##
14431055 _ASBOX
14441056 echo
14451057 for ac_var in $ac_subst_files
14461058 do
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'\''"
1059 eval ac_val=$`echo $ac_var`
1060 echo "$ac_var='"'"'$ac_val'"'"'"
14521061 done | sort
14531062 echo
14541063 fi
14601069 ## ----------- ##
14611070 _ASBOX
14621071 echo
1463 cat confdefs.h
1072 sed "/^$/d" confdefs.h | sort
14641073 echo
14651074 fi
14661075 test "$ac_signal" != 0 &&
14671076 echo "$as_me: caught signal $ac_signal"
14681077 echo "$as_me: exit $exit_status"
14691078 } >&5
1470 rm -f core *.core core.conftest.* &&
1471 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1079 rm -f core *.core &&
1080 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
14721081 exit $exit_status
1473 ' 0
1082 ' 0
14741083 for ac_signal in 1 2 13 15; do
14751084 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
14761085 done
14771086 ac_signal=0
14781087
14791088 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1480 rm -f -r conftest* confdefs.h
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
14811092
14821093 # Predefined preprocessor variables.
14831094
15081119
15091120 # Let the site file select an alternate cache file if it wants to.
15101121 # Prefer explicitly selected file to automatically selected ones.
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
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
15221130 if test -r "$ac_site_file"; then
15231131 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
15241132 echo "$as_me: loading site script $ac_site_file" >&6;}
15341142 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
15351143 echo "$as_me: loading cache $cache_file" >&6;}
15361144 case $cache_file in
1537 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1538 *) . "./$cache_file";;
1145 [\\/]* | ?:[\\/]* ) . $cache_file;;
1146 *) . ./$cache_file;;
15391147 esac
15401148 fi
15411149 else
15471155 # Check that the precious variables saved in the cache have kept the same
15481156 # value.
15491157 ac_cache_corrupted=false
1550 for ac_var in $ac_precious_vars; do
1158 for ac_var in `(set) 2>&1 |
1159 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
15511160 eval ac_old_set=\$ac_cv_env_${ac_var}_set
15521161 eval ac_new_set=\$ac_env_${ac_var}_set
1553 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1554 eval ac_new_val=\$ac_env_${ac_var}_value
1162 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1163 eval ac_new_val="\$ac_env_${ac_var}_value"
15551164 case $ac_old_set,$ac_new_set in
15561165 set,)
15571166 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
15761185 # Pass precious variables to config.status.
15771186 if test "$ac_new_set" = set; then
15781187 case $ac_new_val in
1579 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1188 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1189 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
15801190 *) ac_arg=$ac_var=$ac_new_val ;;
15811191 esac
15821192 case " $ac_configure_args " in
15931203 { (exit 1); exit 1; }; }
15941204 fi
15951205
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
16201206 ac_ext=c
16211207 ac_cpp='$CPP $CPPFLAGS'
16221208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16251211
16261212
16271213
1628 LLVM_SRC_ROOT="../.."
1629 LLVM_OBJ_ROOT="../.."
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
16301239 ac_aux_dir=
1631 for ac_dir in $LLVM_SRC_ROOT/autoconf "$srcdir"/$LLVM_SRC_ROOT/autoconf; do
1632 if test -f "$ac_dir/install-sh"; then
1240 for ac_dir in ../../autoconf $srcdir/../../autoconf; do
1241 if test -f $ac_dir/install-sh; then
16331242 ac_aux_dir=$ac_dir
16341243 ac_install_sh="$ac_aux_dir/install-sh -c"
16351244 break
1636 elif test -f "$ac_dir/install.sh"; then
1245 elif test -f $ac_dir/install.sh; then
16371246 ac_aux_dir=$ac_dir
16381247 ac_install_sh="$ac_aux_dir/install.sh -c"
16391248 break
1640 elif test -f "$ac_dir/shtool"; then
1249 elif test -f $ac_dir/shtool; then
16411250 ac_aux_dir=$ac_dir
16421251 ac_install_sh="$ac_aux_dir/shtool install -c"
16431252 break
16441253 fi
16451254 done
16461255 if test -z "$ac_aux_dir"; then
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;}
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;}
16491258 { (exit 1); exit 1; }; }
16501259 fi
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.
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.
16641267 if test "${with_llvmsrc+set}" = set; then
1665 withval=$with_llvmsrc; llvm_src="$withval"
1268 withval="$with_llvmsrc"
1269 llvm_src="$withval"
16661270 else
1667 llvm_src="$LLVM_SRC_ROOT"
1668 fi
1669
1271 llvm_src=`cd ${srcdir}/../..; pwd`
1272 fi;
16701273 LLVM_SRC=$llvm_src
16711274
16721275
1673 # Check whether --with-llvmobj was given.
1276 # Check whether --with-llvmobj or --without-llvmobj was given.
16741277 if test "${with_llvmobj+set}" = set; then
1675 withval=$with_llvmobj; llvm_obj="$withval"
1278 withval="$with_llvmobj"
1279 llvm_obj="$withval"
16761280 else
1677 llvm_obj="$LLVM_OBJ_ROOT"
1678 fi
1679
1281 llvm_obj=`cd ../..; pwd`
1282 fi;
16801283 LLVM_OBJ=$llvm_obj
16811284
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"
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"
17041307
17051308
17061309
17311334
17321335 # The following way of writing the cache mishandles newlines in values,
17331336 # but we know of no workaround that is simple, portable, and efficient.
1734 # So, we kill variables containing newlines.
1337 # So, don't put newlines in cache variables' values.
17351338 # Ultrix sh set writes to stderr and can't be redirected directly,
17361339 # and sets the high bit in the cache file unless we assign to the vars.
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
1340 {
17531341 (set) 2>&1 |
1754 case $as_nl`(ac_space=' '; set) 2>&1` in #(
1755 *${as_nl}ac_space=\ *)
1342 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1343 *ac_space=\ *)
17561344 # `set' does not quote correctly, so add quotes (double-quote
17571345 # substitution turns \\\\ into \\, and sed turns \\ into \).
17581346 sed -n \
17591347 "s/'/'\\\\''/g;
17601348 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1761 ;; #(
1349 ;;
17621350 *)
17631351 # `set' quotes correctly as required by POSIX, so do not add quotes.
1764 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1352 sed -n \
1353 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17651354 ;;
1766 esac |
1767 sort
1768 ) |
1355 esac;
1356 } |
17691357 sed '
1770 /^ac_cv_env_/b end
17711358 t clear
1772 :clear
1359 : clear
17731360 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17741361 t end
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;}
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"
17821367 cat confcache >$cache_file
17831368 else
1784 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
1785 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1369 echo "not updating unwritable cache $cache_file"
17861370 fi
17871371 fi
17881372 rm -f confcache
17901374 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17911375 # Let make expand exec_prefix.
17921376 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
17931392
17941393 # Transform confdefs.h into DEFS.
17951394 # Protect against shell expansion while executing Makefile rules.
17961395 # Protect against Makefile macro expansion.
17971396 #
17981397 # If the first sed substitution is executed (which looks for macros that
1799 # take arguments), then branch to the quote section. Otherwise,
1398 # take arguments), then we branch to the quote section. Otherwise,
18001399 # look for a macro that doesn't take arguments.
1801 ac_script='
1400 cat >confdef2opt.sed <<\_ACEOF
18021401 t clear
1803 :clear
1804 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
1402 : clear
1403 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
18051404 t quote
1806 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
1405 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
18071406 t quote
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`
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
18241424
18251425
18261426 ac_libobjs=
18271427 ac_ltlibobjs=
18281428 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18291429 # 1. Remove the extension, and $U if already installed.
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'
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'
18361435 done
18371436 LIBOBJS=$ac_libobjs
18381437
18631462 ## M4sh Initialization. ##
18641463 ## --------------------- ##
18651464
1866 # Be more Bourne compatible
1867 DUALCASE=1; export DUALCASE # for MKS sh
1465 # Be Bourne compatible
18681466 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18691467 emulate sh
18701468 NULLCMD=:
18711469 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18721470 # is contrary to our usage. Disable this feature.
18731471 alias -g '${1+"$@"}'='"$@"'
1874 setopt NO_GLOB_SUBST
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
18751480 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
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.
18861532 # Avoid depending upon Character Ranges.
18871533 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18881534 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19031549 rm -f conf$$.sh
19041550 fi
19051551
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
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
19271563 for as_dir in $PATH
19281564 do
19291565 IFS=$as_save_IFS
19301566 test -z "$as_dir" && as_dir=.
19311567 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19321568 done
1933 IFS=$as_save_IFS
1934
1935 ;;
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
1576 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 '
1593 as_lineno_1=$LINENO
1594 as_lineno_2=$LINENO
1595 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1596 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
1609
1610 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1611 # 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.
1616 # (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 |
1619 sed '
1620 N
1621 s,$,-,
1622 : loop
1623 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1624 t loop
1625 s,-$,,
1626 s,^['$as_cr_digits']*\n,,
1627 ' >$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;}
1631 { (exit 1); exit 1; }; }
1632
1633 # Don't try to exec as it changes $[0], causing all sort of problems
1634 # (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
1637 # Exit status is that of the last command.
1638 exit
1639 }
1640
1641
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= ;;
19361647 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
1965 fi
1966 done
1967
1968 # Required to use basename.
1969 if expr a : '\(a\)' >/dev/null 2>&1 &&
1970 test "X`expr 00001 : '.*\(...\)'`" = X001; then
1648
1649 if expr a : '\(a\)' >/dev/null 2>&1; then
19711650 as_expr=expr
19721651 else
19731652 as_expr=false
19741653 fi
19751654
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
2008 as_lineno_1=$LINENO
2009 as_lineno_2=$LINENO
2010 test "x$as_lineno_1" != "x$as_lineno_2" &&
2011 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2012
2013 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2014 # uniformly replaced by the line number. The first 'sed' inserts a
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.
2020 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
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 |
2027 sed '
2028 s/[$]LINENO.*/&-/
2029 t lineno
2030 b
2031 :lineno
2032 N
2033 :loop
2034 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2035 t loop
2036 s/-\n.*//
2037 ' >$as_me.lineno &&
2038 chmod +x "$as_me.lineno" ||
2039 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2040 { (exit 1); exit 1; }; }
2041
2042 # Don't try to exec as it changes $[0], causing all sort of problems
2043 # (the dirname of $[0] is not the place where we might find the
2044 # original and so on. Autoconf is especially sensitive to this).
2045 . "./$as_me.lineno"
2046 # Exit status is that of the last command.
2047 exit
2048 }
2049
2050
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';;
2066 esac
2067
2068 if expr a : '\(a\)' >/dev/null 2>&1 &&
2069 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2070 as_expr=expr
2071 else
2072 as_expr=false
2073 fi
2074
20751655 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
20821656 echo >conf$$.file
20831657 if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
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
20901662 as_ln_s='cp -p'
1663 else
1664 as_ln_s='ln -s'
1665 fi
20911666 elif ln conf$$.file conf$$ 2>/dev/null; then
20921667 as_ln_s=ln
20931668 else
20941669 as_ln_s='cp -p'
20951670 fi
2096 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2097 rmdir conf$$.dir 2>/dev/null
1671 rm -f conf$$ conf$$.exe conf$$.file
20981672
20991673 if mkdir -p . 2>/dev/null; then
21001674 as_mkdir_p=:
21031677 as_mkdir_p=false
21041678 fi
21051679
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
1680 as_executable_p="test -f"
21281681
21291682 # Sed expression to map a string onto a valid CPP name.
21301683 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21331686 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21341687
21351688
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
21361698 exec 6>&1
21371699
2138 # Save the log message, to keep $[0] and so on meaningful, and to
1700 # Open the log real soon, to keep \$[0] and so on meaningful, and to
21391701 # report actual input values of CONFIG_FILES etc. instead of their
2140 # values after options handling.
2141 ac_log="
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
21421712 This file was extended by [SAMPLE] $as_me [x.xx], which was
2143 generated by GNU Autoconf 2.61. Invocation command line was
1713 generated by GNU Autoconf 2.59. Invocation command line was
21441714
21451715 CONFIG_FILES = $CONFIG_FILES
21461716 CONFIG_HEADERS = $CONFIG_HEADERS
21481718 CONFIG_COMMANDS = $CONFIG_COMMANDS
21491719 $ $0 $@
21501720
2151 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2152 "
2153
2154 _ACEOF
2155
2156 cat >>$CONFIG_STATUS <<_ACEOF
1721 _CSEOF
1722 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
1723 echo >&5
1724 _ACEOF
1725
21571726 # Files that config.status was made for.
2158 config_files="$ac_config_files"
2159 config_commands="$ac_config_commands"
2160
2161 _ACEOF
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
21621742
21631743 cat >>$CONFIG_STATUS <<\_ACEOF
1744
21641745 ac_cs_usage="\
21651746 \`$as_me' instantiates files from templates according to the
21661747 current configuration.
21681749 Usage: $0 [OPTIONS] [FILE]...
21691750
21701751 -h, --help print this help, then exit
2171 -V, --version print version number and configuration settings, then exit
1752 -V, --version print version number, then exit
21721753 -q, --quiet do not print progress messages
21731754 -d, --debug don't remove temporary files
21741755 --recheck update $as_me by reconfiguring in the same conditions
21821763 $config_commands
21831764
21841765 Report bugs to ."
2185
2186 _ACEOF
1766 _ACEOF
1767
21871768 cat >>$CONFIG_STATUS <<_ACEOF
21881769 ac_cs_version="\\
21891770 [SAMPLE] config.status [x.xx]
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.
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.
21941775 This config.status script is free software; the Free Software Foundation
21951776 gives unlimited permission to copy, distribute and modify it."
2196
2197 ac_pwd='$ac_pwd'
2198 srcdir='$srcdir'
1777 srcdir=$srcdir
21991778 _ACEOF
22001779
22011780 cat >>$CONFIG_STATUS <<\_ACEOF
22061785 do
22071786 case $1 in
22081787 --*=*)
2209 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2210 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
1788 ac_option=`expr "x$1" : 'x\([^=]*\)='`
1789 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
22111790 ac_shift=:
22121791 ;;
2213 *)
1792 -*)
22141793 ac_option=$1
22151794 ac_optarg=$2
22161795 ac_shift=shift
22171796 ;;
1797 *) # This is not an option, so the user has probably given explicit
1798 # arguments.
1799 ac_option=$1
1800 ac_need_defaults=false;;
22181801 esac
22191802
22201803 case $ac_option in
22211804 # Handling of the options.
1805 _ACEOF
1806 cat >>$CONFIG_STATUS <<\_ACEOF
22221807 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22231808 ac_cs_recheck=: ;;
2224 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2225 echo "$ac_cs_version"; exit ;;
2226 --debug | --debu | --deb | --de | --d | -d )
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 )
22271821 debug=: ;;
22281822 --file | --fil | --fi | --f )
22291823 $ac_shift
22301824 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22311825 ac_need_defaults=false;;
2232 --he | --h | --help | --hel | -h )
2233 echo "$ac_cs_usage"; exit ;;
1826 --header | --heade | --head | --hea )
1827 $ac_shift
1828 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
1829 ac_need_defaults=false;;
22341830 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22351831 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22361832 ac_cs_silent=: ;;
22371833
22381834 # This is an error.
2239 -*) { echo "$as_me: error: unrecognized option: $1
2240 Try \`$0 --help' for more information." >&2
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;}
22411839 { (exit 1); exit 1; }; } ;;
22421840
2243 *) ac_config_targets="$ac_config_targets $1"
2244 ac_need_defaults=false ;;
1841 *) ac_config_targets="$ac_config_targets $1" ;;
22451842
22461843 esac
22471844 shift
22571854 _ACEOF
22581855 cat >>$CONFIG_STATUS <<_ACEOF
22591856 if \$ac_cs_recheck; then
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
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
22781863 cat >>$CONFIG_STATUS <<_ACEOF
22791864 #
2280 # INIT-COMMANDS
1865 # INIT-COMMANDS section.
22811866 #
1867
22821868 llvm_src="${LLVM_SRC}"
22831869
22841870 _ACEOF
22851871
1872
1873
22861874 cat >>$CONFIG_STATUS <<\_ACEOF
2287
2288 # Handling of arguments.
22891875 for ac_config_target in $ac_config_targets
22901876 do
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
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" ;;
23001886 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23011887 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23021888 { (exit 1); exit 1; }; };;
23031889 esac
23041890 done
2305
23061891
23071892 # If the user did not use the arguments to specify the items to instantiate,
23081893 # then the envvar interface is used. Set only those that are not.
23141899 fi
23151900
23161901 # Have a temporary directory for convenience. Make it in the build tree
2317 # simply because there is no reason against having it here, and in addition,
1902 # simply because there is no reason to put it here, and in addition,
23181903 # creating and moving files from /tmp can sometimes cause problems.
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'.
1904 # Create a temporary directory, and hook for its removal unless debugging.
23221905 $debug ||
23231906 {
2324 tmp=
2325 trap 'exit_status=$?
2326 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2327 ' 0
1907 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23281908 trap '{ (exit 1); exit 1; }' 1 2 13 15
23291909 }
1910
23301911 # Create a (secure) tmp directory for tmp files.
23311912
23321913 {
2333 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
1914 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23341915 test -n "$tmp" && test -d "$tmp"
23351916 } ||
23361917 {
2337 tmp=./conf$$-$RANDOM
2338 (umask 077 && mkdir "$tmp")
1918 tmp=./confstat$$-$RANDOM
1919 (umask 077 && mkdir $tmp)
23391920 } ||
23401921 {
23411922 echo "$me: cannot create a temporary directory in ." >&2
23421923 { (exit 1); exit 1; }
23431924 }
23441925
1926 _ACEOF
1927
1928 cat >>$CONFIG_STATUS <<_ACEOF
1929
23451930 #
2346 # Set up the sed scripts for CONFIG_FILES section.
1931 # CONFIG_FILES section.
23471932 #
23481933
23491934 # No need to generate the scripts if there are no CONFIG_FILES.
23501935 # This happens for instance when ./config.status config.h
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!! "
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
1992 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
24112014 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
2015 fi # test -n "$CONFIG_FILES"
2016
2017 _ACEOF
24562018 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;;
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 ;;
24642029 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;}
2513 fi
2514
2515 case $ac_tag in
2516 *:-:* | *:-) cat >"$tmp/stdin";;
2517 esac
2518 ;;
2519 esac
2520
2521 ac_dir=`$as_dirname -- "$ac_file" ||
2030
2031 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2032 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
25222033 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25232034 X"$ac_file" : 'X\(//\)[^/]' \| \
25242035 X"$ac_file" : 'X\(//\)$' \| \
2525 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2036 X"$ac_file" : 'X\(/\)' \| \
2037 . : '\(.\)' 2>/dev/null ||
25262038 echo X"$ac_file" |
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"; } || {
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"
25492048 as_dirs=
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" ||
2049 while test ! -d "$as_dir"; do
2050 as_dirs="$as_dir $as_dirs"
2051 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25572052 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25582053 X"$as_dir" : 'X\(//\)[^/]' \| \
25592054 X"$as_dir" : 'X\(//\)$' \| \
2560 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2055 X"$as_dir" : 'X\(/\)' \| \
2056 . : '\(.\)' 2>/dev/null ||
25612057 echo X"$as_dir" |
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
2058 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2059 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2060 /^X\(\/\/\)$/{ s//\1/; q; }
2061 /^X\(\/\).*/{ s//\1/; q; }
2062 s/.*/./; q'`
25802063 done
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;}
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;}
25842067 { (exit 1); exit 1; }; }; }
2068
25852069 ac_builddir=.
25862070
2587 case "$ac_dir" in
2588 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2071 if test "$ac_dir" != .; then
2072 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
2078
2079 case $srcdir in
2080 .) # No --srcdir option. We are building in place.
2081 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.
2088 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 ;;
2093 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";;
25892099 *)
2590 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
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 ;;
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;;
25972105 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
2602
2603 case $srcdir in
2604 .) # We are building in place.
2605 ac_srcdir=.
2606 ac_top_srcdir=$ac_top_builddir_sub
2607 ac_abs_top_srcdir=$ac_pwd ;;
2608 [\\/]* | ?:[\\/]* ) # Absolute name.
2609 ac_srcdir=$srcdir$ac_dir_suffix;
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 ;;
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;;
26162114 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' ;;
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;;
26562123 esac
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?
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
26622180 cat >>$CONFIG_STATUS <<_ACEOF
26632181 sed "$ac_vpsub
26642182 $extrasub
26662184 cat >>$CONFIG_STATUS <<\_ACEOF
26672185 :t
26682186 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
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;;
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`
2322 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
2323 lib/Makefile ) ${llvm_src}/autoconf/mkinstalldirs `dirname lib/Makefile`
2324 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
2325 lib/sample/Makefile ) ${llvm_src}/autoconf/mkinstalldirs `dirname lib/sample/Makefile`
2326 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/lib/sample/Makefile lib/sample/Makefile ;;
2327 tools/Makefile ) ${llvm_src}/autoconf/mkinstalldirs `dirname tools/Makefile`
2328 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
2329 tools/sample/Makefile ) ${llvm_src}/autoconf/mkinstalldirs `dirname tools/sample/Makefile`
2330 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/tools/sample/Makefile tools/sample/Makefile ;;
26932331 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`
2705 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
2706 "lib/Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname lib/Makefile`
2707 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
2708 "lib/sample/Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname lib/sample/Makefile`
2709 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/lib/sample/Makefile lib/sample/Makefile ;;
2710 "tools/Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname tools/Makefile`
2711 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
2712 "tools/sample/Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname tools/sample/Makefile`
2713 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/tools/sample/Makefile tools/sample/Makefile ;;
2714
2715 esac
2716 done # for ac_tag
2717
2332 done
2333 _ACEOF
2334
2335 cat >>$CONFIG_STATUS <<\_ACEOF
27182336
27192337 { (exit 0); exit 0; }
27202338 _ACEOF