[PR cli/17290] gdb/doc: Fix show remote interrupt-*.
[binutils-gdb.git] / sim / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 #
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
78 }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
88
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
95 do
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
101
102 ;;
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
112 fi
113
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
125
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
131
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
157 fi
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
173 ;;
174 esac
175 fi
176 "
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
182
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190 else
191 exitcode=1; echo positional parameters were not saved.
192 fi
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
199 if (eval "$as_required") 2>/dev/null; then :
200 as_have_required=yes
201 else
202 as_have_required=no
203 fi
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
205
206 else
207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208 as_found=false
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
210 do
211 IFS=$as_save_IFS
212 test -z "$as_dir" && as_dir=.
213 as_found=:
214 case $as_dir in #(
215 /*)
216 for as_base in sh bash ksh sh5; do
217 # Try only shells that exist, to save several forks.
218 as_shell=$as_dir/$as_base
219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221 CONFIG_SHELL=$as_shell as_have_required=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 break 2
224 fi
225 fi
226 done;;
227 esac
228 as_found=false
229 done
230 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232 CONFIG_SHELL=$SHELL as_have_required=yes
233 fi; }
234 IFS=$as_save_IFS
235
236
237 if test "x$CONFIG_SHELL" != x; then :
238 export CONFIG_SHELL
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
243 BASH_ENV=/dev/null
244 ENV=/dev/null
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246 case $- in # ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251 esac
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256 exit 255
257 fi
258
259 if test x$as_have_required = xno; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x${ZSH_VERSION+set} = xset ; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
265 else
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
270 fi
271 exit 1
272 fi
273 fi
274 fi
275 SHELL=${CONFIG_SHELL-/bin/sh}
276 export SHELL
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE= GREP_OPTIONS=
279 unset CLICOLOR_FORCE GREP_OPTIONS
280
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
284 # as_fn_unset VAR
285 # ---------------
286 # Portably unset VAR.
287 as_fn_unset ()
288 {
289 { eval $1=; unset $1;}
290 }
291 as_unset=as_fn_unset
292
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
296 as_fn_set_status ()
297 {
298 return $1
299 } # as_fn_set_status
300
301 # as_fn_exit STATUS
302 # -----------------
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304 as_fn_exit ()
305 {
306 set +e
307 as_fn_set_status $1
308 exit $1
309 } # as_fn_exit
310
311 # as_fn_mkdir_p
312 # -------------
313 # Create "$as_dir" as a directory, including parents if necessary.
314 as_fn_mkdir_p ()
315 {
316
317 case $as_dir in #(
318 -*) as_dir=./$as_dir;;
319 esac
320 test -d "$as_dir" || eval $as_mkdir_p || {
321 as_dirs=
322 while :; do
323 case $as_dir in #(
324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325 *) as_qdir=$as_dir;;
326 esac
327 as_dirs="'$as_qdir' $as_dirs"
328 as_dir=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 s//\1/
336 q
337 }
338 /^X\(\/\/\)[^/].*/{
339 s//\1/
340 q
341 }
342 /^X\(\/\/\)$/{
343 s//\1/
344 q
345 }
346 /^X\(\/\).*/{
347 s//\1/
348 q
349 }
350 s/.*/./; q'`
351 test -d "$as_dir" && break
352 done
353 test -z "$as_dirs" || eval "mkdir $as_dirs"
354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
355
356
357 } # as_fn_mkdir_p
358
359 # as_fn_executable_p FILE
360 # -----------------------
361 # Test if FILE is an executable regular file.
362 as_fn_executable_p ()
363 {
364 test -f "$1" && test -x "$1"
365 } # as_fn_executable_p
366 # as_fn_append VAR VALUE
367 # ----------------------
368 # Append the text in VALUE to the end of the definition contained in VAR. Take
369 # advantage of any shell optimizations that allow amortized linear growth over
370 # repeated appends, instead of the typical quadratic growth present in naive
371 # implementations.
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373 eval 'as_fn_append ()
374 {
375 eval $1+=\$2
376 }'
377 else
378 as_fn_append ()
379 {
380 eval $1=\$$1\$2
381 }
382 fi # as_fn_append
383
384 # as_fn_arith ARG...
385 # ------------------
386 # Perform arithmetic evaluation on the ARGs, and store the result in the
387 # global $as_val. Take advantage of shells that can avoid forks. The arguments
388 # must be portable across $(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390 eval 'as_fn_arith ()
391 {
392 as_val=$(( $* ))
393 }'
394 else
395 as_fn_arith ()
396 {
397 as_val=`expr "$@" || test $? -eq 1`
398 }
399 fi # as_fn_arith
400
401
402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
403 # ----------------------------------------
404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 # script with STATUS, using 1 if that was 0.
407 as_fn_error ()
408 {
409 as_status=$1; test $as_status -eq 0 && as_status=1
410 if test "$4"; then
411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
413 fi
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit $as_status
416 } # as_fn_error
417
418 if expr a : '\(a\)' >/dev/null 2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
420 as_expr=expr
421 else
422 as_expr=false
423 fi
424
425 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426 as_basename=basename
427 else
428 as_basename=false
429 fi
430
431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432 as_dirname=dirname
433 else
434 as_dirname=false
435 fi
436
437 as_me=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441 $as_echo X/"$0" |
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
443 s//\1/
444 q
445 }
446 /^X\/\(\/\/\)$/{
447 s//\1/
448 q
449 }
450 /^X\/\(\/\).*/{
451 s//\1/
452 q
453 }
454 s/.*/./; q'`
455
456 # Avoid depending upon Character Ranges.
457 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits='0123456789'
461 as_cr_alnum=$as_cr_Letters$as_cr_digits
462
463
464 as_lineno_1=$LINENO as_lineno_1a=$LINENO
465 as_lineno_2=$LINENO as_lineno_2a=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
469 sed -n '
470 p
471 /[$]LINENO/=
472 ' <$as_myself |
473 sed '
474 s/[$]LINENO.*/&-/
475 t lineno
476 b
477 :lineno
478 N
479 :loop
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
481 t loop
482 s/-\n.*//
483 ' >$as_me.lineno &&
484 chmod +x "$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
486
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec=no; export _as_can_reexec
491 # Don't try to exec as it changes $[0], causing all sort of problems
492 # (the dirname of $[0] is not the place where we might find the
493 # original and so on. Autoconf is especially sensitive to this).
494 . "./$as_me.lineno"
495 # Exit status is that of the last command.
496 exit
497 }
498
499 ECHO_C= ECHO_N= ECHO_T=
500 case `echo -n x` in #(((((
501 -n*)
502 case `echo 'xy\c'` in
503 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 xy) ECHO_C='\c';;
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
506 ECHO_T=' ';;
507 esac;;
508 *)
509 ECHO_N='-n';;
510 esac
511
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
515 else
516 rm -f conf$$.dir
517 mkdir conf$$.dir 2>/dev/null
518 fi
519 if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 as_ln_s='ln -s'
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 as_ln_s='cp -pR'
528 elif ln conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s=ln
530 else
531 as_ln_s='cp -pR'
532 fi
533 else
534 as_ln_s='cp -pR'
535 fi
536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537 rmdir conf$$.dir 2>/dev/null
538
539 if mkdir -p . 2>/dev/null; then
540 as_mkdir_p='mkdir -p "$as_dir"'
541 else
542 test -d ./-p && rmdir ./-p
543 as_mkdir_p=false
544 fi
545
546 as_test_x='test -x'
547 as_executable_p=as_fn_executable_p
548
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
551
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554
555
556 test -n "$DJDIR" || exec 7<&0 </dev/null
557 exec 6>&1
558
559 # Name of the host.
560 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561 # so uname gets run too.
562 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
563
564 #
565 # Initializations.
566 #
567 ac_default_prefix=/usr/local
568 ac_clean_files=
569 ac_config_libobj_dir=.
570 LIBOBJS=
571 cross_compiling=no
572 subdirs=
573 MFLAGS=
574 MAKEFLAGS=
575
576 # Identity of this package.
577 PACKAGE_NAME=
578 PACKAGE_TARNAME=
579 PACKAGE_VERSION=
580 PACKAGE_STRING=
581 PACKAGE_BUGREPORT=
582 PACKAGE_URL=
583
584 ac_unique_file="Makefile.in"
585 enable_option_checking=no
586 ac_subst_vars='LTLIBOBJS
587 LIBOBJS
588 subdirs
589 CFLAGS_FOR_BUILD
590 CC_FOR_BUILD
591 CPP
592 target_os
593 target_vendor
594 target_cpu
595 target
596 host_os
597 host_vendor
598 host_cpu
599 host
600 build_os
601 build_vendor
602 build_cpu
603 build
604 RANLIB
605 AR
606 INSTALL_DATA
607 INSTALL_SCRIPT
608 INSTALL_PROGRAM
609 OBJEXT
610 EXEEXT
611 ac_ct_CC
612 CPPFLAGS
613 LDFLAGS
614 CFLAGS
615 CC
616 target_alias
617 host_alias
618 build_alias
619 LIBS
620 ECHO_T
621 ECHO_N
622 ECHO_C
623 DEFS
624 mandir
625 localedir
626 libdir
627 psdir
628 pdfdir
629 dvidir
630 htmldir
631 infodir
632 docdir
633 oldincludedir
634 includedir
635 localstatedir
636 sharedstatedir
637 sysconfdir
638 datadir
639 datarootdir
640 libexecdir
641 sbindir
642 bindir
643 program_transform_name
644 prefix
645 exec_prefix
646 PACKAGE_URL
647 PACKAGE_BUGREPORT
648 PACKAGE_STRING
649 PACKAGE_VERSION
650 PACKAGE_TARNAME
651 PACKAGE_NAME
652 PATH_SEPARATOR
653 SHELL'
654 ac_subst_files=''
655 ac_user_opts='
656 enable_option_checking
657 enable_sim
658 '
659 ac_precious_vars='build_alias
660 host_alias
661 target_alias
662 CC
663 CFLAGS
664 LDFLAGS
665 LIBS
666 CPPFLAGS
667 CPP'
668 ac_subdirs_all='aarch64
669 arm
670 avr
671 bfin
672 bpf
673 cr16
674 cris
675 d10v
676 frv
677 h8300
678 iq2000
679 lm32
680 m32c
681 m32r
682 m68hc11
683 mcore
684 microblaze
685 mips
686 mn10300
687 moxie
688 msp430
689 or1k
690 pru
691 riscv
692 rl78
693 rx
694 sh
695 erc32
696 ppc
697 ft32
698 v850
699 igen'
700
701 # Initialize some variables set by options.
702 ac_init_help=
703 ac_init_version=false
704 ac_unrecognized_opts=
705 ac_unrecognized_sep=
706 # The variables have the same names as the options, with
707 # dashes changed to underlines.
708 cache_file=/dev/null
709 exec_prefix=NONE
710 no_create=
711 no_recursion=
712 prefix=NONE
713 program_prefix=NONE
714 program_suffix=NONE
715 program_transform_name=s,x,x,
716 silent=
717 site=
718 srcdir=
719 verbose=
720 x_includes=NONE
721 x_libraries=NONE
722
723 # Installation directory options.
724 # These are left unexpanded so users can "make install exec_prefix=/foo"
725 # and all the variables that are supposed to be based on exec_prefix
726 # by default will actually change.
727 # Use braces instead of parens because sh, perl, etc. also accept them.
728 # (The list follows the same order as the GNU Coding Standards.)
729 bindir='${exec_prefix}/bin'
730 sbindir='${exec_prefix}/sbin'
731 libexecdir='${exec_prefix}/libexec'
732 datarootdir='${prefix}/share'
733 datadir='${datarootdir}'
734 sysconfdir='${prefix}/etc'
735 sharedstatedir='${prefix}/com'
736 localstatedir='${prefix}/var'
737 includedir='${prefix}/include'
738 oldincludedir='/usr/include'
739 docdir='${datarootdir}/doc/${PACKAGE}'
740 infodir='${datarootdir}/info'
741 htmldir='${docdir}'
742 dvidir='${docdir}'
743 pdfdir='${docdir}'
744 psdir='${docdir}'
745 libdir='${exec_prefix}/lib'
746 localedir='${datarootdir}/locale'
747 mandir='${datarootdir}/man'
748
749 ac_prev=
750 ac_dashdash=
751 for ac_option
752 do
753 # If the previous option needs an argument, assign it.
754 if test -n "$ac_prev"; then
755 eval $ac_prev=\$ac_option
756 ac_prev=
757 continue
758 fi
759
760 case $ac_option in
761 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
762 *=) ac_optarg= ;;
763 *) ac_optarg=yes ;;
764 esac
765
766 # Accept the important Cygnus configure options, so we can diagnose typos.
767
768 case $ac_dashdash$ac_option in
769 --)
770 ac_dashdash=yes ;;
771
772 -bindir | --bindir | --bindi | --bind | --bin | --bi)
773 ac_prev=bindir ;;
774 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
775 bindir=$ac_optarg ;;
776
777 -build | --build | --buil | --bui | --bu)
778 ac_prev=build_alias ;;
779 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
780 build_alias=$ac_optarg ;;
781
782 -cache-file | --cache-file | --cache-fil | --cache-fi \
783 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
784 ac_prev=cache_file ;;
785 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
786 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
787 cache_file=$ac_optarg ;;
788
789 --config-cache | -C)
790 cache_file=config.cache ;;
791
792 -datadir | --datadir | --datadi | --datad)
793 ac_prev=datadir ;;
794 -datadir=* | --datadir=* | --datadi=* | --datad=*)
795 datadir=$ac_optarg ;;
796
797 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
798 | --dataroo | --dataro | --datar)
799 ac_prev=datarootdir ;;
800 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
801 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
802 datarootdir=$ac_optarg ;;
803
804 -disable-* | --disable-*)
805 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
806 # Reject names that are not valid shell variable names.
807 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
808 as_fn_error $? "invalid feature name: $ac_useropt"
809 ac_useropt_orig=$ac_useropt
810 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
811 case $ac_user_opts in
812 *"
813 "enable_$ac_useropt"
814 "*) ;;
815 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
816 ac_unrecognized_sep=', ';;
817 esac
818 eval enable_$ac_useropt=no ;;
819
820 -docdir | --docdir | --docdi | --doc | --do)
821 ac_prev=docdir ;;
822 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
823 docdir=$ac_optarg ;;
824
825 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
826 ac_prev=dvidir ;;
827 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
828 dvidir=$ac_optarg ;;
829
830 -enable-* | --enable-*)
831 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
832 # Reject names that are not valid shell variable names.
833 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
834 as_fn_error $? "invalid feature name: $ac_useropt"
835 ac_useropt_orig=$ac_useropt
836 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
837 case $ac_user_opts in
838 *"
839 "enable_$ac_useropt"
840 "*) ;;
841 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
842 ac_unrecognized_sep=', ';;
843 esac
844 eval enable_$ac_useropt=\$ac_optarg ;;
845
846 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
847 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
848 | --exec | --exe | --ex)
849 ac_prev=exec_prefix ;;
850 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
851 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
852 | --exec=* | --exe=* | --ex=*)
853 exec_prefix=$ac_optarg ;;
854
855 -gas | --gas | --ga | --g)
856 # Obsolete; use --with-gas.
857 with_gas=yes ;;
858
859 -help | --help | --hel | --he | -h)
860 ac_init_help=long ;;
861 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
862 ac_init_help=recursive ;;
863 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
864 ac_init_help=short ;;
865
866 -host | --host | --hos | --ho)
867 ac_prev=host_alias ;;
868 -host=* | --host=* | --hos=* | --ho=*)
869 host_alias=$ac_optarg ;;
870
871 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
872 ac_prev=htmldir ;;
873 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
874 | --ht=*)
875 htmldir=$ac_optarg ;;
876
877 -includedir | --includedir | --includedi | --included | --include \
878 | --includ | --inclu | --incl | --inc)
879 ac_prev=includedir ;;
880 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
881 | --includ=* | --inclu=* | --incl=* | --inc=*)
882 includedir=$ac_optarg ;;
883
884 -infodir | --infodir | --infodi | --infod | --info | --inf)
885 ac_prev=infodir ;;
886 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
887 infodir=$ac_optarg ;;
888
889 -libdir | --libdir | --libdi | --libd)
890 ac_prev=libdir ;;
891 -libdir=* | --libdir=* | --libdi=* | --libd=*)
892 libdir=$ac_optarg ;;
893
894 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
895 | --libexe | --libex | --libe)
896 ac_prev=libexecdir ;;
897 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
898 | --libexe=* | --libex=* | --libe=*)
899 libexecdir=$ac_optarg ;;
900
901 -localedir | --localedir | --localedi | --localed | --locale)
902 ac_prev=localedir ;;
903 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
904 localedir=$ac_optarg ;;
905
906 -localstatedir | --localstatedir | --localstatedi | --localstated \
907 | --localstate | --localstat | --localsta | --localst | --locals)
908 ac_prev=localstatedir ;;
909 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
910 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
911 localstatedir=$ac_optarg ;;
912
913 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
914 ac_prev=mandir ;;
915 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
916 mandir=$ac_optarg ;;
917
918 -nfp | --nfp | --nf)
919 # Obsolete; use --without-fp.
920 with_fp=no ;;
921
922 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
923 | --no-cr | --no-c | -n)
924 no_create=yes ;;
925
926 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
927 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
928 no_recursion=yes ;;
929
930 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
931 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
932 | --oldin | --oldi | --old | --ol | --o)
933 ac_prev=oldincludedir ;;
934 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
935 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
936 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
937 oldincludedir=$ac_optarg ;;
938
939 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
940 ac_prev=prefix ;;
941 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
942 prefix=$ac_optarg ;;
943
944 -program-prefix | --program-prefix | --program-prefi | --program-pref \
945 | --program-pre | --program-pr | --program-p)
946 ac_prev=program_prefix ;;
947 -program-prefix=* | --program-prefix=* | --program-prefi=* \
948 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
949 program_prefix=$ac_optarg ;;
950
951 -program-suffix | --program-suffix | --program-suffi | --program-suff \
952 | --program-suf | --program-su | --program-s)
953 ac_prev=program_suffix ;;
954 -program-suffix=* | --program-suffix=* | --program-suffi=* \
955 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
956 program_suffix=$ac_optarg ;;
957
958 -program-transform-name | --program-transform-name \
959 | --program-transform-nam | --program-transform-na \
960 | --program-transform-n | --program-transform- \
961 | --program-transform | --program-transfor \
962 | --program-transfo | --program-transf \
963 | --program-trans | --program-tran \
964 | --progr-tra | --program-tr | --program-t)
965 ac_prev=program_transform_name ;;
966 -program-transform-name=* | --program-transform-name=* \
967 | --program-transform-nam=* | --program-transform-na=* \
968 | --program-transform-n=* | --program-transform-=* \
969 | --program-transform=* | --program-transfor=* \
970 | --program-transfo=* | --program-transf=* \
971 | --program-trans=* | --program-tran=* \
972 | --progr-tra=* | --program-tr=* | --program-t=*)
973 program_transform_name=$ac_optarg ;;
974
975 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
976 ac_prev=pdfdir ;;
977 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
978 pdfdir=$ac_optarg ;;
979
980 -psdir | --psdir | --psdi | --psd | --ps)
981 ac_prev=psdir ;;
982 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
983 psdir=$ac_optarg ;;
984
985 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
986 | -silent | --silent | --silen | --sile | --sil)
987 silent=yes ;;
988
989 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
990 ac_prev=sbindir ;;
991 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
992 | --sbi=* | --sb=*)
993 sbindir=$ac_optarg ;;
994
995 -sharedstatedir | --sharedstatedir | --sharedstatedi \
996 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
997 | --sharedst | --shareds | --shared | --share | --shar \
998 | --sha | --sh)
999 ac_prev=sharedstatedir ;;
1000 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1001 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1002 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1003 | --sha=* | --sh=*)
1004 sharedstatedir=$ac_optarg ;;
1005
1006 -site | --site | --sit)
1007 ac_prev=site ;;
1008 -site=* | --site=* | --sit=*)
1009 site=$ac_optarg ;;
1010
1011 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1012 ac_prev=srcdir ;;
1013 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1014 srcdir=$ac_optarg ;;
1015
1016 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1017 | --syscon | --sysco | --sysc | --sys | --sy)
1018 ac_prev=sysconfdir ;;
1019 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1020 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1021 sysconfdir=$ac_optarg ;;
1022
1023 -target | --target | --targe | --targ | --tar | --ta | --t)
1024 ac_prev=target_alias ;;
1025 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1026 target_alias=$ac_optarg ;;
1027
1028 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1029 verbose=yes ;;
1030
1031 -version | --version | --versio | --versi | --vers | -V)
1032 ac_init_version=: ;;
1033
1034 -with-* | --with-*)
1035 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1036 # Reject names that are not valid shell variable names.
1037 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1038 as_fn_error $? "invalid package name: $ac_useropt"
1039 ac_useropt_orig=$ac_useropt
1040 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1041 case $ac_user_opts in
1042 *"
1043 "with_$ac_useropt"
1044 "*) ;;
1045 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1046 ac_unrecognized_sep=', ';;
1047 esac
1048 eval with_$ac_useropt=\$ac_optarg ;;
1049
1050 -without-* | --without-*)
1051 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1052 # Reject names that are not valid shell variable names.
1053 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1054 as_fn_error $? "invalid package name: $ac_useropt"
1055 ac_useropt_orig=$ac_useropt
1056 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1057 case $ac_user_opts in
1058 *"
1059 "with_$ac_useropt"
1060 "*) ;;
1061 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1062 ac_unrecognized_sep=', ';;
1063 esac
1064 eval with_$ac_useropt=no ;;
1065
1066 --x)
1067 # Obsolete; use --with-x.
1068 with_x=yes ;;
1069
1070 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1071 | --x-incl | --x-inc | --x-in | --x-i)
1072 ac_prev=x_includes ;;
1073 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1074 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1075 x_includes=$ac_optarg ;;
1076
1077 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1078 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1079 ac_prev=x_libraries ;;
1080 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1081 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1082 x_libraries=$ac_optarg ;;
1083
1084 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1085 Try \`$0 --help' for more information"
1086 ;;
1087
1088 *=*)
1089 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1090 # Reject names that are not valid shell variable names.
1091 case $ac_envvar in #(
1092 '' | [0-9]* | *[!_$as_cr_alnum]* )
1093 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1094 esac
1095 eval $ac_envvar=\$ac_optarg
1096 export $ac_envvar ;;
1097
1098 *)
1099 # FIXME: should be removed in autoconf 3.0.
1100 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1101 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1102 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1103 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1104 ;;
1105
1106 esac
1107 done
1108
1109 if test -n "$ac_prev"; then
1110 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1111 as_fn_error $? "missing argument to $ac_option"
1112 fi
1113
1114 if test -n "$ac_unrecognized_opts"; then
1115 case $enable_option_checking in
1116 no) ;;
1117 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1118 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1119 esac
1120 fi
1121
1122 # Check all directory arguments for consistency.
1123 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1124 datadir sysconfdir sharedstatedir localstatedir includedir \
1125 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1126 libdir localedir mandir
1127 do
1128 eval ac_val=\$$ac_var
1129 # Remove trailing slashes.
1130 case $ac_val in
1131 */ )
1132 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1133 eval $ac_var=\$ac_val;;
1134 esac
1135 # Be sure to have absolute directory names.
1136 case $ac_val in
1137 [\\/$]* | ?:[\\/]* ) continue;;
1138 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1139 esac
1140 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1141 done
1142
1143 # There might be people who depend on the old broken behavior: `$host'
1144 # used to hold the argument of --host etc.
1145 # FIXME: To remove some day.
1146 build=$build_alias
1147 host=$host_alias
1148 target=$target_alias
1149
1150 # FIXME: To remove some day.
1151 if test "x$host_alias" != x; then
1152 if test "x$build_alias" = x; then
1153 cross_compiling=maybe
1154 elif test "x$build_alias" != "x$host_alias"; then
1155 cross_compiling=yes
1156 fi
1157 fi
1158
1159 ac_tool_prefix=
1160 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1161
1162 test "$silent" = yes && exec 6>/dev/null
1163
1164
1165 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1166 ac_ls_di=`ls -di .` &&
1167 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1168 as_fn_error $? "working directory cannot be determined"
1169 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1170 as_fn_error $? "pwd does not report name of working directory"
1171
1172
1173 # Find the source files, if location was not specified.
1174 if test -z "$srcdir"; then
1175 ac_srcdir_defaulted=yes
1176 # Try the directory containing this script, then the parent directory.
1177 ac_confdir=`$as_dirname -- "$as_myself" ||
1178 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1179 X"$as_myself" : 'X\(//\)[^/]' \| \
1180 X"$as_myself" : 'X\(//\)$' \| \
1181 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1182 $as_echo X"$as_myself" |
1183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1184 s//\1/
1185 q
1186 }
1187 /^X\(\/\/\)[^/].*/{
1188 s//\1/
1189 q
1190 }
1191 /^X\(\/\/\)$/{
1192 s//\1/
1193 q
1194 }
1195 /^X\(\/\).*/{
1196 s//\1/
1197 q
1198 }
1199 s/.*/./; q'`
1200 srcdir=$ac_confdir
1201 if test ! -r "$srcdir/$ac_unique_file"; then
1202 srcdir=..
1203 fi
1204 else
1205 ac_srcdir_defaulted=no
1206 fi
1207 if test ! -r "$srcdir/$ac_unique_file"; then
1208 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1209 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1210 fi
1211 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1212 ac_abs_confdir=`(
1213 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1214 pwd)`
1215 # When building in place, set srcdir=.
1216 if test "$ac_abs_confdir" = "$ac_pwd"; then
1217 srcdir=.
1218 fi
1219 # Remove unnecessary trailing slashes from srcdir.
1220 # Double slashes in file names in object file debugging info
1221 # mess up M-x gdb in Emacs.
1222 case $srcdir in
1223 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1224 esac
1225 for ac_var in $ac_precious_vars; do
1226 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1227 eval ac_env_${ac_var}_value=\$${ac_var}
1228 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1229 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1230 done
1231
1232 #
1233 # Report the --help message.
1234 #
1235 if test "$ac_init_help" = "long"; then
1236 # Omit some internal or obsolete options to make the list less imposing.
1237 # This message is too long to be a string in the A/UX 3.1 sh.
1238 cat <<_ACEOF
1239 \`configure' configures this package to adapt to many kinds of systems.
1240
1241 Usage: $0 [OPTION]... [VAR=VALUE]...
1242
1243 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1244 VAR=VALUE. See below for descriptions of some of the useful variables.
1245
1246 Defaults for the options are specified in brackets.
1247
1248 Configuration:
1249 -h, --help display this help and exit
1250 --help=short display options specific to this package
1251 --help=recursive display the short help of all the included packages
1252 -V, --version display version information and exit
1253 -q, --quiet, --silent do not print \`checking ...' messages
1254 --cache-file=FILE cache test results in FILE [disabled]
1255 -C, --config-cache alias for \`--cache-file=config.cache'
1256 -n, --no-create do not create output files
1257 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1258
1259 Installation directories:
1260 --prefix=PREFIX install architecture-independent files in PREFIX
1261 [$ac_default_prefix]
1262 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1263 [PREFIX]
1264
1265 By default, \`make install' will install all the files in
1266 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1267 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1268 for instance \`--prefix=\$HOME'.
1269
1270 For better control, use the options below.
1271
1272 Fine tuning of the installation directories:
1273 --bindir=DIR user executables [EPREFIX/bin]
1274 --sbindir=DIR system admin executables [EPREFIX/sbin]
1275 --libexecdir=DIR program executables [EPREFIX/libexec]
1276 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1277 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1278 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1279 --libdir=DIR object code libraries [EPREFIX/lib]
1280 --includedir=DIR C header files [PREFIX/include]
1281 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1282 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1283 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1284 --infodir=DIR info documentation [DATAROOTDIR/info]
1285 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1286 --mandir=DIR man documentation [DATAROOTDIR/man]
1287 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1288 --htmldir=DIR html documentation [DOCDIR]
1289 --dvidir=DIR dvi documentation [DOCDIR]
1290 --pdfdir=DIR pdf documentation [DOCDIR]
1291 --psdir=DIR ps documentation [DOCDIR]
1292 _ACEOF
1293
1294 cat <<\_ACEOF
1295
1296 Program names:
1297 --program-prefix=PREFIX prepend PREFIX to installed program names
1298 --program-suffix=SUFFIX append SUFFIX to installed program names
1299 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1300
1301 System types:
1302 --build=BUILD configure for building on BUILD [guessed]
1303 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1304 --target=TARGET configure for building compilers for TARGET [HOST]
1305 _ACEOF
1306 fi
1307
1308 if test -n "$ac_init_help"; then
1309
1310 cat <<\_ACEOF
1311
1312 Optional Features:
1313 --disable-option-checking ignore unrecognized --enable/--with options
1314 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1315 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1316 --enable-sim Enable the GNU simulator
1317
1318 Some influential environment variables:
1319 CC C compiler command
1320 CFLAGS C compiler flags
1321 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1322 nonstandard directory <lib dir>
1323 LIBS libraries to pass to the linker, e.g. -l<library>
1324 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1325 you have headers in a nonstandard directory <include dir>
1326 CPP C preprocessor
1327
1328 Use these variables to override the choices made by `configure' or to help
1329 it to find libraries and programs with nonstandard names/locations.
1330
1331 Report bugs to the package provider.
1332 _ACEOF
1333 ac_status=$?
1334 fi
1335
1336 if test "$ac_init_help" = "recursive"; then
1337 # If there are subdirs, report their specific --help.
1338 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1339 test -d "$ac_dir" ||
1340 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1341 continue
1342 ac_builddir=.
1343
1344 case "$ac_dir" in
1345 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1346 *)
1347 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1348 # A ".." for each directory in $ac_dir_suffix.
1349 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1350 case $ac_top_builddir_sub in
1351 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1352 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1353 esac ;;
1354 esac
1355 ac_abs_top_builddir=$ac_pwd
1356 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1357 # for backward compatibility:
1358 ac_top_builddir=$ac_top_build_prefix
1359
1360 case $srcdir in
1361 .) # We are building in place.
1362 ac_srcdir=.
1363 ac_top_srcdir=$ac_top_builddir_sub
1364 ac_abs_top_srcdir=$ac_pwd ;;
1365 [\\/]* | ?:[\\/]* ) # Absolute name.
1366 ac_srcdir=$srcdir$ac_dir_suffix;
1367 ac_top_srcdir=$srcdir
1368 ac_abs_top_srcdir=$srcdir ;;
1369 *) # Relative name.
1370 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1371 ac_top_srcdir=$ac_top_build_prefix$srcdir
1372 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1373 esac
1374 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1375
1376 cd "$ac_dir" || { ac_status=$?; continue; }
1377 # Check for guested configure.
1378 if test -f "$ac_srcdir/configure.gnu"; then
1379 echo &&
1380 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1381 elif test -f "$ac_srcdir/configure"; then
1382 echo &&
1383 $SHELL "$ac_srcdir/configure" --help=recursive
1384 else
1385 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1386 fi || ac_status=$?
1387 cd "$ac_pwd" || { ac_status=$?; break; }
1388 done
1389 fi
1390
1391 test -n "$ac_init_help" && exit $ac_status
1392 if $ac_init_version; then
1393 cat <<\_ACEOF
1394 configure
1395 generated by GNU Autoconf 2.69
1396
1397 Copyright (C) 2012 Free Software Foundation, Inc.
1398 This configure script is free software; the Free Software Foundation
1399 gives unlimited permission to copy, distribute and modify it.
1400 _ACEOF
1401 exit
1402 fi
1403
1404 ## ------------------------ ##
1405 ## Autoconf initialization. ##
1406 ## ------------------------ ##
1407
1408 # ac_fn_c_try_compile LINENO
1409 # --------------------------
1410 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1411 ac_fn_c_try_compile ()
1412 {
1413 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1414 rm -f conftest.$ac_objext
1415 if { { ac_try="$ac_compile"
1416 case "(($ac_try" in
1417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1418 *) ac_try_echo=$ac_try;;
1419 esac
1420 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1421 $as_echo "$ac_try_echo"; } >&5
1422 (eval "$ac_compile") 2>conftest.err
1423 ac_status=$?
1424 if test -s conftest.err; then
1425 grep -v '^ *+' conftest.err >conftest.er1
1426 cat conftest.er1 >&5
1427 mv -f conftest.er1 conftest.err
1428 fi
1429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1430 test $ac_status = 0; } && {
1431 test -z "$ac_c_werror_flag" ||
1432 test ! -s conftest.err
1433 } && test -s conftest.$ac_objext; then :
1434 ac_retval=0
1435 else
1436 $as_echo "$as_me: failed program was:" >&5
1437 sed 's/^/| /' conftest.$ac_ext >&5
1438
1439 ac_retval=1
1440 fi
1441 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1442 as_fn_set_status $ac_retval
1443
1444 } # ac_fn_c_try_compile
1445
1446 # ac_fn_c_try_cpp LINENO
1447 # ----------------------
1448 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1449 ac_fn_c_try_cpp ()
1450 {
1451 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1452 if { { ac_try="$ac_cpp conftest.$ac_ext"
1453 case "(($ac_try" in
1454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1455 *) ac_try_echo=$ac_try;;
1456 esac
1457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1458 $as_echo "$ac_try_echo"; } >&5
1459 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1460 ac_status=$?
1461 if test -s conftest.err; then
1462 grep -v '^ *+' conftest.err >conftest.er1
1463 cat conftest.er1 >&5
1464 mv -f conftest.er1 conftest.err
1465 fi
1466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1467 test $ac_status = 0; } > conftest.i && {
1468 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1469 test ! -s conftest.err
1470 }; then :
1471 ac_retval=0
1472 else
1473 $as_echo "$as_me: failed program was:" >&5
1474 sed 's/^/| /' conftest.$ac_ext >&5
1475
1476 ac_retval=1
1477 fi
1478 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1479 as_fn_set_status $ac_retval
1480
1481 } # ac_fn_c_try_cpp
1482 cat >config.log <<_ACEOF
1483 This file contains any messages produced by compilers while
1484 running configure, to aid debugging if configure makes a mistake.
1485
1486 It was created by $as_me, which was
1487 generated by GNU Autoconf 2.69. Invocation command line was
1488
1489 $ $0 $@
1490
1491 _ACEOF
1492 exec 5>>config.log
1493 {
1494 cat <<_ASUNAME
1495 ## --------- ##
1496 ## Platform. ##
1497 ## --------- ##
1498
1499 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1500 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1501 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1502 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1503 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1504
1505 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1506 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1507
1508 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1509 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1510 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1511 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1512 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1513 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1514 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1515
1516 _ASUNAME
1517
1518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1519 for as_dir in $PATH
1520 do
1521 IFS=$as_save_IFS
1522 test -z "$as_dir" && as_dir=.
1523 $as_echo "PATH: $as_dir"
1524 done
1525 IFS=$as_save_IFS
1526
1527 } >&5
1528
1529 cat >&5 <<_ACEOF
1530
1531
1532 ## ----------- ##
1533 ## Core tests. ##
1534 ## ----------- ##
1535
1536 _ACEOF
1537
1538
1539 # Keep a trace of the command line.
1540 # Strip out --no-create and --no-recursion so they do not pile up.
1541 # Strip out --silent because we don't want to record it for future runs.
1542 # Also quote any args containing shell meta-characters.
1543 # Make two passes to allow for proper duplicate-argument suppression.
1544 ac_configure_args=
1545 ac_configure_args0=
1546 ac_configure_args1=
1547 ac_must_keep_next=false
1548 for ac_pass in 1 2
1549 do
1550 for ac_arg
1551 do
1552 case $ac_arg in
1553 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1554 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1555 | -silent | --silent | --silen | --sile | --sil)
1556 continue ;;
1557 *\'*)
1558 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1559 esac
1560 case $ac_pass in
1561 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1562 2)
1563 as_fn_append ac_configure_args1 " '$ac_arg'"
1564 if test $ac_must_keep_next = true; then
1565 ac_must_keep_next=false # Got value, back to normal.
1566 else
1567 case $ac_arg in
1568 *=* | --config-cache | -C | -disable-* | --disable-* \
1569 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1570 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1571 | -with-* | --with-* | -without-* | --without-* | --x)
1572 case "$ac_configure_args0 " in
1573 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1574 esac
1575 ;;
1576 -* ) ac_must_keep_next=true ;;
1577 esac
1578 fi
1579 as_fn_append ac_configure_args " '$ac_arg'"
1580 ;;
1581 esac
1582 done
1583 done
1584 { ac_configure_args0=; unset ac_configure_args0;}
1585 { ac_configure_args1=; unset ac_configure_args1;}
1586
1587 # When interrupted or exit'd, cleanup temporary files, and complete
1588 # config.log. We remove comments because anyway the quotes in there
1589 # would cause problems or look ugly.
1590 # WARNING: Use '\'' to represent an apostrophe within the trap.
1591 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1592 trap 'exit_status=$?
1593 # Save into config.log some information that might help in debugging.
1594 {
1595 echo
1596
1597 $as_echo "## ---------------- ##
1598 ## Cache variables. ##
1599 ## ---------------- ##"
1600 echo
1601 # The following way of writing the cache mishandles newlines in values,
1602 (
1603 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1604 eval ac_val=\$$ac_var
1605 case $ac_val in #(
1606 *${as_nl}*)
1607 case $ac_var in #(
1608 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1609 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1610 esac
1611 case $ac_var in #(
1612 _ | IFS | as_nl) ;; #(
1613 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1614 *) { eval $ac_var=; unset $ac_var;} ;;
1615 esac ;;
1616 esac
1617 done
1618 (set) 2>&1 |
1619 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1620 *${as_nl}ac_space=\ *)
1621 sed -n \
1622 "s/'\''/'\''\\\\'\'''\''/g;
1623 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1624 ;; #(
1625 *)
1626 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1627 ;;
1628 esac |
1629 sort
1630 )
1631 echo
1632
1633 $as_echo "## ----------------- ##
1634 ## Output variables. ##
1635 ## ----------------- ##"
1636 echo
1637 for ac_var in $ac_subst_vars
1638 do
1639 eval ac_val=\$$ac_var
1640 case $ac_val in
1641 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1642 esac
1643 $as_echo "$ac_var='\''$ac_val'\''"
1644 done | sort
1645 echo
1646
1647 if test -n "$ac_subst_files"; then
1648 $as_echo "## ------------------- ##
1649 ## File substitutions. ##
1650 ## ------------------- ##"
1651 echo
1652 for ac_var in $ac_subst_files
1653 do
1654 eval ac_val=\$$ac_var
1655 case $ac_val in
1656 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1657 esac
1658 $as_echo "$ac_var='\''$ac_val'\''"
1659 done | sort
1660 echo
1661 fi
1662
1663 if test -s confdefs.h; then
1664 $as_echo "## ----------- ##
1665 ## confdefs.h. ##
1666 ## ----------- ##"
1667 echo
1668 cat confdefs.h
1669 echo
1670 fi
1671 test "$ac_signal" != 0 &&
1672 $as_echo "$as_me: caught signal $ac_signal"
1673 $as_echo "$as_me: exit $exit_status"
1674 } >&5
1675 rm -f core *.core core.conftest.* &&
1676 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1677 exit $exit_status
1678 ' 0
1679 for ac_signal in 1 2 13 15; do
1680 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1681 done
1682 ac_signal=0
1683
1684 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1685 rm -f -r conftest* confdefs.h
1686
1687 $as_echo "/* confdefs.h */" > confdefs.h
1688
1689 # Predefined preprocessor variables.
1690
1691 cat >>confdefs.h <<_ACEOF
1692 #define PACKAGE_NAME "$PACKAGE_NAME"
1693 _ACEOF
1694
1695 cat >>confdefs.h <<_ACEOF
1696 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1697 _ACEOF
1698
1699 cat >>confdefs.h <<_ACEOF
1700 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1701 _ACEOF
1702
1703 cat >>confdefs.h <<_ACEOF
1704 #define PACKAGE_STRING "$PACKAGE_STRING"
1705 _ACEOF
1706
1707 cat >>confdefs.h <<_ACEOF
1708 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1709 _ACEOF
1710
1711 cat >>confdefs.h <<_ACEOF
1712 #define PACKAGE_URL "$PACKAGE_URL"
1713 _ACEOF
1714
1715
1716 # Let the site file select an alternate cache file if it wants to.
1717 # Prefer an explicitly selected file to automatically selected ones.
1718 ac_site_file1=NONE
1719 ac_site_file2=NONE
1720 if test -n "$CONFIG_SITE"; then
1721 # We do not want a PATH search for config.site.
1722 case $CONFIG_SITE in #((
1723 -*) ac_site_file1=./$CONFIG_SITE;;
1724 */*) ac_site_file1=$CONFIG_SITE;;
1725 *) ac_site_file1=./$CONFIG_SITE;;
1726 esac
1727 elif test "x$prefix" != xNONE; then
1728 ac_site_file1=$prefix/share/config.site
1729 ac_site_file2=$prefix/etc/config.site
1730 else
1731 ac_site_file1=$ac_default_prefix/share/config.site
1732 ac_site_file2=$ac_default_prefix/etc/config.site
1733 fi
1734 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1735 do
1736 test "x$ac_site_file" = xNONE && continue
1737 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1739 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1740 sed 's/^/| /' "$ac_site_file" >&5
1741 . "$ac_site_file" \
1742 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1743 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1744 as_fn_error $? "failed to load site script $ac_site_file
1745 See \`config.log' for more details" "$LINENO" 5; }
1746 fi
1747 done
1748
1749 if test -r "$cache_file"; then
1750 # Some versions of bash will fail to source /dev/null (special files
1751 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1752 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1754 $as_echo "$as_me: loading cache $cache_file" >&6;}
1755 case $cache_file in
1756 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1757 *) . "./$cache_file";;
1758 esac
1759 fi
1760 else
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1762 $as_echo "$as_me: creating cache $cache_file" >&6;}
1763 >$cache_file
1764 fi
1765
1766 # Check that the precious variables saved in the cache have kept the same
1767 # value.
1768 ac_cache_corrupted=false
1769 for ac_var in $ac_precious_vars; do
1770 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1771 eval ac_new_set=\$ac_env_${ac_var}_set
1772 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1773 eval ac_new_val=\$ac_env_${ac_var}_value
1774 case $ac_old_set,$ac_new_set in
1775 set,)
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1777 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1778 ac_cache_corrupted=: ;;
1779 ,set)
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1781 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1782 ac_cache_corrupted=: ;;
1783 ,);;
1784 *)
1785 if test "x$ac_old_val" != "x$ac_new_val"; then
1786 # differences in whitespace do not lead to failure.
1787 ac_old_val_w=`echo x $ac_old_val`
1788 ac_new_val_w=`echo x $ac_new_val`
1789 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1791 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1792 ac_cache_corrupted=:
1793 else
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1795 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1796 eval $ac_var=\$ac_old_val
1797 fi
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1799 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1801 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1802 fi;;
1803 esac
1804 # Pass precious variables to config.status.
1805 if test "$ac_new_set" = set; then
1806 case $ac_new_val in
1807 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1808 *) ac_arg=$ac_var=$ac_new_val ;;
1809 esac
1810 case " $ac_configure_args " in
1811 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1812 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1813 esac
1814 fi
1815 done
1816 if $ac_cache_corrupted; then
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1818 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1820 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1821 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1822 fi
1823 ## -------------------- ##
1824 ## Main body of script. ##
1825 ## -------------------- ##
1826
1827 ac_ext=c
1828 ac_cpp='$CPP $CPPFLAGS'
1829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1832
1833
1834
1835
1836
1837
1838 ac_ext=c
1839 ac_cpp='$CPP $CPPFLAGS'
1840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1843 if test -n "$ac_tool_prefix"; then
1844 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1845 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1847 $as_echo_n "checking for $ac_word... " >&6; }
1848 if ${ac_cv_prog_CC+:} false; then :
1849 $as_echo_n "(cached) " >&6
1850 else
1851 if test -n "$CC"; then
1852 ac_cv_prog_CC="$CC" # Let the user override the test.
1853 else
1854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1855 for as_dir in $PATH
1856 do
1857 IFS=$as_save_IFS
1858 test -z "$as_dir" && as_dir=.
1859 for ac_exec_ext in '' $ac_executable_extensions; do
1860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1861 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1863 break 2
1864 fi
1865 done
1866 done
1867 IFS=$as_save_IFS
1868
1869 fi
1870 fi
1871 CC=$ac_cv_prog_CC
1872 if test -n "$CC"; then
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1874 $as_echo "$CC" >&6; }
1875 else
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1877 $as_echo "no" >&6; }
1878 fi
1879
1880
1881 fi
1882 if test -z "$ac_cv_prog_CC"; then
1883 ac_ct_CC=$CC
1884 # Extract the first word of "gcc", so it can be a program name with args.
1885 set dummy gcc; ac_word=$2
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1887 $as_echo_n "checking for $ac_word... " >&6; }
1888 if ${ac_cv_prog_ac_ct_CC+:} false; then :
1889 $as_echo_n "(cached) " >&6
1890 else
1891 if test -n "$ac_ct_CC"; then
1892 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1893 else
1894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1895 for as_dir in $PATH
1896 do
1897 IFS=$as_save_IFS
1898 test -z "$as_dir" && as_dir=.
1899 for ac_exec_ext in '' $ac_executable_extensions; do
1900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1901 ac_cv_prog_ac_ct_CC="gcc"
1902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1903 break 2
1904 fi
1905 done
1906 done
1907 IFS=$as_save_IFS
1908
1909 fi
1910 fi
1911 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1912 if test -n "$ac_ct_CC"; then
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1914 $as_echo "$ac_ct_CC" >&6; }
1915 else
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1917 $as_echo "no" >&6; }
1918 fi
1919
1920 if test "x$ac_ct_CC" = x; then
1921 CC=""
1922 else
1923 case $cross_compiling:$ac_tool_warned in
1924 yes:)
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1926 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1927 ac_tool_warned=yes ;;
1928 esac
1929 CC=$ac_ct_CC
1930 fi
1931 else
1932 CC="$ac_cv_prog_CC"
1933 fi
1934
1935 if test -z "$CC"; then
1936 if test -n "$ac_tool_prefix"; then
1937 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1938 set dummy ${ac_tool_prefix}cc; ac_word=$2
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1940 $as_echo_n "checking for $ac_word... " >&6; }
1941 if ${ac_cv_prog_CC+:} false; then :
1942 $as_echo_n "(cached) " >&6
1943 else
1944 if test -n "$CC"; then
1945 ac_cv_prog_CC="$CC" # Let the user override the test.
1946 else
1947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1948 for as_dir in $PATH
1949 do
1950 IFS=$as_save_IFS
1951 test -z "$as_dir" && as_dir=.
1952 for ac_exec_ext in '' $ac_executable_extensions; do
1953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1954 ac_cv_prog_CC="${ac_tool_prefix}cc"
1955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1956 break 2
1957 fi
1958 done
1959 done
1960 IFS=$as_save_IFS
1961
1962 fi
1963 fi
1964 CC=$ac_cv_prog_CC
1965 if test -n "$CC"; then
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1967 $as_echo "$CC" >&6; }
1968 else
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1970 $as_echo "no" >&6; }
1971 fi
1972
1973
1974 fi
1975 fi
1976 if test -z "$CC"; then
1977 # Extract the first word of "cc", so it can be a program name with args.
1978 set dummy cc; ac_word=$2
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1980 $as_echo_n "checking for $ac_word... " >&6; }
1981 if ${ac_cv_prog_CC+:} false; then :
1982 $as_echo_n "(cached) " >&6
1983 else
1984 if test -n "$CC"; then
1985 ac_cv_prog_CC="$CC" # Let the user override the test.
1986 else
1987 ac_prog_rejected=no
1988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1989 for as_dir in $PATH
1990 do
1991 IFS=$as_save_IFS
1992 test -z "$as_dir" && as_dir=.
1993 for ac_exec_ext in '' $ac_executable_extensions; do
1994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1995 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1996 ac_prog_rejected=yes
1997 continue
1998 fi
1999 ac_cv_prog_CC="cc"
2000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2001 break 2
2002 fi
2003 done
2004 done
2005 IFS=$as_save_IFS
2006
2007 if test $ac_prog_rejected = yes; then
2008 # We found a bogon in the path, so make sure we never use it.
2009 set dummy $ac_cv_prog_CC
2010 shift
2011 if test $# != 0; then
2012 # We chose a different compiler from the bogus one.
2013 # However, it has the same basename, so the bogon will be chosen
2014 # first if we set CC to just the basename; use the full file name.
2015 shift
2016 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2017 fi
2018 fi
2019 fi
2020 fi
2021 CC=$ac_cv_prog_CC
2022 if test -n "$CC"; then
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2024 $as_echo "$CC" >&6; }
2025 else
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2027 $as_echo "no" >&6; }
2028 fi
2029
2030
2031 fi
2032 if test -z "$CC"; then
2033 if test -n "$ac_tool_prefix"; then
2034 for ac_prog in cl.exe
2035 do
2036 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2037 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2039 $as_echo_n "checking for $ac_word... " >&6; }
2040 if ${ac_cv_prog_CC+:} false; then :
2041 $as_echo_n "(cached) " >&6
2042 else
2043 if test -n "$CC"; then
2044 ac_cv_prog_CC="$CC" # Let the user override the test.
2045 else
2046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2047 for as_dir in $PATH
2048 do
2049 IFS=$as_save_IFS
2050 test -z "$as_dir" && as_dir=.
2051 for ac_exec_ext in '' $ac_executable_extensions; do
2052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2053 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2055 break 2
2056 fi
2057 done
2058 done
2059 IFS=$as_save_IFS
2060
2061 fi
2062 fi
2063 CC=$ac_cv_prog_CC
2064 if test -n "$CC"; then
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2066 $as_echo "$CC" >&6; }
2067 else
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2069 $as_echo "no" >&6; }
2070 fi
2071
2072
2073 test -n "$CC" && break
2074 done
2075 fi
2076 if test -z "$CC"; then
2077 ac_ct_CC=$CC
2078 for ac_prog in cl.exe
2079 do
2080 # Extract the first word of "$ac_prog", so it can be a program name with args.
2081 set dummy $ac_prog; ac_word=$2
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2083 $as_echo_n "checking for $ac_word... " >&6; }
2084 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2085 $as_echo_n "(cached) " >&6
2086 else
2087 if test -n "$ac_ct_CC"; then
2088 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2089 else
2090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2091 for as_dir in $PATH
2092 do
2093 IFS=$as_save_IFS
2094 test -z "$as_dir" && as_dir=.
2095 for ac_exec_ext in '' $ac_executable_extensions; do
2096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2097 ac_cv_prog_ac_ct_CC="$ac_prog"
2098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2099 break 2
2100 fi
2101 done
2102 done
2103 IFS=$as_save_IFS
2104
2105 fi
2106 fi
2107 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2108 if test -n "$ac_ct_CC"; then
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2110 $as_echo "$ac_ct_CC" >&6; }
2111 else
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2113 $as_echo "no" >&6; }
2114 fi
2115
2116
2117 test -n "$ac_ct_CC" && break
2118 done
2119
2120 if test "x$ac_ct_CC" = x; then
2121 CC=""
2122 else
2123 case $cross_compiling:$ac_tool_warned in
2124 yes:)
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2126 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2127 ac_tool_warned=yes ;;
2128 esac
2129 CC=$ac_ct_CC
2130 fi
2131 fi
2132
2133 fi
2134
2135
2136 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2137 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2138 as_fn_error $? "no acceptable C compiler found in \$PATH
2139 See \`config.log' for more details" "$LINENO" 5; }
2140
2141 # Provide some information about the compiler.
2142 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2143 set X $ac_compile
2144 ac_compiler=$2
2145 for ac_option in --version -v -V -qversion; do
2146 { { ac_try="$ac_compiler $ac_option >&5"
2147 case "(($ac_try" in
2148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2149 *) ac_try_echo=$ac_try;;
2150 esac
2151 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2152 $as_echo "$ac_try_echo"; } >&5
2153 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2154 ac_status=$?
2155 if test -s conftest.err; then
2156 sed '10a\
2157 ... rest of stderr output deleted ...
2158 10q' conftest.err >conftest.er1
2159 cat conftest.er1 >&5
2160 fi
2161 rm -f conftest.er1 conftest.err
2162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2163 test $ac_status = 0; }
2164 done
2165
2166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2167 /* end confdefs.h. */
2168
2169 int
2170 main ()
2171 {
2172
2173 ;
2174 return 0;
2175 }
2176 _ACEOF
2177 ac_clean_files_save=$ac_clean_files
2178 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2179 # Try to create an executable without -o first, disregard a.out.
2180 # It will help us diagnose broken compilers, and finding out an intuition
2181 # of exeext.
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2183 $as_echo_n "checking whether the C compiler works... " >&6; }
2184 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2185
2186 # The possible output files:
2187 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2188
2189 ac_rmfiles=
2190 for ac_file in $ac_files
2191 do
2192 case $ac_file in
2193 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2194 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2195 esac
2196 done
2197 rm -f $ac_rmfiles
2198
2199 if { { ac_try="$ac_link_default"
2200 case "(($ac_try" in
2201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2202 *) ac_try_echo=$ac_try;;
2203 esac
2204 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2205 $as_echo "$ac_try_echo"; } >&5
2206 (eval "$ac_link_default") 2>&5
2207 ac_status=$?
2208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2209 test $ac_status = 0; }; then :
2210 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2211 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2212 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2213 # so that the user can short-circuit this test for compilers unknown to
2214 # Autoconf.
2215 for ac_file in $ac_files ''
2216 do
2217 test -f "$ac_file" || continue
2218 case $ac_file in
2219 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2220 ;;
2221 [ab].out )
2222 # We found the default executable, but exeext='' is most
2223 # certainly right.
2224 break;;
2225 *.* )
2226 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2227 then :; else
2228 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2229 fi
2230 # We set ac_cv_exeext here because the later test for it is not
2231 # safe: cross compilers may not add the suffix if given an `-o'
2232 # argument, so we may need to know it at that point already.
2233 # Even if this section looks crufty: it has the advantage of
2234 # actually working.
2235 break;;
2236 * )
2237 break;;
2238 esac
2239 done
2240 test "$ac_cv_exeext" = no && ac_cv_exeext=
2241
2242 else
2243 ac_file=''
2244 fi
2245 if test -z "$ac_file"; then :
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2247 $as_echo "no" >&6; }
2248 $as_echo "$as_me: failed program was:" >&5
2249 sed 's/^/| /' conftest.$ac_ext >&5
2250
2251 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2253 as_fn_error 77 "C compiler cannot create executables
2254 See \`config.log' for more details" "$LINENO" 5; }
2255 else
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2257 $as_echo "yes" >&6; }
2258 fi
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2260 $as_echo_n "checking for C compiler default output file name... " >&6; }
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2262 $as_echo "$ac_file" >&6; }
2263 ac_exeext=$ac_cv_exeext
2264
2265 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2266 ac_clean_files=$ac_clean_files_save
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2268 $as_echo_n "checking for suffix of executables... " >&6; }
2269 if { { ac_try="$ac_link"
2270 case "(($ac_try" in
2271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2272 *) ac_try_echo=$ac_try;;
2273 esac
2274 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2275 $as_echo "$ac_try_echo"; } >&5
2276 (eval "$ac_link") 2>&5
2277 ac_status=$?
2278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2279 test $ac_status = 0; }; then :
2280 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2281 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2282 # work properly (i.e., refer to `conftest.exe'), while it won't with
2283 # `rm'.
2284 for ac_file in conftest.exe conftest conftest.*; do
2285 test -f "$ac_file" || continue
2286 case $ac_file in
2287 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2288 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2289 break;;
2290 * ) break;;
2291 esac
2292 done
2293 else
2294 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2295 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2296 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2297 See \`config.log' for more details" "$LINENO" 5; }
2298 fi
2299 rm -f conftest conftest$ac_cv_exeext
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2301 $as_echo "$ac_cv_exeext" >&6; }
2302
2303 rm -f conftest.$ac_ext
2304 EXEEXT=$ac_cv_exeext
2305 ac_exeext=$EXEEXT
2306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2307 /* end confdefs.h. */
2308 #include <stdio.h>
2309 int
2310 main ()
2311 {
2312 FILE *f = fopen ("conftest.out", "w");
2313 return ferror (f) || fclose (f) != 0;
2314
2315 ;
2316 return 0;
2317 }
2318 _ACEOF
2319 ac_clean_files="$ac_clean_files conftest.out"
2320 # Check that the compiler produces executables we can run. If not, either
2321 # the compiler is broken, or we cross compile.
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2323 $as_echo_n "checking whether we are cross compiling... " >&6; }
2324 if test "$cross_compiling" != yes; then
2325 { { ac_try="$ac_link"
2326 case "(($ac_try" in
2327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2328 *) ac_try_echo=$ac_try;;
2329 esac
2330 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2331 $as_echo "$ac_try_echo"; } >&5
2332 (eval "$ac_link") 2>&5
2333 ac_status=$?
2334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2335 test $ac_status = 0; }
2336 if { ac_try='./conftest$ac_cv_exeext'
2337 { { case "(($ac_try" in
2338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2339 *) ac_try_echo=$ac_try;;
2340 esac
2341 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2342 $as_echo "$ac_try_echo"; } >&5
2343 (eval "$ac_try") 2>&5
2344 ac_status=$?
2345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2346 test $ac_status = 0; }; }; then
2347 cross_compiling=no
2348 else
2349 if test "$cross_compiling" = maybe; then
2350 cross_compiling=yes
2351 else
2352 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2353 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2354 as_fn_error $? "cannot run C compiled programs.
2355 If you meant to cross compile, use \`--host'.
2356 See \`config.log' for more details" "$LINENO" 5; }
2357 fi
2358 fi
2359 fi
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2361 $as_echo "$cross_compiling" >&6; }
2362
2363 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2364 ac_clean_files=$ac_clean_files_save
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2366 $as_echo_n "checking for suffix of object files... " >&6; }
2367 if ${ac_cv_objext+:} false; then :
2368 $as_echo_n "(cached) " >&6
2369 else
2370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2371 /* end confdefs.h. */
2372
2373 int
2374 main ()
2375 {
2376
2377 ;
2378 return 0;
2379 }
2380 _ACEOF
2381 rm -f conftest.o conftest.obj
2382 if { { ac_try="$ac_compile"
2383 case "(($ac_try" in
2384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2385 *) ac_try_echo=$ac_try;;
2386 esac
2387 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2388 $as_echo "$ac_try_echo"; } >&5
2389 (eval "$ac_compile") 2>&5
2390 ac_status=$?
2391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2392 test $ac_status = 0; }; then :
2393 for ac_file in conftest.o conftest.obj conftest.*; do
2394 test -f "$ac_file" || continue;
2395 case $ac_file in
2396 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2397 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2398 break;;
2399 esac
2400 done
2401 else
2402 $as_echo "$as_me: failed program was:" >&5
2403 sed 's/^/| /' conftest.$ac_ext >&5
2404
2405 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2406 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2407 as_fn_error $? "cannot compute suffix of object files: cannot compile
2408 See \`config.log' for more details" "$LINENO" 5; }
2409 fi
2410 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2411 fi
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2413 $as_echo "$ac_cv_objext" >&6; }
2414 OBJEXT=$ac_cv_objext
2415 ac_objext=$OBJEXT
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2417 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2418 if ${ac_cv_c_compiler_gnu+:} false; then :
2419 $as_echo_n "(cached) " >&6
2420 else
2421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2422 /* end confdefs.h. */
2423
2424 int
2425 main ()
2426 {
2427 #ifndef __GNUC__
2428 choke me
2429 #endif
2430
2431 ;
2432 return 0;
2433 }
2434 _ACEOF
2435 if ac_fn_c_try_compile "$LINENO"; then :
2436 ac_compiler_gnu=yes
2437 else
2438 ac_compiler_gnu=no
2439 fi
2440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2441 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2442
2443 fi
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2445 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2446 if test $ac_compiler_gnu = yes; then
2447 GCC=yes
2448 else
2449 GCC=
2450 fi
2451 ac_test_CFLAGS=${CFLAGS+set}
2452 ac_save_CFLAGS=$CFLAGS
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2454 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2455 if ${ac_cv_prog_cc_g+:} false; then :
2456 $as_echo_n "(cached) " >&6
2457 else
2458 ac_save_c_werror_flag=$ac_c_werror_flag
2459 ac_c_werror_flag=yes
2460 ac_cv_prog_cc_g=no
2461 CFLAGS="-g"
2462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2463 /* end confdefs.h. */
2464
2465 int
2466 main ()
2467 {
2468
2469 ;
2470 return 0;
2471 }
2472 _ACEOF
2473 if ac_fn_c_try_compile "$LINENO"; then :
2474 ac_cv_prog_cc_g=yes
2475 else
2476 CFLAGS=""
2477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2478 /* end confdefs.h. */
2479
2480 int
2481 main ()
2482 {
2483
2484 ;
2485 return 0;
2486 }
2487 _ACEOF
2488 if ac_fn_c_try_compile "$LINENO"; then :
2489
2490 else
2491 ac_c_werror_flag=$ac_save_c_werror_flag
2492 CFLAGS="-g"
2493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2494 /* end confdefs.h. */
2495
2496 int
2497 main ()
2498 {
2499
2500 ;
2501 return 0;
2502 }
2503 _ACEOF
2504 if ac_fn_c_try_compile "$LINENO"; then :
2505 ac_cv_prog_cc_g=yes
2506 fi
2507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2508 fi
2509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2510 fi
2511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2512 ac_c_werror_flag=$ac_save_c_werror_flag
2513 fi
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2515 $as_echo "$ac_cv_prog_cc_g" >&6; }
2516 if test "$ac_test_CFLAGS" = set; then
2517 CFLAGS=$ac_save_CFLAGS
2518 elif test $ac_cv_prog_cc_g = yes; then
2519 if test "$GCC" = yes; then
2520 CFLAGS="-g -O2"
2521 else
2522 CFLAGS="-g"
2523 fi
2524 else
2525 if test "$GCC" = yes; then
2526 CFLAGS="-O2"
2527 else
2528 CFLAGS=
2529 fi
2530 fi
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2532 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2533 if ${ac_cv_prog_cc_c89+:} false; then :
2534 $as_echo_n "(cached) " >&6
2535 else
2536 ac_cv_prog_cc_c89=no
2537 ac_save_CC=$CC
2538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2539 /* end confdefs.h. */
2540 #include <stdarg.h>
2541 #include <stdio.h>
2542 struct stat;
2543 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2544 struct buf { int x; };
2545 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2546 static char *e (p, i)
2547 char **p;
2548 int i;
2549 {
2550 return p[i];
2551 }
2552 static char *f (char * (*g) (char **, int), char **p, ...)
2553 {
2554 char *s;
2555 va_list v;
2556 va_start (v,p);
2557 s = g (p, va_arg (v,int));
2558 va_end (v);
2559 return s;
2560 }
2561
2562 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2563 function prototypes and stuff, but not '\xHH' hex character constants.
2564 These don't provoke an error unfortunately, instead are silently treated
2565 as 'x'. The following induces an error, until -std is added to get
2566 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2567 array size at least. It's necessary to write '\x00'==0 to get something
2568 that's true only with -std. */
2569 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2570
2571 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2572 inside strings and character constants. */
2573 #define FOO(x) 'x'
2574 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2575
2576 int test (int i, double x);
2577 struct s1 {int (*f) (int a);};
2578 struct s2 {int (*f) (double a);};
2579 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2580 int argc;
2581 char **argv;
2582 int
2583 main ()
2584 {
2585 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2586 ;
2587 return 0;
2588 }
2589 _ACEOF
2590 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2591 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2592 do
2593 CC="$ac_save_CC $ac_arg"
2594 if ac_fn_c_try_compile "$LINENO"; then :
2595 ac_cv_prog_cc_c89=$ac_arg
2596 fi
2597 rm -f core conftest.err conftest.$ac_objext
2598 test "x$ac_cv_prog_cc_c89" != "xno" && break
2599 done
2600 rm -f conftest.$ac_ext
2601 CC=$ac_save_CC
2602
2603 fi
2604 # AC_CACHE_VAL
2605 case "x$ac_cv_prog_cc_c89" in
2606 x)
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2608 $as_echo "none needed" >&6; } ;;
2609 xno)
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2611 $as_echo "unsupported" >&6; } ;;
2612 *)
2613 CC="$CC $ac_cv_prog_cc_c89"
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2615 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2616 esac
2617 if test "x$ac_cv_prog_cc_c89" != xno; then :
2618
2619 fi
2620
2621 ac_ext=c
2622 ac_cpp='$CPP $CPPFLAGS'
2623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2626
2627 ac_aux_dir=
2628 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2629 if test -f "$ac_dir/install-sh"; then
2630 ac_aux_dir=$ac_dir
2631 ac_install_sh="$ac_aux_dir/install-sh -c"
2632 break
2633 elif test -f "$ac_dir/install.sh"; then
2634 ac_aux_dir=$ac_dir
2635 ac_install_sh="$ac_aux_dir/install.sh -c"
2636 break
2637 elif test -f "$ac_dir/shtool"; then
2638 ac_aux_dir=$ac_dir
2639 ac_install_sh="$ac_aux_dir/shtool install -c"
2640 break
2641 fi
2642 done
2643 if test -z "$ac_aux_dir"; then
2644 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2645 fi
2646
2647 # These three variables are undocumented and unsupported,
2648 # and are intended to be withdrawn in a future Autoconf release.
2649 # They can cause serious problems if a builder's source tree is in a directory
2650 # whose full name contains unusual characters.
2651 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2652 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2653 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2654
2655
2656 # Find a good install program. We prefer a C program (faster),
2657 # so one script is as good as another. But avoid the broken or
2658 # incompatible versions:
2659 # SysV /etc/install, /usr/sbin/install
2660 # SunOS /usr/etc/install
2661 # IRIX /sbin/install
2662 # AIX /bin/install
2663 # AmigaOS /C/install, which installs bootblocks on floppy discs
2664 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2665 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2666 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2667 # OS/2's system install, which has a completely different semantic
2668 # ./install, which can be erroneously created by make from ./install.sh.
2669 # Reject install programs that cannot install multiple files.
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2671 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2672 if test -z "$INSTALL"; then
2673 if ${ac_cv_path_install+:} false; then :
2674 $as_echo_n "(cached) " >&6
2675 else
2676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2677 for as_dir in $PATH
2678 do
2679 IFS=$as_save_IFS
2680 test -z "$as_dir" && as_dir=.
2681 # Account for people who put trailing slashes in PATH elements.
2682 case $as_dir/ in #((
2683 ./ | .// | /[cC]/* | \
2684 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2685 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2686 /usr/ucb/* ) ;;
2687 *)
2688 # OSF1 and SCO ODT 3.0 have their own names for install.
2689 # Don't use installbsd from OSF since it installs stuff as root
2690 # by default.
2691 for ac_prog in ginstall scoinst install; do
2692 for ac_exec_ext in '' $ac_executable_extensions; do
2693 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2694 if test $ac_prog = install &&
2695 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2696 # AIX install. It has an incompatible calling convention.
2697 :
2698 elif test $ac_prog = install &&
2699 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2700 # program-specific install script used by HP pwplus--don't use.
2701 :
2702 else
2703 rm -rf conftest.one conftest.two conftest.dir
2704 echo one > conftest.one
2705 echo two > conftest.two
2706 mkdir conftest.dir
2707 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2708 test -s conftest.one && test -s conftest.two &&
2709 test -s conftest.dir/conftest.one &&
2710 test -s conftest.dir/conftest.two
2711 then
2712 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2713 break 3
2714 fi
2715 fi
2716 fi
2717 done
2718 done
2719 ;;
2720 esac
2721
2722 done
2723 IFS=$as_save_IFS
2724
2725 rm -rf conftest.one conftest.two conftest.dir
2726
2727 fi
2728 if test "${ac_cv_path_install+set}" = set; then
2729 INSTALL=$ac_cv_path_install
2730 else
2731 # As a last resort, use the slow shell script. Don't cache a
2732 # value for INSTALL within a source directory, because that will
2733 # break other packages using the cache if that directory is
2734 # removed, or if the value is a relative name.
2735 INSTALL=$ac_install_sh
2736 fi
2737 fi
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2739 $as_echo "$INSTALL" >&6; }
2740
2741 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2742 # It thinks the first close brace ends the variable substitution.
2743 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2744
2745 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2746
2747 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2748
2749 if test -n "$ac_tool_prefix"; then
2750 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2751 set dummy ${ac_tool_prefix}ar; ac_word=$2
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2753 $as_echo_n "checking for $ac_word... " >&6; }
2754 if ${ac_cv_prog_AR+:} false; then :
2755 $as_echo_n "(cached) " >&6
2756 else
2757 if test -n "$AR"; then
2758 ac_cv_prog_AR="$AR" # Let the user override the test.
2759 else
2760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2761 for as_dir in $PATH
2762 do
2763 IFS=$as_save_IFS
2764 test -z "$as_dir" && as_dir=.
2765 for ac_exec_ext in '' $ac_executable_extensions; do
2766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2767 ac_cv_prog_AR="${ac_tool_prefix}ar"
2768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2769 break 2
2770 fi
2771 done
2772 done
2773 IFS=$as_save_IFS
2774
2775 fi
2776 fi
2777 AR=$ac_cv_prog_AR
2778 if test -n "$AR"; then
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2780 $as_echo "$AR" >&6; }
2781 else
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2783 $as_echo "no" >&6; }
2784 fi
2785
2786
2787 fi
2788 if test -z "$ac_cv_prog_AR"; then
2789 ac_ct_AR=$AR
2790 # Extract the first word of "ar", so it can be a program name with args.
2791 set dummy ar; ac_word=$2
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2793 $as_echo_n "checking for $ac_word... " >&6; }
2794 if ${ac_cv_prog_ac_ct_AR+:} false; then :
2795 $as_echo_n "(cached) " >&6
2796 else
2797 if test -n "$ac_ct_AR"; then
2798 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2799 else
2800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2801 for as_dir in $PATH
2802 do
2803 IFS=$as_save_IFS
2804 test -z "$as_dir" && as_dir=.
2805 for ac_exec_ext in '' $ac_executable_extensions; do
2806 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2807 ac_cv_prog_ac_ct_AR="ar"
2808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2809 break 2
2810 fi
2811 done
2812 done
2813 IFS=$as_save_IFS
2814
2815 fi
2816 fi
2817 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2818 if test -n "$ac_ct_AR"; then
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2820 $as_echo "$ac_ct_AR" >&6; }
2821 else
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2823 $as_echo "no" >&6; }
2824 fi
2825
2826 if test "x$ac_ct_AR" = x; then
2827 AR=""
2828 else
2829 case $cross_compiling:$ac_tool_warned in
2830 yes:)
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2832 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2833 ac_tool_warned=yes ;;
2834 esac
2835 AR=$ac_ct_AR
2836 fi
2837 else
2838 AR="$ac_cv_prog_AR"
2839 fi
2840
2841 if test -n "$ac_tool_prefix"; then
2842 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2843 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2845 $as_echo_n "checking for $ac_word... " >&6; }
2846 if ${ac_cv_prog_RANLIB+:} false; then :
2847 $as_echo_n "(cached) " >&6
2848 else
2849 if test -n "$RANLIB"; then
2850 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2851 else
2852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2853 for as_dir in $PATH
2854 do
2855 IFS=$as_save_IFS
2856 test -z "$as_dir" && as_dir=.
2857 for ac_exec_ext in '' $ac_executable_extensions; do
2858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2859 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2861 break 2
2862 fi
2863 done
2864 done
2865 IFS=$as_save_IFS
2866
2867 fi
2868 fi
2869 RANLIB=$ac_cv_prog_RANLIB
2870 if test -n "$RANLIB"; then
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2872 $as_echo "$RANLIB" >&6; }
2873 else
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2875 $as_echo "no" >&6; }
2876 fi
2877
2878
2879 fi
2880 if test -z "$ac_cv_prog_RANLIB"; then
2881 ac_ct_RANLIB=$RANLIB
2882 # Extract the first word of "ranlib", so it can be a program name with args.
2883 set dummy ranlib; ac_word=$2
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2885 $as_echo_n "checking for $ac_word... " >&6; }
2886 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
2887 $as_echo_n "(cached) " >&6
2888 else
2889 if test -n "$ac_ct_RANLIB"; then
2890 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2891 else
2892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2893 for as_dir in $PATH
2894 do
2895 IFS=$as_save_IFS
2896 test -z "$as_dir" && as_dir=.
2897 for ac_exec_ext in '' $ac_executable_extensions; do
2898 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2899 ac_cv_prog_ac_ct_RANLIB="ranlib"
2900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2901 break 2
2902 fi
2903 done
2904 done
2905 IFS=$as_save_IFS
2906
2907 fi
2908 fi
2909 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2910 if test -n "$ac_ct_RANLIB"; then
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2912 $as_echo "$ac_ct_RANLIB" >&6; }
2913 else
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2915 $as_echo "no" >&6; }
2916 fi
2917
2918 if test "x$ac_ct_RANLIB" = x; then
2919 RANLIB=":"
2920 else
2921 case $cross_compiling:$ac_tool_warned in
2922 yes:)
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2924 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2925 ac_tool_warned=yes ;;
2926 esac
2927 RANLIB=$ac_ct_RANLIB
2928 fi
2929 else
2930 RANLIB="$ac_cv_prog_RANLIB"
2931 fi
2932
2933
2934 # Make sure we can run config.sub.
2935 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2936 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2937
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2939 $as_echo_n "checking build system type... " >&6; }
2940 if ${ac_cv_build+:} false; then :
2941 $as_echo_n "(cached) " >&6
2942 else
2943 ac_build_alias=$build_alias
2944 test "x$ac_build_alias" = x &&
2945 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2946 test "x$ac_build_alias" = x &&
2947 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2948 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2949 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2950
2951 fi
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2953 $as_echo "$ac_cv_build" >&6; }
2954 case $ac_cv_build in
2955 *-*-*) ;;
2956 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2957 esac
2958 build=$ac_cv_build
2959 ac_save_IFS=$IFS; IFS='-'
2960 set x $ac_cv_build
2961 shift
2962 build_cpu=$1
2963 build_vendor=$2
2964 shift; shift
2965 # Remember, the first character of IFS is used to create $*,
2966 # except with old shells:
2967 build_os=$*
2968 IFS=$ac_save_IFS
2969 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2970
2971
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2973 $as_echo_n "checking host system type... " >&6; }
2974 if ${ac_cv_host+:} false; then :
2975 $as_echo_n "(cached) " >&6
2976 else
2977 if test "x$host_alias" = x; then
2978 ac_cv_host=$ac_cv_build
2979 else
2980 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2981 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2982 fi
2983
2984 fi
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2986 $as_echo "$ac_cv_host" >&6; }
2987 case $ac_cv_host in
2988 *-*-*) ;;
2989 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2990 esac
2991 host=$ac_cv_host
2992 ac_save_IFS=$IFS; IFS='-'
2993 set x $ac_cv_host
2994 shift
2995 host_cpu=$1
2996 host_vendor=$2
2997 shift; shift
2998 # Remember, the first character of IFS is used to create $*,
2999 # except with old shells:
3000 host_os=$*
3001 IFS=$ac_save_IFS
3002 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3003
3004
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3006 $as_echo_n "checking target system type... " >&6; }
3007 if ${ac_cv_target+:} false; then :
3008 $as_echo_n "(cached) " >&6
3009 else
3010 if test "x$target_alias" = x; then
3011 ac_cv_target=$ac_cv_host
3012 else
3013 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3014 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3015 fi
3016
3017 fi
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3019 $as_echo "$ac_cv_target" >&6; }
3020 case $ac_cv_target in
3021 *-*-*) ;;
3022 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3023 esac
3024 target=$ac_cv_target
3025 ac_save_IFS=$IFS; IFS='-'
3026 set x $ac_cv_target
3027 shift
3028 target_cpu=$1
3029 target_vendor=$2
3030 shift; shift
3031 # Remember, the first character of IFS is used to create $*,
3032 # except with old shells:
3033 target_os=$*
3034 IFS=$ac_save_IFS
3035 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3036
3037
3038 # The aliases save the names the user supplied, while $host etc.
3039 # will get canonicalized.
3040 test -n "$target_alias" &&
3041 test "$program_prefix$program_suffix$program_transform_name" = \
3042 NONENONEs,x,x, &&
3043 program_prefix=${target_alias}-
3044
3045 test "$program_prefix" != NONE &&
3046 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3047 # Use a double $ so make ignores it.
3048 test "$program_suffix" != NONE &&
3049 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3050 # Double any \ or $.
3051 # By default was `s,x,x', remove it if useless.
3052 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3053 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3054
3055 ac_ext=c
3056 ac_cpp='$CPP $CPPFLAGS'
3057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3060 if test -n "$ac_tool_prefix"; then
3061 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3062 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3064 $as_echo_n "checking for $ac_word... " >&6; }
3065 if ${ac_cv_prog_CC+:} false; then :
3066 $as_echo_n "(cached) " >&6
3067 else
3068 if test -n "$CC"; then
3069 ac_cv_prog_CC="$CC" # Let the user override the test.
3070 else
3071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3072 for as_dir in $PATH
3073 do
3074 IFS=$as_save_IFS
3075 test -z "$as_dir" && as_dir=.
3076 for ac_exec_ext in '' $ac_executable_extensions; do
3077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3078 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3080 break 2
3081 fi
3082 done
3083 done
3084 IFS=$as_save_IFS
3085
3086 fi
3087 fi
3088 CC=$ac_cv_prog_CC
3089 if test -n "$CC"; then
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3091 $as_echo "$CC" >&6; }
3092 else
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3094 $as_echo "no" >&6; }
3095 fi
3096
3097
3098 fi
3099 if test -z "$ac_cv_prog_CC"; then
3100 ac_ct_CC=$CC
3101 # Extract the first word of "gcc", so it can be a program name with args.
3102 set dummy gcc; ac_word=$2
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3104 $as_echo_n "checking for $ac_word... " >&6; }
3105 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3106 $as_echo_n "(cached) " >&6
3107 else
3108 if test -n "$ac_ct_CC"; then
3109 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3110 else
3111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3112 for as_dir in $PATH
3113 do
3114 IFS=$as_save_IFS
3115 test -z "$as_dir" && as_dir=.
3116 for ac_exec_ext in '' $ac_executable_extensions; do
3117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3118 ac_cv_prog_ac_ct_CC="gcc"
3119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3120 break 2
3121 fi
3122 done
3123 done
3124 IFS=$as_save_IFS
3125
3126 fi
3127 fi
3128 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3129 if test -n "$ac_ct_CC"; then
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3131 $as_echo "$ac_ct_CC" >&6; }
3132 else
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3134 $as_echo "no" >&6; }
3135 fi
3136
3137 if test "x$ac_ct_CC" = x; then
3138 CC=""
3139 else
3140 case $cross_compiling:$ac_tool_warned in
3141 yes:)
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3143 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3144 ac_tool_warned=yes ;;
3145 esac
3146 CC=$ac_ct_CC
3147 fi
3148 else
3149 CC="$ac_cv_prog_CC"
3150 fi
3151
3152 if test -z "$CC"; then
3153 if test -n "$ac_tool_prefix"; then
3154 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3155 set dummy ${ac_tool_prefix}cc; ac_word=$2
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3157 $as_echo_n "checking for $ac_word... " >&6; }
3158 if ${ac_cv_prog_CC+:} false; then :
3159 $as_echo_n "(cached) " >&6
3160 else
3161 if test -n "$CC"; then
3162 ac_cv_prog_CC="$CC" # Let the user override the test.
3163 else
3164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3165 for as_dir in $PATH
3166 do
3167 IFS=$as_save_IFS
3168 test -z "$as_dir" && as_dir=.
3169 for ac_exec_ext in '' $ac_executable_extensions; do
3170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3171 ac_cv_prog_CC="${ac_tool_prefix}cc"
3172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3173 break 2
3174 fi
3175 done
3176 done
3177 IFS=$as_save_IFS
3178
3179 fi
3180 fi
3181 CC=$ac_cv_prog_CC
3182 if test -n "$CC"; then
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3184 $as_echo "$CC" >&6; }
3185 else
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3187 $as_echo "no" >&6; }
3188 fi
3189
3190
3191 fi
3192 fi
3193 if test -z "$CC"; then
3194 # Extract the first word of "cc", so it can be a program name with args.
3195 set dummy cc; ac_word=$2
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3197 $as_echo_n "checking for $ac_word... " >&6; }
3198 if ${ac_cv_prog_CC+:} false; then :
3199 $as_echo_n "(cached) " >&6
3200 else
3201 if test -n "$CC"; then
3202 ac_cv_prog_CC="$CC" # Let the user override the test.
3203 else
3204 ac_prog_rejected=no
3205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3206 for as_dir in $PATH
3207 do
3208 IFS=$as_save_IFS
3209 test -z "$as_dir" && as_dir=.
3210 for ac_exec_ext in '' $ac_executable_extensions; do
3211 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3212 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3213 ac_prog_rejected=yes
3214 continue
3215 fi
3216 ac_cv_prog_CC="cc"
3217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3218 break 2
3219 fi
3220 done
3221 done
3222 IFS=$as_save_IFS
3223
3224 if test $ac_prog_rejected = yes; then
3225 # We found a bogon in the path, so make sure we never use it.
3226 set dummy $ac_cv_prog_CC
3227 shift
3228 if test $# != 0; then
3229 # We chose a different compiler from the bogus one.
3230 # However, it has the same basename, so the bogon will be chosen
3231 # first if we set CC to just the basename; use the full file name.
3232 shift
3233 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3234 fi
3235 fi
3236 fi
3237 fi
3238 CC=$ac_cv_prog_CC
3239 if test -n "$CC"; then
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3241 $as_echo "$CC" >&6; }
3242 else
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3244 $as_echo "no" >&6; }
3245 fi
3246
3247
3248 fi
3249 if test -z "$CC"; then
3250 if test -n "$ac_tool_prefix"; then
3251 for ac_prog in cl.exe
3252 do
3253 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3254 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3256 $as_echo_n "checking for $ac_word... " >&6; }
3257 if ${ac_cv_prog_CC+:} false; then :
3258 $as_echo_n "(cached) " >&6
3259 else
3260 if test -n "$CC"; then
3261 ac_cv_prog_CC="$CC" # Let the user override the test.
3262 else
3263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3264 for as_dir in $PATH
3265 do
3266 IFS=$as_save_IFS
3267 test -z "$as_dir" && as_dir=.
3268 for ac_exec_ext in '' $ac_executable_extensions; do
3269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3270 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3272 break 2
3273 fi
3274 done
3275 done
3276 IFS=$as_save_IFS
3277
3278 fi
3279 fi
3280 CC=$ac_cv_prog_CC
3281 if test -n "$CC"; then
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3283 $as_echo "$CC" >&6; }
3284 else
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3286 $as_echo "no" >&6; }
3287 fi
3288
3289
3290 test -n "$CC" && break
3291 done
3292 fi
3293 if test -z "$CC"; then
3294 ac_ct_CC=$CC
3295 for ac_prog in cl.exe
3296 do
3297 # Extract the first word of "$ac_prog", so it can be a program name with args.
3298 set dummy $ac_prog; ac_word=$2
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3300 $as_echo_n "checking for $ac_word... " >&6; }
3301 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3302 $as_echo_n "(cached) " >&6
3303 else
3304 if test -n "$ac_ct_CC"; then
3305 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3306 else
3307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3308 for as_dir in $PATH
3309 do
3310 IFS=$as_save_IFS
3311 test -z "$as_dir" && as_dir=.
3312 for ac_exec_ext in '' $ac_executable_extensions; do
3313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3314 ac_cv_prog_ac_ct_CC="$ac_prog"
3315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3316 break 2
3317 fi
3318 done
3319 done
3320 IFS=$as_save_IFS
3321
3322 fi
3323 fi
3324 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3325 if test -n "$ac_ct_CC"; then
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3327 $as_echo "$ac_ct_CC" >&6; }
3328 else
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3330 $as_echo "no" >&6; }
3331 fi
3332
3333
3334 test -n "$ac_ct_CC" && break
3335 done
3336
3337 if test "x$ac_ct_CC" = x; then
3338 CC=""
3339 else
3340 case $cross_compiling:$ac_tool_warned in
3341 yes:)
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3344 ac_tool_warned=yes ;;
3345 esac
3346 CC=$ac_ct_CC
3347 fi
3348 fi
3349
3350 fi
3351
3352
3353 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3354 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3355 as_fn_error $? "no acceptable C compiler found in \$PATH
3356 See \`config.log' for more details" "$LINENO" 5; }
3357
3358 # Provide some information about the compiler.
3359 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3360 set X $ac_compile
3361 ac_compiler=$2
3362 for ac_option in --version -v -V -qversion; do
3363 { { ac_try="$ac_compiler $ac_option >&5"
3364 case "(($ac_try" in
3365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3366 *) ac_try_echo=$ac_try;;
3367 esac
3368 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3369 $as_echo "$ac_try_echo"; } >&5
3370 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3371 ac_status=$?
3372 if test -s conftest.err; then
3373 sed '10a\
3374 ... rest of stderr output deleted ...
3375 10q' conftest.err >conftest.er1
3376 cat conftest.er1 >&5
3377 fi
3378 rm -f conftest.er1 conftest.err
3379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3380 test $ac_status = 0; }
3381 done
3382
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3384 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3385 if ${ac_cv_c_compiler_gnu+:} false; then :
3386 $as_echo_n "(cached) " >&6
3387 else
3388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3389 /* end confdefs.h. */
3390
3391 int
3392 main ()
3393 {
3394 #ifndef __GNUC__
3395 choke me
3396 #endif
3397
3398 ;
3399 return 0;
3400 }
3401 _ACEOF
3402 if ac_fn_c_try_compile "$LINENO"; then :
3403 ac_compiler_gnu=yes
3404 else
3405 ac_compiler_gnu=no
3406 fi
3407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3408 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3409
3410 fi
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3412 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3413 if test $ac_compiler_gnu = yes; then
3414 GCC=yes
3415 else
3416 GCC=
3417 fi
3418 ac_test_CFLAGS=${CFLAGS+set}
3419 ac_save_CFLAGS=$CFLAGS
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3421 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3422 if ${ac_cv_prog_cc_g+:} false; then :
3423 $as_echo_n "(cached) " >&6
3424 else
3425 ac_save_c_werror_flag=$ac_c_werror_flag
3426 ac_c_werror_flag=yes
3427 ac_cv_prog_cc_g=no
3428 CFLAGS="-g"
3429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3430 /* end confdefs.h. */
3431
3432 int
3433 main ()
3434 {
3435
3436 ;
3437 return 0;
3438 }
3439 _ACEOF
3440 if ac_fn_c_try_compile "$LINENO"; then :
3441 ac_cv_prog_cc_g=yes
3442 else
3443 CFLAGS=""
3444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3445 /* end confdefs.h. */
3446
3447 int
3448 main ()
3449 {
3450
3451 ;
3452 return 0;
3453 }
3454 _ACEOF
3455 if ac_fn_c_try_compile "$LINENO"; then :
3456
3457 else
3458 ac_c_werror_flag=$ac_save_c_werror_flag
3459 CFLAGS="-g"
3460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3461 /* end confdefs.h. */
3462
3463 int
3464 main ()
3465 {
3466
3467 ;
3468 return 0;
3469 }
3470 _ACEOF
3471 if ac_fn_c_try_compile "$LINENO"; then :
3472 ac_cv_prog_cc_g=yes
3473 fi
3474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3475 fi
3476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3477 fi
3478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3479 ac_c_werror_flag=$ac_save_c_werror_flag
3480 fi
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3482 $as_echo "$ac_cv_prog_cc_g" >&6; }
3483 if test "$ac_test_CFLAGS" = set; then
3484 CFLAGS=$ac_save_CFLAGS
3485 elif test $ac_cv_prog_cc_g = yes; then
3486 if test "$GCC" = yes; then
3487 CFLAGS="-g -O2"
3488 else
3489 CFLAGS="-g"
3490 fi
3491 else
3492 if test "$GCC" = yes; then
3493 CFLAGS="-O2"
3494 else
3495 CFLAGS=
3496 fi
3497 fi
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3499 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3500 if ${ac_cv_prog_cc_c89+:} false; then :
3501 $as_echo_n "(cached) " >&6
3502 else
3503 ac_cv_prog_cc_c89=no
3504 ac_save_CC=$CC
3505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3506 /* end confdefs.h. */
3507 #include <stdarg.h>
3508 #include <stdio.h>
3509 struct stat;
3510 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3511 struct buf { int x; };
3512 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3513 static char *e (p, i)
3514 char **p;
3515 int i;
3516 {
3517 return p[i];
3518 }
3519 static char *f (char * (*g) (char **, int), char **p, ...)
3520 {
3521 char *s;
3522 va_list v;
3523 va_start (v,p);
3524 s = g (p, va_arg (v,int));
3525 va_end (v);
3526 return s;
3527 }
3528
3529 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3530 function prototypes and stuff, but not '\xHH' hex character constants.
3531 These don't provoke an error unfortunately, instead are silently treated
3532 as 'x'. The following induces an error, until -std is added to get
3533 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3534 array size at least. It's necessary to write '\x00'==0 to get something
3535 that's true only with -std. */
3536 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3537
3538 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3539 inside strings and character constants. */
3540 #define FOO(x) 'x'
3541 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3542
3543 int test (int i, double x);
3544 struct s1 {int (*f) (int a);};
3545 struct s2 {int (*f) (double a);};
3546 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3547 int argc;
3548 char **argv;
3549 int
3550 main ()
3551 {
3552 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3553 ;
3554 return 0;
3555 }
3556 _ACEOF
3557 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3558 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3559 do
3560 CC="$ac_save_CC $ac_arg"
3561 if ac_fn_c_try_compile "$LINENO"; then :
3562 ac_cv_prog_cc_c89=$ac_arg
3563 fi
3564 rm -f core conftest.err conftest.$ac_objext
3565 test "x$ac_cv_prog_cc_c89" != "xno" && break
3566 done
3567 rm -f conftest.$ac_ext
3568 CC=$ac_save_CC
3569
3570 fi
3571 # AC_CACHE_VAL
3572 case "x$ac_cv_prog_cc_c89" in
3573 x)
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3575 $as_echo "none needed" >&6; } ;;
3576 xno)
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3578 $as_echo "unsupported" >&6; } ;;
3579 *)
3580 CC="$CC $ac_cv_prog_cc_c89"
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3582 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3583 esac
3584 if test "x$ac_cv_prog_cc_c89" != xno; then :
3585
3586 fi
3587
3588 ac_ext=c
3589 ac_cpp='$CPP $CPPFLAGS'
3590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3593
3594 ac_ext=c
3595 ac_cpp='$CPP $CPPFLAGS'
3596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3600 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3601 # On Suns, sometimes $CPP names a directory.
3602 if test -n "$CPP" && test -d "$CPP"; then
3603 CPP=
3604 fi
3605 if test -z "$CPP"; then
3606 if ${ac_cv_prog_CPP+:} false; then :
3607 $as_echo_n "(cached) " >&6
3608 else
3609 # Double quotes because CPP needs to be expanded
3610 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3611 do
3612 ac_preproc_ok=false
3613 for ac_c_preproc_warn_flag in '' yes
3614 do
3615 # Use a header file that comes with gcc, so configuring glibc
3616 # with a fresh cross-compiler works.
3617 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3618 # <limits.h> exists even on freestanding compilers.
3619 # On the NeXT, cc -E runs the code through the compiler's parser,
3620 # not just through cpp. "Syntax error" is here to catch this case.
3621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3622 /* end confdefs.h. */
3623 #ifdef __STDC__
3624 # include <limits.h>
3625 #else
3626 # include <assert.h>
3627 #endif
3628 Syntax error
3629 _ACEOF
3630 if ac_fn_c_try_cpp "$LINENO"; then :
3631
3632 else
3633 # Broken: fails on valid input.
3634 continue
3635 fi
3636 rm -f conftest.err conftest.i conftest.$ac_ext
3637
3638 # OK, works on sane cases. Now check whether nonexistent headers
3639 # can be detected and how.
3640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3641 /* end confdefs.h. */
3642 #include <ac_nonexistent.h>
3643 _ACEOF
3644 if ac_fn_c_try_cpp "$LINENO"; then :
3645 # Broken: success on invalid input.
3646 continue
3647 else
3648 # Passes both tests.
3649 ac_preproc_ok=:
3650 break
3651 fi
3652 rm -f conftest.err conftest.i conftest.$ac_ext
3653
3654 done
3655 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3656 rm -f conftest.i conftest.err conftest.$ac_ext
3657 if $ac_preproc_ok; then :
3658 break
3659 fi
3660
3661 done
3662 ac_cv_prog_CPP=$CPP
3663
3664 fi
3665 CPP=$ac_cv_prog_CPP
3666 else
3667 ac_cv_prog_CPP=$CPP
3668 fi
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3670 $as_echo "$CPP" >&6; }
3671 ac_preproc_ok=false
3672 for ac_c_preproc_warn_flag in '' yes
3673 do
3674 # Use a header file that comes with gcc, so configuring glibc
3675 # with a fresh cross-compiler works.
3676 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3677 # <limits.h> exists even on freestanding compilers.
3678 # On the NeXT, cc -E runs the code through the compiler's parser,
3679 # not just through cpp. "Syntax error" is here to catch this case.
3680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3681 /* end confdefs.h. */
3682 #ifdef __STDC__
3683 # include <limits.h>
3684 #else
3685 # include <assert.h>
3686 #endif
3687 Syntax error
3688 _ACEOF
3689 if ac_fn_c_try_cpp "$LINENO"; then :
3690
3691 else
3692 # Broken: fails on valid input.
3693 continue
3694 fi
3695 rm -f conftest.err conftest.i conftest.$ac_ext
3696
3697 # OK, works on sane cases. Now check whether nonexistent headers
3698 # can be detected and how.
3699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3700 /* end confdefs.h. */
3701 #include <ac_nonexistent.h>
3702 _ACEOF
3703 if ac_fn_c_try_cpp "$LINENO"; then :
3704 # Broken: success on invalid input.
3705 continue
3706 else
3707 # Passes both tests.
3708 ac_preproc_ok=:
3709 break
3710 fi
3711 rm -f conftest.err conftest.i conftest.$ac_ext
3712
3713 done
3714 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3715 rm -f conftest.i conftest.err conftest.$ac_ext
3716 if $ac_preproc_ok; then :
3717
3718 else
3719 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3720 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3721 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3722 See \`config.log' for more details" "$LINENO" 5; }
3723 fi
3724
3725 ac_ext=c
3726 ac_cpp='$CPP $CPPFLAGS'
3727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3730
3731
3732 AR=${AR-ar}
3733
3734 if test -n "$ac_tool_prefix"; then
3735 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3736 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3738 $as_echo_n "checking for $ac_word... " >&6; }
3739 if ${ac_cv_prog_RANLIB+:} false; then :
3740 $as_echo_n "(cached) " >&6
3741 else
3742 if test -n "$RANLIB"; then
3743 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3744 else
3745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3746 for as_dir in $PATH
3747 do
3748 IFS=$as_save_IFS
3749 test -z "$as_dir" && as_dir=.
3750 for ac_exec_ext in '' $ac_executable_extensions; do
3751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3752 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3754 break 2
3755 fi
3756 done
3757 done
3758 IFS=$as_save_IFS
3759
3760 fi
3761 fi
3762 RANLIB=$ac_cv_prog_RANLIB
3763 if test -n "$RANLIB"; then
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3765 $as_echo "$RANLIB" >&6; }
3766 else
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3768 $as_echo "no" >&6; }
3769 fi
3770
3771
3772 fi
3773 if test -z "$ac_cv_prog_RANLIB"; then
3774 ac_ct_RANLIB=$RANLIB
3775 # Extract the first word of "ranlib", so it can be a program name with args.
3776 set dummy ranlib; ac_word=$2
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3778 $as_echo_n "checking for $ac_word... " >&6; }
3779 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3780 $as_echo_n "(cached) " >&6
3781 else
3782 if test -n "$ac_ct_RANLIB"; then
3783 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3784 else
3785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3786 for as_dir in $PATH
3787 do
3788 IFS=$as_save_IFS
3789 test -z "$as_dir" && as_dir=.
3790 for ac_exec_ext in '' $ac_executable_extensions; do
3791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3792 ac_cv_prog_ac_ct_RANLIB="ranlib"
3793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3794 break 2
3795 fi
3796 done
3797 done
3798 IFS=$as_save_IFS
3799
3800 fi
3801 fi
3802 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3803 if test -n "$ac_ct_RANLIB"; then
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3805 $as_echo "$ac_ct_RANLIB" >&6; }
3806 else
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3808 $as_echo "no" >&6; }
3809 fi
3810
3811 if test "x$ac_ct_RANLIB" = x; then
3812 RANLIB=":"
3813 else
3814 case $cross_compiling:$ac_tool_warned in
3815 yes:)
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3818 ac_tool_warned=yes ;;
3819 esac
3820 RANLIB=$ac_ct_RANLIB
3821 fi
3822 else
3823 RANLIB="$ac_cv_prog_RANLIB"
3824 fi
3825
3826
3827 # Put a plausible default for CC_FOR_BUILD in Makefile.
3828 if test -z "$CC_FOR_BUILD"; then
3829 if test "x$cross_compiling" = "xno"; then
3830 CC_FOR_BUILD='$(CC)'
3831 else
3832 CC_FOR_BUILD=gcc
3833 fi
3834 fi
3835
3836 CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
3837
3838
3839 # If a cpu ever has more than one simulator to choose from, use
3840 # --enable-sim=... to choose.
3841 # Check whether --enable-sim was given.
3842 if test "${enable_sim+set}" = set; then :
3843 enableval=$enable_sim; case "${enableval}" in
3844 yes | no) ;;
3845 *) as_fn_error $? "bad value ${enableval} given for --enable-sim option" "$LINENO" 5 ;;
3846 esac
3847 fi
3848
3849
3850
3851 if test "${enable_sim}" != no; then
3852
3853 # WHEN ADDING ENTRIES TO THIS MATRIX:
3854
3855 # Make sure that the left side always has two dashes. Otherwise you
3856 # can get spurious matches. Even for unambiguous cases, do this as a
3857 # convention, else the table becomes a real mess to understand and
3858 # maintain.
3859
3860
3861
3862 sim_igen=no
3863 sim_arch=
3864 case "${target}" in
3865 aarch64*-*-*)
3866
3867 sim_arch=aarch64
3868
3869
3870 subdirs="$subdirs aarch64"
3871
3872
3873 ;;
3874 arm*-*-*)
3875
3876 sim_arch=arm
3877 subdirs="$subdirs arm"
3878
3879
3880 ;;
3881 avr*-*-*)
3882
3883 sim_arch=avr
3884 subdirs="$subdirs avr"
3885
3886
3887 ;;
3888 bfin-*-*)
3889
3890 sim_arch=bfin
3891 subdirs="$subdirs bfin"
3892
3893
3894 ;;
3895 bpf-*-*)
3896
3897 sim_arch=bpf
3898 subdirs="$subdirs bpf"
3899
3900
3901 ;;
3902 cr16*-*-*)
3903
3904 sim_arch=cr16
3905 subdirs="$subdirs cr16"
3906
3907
3908 ;;
3909 cris-*-* | crisv32-*-*)
3910
3911 sim_arch=cris
3912 subdirs="$subdirs cris"
3913
3914
3915 ;;
3916 d10v-*-*)
3917
3918 sim_arch=d10v
3919 subdirs="$subdirs d10v"
3920
3921
3922 ;;
3923 frv-*-*)
3924
3925 sim_arch=frv
3926 subdirs="$subdirs frv"
3927
3928
3929 ;;
3930 h8300*-*-*)
3931
3932 sim_arch=h8300
3933 subdirs="$subdirs h8300"
3934
3935
3936 ;;
3937 iq2000-*-*)
3938
3939 sim_arch=iq2000
3940 subdirs="$subdirs iq2000"
3941
3942
3943 ;;
3944 lm32-*-*)
3945
3946 sim_arch=lm32
3947 subdirs="$subdirs lm32"
3948
3949
3950 ;;
3951 m32c-*-*)
3952
3953 sim_arch=m32c
3954 subdirs="$subdirs m32c"
3955
3956
3957 ;;
3958 m32r-*-*)
3959
3960 sim_arch=m32r
3961 subdirs="$subdirs m32r"
3962
3963
3964 ;;
3965 m68hc11-*-*|m6811-*-*)
3966
3967 sim_arch=m68hc11
3968 subdirs="$subdirs m68hc11"
3969
3970
3971 ;;
3972 mcore-*-*)
3973
3974 sim_arch=mcore
3975 subdirs="$subdirs mcore"
3976
3977
3978 ;;
3979 microblaze-*-*)
3980
3981 sim_arch=microblaze
3982 subdirs="$subdirs microblaze"
3983
3984
3985 ;;
3986 mips*-*-*)
3987
3988 sim_arch=mips
3989 subdirs="$subdirs mips"
3990
3991
3992 sim_igen=yes
3993 ;;
3994 mn10300*-*-*)
3995
3996 sim_arch=mn10300
3997 subdirs="$subdirs mn10300"
3998
3999
4000 sim_igen=yes
4001 ;;
4002 moxie-*-*)
4003
4004 sim_arch=moxie
4005 subdirs="$subdirs moxie"
4006
4007
4008 ;;
4009 msp430*-*-*)
4010
4011 sim_arch=msp430
4012 subdirs="$subdirs msp430"
4013
4014
4015 ;;
4016 or1k-*-* | or1knd-*-*)
4017
4018 sim_arch=or1k
4019 subdirs="$subdirs or1k"
4020
4021
4022 ;;
4023 pru*-*-*)
4024
4025 sim_arch=pru
4026 subdirs="$subdirs pru"
4027
4028
4029 ;;
4030 riscv*-*-*)
4031
4032 sim_arch=riscv
4033 subdirs="$subdirs riscv"
4034
4035
4036 ;;
4037 rl78-*-*)
4038
4039 sim_arch=rl78
4040 subdirs="$subdirs rl78"
4041
4042
4043 ;;
4044 rx-*-*)
4045
4046 sim_arch=rx
4047 subdirs="$subdirs rx"
4048
4049
4050 ;;
4051 sh*-*-*)
4052
4053 sim_arch=sh
4054 subdirs="$subdirs sh"
4055
4056
4057 ;;
4058 sparc-*-rtems*|sparc-*-elf*)
4059
4060 sim_arch=erc32
4061 subdirs="$subdirs erc32"
4062
4063
4064 ;;
4065 powerpc*-*-*)
4066
4067 sim_arch=ppc
4068 subdirs="$subdirs ppc"
4069
4070
4071 ;;
4072 ft32-*-*)
4073
4074 sim_arch=ft32
4075 subdirs="$subdirs ft32"
4076
4077
4078 ;;
4079 v850*-*-*)
4080
4081 sim_arch=v850
4082 subdirs="$subdirs v850"
4083
4084
4085 sim_igen=yes
4086 ;;
4087 esac
4088
4089 if test "$sim_igen" = yes; then
4090 subdirs="$subdirs igen"
4091
4092 fi
4093 fi
4094
4095 ac_config_files="$ac_config_files Makefile testsuite/Makefile"
4096
4097 cat >confcache <<\_ACEOF
4098 # This file is a shell script that caches the results of configure
4099 # tests run on this system so they can be shared between configure
4100 # scripts and configure runs, see configure's option --config-cache.
4101 # It is not useful on other systems. If it contains results you don't
4102 # want to keep, you may remove or edit it.
4103 #
4104 # config.status only pays attention to the cache file if you give it
4105 # the --recheck option to rerun configure.
4106 #
4107 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4108 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4109 # following values.
4110
4111 _ACEOF
4112
4113 # The following way of writing the cache mishandles newlines in values,
4114 # but we know of no workaround that is simple, portable, and efficient.
4115 # So, we kill variables containing newlines.
4116 # Ultrix sh set writes to stderr and can't be redirected directly,
4117 # and sets the high bit in the cache file unless we assign to the vars.
4118 (
4119 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4120 eval ac_val=\$$ac_var
4121 case $ac_val in #(
4122 *${as_nl}*)
4123 case $ac_var in #(
4124 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4125 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4126 esac
4127 case $ac_var in #(
4128 _ | IFS | as_nl) ;; #(
4129 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4130 *) { eval $ac_var=; unset $ac_var;} ;;
4131 esac ;;
4132 esac
4133 done
4134
4135 (set) 2>&1 |
4136 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4137 *${as_nl}ac_space=\ *)
4138 # `set' does not quote correctly, so add quotes: double-quote
4139 # substitution turns \\\\ into \\, and sed turns \\ into \.
4140 sed -n \
4141 "s/'/'\\\\''/g;
4142 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4143 ;; #(
4144 *)
4145 # `set' quotes correctly as required by POSIX, so do not add quotes.
4146 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4147 ;;
4148 esac |
4149 sort
4150 ) |
4151 sed '
4152 /^ac_cv_env_/b end
4153 t clear
4154 :clear
4155 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4156 t end
4157 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4158 :end' >>confcache
4159 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4160 if test -w "$cache_file"; then
4161 if test "x$cache_file" != "x/dev/null"; then
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4163 $as_echo "$as_me: updating cache $cache_file" >&6;}
4164 if test ! -f "$cache_file" || test -h "$cache_file"; then
4165 cat confcache >"$cache_file"
4166 else
4167 case $cache_file in #(
4168 */* | ?:*)
4169 mv -f confcache "$cache_file"$$ &&
4170 mv -f "$cache_file"$$ "$cache_file" ;; #(
4171 *)
4172 mv -f confcache "$cache_file" ;;
4173 esac
4174 fi
4175 fi
4176 else
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4178 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4179 fi
4180 fi
4181 rm -f confcache
4182
4183 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4184 # Let make expand exec_prefix.
4185 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4186
4187 # Transform confdefs.h into DEFS.
4188 # Protect against shell expansion while executing Makefile rules.
4189 # Protect against Makefile macro expansion.
4190 #
4191 # If the first sed substitution is executed (which looks for macros that
4192 # take arguments), then branch to the quote section. Otherwise,
4193 # look for a macro that doesn't take arguments.
4194 ac_script='
4195 :mline
4196 /\\$/{
4197 N
4198 s,\\\n,,
4199 b mline
4200 }
4201 t clear
4202 :clear
4203 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4204 t quote
4205 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4206 t quote
4207 b any
4208 :quote
4209 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4210 s/\[/\\&/g
4211 s/\]/\\&/g
4212 s/\$/$$/g
4213 H
4214 :any
4215 ${
4216 g
4217 s/^\n//
4218 s/\n/ /g
4219 p
4220 }
4221 '
4222 DEFS=`sed -n "$ac_script" confdefs.h`
4223
4224
4225 ac_libobjs=
4226 ac_ltlibobjs=
4227 U=
4228 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4229 # 1. Remove the extension, and $U if already installed.
4230 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4231 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4232 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4233 # will be set to the directory where LIBOBJS objects are built.
4234 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4235 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4236 done
4237 LIBOBJS=$ac_libobjs
4238
4239 LTLIBOBJS=$ac_ltlibobjs
4240
4241
4242
4243 : "${CONFIG_STATUS=./config.status}"
4244 ac_write_fail=0
4245 ac_clean_files_save=$ac_clean_files
4246 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4248 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4249 as_write_fail=0
4250 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4251 #! $SHELL
4252 # Generated by $as_me.
4253 # Run this file to recreate the current configuration.
4254 # Compiler output produced by configure, useful for debugging
4255 # configure, is in config.log if it exists.
4256
4257 debug=false
4258 ac_cs_recheck=false
4259 ac_cs_silent=false
4260
4261 SHELL=\${CONFIG_SHELL-$SHELL}
4262 export SHELL
4263 _ASEOF
4264 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4265 ## -------------------- ##
4266 ## M4sh Initialization. ##
4267 ## -------------------- ##
4268
4269 # Be more Bourne compatible
4270 DUALCASE=1; export DUALCASE # for MKS sh
4271 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4272 emulate sh
4273 NULLCMD=:
4274 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4275 # is contrary to our usage. Disable this feature.
4276 alias -g '${1+"$@"}'='"$@"'
4277 setopt NO_GLOB_SUBST
4278 else
4279 case `(set -o) 2>/dev/null` in #(
4280 *posix*) :
4281 set -o posix ;; #(
4282 *) :
4283 ;;
4284 esac
4285 fi
4286
4287
4288 as_nl='
4289 '
4290 export as_nl
4291 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4292 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4293 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4294 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4295 # Prefer a ksh shell builtin over an external printf program on Solaris,
4296 # but without wasting forks for bash or zsh.
4297 if test -z "$BASH_VERSION$ZSH_VERSION" \
4298 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4299 as_echo='print -r --'
4300 as_echo_n='print -rn --'
4301 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4302 as_echo='printf %s\n'
4303 as_echo_n='printf %s'
4304 else
4305 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4306 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4307 as_echo_n='/usr/ucb/echo -n'
4308 else
4309 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4310 as_echo_n_body='eval
4311 arg=$1;
4312 case $arg in #(
4313 *"$as_nl"*)
4314 expr "X$arg" : "X\\(.*\\)$as_nl";
4315 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4316 esac;
4317 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4318 '
4319 export as_echo_n_body
4320 as_echo_n='sh -c $as_echo_n_body as_echo'
4321 fi
4322 export as_echo_body
4323 as_echo='sh -c $as_echo_body as_echo'
4324 fi
4325
4326 # The user is always right.
4327 if test "${PATH_SEPARATOR+set}" != set; then
4328 PATH_SEPARATOR=:
4329 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4330 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4331 PATH_SEPARATOR=';'
4332 }
4333 fi
4334
4335
4336 # IFS
4337 # We need space, tab and new line, in precisely that order. Quoting is
4338 # there to prevent editors from complaining about space-tab.
4339 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4340 # splitting by setting IFS to empty value.)
4341 IFS=" "" $as_nl"
4342
4343 # Find who we are. Look in the path if we contain no directory separator.
4344 as_myself=
4345 case $0 in #((
4346 *[\\/]* ) as_myself=$0 ;;
4347 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4348 for as_dir in $PATH
4349 do
4350 IFS=$as_save_IFS
4351 test -z "$as_dir" && as_dir=.
4352 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4353 done
4354 IFS=$as_save_IFS
4355
4356 ;;
4357 esac
4358 # We did not find ourselves, most probably we were run as `sh COMMAND'
4359 # in which case we are not to be found in the path.
4360 if test "x$as_myself" = x; then
4361 as_myself=$0
4362 fi
4363 if test ! -f "$as_myself"; then
4364 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4365 exit 1
4366 fi
4367
4368 # Unset variables that we do not need and which cause bugs (e.g. in
4369 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4370 # suppresses any "Segmentation fault" message there. '((' could
4371 # trigger a bug in pdksh 5.2.14.
4372 for as_var in BASH_ENV ENV MAIL MAILPATH
4373 do eval test x\${$as_var+set} = xset \
4374 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4375 done
4376 PS1='$ '
4377 PS2='> '
4378 PS4='+ '
4379
4380 # NLS nuisances.
4381 LC_ALL=C
4382 export LC_ALL
4383 LANGUAGE=C
4384 export LANGUAGE
4385
4386 # CDPATH.
4387 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4388
4389
4390 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4391 # ----------------------------------------
4392 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4393 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4394 # script with STATUS, using 1 if that was 0.
4395 as_fn_error ()
4396 {
4397 as_status=$1; test $as_status -eq 0 && as_status=1
4398 if test "$4"; then
4399 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4400 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4401 fi
4402 $as_echo "$as_me: error: $2" >&2
4403 as_fn_exit $as_status
4404 } # as_fn_error
4405
4406
4407 # as_fn_set_status STATUS
4408 # -----------------------
4409 # Set $? to STATUS, without forking.
4410 as_fn_set_status ()
4411 {
4412 return $1
4413 } # as_fn_set_status
4414
4415 # as_fn_exit STATUS
4416 # -----------------
4417 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4418 as_fn_exit ()
4419 {
4420 set +e
4421 as_fn_set_status $1
4422 exit $1
4423 } # as_fn_exit
4424
4425 # as_fn_unset VAR
4426 # ---------------
4427 # Portably unset VAR.
4428 as_fn_unset ()
4429 {
4430 { eval $1=; unset $1;}
4431 }
4432 as_unset=as_fn_unset
4433 # as_fn_append VAR VALUE
4434 # ----------------------
4435 # Append the text in VALUE to the end of the definition contained in VAR. Take
4436 # advantage of any shell optimizations that allow amortized linear growth over
4437 # repeated appends, instead of the typical quadratic growth present in naive
4438 # implementations.
4439 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4440 eval 'as_fn_append ()
4441 {
4442 eval $1+=\$2
4443 }'
4444 else
4445 as_fn_append ()
4446 {
4447 eval $1=\$$1\$2
4448 }
4449 fi # as_fn_append
4450
4451 # as_fn_arith ARG...
4452 # ------------------
4453 # Perform arithmetic evaluation on the ARGs, and store the result in the
4454 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4455 # must be portable across $(()) and expr.
4456 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4457 eval 'as_fn_arith ()
4458 {
4459 as_val=$(( $* ))
4460 }'
4461 else
4462 as_fn_arith ()
4463 {
4464 as_val=`expr "$@" || test $? -eq 1`
4465 }
4466 fi # as_fn_arith
4467
4468
4469 if expr a : '\(a\)' >/dev/null 2>&1 &&
4470 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4471 as_expr=expr
4472 else
4473 as_expr=false
4474 fi
4475
4476 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4477 as_basename=basename
4478 else
4479 as_basename=false
4480 fi
4481
4482 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4483 as_dirname=dirname
4484 else
4485 as_dirname=false
4486 fi
4487
4488 as_me=`$as_basename -- "$0" ||
4489 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4490 X"$0" : 'X\(//\)$' \| \
4491 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4492 $as_echo X/"$0" |
4493 sed '/^.*\/\([^/][^/]*\)\/*$/{
4494 s//\1/
4495 q
4496 }
4497 /^X\/\(\/\/\)$/{
4498 s//\1/
4499 q
4500 }
4501 /^X\/\(\/\).*/{
4502 s//\1/
4503 q
4504 }
4505 s/.*/./; q'`
4506
4507 # Avoid depending upon Character Ranges.
4508 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4509 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4510 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4511 as_cr_digits='0123456789'
4512 as_cr_alnum=$as_cr_Letters$as_cr_digits
4513
4514 ECHO_C= ECHO_N= ECHO_T=
4515 case `echo -n x` in #(((((
4516 -n*)
4517 case `echo 'xy\c'` in
4518 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4519 xy) ECHO_C='\c';;
4520 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4521 ECHO_T=' ';;
4522 esac;;
4523 *)
4524 ECHO_N='-n';;
4525 esac
4526
4527 rm -f conf$$ conf$$.exe conf$$.file
4528 if test -d conf$$.dir; then
4529 rm -f conf$$.dir/conf$$.file
4530 else
4531 rm -f conf$$.dir
4532 mkdir conf$$.dir 2>/dev/null
4533 fi
4534 if (echo >conf$$.file) 2>/dev/null; then
4535 if ln -s conf$$.file conf$$ 2>/dev/null; then
4536 as_ln_s='ln -s'
4537 # ... but there are two gotchas:
4538 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4539 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4540 # In both cases, we have to default to `cp -pR'.
4541 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4542 as_ln_s='cp -pR'
4543 elif ln conf$$.file conf$$ 2>/dev/null; then
4544 as_ln_s=ln
4545 else
4546 as_ln_s='cp -pR'
4547 fi
4548 else
4549 as_ln_s='cp -pR'
4550 fi
4551 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4552 rmdir conf$$.dir 2>/dev/null
4553
4554
4555 # as_fn_mkdir_p
4556 # -------------
4557 # Create "$as_dir" as a directory, including parents if necessary.
4558 as_fn_mkdir_p ()
4559 {
4560
4561 case $as_dir in #(
4562 -*) as_dir=./$as_dir;;
4563 esac
4564 test -d "$as_dir" || eval $as_mkdir_p || {
4565 as_dirs=
4566 while :; do
4567 case $as_dir in #(
4568 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4569 *) as_qdir=$as_dir;;
4570 esac
4571 as_dirs="'$as_qdir' $as_dirs"
4572 as_dir=`$as_dirname -- "$as_dir" ||
4573 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4574 X"$as_dir" : 'X\(//\)[^/]' \| \
4575 X"$as_dir" : 'X\(//\)$' \| \
4576 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4577 $as_echo X"$as_dir" |
4578 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4579 s//\1/
4580 q
4581 }
4582 /^X\(\/\/\)[^/].*/{
4583 s//\1/
4584 q
4585 }
4586 /^X\(\/\/\)$/{
4587 s//\1/
4588 q
4589 }
4590 /^X\(\/\).*/{
4591 s//\1/
4592 q
4593 }
4594 s/.*/./; q'`
4595 test -d "$as_dir" && break
4596 done
4597 test -z "$as_dirs" || eval "mkdir $as_dirs"
4598 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4599
4600
4601 } # as_fn_mkdir_p
4602 if mkdir -p . 2>/dev/null; then
4603 as_mkdir_p='mkdir -p "$as_dir"'
4604 else
4605 test -d ./-p && rmdir ./-p
4606 as_mkdir_p=false
4607 fi
4608
4609
4610 # as_fn_executable_p FILE
4611 # -----------------------
4612 # Test if FILE is an executable regular file.
4613 as_fn_executable_p ()
4614 {
4615 test -f "$1" && test -x "$1"
4616 } # as_fn_executable_p
4617 as_test_x='test -x'
4618 as_executable_p=as_fn_executable_p
4619
4620 # Sed expression to map a string onto a valid CPP name.
4621 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4622
4623 # Sed expression to map a string onto a valid variable name.
4624 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4625
4626
4627 exec 6>&1
4628 ## ----------------------------------- ##
4629 ## Main body of $CONFIG_STATUS script. ##
4630 ## ----------------------------------- ##
4631 _ASEOF
4632 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4633
4634 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4635 # Save the log message, to keep $0 and so on meaningful, and to
4636 # report actual input values of CONFIG_FILES etc. instead of their
4637 # values after options handling.
4638 ac_log="
4639 This file was extended by $as_me, which was
4640 generated by GNU Autoconf 2.69. Invocation command line was
4641
4642 CONFIG_FILES = $CONFIG_FILES
4643 CONFIG_HEADERS = $CONFIG_HEADERS
4644 CONFIG_LINKS = $CONFIG_LINKS
4645 CONFIG_COMMANDS = $CONFIG_COMMANDS
4646 $ $0 $@
4647
4648 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4649 "
4650
4651 _ACEOF
4652
4653 case $ac_config_files in *"
4654 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4655 esac
4656
4657
4658
4659 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4660 # Files that config.status was made for.
4661 config_files="$ac_config_files"
4662
4663 _ACEOF
4664
4665 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4666 ac_cs_usage="\
4667 \`$as_me' instantiates files and other configuration actions
4668 from templates according to the current configuration. Unless the files
4669 and actions are specified as TAGs, all are instantiated by default.
4670
4671 Usage: $0 [OPTION]... [TAG]...
4672
4673 -h, --help print this help, then exit
4674 -V, --version print version number and configuration settings, then exit
4675 --config print configuration, then exit
4676 -q, --quiet, --silent
4677 do not print progress messages
4678 -d, --debug don't remove temporary files
4679 --recheck update $as_me by reconfiguring in the same conditions
4680 --file=FILE[:TEMPLATE]
4681 instantiate the configuration file FILE
4682
4683 Configuration files:
4684 $config_files
4685
4686 Report bugs to the package provider."
4687
4688 _ACEOF
4689 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4690 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4691 ac_cs_version="\\
4692 config.status
4693 configured by $0, generated by GNU Autoconf 2.69,
4694 with options \\"\$ac_cs_config\\"
4695
4696 Copyright (C) 2012 Free Software Foundation, Inc.
4697 This config.status script is free software; the Free Software Foundation
4698 gives unlimited permission to copy, distribute and modify it."
4699
4700 ac_pwd='$ac_pwd'
4701 srcdir='$srcdir'
4702 INSTALL='$INSTALL'
4703 test -n "\$AWK" || AWK=awk
4704 _ACEOF
4705
4706 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4707 # The default lists apply if the user does not specify any file.
4708 ac_need_defaults=:
4709 while test $# != 0
4710 do
4711 case $1 in
4712 --*=?*)
4713 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4714 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4715 ac_shift=:
4716 ;;
4717 --*=)
4718 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4719 ac_optarg=
4720 ac_shift=:
4721 ;;
4722 *)
4723 ac_option=$1
4724 ac_optarg=$2
4725 ac_shift=shift
4726 ;;
4727 esac
4728
4729 case $ac_option in
4730 # Handling of the options.
4731 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4732 ac_cs_recheck=: ;;
4733 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4734 $as_echo "$ac_cs_version"; exit ;;
4735 --config | --confi | --conf | --con | --co | --c )
4736 $as_echo "$ac_cs_config"; exit ;;
4737 --debug | --debu | --deb | --de | --d | -d )
4738 debug=: ;;
4739 --file | --fil | --fi | --f )
4740 $ac_shift
4741 case $ac_optarg in
4742 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4743 '') as_fn_error $? "missing file argument" ;;
4744 esac
4745 as_fn_append CONFIG_FILES " '$ac_optarg'"
4746 ac_need_defaults=false;;
4747 --he | --h | --help | --hel | -h )
4748 $as_echo "$ac_cs_usage"; exit ;;
4749 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4750 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4751 ac_cs_silent=: ;;
4752
4753 # This is an error.
4754 -*) as_fn_error $? "unrecognized option: \`$1'
4755 Try \`$0 --help' for more information." ;;
4756
4757 *) as_fn_append ac_config_targets " $1"
4758 ac_need_defaults=false ;;
4759
4760 esac
4761 shift
4762 done
4763
4764 ac_configure_extra_args=
4765
4766 if $ac_cs_silent; then
4767 exec 6>/dev/null
4768 ac_configure_extra_args="$ac_configure_extra_args --silent"
4769 fi
4770
4771 _ACEOF
4772 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4773 if \$ac_cs_recheck; then
4774 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4775 shift
4776 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4777 CONFIG_SHELL='$SHELL'
4778 export CONFIG_SHELL
4779 exec "\$@"
4780 fi
4781
4782 _ACEOF
4783 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4784 exec 5>>config.log
4785 {
4786 echo
4787 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4788 ## Running $as_me. ##
4789 _ASBOX
4790 $as_echo "$ac_log"
4791 } >&5
4792
4793 _ACEOF
4794 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4795 _ACEOF
4796
4797 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4798
4799 # Handling of arguments.
4800 for ac_config_target in $ac_config_targets
4801 do
4802 case $ac_config_target in
4803 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4804 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
4805
4806 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4807 esac
4808 done
4809
4810
4811 # If the user did not use the arguments to specify the items to instantiate,
4812 # then the envvar interface is used. Set only those that are not.
4813 # We use the long form for the default assignment because of an extremely
4814 # bizarre bug on SunOS 4.1.3.
4815 if $ac_need_defaults; then
4816 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4817 fi
4818
4819 # Have a temporary directory for convenience. Make it in the build tree
4820 # simply because there is no reason against having it here, and in addition,
4821 # creating and moving files from /tmp can sometimes cause problems.
4822 # Hook for its removal unless debugging.
4823 # Note that there is a small window in which the directory will not be cleaned:
4824 # after its creation but before its name has been assigned to `$tmp'.
4825 $debug ||
4826 {
4827 tmp= ac_tmp=
4828 trap 'exit_status=$?
4829 : "${ac_tmp:=$tmp}"
4830 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4831 ' 0
4832 trap 'as_fn_exit 1' 1 2 13 15
4833 }
4834 # Create a (secure) tmp directory for tmp files.
4835
4836 {
4837 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4838 test -d "$tmp"
4839 } ||
4840 {
4841 tmp=./conf$$-$RANDOM
4842 (umask 077 && mkdir "$tmp")
4843 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4844 ac_tmp=$tmp
4845
4846 # Set up the scripts for CONFIG_FILES section.
4847 # No need to generate them if there are no CONFIG_FILES.
4848 # This happens for instance with `./config.status config.h'.
4849 if test -n "$CONFIG_FILES"; then
4850
4851
4852 ac_cr=`echo X | tr X '\015'`
4853 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4854 # But we know of no other shell where ac_cr would be empty at this
4855 # point, so we can use a bashism as a fallback.
4856 if test "x$ac_cr" = x; then
4857 eval ac_cr=\$\'\\r\'
4858 fi
4859 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4860 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4861 ac_cs_awk_cr='\\r'
4862 else
4863 ac_cs_awk_cr=$ac_cr
4864 fi
4865
4866 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4867 _ACEOF
4868
4869
4870 {
4871 echo "cat >conf$$subs.awk <<_ACEOF" &&
4872 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4873 echo "_ACEOF"
4874 } >conf$$subs.sh ||
4875 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4876 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4877 ac_delim='%!_!# '
4878 for ac_last_try in false false false false false :; do
4879 . ./conf$$subs.sh ||
4880 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4881
4882 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4883 if test $ac_delim_n = $ac_delim_num; then
4884 break
4885 elif $ac_last_try; then
4886 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4887 else
4888 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4889 fi
4890 done
4891 rm -f conf$$subs.sh
4892
4893 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4894 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4895 _ACEOF
4896 sed -n '
4897 h
4898 s/^/S["/; s/!.*/"]=/
4899 p
4900 g
4901 s/^[^!]*!//
4902 :repl
4903 t repl
4904 s/'"$ac_delim"'$//
4905 t delim
4906 :nl
4907 h
4908 s/\(.\{148\}\)..*/\1/
4909 t more1
4910 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4911 p
4912 n
4913 b repl
4914 :more1
4915 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4916 p
4917 g
4918 s/.\{148\}//
4919 t nl
4920 :delim
4921 h
4922 s/\(.\{148\}\)..*/\1/
4923 t more2
4924 s/["\\]/\\&/g; s/^/"/; s/$/"/
4925 p
4926 b
4927 :more2
4928 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4929 p
4930 g
4931 s/.\{148\}//
4932 t delim
4933 ' <conf$$subs.awk | sed '
4934 /^[^""]/{
4935 N
4936 s/\n//
4937 }
4938 ' >>$CONFIG_STATUS || ac_write_fail=1
4939 rm -f conf$$subs.awk
4940 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4941 _ACAWK
4942 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4943 for (key in S) S_is_set[key] = 1
4944 FS = "\a"
4945
4946 }
4947 {
4948 line = $ 0
4949 nfields = split(line, field, "@")
4950 substed = 0
4951 len = length(field[1])
4952 for (i = 2; i < nfields; i++) {
4953 key = field[i]
4954 keylen = length(key)
4955 if (S_is_set[key]) {
4956 value = S[key]
4957 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4958 len += length(value) + length(field[++i])
4959 substed = 1
4960 } else
4961 len += 1 + keylen
4962 }
4963
4964 print line
4965 }
4966
4967 _ACAWK
4968 _ACEOF
4969 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4970 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4971 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4972 else
4973 cat
4974 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4975 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4976 _ACEOF
4977
4978 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4979 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4980 # trailing colons and then remove the whole line if VPATH becomes empty
4981 # (actually we leave an empty line to preserve line numbers).
4982 if test "x$srcdir" = x.; then
4983 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4984 h
4985 s///
4986 s/^/:/
4987 s/[ ]*$/:/
4988 s/:\$(srcdir):/:/g
4989 s/:\${srcdir}:/:/g
4990 s/:@srcdir@:/:/g
4991 s/^:*//
4992 s/:*$//
4993 x
4994 s/\(=[ ]*\).*/\1/
4995 G
4996 s/\n//
4997 s/^[^=]*=[ ]*$//
4998 }'
4999 fi
5000
5001 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5002 fi # test -n "$CONFIG_FILES"
5003
5004
5005 eval set X " :F $CONFIG_FILES "
5006 shift
5007 for ac_tag
5008 do
5009 case $ac_tag in
5010 :[FHLC]) ac_mode=$ac_tag; continue;;
5011 esac
5012 case $ac_mode$ac_tag in
5013 :[FHL]*:*);;
5014 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5015 :[FH]-) ac_tag=-:-;;
5016 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5017 esac
5018 ac_save_IFS=$IFS
5019 IFS=:
5020 set x $ac_tag
5021 IFS=$ac_save_IFS
5022 shift
5023 ac_file=$1
5024 shift
5025
5026 case $ac_mode in
5027 :L) ac_source=$1;;
5028 :[FH])
5029 ac_file_inputs=
5030 for ac_f
5031 do
5032 case $ac_f in
5033 -) ac_f="$ac_tmp/stdin";;
5034 *) # Look for the file first in the build tree, then in the source tree
5035 # (if the path is not absolute). The absolute path cannot be DOS-style,
5036 # because $ac_f cannot contain `:'.
5037 test -f "$ac_f" ||
5038 case $ac_f in
5039 [\\/$]*) false;;
5040 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5041 esac ||
5042 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5043 esac
5044 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5045 as_fn_append ac_file_inputs " '$ac_f'"
5046 done
5047
5048 # Let's still pretend it is `configure' which instantiates (i.e., don't
5049 # use $as_me), people would be surprised to read:
5050 # /* config.h. Generated by config.status. */
5051 configure_input='Generated from '`
5052 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5053 `' by configure.'
5054 if test x"$ac_file" != x-; then
5055 configure_input="$ac_file. $configure_input"
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5057 $as_echo "$as_me: creating $ac_file" >&6;}
5058 fi
5059 # Neutralize special characters interpreted by sed in replacement strings.
5060 case $configure_input in #(
5061 *\&* | *\|* | *\\* )
5062 ac_sed_conf_input=`$as_echo "$configure_input" |
5063 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5064 *) ac_sed_conf_input=$configure_input;;
5065 esac
5066
5067 case $ac_tag in
5068 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5069 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5070 esac
5071 ;;
5072 esac
5073
5074 ac_dir=`$as_dirname -- "$ac_file" ||
5075 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5076 X"$ac_file" : 'X\(//\)[^/]' \| \
5077 X"$ac_file" : 'X\(//\)$' \| \
5078 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5079 $as_echo X"$ac_file" |
5080 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5081 s//\1/
5082 q
5083 }
5084 /^X\(\/\/\)[^/].*/{
5085 s//\1/
5086 q
5087 }
5088 /^X\(\/\/\)$/{
5089 s//\1/
5090 q
5091 }
5092 /^X\(\/\).*/{
5093 s//\1/
5094 q
5095 }
5096 s/.*/./; q'`
5097 as_dir="$ac_dir"; as_fn_mkdir_p
5098 ac_builddir=.
5099
5100 case "$ac_dir" in
5101 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5102 *)
5103 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5104 # A ".." for each directory in $ac_dir_suffix.
5105 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5106 case $ac_top_builddir_sub in
5107 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5108 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5109 esac ;;
5110 esac
5111 ac_abs_top_builddir=$ac_pwd
5112 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5113 # for backward compatibility:
5114 ac_top_builddir=$ac_top_build_prefix
5115
5116 case $srcdir in
5117 .) # We are building in place.
5118 ac_srcdir=.
5119 ac_top_srcdir=$ac_top_builddir_sub
5120 ac_abs_top_srcdir=$ac_pwd ;;
5121 [\\/]* | ?:[\\/]* ) # Absolute name.
5122 ac_srcdir=$srcdir$ac_dir_suffix;
5123 ac_top_srcdir=$srcdir
5124 ac_abs_top_srcdir=$srcdir ;;
5125 *) # Relative name.
5126 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5127 ac_top_srcdir=$ac_top_build_prefix$srcdir
5128 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5129 esac
5130 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5131
5132
5133 case $ac_mode in
5134 :F)
5135 #
5136 # CONFIG_FILE
5137 #
5138
5139 case $INSTALL in
5140 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5141 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5142 esac
5143 _ACEOF
5144
5145 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5146 # If the template does not know about datarootdir, expand it.
5147 # FIXME: This hack should be removed a few years after 2.60.
5148 ac_datarootdir_hack=; ac_datarootdir_seen=
5149 ac_sed_dataroot='
5150 /datarootdir/ {
5151 p
5152 q
5153 }
5154 /@datadir@/p
5155 /@docdir@/p
5156 /@infodir@/p
5157 /@localedir@/p
5158 /@mandir@/p'
5159 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5160 *datarootdir*) ac_datarootdir_seen=yes;;
5161 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5163 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5164 _ACEOF
5165 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5166 ac_datarootdir_hack='
5167 s&@datadir@&$datadir&g
5168 s&@docdir@&$docdir&g
5169 s&@infodir@&$infodir&g
5170 s&@localedir@&$localedir&g
5171 s&@mandir@&$mandir&g
5172 s&\\\${datarootdir}&$datarootdir&g' ;;
5173 esac
5174 _ACEOF
5175
5176 # Neutralize VPATH when `$srcdir' = `.'.
5177 # Shell code in configure.ac might set extrasub.
5178 # FIXME: do we really want to maintain this feature?
5179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5180 ac_sed_extra="$ac_vpsub
5181 $extrasub
5182 _ACEOF
5183 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5184 :t
5185 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5186 s|@configure_input@|$ac_sed_conf_input|;t t
5187 s&@top_builddir@&$ac_top_builddir_sub&;t t
5188 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5189 s&@srcdir@&$ac_srcdir&;t t
5190 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5191 s&@top_srcdir@&$ac_top_srcdir&;t t
5192 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5193 s&@builddir@&$ac_builddir&;t t
5194 s&@abs_builddir@&$ac_abs_builddir&;t t
5195 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5196 s&@INSTALL@&$ac_INSTALL&;t t
5197 $ac_datarootdir_hack
5198 "
5199 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5200 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5201
5202 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5203 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5204 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5205 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5207 which seems to be undefined. Please make sure it is defined" >&5
5208 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5209 which seems to be undefined. Please make sure it is defined" >&2;}
5210
5211 rm -f "$ac_tmp/stdin"
5212 case $ac_file in
5213 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5214 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5215 esac \
5216 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5217 ;;
5218
5219
5220
5221 esac
5222
5223 done # for ac_tag
5224
5225
5226 as_fn_exit 0
5227 _ACEOF
5228 ac_clean_files=$ac_clean_files_save
5229
5230 test $ac_write_fail = 0 ||
5231 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5232
5233
5234 # configure is writing to config.log, and then calls config.status.
5235 # config.status does its own redirection, appending to config.log.
5236 # Unfortunately, on DOS this fails, as config.log is still kept open
5237 # by configure, so config.status won't be able to write to it; its
5238 # output is simply discarded. So we exec the FD to /dev/null,
5239 # effectively closing config.log, so it can be properly (re)opened and
5240 # appended to by config.status. When coming back to configure, we
5241 # need to make the FD available again.
5242 if test "$no_create" != yes; then
5243 ac_cs_success=:
5244 ac_config_status_args=
5245 test "$silent" = yes &&
5246 ac_config_status_args="$ac_config_status_args --quiet"
5247 exec 5>/dev/null
5248 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5249 exec 5>>config.log
5250 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5251 # would make configure fail if this is the last instruction.
5252 $ac_cs_success || as_fn_exit 1
5253 fi
5254
5255 #
5256 # CONFIG_SUBDIRS section.
5257 #
5258 if test "$no_recursion" != yes; then
5259
5260 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
5261 # so they do not pile up.
5262 ac_sub_configure_args=
5263 ac_prev=
5264 eval "set x $ac_configure_args"
5265 shift
5266 for ac_arg
5267 do
5268 if test -n "$ac_prev"; then
5269 ac_prev=
5270 continue
5271 fi
5272 case $ac_arg in
5273 -cache-file | --cache-file | --cache-fil | --cache-fi \
5274 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
5275 ac_prev=cache_file ;;
5276 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
5277 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
5278 | --c=*)
5279 ;;
5280 --config-cache | -C)
5281 ;;
5282 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
5283 ac_prev=srcdir ;;
5284 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
5285 ;;
5286 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
5287 ac_prev=prefix ;;
5288 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
5289 ;;
5290 --disable-option-checking)
5291 ;;
5292 *)
5293 case $ac_arg in
5294 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5295 esac
5296 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
5297 esac
5298 done
5299
5300 # Always prepend --prefix to ensure using the same prefix
5301 # in subdir configurations.
5302 ac_arg="--prefix=$prefix"
5303 case $ac_arg in
5304 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5305 esac
5306 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
5307
5308 # Pass --silent
5309 if test "$silent" = yes; then
5310 ac_sub_configure_args="--silent $ac_sub_configure_args"
5311 fi
5312
5313 # Always prepend --disable-option-checking to silence warnings, since
5314 # different subdirs can have different --enable and --with options.
5315 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
5316
5317 ac_popdir=`pwd`
5318 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
5319
5320 # Do not complain, so a configure script can configure whichever
5321 # parts of a large source tree are present.
5322 test -d "$srcdir/$ac_dir" || continue
5323
5324 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
5325 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
5326 $as_echo "$ac_msg" >&6
5327 as_dir="$ac_dir"; as_fn_mkdir_p
5328 ac_builddir=.
5329
5330 case "$ac_dir" in
5331 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5332 *)
5333 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5334 # A ".." for each directory in $ac_dir_suffix.
5335 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5336 case $ac_top_builddir_sub in
5337 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5338 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5339 esac ;;
5340 esac
5341 ac_abs_top_builddir=$ac_pwd
5342 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5343 # for backward compatibility:
5344 ac_top_builddir=$ac_top_build_prefix
5345
5346 case $srcdir in
5347 .) # We are building in place.
5348 ac_srcdir=.
5349 ac_top_srcdir=$ac_top_builddir_sub
5350 ac_abs_top_srcdir=$ac_pwd ;;
5351 [\\/]* | ?:[\\/]* ) # Absolute name.
5352 ac_srcdir=$srcdir$ac_dir_suffix;
5353 ac_top_srcdir=$srcdir
5354 ac_abs_top_srcdir=$srcdir ;;
5355 *) # Relative name.
5356 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5357 ac_top_srcdir=$ac_top_build_prefix$srcdir
5358 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5359 esac
5360 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5361
5362
5363 cd "$ac_dir"
5364
5365 # Check for guested configure; otherwise get Cygnus style configure.
5366 if test -f "$ac_srcdir/configure.gnu"; then
5367 ac_sub_configure=$ac_srcdir/configure.gnu
5368 elif test -f "$ac_srcdir/configure"; then
5369 ac_sub_configure=$ac_srcdir/configure
5370 elif test -f "$ac_srcdir/configure.in"; then
5371 # This should be Cygnus configure.
5372 ac_sub_configure=$ac_aux_dir/configure
5373 else
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
5375 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
5376 ac_sub_configure=
5377 fi
5378
5379 # The recursion is here.
5380 if test -n "$ac_sub_configure"; then
5381 # Make the cache file name correct relative to the subdirectory.
5382 case $cache_file in
5383 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
5384 *) # Relative name.
5385 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
5386 esac
5387
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
5389 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
5390 # The eval makes quoting arguments work.
5391 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
5392 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
5393 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
5394 fi
5395
5396 cd "$ac_popdir"
5397 done
5398 fi
5399 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5401 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5402 fi
5403