sim: unify toolchain probing logic
[deliverable/binutils-gdb.git] / sim / moxie / 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 ac_subst_vars='LTLIBOBJS
586 LIBOBJS
587 sim_reserved_bits
588 sim_default_model
589 sim_scache
590 sim_float
591 sim_bitsize
592 cgen_breaks
593 DTC
594 MAINT
595 MAINTAINER_MODE_FALSE
596 MAINTAINER_MODE_TRUE
597 CATOBJEXT
598 GENCAT
599 INSTOBJEXT
600 DATADIRNAME
601 CATALOGS
602 POSUB
603 GMSGFMT
604 XGETTEXT
605 INCINTL
606 LIBINTL_DEP
607 LIBINTL
608 USE_NLS
609 CCDEPMODE
610 DEPDIR
611 am__leading_dot
612 INSTALL_DATA
613 INSTALL_SCRIPT
614 INSTALL_PROGRAM
615 OBJEXT
616 EXEEXT
617 ac_ct_CC
618 CPPFLAGS
619 LDFLAGS
620 CFLAGS
621 CC
622 target_alias
623 host_alias
624 build_alias
625 LIBS
626 ECHO_T
627 ECHO_N
628 ECHO_C
629 DEFS
630 mandir
631 localedir
632 libdir
633 psdir
634 pdfdir
635 dvidir
636 htmldir
637 infodir
638 docdir
639 oldincludedir
640 includedir
641 localstatedir
642 sharedstatedir
643 sysconfdir
644 datadir
645 datarootdir
646 libexecdir
647 sbindir
648 bindir
649 program_transform_name
650 prefix
651 exec_prefix
652 PACKAGE_URL
653 PACKAGE_BUGREPORT
654 PACKAGE_STRING
655 PACKAGE_VERSION
656 PACKAGE_TARNAME
657 PACKAGE_NAME
658 PATH_SEPARATOR
659 SHELL
660 sim_inline
661 sim_hw
662 sim_hw_objs
663 sim_hw_cflags'
664 ac_subst_files=''
665 ac_user_opts='
666 enable_option_checking
667 enable_maintainer_mode
668 enable_sim_inline
669 enable_sim_hardware
670 '
671 ac_precious_vars='build_alias
672 host_alias
673 target_alias
674 CC
675 CFLAGS
676 LDFLAGS
677 LIBS
678 CPPFLAGS'
679
680
681 # Initialize some variables set by options.
682 ac_init_help=
683 ac_init_version=false
684 ac_unrecognized_opts=
685 ac_unrecognized_sep=
686 # The variables have the same names as the options, with
687 # dashes changed to underlines.
688 cache_file=/dev/null
689 exec_prefix=NONE
690 no_create=
691 no_recursion=
692 prefix=NONE
693 program_prefix=NONE
694 program_suffix=NONE
695 program_transform_name=s,x,x,
696 silent=
697 site=
698 srcdir=
699 verbose=
700 x_includes=NONE
701 x_libraries=NONE
702
703 # Installation directory options.
704 # These are left unexpanded so users can "make install exec_prefix=/foo"
705 # and all the variables that are supposed to be based on exec_prefix
706 # by default will actually change.
707 # Use braces instead of parens because sh, perl, etc. also accept them.
708 # (The list follows the same order as the GNU Coding Standards.)
709 bindir='${exec_prefix}/bin'
710 sbindir='${exec_prefix}/sbin'
711 libexecdir='${exec_prefix}/libexec'
712 datarootdir='${prefix}/share'
713 datadir='${datarootdir}'
714 sysconfdir='${prefix}/etc'
715 sharedstatedir='${prefix}/com'
716 localstatedir='${prefix}/var'
717 includedir='${prefix}/include'
718 oldincludedir='/usr/include'
719 docdir='${datarootdir}/doc/${PACKAGE}'
720 infodir='${datarootdir}/info'
721 htmldir='${docdir}'
722 dvidir='${docdir}'
723 pdfdir='${docdir}'
724 psdir='${docdir}'
725 libdir='${exec_prefix}/lib'
726 localedir='${datarootdir}/locale'
727 mandir='${datarootdir}/man'
728
729 ac_prev=
730 ac_dashdash=
731 for ac_option
732 do
733 # If the previous option needs an argument, assign it.
734 if test -n "$ac_prev"; then
735 eval $ac_prev=\$ac_option
736 ac_prev=
737 continue
738 fi
739
740 case $ac_option in
741 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
742 *=) ac_optarg= ;;
743 *) ac_optarg=yes ;;
744 esac
745
746 # Accept the important Cygnus configure options, so we can diagnose typos.
747
748 case $ac_dashdash$ac_option in
749 --)
750 ac_dashdash=yes ;;
751
752 -bindir | --bindir | --bindi | --bind | --bin | --bi)
753 ac_prev=bindir ;;
754 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
755 bindir=$ac_optarg ;;
756
757 -build | --build | --buil | --bui | --bu)
758 ac_prev=build_alias ;;
759 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
760 build_alias=$ac_optarg ;;
761
762 -cache-file | --cache-file | --cache-fil | --cache-fi \
763 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
764 ac_prev=cache_file ;;
765 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
766 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
767 cache_file=$ac_optarg ;;
768
769 --config-cache | -C)
770 cache_file=config.cache ;;
771
772 -datadir | --datadir | --datadi | --datad)
773 ac_prev=datadir ;;
774 -datadir=* | --datadir=* | --datadi=* | --datad=*)
775 datadir=$ac_optarg ;;
776
777 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
778 | --dataroo | --dataro | --datar)
779 ac_prev=datarootdir ;;
780 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
781 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
782 datarootdir=$ac_optarg ;;
783
784 -disable-* | --disable-*)
785 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
786 # Reject names that are not valid shell variable names.
787 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
788 as_fn_error $? "invalid feature name: $ac_useropt"
789 ac_useropt_orig=$ac_useropt
790 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
791 case $ac_user_opts in
792 *"
793 "enable_$ac_useropt"
794 "*) ;;
795 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
796 ac_unrecognized_sep=', ';;
797 esac
798 eval enable_$ac_useropt=no ;;
799
800 -docdir | --docdir | --docdi | --doc | --do)
801 ac_prev=docdir ;;
802 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
803 docdir=$ac_optarg ;;
804
805 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
806 ac_prev=dvidir ;;
807 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
808 dvidir=$ac_optarg ;;
809
810 -enable-* | --enable-*)
811 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
812 # Reject names that are not valid shell variable names.
813 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
814 as_fn_error $? "invalid feature name: $ac_useropt"
815 ac_useropt_orig=$ac_useropt
816 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
817 case $ac_user_opts in
818 *"
819 "enable_$ac_useropt"
820 "*) ;;
821 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
822 ac_unrecognized_sep=', ';;
823 esac
824 eval enable_$ac_useropt=\$ac_optarg ;;
825
826 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
827 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
828 | --exec | --exe | --ex)
829 ac_prev=exec_prefix ;;
830 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
831 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
832 | --exec=* | --exe=* | --ex=*)
833 exec_prefix=$ac_optarg ;;
834
835 -gas | --gas | --ga | --g)
836 # Obsolete; use --with-gas.
837 with_gas=yes ;;
838
839 -help | --help | --hel | --he | -h)
840 ac_init_help=long ;;
841 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
842 ac_init_help=recursive ;;
843 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
844 ac_init_help=short ;;
845
846 -host | --host | --hos | --ho)
847 ac_prev=host_alias ;;
848 -host=* | --host=* | --hos=* | --ho=*)
849 host_alias=$ac_optarg ;;
850
851 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
852 ac_prev=htmldir ;;
853 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
854 | --ht=*)
855 htmldir=$ac_optarg ;;
856
857 -includedir | --includedir | --includedi | --included | --include \
858 | --includ | --inclu | --incl | --inc)
859 ac_prev=includedir ;;
860 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
861 | --includ=* | --inclu=* | --incl=* | --inc=*)
862 includedir=$ac_optarg ;;
863
864 -infodir | --infodir | --infodi | --infod | --info | --inf)
865 ac_prev=infodir ;;
866 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
867 infodir=$ac_optarg ;;
868
869 -libdir | --libdir | --libdi | --libd)
870 ac_prev=libdir ;;
871 -libdir=* | --libdir=* | --libdi=* | --libd=*)
872 libdir=$ac_optarg ;;
873
874 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
875 | --libexe | --libex | --libe)
876 ac_prev=libexecdir ;;
877 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
878 | --libexe=* | --libex=* | --libe=*)
879 libexecdir=$ac_optarg ;;
880
881 -localedir | --localedir | --localedi | --localed | --locale)
882 ac_prev=localedir ;;
883 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
884 localedir=$ac_optarg ;;
885
886 -localstatedir | --localstatedir | --localstatedi | --localstated \
887 | --localstate | --localstat | --localsta | --localst | --locals)
888 ac_prev=localstatedir ;;
889 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
890 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
891 localstatedir=$ac_optarg ;;
892
893 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
894 ac_prev=mandir ;;
895 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
896 mandir=$ac_optarg ;;
897
898 -nfp | --nfp | --nf)
899 # Obsolete; use --without-fp.
900 with_fp=no ;;
901
902 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
903 | --no-cr | --no-c | -n)
904 no_create=yes ;;
905
906 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
907 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
908 no_recursion=yes ;;
909
910 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
911 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
912 | --oldin | --oldi | --old | --ol | --o)
913 ac_prev=oldincludedir ;;
914 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
915 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
916 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
917 oldincludedir=$ac_optarg ;;
918
919 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
920 ac_prev=prefix ;;
921 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
922 prefix=$ac_optarg ;;
923
924 -program-prefix | --program-prefix | --program-prefi | --program-pref \
925 | --program-pre | --program-pr | --program-p)
926 ac_prev=program_prefix ;;
927 -program-prefix=* | --program-prefix=* | --program-prefi=* \
928 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
929 program_prefix=$ac_optarg ;;
930
931 -program-suffix | --program-suffix | --program-suffi | --program-suff \
932 | --program-suf | --program-su | --program-s)
933 ac_prev=program_suffix ;;
934 -program-suffix=* | --program-suffix=* | --program-suffi=* \
935 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
936 program_suffix=$ac_optarg ;;
937
938 -program-transform-name | --program-transform-name \
939 | --program-transform-nam | --program-transform-na \
940 | --program-transform-n | --program-transform- \
941 | --program-transform | --program-transfor \
942 | --program-transfo | --program-transf \
943 | --program-trans | --program-tran \
944 | --progr-tra | --program-tr | --program-t)
945 ac_prev=program_transform_name ;;
946 -program-transform-name=* | --program-transform-name=* \
947 | --program-transform-nam=* | --program-transform-na=* \
948 | --program-transform-n=* | --program-transform-=* \
949 | --program-transform=* | --program-transfor=* \
950 | --program-transfo=* | --program-transf=* \
951 | --program-trans=* | --program-tran=* \
952 | --progr-tra=* | --program-tr=* | --program-t=*)
953 program_transform_name=$ac_optarg ;;
954
955 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
956 ac_prev=pdfdir ;;
957 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
958 pdfdir=$ac_optarg ;;
959
960 -psdir | --psdir | --psdi | --psd | --ps)
961 ac_prev=psdir ;;
962 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
963 psdir=$ac_optarg ;;
964
965 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
966 | -silent | --silent | --silen | --sile | --sil)
967 silent=yes ;;
968
969 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
970 ac_prev=sbindir ;;
971 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
972 | --sbi=* | --sb=*)
973 sbindir=$ac_optarg ;;
974
975 -sharedstatedir | --sharedstatedir | --sharedstatedi \
976 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
977 | --sharedst | --shareds | --shared | --share | --shar \
978 | --sha | --sh)
979 ac_prev=sharedstatedir ;;
980 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
981 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
982 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
983 | --sha=* | --sh=*)
984 sharedstatedir=$ac_optarg ;;
985
986 -site | --site | --sit)
987 ac_prev=site ;;
988 -site=* | --site=* | --sit=*)
989 site=$ac_optarg ;;
990
991 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
992 ac_prev=srcdir ;;
993 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
994 srcdir=$ac_optarg ;;
995
996 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
997 | --syscon | --sysco | --sysc | --sys | --sy)
998 ac_prev=sysconfdir ;;
999 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1000 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1001 sysconfdir=$ac_optarg ;;
1002
1003 -target | --target | --targe | --targ | --tar | --ta | --t)
1004 ac_prev=target_alias ;;
1005 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1006 target_alias=$ac_optarg ;;
1007
1008 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1009 verbose=yes ;;
1010
1011 -version | --version | --versio | --versi | --vers | -V)
1012 ac_init_version=: ;;
1013
1014 -with-* | --with-*)
1015 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1016 # Reject names that are not valid shell variable names.
1017 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1018 as_fn_error $? "invalid package name: $ac_useropt"
1019 ac_useropt_orig=$ac_useropt
1020 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021 case $ac_user_opts in
1022 *"
1023 "with_$ac_useropt"
1024 "*) ;;
1025 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1026 ac_unrecognized_sep=', ';;
1027 esac
1028 eval with_$ac_useropt=\$ac_optarg ;;
1029
1030 -without-* | --without-*)
1031 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1032 # Reject names that are not valid shell variable names.
1033 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1034 as_fn_error $? "invalid package name: $ac_useropt"
1035 ac_useropt_orig=$ac_useropt
1036 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1037 case $ac_user_opts in
1038 *"
1039 "with_$ac_useropt"
1040 "*) ;;
1041 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1042 ac_unrecognized_sep=', ';;
1043 esac
1044 eval with_$ac_useropt=no ;;
1045
1046 --x)
1047 # Obsolete; use --with-x.
1048 with_x=yes ;;
1049
1050 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1051 | --x-incl | --x-inc | --x-in | --x-i)
1052 ac_prev=x_includes ;;
1053 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1054 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1055 x_includes=$ac_optarg ;;
1056
1057 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1058 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1059 ac_prev=x_libraries ;;
1060 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1061 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1062 x_libraries=$ac_optarg ;;
1063
1064 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1065 Try \`$0 --help' for more information"
1066 ;;
1067
1068 *=*)
1069 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1070 # Reject names that are not valid shell variable names.
1071 case $ac_envvar in #(
1072 '' | [0-9]* | *[!_$as_cr_alnum]* )
1073 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1074 esac
1075 eval $ac_envvar=\$ac_optarg
1076 export $ac_envvar ;;
1077
1078 *)
1079 # FIXME: should be removed in autoconf 3.0.
1080 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1081 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1082 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1083 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1084 ;;
1085
1086 esac
1087 done
1088
1089 if test -n "$ac_prev"; then
1090 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1091 as_fn_error $? "missing argument to $ac_option"
1092 fi
1093
1094 if test -n "$ac_unrecognized_opts"; then
1095 case $enable_option_checking in
1096 no) ;;
1097 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1098 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1099 esac
1100 fi
1101
1102 # Check all directory arguments for consistency.
1103 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1104 datadir sysconfdir sharedstatedir localstatedir includedir \
1105 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1106 libdir localedir mandir
1107 do
1108 eval ac_val=\$$ac_var
1109 # Remove trailing slashes.
1110 case $ac_val in
1111 */ )
1112 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1113 eval $ac_var=\$ac_val;;
1114 esac
1115 # Be sure to have absolute directory names.
1116 case $ac_val in
1117 [\\/$]* | ?:[\\/]* ) continue;;
1118 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1119 esac
1120 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1121 done
1122
1123 # There might be people who depend on the old broken behavior: `$host'
1124 # used to hold the argument of --host etc.
1125 # FIXME: To remove some day.
1126 build=$build_alias
1127 host=$host_alias
1128 target=$target_alias
1129
1130 # FIXME: To remove some day.
1131 if test "x$host_alias" != x; then
1132 if test "x$build_alias" = x; then
1133 cross_compiling=maybe
1134 elif test "x$build_alias" != "x$host_alias"; then
1135 cross_compiling=yes
1136 fi
1137 fi
1138
1139 ac_tool_prefix=
1140 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1141
1142 test "$silent" = yes && exec 6>/dev/null
1143
1144
1145 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1146 ac_ls_di=`ls -di .` &&
1147 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1148 as_fn_error $? "working directory cannot be determined"
1149 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1150 as_fn_error $? "pwd does not report name of working directory"
1151
1152
1153 # Find the source files, if location was not specified.
1154 if test -z "$srcdir"; then
1155 ac_srcdir_defaulted=yes
1156 # Try the directory containing this script, then the parent directory.
1157 ac_confdir=`$as_dirname -- "$as_myself" ||
1158 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1159 X"$as_myself" : 'X\(//\)[^/]' \| \
1160 X"$as_myself" : 'X\(//\)$' \| \
1161 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1162 $as_echo X"$as_myself" |
1163 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1164 s//\1/
1165 q
1166 }
1167 /^X\(\/\/\)[^/].*/{
1168 s//\1/
1169 q
1170 }
1171 /^X\(\/\/\)$/{
1172 s//\1/
1173 q
1174 }
1175 /^X\(\/\).*/{
1176 s//\1/
1177 q
1178 }
1179 s/.*/./; q'`
1180 srcdir=$ac_confdir
1181 if test ! -r "$srcdir/$ac_unique_file"; then
1182 srcdir=..
1183 fi
1184 else
1185 ac_srcdir_defaulted=no
1186 fi
1187 if test ! -r "$srcdir/$ac_unique_file"; then
1188 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1189 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1190 fi
1191 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1192 ac_abs_confdir=`(
1193 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1194 pwd)`
1195 # When building in place, set srcdir=.
1196 if test "$ac_abs_confdir" = "$ac_pwd"; then
1197 srcdir=.
1198 fi
1199 # Remove unnecessary trailing slashes from srcdir.
1200 # Double slashes in file names in object file debugging info
1201 # mess up M-x gdb in Emacs.
1202 case $srcdir in
1203 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1204 esac
1205 for ac_var in $ac_precious_vars; do
1206 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1207 eval ac_env_${ac_var}_value=\$${ac_var}
1208 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1209 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1210 done
1211
1212 #
1213 # Report the --help message.
1214 #
1215 if test "$ac_init_help" = "long"; then
1216 # Omit some internal or obsolete options to make the list less imposing.
1217 # This message is too long to be a string in the A/UX 3.1 sh.
1218 cat <<_ACEOF
1219 \`configure' configures this package to adapt to many kinds of systems.
1220
1221 Usage: $0 [OPTION]... [VAR=VALUE]...
1222
1223 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1224 VAR=VALUE. See below for descriptions of some of the useful variables.
1225
1226 Defaults for the options are specified in brackets.
1227
1228 Configuration:
1229 -h, --help display this help and exit
1230 --help=short display options specific to this package
1231 --help=recursive display the short help of all the included packages
1232 -V, --version display version information and exit
1233 -q, --quiet, --silent do not print \`checking ...' messages
1234 --cache-file=FILE cache test results in FILE [disabled]
1235 -C, --config-cache alias for \`--cache-file=config.cache'
1236 -n, --no-create do not create output files
1237 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1238
1239 Installation directories:
1240 --prefix=PREFIX install architecture-independent files in PREFIX
1241 [$ac_default_prefix]
1242 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1243 [PREFIX]
1244
1245 By default, \`make install' will install all the files in
1246 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1247 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1248 for instance \`--prefix=\$HOME'.
1249
1250 For better control, use the options below.
1251
1252 Fine tuning of the installation directories:
1253 --bindir=DIR user executables [EPREFIX/bin]
1254 --sbindir=DIR system admin executables [EPREFIX/sbin]
1255 --libexecdir=DIR program executables [EPREFIX/libexec]
1256 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1257 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1258 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1259 --libdir=DIR object code libraries [EPREFIX/lib]
1260 --includedir=DIR C header files [PREFIX/include]
1261 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1262 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1263 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1264 --infodir=DIR info documentation [DATAROOTDIR/info]
1265 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1266 --mandir=DIR man documentation [DATAROOTDIR/man]
1267 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1268 --htmldir=DIR html documentation [DOCDIR]
1269 --dvidir=DIR dvi documentation [DOCDIR]
1270 --pdfdir=DIR pdf documentation [DOCDIR]
1271 --psdir=DIR ps documentation [DOCDIR]
1272 _ACEOF
1273
1274 cat <<\_ACEOF
1275 _ACEOF
1276 fi
1277
1278 if test -n "$ac_init_help"; then
1279
1280 cat <<\_ACEOF
1281
1282 Optional Features:
1283 --disable-option-checking ignore unrecognized --enable/--with options
1284 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1285 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1286 --enable-maintainer-mode
1287 enable make rules and dependencies not useful (and
1288 sometimes confusing) to the casual installer
1289 --enable-sim-inline=inlines
1290 Specify which functions should be inlined
1291 --enable-sim-hardware=LIST
1292 Specify the hardware to be included in the build.
1293
1294 Some influential environment variables:
1295 CC C compiler command
1296 CFLAGS C compiler flags
1297 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1298 nonstandard directory <lib dir>
1299 LIBS libraries to pass to the linker, e.g. -l<library>
1300 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1301 you have headers in a nonstandard directory <include dir>
1302
1303 Use these variables to override the choices made by `configure' or to help
1304 it to find libraries and programs with nonstandard names/locations.
1305
1306 Report bugs to the package provider.
1307 _ACEOF
1308 ac_status=$?
1309 fi
1310
1311 if test "$ac_init_help" = "recursive"; then
1312 # If there are subdirs, report their specific --help.
1313 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1314 test -d "$ac_dir" ||
1315 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1316 continue
1317 ac_builddir=.
1318
1319 case "$ac_dir" in
1320 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1321 *)
1322 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1323 # A ".." for each directory in $ac_dir_suffix.
1324 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1325 case $ac_top_builddir_sub in
1326 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1327 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1328 esac ;;
1329 esac
1330 ac_abs_top_builddir=$ac_pwd
1331 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1332 # for backward compatibility:
1333 ac_top_builddir=$ac_top_build_prefix
1334
1335 case $srcdir in
1336 .) # We are building in place.
1337 ac_srcdir=.
1338 ac_top_srcdir=$ac_top_builddir_sub
1339 ac_abs_top_srcdir=$ac_pwd ;;
1340 [\\/]* | ?:[\\/]* ) # Absolute name.
1341 ac_srcdir=$srcdir$ac_dir_suffix;
1342 ac_top_srcdir=$srcdir
1343 ac_abs_top_srcdir=$srcdir ;;
1344 *) # Relative name.
1345 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1346 ac_top_srcdir=$ac_top_build_prefix$srcdir
1347 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1348 esac
1349 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1350
1351 cd "$ac_dir" || { ac_status=$?; continue; }
1352 # Check for guested configure.
1353 if test -f "$ac_srcdir/configure.gnu"; then
1354 echo &&
1355 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1356 elif test -f "$ac_srcdir/configure"; then
1357 echo &&
1358 $SHELL "$ac_srcdir/configure" --help=recursive
1359 else
1360 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1361 fi || ac_status=$?
1362 cd "$ac_pwd" || { ac_status=$?; break; }
1363 done
1364 fi
1365
1366 test -n "$ac_init_help" && exit $ac_status
1367 if $ac_init_version; then
1368 cat <<\_ACEOF
1369 configure
1370 generated by GNU Autoconf 2.69
1371
1372 Copyright (C) 2012 Free Software Foundation, Inc.
1373 This configure script is free software; the Free Software Foundation
1374 gives unlimited permission to copy, distribute and modify it.
1375 _ACEOF
1376 exit
1377 fi
1378
1379 ## ------------------------ ##
1380 ## Autoconf initialization. ##
1381 ## ------------------------ ##
1382
1383 # ac_fn_c_try_compile LINENO
1384 # --------------------------
1385 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1386 ac_fn_c_try_compile ()
1387 {
1388 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1389 rm -f conftest.$ac_objext
1390 if { { ac_try="$ac_compile"
1391 case "(($ac_try" in
1392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1393 *) ac_try_echo=$ac_try;;
1394 esac
1395 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1396 $as_echo "$ac_try_echo"; } >&5
1397 (eval "$ac_compile") 2>conftest.err
1398 ac_status=$?
1399 if test -s conftest.err; then
1400 grep -v '^ *+' conftest.err >conftest.er1
1401 cat conftest.er1 >&5
1402 mv -f conftest.er1 conftest.err
1403 fi
1404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1405 test $ac_status = 0; } && {
1406 test -z "$ac_c_werror_flag" ||
1407 test ! -s conftest.err
1408 } && test -s conftest.$ac_objext; then :
1409 ac_retval=0
1410 else
1411 $as_echo "$as_me: failed program was:" >&5
1412 sed 's/^/| /' conftest.$ac_ext >&5
1413
1414 ac_retval=1
1415 fi
1416 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1417 as_fn_set_status $ac_retval
1418
1419 } # ac_fn_c_try_compile
1420 cat >config.log <<_ACEOF
1421 This file contains any messages produced by compilers while
1422 running configure, to aid debugging if configure makes a mistake.
1423
1424 It was created by $as_me, which was
1425 generated by GNU Autoconf 2.69. Invocation command line was
1426
1427 $ $0 $@
1428
1429 _ACEOF
1430 exec 5>>config.log
1431 {
1432 cat <<_ASUNAME
1433 ## --------- ##
1434 ## Platform. ##
1435 ## --------- ##
1436
1437 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1438 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1439 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1440 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1441 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1442
1443 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1444 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1445
1446 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1447 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1448 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1449 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1450 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1451 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1452 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1453
1454 _ASUNAME
1455
1456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1457 for as_dir in $PATH
1458 do
1459 IFS=$as_save_IFS
1460 test -z "$as_dir" && as_dir=.
1461 $as_echo "PATH: $as_dir"
1462 done
1463 IFS=$as_save_IFS
1464
1465 } >&5
1466
1467 cat >&5 <<_ACEOF
1468
1469
1470 ## ----------- ##
1471 ## Core tests. ##
1472 ## ----------- ##
1473
1474 _ACEOF
1475
1476
1477 # Keep a trace of the command line.
1478 # Strip out --no-create and --no-recursion so they do not pile up.
1479 # Strip out --silent because we don't want to record it for future runs.
1480 # Also quote any args containing shell meta-characters.
1481 # Make two passes to allow for proper duplicate-argument suppression.
1482 ac_configure_args=
1483 ac_configure_args0=
1484 ac_configure_args1=
1485 ac_must_keep_next=false
1486 for ac_pass in 1 2
1487 do
1488 for ac_arg
1489 do
1490 case $ac_arg in
1491 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1492 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1493 | -silent | --silent | --silen | --sile | --sil)
1494 continue ;;
1495 *\'*)
1496 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1497 esac
1498 case $ac_pass in
1499 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1500 2)
1501 as_fn_append ac_configure_args1 " '$ac_arg'"
1502 if test $ac_must_keep_next = true; then
1503 ac_must_keep_next=false # Got value, back to normal.
1504 else
1505 case $ac_arg in
1506 *=* | --config-cache | -C | -disable-* | --disable-* \
1507 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1508 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1509 | -with-* | --with-* | -without-* | --without-* | --x)
1510 case "$ac_configure_args0 " in
1511 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1512 esac
1513 ;;
1514 -* ) ac_must_keep_next=true ;;
1515 esac
1516 fi
1517 as_fn_append ac_configure_args " '$ac_arg'"
1518 ;;
1519 esac
1520 done
1521 done
1522 { ac_configure_args0=; unset ac_configure_args0;}
1523 { ac_configure_args1=; unset ac_configure_args1;}
1524
1525 # When interrupted or exit'd, cleanup temporary files, and complete
1526 # config.log. We remove comments because anyway the quotes in there
1527 # would cause problems or look ugly.
1528 # WARNING: Use '\'' to represent an apostrophe within the trap.
1529 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1530 trap 'exit_status=$?
1531 # Save into config.log some information that might help in debugging.
1532 {
1533 echo
1534
1535 $as_echo "## ---------------- ##
1536 ## Cache variables. ##
1537 ## ---------------- ##"
1538 echo
1539 # The following way of writing the cache mishandles newlines in values,
1540 (
1541 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1542 eval ac_val=\$$ac_var
1543 case $ac_val in #(
1544 *${as_nl}*)
1545 case $ac_var in #(
1546 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1547 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1548 esac
1549 case $ac_var in #(
1550 _ | IFS | as_nl) ;; #(
1551 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1552 *) { eval $ac_var=; unset $ac_var;} ;;
1553 esac ;;
1554 esac
1555 done
1556 (set) 2>&1 |
1557 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1558 *${as_nl}ac_space=\ *)
1559 sed -n \
1560 "s/'\''/'\''\\\\'\'''\''/g;
1561 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1562 ;; #(
1563 *)
1564 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1565 ;;
1566 esac |
1567 sort
1568 )
1569 echo
1570
1571 $as_echo "## ----------------- ##
1572 ## Output variables. ##
1573 ## ----------------- ##"
1574 echo
1575 for ac_var in $ac_subst_vars
1576 do
1577 eval ac_val=\$$ac_var
1578 case $ac_val in
1579 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1580 esac
1581 $as_echo "$ac_var='\''$ac_val'\''"
1582 done | sort
1583 echo
1584
1585 if test -n "$ac_subst_files"; then
1586 $as_echo "## ------------------- ##
1587 ## File substitutions. ##
1588 ## ------------------- ##"
1589 echo
1590 for ac_var in $ac_subst_files
1591 do
1592 eval ac_val=\$$ac_var
1593 case $ac_val in
1594 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1595 esac
1596 $as_echo "$ac_var='\''$ac_val'\''"
1597 done | sort
1598 echo
1599 fi
1600
1601 if test -s confdefs.h; then
1602 $as_echo "## ----------- ##
1603 ## confdefs.h. ##
1604 ## ----------- ##"
1605 echo
1606 cat confdefs.h
1607 echo
1608 fi
1609 test "$ac_signal" != 0 &&
1610 $as_echo "$as_me: caught signal $ac_signal"
1611 $as_echo "$as_me: exit $exit_status"
1612 } >&5
1613 rm -f core *.core core.conftest.* &&
1614 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1615 exit $exit_status
1616 ' 0
1617 for ac_signal in 1 2 13 15; do
1618 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1619 done
1620 ac_signal=0
1621
1622 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1623 rm -f -r conftest* confdefs.h
1624
1625 $as_echo "/* confdefs.h */" > confdefs.h
1626
1627 # Predefined preprocessor variables.
1628
1629 cat >>confdefs.h <<_ACEOF
1630 #define PACKAGE_NAME "$PACKAGE_NAME"
1631 _ACEOF
1632
1633 cat >>confdefs.h <<_ACEOF
1634 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1635 _ACEOF
1636
1637 cat >>confdefs.h <<_ACEOF
1638 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1639 _ACEOF
1640
1641 cat >>confdefs.h <<_ACEOF
1642 #define PACKAGE_STRING "$PACKAGE_STRING"
1643 _ACEOF
1644
1645 cat >>confdefs.h <<_ACEOF
1646 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1647 _ACEOF
1648
1649 cat >>confdefs.h <<_ACEOF
1650 #define PACKAGE_URL "$PACKAGE_URL"
1651 _ACEOF
1652
1653
1654 # Let the site file select an alternate cache file if it wants to.
1655 # Prefer an explicitly selected file to automatically selected ones.
1656 ac_site_file1=NONE
1657 ac_site_file2=NONE
1658 if test -n "$CONFIG_SITE"; then
1659 # We do not want a PATH search for config.site.
1660 case $CONFIG_SITE in #((
1661 -*) ac_site_file1=./$CONFIG_SITE;;
1662 */*) ac_site_file1=$CONFIG_SITE;;
1663 *) ac_site_file1=./$CONFIG_SITE;;
1664 esac
1665 elif test "x$prefix" != xNONE; then
1666 ac_site_file1=$prefix/share/config.site
1667 ac_site_file2=$prefix/etc/config.site
1668 else
1669 ac_site_file1=$ac_default_prefix/share/config.site
1670 ac_site_file2=$ac_default_prefix/etc/config.site
1671 fi
1672 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1673 do
1674 test "x$ac_site_file" = xNONE && continue
1675 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1677 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1678 sed 's/^/| /' "$ac_site_file" >&5
1679 . "$ac_site_file" \
1680 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1681 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1682 as_fn_error $? "failed to load site script $ac_site_file
1683 See \`config.log' for more details" "$LINENO" 5; }
1684 fi
1685 done
1686
1687 if test -r "$cache_file"; then
1688 # Some versions of bash will fail to source /dev/null (special files
1689 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1690 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1692 $as_echo "$as_me: loading cache $cache_file" >&6;}
1693 case $cache_file in
1694 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1695 *) . "./$cache_file";;
1696 esac
1697 fi
1698 else
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1700 $as_echo "$as_me: creating cache $cache_file" >&6;}
1701 >$cache_file
1702 fi
1703
1704 # Check that the precious variables saved in the cache have kept the same
1705 # value.
1706 ac_cache_corrupted=false
1707 for ac_var in $ac_precious_vars; do
1708 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1709 eval ac_new_set=\$ac_env_${ac_var}_set
1710 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1711 eval ac_new_val=\$ac_env_${ac_var}_value
1712 case $ac_old_set,$ac_new_set in
1713 set,)
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1715 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1716 ac_cache_corrupted=: ;;
1717 ,set)
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1719 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1720 ac_cache_corrupted=: ;;
1721 ,);;
1722 *)
1723 if test "x$ac_old_val" != "x$ac_new_val"; then
1724 # differences in whitespace do not lead to failure.
1725 ac_old_val_w=`echo x $ac_old_val`
1726 ac_new_val_w=`echo x $ac_new_val`
1727 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1729 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1730 ac_cache_corrupted=:
1731 else
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1733 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1734 eval $ac_var=\$ac_old_val
1735 fi
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1737 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1739 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1740 fi;;
1741 esac
1742 # Pass precious variables to config.status.
1743 if test "$ac_new_set" = set; then
1744 case $ac_new_val in
1745 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1746 *) ac_arg=$ac_var=$ac_new_val ;;
1747 esac
1748 case " $ac_configure_args " in
1749 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1750 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1751 esac
1752 fi
1753 done
1754 if $ac_cache_corrupted; then
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1756 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1758 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1759 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1760 fi
1761 ## -------------------- ##
1762 ## Main body of script. ##
1763 ## -------------------- ##
1764
1765 ac_ext=c
1766 ac_cpp='$CPP $CPPFLAGS'
1767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1770
1771
1772
1773
1774
1775
1776
1777 ac_ext=c
1778 ac_cpp='$CPP $CPPFLAGS'
1779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1782 if test -n "$ac_tool_prefix"; then
1783 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1784 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1786 $as_echo_n "checking for $ac_word... " >&6; }
1787 if ${ac_cv_prog_CC+:} false; then :
1788 $as_echo_n "(cached) " >&6
1789 else
1790 if test -n "$CC"; then
1791 ac_cv_prog_CC="$CC" # Let the user override the test.
1792 else
1793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1794 for as_dir in $PATH
1795 do
1796 IFS=$as_save_IFS
1797 test -z "$as_dir" && as_dir=.
1798 for ac_exec_ext in '' $ac_executable_extensions; do
1799 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1800 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1802 break 2
1803 fi
1804 done
1805 done
1806 IFS=$as_save_IFS
1807
1808 fi
1809 fi
1810 CC=$ac_cv_prog_CC
1811 if test -n "$CC"; then
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1813 $as_echo "$CC" >&6; }
1814 else
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1816 $as_echo "no" >&6; }
1817 fi
1818
1819
1820 fi
1821 if test -z "$ac_cv_prog_CC"; then
1822 ac_ct_CC=$CC
1823 # Extract the first word of "gcc", so it can be a program name with args.
1824 set dummy gcc; ac_word=$2
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1826 $as_echo_n "checking for $ac_word... " >&6; }
1827 if ${ac_cv_prog_ac_ct_CC+:} false; then :
1828 $as_echo_n "(cached) " >&6
1829 else
1830 if test -n "$ac_ct_CC"; then
1831 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1832 else
1833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1834 for as_dir in $PATH
1835 do
1836 IFS=$as_save_IFS
1837 test -z "$as_dir" && as_dir=.
1838 for ac_exec_ext in '' $ac_executable_extensions; do
1839 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1840 ac_cv_prog_ac_ct_CC="gcc"
1841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1842 break 2
1843 fi
1844 done
1845 done
1846 IFS=$as_save_IFS
1847
1848 fi
1849 fi
1850 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1851 if test -n "$ac_ct_CC"; then
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1853 $as_echo "$ac_ct_CC" >&6; }
1854 else
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1856 $as_echo "no" >&6; }
1857 fi
1858
1859 if test "x$ac_ct_CC" = x; then
1860 CC=""
1861 else
1862 case $cross_compiling:$ac_tool_warned in
1863 yes:)
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1865 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1866 ac_tool_warned=yes ;;
1867 esac
1868 CC=$ac_ct_CC
1869 fi
1870 else
1871 CC="$ac_cv_prog_CC"
1872 fi
1873
1874 if test -z "$CC"; then
1875 if test -n "$ac_tool_prefix"; then
1876 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1877 set dummy ${ac_tool_prefix}cc; ac_word=$2
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1879 $as_echo_n "checking for $ac_word... " >&6; }
1880 if ${ac_cv_prog_CC+:} false; then :
1881 $as_echo_n "(cached) " >&6
1882 else
1883 if test -n "$CC"; then
1884 ac_cv_prog_CC="$CC" # Let the user override the test.
1885 else
1886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1887 for as_dir in $PATH
1888 do
1889 IFS=$as_save_IFS
1890 test -z "$as_dir" && as_dir=.
1891 for ac_exec_ext in '' $ac_executable_extensions; do
1892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1893 ac_cv_prog_CC="${ac_tool_prefix}cc"
1894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1895 break 2
1896 fi
1897 done
1898 done
1899 IFS=$as_save_IFS
1900
1901 fi
1902 fi
1903 CC=$ac_cv_prog_CC
1904 if test -n "$CC"; then
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1906 $as_echo "$CC" >&6; }
1907 else
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1909 $as_echo "no" >&6; }
1910 fi
1911
1912
1913 fi
1914 fi
1915 if test -z "$CC"; then
1916 # Extract the first word of "cc", so it can be a program name with args.
1917 set dummy cc; ac_word=$2
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1919 $as_echo_n "checking for $ac_word... " >&6; }
1920 if ${ac_cv_prog_CC+:} false; then :
1921 $as_echo_n "(cached) " >&6
1922 else
1923 if test -n "$CC"; then
1924 ac_cv_prog_CC="$CC" # Let the user override the test.
1925 else
1926 ac_prog_rejected=no
1927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1928 for as_dir in $PATH
1929 do
1930 IFS=$as_save_IFS
1931 test -z "$as_dir" && as_dir=.
1932 for ac_exec_ext in '' $ac_executable_extensions; do
1933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1934 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1935 ac_prog_rejected=yes
1936 continue
1937 fi
1938 ac_cv_prog_CC="cc"
1939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1940 break 2
1941 fi
1942 done
1943 done
1944 IFS=$as_save_IFS
1945
1946 if test $ac_prog_rejected = yes; then
1947 # We found a bogon in the path, so make sure we never use it.
1948 set dummy $ac_cv_prog_CC
1949 shift
1950 if test $# != 0; then
1951 # We chose a different compiler from the bogus one.
1952 # However, it has the same basename, so the bogon will be chosen
1953 # first if we set CC to just the basename; use the full file name.
1954 shift
1955 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1956 fi
1957 fi
1958 fi
1959 fi
1960 CC=$ac_cv_prog_CC
1961 if test -n "$CC"; then
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1963 $as_echo "$CC" >&6; }
1964 else
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1966 $as_echo "no" >&6; }
1967 fi
1968
1969
1970 fi
1971 if test -z "$CC"; then
1972 if test -n "$ac_tool_prefix"; then
1973 for ac_prog in cl.exe
1974 do
1975 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1976 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1978 $as_echo_n "checking for $ac_word... " >&6; }
1979 if ${ac_cv_prog_CC+:} false; then :
1980 $as_echo_n "(cached) " >&6
1981 else
1982 if test -n "$CC"; then
1983 ac_cv_prog_CC="$CC" # Let the user override the test.
1984 else
1985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1986 for as_dir in $PATH
1987 do
1988 IFS=$as_save_IFS
1989 test -z "$as_dir" && as_dir=.
1990 for ac_exec_ext in '' $ac_executable_extensions; do
1991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1992 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1994 break 2
1995 fi
1996 done
1997 done
1998 IFS=$as_save_IFS
1999
2000 fi
2001 fi
2002 CC=$ac_cv_prog_CC
2003 if test -n "$CC"; then
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2005 $as_echo "$CC" >&6; }
2006 else
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2008 $as_echo "no" >&6; }
2009 fi
2010
2011
2012 test -n "$CC" && break
2013 done
2014 fi
2015 if test -z "$CC"; then
2016 ac_ct_CC=$CC
2017 for ac_prog in cl.exe
2018 do
2019 # Extract the first word of "$ac_prog", so it can be a program name with args.
2020 set dummy $ac_prog; ac_word=$2
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2022 $as_echo_n "checking for $ac_word... " >&6; }
2023 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2024 $as_echo_n "(cached) " >&6
2025 else
2026 if test -n "$ac_ct_CC"; then
2027 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2028 else
2029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2030 for as_dir in $PATH
2031 do
2032 IFS=$as_save_IFS
2033 test -z "$as_dir" && as_dir=.
2034 for ac_exec_ext in '' $ac_executable_extensions; do
2035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2036 ac_cv_prog_ac_ct_CC="$ac_prog"
2037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2038 break 2
2039 fi
2040 done
2041 done
2042 IFS=$as_save_IFS
2043
2044 fi
2045 fi
2046 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2047 if test -n "$ac_ct_CC"; then
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2049 $as_echo "$ac_ct_CC" >&6; }
2050 else
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2052 $as_echo "no" >&6; }
2053 fi
2054
2055
2056 test -n "$ac_ct_CC" && break
2057 done
2058
2059 if test "x$ac_ct_CC" = x; then
2060 CC=""
2061 else
2062 case $cross_compiling:$ac_tool_warned in
2063 yes:)
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2066 ac_tool_warned=yes ;;
2067 esac
2068 CC=$ac_ct_CC
2069 fi
2070 fi
2071
2072 fi
2073
2074
2075 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2077 as_fn_error $? "no acceptable C compiler found in \$PATH
2078 See \`config.log' for more details" "$LINENO" 5; }
2079
2080 # Provide some information about the compiler.
2081 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2082 set X $ac_compile
2083 ac_compiler=$2
2084 for ac_option in --version -v -V -qversion; do
2085 { { ac_try="$ac_compiler $ac_option >&5"
2086 case "(($ac_try" in
2087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2088 *) ac_try_echo=$ac_try;;
2089 esac
2090 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2091 $as_echo "$ac_try_echo"; } >&5
2092 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2093 ac_status=$?
2094 if test -s conftest.err; then
2095 sed '10a\
2096 ... rest of stderr output deleted ...
2097 10q' conftest.err >conftest.er1
2098 cat conftest.er1 >&5
2099 fi
2100 rm -f conftest.er1 conftest.err
2101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2102 test $ac_status = 0; }
2103 done
2104
2105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2106 /* end confdefs.h. */
2107
2108 int
2109 main ()
2110 {
2111
2112 ;
2113 return 0;
2114 }
2115 _ACEOF
2116 ac_clean_files_save=$ac_clean_files
2117 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2118 # Try to create an executable without -o first, disregard a.out.
2119 # It will help us diagnose broken compilers, and finding out an intuition
2120 # of exeext.
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2122 $as_echo_n "checking whether the C compiler works... " >&6; }
2123 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2124
2125 # The possible output files:
2126 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2127
2128 ac_rmfiles=
2129 for ac_file in $ac_files
2130 do
2131 case $ac_file in
2132 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2133 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2134 esac
2135 done
2136 rm -f $ac_rmfiles
2137
2138 if { { ac_try="$ac_link_default"
2139 case "(($ac_try" in
2140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2141 *) ac_try_echo=$ac_try;;
2142 esac
2143 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2144 $as_echo "$ac_try_echo"; } >&5
2145 (eval "$ac_link_default") 2>&5
2146 ac_status=$?
2147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2148 test $ac_status = 0; }; then :
2149 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2150 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2151 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2152 # so that the user can short-circuit this test for compilers unknown to
2153 # Autoconf.
2154 for ac_file in $ac_files ''
2155 do
2156 test -f "$ac_file" || continue
2157 case $ac_file in
2158 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2159 ;;
2160 [ab].out )
2161 # We found the default executable, but exeext='' is most
2162 # certainly right.
2163 break;;
2164 *.* )
2165 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2166 then :; else
2167 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2168 fi
2169 # We set ac_cv_exeext here because the later test for it is not
2170 # safe: cross compilers may not add the suffix if given an `-o'
2171 # argument, so we may need to know it at that point already.
2172 # Even if this section looks crufty: it has the advantage of
2173 # actually working.
2174 break;;
2175 * )
2176 break;;
2177 esac
2178 done
2179 test "$ac_cv_exeext" = no && ac_cv_exeext=
2180
2181 else
2182 ac_file=''
2183 fi
2184 if test -z "$ac_file"; then :
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2186 $as_echo "no" >&6; }
2187 $as_echo "$as_me: failed program was:" >&5
2188 sed 's/^/| /' conftest.$ac_ext >&5
2189
2190 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2192 as_fn_error 77 "C compiler cannot create executables
2193 See \`config.log' for more details" "$LINENO" 5; }
2194 else
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2196 $as_echo "yes" >&6; }
2197 fi
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2199 $as_echo_n "checking for C compiler default output file name... " >&6; }
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2201 $as_echo "$ac_file" >&6; }
2202 ac_exeext=$ac_cv_exeext
2203
2204 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2205 ac_clean_files=$ac_clean_files_save
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2207 $as_echo_n "checking for suffix of executables... " >&6; }
2208 if { { ac_try="$ac_link"
2209 case "(($ac_try" in
2210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2211 *) ac_try_echo=$ac_try;;
2212 esac
2213 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2214 $as_echo "$ac_try_echo"; } >&5
2215 (eval "$ac_link") 2>&5
2216 ac_status=$?
2217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2218 test $ac_status = 0; }; then :
2219 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2220 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2221 # work properly (i.e., refer to `conftest.exe'), while it won't with
2222 # `rm'.
2223 for ac_file in conftest.exe conftest conftest.*; do
2224 test -f "$ac_file" || continue
2225 case $ac_file in
2226 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2227 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2228 break;;
2229 * ) break;;
2230 esac
2231 done
2232 else
2233 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2234 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2235 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2236 See \`config.log' for more details" "$LINENO" 5; }
2237 fi
2238 rm -f conftest conftest$ac_cv_exeext
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2240 $as_echo "$ac_cv_exeext" >&6; }
2241
2242 rm -f conftest.$ac_ext
2243 EXEEXT=$ac_cv_exeext
2244 ac_exeext=$EXEEXT
2245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2246 /* end confdefs.h. */
2247 #include <stdio.h>
2248 int
2249 main ()
2250 {
2251 FILE *f = fopen ("conftest.out", "w");
2252 return ferror (f) || fclose (f) != 0;
2253
2254 ;
2255 return 0;
2256 }
2257 _ACEOF
2258 ac_clean_files="$ac_clean_files conftest.out"
2259 # Check that the compiler produces executables we can run. If not, either
2260 # the compiler is broken, or we cross compile.
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2262 $as_echo_n "checking whether we are cross compiling... " >&6; }
2263 if test "$cross_compiling" != yes; then
2264 { { ac_try="$ac_link"
2265 case "(($ac_try" in
2266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2267 *) ac_try_echo=$ac_try;;
2268 esac
2269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2270 $as_echo "$ac_try_echo"; } >&5
2271 (eval "$ac_link") 2>&5
2272 ac_status=$?
2273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2274 test $ac_status = 0; }
2275 if { ac_try='./conftest$ac_cv_exeext'
2276 { { case "(($ac_try" in
2277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2278 *) ac_try_echo=$ac_try;;
2279 esac
2280 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2281 $as_echo "$ac_try_echo"; } >&5
2282 (eval "$ac_try") 2>&5
2283 ac_status=$?
2284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2285 test $ac_status = 0; }; }; then
2286 cross_compiling=no
2287 else
2288 if test "$cross_compiling" = maybe; then
2289 cross_compiling=yes
2290 else
2291 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2293 as_fn_error $? "cannot run C compiled programs.
2294 If you meant to cross compile, use \`--host'.
2295 See \`config.log' for more details" "$LINENO" 5; }
2296 fi
2297 fi
2298 fi
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2300 $as_echo "$cross_compiling" >&6; }
2301
2302 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2303 ac_clean_files=$ac_clean_files_save
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2305 $as_echo_n "checking for suffix of object files... " >&6; }
2306 if ${ac_cv_objext+:} false; then :
2307 $as_echo_n "(cached) " >&6
2308 else
2309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2310 /* end confdefs.h. */
2311
2312 int
2313 main ()
2314 {
2315
2316 ;
2317 return 0;
2318 }
2319 _ACEOF
2320 rm -f conftest.o conftest.obj
2321 if { { ac_try="$ac_compile"
2322 case "(($ac_try" in
2323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2324 *) ac_try_echo=$ac_try;;
2325 esac
2326 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2327 $as_echo "$ac_try_echo"; } >&5
2328 (eval "$ac_compile") 2>&5
2329 ac_status=$?
2330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2331 test $ac_status = 0; }; then :
2332 for ac_file in conftest.o conftest.obj conftest.*; do
2333 test -f "$ac_file" || continue;
2334 case $ac_file in
2335 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2336 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2337 break;;
2338 esac
2339 done
2340 else
2341 $as_echo "$as_me: failed program was:" >&5
2342 sed 's/^/| /' conftest.$ac_ext >&5
2343
2344 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2345 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2346 as_fn_error $? "cannot compute suffix of object files: cannot compile
2347 See \`config.log' for more details" "$LINENO" 5; }
2348 fi
2349 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2350 fi
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2352 $as_echo "$ac_cv_objext" >&6; }
2353 OBJEXT=$ac_cv_objext
2354 ac_objext=$OBJEXT
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2356 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2357 if ${ac_cv_c_compiler_gnu+:} false; then :
2358 $as_echo_n "(cached) " >&6
2359 else
2360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2361 /* end confdefs.h. */
2362
2363 int
2364 main ()
2365 {
2366 #ifndef __GNUC__
2367 choke me
2368 #endif
2369
2370 ;
2371 return 0;
2372 }
2373 _ACEOF
2374 if ac_fn_c_try_compile "$LINENO"; then :
2375 ac_compiler_gnu=yes
2376 else
2377 ac_compiler_gnu=no
2378 fi
2379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2380 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2381
2382 fi
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2384 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2385 if test $ac_compiler_gnu = yes; then
2386 GCC=yes
2387 else
2388 GCC=
2389 fi
2390 ac_test_CFLAGS=${CFLAGS+set}
2391 ac_save_CFLAGS=$CFLAGS
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2393 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2394 if ${ac_cv_prog_cc_g+:} false; then :
2395 $as_echo_n "(cached) " >&6
2396 else
2397 ac_save_c_werror_flag=$ac_c_werror_flag
2398 ac_c_werror_flag=yes
2399 ac_cv_prog_cc_g=no
2400 CFLAGS="-g"
2401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2402 /* end confdefs.h. */
2403
2404 int
2405 main ()
2406 {
2407
2408 ;
2409 return 0;
2410 }
2411 _ACEOF
2412 if ac_fn_c_try_compile "$LINENO"; then :
2413 ac_cv_prog_cc_g=yes
2414 else
2415 CFLAGS=""
2416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2417 /* end confdefs.h. */
2418
2419 int
2420 main ()
2421 {
2422
2423 ;
2424 return 0;
2425 }
2426 _ACEOF
2427 if ac_fn_c_try_compile "$LINENO"; then :
2428
2429 else
2430 ac_c_werror_flag=$ac_save_c_werror_flag
2431 CFLAGS="-g"
2432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2433 /* end confdefs.h. */
2434
2435 int
2436 main ()
2437 {
2438
2439 ;
2440 return 0;
2441 }
2442 _ACEOF
2443 if ac_fn_c_try_compile "$LINENO"; then :
2444 ac_cv_prog_cc_g=yes
2445 fi
2446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2447 fi
2448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2449 fi
2450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2451 ac_c_werror_flag=$ac_save_c_werror_flag
2452 fi
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2454 $as_echo "$ac_cv_prog_cc_g" >&6; }
2455 if test "$ac_test_CFLAGS" = set; then
2456 CFLAGS=$ac_save_CFLAGS
2457 elif test $ac_cv_prog_cc_g = yes; then
2458 if test "$GCC" = yes; then
2459 CFLAGS="-g -O2"
2460 else
2461 CFLAGS="-g"
2462 fi
2463 else
2464 if test "$GCC" = yes; then
2465 CFLAGS="-O2"
2466 else
2467 CFLAGS=
2468 fi
2469 fi
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2471 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2472 if ${ac_cv_prog_cc_c89+:} false; then :
2473 $as_echo_n "(cached) " >&6
2474 else
2475 ac_cv_prog_cc_c89=no
2476 ac_save_CC=$CC
2477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2478 /* end confdefs.h. */
2479 #include <stdarg.h>
2480 #include <stdio.h>
2481 struct stat;
2482 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2483 struct buf { int x; };
2484 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2485 static char *e (p, i)
2486 char **p;
2487 int i;
2488 {
2489 return p[i];
2490 }
2491 static char *f (char * (*g) (char **, int), char **p, ...)
2492 {
2493 char *s;
2494 va_list v;
2495 va_start (v,p);
2496 s = g (p, va_arg (v,int));
2497 va_end (v);
2498 return s;
2499 }
2500
2501 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2502 function prototypes and stuff, but not '\xHH' hex character constants.
2503 These don't provoke an error unfortunately, instead are silently treated
2504 as 'x'. The following induces an error, until -std is added to get
2505 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2506 array size at least. It's necessary to write '\x00'==0 to get something
2507 that's true only with -std. */
2508 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2509
2510 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2511 inside strings and character constants. */
2512 #define FOO(x) 'x'
2513 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2514
2515 int test (int i, double x);
2516 struct s1 {int (*f) (int a);};
2517 struct s2 {int (*f) (double a);};
2518 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2519 int argc;
2520 char **argv;
2521 int
2522 main ()
2523 {
2524 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2525 ;
2526 return 0;
2527 }
2528 _ACEOF
2529 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2530 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2531 do
2532 CC="$ac_save_CC $ac_arg"
2533 if ac_fn_c_try_compile "$LINENO"; then :
2534 ac_cv_prog_cc_c89=$ac_arg
2535 fi
2536 rm -f core conftest.err conftest.$ac_objext
2537 test "x$ac_cv_prog_cc_c89" != "xno" && break
2538 done
2539 rm -f conftest.$ac_ext
2540 CC=$ac_save_CC
2541
2542 fi
2543 # AC_CACHE_VAL
2544 case "x$ac_cv_prog_cc_c89" in
2545 x)
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2547 $as_echo "none needed" >&6; } ;;
2548 xno)
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2550 $as_echo "unsupported" >&6; } ;;
2551 *)
2552 CC="$CC $ac_cv_prog_cc_c89"
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2554 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2555 esac
2556 if test "x$ac_cv_prog_cc_c89" != xno; then :
2557
2558 fi
2559
2560 ac_ext=c
2561 ac_cpp='$CPP $CPPFLAGS'
2562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2565
2566 ac_aux_dir=
2567 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2568 if test -f "$ac_dir/install-sh"; then
2569 ac_aux_dir=$ac_dir
2570 ac_install_sh="$ac_aux_dir/install-sh -c"
2571 break
2572 elif test -f "$ac_dir/install.sh"; then
2573 ac_aux_dir=$ac_dir
2574 ac_install_sh="$ac_aux_dir/install.sh -c"
2575 break
2576 elif test -f "$ac_dir/shtool"; then
2577 ac_aux_dir=$ac_dir
2578 ac_install_sh="$ac_aux_dir/shtool install -c"
2579 break
2580 fi
2581 done
2582 if test -z "$ac_aux_dir"; then
2583 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2584 fi
2585
2586 # These three variables are undocumented and unsupported,
2587 # and are intended to be withdrawn in a future Autoconf release.
2588 # They can cause serious problems if a builder's source tree is in a directory
2589 # whose full name contains unusual characters.
2590 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2591 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2592 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2593
2594
2595 # Find a good install program. We prefer a C program (faster),
2596 # so one script is as good as another. But avoid the broken or
2597 # incompatible versions:
2598 # SysV /etc/install, /usr/sbin/install
2599 # SunOS /usr/etc/install
2600 # IRIX /sbin/install
2601 # AIX /bin/install
2602 # AmigaOS /C/install, which installs bootblocks on floppy discs
2603 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2604 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2605 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2606 # OS/2's system install, which has a completely different semantic
2607 # ./install, which can be erroneously created by make from ./install.sh.
2608 # Reject install programs that cannot install multiple files.
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2610 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2611 if test -z "$INSTALL"; then
2612 if ${ac_cv_path_install+:} false; then :
2613 $as_echo_n "(cached) " >&6
2614 else
2615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2616 for as_dir in $PATH
2617 do
2618 IFS=$as_save_IFS
2619 test -z "$as_dir" && as_dir=.
2620 # Account for people who put trailing slashes in PATH elements.
2621 case $as_dir/ in #((
2622 ./ | .// | /[cC]/* | \
2623 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2624 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2625 /usr/ucb/* ) ;;
2626 *)
2627 # OSF1 and SCO ODT 3.0 have their own names for install.
2628 # Don't use installbsd from OSF since it installs stuff as root
2629 # by default.
2630 for ac_prog in ginstall scoinst install; do
2631 for ac_exec_ext in '' $ac_executable_extensions; do
2632 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2633 if test $ac_prog = install &&
2634 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2635 # AIX install. It has an incompatible calling convention.
2636 :
2637 elif test $ac_prog = install &&
2638 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2639 # program-specific install script used by HP pwplus--don't use.
2640 :
2641 else
2642 rm -rf conftest.one conftest.two conftest.dir
2643 echo one > conftest.one
2644 echo two > conftest.two
2645 mkdir conftest.dir
2646 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2647 test -s conftest.one && test -s conftest.two &&
2648 test -s conftest.dir/conftest.one &&
2649 test -s conftest.dir/conftest.two
2650 then
2651 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2652 break 3
2653 fi
2654 fi
2655 fi
2656 done
2657 done
2658 ;;
2659 esac
2660
2661 done
2662 IFS=$as_save_IFS
2663
2664 rm -rf conftest.one conftest.two conftest.dir
2665
2666 fi
2667 if test "${ac_cv_path_install+set}" = set; then
2668 INSTALL=$ac_cv_path_install
2669 else
2670 # As a last resort, use the slow shell script. Don't cache a
2671 # value for INSTALL within a source directory, because that will
2672 # break other packages using the cache if that directory is
2673 # removed, or if the value is a relative name.
2674 INSTALL=$ac_install_sh
2675 fi
2676 fi
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2678 $as_echo "$INSTALL" >&6; }
2679
2680 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2681 # It thinks the first close brace ends the variable substitution.
2682 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2683
2684 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2685
2686 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2687
2688 rm -rf .tst 2>/dev/null
2689 mkdir .tst 2>/dev/null
2690 if test -d .tst; then
2691 am__leading_dot=.
2692 else
2693 am__leading_dot=_
2694 fi
2695 rmdir .tst 2>/dev/null
2696
2697 DEPDIR="${am__leading_dot}deps"
2698
2699 # Dependency checking.
2700
2701
2702 ac_config_commands="$ac_config_commands depdir"
2703
2704
2705 depcc="$CC" am_compiler_list=
2706
2707 am_depcomp=$ac_aux_dir/depcomp
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
2709 $as_echo_n "checking dependency style of $depcc... " >&6; }
2710 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
2711 $as_echo_n "(cached) " >&6
2712 else
2713 if test -f "$am_depcomp"; then
2714 # We make a subdir and do the tests there. Otherwise we can end up
2715 # making bogus files that we don't know about and never remove. For
2716 # instance it was reported that on HP-UX the gcc test will end up
2717 # making a dummy file named `D' -- because `-MD' means `put the output
2718 # in D'.
2719 mkdir conftest.dir
2720 # Copy depcomp to subdir because otherwise we won't find it if we're
2721 # using a relative directory.
2722 cp "$am_depcomp" conftest.dir
2723 cd conftest.dir
2724 # We will build objects and dependencies in a subdirectory because
2725 # it helps to detect inapplicable dependency modes. For instance
2726 # both Tru64's cc and ICC support -MD to output dependencies as a
2727 # side effect of compilation, but ICC will put the dependencies in
2728 # the current directory while Tru64 will put them in the object
2729 # directory.
2730 mkdir sub
2731
2732 am_cv_CC_dependencies_compiler_type=none
2733 if test "$am_compiler_list" = ""; then
2734 am_compiler_list=`sed -n 's/^\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2735 fi
2736 for depmode in $am_compiler_list; do
2737 if test $depmode = none; then break; fi
2738
2739 $as_echo "$as_me:$LINENO: trying $depmode" >&5
2740 # Setup a source with many dependencies, because some compilers
2741 # like to wrap large dependency lists on column 80 (with \), and
2742 # we should not choose a depcomp mode which is confused by this.
2743 #
2744 # We need to recreate these files for each test, as the compiler may
2745 # overwrite some of them when testing with obscure command lines.
2746 # This happens at least with the AIX C compiler.
2747 : > sub/conftest.c
2748 for i in 1 2 3 4 5 6; do
2749 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2750 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2751 # Solaris 8's {/usr,}/bin/sh.
2752 touch sub/conftst$i.h
2753 done
2754 echo "include sub/conftest.Po" > confmf
2755
2756 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2757 # mode. It turns out that the SunPro C++ compiler does not properly
2758 # handle `-M -o', and we need to detect this.
2759 depcmd="depmode=$depmode \
2760 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2761 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2762 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c"
2763 echo "| $depcmd" | sed -e 's/ */ /g' >&5
2764 if env $depcmd > conftest.err 2>&1 &&
2765 grep sub/conftst6.h sub/conftest.Po >>conftest.err 2>&1 &&
2766 grep sub/conftest.${OBJEXT-o} sub/conftest.Po >>conftest.err 2>&1 &&
2767 ${MAKE-make} -s -f confmf >>conftest.err 2>&1; then
2768 # icc doesn't choke on unknown options, it will just issue warnings
2769 # or remarks (even with -Werror). So we grep stderr for any message
2770 # that says an option was ignored or not supported.
2771 # When given -MP, icc 7.0 and 7.1 complain thusly:
2772 # icc: Command line warning: ignoring option '-M'; no argument required
2773 # The diagnosis changed in icc 8.0:
2774 # icc: Command line remark: option '-MP' not supported
2775 if (grep 'ignoring option' conftest.err ||
2776 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2777 am_cv_CC_dependencies_compiler_type=$depmode
2778 $as_echo "$as_me:$LINENO: success" >&5
2779 break
2780 fi
2781 fi
2782 $as_echo "$as_me:$LINENO: failure, diagnostics are:" >&5
2783 sed -e 's/^/| /' < conftest.err >&5
2784 done
2785
2786 cd ..
2787 rm -rf conftest.dir
2788 else
2789 am_cv_CC_dependencies_compiler_type=none
2790 fi
2791
2792 fi
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
2794 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
2795 if test x${am_cv_CC_dependencies_compiler_type-none} = xnone
2796 then as_fn_error $? "no usable dependency style found" "$LINENO" 5
2797 else CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2798
2799 fi
2800
2801
2802 ALL_LINGUAS=
2803 # If we haven't got the data from the intl directory,
2804 # assume NLS is disabled.
2805 USE_NLS=no
2806 LIBINTL=
2807 LIBINTL_DEP=
2808 INCINTL=
2809 XGETTEXT=
2810 GMSGFMT=
2811 POSUB=
2812
2813 if test -f ../../intl/config.intl; then
2814 . ../../intl/config.intl
2815 fi
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
2817 $as_echo_n "checking whether NLS is requested... " >&6; }
2818 if test x"$USE_NLS" != xyes; then
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2820 $as_echo "no" >&6; }
2821 else
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2823 $as_echo "yes" >&6; }
2824
2825 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
2826
2827
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
2829 $as_echo_n "checking for catalogs to be installed... " >&6; }
2830 # Look for .po and .gmo files in the source directory.
2831 CATALOGS=
2832 XLINGUAS=
2833 for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
2834 # If there aren't any .gmo files the shell will give us the
2835 # literal string "../path/to/srcdir/po/*.gmo" which has to be
2836 # weeded out.
2837 case "$cat" in *\**)
2838 continue;;
2839 esac
2840 # The quadruple backslash is collapsed to a double backslash
2841 # by the backticks, then collapsed again by the double quotes,
2842 # leaving us with one backslash in the sed expression (right
2843 # before the dot that mustn't act as a wildcard).
2844 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
2845 lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
2846 # The user is allowed to set LINGUAS to a list of languages to
2847 # install catalogs for. If it's empty that means "all of them."
2848 if test "x$LINGUAS" = x; then
2849 CATALOGS="$CATALOGS $cat"
2850 XLINGUAS="$XLINGUAS $lang"
2851 else
2852 case "$LINGUAS" in *$lang*)
2853 CATALOGS="$CATALOGS $cat"
2854 XLINGUAS="$XLINGUAS $lang"
2855 ;;
2856 esac
2857 fi
2858 done
2859 LINGUAS="$XLINGUAS"
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
2861 $as_echo "$LINGUAS" >&6; }
2862
2863
2864 DATADIRNAME=share
2865
2866 INSTOBJEXT=.mo
2867
2868 GENCAT=gencat
2869
2870 CATOBJEXT=.gmo
2871
2872 fi
2873
2874
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2876 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2877 # Check whether --enable-maintainer-mode was given.
2878 if test "${enable_maintainer_mode+set}" = set; then :
2879 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2880 else
2881 USE_MAINTAINER_MODE=no
2882 fi
2883
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2885 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2886 if test $USE_MAINTAINER_MODE = yes; then
2887 MAINTAINER_MODE_TRUE=
2888 MAINTAINER_MODE_FALSE='#'
2889 else
2890 MAINTAINER_MODE_TRUE='#'
2891 MAINTAINER_MODE_FALSE=
2892 fi
2893
2894 MAINT=$MAINTAINER_MODE_TRUE
2895
2896
2897
2898
2899 sim_inline="-DDEFAULT_INLINE=0"
2900 # Check whether --enable-sim-inline was given.
2901 if test "${enable_sim_inline+set}" = set; then :
2902 enableval=$enable_sim_inline; sim_inline=""
2903 case "$enableval" in
2904 no) sim_inline="-DDEFAULT_INLINE=0";;
2905 0) sim_inline="-DDEFAULT_INLINE=0";;
2906 yes | 2) sim_inline="-DDEFAULT_INLINE=ALL_C_INLINE";;
2907 1) sim_inline="-DDEFAULT_INLINE=INLINE_LOCALS";;
2908 *) for x in `echo "$enableval" | sed -e "s/,/ /g"`; do
2909 new_flag=""
2910 case "$x" in
2911 *_INLINE=*) new_flag="-D$x";;
2912 *=*) new_flag=`echo "$x" | sed -e "s/=/_INLINE=/" -e "s/^/-D/"`;;
2913 *_INLINE) new_flag="-D$x=ALL_C_INLINE";;
2914 *) new_flag="-D$x""_INLINE=ALL_C_INLINE";;
2915 esac
2916 if test x"$sim_inline" = x""; then
2917 sim_inline="$new_flag"
2918 else
2919 sim_inline="$sim_inline $new_flag"
2920 fi
2921 done;;
2922 esac
2923 if test x"$silent" != x"yes" && test x"$sim_inline" != x""; then
2924 echo "Setting inline flags = $sim_inline" 6>&1
2925 fi
2926 fi
2927
2928
2929
2930 if test -n "$ac_tool_prefix"; then
2931 # Extract the first word of "${ac_tool_prefix}dtc", so it can be a program name with args.
2932 set dummy ${ac_tool_prefix}dtc; ac_word=$2
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2934 $as_echo_n "checking for $ac_word... " >&6; }
2935 if ${ac_cv_prog_DTC+:} false; then :
2936 $as_echo_n "(cached) " >&6
2937 else
2938 if test -n "$DTC"; then
2939 ac_cv_prog_DTC="$DTC" # Let the user override the test.
2940 else
2941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2942 for as_dir in $PATH
2943 do
2944 IFS=$as_save_IFS
2945 test -z "$as_dir" && as_dir=.
2946 for ac_exec_ext in '' $ac_executable_extensions; do
2947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2948 ac_cv_prog_DTC="${ac_tool_prefix}dtc"
2949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2950 break 2
2951 fi
2952 done
2953 done
2954 IFS=$as_save_IFS
2955
2956 fi
2957 fi
2958 DTC=$ac_cv_prog_DTC
2959 if test -n "$DTC"; then
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DTC" >&5
2961 $as_echo "$DTC" >&6; }
2962 else
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2964 $as_echo "no" >&6; }
2965 fi
2966
2967
2968 fi
2969 if test -z "$ac_cv_prog_DTC"; then
2970 ac_ct_DTC=$DTC
2971 # Extract the first word of "dtc", so it can be a program name with args.
2972 set dummy dtc; ac_word=$2
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2974 $as_echo_n "checking for $ac_word... " >&6; }
2975 if ${ac_cv_prog_ac_ct_DTC+:} false; then :
2976 $as_echo_n "(cached) " >&6
2977 else
2978 if test -n "$ac_ct_DTC"; then
2979 ac_cv_prog_ac_ct_DTC="$ac_ct_DTC" # Let the user override the test.
2980 else
2981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2982 for as_dir in $PATH
2983 do
2984 IFS=$as_save_IFS
2985 test -z "$as_dir" && as_dir=.
2986 for ac_exec_ext in '' $ac_executable_extensions; do
2987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2988 ac_cv_prog_ac_ct_DTC="dtc"
2989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2990 break 2
2991 fi
2992 done
2993 done
2994 IFS=$as_save_IFS
2995
2996 fi
2997 fi
2998 ac_ct_DTC=$ac_cv_prog_ac_ct_DTC
2999 if test -n "$ac_ct_DTC"; then
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DTC" >&5
3001 $as_echo "$ac_ct_DTC" >&6; }
3002 else
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3004 $as_echo "no" >&6; }
3005 fi
3006
3007 if test "x$ac_ct_DTC" = x; then
3008 DTC=""
3009 else
3010 case $cross_compiling:$ac_tool_warned in
3011 yes:)
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3013 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3014 ac_tool_warned=yes ;;
3015 esac
3016 DTC=$ac_ct_DTC
3017 fi
3018 else
3019 DTC="$ac_cv_prog_DTC"
3020 fi
3021
3022
3023
3024 hardware="cfi core pal glue "
3025 sim_hw_cflags="-DWITH_HW=1"
3026 sim_hw="$hardware"
3027 sim_hw_objs="\$(SIM_COMMON_HW_OBJS) `echo $sim_hw | sed -e 's/\([^ ][^ ]*\)/dv-\1.o/g'`"
3028
3029 # Check whether --enable-sim-hardware was given.
3030 if test "${enable_sim_hardware+set}" = set; then :
3031 enableval=$enable_sim_hardware;
3032 else
3033 enable_sim_hardware="yes"
3034 fi
3035
3036 case ${enable_sim_hardware} in
3037 yes|no) ;;
3038 ,*) hardware="${hardware} `echo ${enableval} | sed -e 's/,/ /'`";;
3039 *,) hardware="`echo ${enableval} | sed -e 's/,/ /'` ${hardware}";;
3040 *) hardware="`echo ${enableval} | sed -e 's/,/ /'`"'';;
3041 esac
3042
3043 if test "$enable_sim_hardware" = no; then
3044 sim_hw_objs=
3045 sim_hw_cflags="-DWITH_HW=0"
3046 sim_hw=
3047 else
3048 sim_hw_cflags="-DWITH_HW=1"
3049 # remove duplicates
3050 sim_hw=""
3051 sim_hw_objs="\$(SIM_COMMON_HW_OBJS)"
3052 for i in $hardware ; do
3053 case " $sim_hw " in
3054 *" $i "*) ;;
3055 *) sim_hw="$sim_hw $i" ; sim_hw_objs="$sim_hw_objs dv-$i.o";;
3056 esac
3057 done
3058 # mingw does not support sockser
3059 case ${host} in
3060 *mingw*) ;;
3061 *) # TODO: We don't add dv-sockser to sim_hw as it is not a "real" device
3062 # that you instatiate. Instead, other code will call into it directly.
3063 # At some point, we should convert it over.
3064 sim_hw_objs="$sim_hw_objs dv-sockser.o"
3065 sim_hw_cflags="$sim_hw_cflags -DHAVE_DV_SOCKSER"
3066 ;;
3067 esac
3068 if test x"$silent" != x"yes"; then
3069 echo "Setting hardware to $sim_hw_cflags, $sim_hw, $sim_hw_objs"
3070 fi
3071 fi
3072
3073
3074 cgen_breaks=""
3075 if grep CGEN_MAINT $srcdir/Makefile.in >/dev/null; then
3076 cgen_breaks="break cgen_rtx_error";
3077 fi
3078
3079 ac_config_files="$ac_config_files Makefile.sim:Makefile.in"
3080
3081 ac_config_files="$ac_config_files Make-common.sim:../common/Make-common.in"
3082
3083 ac_config_files="$ac_config_files .gdbinit:../common/gdbinit.in"
3084
3085 ac_config_commands="$ac_config_commands Makefile"
3086
3087 ac_config_commands="$ac_config_commands stamp-h"
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099 cat >confcache <<\_ACEOF
3100 # This file is a shell script that caches the results of configure
3101 # tests run on this system so they can be shared between configure
3102 # scripts and configure runs, see configure's option --config-cache.
3103 # It is not useful on other systems. If it contains results you don't
3104 # want to keep, you may remove or edit it.
3105 #
3106 # config.status only pays attention to the cache file if you give it
3107 # the --recheck option to rerun configure.
3108 #
3109 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3110 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3111 # following values.
3112
3113 _ACEOF
3114
3115 # The following way of writing the cache mishandles newlines in values,
3116 # but we know of no workaround that is simple, portable, and efficient.
3117 # So, we kill variables containing newlines.
3118 # Ultrix sh set writes to stderr and can't be redirected directly,
3119 # and sets the high bit in the cache file unless we assign to the vars.
3120 (
3121 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3122 eval ac_val=\$$ac_var
3123 case $ac_val in #(
3124 *${as_nl}*)
3125 case $ac_var in #(
3126 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3127 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3128 esac
3129 case $ac_var in #(
3130 _ | IFS | as_nl) ;; #(
3131 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3132 *) { eval $ac_var=; unset $ac_var;} ;;
3133 esac ;;
3134 esac
3135 done
3136
3137 (set) 2>&1 |
3138 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3139 *${as_nl}ac_space=\ *)
3140 # `set' does not quote correctly, so add quotes: double-quote
3141 # substitution turns \\\\ into \\, and sed turns \\ into \.
3142 sed -n \
3143 "s/'/'\\\\''/g;
3144 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3145 ;; #(
3146 *)
3147 # `set' quotes correctly as required by POSIX, so do not add quotes.
3148 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3149 ;;
3150 esac |
3151 sort
3152 ) |
3153 sed '
3154 /^ac_cv_env_/b end
3155 t clear
3156 :clear
3157 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3158 t end
3159 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3160 :end' >>confcache
3161 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3162 if test -w "$cache_file"; then
3163 if test "x$cache_file" != "x/dev/null"; then
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3165 $as_echo "$as_me: updating cache $cache_file" >&6;}
3166 if test ! -f "$cache_file" || test -h "$cache_file"; then
3167 cat confcache >"$cache_file"
3168 else
3169 case $cache_file in #(
3170 */* | ?:*)
3171 mv -f confcache "$cache_file"$$ &&
3172 mv -f "$cache_file"$$ "$cache_file" ;; #(
3173 *)
3174 mv -f confcache "$cache_file" ;;
3175 esac
3176 fi
3177 fi
3178 else
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3180 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3181 fi
3182 fi
3183 rm -f confcache
3184
3185 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3186 # Let make expand exec_prefix.
3187 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3188
3189 # Transform confdefs.h into DEFS.
3190 # Protect against shell expansion while executing Makefile rules.
3191 # Protect against Makefile macro expansion.
3192 #
3193 # If the first sed substitution is executed (which looks for macros that
3194 # take arguments), then branch to the quote section. Otherwise,
3195 # look for a macro that doesn't take arguments.
3196 ac_script='
3197 :mline
3198 /\\$/{
3199 N
3200 s,\\\n,,
3201 b mline
3202 }
3203 t clear
3204 :clear
3205 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3206 t quote
3207 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3208 t quote
3209 b any
3210 :quote
3211 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3212 s/\[/\\&/g
3213 s/\]/\\&/g
3214 s/\$/$$/g
3215 H
3216 :any
3217 ${
3218 g
3219 s/^\n//
3220 s/\n/ /g
3221 p
3222 }
3223 '
3224 DEFS=`sed -n "$ac_script" confdefs.h`
3225
3226
3227 ac_libobjs=
3228 ac_ltlibobjs=
3229 U=
3230 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3231 # 1. Remove the extension, and $U if already installed.
3232 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3233 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3234 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3235 # will be set to the directory where LIBOBJS objects are built.
3236 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3237 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3238 done
3239 LIBOBJS=$ac_libobjs
3240
3241 LTLIBOBJS=$ac_ltlibobjs
3242
3243
3244 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3245 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
3246 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3247 fi
3248
3249 : "${CONFIG_STATUS=./config.status}"
3250 ac_write_fail=0
3251 ac_clean_files_save=$ac_clean_files
3252 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3254 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3255 as_write_fail=0
3256 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3257 #! $SHELL
3258 # Generated by $as_me.
3259 # Run this file to recreate the current configuration.
3260 # Compiler output produced by configure, useful for debugging
3261 # configure, is in config.log if it exists.
3262
3263 debug=false
3264 ac_cs_recheck=false
3265 ac_cs_silent=false
3266
3267 SHELL=\${CONFIG_SHELL-$SHELL}
3268 export SHELL
3269 _ASEOF
3270 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3271 ## -------------------- ##
3272 ## M4sh Initialization. ##
3273 ## -------------------- ##
3274
3275 # Be more Bourne compatible
3276 DUALCASE=1; export DUALCASE # for MKS sh
3277 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3278 emulate sh
3279 NULLCMD=:
3280 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3281 # is contrary to our usage. Disable this feature.
3282 alias -g '${1+"$@"}'='"$@"'
3283 setopt NO_GLOB_SUBST
3284 else
3285 case `(set -o) 2>/dev/null` in #(
3286 *posix*) :
3287 set -o posix ;; #(
3288 *) :
3289 ;;
3290 esac
3291 fi
3292
3293
3294 as_nl='
3295 '
3296 export as_nl
3297 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3298 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3299 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3300 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3301 # Prefer a ksh shell builtin over an external printf program on Solaris,
3302 # but without wasting forks for bash or zsh.
3303 if test -z "$BASH_VERSION$ZSH_VERSION" \
3304 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3305 as_echo='print -r --'
3306 as_echo_n='print -rn --'
3307 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3308 as_echo='printf %s\n'
3309 as_echo_n='printf %s'
3310 else
3311 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3312 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3313 as_echo_n='/usr/ucb/echo -n'
3314 else
3315 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3316 as_echo_n_body='eval
3317 arg=$1;
3318 case $arg in #(
3319 *"$as_nl"*)
3320 expr "X$arg" : "X\\(.*\\)$as_nl";
3321 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3322 esac;
3323 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3324 '
3325 export as_echo_n_body
3326 as_echo_n='sh -c $as_echo_n_body as_echo'
3327 fi
3328 export as_echo_body
3329 as_echo='sh -c $as_echo_body as_echo'
3330 fi
3331
3332 # The user is always right.
3333 if test "${PATH_SEPARATOR+set}" != set; then
3334 PATH_SEPARATOR=:
3335 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3336 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3337 PATH_SEPARATOR=';'
3338 }
3339 fi
3340
3341
3342 # IFS
3343 # We need space, tab and new line, in precisely that order. Quoting is
3344 # there to prevent editors from complaining about space-tab.
3345 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3346 # splitting by setting IFS to empty value.)
3347 IFS=" "" $as_nl"
3348
3349 # Find who we are. Look in the path if we contain no directory separator.
3350 as_myself=
3351 case $0 in #((
3352 *[\\/]* ) as_myself=$0 ;;
3353 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3354 for as_dir in $PATH
3355 do
3356 IFS=$as_save_IFS
3357 test -z "$as_dir" && as_dir=.
3358 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3359 done
3360 IFS=$as_save_IFS
3361
3362 ;;
3363 esac
3364 # We did not find ourselves, most probably we were run as `sh COMMAND'
3365 # in which case we are not to be found in the path.
3366 if test "x$as_myself" = x; then
3367 as_myself=$0
3368 fi
3369 if test ! -f "$as_myself"; then
3370 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3371 exit 1
3372 fi
3373
3374 # Unset variables that we do not need and which cause bugs (e.g. in
3375 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3376 # suppresses any "Segmentation fault" message there. '((' could
3377 # trigger a bug in pdksh 5.2.14.
3378 for as_var in BASH_ENV ENV MAIL MAILPATH
3379 do eval test x\${$as_var+set} = xset \
3380 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3381 done
3382 PS1='$ '
3383 PS2='> '
3384 PS4='+ '
3385
3386 # NLS nuisances.
3387 LC_ALL=C
3388 export LC_ALL
3389 LANGUAGE=C
3390 export LANGUAGE
3391
3392 # CDPATH.
3393 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3394
3395
3396 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3397 # ----------------------------------------
3398 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3399 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3400 # script with STATUS, using 1 if that was 0.
3401 as_fn_error ()
3402 {
3403 as_status=$1; test $as_status -eq 0 && as_status=1
3404 if test "$4"; then
3405 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3406 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3407 fi
3408 $as_echo "$as_me: error: $2" >&2
3409 as_fn_exit $as_status
3410 } # as_fn_error
3411
3412
3413 # as_fn_set_status STATUS
3414 # -----------------------
3415 # Set $? to STATUS, without forking.
3416 as_fn_set_status ()
3417 {
3418 return $1
3419 } # as_fn_set_status
3420
3421 # as_fn_exit STATUS
3422 # -----------------
3423 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3424 as_fn_exit ()
3425 {
3426 set +e
3427 as_fn_set_status $1
3428 exit $1
3429 } # as_fn_exit
3430
3431 # as_fn_unset VAR
3432 # ---------------
3433 # Portably unset VAR.
3434 as_fn_unset ()
3435 {
3436 { eval $1=; unset $1;}
3437 }
3438 as_unset=as_fn_unset
3439 # as_fn_append VAR VALUE
3440 # ----------------------
3441 # Append the text in VALUE to the end of the definition contained in VAR. Take
3442 # advantage of any shell optimizations that allow amortized linear growth over
3443 # repeated appends, instead of the typical quadratic growth present in naive
3444 # implementations.
3445 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3446 eval 'as_fn_append ()
3447 {
3448 eval $1+=\$2
3449 }'
3450 else
3451 as_fn_append ()
3452 {
3453 eval $1=\$$1\$2
3454 }
3455 fi # as_fn_append
3456
3457 # as_fn_arith ARG...
3458 # ------------------
3459 # Perform arithmetic evaluation on the ARGs, and store the result in the
3460 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3461 # must be portable across $(()) and expr.
3462 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3463 eval 'as_fn_arith ()
3464 {
3465 as_val=$(( $* ))
3466 }'
3467 else
3468 as_fn_arith ()
3469 {
3470 as_val=`expr "$@" || test $? -eq 1`
3471 }
3472 fi # as_fn_arith
3473
3474
3475 if expr a : '\(a\)' >/dev/null 2>&1 &&
3476 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3477 as_expr=expr
3478 else
3479 as_expr=false
3480 fi
3481
3482 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3483 as_basename=basename
3484 else
3485 as_basename=false
3486 fi
3487
3488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3489 as_dirname=dirname
3490 else
3491 as_dirname=false
3492 fi
3493
3494 as_me=`$as_basename -- "$0" ||
3495 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3496 X"$0" : 'X\(//\)$' \| \
3497 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3498 $as_echo X/"$0" |
3499 sed '/^.*\/\([^/][^/]*\)\/*$/{
3500 s//\1/
3501 q
3502 }
3503 /^X\/\(\/\/\)$/{
3504 s//\1/
3505 q
3506 }
3507 /^X\/\(\/\).*/{
3508 s//\1/
3509 q
3510 }
3511 s/.*/./; q'`
3512
3513 # Avoid depending upon Character Ranges.
3514 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3515 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3516 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3517 as_cr_digits='0123456789'
3518 as_cr_alnum=$as_cr_Letters$as_cr_digits
3519
3520 ECHO_C= ECHO_N= ECHO_T=
3521 case `echo -n x` in #(((((
3522 -n*)
3523 case `echo 'xy\c'` in
3524 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3525 xy) ECHO_C='\c';;
3526 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3527 ECHO_T=' ';;
3528 esac;;
3529 *)
3530 ECHO_N='-n';;
3531 esac
3532
3533 rm -f conf$$ conf$$.exe conf$$.file
3534 if test -d conf$$.dir; then
3535 rm -f conf$$.dir/conf$$.file
3536 else
3537 rm -f conf$$.dir
3538 mkdir conf$$.dir 2>/dev/null
3539 fi
3540 if (echo >conf$$.file) 2>/dev/null; then
3541 if ln -s conf$$.file conf$$ 2>/dev/null; then
3542 as_ln_s='ln -s'
3543 # ... but there are two gotchas:
3544 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3545 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3546 # In both cases, we have to default to `cp -pR'.
3547 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3548 as_ln_s='cp -pR'
3549 elif ln conf$$.file conf$$ 2>/dev/null; then
3550 as_ln_s=ln
3551 else
3552 as_ln_s='cp -pR'
3553 fi
3554 else
3555 as_ln_s='cp -pR'
3556 fi
3557 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3558 rmdir conf$$.dir 2>/dev/null
3559
3560
3561 # as_fn_mkdir_p
3562 # -------------
3563 # Create "$as_dir" as a directory, including parents if necessary.
3564 as_fn_mkdir_p ()
3565 {
3566
3567 case $as_dir in #(
3568 -*) as_dir=./$as_dir;;
3569 esac
3570 test -d "$as_dir" || eval $as_mkdir_p || {
3571 as_dirs=
3572 while :; do
3573 case $as_dir in #(
3574 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3575 *) as_qdir=$as_dir;;
3576 esac
3577 as_dirs="'$as_qdir' $as_dirs"
3578 as_dir=`$as_dirname -- "$as_dir" ||
3579 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3580 X"$as_dir" : 'X\(//\)[^/]' \| \
3581 X"$as_dir" : 'X\(//\)$' \| \
3582 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3583 $as_echo X"$as_dir" |
3584 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3585 s//\1/
3586 q
3587 }
3588 /^X\(\/\/\)[^/].*/{
3589 s//\1/
3590 q
3591 }
3592 /^X\(\/\/\)$/{
3593 s//\1/
3594 q
3595 }
3596 /^X\(\/\).*/{
3597 s//\1/
3598 q
3599 }
3600 s/.*/./; q'`
3601 test -d "$as_dir" && break
3602 done
3603 test -z "$as_dirs" || eval "mkdir $as_dirs"
3604 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3605
3606
3607 } # as_fn_mkdir_p
3608 if mkdir -p . 2>/dev/null; then
3609 as_mkdir_p='mkdir -p "$as_dir"'
3610 else
3611 test -d ./-p && rmdir ./-p
3612 as_mkdir_p=false
3613 fi
3614
3615
3616 # as_fn_executable_p FILE
3617 # -----------------------
3618 # Test if FILE is an executable regular file.
3619 as_fn_executable_p ()
3620 {
3621 test -f "$1" && test -x "$1"
3622 } # as_fn_executable_p
3623 as_test_x='test -x'
3624 as_executable_p=as_fn_executable_p
3625
3626 # Sed expression to map a string onto a valid CPP name.
3627 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3628
3629 # Sed expression to map a string onto a valid variable name.
3630 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3631
3632
3633 exec 6>&1
3634 ## ----------------------------------- ##
3635 ## Main body of $CONFIG_STATUS script. ##
3636 ## ----------------------------------- ##
3637 _ASEOF
3638 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3639
3640 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3641 # Save the log message, to keep $0 and so on meaningful, and to
3642 # report actual input values of CONFIG_FILES etc. instead of their
3643 # values after options handling.
3644 ac_log="
3645 This file was extended by $as_me, which was
3646 generated by GNU Autoconf 2.69. Invocation command line was
3647
3648 CONFIG_FILES = $CONFIG_FILES
3649 CONFIG_HEADERS = $CONFIG_HEADERS
3650 CONFIG_LINKS = $CONFIG_LINKS
3651 CONFIG_COMMANDS = $CONFIG_COMMANDS
3652 $ $0 $@
3653
3654 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3655 "
3656
3657 _ACEOF
3658
3659 case $ac_config_files in *"
3660 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3661 esac
3662
3663
3664
3665 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3666 # Files that config.status was made for.
3667 config_files="$ac_config_files"
3668 config_commands="$ac_config_commands"
3669
3670 _ACEOF
3671
3672 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3673 ac_cs_usage="\
3674 \`$as_me' instantiates files and other configuration actions
3675 from templates according to the current configuration. Unless the files
3676 and actions are specified as TAGs, all are instantiated by default.
3677
3678 Usage: $0 [OPTION]... [TAG]...
3679
3680 -h, --help print this help, then exit
3681 -V, --version print version number and configuration settings, then exit
3682 --config print configuration, then exit
3683 -q, --quiet, --silent
3684 do not print progress messages
3685 -d, --debug don't remove temporary files
3686 --recheck update $as_me by reconfiguring in the same conditions
3687 --file=FILE[:TEMPLATE]
3688 instantiate the configuration file FILE
3689
3690 Configuration files:
3691 $config_files
3692
3693 Configuration commands:
3694 $config_commands
3695
3696 Report bugs to the package provider."
3697
3698 _ACEOF
3699 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3700 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3701 ac_cs_version="\\
3702 config.status
3703 configured by $0, generated by GNU Autoconf 2.69,
3704 with options \\"\$ac_cs_config\\"
3705
3706 Copyright (C) 2012 Free Software Foundation, Inc.
3707 This config.status script is free software; the Free Software Foundation
3708 gives unlimited permission to copy, distribute and modify it."
3709
3710 ac_pwd='$ac_pwd'
3711 srcdir='$srcdir'
3712 INSTALL='$INSTALL'
3713 test -n "\$AWK" || AWK=awk
3714 _ACEOF
3715
3716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3717 # The default lists apply if the user does not specify any file.
3718 ac_need_defaults=:
3719 while test $# != 0
3720 do
3721 case $1 in
3722 --*=?*)
3723 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3724 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3725 ac_shift=:
3726 ;;
3727 --*=)
3728 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3729 ac_optarg=
3730 ac_shift=:
3731 ;;
3732 *)
3733 ac_option=$1
3734 ac_optarg=$2
3735 ac_shift=shift
3736 ;;
3737 esac
3738
3739 case $ac_option in
3740 # Handling of the options.
3741 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3742 ac_cs_recheck=: ;;
3743 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3744 $as_echo "$ac_cs_version"; exit ;;
3745 --config | --confi | --conf | --con | --co | --c )
3746 $as_echo "$ac_cs_config"; exit ;;
3747 --debug | --debu | --deb | --de | --d | -d )
3748 debug=: ;;
3749 --file | --fil | --fi | --f )
3750 $ac_shift
3751 case $ac_optarg in
3752 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3753 '') as_fn_error $? "missing file argument" ;;
3754 esac
3755 as_fn_append CONFIG_FILES " '$ac_optarg'"
3756 ac_need_defaults=false;;
3757 --he | --h | --help | --hel | -h )
3758 $as_echo "$ac_cs_usage"; exit ;;
3759 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3760 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3761 ac_cs_silent=: ;;
3762
3763 # This is an error.
3764 -*) as_fn_error $? "unrecognized option: \`$1'
3765 Try \`$0 --help' for more information." ;;
3766
3767 *) as_fn_append ac_config_targets " $1"
3768 ac_need_defaults=false ;;
3769
3770 esac
3771 shift
3772 done
3773
3774 ac_configure_extra_args=
3775
3776 if $ac_cs_silent; then
3777 exec 6>/dev/null
3778 ac_configure_extra_args="$ac_configure_extra_args --silent"
3779 fi
3780
3781 _ACEOF
3782 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3783 if \$ac_cs_recheck; then
3784 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3785 shift
3786 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3787 CONFIG_SHELL='$SHELL'
3788 export CONFIG_SHELL
3789 exec "\$@"
3790 fi
3791
3792 _ACEOF
3793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3794 exec 5>>config.log
3795 {
3796 echo
3797 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3798 ## Running $as_me. ##
3799 _ASBOX
3800 $as_echo "$ac_log"
3801 } >&5
3802
3803 _ACEOF
3804 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3805 #
3806 # INIT-COMMANDS
3807 #
3808 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
3809
3810 _ACEOF
3811
3812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3813
3814 # Handling of arguments.
3815 for ac_config_target in $ac_config_targets
3816 do
3817 case $ac_config_target in
3818 "depdir") CONFIG_COMMANDS="$CONFIG_COMMANDS depdir" ;;
3819 "Makefile.sim") CONFIG_FILES="$CONFIG_FILES Makefile.sim:Makefile.in" ;;
3820 "Make-common.sim") CONFIG_FILES="$CONFIG_FILES Make-common.sim:../common/Make-common.in" ;;
3821 ".gdbinit") CONFIG_FILES="$CONFIG_FILES .gdbinit:../common/gdbinit.in" ;;
3822 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
3823 "stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS stamp-h" ;;
3824
3825 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3826 esac
3827 done
3828
3829
3830 # If the user did not use the arguments to specify the items to instantiate,
3831 # then the envvar interface is used. Set only those that are not.
3832 # We use the long form for the default assignment because of an extremely
3833 # bizarre bug on SunOS 4.1.3.
3834 if $ac_need_defaults; then
3835 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3836 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3837 fi
3838
3839 # Have a temporary directory for convenience. Make it in the build tree
3840 # simply because there is no reason against having it here, and in addition,
3841 # creating and moving files from /tmp can sometimes cause problems.
3842 # Hook for its removal unless debugging.
3843 # Note that there is a small window in which the directory will not be cleaned:
3844 # after its creation but before its name has been assigned to `$tmp'.
3845 $debug ||
3846 {
3847 tmp= ac_tmp=
3848 trap 'exit_status=$?
3849 : "${ac_tmp:=$tmp}"
3850 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3851 ' 0
3852 trap 'as_fn_exit 1' 1 2 13 15
3853 }
3854 # Create a (secure) tmp directory for tmp files.
3855
3856 {
3857 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3858 test -d "$tmp"
3859 } ||
3860 {
3861 tmp=./conf$$-$RANDOM
3862 (umask 077 && mkdir "$tmp")
3863 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3864 ac_tmp=$tmp
3865
3866 # Set up the scripts for CONFIG_FILES section.
3867 # No need to generate them if there are no CONFIG_FILES.
3868 # This happens for instance with `./config.status config.h'.
3869 if test -n "$CONFIG_FILES"; then
3870
3871
3872 ac_cr=`echo X | tr X '\015'`
3873 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3874 # But we know of no other shell where ac_cr would be empty at this
3875 # point, so we can use a bashism as a fallback.
3876 if test "x$ac_cr" = x; then
3877 eval ac_cr=\$\'\\r\'
3878 fi
3879 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3880 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3881 ac_cs_awk_cr='\\r'
3882 else
3883 ac_cs_awk_cr=$ac_cr
3884 fi
3885
3886 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3887 _ACEOF
3888
3889
3890 {
3891 echo "cat >conf$$subs.awk <<_ACEOF" &&
3892 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3893 echo "_ACEOF"
3894 } >conf$$subs.sh ||
3895 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3896 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3897 ac_delim='%!_!# '
3898 for ac_last_try in false false false false false :; do
3899 . ./conf$$subs.sh ||
3900 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3901
3902 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3903 if test $ac_delim_n = $ac_delim_num; then
3904 break
3905 elif $ac_last_try; then
3906 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3907 else
3908 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3909 fi
3910 done
3911 rm -f conf$$subs.sh
3912
3913 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3914 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3915 _ACEOF
3916 sed -n '
3917 h
3918 s/^/S["/; s/!.*/"]=/
3919 p
3920 g
3921 s/^[^!]*!//
3922 :repl
3923 t repl
3924 s/'"$ac_delim"'$//
3925 t delim
3926 :nl
3927 h
3928 s/\(.\{148\}\)..*/\1/
3929 t more1
3930 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3931 p
3932 n
3933 b repl
3934 :more1
3935 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3936 p
3937 g
3938 s/.\{148\}//
3939 t nl
3940 :delim
3941 h
3942 s/\(.\{148\}\)..*/\1/
3943 t more2
3944 s/["\\]/\\&/g; s/^/"/; s/$/"/
3945 p
3946 b
3947 :more2
3948 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3949 p
3950 g
3951 s/.\{148\}//
3952 t delim
3953 ' <conf$$subs.awk | sed '
3954 /^[^""]/{
3955 N
3956 s/\n//
3957 }
3958 ' >>$CONFIG_STATUS || ac_write_fail=1
3959 rm -f conf$$subs.awk
3960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3961 _ACAWK
3962 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3963 for (key in S) S_is_set[key] = 1
3964 FS = "\a"
3965
3966 }
3967 {
3968 line = $ 0
3969 nfields = split(line, field, "@")
3970 substed = 0
3971 len = length(field[1])
3972 for (i = 2; i < nfields; i++) {
3973 key = field[i]
3974 keylen = length(key)
3975 if (S_is_set[key]) {
3976 value = S[key]
3977 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3978 len += length(value) + length(field[++i])
3979 substed = 1
3980 } else
3981 len += 1 + keylen
3982 }
3983
3984 print line
3985 }
3986
3987 _ACAWK
3988 _ACEOF
3989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3990 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3991 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3992 else
3993 cat
3994 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3995 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3996 _ACEOF
3997
3998 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3999 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4000 # trailing colons and then remove the whole line if VPATH becomes empty
4001 # (actually we leave an empty line to preserve line numbers).
4002 if test "x$srcdir" = x.; then
4003 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4004 h
4005 s///
4006 s/^/:/
4007 s/[ ]*$/:/
4008 s/:\$(srcdir):/:/g
4009 s/:\${srcdir}:/:/g
4010 s/:@srcdir@:/:/g
4011 s/^:*//
4012 s/:*$//
4013 x
4014 s/\(=[ ]*\).*/\1/
4015 G
4016 s/\n//
4017 s/^[^=]*=[ ]*$//
4018 }'
4019 fi
4020
4021 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4022 fi # test -n "$CONFIG_FILES"
4023
4024
4025 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
4026 shift
4027 for ac_tag
4028 do
4029 case $ac_tag in
4030 :[FHLC]) ac_mode=$ac_tag; continue;;
4031 esac
4032 case $ac_mode$ac_tag in
4033 :[FHL]*:*);;
4034 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4035 :[FH]-) ac_tag=-:-;;
4036 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4037 esac
4038 ac_save_IFS=$IFS
4039 IFS=:
4040 set x $ac_tag
4041 IFS=$ac_save_IFS
4042 shift
4043 ac_file=$1
4044 shift
4045
4046 case $ac_mode in
4047 :L) ac_source=$1;;
4048 :[FH])
4049 ac_file_inputs=
4050 for ac_f
4051 do
4052 case $ac_f in
4053 -) ac_f="$ac_tmp/stdin";;
4054 *) # Look for the file first in the build tree, then in the source tree
4055 # (if the path is not absolute). The absolute path cannot be DOS-style,
4056 # because $ac_f cannot contain `:'.
4057 test -f "$ac_f" ||
4058 case $ac_f in
4059 [\\/$]*) false;;
4060 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4061 esac ||
4062 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4063 esac
4064 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4065 as_fn_append ac_file_inputs " '$ac_f'"
4066 done
4067
4068 # Let's still pretend it is `configure' which instantiates (i.e., don't
4069 # use $as_me), people would be surprised to read:
4070 # /* config.h. Generated by config.status. */
4071 configure_input='Generated from '`
4072 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4073 `' by configure.'
4074 if test x"$ac_file" != x-; then
4075 configure_input="$ac_file. $configure_input"
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4077 $as_echo "$as_me: creating $ac_file" >&6;}
4078 fi
4079 # Neutralize special characters interpreted by sed in replacement strings.
4080 case $configure_input in #(
4081 *\&* | *\|* | *\\* )
4082 ac_sed_conf_input=`$as_echo "$configure_input" |
4083 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4084 *) ac_sed_conf_input=$configure_input;;
4085 esac
4086
4087 case $ac_tag in
4088 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4089 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4090 esac
4091 ;;
4092 esac
4093
4094 ac_dir=`$as_dirname -- "$ac_file" ||
4095 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4096 X"$ac_file" : 'X\(//\)[^/]' \| \
4097 X"$ac_file" : 'X\(//\)$' \| \
4098 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4099 $as_echo X"$ac_file" |
4100 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4101 s//\1/
4102 q
4103 }
4104 /^X\(\/\/\)[^/].*/{
4105 s//\1/
4106 q
4107 }
4108 /^X\(\/\/\)$/{
4109 s//\1/
4110 q
4111 }
4112 /^X\(\/\).*/{
4113 s//\1/
4114 q
4115 }
4116 s/.*/./; q'`
4117 as_dir="$ac_dir"; as_fn_mkdir_p
4118 ac_builddir=.
4119
4120 case "$ac_dir" in
4121 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4122 *)
4123 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4124 # A ".." for each directory in $ac_dir_suffix.
4125 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4126 case $ac_top_builddir_sub in
4127 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4128 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4129 esac ;;
4130 esac
4131 ac_abs_top_builddir=$ac_pwd
4132 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4133 # for backward compatibility:
4134 ac_top_builddir=$ac_top_build_prefix
4135
4136 case $srcdir in
4137 .) # We are building in place.
4138 ac_srcdir=.
4139 ac_top_srcdir=$ac_top_builddir_sub
4140 ac_abs_top_srcdir=$ac_pwd ;;
4141 [\\/]* | ?:[\\/]* ) # Absolute name.
4142 ac_srcdir=$srcdir$ac_dir_suffix;
4143 ac_top_srcdir=$srcdir
4144 ac_abs_top_srcdir=$srcdir ;;
4145 *) # Relative name.
4146 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4147 ac_top_srcdir=$ac_top_build_prefix$srcdir
4148 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4149 esac
4150 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4151
4152
4153 case $ac_mode in
4154 :F)
4155 #
4156 # CONFIG_FILE
4157 #
4158
4159 case $INSTALL in
4160 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4161 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4162 esac
4163 _ACEOF
4164
4165 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4166 # If the template does not know about datarootdir, expand it.
4167 # FIXME: This hack should be removed a few years after 2.60.
4168 ac_datarootdir_hack=; ac_datarootdir_seen=
4169 ac_sed_dataroot='
4170 /datarootdir/ {
4171 p
4172 q
4173 }
4174 /@datadir@/p
4175 /@docdir@/p
4176 /@infodir@/p
4177 /@localedir@/p
4178 /@mandir@/p'
4179 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4180 *datarootdir*) ac_datarootdir_seen=yes;;
4181 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4183 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4184 _ACEOF
4185 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4186 ac_datarootdir_hack='
4187 s&@datadir@&$datadir&g
4188 s&@docdir@&$docdir&g
4189 s&@infodir@&$infodir&g
4190 s&@localedir@&$localedir&g
4191 s&@mandir@&$mandir&g
4192 s&\\\${datarootdir}&$datarootdir&g' ;;
4193 esac
4194 _ACEOF
4195
4196 # Neutralize VPATH when `$srcdir' = `.'.
4197 # Shell code in configure.ac might set extrasub.
4198 # FIXME: do we really want to maintain this feature?
4199 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4200 ac_sed_extra="$ac_vpsub
4201 $extrasub
4202 _ACEOF
4203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4204 :t
4205 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4206 s|@configure_input@|$ac_sed_conf_input|;t t
4207 s&@top_builddir@&$ac_top_builddir_sub&;t t
4208 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4209 s&@srcdir@&$ac_srcdir&;t t
4210 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4211 s&@top_srcdir@&$ac_top_srcdir&;t t
4212 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4213 s&@builddir@&$ac_builddir&;t t
4214 s&@abs_builddir@&$ac_abs_builddir&;t t
4215 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4216 s&@INSTALL@&$ac_INSTALL&;t t
4217 $ac_datarootdir_hack
4218 "
4219 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4220 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4221
4222 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4223 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4224 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4225 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4227 which seems to be undefined. Please make sure it is defined" >&5
4228 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4229 which seems to be undefined. Please make sure it is defined" >&2;}
4230
4231 rm -f "$ac_tmp/stdin"
4232 case $ac_file in
4233 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4234 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4235 esac \
4236 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4237 ;;
4238
4239
4240 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4241 $as_echo "$as_me: executing $ac_file commands" >&6;}
4242 ;;
4243 esac
4244
4245
4246 case $ac_file$ac_mode in
4247 "depdir":C) $SHELL $ac_aux_dir/mkinstalldirs $DEPDIR ;;
4248 "Makefile":C) echo "Merging Makefile.sim+Make-common.sim into Makefile ..."
4249 rm -f Makesim1.tmp Makesim2.tmp Makefile
4250 sed -n -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ p' <Make-common.sim >Makesim1.tmp
4251 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim >Makesim2.tmp
4252 sed -e '/^## COMMON_PRE_/ r Makesim1.tmp' \
4253 -e '/^## COMMON_POST_/ r Makesim2.tmp' \
4254 <Makefile.sim >Makefile
4255 rm -f Makefile.sim Make-common.sim Makesim1.tmp Makesim2.tmp
4256 ;;
4257 "stamp-h":C) echo > stamp-h ;;
4258
4259 esac
4260 done # for ac_tag
4261
4262
4263 as_fn_exit 0
4264 _ACEOF
4265 ac_clean_files=$ac_clean_files_save
4266
4267 test $ac_write_fail = 0 ||
4268 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4269
4270
4271 # configure is writing to config.log, and then calls config.status.
4272 # config.status does its own redirection, appending to config.log.
4273 # Unfortunately, on DOS this fails, as config.log is still kept open
4274 # by configure, so config.status won't be able to write to it; its
4275 # output is simply discarded. So we exec the FD to /dev/null,
4276 # effectively closing config.log, so it can be properly (re)opened and
4277 # appended to by config.status. When coming back to configure, we
4278 # need to make the FD available again.
4279 if test "$no_create" != yes; then
4280 ac_cs_success=:
4281 ac_config_status_args=
4282 test "$silent" = yes &&
4283 ac_config_status_args="$ac_config_status_args --quiet"
4284 exec 5>/dev/null
4285 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4286 exec 5>>config.log
4287 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4288 # would make configure fail if this is the last instruction.
4289 $ac_cs_success || as_fn_exit 1
4290 fi
4291 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4293 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4294 fi
4295
4296
This page took 0.14905 seconds and 4 git commands to generate.