llvm.org GIT mirror llvm / 451f67f
Adding autoconf support to the sample project. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9150 91177308-0d34-0410-b5e6-96231b3b80d8 John Criswell 15 years ago
1 changed file(s) with 2234 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 #! /bin/sh
1 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.57 for [SAMPLE] [x.xx].
3 #
4 # Report bugs to .
5 #
6 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
7 # Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
13
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 set -o posix
23 fi
24
25 # Support unset when possible.
26 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
27 as_unset=unset
28 else
29 as_unset=false
30 fi
31
32
33 # Work around bugs in pre-3.0 UWIN ksh.
34 $as_unset ENV MAIL MAILPATH
35 PS1='$ '
36 PS2='> '
37 PS4='+ '
38
39 # NLS nuisances.
40 for as_var in \
41 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
43 LC_TELEPHONE LC_TIME
44 do
45 if (set +x; test -n "`(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.
80 # Avoid depending upon Character Ranges.
81 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
83 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
84 as_cr_digits='0123456789'
85 as_cr_alnum=$as_cr_Letters$as_cr_digits
86
87 # The user is always right.
88 if test "${PATH_SEPARATOR+set}" != set; then
89 echo "#! /bin/sh" >conf$$.sh
90 echo "exit 0" >>conf$$.sh
91 chmod +x conf$$.sh
92 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
93 PATH_SEPARATOR=';'
94 else
95 PATH_SEPARATOR=:
96 fi
97 rm -f conf$$.sh
98 fi
99
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
111 for as_dir in $PATH
112 do
113 IFS=$as_save_IFS
114 test -z "$as_dir" && as_dir=.
115 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
116 done
117
118 ;;
119 esac
120 # We did not find ourselves, most probably we were run as `sh COMMAND'
121 # in which case we are not to be found in the path.
122 if test "x$as_myself" = x; then
123 as_myself=$0
124 fi
125 if test ! -f "$as_myself"; then
126 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
127 { (exit 1); exit 1; }; }
128 fi
129 case $CONFIG_SHELL in
130 '')
131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
132 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 do
134 IFS=$as_save_IFS
135 test -z "$as_dir" && as_dir=.
136 for as_base in sh bash ksh sh5; do
137 case $as_dir in
138 /*)
139 if ("$as_dir/$as_base" -c '
140 as_lineno_1=$LINENO
141 as_lineno_2=$LINENO
142 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
143 test "x$as_lineno_1" != "x$as_lineno_2" &&
144 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
145 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
146 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
147 CONFIG_SHELL=$as_dir/$as_base
148 export CONFIG_SHELL
149 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
150 fi;;
151 esac
152 done
153 done
154 ;;
155 esac
156
157 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
158 # uniformly replaced by the line number. The first 'sed' inserts a
159 # line-number line before each line; the second 'sed' does the real
160 # work. The second script uses 'N' to pair each line-number line
161 # with the numbered line, and appends trailing '-' during
162 # substitution so that $LINENO is not a special case at line end.
163 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
164 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
165 sed '=' <$as_myself |
166 sed '
167 N
168 s,$,-,
169 : loop
170 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
171 t loop
172 s,-$,,
173 s,^['$as_cr_digits']*\n,,
174 ' >$as_me.lineno &&
175 chmod +x $as_me.lineno ||
176 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
177 { (exit 1); exit 1; }; }
178
179 # Don't try to exec as it changes $[0], causing all sort of problems
180 # (the dirname of $[0] is not the place where we might find the
181 # original and so on. Autoconf is especially sensible to this).
182 . ./$as_me.lineno
183 # Exit status is that of the last command.
184 exit
185 }
186
187
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= ;;
193 esac
194
195 if expr a : '\(a\)' >/dev/null 2>&1; then
196 as_expr=expr
197 else
198 as_expr=false
199 fi
200
201 rm -f conf$$ conf$$.exe conf$$.file
202 echo >conf$$.file
203 if ln -s conf$$.file conf$$ 2>/dev/null; then
204 # We could just check for DJGPP; but this test a) works b) is more generic
205 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
206 if test -f conf$$.exe; then
207 # Don't use ln at all; we don't have any links
208 as_ln_s='cp -p'
209 else
210 as_ln_s='ln -s'
211 fi
212 elif ln conf$$.file conf$$ 2>/dev/null; then
213 as_ln_s=ln
214 else
215 as_ln_s='cp -p'
216 fi
217 rm -f conf$$ conf$$.exe conf$$.file
218
219 if mkdir -p . 2>/dev/null; then
220 as_mkdir_p=:
221 else
222 as_mkdir_p=false
223 fi
224
225 as_executable_p="test -f"
226
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS=" $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249 exec 6>&1
250
251 #
252 # Initializations.
253 #
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
261
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
266
267 # Identity of this package.
268 PACKAGE_NAME='[SAMPLE]'
269 PACKAGE_TARNAME='--sample--'
270 PACKAGE_VERSION='[x.xx]'
271 PACKAGE_STRING='[SAMPLE] [x.xx]'
272 PACKAGE_BUGREPORT='bugs@yourdomain'
273
274 ac_unique_file=""Makefile.common.in""
275 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'
276 ac_subst_files=''
277
278 # Initialize some variables set by options.
279 ac_init_help=
280 ac_init_version=false
281 # The variables have the same names as the options, with
282 # dashes changed to underlines.
283 cache_file=/dev/null
284 exec_prefix=NONE
285 no_create=
286 no_recursion=
287 prefix=NONE
288 program_prefix=NONE
289 program_suffix=NONE
290 program_transform_name=s,x,x,
291 silent=
292 site=
293 srcdir=
294 verbose=
295 x_includes=NONE
296 x_libraries=NONE
297
298 # Installation directory options.
299 # These are left unexpanded so users can "make install exec_prefix=/foo"
300 # and all the variables that are supposed to be based on exec_prefix
301 # by default will actually change.
302 # Use braces instead of parens because sh, perl, etc. also accept them.
303 bindir='${exec_prefix}/bin'
304 sbindir='${exec_prefix}/sbin'
305 libexecdir='${exec_prefix}/libexec'
306 datadir='${prefix}/share'
307 sysconfdir='${prefix}/etc'
308 sharedstatedir='${prefix}/com'
309 localstatedir='${prefix}/var'
310 libdir='${exec_prefix}/lib'
311 includedir='${prefix}/include'
312 oldincludedir='/usr/include'
313 infodir='${prefix}/info'
314 mandir='${prefix}/man'
315
316 ac_prev=
317 for ac_option
318 do
319 # If the previous option needs an argument, assign it.
320 if test -n "$ac_prev"; then
321 eval "$ac_prev=\$ac_option"
322 ac_prev=
323 continue
324 fi
325
326 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
327
328 # Accept the important Cygnus configure options, so we can diagnose typos.
329
330 case $ac_option in
331
332 -bindir | --bindir | --bindi | --bind | --bin | --bi)
333 ac_prev=bindir ;;
334 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
335 bindir=$ac_optarg ;;
336
337 -build | --build | --buil | --bui | --bu)
338 ac_prev=build_alias ;;
339 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
340 build_alias=$ac_optarg ;;
341
342 -cache-file | --cache-file | --cache-fil | --cache-fi \
343 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
344 ac_prev=cache_file ;;
345 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
346 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
347 cache_file=$ac_optarg ;;
348
349 --config-cache | -C)
350 cache_file=config.cache ;;
351
352 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
353 ac_prev=datadir ;;
354 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
355 | --da=*)
356 datadir=$ac_optarg ;;
357
358 -disable-* | --disable-*)
359 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
360 # Reject names that are not valid shell variable names.
361 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
362 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
363 { (exit 1); exit 1; }; }
364 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
365 eval "enable_$ac_feature=no" ;;
366
367 -enable-* | --enable-*)
368 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
369 # Reject names that are not valid shell variable names.
370 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
371 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
372 { (exit 1); exit 1; }; }
373 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
374 case $ac_option in
375 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
376 *) ac_optarg=yes ;;
377 esac
378 eval "enable_$ac_feature='$ac_optarg'" ;;
379
380 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
381 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
382 | --exec | --exe | --ex)
383 ac_prev=exec_prefix ;;
384 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
385 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
386 | --exec=* | --exe=* | --ex=*)
387 exec_prefix=$ac_optarg ;;
388
389 -gas | --gas | --ga | --g)
390 # Obsolete; use --with-gas.
391 with_gas=yes ;;
392
393 -help | --help | --hel | --he | -h)
394 ac_init_help=long ;;
395 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
396 ac_init_help=recursive ;;
397 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
398 ac_init_help=short ;;
399
400 -host | --host | --hos | --ho)
401 ac_prev=host_alias ;;
402 -host=* | --host=* | --hos=* | --ho=*)
403 host_alias=$ac_optarg ;;
404
405 -includedir | --includedir | --includedi | --included | --include \
406 | --includ | --inclu | --incl | --inc)
407 ac_prev=includedir ;;
408 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
409 | --includ=* | --inclu=* | --incl=* | --inc=*)
410 includedir=$ac_optarg ;;
411
412 -infodir | --infodir | --infodi | --infod | --info | --inf)
413 ac_prev=infodir ;;
414 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
415 infodir=$ac_optarg ;;
416
417 -libdir | --libdir | --libdi | --libd)
418 ac_prev=libdir ;;
419 -libdir=* | --libdir=* | --libdi=* | --libd=*)
420 libdir=$ac_optarg ;;
421
422 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
423 | --libexe | --libex | --libe)
424 ac_prev=libexecdir ;;
425 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
426 | --libexe=* | --libex=* | --libe=*)
427 libexecdir=$ac_optarg ;;
428
429 -localstatedir | --localstatedir | --localstatedi | --localstated \
430 | --localstate | --localstat | --localsta | --localst \
431 | --locals | --local | --loca | --loc | --lo)
432 ac_prev=localstatedir ;;
433 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
434 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
435 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
436 localstatedir=$ac_optarg ;;
437
438 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
439 ac_prev=mandir ;;
440 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
441 mandir=$ac_optarg ;;
442
443 -nfp | --nfp | --nf)
444 # Obsolete; use --without-fp.
445 with_fp=no ;;
446
447 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
448 | --no-cr | --no-c | -n)
449 no_create=yes ;;
450
451 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
452 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
453 no_recursion=yes ;;
454
455 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
456 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
457 | --oldin | --oldi | --old | --ol | --o)
458 ac_prev=oldincludedir ;;
459 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
460 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
461 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
462 oldincludedir=$ac_optarg ;;
463
464 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
465 ac_prev=prefix ;;
466 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
467 prefix=$ac_optarg ;;
468
469 -program-prefix | --program-prefix | --program-prefi | --program-pref \
470 | --program-pre | --program-pr | --program-p)
471 ac_prev=program_prefix ;;
472 -program-prefix=* | --program-prefix=* | --program-prefi=* \
473 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
474 program_prefix=$ac_optarg ;;
475
476 -program-suffix | --program-suffix | --program-suffi | --program-suff \
477 | --program-suf | --program-su | --program-s)
478 ac_prev=program_suffix ;;
479 -program-suffix=* | --program-suffix=* | --program-suffi=* \
480 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
481 program_suffix=$ac_optarg ;;
482
483 -program-transform-name | --program-transform-name \
484 | --program-transform-nam | --program-transform-na \
485 | --program-transform-n | --program-transform- \
486 | --program-transform | --program-transfor \
487 | --program-transfo | --program-transf \
488 | --program-trans | --program-tran \
489 | --progr-tra | --program-tr | --program-t)
490 ac_prev=program_transform_name ;;
491 -program-transform-name=* | --program-transform-name=* \
492 | --program-transform-nam=* | --program-transform-na=* \
493 | --program-transform-n=* | --program-transform-=* \
494 | --program-transform=* | --program-transfor=* \
495 | --program-transfo=* | --program-transf=* \
496 | --program-trans=* | --program-tran=* \
497 | --progr-tra=* | --program-tr=* | --program-t=*)
498 program_transform_name=$ac_optarg ;;
499
500 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
501 | -silent | --silent | --silen | --sile | --sil)
502 silent=yes ;;
503
504 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
505 ac_prev=sbindir ;;
506 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
507 | --sbi=* | --sb=*)
508 sbindir=$ac_optarg ;;
509
510 -sharedstatedir | --sharedstatedir | --sharedstatedi \
511 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
512 | --sharedst | --shareds | --shared | --share | --shar \
513 | --sha | --sh)
514 ac_prev=sharedstatedir ;;
515 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
516 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
517 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
518 | --sha=* | --sh=*)
519 sharedstatedir=$ac_optarg ;;
520
521 -site | --site | --sit)
522 ac_prev=site ;;
523 -site=* | --site=* | --sit=*)
524 site=$ac_optarg ;;
525
526 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
527 ac_prev=srcdir ;;
528 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
529 srcdir=$ac_optarg ;;
530
531 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
532 | --syscon | --sysco | --sysc | --sys | --sy)
533 ac_prev=sysconfdir ;;
534 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
535 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
536 sysconfdir=$ac_optarg ;;
537
538 -target | --target | --targe | --targ | --tar | --ta | --t)
539 ac_prev=target_alias ;;
540 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
541 target_alias=$ac_optarg ;;
542
543 -v | -verbose | --verbose | --verbos | --verbo | --verb)
544 verbose=yes ;;
545
546 -version | --version | --versio | --versi | --vers | -V)
547 ac_init_version=: ;;
548
549 -with-* | --with-*)
550 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
551 # Reject names that are not valid shell variable names.
552 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
553 { echo "$as_me: error: invalid package name: $ac_package" >&2
554 { (exit 1); exit 1; }; }
555 ac_package=`echo $ac_package| sed 's/-/_/g'`
556 case $ac_option in
557 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
558 *) ac_optarg=yes ;;
559 esac
560 eval "with_$ac_package='$ac_optarg'" ;;
561
562 -without-* | --without-*)
563 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
564 # Reject names that are not valid shell variable names.
565 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
566 { echo "$as_me: error: invalid package name: $ac_package" >&2
567 { (exit 1); exit 1; }; }
568 ac_package=`echo $ac_package | sed 's/-/_/g'`
569 eval "with_$ac_package=no" ;;
570
571 --x)
572 # Obsolete; use --with-x.
573 with_x=yes ;;
574
575 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
576 | --x-incl | --x-inc | --x-in | --x-i)
577 ac_prev=x_includes ;;
578 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
579 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
580 x_includes=$ac_optarg ;;
581
582 -x-libraries | --x-libraries | --x-librarie | --x-librari \
583 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
584 ac_prev=x_libraries ;;
585 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
586 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
587 x_libraries=$ac_optarg ;;
588
589 -*) { echo "$as_me: error: unrecognized option: $ac_option
590 Try \`$0 --help' for more information." >&2
591 { (exit 1); exit 1; }; }
592 ;;
593
594 *=*)
595 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
596 # Reject names that are not valid shell variable names.
597 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
598 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599 { (exit 1); exit 1; }; }
600 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601 eval "$ac_envvar='$ac_optarg'"
602 export $ac_envvar ;;
603
604 *)
605 # FIXME: should be removed in autoconf 3.0.
606 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
607 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
608 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
609 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
610 ;;
611
612 esac
613 done
614
615 if test -n "$ac_prev"; then
616 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
617 { echo "$as_me: error: missing argument to $ac_option" >&2
618 { (exit 1); exit 1; }; }
619 fi
620
621 # Be sure to have absolute paths.
622 for ac_var in exec_prefix prefix
623 do
624 eval ac_val=$`echo $ac_var`
625 case $ac_val in
626 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
627 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628 { (exit 1); exit 1; }; };;
629 esac
630 done
631
632 # Be sure to have absolute paths.
633 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634 localstatedir libdir includedir oldincludedir infodir mandir
635 do
636 eval ac_val=$`echo $ac_var`
637 case $ac_val in
638 [\\/$]* | ?:[\\/]* ) ;;
639 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640 { (exit 1); exit 1; }; };;
641 esac
642 done
643
644 # There might be people who depend on the old broken behavior: `$host'
645 # used to hold the argument of --host etc.
646 # FIXME: To remove some day.
647 build=$build_alias
648 host=$host_alias
649 target=$target_alias
650
651 # FIXME: To remove some day.
652 if test "x$host_alias" != x; then
653 if test "x$build_alias" = x; then
654 cross_compiling=maybe
655 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
656 If a cross compiler is detected then cross compile mode will be used." >&2
657 elif test "x$build_alias" != "x$host_alias"; then
658 cross_compiling=yes
659 fi
660 fi
661
662 ac_tool_prefix=
663 test -n "$host_alias" && ac_tool_prefix=$host_alias-
664
665 test "$silent" = yes && exec 6>/dev/null
666
667
668 # Find the source files, if location was not specified.
669 if test -z "$srcdir"; then
670 ac_srcdir_defaulted=yes
671 # Try the directory containing this script, then its parent.
672 ac_confdir=`(dirname "$0") 2>/dev/null ||
673 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674 X"$0" : 'X\(//\)[^/]' \| \
675 X"$0" : 'X\(//\)$' \| \
676 X"$0" : 'X\(/\)' \| \
677 . : '\(.\)' 2>/dev/null ||
678 echo X"$0" |
679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681 /^X\(\/\/\)$/{ s//\1/; q; }
682 /^X\(\/\).*/{ s//\1/; q; }
683 s/.*/./; q'`
684 srcdir=$ac_confdir
685 if test ! -r $srcdir/$ac_unique_file; then
686 srcdir=..
687 fi
688 else
689 ac_srcdir_defaulted=no
690 fi
691 if test ! -r $srcdir/$ac_unique_file; then
692 if test "$ac_srcdir_defaulted" = yes; then
693 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694 { (exit 1); exit 1; }; }
695 else
696 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697 { (exit 1); exit 1; }; }
698 fi
699 fi
700 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
701 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702 { (exit 1); exit 1; }; }
703 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704 ac_env_build_alias_set=${build_alias+set}
705 ac_env_build_alias_value=$build_alias
706 ac_cv_env_build_alias_set=${build_alias+set}
707 ac_cv_env_build_alias_value=$build_alias
708 ac_env_host_alias_set=${host_alias+set}
709 ac_env_host_alias_value=$host_alias
710 ac_cv_env_host_alias_set=${host_alias+set}
711 ac_cv_env_host_alias_value=$host_alias
712 ac_env_target_alias_set=${target_alias+set}
713 ac_env_target_alias_value=$target_alias
714 ac_cv_env_target_alias_set=${target_alias+set}
715 ac_cv_env_target_alias_value=$target_alias
716
717 #
718 # Report the --help message.
719 #
720 if test "$ac_init_help" = "long"; then
721 # Omit some internal or obsolete options to make the list less imposing.
722 # This message is too long to be a string in the A/UX 3.1 sh.
723 cat <<_ACEOF
724 \`configure' configures [SAMPLE] [x.xx] to adapt to many kinds of systems.
725
726 Usage: $0 [OPTION]... [VAR=VALUE]...
727
728 To assign environment variables (e.g., CC, CFLAGS...), specify them as
729 VAR=VALUE. See below for descriptions of some of the useful variables.
730
731 Defaults for the options are specified in brackets.
732
733 Configuration:
734 -h, --help display this help and exit
735 --help=short display options specific to this package
736 --help=recursive display the short help of all the included packages
737 -V, --version display version information and exit
738 -q, --quiet, --silent do not print \`checking...' messages
739 --cache-file=FILE cache test results in FILE [disabled]
740 -C, --config-cache alias for \`--cache-file=config.cache'
741 -n, --no-create do not create output files
742 --srcdir=DIR find the sources in DIR [configure dir or \`..']
743
744 _ACEOF
745
746 cat <<_ACEOF
747 Installation directories:
748 --prefix=PREFIX install architecture-independent files in PREFIX
749 [$ac_default_prefix]
750 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
751 [PREFIX]
752
753 By default, \`make install' will install all the files in
754 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
755 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
756 for instance \`--prefix=\$HOME'.
757
758 For better control, use the options below.
759
760 Fine tuning of the installation directories:
761 --bindir=DIR user executables [EPREFIX/bin]
762 --sbindir=DIR system admin executables [EPREFIX/sbin]
763 --libexecdir=DIR program executables [EPREFIX/libexec]
764 --datadir=DIR read-only architecture-independent data [PREFIX/share]
765 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
766 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
767 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
768 --libdir=DIR object code libraries [EPREFIX/lib]
769 --includedir=DIR C header files [PREFIX/include]
770 --oldincludedir=DIR C header files for non-gcc [/usr/include]
771 --infodir=DIR info documentation [PREFIX/info]
772 --mandir=DIR man documentation [PREFIX/man]
773 _ACEOF
774
775 cat <<\_ACEOF
776 _ACEOF
777 fi
778
779 if test -n "$ac_init_help"; then
780 case $ac_init_help in
781 short | recursive ) echo "Configuration of [SAMPLE] [x.xx]:";;
782 esac
783 cat <<\_ACEOF
784
785 Optional Packages:
786 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
787 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
788 --with-llvmsrc Location of LLVM Source Code
789 --with-llvmobj Location of LLVM Object Code
790
791 Report bugs to .
792 _ACEOF
793 fi
794
795 if test "$ac_init_help" = "recursive"; then
796 # If there are subdirs, report their specific --help.
797 ac_popdir=`pwd`
798 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
799 test -d $ac_dir || continue
800 ac_builddir=.
801
802 if test "$ac_dir" != .; then
803 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
804 # A "../" for each directory in $ac_dir_suffix.
805 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
806 else
807 ac_dir_suffix= ac_top_builddir=
808 fi
809
810 case $srcdir in
811 .) # No --srcdir option. We are building in place.
812 ac_srcdir=.
813 if test -z "$ac_top_builddir"; then
814 ac_top_srcdir=.
815 else
816 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
817 fi ;;
818 [\\/]* | ?:[\\/]* ) # Absolute path.
819 ac_srcdir=$srcdir$ac_dir_suffix;
820 ac_top_srcdir=$srcdir ;;
821 *) # Relative path.
822 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
823 ac_top_srcdir=$ac_top_builddir$srcdir ;;
824 esac
825 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
826 # absolute.
827 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
828 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
829 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
830 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
831
832 cd $ac_dir
833 # Check for guested configure; otherwise get Cygnus style configure.
834 if test -f $ac_srcdir/configure.gnu; then
835 echo
836 $SHELL $ac_srcdir/configure.gnu --help=recursive
837 elif test -f $ac_srcdir/configure; then
838 echo
839 $SHELL $ac_srcdir/configure --help=recursive
840 elif test -f $ac_srcdir/configure.ac ||
841 test -f $ac_srcdir/configure.in; then
842 echo
843 $ac_configure --help
844 else
845 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
846 fi
847 cd $ac_popdir
848 done
849 fi
850
851 test -n "$ac_init_help" && exit 0
852 if $ac_init_version; then
853 cat <<\_ACEOF
854 [SAMPLE] configure [x.xx]
855 generated by GNU Autoconf 2.57
856
857 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
858 Free Software Foundation, Inc.
859 This configure script is free software; the Free Software Foundation
860 gives unlimited permission to copy, distribute and modify it.
861 _ACEOF
862 exit 0
863 fi
864 exec 5>config.log
865 cat >&5 <<_ACEOF
866 This file contains any messages produced by compilers while
867 running configure, to aid debugging if configure makes a mistake.
868
869 It was created by [SAMPLE] $as_me [x.xx], which was
870 generated by GNU Autoconf 2.57. Invocation command line was
871
872 $ $0 $@
873
874 _ACEOF
875 {
876 cat <<_ASUNAME
877 ## --------- ##
878 ## Platform. ##
879 ## --------- ##
880
881 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
882 uname -m = `(uname -m) 2>/dev/null || echo unknown`
883 uname -r = `(uname -r) 2>/dev/null || echo unknown`
884 uname -s = `(uname -s) 2>/dev/null || echo unknown`
885 uname -v = `(uname -v) 2>/dev/null || echo unknown`
886
887 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
888 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
889
890 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
891 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
892 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
893 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
894 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
895 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
896 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
897
898 _ASUNAME
899
900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
901 for as_dir in $PATH
902 do
903 IFS=$as_save_IFS
904 test -z "$as_dir" && as_dir=.
905 echo "PATH: $as_dir"
906 done
907
908 } >&5
909
910 cat >&5 <<_ACEOF
911
912
913 ## ----------- ##
914 ## Core tests. ##
915 ## ----------- ##
916
917 _ACEOF
918
919
920 # Keep a trace of the command line.
921 # Strip out --no-create and --no-recursion so they do not pile up.
922 # Strip out --silent because we don't want to record it for future runs.
923 # Also quote any args containing shell meta-characters.
924 # Make two passes to allow for proper duplicate-argument suppression.
925 ac_configure_args=
926 ac_configure_args0=
927 ac_configure_args1=
928 ac_sep=
929 ac_must_keep_next=false
930 for ac_pass in 1 2
931 do
932 for ac_arg
933 do
934 case $ac_arg in
935 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
936 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
937 | -silent | --silent | --silen | --sile | --sil)
938 continue ;;
939 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
940 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
941 esac
942 case $ac_pass in
943 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
944 2)
945 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
946 if test $ac_must_keep_next = true; then
947 ac_must_keep_next=false # Got value, back to normal.
948 else
949 case $ac_arg in
950 *=* | --config-cache | -C | -disable-* | --disable-* \
951 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
952 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
953 | -with-* | --with-* | -without-* | --without-* | --x)
954 case "$ac_configure_args0 " in
955 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
956 esac
957 ;;
958 -* ) ac_must_keep_next=true ;;
959 esac
960 fi
961 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
962 # Get rid of the leading space.
963 ac_sep=" "
964 ;;
965 esac
966 done
967 done
968 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
969 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
970
971 # When interrupted or exit'd, cleanup temporary files, and complete
972 # config.log. We remove comments because anyway the quotes in there
973 # would cause problems or look ugly.
974 # WARNING: Be sure not to use single quotes in there, as some shells,
975 # such as our DU 5.0 friend, will then `close' the trap.
976 trap 'exit_status=$?
977 # Save into config.log some information that might help in debugging.
978 {
979 echo
980
981 cat <<\_ASBOX
982 ## ---------------- ##
983 ## Cache variables. ##
984 ## ---------------- ##
985 _ASBOX
986 echo
987 # The following way of writing the cache mishandles newlines in values,
988 {
989 (set) 2>&1 |
990 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
991 *ac_space=\ *)
992 sed -n \
993 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
994 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
995 ;;
996 *)
997 sed -n \
998 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
999 ;;
1000 esac;
1001 }
1002 echo
1003
1004 cat <<\_ASBOX
1005 ## ----------------- ##
1006 ## Output variables. ##
1007 ## ----------------- ##
1008 _ASBOX
1009 echo
1010 for ac_var in $ac_subst_vars
1011 do
1012 eval ac_val=$`echo $ac_var`
1013 echo "$ac_var='"'"'$ac_val'"'"'"
1014 done | sort
1015 echo
1016
1017 if test -n "$ac_subst_files"; then
1018 cat <<\_ASBOX
1019 ## ------------- ##
1020 ## Output files. ##
1021 ## ------------- ##
1022 _ASBOX
1023 echo
1024 for ac_var in $ac_subst_files
1025 do
1026 eval ac_val=$`echo $ac_var`
1027 echo "$ac_var='"'"'$ac_val'"'"'"
1028 done | sort
1029 echo
1030 fi
1031
1032 if test -s confdefs.h; then
1033 cat <<\_ASBOX
1034 ## ----------- ##
1035 ## confdefs.h. ##
1036 ## ----------- ##
1037 _ASBOX
1038 echo
1039 sed "/^$/d" confdefs.h | sort
1040 echo
1041 fi
1042 test "$ac_signal" != 0 &&
1043 echo "$as_me: caught signal $ac_signal"
1044 echo "$as_me: exit $exit_status"
1045 } >&5
1046 rm -f core core.* *.core &&
1047 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1048 exit $exit_status
1049 ' 0
1050 for ac_signal in 1 2 13 15; do
1051 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1052 done
1053 ac_signal=0
1054
1055 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1056 rm -rf conftest* confdefs.h
1057 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1058 echo >confdefs.h
1059
1060 # Predefined preprocessor variables.
1061
1062 cat >>confdefs.h <<_ACEOF
1063 #define PACKAGE_NAME "$PACKAGE_NAME"
1064 _ACEOF
1065
1066
1067 cat >>confdefs.h <<_ACEOF
1068 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1069 _ACEOF
1070
1071
1072 cat >>confdefs.h <<_ACEOF
1073 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1074 _ACEOF
1075
1076
1077 cat >>confdefs.h <<_ACEOF
1078 #define PACKAGE_STRING "$PACKAGE_STRING"
1079 _ACEOF
1080
1081
1082 cat >>confdefs.h <<_ACEOF
1083 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1084 _ACEOF
1085
1086
1087 # Let the site file select an alternate cache file if it wants to.
1088 # Prefer explicitly selected file to automatically selected ones.
1089 if test -z "$CONFIG_SITE"; then
1090 if test "x$prefix" != xNONE; then
1091 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1092 else
1093 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1094 fi
1095 fi
1096 for ac_site_file in $CONFIG_SITE; do
1097 if test -r "$ac_site_file"; then
1098 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1099 echo "$as_me: loading site script $ac_site_file" >&6;}
1100 sed 's/^/| /' "$ac_site_file" >&5
1101 . "$ac_site_file"
1102 fi
1103 done
1104
1105 if test -r "$cache_file"; then
1106 # Some versions of bash will fail to source /dev/null (special
1107 # files actually), so we avoid doing that.
1108 if test -f "$cache_file"; then
1109 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1110 echo "$as_me: loading cache $cache_file" >&6;}
1111 case $cache_file in
1112 [\\/]* | ?:[\\/]* ) . $cache_file;;
1113 *) . ./$cache_file;;
1114 esac
1115 fi
1116 else
1117 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1118 echo "$as_me: creating cache $cache_file" >&6;}
1119 >$cache_file
1120 fi
1121
1122 # Check that the precious variables saved in the cache have kept the same
1123 # value.
1124 ac_cache_corrupted=false
1125 for ac_var in `(set) 2>&1 |
1126 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1127 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1128 eval ac_new_set=\$ac_env_${ac_var}_set
1129 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1130 eval ac_new_val="\$ac_env_${ac_var}_value"
1131 case $ac_old_set,$ac_new_set in
1132 set,)
1133 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1134 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1135 ac_cache_corrupted=: ;;
1136 ,set)
1137 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1138 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1139 ac_cache_corrupted=: ;;
1140 ,);;
1141 *)
1142 if test "x$ac_old_val" != "x$ac_new_val"; then
1143 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1144 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1145 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1146 echo "$as_me: former value: $ac_old_val" >&2;}
1147 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1148 echo "$as_me: current value: $ac_new_val" >&2;}
1149 ac_cache_corrupted=:
1150 fi;;
1151 esac
1152 # Pass precious variables to config.status.
1153 if test "$ac_new_set" = set; then
1154 case $ac_new_val in
1155 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1156 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1157 *) ac_arg=$ac_var=$ac_new_val ;;
1158 esac
1159 case " $ac_configure_args " in
1160 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1161 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1162 esac
1163 fi
1164 done
1165 if $ac_cache_corrupted; then
1166 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1167 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1168 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1169 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1170 { (exit 1); exit 1; }; }
1171 fi
1172
1173 ac_ext=c
1174 ac_cpp='$CPP $CPPFLAGS'
1175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206 ac_aux_dir=
1207 for ac_dir in autoconf $srcdir/autoconf; do
1208 if test -f $ac_dir/install-sh; then
1209 ac_aux_dir=$ac_dir
1210 ac_install_sh="$ac_aux_dir/install-sh -c"
1211 break
1212 elif test -f $ac_dir/install.sh; then
1213 ac_aux_dir=$ac_dir
1214 ac_install_sh="$ac_aux_dir/install.sh -c"
1215 break
1216 elif test -f $ac_dir/shtool; then
1217 ac_aux_dir=$ac_dir
1218 ac_install_sh="$ac_aux_dir/shtool install -c"
1219 break
1220 fi
1221 done
1222 if test -z "$ac_aux_dir"; then
1223 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&5
1224 echo "$as_me: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&2;}
1225 { (exit 1); exit 1; }; }
1226 fi
1227 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1228 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1229 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1230
1231
1232
1233
1234 ac_config_commands="$ac_config_commands Makefile"
1235
1236
1237 ac_config_commands="$ac_config_commands lib/Makefile"
1238
1239
1240 ac_config_commands="$ac_config_commands lib/sample/Makefile"
1241
1242
1243 ac_config_commands="$ac_config_commands tools/Makefile"
1244
1245
1246 ac_config_commands="$ac_config_commands tools/sample/Makefile"
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261 # Check whether --with-llvmsrc or --without-llvmsrc was given.
1262 if test "${with_llvmsrc+set}" = set; then
1263 withval="$with_llvmsrc"
1264 LLVM_SRC=$withval
1265
1266 else
1267 LLVM_SRC=`cd ${srcdir}/../..; pwd`
1268
1269 fi;
1270
1271
1272 # Check whether --with-llvmobj or --without-llvmobj was given.
1273 if test "${with_llvmobj+set}" = set; then
1274 withval="$with_llvmobj"
1275 LLVM_OBJ=$withval
1276
1277 else
1278 LLVM_OBJ=`cd ../..; pwd`
1279
1280 fi;
1281
1282 ac_config_files="$ac_config_files Makefile.common"
1283 cat >confcache <<\_ACEOF
1284 # This file is a shell script that caches the results of configure
1285 # tests run on this system so they can be shared between configure
1286 # scripts and configure runs, see configure's option --config-cache.
1287 # It is not useful on other systems. If it contains results you don't
1288 # want to keep, you may remove or edit it.
1289 #
1290 # config.status only pays attention to the cache file if you give it
1291 # the --recheck option to rerun configure.
1292 #
1293 # `ac_cv_env_foo' variables (set or unset) will be overridden when
1294 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1295 # following values.
1296
1297 _ACEOF
1298
1299 # The following way of writing the cache mishandles newlines in values,
1300 # but we know of no workaround that is simple, portable, and efficient.
1301 # So, don't put newlines in cache variables' values.
1302 # Ultrix sh set writes to stderr and can't be redirected directly,
1303 # and sets the high bit in the cache file unless we assign to the vars.
1304 {
1305 (set) 2>&1 |
1306 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1307 *ac_space=\ *)
1308 # `set' does not quote correctly, so add quotes (double-quote
1309 # substitution turns \\\\ into \\, and sed turns \\ into \).
1310 sed -n \
1311 "s/'/'\\\\''/g;
1312 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1313 ;;
1314 *)
1315 # `set' quotes correctly as required by POSIX, so do not add quotes.
1316 sed -n \
1317 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1318 ;;
1319 esac;
1320 } |
1321 sed '
1322 t clear
1323 : clear
1324 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1325 t end
1326 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1327 : end' >>confcache
1328 if diff $cache_file confcache >/dev/null 2>&1; then :; else
1329 if test -w $cache_file; then
1330 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1331 cat confcache >$cache_file
1332 else
1333 echo "not updating unwritable cache $cache_file"
1334 fi
1335 fi
1336 rm -f confcache
1337
1338 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1339 # Let make expand exec_prefix.
1340 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1341
1342 # VPATH may cause trouble with some makes, so we remove $(srcdir),
1343 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1344 # trailing colons and then remove the whole line if VPATH becomes empty
1345 # (actually we leave an empty line to preserve line numbers).
1346 if test "x$srcdir" = x.; then
1347 ac_vpsub='/^[ ]*VPATH[ ]*=/{
1348 s/:*\$(srcdir):*/:/;
1349 s/:*\${srcdir}:*/:/;
1350 s/:*@srcdir@:*/:/;
1351 s/^\([^=]*=[ ]*\):*/\1/;
1352 s/:*$//;
1353 s/^[^=]*=[ ]*$//;
1354 }'
1355 fi
1356
1357 # Transform confdefs.h into DEFS.
1358 # Protect against shell expansion while executing Makefile rules.
1359 # Protect against Makefile macro expansion.
1360 #
1361 # If the first sed substitution is executed (which looks for macros that
1362 # take arguments), then we branch to the quote section. Otherwise,
1363 # look for a macro that doesn't take arguments.
1364 cat >confdef2opt.sed <<\_ACEOF
1365 t clear
1366 : clear
1367 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
1368 t quote
1369 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
1370 t quote
1371 d
1372 : quote
1373 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
1374 s,\[,\\&,g
1375 s,\],\\&,g
1376 s,\$,$$,g
1377 p
1378 _ACEOF
1379 # We use echo to avoid assuming a particular line-breaking character.
1380 # The extra dot is to prevent the shell from consuming trailing
1381 # line-breaks from the sub-command output. A line-break within
1382 # single-quotes doesn't work because, if this script is created in a
1383 # platform that uses two characters for line-breaks (e.g., DOS), tr
1384 # would break.
1385 ac_LF_and_DOT=`echo; echo .`
1386 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1387 rm -f confdef2opt.sed
1388
1389
1390 ac_libobjs=
1391 ac_ltlibobjs=
1392 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1393 # 1. Remove the extension, and $U if already installed.
1394 ac_i=`echo "$ac_i" |
1395 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1396 # 2. Add them.
1397 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
1398 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
1399 done
1400 LIBOBJS=$ac_libobjs
1401
1402 LTLIBOBJS=$ac_ltlibobjs
1403
1404
1405
1406 : ${CONFIG_STATUS=./config.status}
1407 ac_clean_files_save=$ac_clean_files
1408 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1409 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1410 echo "$as_me: creating $CONFIG_STATUS" >&6;}
1411 cat >$CONFIG_STATUS <<_ACEOF
1412 #! $SHELL
1413 # Generated by $as_me.
1414 # Run this file to recreate the current configuration.
1415 # Compiler output produced by configure, useful for debugging
1416 # configure, is in config.log if it exists.
1417
1418 debug=false
1419 ac_cs_recheck=false
1420 ac_cs_silent=false
1421 SHELL=\${CONFIG_SHELL-$SHELL}
1422 _ACEOF
1423
1424 cat >>$CONFIG_STATUS <<\_ACEOF
1425 ## --------------------- ##
1426 ## M4sh Initialization. ##
1427 ## --------------------- ##
1428
1429 # Be Bourne compatible
1430 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1431 emulate sh
1432 NULLCMD=:
1433 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1434 # is contrary to our usage. Disable this feature.
1435 alias -g '${1+"$@"}'='"$@"'
1436 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1437 set -o posix
1438 fi
1439
1440 # Support unset when possible.
1441 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
1442 as_unset=unset
1443 else
1444 as_unset=false
1445 fi
1446
1447
1448 # Work around bugs in pre-3.0 UWIN ksh.
1449 $as_unset ENV MAIL MAILPATH
1450 PS1='$ '
1451 PS2='> '
1452 PS4='+ '
1453
1454 # NLS nuisances.
1455 for as_var in \
1456 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1457 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1458 LC_TELEPHONE LC_TIME
1459 do
1460 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
1461 eval $as_var=C; export $as_var
1462 else
1463 $as_unset $as_var
1464 fi
1465 done
1466
1467 # Required to use basename.
1468 if expr a : '\(a\)' >/dev/null 2>&1; then
1469 as_expr=expr
1470 else
1471 as_expr=false
1472 fi
1473
1474 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1475 as_basename=basename
1476 else
1477 as_basename=false
1478 fi
1479
1480
1481 # Name of the executable.
1482 as_me=`$as_basename "$0" ||
1483 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1484 X"$0" : 'X\(//\)$' \| \
1485 X"$0" : 'X\(/\)$' \| \
1486 . : '\(.\)' 2>/dev/null ||
1487 echo X/"$0" |
1488 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1489 /^X\/\(\/\/\)$/{ s//\1/; q; }
1490 /^X\/\(\/\).*/{ s//\1/; q; }
1491 s/.*/./; q'`
1492
1493
1494 # PATH needs CR, and LINENO needs CR and PATH.
1495 # Avoid depending upon Character Ranges.
1496 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1497 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1498 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1499 as_cr_digits='0123456789'
1500 as_cr_alnum=$as_cr_Letters$as_cr_digits
1501
1502 # The user is always right.
1503 if test "${PATH_SEPARATOR+set}" != set; then
1504 echo "#! /bin/sh" >conf$$.sh
1505 echo "exit 0" >>conf$$.sh
1506 chmod +x conf$$.sh
1507 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1508 PATH_SEPARATOR=';'
1509 else
1510 PATH_SEPARATOR=:
1511 fi
1512 rm -f conf$$.sh
1513 fi
1514
1515
1516 as_lineno_1=$LINENO
1517 as_lineno_2=$LINENO
1518 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1519 test "x$as_lineno_1" != "x$as_lineno_2" &&
1520 test "x$as_lineno_3" = "x$as_lineno_2" || {
1521 # Find who we are. Look in the path if we contain no path at all
1522 # relative or not.
1523 case $0 in
1524 *[\\/]* ) as_myself=$0 ;;
1525 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1526 for as_dir in $PATH
1527 do
1528 IFS=$as_save_IFS
1529 test -z "$as_dir" && as_dir=.
1530 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1531 done
1532
1533 ;;
1534 esac
1535 # We did not find ourselves, most probably we were run as `sh COMMAND'
1536 # in which case we are not to be found in the path.
1537 if test "x$as_myself" = x; then
1538 as_myself=$0
1539 fi
1540 if test ! -f "$as_myself"; then
1541 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
1542 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
1543 { (exit 1); exit 1; }; }
1544 fi
1545 case $CONFIG_SHELL in
1546 '')
1547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1548 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1549 do
1550 IFS=$as_save_IFS
1551 test -z "$as_dir" && as_dir=.
1552 for as_base in sh bash ksh sh5; do
1553 case $as_dir in
1554 /*)
1555 if ("$as_dir/$as_base" -c '
1556 as_lineno_1=$LINENO
1557 as_lineno_2=$LINENO
1558 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1559 test "x$as_lineno_1" != "x$as_lineno_2" &&
1560 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
1561 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1562 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1563 CONFIG_SHELL=$as_dir/$as_base
1564 export CONFIG_SHELL
1565 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1566 fi;;
1567 esac
1568 done
1569 done
1570 ;;
1571 esac
1572
1573 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1574 # uniformly replaced by the line number. The first 'sed' inserts a
1575 # line-number line before each line; the second 'sed' does the real
1576 # work. The second script uses 'N' to pair each line-number line
1577 # with the numbered line, and appends trailing '-' during
1578 # substitution so that $LINENO is not a special case at line end.
1579 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1580 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
1581 sed '=' <$as_myself |
1582 sed '
1583 N
1584 s,$,-,
1585 : loop
1586 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1587 t loop
1588 s,-$,,
1589 s,^['$as_cr_digits']*\n,,
1590 ' >$as_me.lineno &&
1591 chmod +x $as_me.lineno ||
1592 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
1593 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
1594 { (exit 1); exit 1; }; }
1595
1596 # Don't try to exec as it changes $[0], causing all sort of problems
1597 # (the dirname of $[0] is not the place where we might find the
1598 # original and so on. Autoconf is especially sensible to this).
1599 . ./$as_me.lineno
1600 # Exit status is that of the last command.
1601 exit
1602 }
1603
1604
1605 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1606 *c*,-n*) ECHO_N= ECHO_C='
1607 ' ECHO_T=' ' ;;
1608 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1609 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
1610 esac
1611
1612 if expr a : '\(a\)' >/dev/null 2>&1; then
1613 as_expr=expr
1614 else
1615 as_expr=false
1616 fi
1617
1618 rm -f conf$$ conf$$.exe conf$$.file
1619 echo >conf$$.file
1620 if ln -s conf$$.file conf$$ 2>/dev/null; then
1621 # We could just check for DJGPP; but this test a) works b) is more generic
1622 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1623 if test -f conf$$.exe; then
1624 # Don't use ln at all; we don't have any links
1625 as_ln_s='cp -p'
1626 else
1627 as_ln_s='ln -s'
1628 fi
1629 elif ln conf$$.file conf$$ 2>/dev/null; then
1630 as_ln_s=ln
1631 else
1632 as_ln_s='cp -p'
1633 fi
1634 rm -f conf$$ conf$$.exe conf$$.file
1635
1636 if mkdir -p . 2>/dev/null; then
1637 as_mkdir_p=:
1638 else
1639 as_mkdir_p=false
1640 fi
1641
1642 as_executable_p="test -f"
1643
1644 # Sed expression to map a string onto a valid CPP name.
1645 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
1646
1647 # Sed expression to map a string onto a valid variable name.
1648 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
1649
1650
1651 # IFS
1652 # We need space, tab and new line, in precisely that order.
1653 as_nl='
1654 '
1655 IFS=" $as_nl"
1656
1657 # CDPATH.
1658 $as_unset CDPATH
1659
1660 exec 6>&1
1661
1662 # Open the log real soon, to keep \$[0] and so on meaningful, and to
1663 # report actual input values of CONFIG_FILES etc. instead of their
1664 # values after options handling. Logging --version etc. is OK.
1665 exec 5>>config.log
1666 {
1667 echo
1668 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1669 ## Running $as_me. ##
1670 _ASBOX
1671 } >&5
1672 cat >&5 <<_CSEOF
1673
1674 This file was extended by [SAMPLE] $as_me [x.xx], which was
1675 generated by GNU Autoconf 2.57. Invocation command line was
1676
1677 CONFIG_FILES = $CONFIG_FILES
1678 CONFIG_HEADERS = $CONFIG_HEADERS
1679 CONFIG_LINKS = $CONFIG_LINKS
1680 CONFIG_COMMANDS = $CONFIG_COMMANDS
1681 $ $0 $@
1682
1683 _CSEOF
1684 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
1685 echo >&5
1686 _ACEOF
1687
1688 # Files that config.status was made for.
1689 if test -n "$ac_config_files"; then
1690 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
1691 fi
1692
1693 if test -n "$ac_config_headers"; then
1694 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
1695 fi
1696
1697 if test -n "$ac_config_links"; then
1698 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
1699 fi
1700
1701 if test -n "$ac_config_commands"; then
1702 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
1703 fi
1704
1705 cat >>$CONFIG_STATUS <<\_ACEOF
1706
1707 ac_cs_usage="\
1708 \`$as_me' instantiates files from templates according to the
1709 current configuration.
1710
1711 Usage: $0 [OPTIONS] [FILE]...
1712
1713 -h, --help print this help, then exit
1714 -V, --version print version number, then exit
1715 -q, --quiet do not print progress messages
1716 -d, --debug don't remove temporary files
1717 --recheck update $as_me by reconfiguring in the same conditions
1718 --file=FILE[:TEMPLATE]
1719 instantiate the configuration file FILE
1720
1721 Configuration files:
1722 $config_files
1723
1724 Configuration commands:
1725 $config_commands
1726
1727 Report bugs to ."
1728 _ACEOF
1729
1730 cat >>$CONFIG_STATUS <<_ACEOF
1731 ac_cs_version="\\
1732 [SAMPLE] config.status [x.xx]
1733 configured by $0, generated by GNU Autoconf 2.57,
1734 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
1735
1736 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
1737 Free Software Foundation, Inc.
1738 This config.status script is free software; the Free Software Foundation
1739 gives unlimited permission to copy, distribute and modify it."
1740 srcdir=$srcdir
1741 _ACEOF
1742
1743 cat >>$CONFIG_STATUS <<\_ACEOF
1744 # If no file are specified by the user, then we need to provide default
1745 # value. By we need to know if files were specified by the user.
1746 ac_need_defaults=:
1747 while test $# != 0
1748 do
1749 case $1 in
1750 --*=*)
1751 ac_option=`expr "x$1" : 'x\([^=]*\)='`
1752 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
1753 ac_shift=:
1754 ;;
1755 -*)
1756 ac_option=$1
1757 ac_optarg=$2
1758 ac_shift=shift
1759 ;;
1760 *) # This is not an option, so the user has probably given explicit
1761 # arguments.
1762 ac_option=$1
1763 ac_need_defaults=false;;
1764 esac
1765
1766 case $ac_option in
1767 # Handling of the options.
1768 _ACEOF
1769 cat >>$CONFIG_STATUS <<\_ACEOF
1770 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1771 ac_cs_recheck=: ;;
1772 --version | --vers* | -V )
1773 echo "$ac_cs_version"; exit 0 ;;
1774 --he | --h)
1775 # Conflict between --help and --header
1776 { { echo "$as_me:$LINENO: error: ambiguous option: $1
1777 Try \`$0 --help' for more information." >&5
1778 echo "$as_me: error: ambiguous option: $1
1779 Try \`$0 --help' for more information." >&2;}
1780 { (exit 1); exit 1; }; };;
1781 --help | --hel | -h )
1782 echo "$ac_cs_usage"; exit 0 ;;
1783 --debug | --d* | -d )
1784 debug=: ;;
1785 --file | --fil | --fi | --f )
1786 $ac_shift
1787 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
1788 ac_need_defaults=false;;
1789 --header | --heade | --head | --hea )
1790 $ac_shift
1791 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
1792 ac_need_defaults=false;;
1793 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1794 | -silent | --silent | --silen | --sile | --sil | --si | --s)
1795 ac_cs_silent=: ;;
1796
1797 # This is an error.
1798 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
1799 Try \`$0 --help' for more information." >&5
1800 echo "$as_me: error: unrecognized option: $1
1801 Try \`$0 --help' for more information." >&2;}
1802 { (exit 1); exit 1; }; } ;;
1803
1804 *) ac_config_targets="$ac_config_targets $1" ;;
1805
1806 esac
1807 shift
1808 done
1809
1810 ac_configure_extra_args=
1811
1812 if $ac_cs_silent; then
1813 exec 6>/dev/null
1814 ac_configure_extra_args="$ac_configure_extra_args --silent"
1815 fi
1816
1817 _ACEOF
1818 cat >>$CONFIG_STATUS <<_ACEOF
1819 if \$ac_cs_recheck; then
1820 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
1821 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1822 fi
1823
1824 _ACEOF
1825
1826 cat >>$CONFIG_STATUS <<_ACEOF
1827 #
1828 # INIT-COMMANDS section.
1829 #
1830
1831 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
1832 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
1833 ${srcdir}/autoconf/mkinstalldirs `dirname lib/sample/Makefile`
1834 ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
1835 ${srcdir}/autoconf/mkinstalldirs `dirname tools/sample/Makefile`
1836
1837 _ACEOF
1838
1839
1840
1841 cat >>$CONFIG_STATUS <<\_ACEOF
1842 for ac_config_target in $ac_config_targets
1843 do
1844 case "$ac_config_target" in
1845 # Handling of arguments.
1846 "Makefile.common" ) CONFIG_FILES="$CONFIG_FILES Makefile.common" ;;
1847 "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
1848 "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
1849 "lib/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/sample/Makefile" ;;
1850 "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
1851 "tools/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/sample/Makefile" ;;
1852 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
1853 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
1854 { (exit 1); exit 1; }; };;
1855 esac
1856 done
1857
1858 # If the user did not use the arguments to specify the items to instantiate,
1859 # then the envvar interface is used. Set only those that are not.
1860 # We use the long form for the default assignment because of an extremely
1861 # bizarre bug on SunOS 4.1.3.
1862 if $ac_need_defaults; then
1863 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
1864 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
1865 fi
1866
1867 # Have a temporary directory for convenience. Make it in the build tree
1868 # simply because there is no reason to put it here, and in addition,
1869 # creating and moving files from /tmp can sometimes cause problems.
1870 # Create a temporary directory, and hook for its removal unless debugging.
1871 $debug ||
1872 {
1873 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
1874 trap '{ (exit 1); exit 1; }' 1 2 13 15
1875 }
1876
1877 # Create a (secure) tmp directory for tmp files.
1878
1879 {
1880 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
1881 test -n "$tmp" && test -d "$tmp"
1882 } ||
1883 {
1884 tmp=./confstat$$-$RANDOM
1885 (umask 077 && mkdir $tmp)
1886 } ||
1887 {
1888 echo "$me: cannot create a temporary directory in ." >&2
1889 { (exit 1); exit 1; }
1890 }
1891
1892 _ACEOF
1893
1894 cat >>$CONFIG_STATUS <<_ACEOF
1895
1896 #
1897 # CONFIG_FILES section.
1898 #
1899
1900 # No need to generate the scripts if there are no CONFIG_FILES.
1901 # This happens for instance when ./config.status config.h
1902 if test -n "\$CONFIG_FILES"; then
1903 # Protect against being on the right side of a sed subst in config.status.
1904 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
1905 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
1906 s,@SHELL@,$SHELL,;t t
1907 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
1908 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
1909 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
1910 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
1911 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
1912 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
1913 s,@exec_prefix@,$exec_prefix,;t t
1914 s,@prefix@,$prefix,;t t
1915 s,@program_transform_name@,$program_transform_name,;t t
1916 s,@bindir@,$bindir,;t t
1917 s,@sbindir@,$sbindir,;t t
1918 s,@libexecdir@,$libexecdir,;t t
1919 s,@datadir@,$datadir,;t t
1920 s,@sysconfdir@,$sysconfdir,;t t
1921 s,@sharedstatedir@,$sharedstatedir,;t t
1922 s,@localstatedir@,$localstatedir,;t t
1923 s,@libdir@,$libdir,;t t
1924 s,@includedir@,$includedir,;t t
1925 s,@oldincludedir@,$oldincludedir,;t t
1926 s,@infodir@,$infodir,;t t
1927 s,@mandir@,$mandir,;t t
1928 s,@build_alias@,$build_alias,;t t
1929 s,@host_alias@,$host_alias,;t t
1930 s,@target_alias@,$target_alias,;t t
1931 s,@DEFS@,$DEFS,;t t
1932 s,@ECHO_C@,$ECHO_C,;t t
1933 s,@ECHO_N@,$ECHO_N,;t t
1934 s,@ECHO_T@,$ECHO_T,;t t
1935 s,@LIBS@,$LIBS,;t t
1936 s,@LLVM_SRC@,$LLVM_SRC,;t t
1937 s,@LLVM_OBJ@,$LLVM_OBJ,;t t
1938 s,@LIBOBJS@,$LIBOBJS,;t t
1939 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1940 CEOF
1941
1942 _ACEOF
1943
1944 cat >>$CONFIG_STATUS <<\_ACEOF
1945 # Split the substitutions into bite-sized pieces for seds with
1946 # small command number limits, like on Digital OSF/1 and HP-UX.
1947 ac_max_sed_lines=48
1948 ac_sed_frag=1 # Number of current file.
1949 ac_beg=1 # First line for current file.
1950 ac_end=$ac_max_sed_lines # Line after last line for current file.
1951 ac_more_lines=:
1952 ac_sed_cmds=
1953 while $ac_more_lines; do
1954 if test $ac_beg -gt 1; then
1955 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
1956 else
1957 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
1958 fi
1959 if test ! -s $tmp/subs.frag; then
1960 ac_more_lines=false
1961 else
1962 # The purpose of the label and of the branching condition is to
1963 # speed up the sed processing (if there are no `@' at all, there
1964 # is no need to browse any of the substitutions).
1965 # These are the two extra sed commands mentioned above.
1966 (echo ':t
1967 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
1968 if test -z "$ac_sed_cmds"; then
1969 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
1970 else
1971 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
1972 fi
1973 ac_sed_frag=`expr $ac_sed_frag + 1`
1974 ac_beg=$ac_end
1975 ac_end=`expr $ac_end + $ac_max_sed_lines`
1976 fi
1977 done
1978 if test -z "$ac_sed_cmds"; then
1979 ac_sed_cmds=cat
1980 fi
1981 fi # test -n "$CONFIG_FILES"
1982
1983 _ACEOF
1984 cat >>$CONFIG_STATUS <<\_ACEOF
1985 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
1986 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1987 case $ac_file in
1988 - | *:- | *:-:* ) # input from stdin
1989 cat >$tmp/stdin
1990 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1991 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1992 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1993 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1994 * ) ac_file_in=$ac_file.in ;;
1995 esac
1996
1997 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
1998 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
1999 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2000 X"$ac_file" : 'X\(//\)[^/]' \| \
2001 X"$ac_file" : 'X\(//\)$' \| \
2002 X"$ac_file" : 'X\(/\)' \| \
2003 . : '\(.\)' 2>/dev/null ||
2004 echo X"$ac_file" |
2005 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2006 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2007 /^X\(\/\/\)$/{ s//\1/; q; }
2008 /^X\(\/\).*/{ s//\1/; q; }
2009 s/.*/./; q'`
2010 { if $as_mkdir_p; then
2011 mkdir -p "$ac_dir"
2012 else
2013 as_dir="$ac_dir"
2014 as_dirs=
2015 while test ! -d "$as_dir"; do
2016 as_dirs="$as_dir $as_dirs"
2017 as_dir=`(dirname "$as_dir") 2>/dev/null ||
2018 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2019 X"$as_dir" : 'X\(//\)[^/]' \| \
2020 X"$as_dir" : 'X\(//\)$' \| \
2021 X"$as_dir" : 'X\(/\)' \| \
2022 . : '\(.\)' 2>/dev/null ||
2023 echo X"$as_dir" |
2024 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2025 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2026 /^X\(\/\/\)$/{ s//\1/; q; }
2027 /^X\(\/\).*/{ s//\1/; q; }
2028 s/.*/./; q'`
2029 done
2030 test ! -n "$as_dirs" || mkdir $as_dirs
2031 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2032 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2033 { (exit 1); exit 1; }; }; }
2034
2035 ac_builddir=.
2036
2037 if test "$ac_dir" != .; then
2038 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2039 # A "../" for each directory in $ac_dir_suffix.
2040 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2041 else
2042 ac_dir_suffix= ac_top_builddir=
2043 fi
2044
2045 case $srcdir in
2046 .) # No --srcdir option. We are building in place.
2047 ac_srcdir=.
2048 if test -z "$ac_top_builddir"; then
2049 ac_top_srcdir=.
2050 else
2051 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2052 fi ;;
2053 [\\/]* | ?:[\\/]* ) # Absolute path.
2054 ac_srcdir=$srcdir$ac_dir_suffix;
2055 ac_top_srcdir=$srcdir ;;
2056 *) # Relative path.
2057 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2058 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2059 esac
2060 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
2061 # absolute.
2062 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
2063 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
2064 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
2065 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
2066
2067
2068
2069 if test x"$ac_file" != x-; then
2070 { echo "$as_me:$LINENO: creating $ac_file" >&5
2071 echo "$as_me: creating $ac_file" >&6;}
2072 rm -f "$ac_file"
2073 fi
2074 # Let's still pretend it is `configure' which instantiates (i.e., don't
2075 # use $as_me), people would be surprised to read:
2076 # /* config.h. Generated by config.status. */
2077 if test x"$ac_file" = x-; then
2078 configure_input=
2079 else
2080 configure_input="$ac_file. "
2081 fi
2082 configure_input=$configure_input"Generated from `echo $ac_file_in |
2083 sed 's,.*/,,'` by configure."
2084
2085 # First look for the input files in the build tree, otherwise in the
2086 # src tree.
2087 ac_file_inputs=`IFS=:
2088 for f in $ac_file_in; do
2089 case $f in
2090 -) echo $tmp/stdin ;;
2091 [\\/$]*)
2092 # Absolute (can't be DOS-style, as IFS=:)
2093 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2094 echo "$as_me: error: cannot find input file: $f" >&2;}
2095 { (exit 1); exit 1; }; }
2096 echo $f;;
2097 *) # Relative
2098 if test -f "$f"; then
2099 # Build tree
2100 echo $f
2101 elif test -f "$srcdir/$f"; then
2102 # Source tree
2103 echo $srcdir/$f
2104 else
2105 # /dev/null tree
2106 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2107 echo "$as_me: error: cannot find input file: $f" >&2;}
2108 { (exit 1); exit 1; }; }
2109 fi;;
2110 esac
2111 done` || { (exit 1); exit 1; }
2112 _ACEOF
2113 cat >>$CONFIG_STATUS <<_ACEOF
2114 sed "$ac_vpsub
2115 $extrasub
2116 _ACEOF
2117 cat >>$CONFIG_STATUS <<\_ACEOF
2118 :t
2119 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2120 s,@configure_input@,$configure_input,;t t
2121 s,@srcdir@,$ac_srcdir,;t t
2122 s,@abs_srcdir@,$ac_abs_srcdir,;t t
2123 s,@top_srcdir@,$ac_top_srcdir,;t t
2124 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2125 s,@builddir@,$ac_builddir,;t t
2126 s,@abs_builddir@,$ac_abs_builddir,;t t
2127 s,@top_builddir@,$ac_top_builddir,;t t
2128 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2129 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2130 rm -f $tmp/stdin
2131 if test x"$ac_file" != x-; then
2132 mv $tmp/out $ac_file
2133 else
2134 cat $tmp/out
2135 rm -f $tmp/out
2136 fi
2137
2138 done
2139 _ACEOF
2140 cat >>$CONFIG_STATUS <<\_ACEOF
2141
2142 #
2143 # CONFIG_COMMANDS section.
2144 #
2145 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
2146 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
2147 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
2148 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
2149 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2150 X"$ac_dest" : 'X\(//\)[^/]' \| \
2151 X"$ac_dest" : 'X\(//\)$' \| \
2152 X"$ac_dest" : 'X\(/\)' \| \
2153 . : '\(.\)' 2>/dev/null ||
2154 echo X"$ac_dest" |
2155 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2156 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2157 /^X\(\/\/\)$/{ s//\1/; q; }
2158 /^X\(\/\).*/{ s//\1/; q; }
2159 s/.*/./; q'`
2160 ac_builddir=.
2161
2162 if test "$ac_dir" != .; then
2163 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2164 # A "../" for each directory in $ac_dir_suffix.
2165 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2166 else
2167 ac_dir_suffix= ac_top_builddir=
2168 fi
2169
2170 case $srcdir in
2171 .) # No --srcdir option. We are building in place.
2172 ac_srcdir=.
2173 if test -z "$ac_top_builddir"; then
2174 ac_top_srcdir=.
2175 else
2176 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2177 fi ;;
2178 [\\/]* | ?:[\\/]* ) # Absolute path.
2179 ac_srcdir=$srcdir$ac_dir_suffix;
2180 ac_top_srcdir=$srcdir ;;
2181 *) # Relative path.
2182 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2183 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2184 esac
2185 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
2186 # absolute.
2187 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
2188 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
2189 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
2190 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
2191
2192
2193 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
2194 echo "$as_me: executing $ac_dest commands" >&6;}
2195 case $ac_dest in
2196 Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
2197 lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
2198 lib/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/sample/Makefile lib/sample/Makefile ;;
2199 tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
2200 tools/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/sample/Makefile tools/sample/Makefile ;;
2201 esac
2202 done
2203 _ACEOF
2204
2205 cat >>$CONFIG_STATUS <<\_ACEOF
2206
2207 { (exit 0); exit 0; }
2208 _ACEOF
2209 chmod +x $CONFIG_STATUS
2210 ac_clean_files=$ac_clean_files_save
2211
2212
2213 # configure is writing to config.log, and then calls config.status.
2214 # config.status does its own redirection, appending to config.log.
2215 # Unfortunately, on DOS this fails, as config.log is still kept open
2216 # by configure, so config.status won't be able to write to it; its
2217 # output is simply discarded. So we exec the FD to /dev/null,
2218 # effectively closing config.log, so it can be properly (re)opened and
2219 # appended to by config.status. When coming back to configure, we
2220 # need to make the FD available again.
2221 if test "$no_create" != yes; then
2222 ac_cs_success=:
2223 ac_config_status_args=
2224 test "$silent" = yes &&
2225 ac_config_status_args="$ac_config_status_args --quiet"
2226 exec 5>/dev/null
2227 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2228 exec 5>>config.log
2229 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2230 # would make configure fail if this is the last instruction.
2231 $ac_cs_success || { (exit 1); exit 1; }
2232 fi
2233