sim: unify toolchain dependency logic
[deliverable/binutils-gdb.git] / sim / v850 / 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_default_model
588 sim_scache
589 sim_float
590 cgen_breaks
591 MAINT
592 MAINTAINER_MODE_FALSE
593 MAINTAINER_MODE_TRUE
594 CATOBJEXT
595 GENCAT
596 INSTOBJEXT
597 DATADIRNAME
598 CATALOGS
599 POSUB
600 GMSGFMT
601 XGETTEXT
602 INCINTL
603 LIBINTL_DEP
604 LIBINTL
605 USE_NLS
606 target_alias
607 host_alias
608 build_alias
609 LIBS
610 ECHO_T
611 ECHO_N
612 ECHO_C
613 DEFS
614 mandir
615 localedir
616 libdir
617 psdir
618 pdfdir
619 dvidir
620 htmldir
621 infodir
622 docdir
623 oldincludedir
624 includedir
625 localstatedir
626 sharedstatedir
627 sysconfdir
628 datadir
629 datarootdir
630 libexecdir
631 sbindir
632 bindir
633 program_transform_name
634 prefix
635 exec_prefix
636 PACKAGE_URL
637 PACKAGE_BUGREPORT
638 PACKAGE_STRING
639 PACKAGE_VERSION
640 PACKAGE_TARNAME
641 PACKAGE_NAME
642 PATH_SEPARATOR
643 SHELL
644 sim_reserved_bits
645 sim_inline
646 sim_hw
647 sim_hw_objs
648 sim_hw_cflags
649 sim_bitsize'
650 ac_subst_files=''
651 ac_user_opts='
652 enable_option_checking
653 enable_maintainer_mode
654 enable_sim_inline
655 enable_sim_reserved_bits
656 enable_sim_bitsize
657 enable_sim_hardware
658 '
659 ac_precious_vars='build_alias
660 host_alias
661 target_alias'
662
663
664 # Initialize some variables set by options.
665 ac_init_help=
666 ac_init_version=false
667 ac_unrecognized_opts=
668 ac_unrecognized_sep=
669 # The variables have the same names as the options, with
670 # dashes changed to underlines.
671 cache_file=/dev/null
672 exec_prefix=NONE
673 no_create=
674 no_recursion=
675 prefix=NONE
676 program_prefix=NONE
677 program_suffix=NONE
678 program_transform_name=s,x,x,
679 silent=
680 site=
681 srcdir=
682 verbose=
683 x_includes=NONE
684 x_libraries=NONE
685
686 # Installation directory options.
687 # These are left unexpanded so users can "make install exec_prefix=/foo"
688 # and all the variables that are supposed to be based on exec_prefix
689 # by default will actually change.
690 # Use braces instead of parens because sh, perl, etc. also accept them.
691 # (The list follows the same order as the GNU Coding Standards.)
692 bindir='${exec_prefix}/bin'
693 sbindir='${exec_prefix}/sbin'
694 libexecdir='${exec_prefix}/libexec'
695 datarootdir='${prefix}/share'
696 datadir='${datarootdir}'
697 sysconfdir='${prefix}/etc'
698 sharedstatedir='${prefix}/com'
699 localstatedir='${prefix}/var'
700 includedir='${prefix}/include'
701 oldincludedir='/usr/include'
702 docdir='${datarootdir}/doc/${PACKAGE}'
703 infodir='${datarootdir}/info'
704 htmldir='${docdir}'
705 dvidir='${docdir}'
706 pdfdir='${docdir}'
707 psdir='${docdir}'
708 libdir='${exec_prefix}/lib'
709 localedir='${datarootdir}/locale'
710 mandir='${datarootdir}/man'
711
712 ac_prev=
713 ac_dashdash=
714 for ac_option
715 do
716 # If the previous option needs an argument, assign it.
717 if test -n "$ac_prev"; then
718 eval $ac_prev=\$ac_option
719 ac_prev=
720 continue
721 fi
722
723 case $ac_option in
724 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
725 *=) ac_optarg= ;;
726 *) ac_optarg=yes ;;
727 esac
728
729 # Accept the important Cygnus configure options, so we can diagnose typos.
730
731 case $ac_dashdash$ac_option in
732 --)
733 ac_dashdash=yes ;;
734
735 -bindir | --bindir | --bindi | --bind | --bin | --bi)
736 ac_prev=bindir ;;
737 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
738 bindir=$ac_optarg ;;
739
740 -build | --build | --buil | --bui | --bu)
741 ac_prev=build_alias ;;
742 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
743 build_alias=$ac_optarg ;;
744
745 -cache-file | --cache-file | --cache-fil | --cache-fi \
746 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
747 ac_prev=cache_file ;;
748 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
749 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
750 cache_file=$ac_optarg ;;
751
752 --config-cache | -C)
753 cache_file=config.cache ;;
754
755 -datadir | --datadir | --datadi | --datad)
756 ac_prev=datadir ;;
757 -datadir=* | --datadir=* | --datadi=* | --datad=*)
758 datadir=$ac_optarg ;;
759
760 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
761 | --dataroo | --dataro | --datar)
762 ac_prev=datarootdir ;;
763 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
764 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
765 datarootdir=$ac_optarg ;;
766
767 -disable-* | --disable-*)
768 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
769 # Reject names that are not valid shell variable names.
770 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
771 as_fn_error $? "invalid feature name: $ac_useropt"
772 ac_useropt_orig=$ac_useropt
773 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
774 case $ac_user_opts in
775 *"
776 "enable_$ac_useropt"
777 "*) ;;
778 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
779 ac_unrecognized_sep=', ';;
780 esac
781 eval enable_$ac_useropt=no ;;
782
783 -docdir | --docdir | --docdi | --doc | --do)
784 ac_prev=docdir ;;
785 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
786 docdir=$ac_optarg ;;
787
788 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
789 ac_prev=dvidir ;;
790 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
791 dvidir=$ac_optarg ;;
792
793 -enable-* | --enable-*)
794 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
795 # Reject names that are not valid shell variable names.
796 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
797 as_fn_error $? "invalid feature name: $ac_useropt"
798 ac_useropt_orig=$ac_useropt
799 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
800 case $ac_user_opts in
801 *"
802 "enable_$ac_useropt"
803 "*) ;;
804 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
805 ac_unrecognized_sep=', ';;
806 esac
807 eval enable_$ac_useropt=\$ac_optarg ;;
808
809 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
810 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
811 | --exec | --exe | --ex)
812 ac_prev=exec_prefix ;;
813 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
814 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
815 | --exec=* | --exe=* | --ex=*)
816 exec_prefix=$ac_optarg ;;
817
818 -gas | --gas | --ga | --g)
819 # Obsolete; use --with-gas.
820 with_gas=yes ;;
821
822 -help | --help | --hel | --he | -h)
823 ac_init_help=long ;;
824 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
825 ac_init_help=recursive ;;
826 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
827 ac_init_help=short ;;
828
829 -host | --host | --hos | --ho)
830 ac_prev=host_alias ;;
831 -host=* | --host=* | --hos=* | --ho=*)
832 host_alias=$ac_optarg ;;
833
834 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
835 ac_prev=htmldir ;;
836 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
837 | --ht=*)
838 htmldir=$ac_optarg ;;
839
840 -includedir | --includedir | --includedi | --included | --include \
841 | --includ | --inclu | --incl | --inc)
842 ac_prev=includedir ;;
843 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
844 | --includ=* | --inclu=* | --incl=* | --inc=*)
845 includedir=$ac_optarg ;;
846
847 -infodir | --infodir | --infodi | --infod | --info | --inf)
848 ac_prev=infodir ;;
849 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
850 infodir=$ac_optarg ;;
851
852 -libdir | --libdir | --libdi | --libd)
853 ac_prev=libdir ;;
854 -libdir=* | --libdir=* | --libdi=* | --libd=*)
855 libdir=$ac_optarg ;;
856
857 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
858 | --libexe | --libex | --libe)
859 ac_prev=libexecdir ;;
860 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
861 | --libexe=* | --libex=* | --libe=*)
862 libexecdir=$ac_optarg ;;
863
864 -localedir | --localedir | --localedi | --localed | --locale)
865 ac_prev=localedir ;;
866 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
867 localedir=$ac_optarg ;;
868
869 -localstatedir | --localstatedir | --localstatedi | --localstated \
870 | --localstate | --localstat | --localsta | --localst | --locals)
871 ac_prev=localstatedir ;;
872 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
873 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
874 localstatedir=$ac_optarg ;;
875
876 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
877 ac_prev=mandir ;;
878 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
879 mandir=$ac_optarg ;;
880
881 -nfp | --nfp | --nf)
882 # Obsolete; use --without-fp.
883 with_fp=no ;;
884
885 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
886 | --no-cr | --no-c | -n)
887 no_create=yes ;;
888
889 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
890 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
891 no_recursion=yes ;;
892
893 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
894 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
895 | --oldin | --oldi | --old | --ol | --o)
896 ac_prev=oldincludedir ;;
897 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
898 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
899 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
900 oldincludedir=$ac_optarg ;;
901
902 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
903 ac_prev=prefix ;;
904 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
905 prefix=$ac_optarg ;;
906
907 -program-prefix | --program-prefix | --program-prefi | --program-pref \
908 | --program-pre | --program-pr | --program-p)
909 ac_prev=program_prefix ;;
910 -program-prefix=* | --program-prefix=* | --program-prefi=* \
911 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
912 program_prefix=$ac_optarg ;;
913
914 -program-suffix | --program-suffix | --program-suffi | --program-suff \
915 | --program-suf | --program-su | --program-s)
916 ac_prev=program_suffix ;;
917 -program-suffix=* | --program-suffix=* | --program-suffi=* \
918 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
919 program_suffix=$ac_optarg ;;
920
921 -program-transform-name | --program-transform-name \
922 | --program-transform-nam | --program-transform-na \
923 | --program-transform-n | --program-transform- \
924 | --program-transform | --program-transfor \
925 | --program-transfo | --program-transf \
926 | --program-trans | --program-tran \
927 | --progr-tra | --program-tr | --program-t)
928 ac_prev=program_transform_name ;;
929 -program-transform-name=* | --program-transform-name=* \
930 | --program-transform-nam=* | --program-transform-na=* \
931 | --program-transform-n=* | --program-transform-=* \
932 | --program-transform=* | --program-transfor=* \
933 | --program-transfo=* | --program-transf=* \
934 | --program-trans=* | --program-tran=* \
935 | --progr-tra=* | --program-tr=* | --program-t=*)
936 program_transform_name=$ac_optarg ;;
937
938 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
939 ac_prev=pdfdir ;;
940 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
941 pdfdir=$ac_optarg ;;
942
943 -psdir | --psdir | --psdi | --psd | --ps)
944 ac_prev=psdir ;;
945 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
946 psdir=$ac_optarg ;;
947
948 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
949 | -silent | --silent | --silen | --sile | --sil)
950 silent=yes ;;
951
952 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
953 ac_prev=sbindir ;;
954 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
955 | --sbi=* | --sb=*)
956 sbindir=$ac_optarg ;;
957
958 -sharedstatedir | --sharedstatedir | --sharedstatedi \
959 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
960 | --sharedst | --shareds | --shared | --share | --shar \
961 | --sha | --sh)
962 ac_prev=sharedstatedir ;;
963 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
964 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
965 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
966 | --sha=* | --sh=*)
967 sharedstatedir=$ac_optarg ;;
968
969 -site | --site | --sit)
970 ac_prev=site ;;
971 -site=* | --site=* | --sit=*)
972 site=$ac_optarg ;;
973
974 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
975 ac_prev=srcdir ;;
976 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
977 srcdir=$ac_optarg ;;
978
979 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
980 | --syscon | --sysco | --sysc | --sys | --sy)
981 ac_prev=sysconfdir ;;
982 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
983 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
984 sysconfdir=$ac_optarg ;;
985
986 -target | --target | --targe | --targ | --tar | --ta | --t)
987 ac_prev=target_alias ;;
988 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
989 target_alias=$ac_optarg ;;
990
991 -v | -verbose | --verbose | --verbos | --verbo | --verb)
992 verbose=yes ;;
993
994 -version | --version | --versio | --versi | --vers | -V)
995 ac_init_version=: ;;
996
997 -with-* | --with-*)
998 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
999 # Reject names that are not valid shell variable names.
1000 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1001 as_fn_error $? "invalid package name: $ac_useropt"
1002 ac_useropt_orig=$ac_useropt
1003 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1004 case $ac_user_opts in
1005 *"
1006 "with_$ac_useropt"
1007 "*) ;;
1008 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1009 ac_unrecognized_sep=', ';;
1010 esac
1011 eval with_$ac_useropt=\$ac_optarg ;;
1012
1013 -without-* | --without-*)
1014 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1015 # Reject names that are not valid shell variable names.
1016 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1017 as_fn_error $? "invalid package name: $ac_useropt"
1018 ac_useropt_orig=$ac_useropt
1019 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1020 case $ac_user_opts in
1021 *"
1022 "with_$ac_useropt"
1023 "*) ;;
1024 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1025 ac_unrecognized_sep=', ';;
1026 esac
1027 eval with_$ac_useropt=no ;;
1028
1029 --x)
1030 # Obsolete; use --with-x.
1031 with_x=yes ;;
1032
1033 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1034 | --x-incl | --x-inc | --x-in | --x-i)
1035 ac_prev=x_includes ;;
1036 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1037 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1038 x_includes=$ac_optarg ;;
1039
1040 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1041 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1042 ac_prev=x_libraries ;;
1043 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1044 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1045 x_libraries=$ac_optarg ;;
1046
1047 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1048 Try \`$0 --help' for more information"
1049 ;;
1050
1051 *=*)
1052 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1053 # Reject names that are not valid shell variable names.
1054 case $ac_envvar in #(
1055 '' | [0-9]* | *[!_$as_cr_alnum]* )
1056 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1057 esac
1058 eval $ac_envvar=\$ac_optarg
1059 export $ac_envvar ;;
1060
1061 *)
1062 # FIXME: should be removed in autoconf 3.0.
1063 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1064 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1065 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1066 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1067 ;;
1068
1069 esac
1070 done
1071
1072 if test -n "$ac_prev"; then
1073 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1074 as_fn_error $? "missing argument to $ac_option"
1075 fi
1076
1077 if test -n "$ac_unrecognized_opts"; then
1078 case $enable_option_checking in
1079 no) ;;
1080 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1081 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1082 esac
1083 fi
1084
1085 # Check all directory arguments for consistency.
1086 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1087 datadir sysconfdir sharedstatedir localstatedir includedir \
1088 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1089 libdir localedir mandir
1090 do
1091 eval ac_val=\$$ac_var
1092 # Remove trailing slashes.
1093 case $ac_val in
1094 */ )
1095 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1096 eval $ac_var=\$ac_val;;
1097 esac
1098 # Be sure to have absolute directory names.
1099 case $ac_val in
1100 [\\/$]* | ?:[\\/]* ) continue;;
1101 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1102 esac
1103 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1104 done
1105
1106 # There might be people who depend on the old broken behavior: `$host'
1107 # used to hold the argument of --host etc.
1108 # FIXME: To remove some day.
1109 build=$build_alias
1110 host=$host_alias
1111 target=$target_alias
1112
1113 # FIXME: To remove some day.
1114 if test "x$host_alias" != x; then
1115 if test "x$build_alias" = x; then
1116 cross_compiling=maybe
1117 elif test "x$build_alias" != "x$host_alias"; then
1118 cross_compiling=yes
1119 fi
1120 fi
1121
1122 ac_tool_prefix=
1123 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1124
1125 test "$silent" = yes && exec 6>/dev/null
1126
1127
1128 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1129 ac_ls_di=`ls -di .` &&
1130 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1131 as_fn_error $? "working directory cannot be determined"
1132 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1133 as_fn_error $? "pwd does not report name of working directory"
1134
1135
1136 # Find the source files, if location was not specified.
1137 if test -z "$srcdir"; then
1138 ac_srcdir_defaulted=yes
1139 # Try the directory containing this script, then the parent directory.
1140 ac_confdir=`$as_dirname -- "$as_myself" ||
1141 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1142 X"$as_myself" : 'X\(//\)[^/]' \| \
1143 X"$as_myself" : 'X\(//\)$' \| \
1144 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1145 $as_echo X"$as_myself" |
1146 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1147 s//\1/
1148 q
1149 }
1150 /^X\(\/\/\)[^/].*/{
1151 s//\1/
1152 q
1153 }
1154 /^X\(\/\/\)$/{
1155 s//\1/
1156 q
1157 }
1158 /^X\(\/\).*/{
1159 s//\1/
1160 q
1161 }
1162 s/.*/./; q'`
1163 srcdir=$ac_confdir
1164 if test ! -r "$srcdir/$ac_unique_file"; then
1165 srcdir=..
1166 fi
1167 else
1168 ac_srcdir_defaulted=no
1169 fi
1170 if test ! -r "$srcdir/$ac_unique_file"; then
1171 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1172 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1173 fi
1174 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1175 ac_abs_confdir=`(
1176 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1177 pwd)`
1178 # When building in place, set srcdir=.
1179 if test "$ac_abs_confdir" = "$ac_pwd"; then
1180 srcdir=.
1181 fi
1182 # Remove unnecessary trailing slashes from srcdir.
1183 # Double slashes in file names in object file debugging info
1184 # mess up M-x gdb in Emacs.
1185 case $srcdir in
1186 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1187 esac
1188 for ac_var in $ac_precious_vars; do
1189 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1190 eval ac_env_${ac_var}_value=\$${ac_var}
1191 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1192 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1193 done
1194
1195 #
1196 # Report the --help message.
1197 #
1198 if test "$ac_init_help" = "long"; then
1199 # Omit some internal or obsolete options to make the list less imposing.
1200 # This message is too long to be a string in the A/UX 3.1 sh.
1201 cat <<_ACEOF
1202 \`configure' configures this package to adapt to many kinds of systems.
1203
1204 Usage: $0 [OPTION]... [VAR=VALUE]...
1205
1206 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1207 VAR=VALUE. See below for descriptions of some of the useful variables.
1208
1209 Defaults for the options are specified in brackets.
1210
1211 Configuration:
1212 -h, --help display this help and exit
1213 --help=short display options specific to this package
1214 --help=recursive display the short help of all the included packages
1215 -V, --version display version information and exit
1216 -q, --quiet, --silent do not print \`checking ...' messages
1217 --cache-file=FILE cache test results in FILE [disabled]
1218 -C, --config-cache alias for \`--cache-file=config.cache'
1219 -n, --no-create do not create output files
1220 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1221
1222 Installation directories:
1223 --prefix=PREFIX install architecture-independent files in PREFIX
1224 [$ac_default_prefix]
1225 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1226 [PREFIX]
1227
1228 By default, \`make install' will install all the files in
1229 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1230 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1231 for instance \`--prefix=\$HOME'.
1232
1233 For better control, use the options below.
1234
1235 Fine tuning of the installation directories:
1236 --bindir=DIR user executables [EPREFIX/bin]
1237 --sbindir=DIR system admin executables [EPREFIX/sbin]
1238 --libexecdir=DIR program executables [EPREFIX/libexec]
1239 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1240 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1241 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1242 --libdir=DIR object code libraries [EPREFIX/lib]
1243 --includedir=DIR C header files [PREFIX/include]
1244 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1245 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1246 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1247 --infodir=DIR info documentation [DATAROOTDIR/info]
1248 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1249 --mandir=DIR man documentation [DATAROOTDIR/man]
1250 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1251 --htmldir=DIR html documentation [DOCDIR]
1252 --dvidir=DIR dvi documentation [DOCDIR]
1253 --pdfdir=DIR pdf documentation [DOCDIR]
1254 --psdir=DIR ps documentation [DOCDIR]
1255 _ACEOF
1256
1257 cat <<\_ACEOF
1258 _ACEOF
1259 fi
1260
1261 if test -n "$ac_init_help"; then
1262
1263 cat <<\_ACEOF
1264
1265 Optional Features:
1266 --disable-option-checking ignore unrecognized --enable/--with options
1267 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1268 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1269 --enable-maintainer-mode
1270 enable make rules and dependencies not useful (and
1271 sometimes confusing) to the casual installer
1272 --enable-sim-inline=inlines
1273 Specify which functions should be inlined
1274 --enable-sim-reserved-bits
1275 Specify whether to check reserved bits in
1276 instruction
1277 --enable-sim-bitsize=N Specify target bitsize (32 or 64)
1278 --enable-sim-hardware=LIST
1279 Specify the hardware to be included in the build.
1280
1281 Report bugs to the package provider.
1282 _ACEOF
1283 ac_status=$?
1284 fi
1285
1286 if test "$ac_init_help" = "recursive"; then
1287 # If there are subdirs, report their specific --help.
1288 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1289 test -d "$ac_dir" ||
1290 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1291 continue
1292 ac_builddir=.
1293
1294 case "$ac_dir" in
1295 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1296 *)
1297 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1298 # A ".." for each directory in $ac_dir_suffix.
1299 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1300 case $ac_top_builddir_sub in
1301 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1302 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1303 esac ;;
1304 esac
1305 ac_abs_top_builddir=$ac_pwd
1306 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1307 # for backward compatibility:
1308 ac_top_builddir=$ac_top_build_prefix
1309
1310 case $srcdir in
1311 .) # We are building in place.
1312 ac_srcdir=.
1313 ac_top_srcdir=$ac_top_builddir_sub
1314 ac_abs_top_srcdir=$ac_pwd ;;
1315 [\\/]* | ?:[\\/]* ) # Absolute name.
1316 ac_srcdir=$srcdir$ac_dir_suffix;
1317 ac_top_srcdir=$srcdir
1318 ac_abs_top_srcdir=$srcdir ;;
1319 *) # Relative name.
1320 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1321 ac_top_srcdir=$ac_top_build_prefix$srcdir
1322 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1323 esac
1324 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1325
1326 cd "$ac_dir" || { ac_status=$?; continue; }
1327 # Check for guested configure.
1328 if test -f "$ac_srcdir/configure.gnu"; then
1329 echo &&
1330 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1331 elif test -f "$ac_srcdir/configure"; then
1332 echo &&
1333 $SHELL "$ac_srcdir/configure" --help=recursive
1334 else
1335 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1336 fi || ac_status=$?
1337 cd "$ac_pwd" || { ac_status=$?; break; }
1338 done
1339 fi
1340
1341 test -n "$ac_init_help" && exit $ac_status
1342 if $ac_init_version; then
1343 cat <<\_ACEOF
1344 configure
1345 generated by GNU Autoconf 2.69
1346
1347 Copyright (C) 2012 Free Software Foundation, Inc.
1348 This configure script is free software; the Free Software Foundation
1349 gives unlimited permission to copy, distribute and modify it.
1350 _ACEOF
1351 exit
1352 fi
1353
1354 ## ------------------------ ##
1355 ## Autoconf initialization. ##
1356 ## ------------------------ ##
1357 cat >config.log <<_ACEOF
1358 This file contains any messages produced by compilers while
1359 running configure, to aid debugging if configure makes a mistake.
1360
1361 It was created by $as_me, which was
1362 generated by GNU Autoconf 2.69. Invocation command line was
1363
1364 $ $0 $@
1365
1366 _ACEOF
1367 exec 5>>config.log
1368 {
1369 cat <<_ASUNAME
1370 ## --------- ##
1371 ## Platform. ##
1372 ## --------- ##
1373
1374 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1375 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1376 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1377 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1378 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1379
1380 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1381 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1382
1383 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1384 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1385 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1386 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1387 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1388 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1389 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1390
1391 _ASUNAME
1392
1393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1394 for as_dir in $PATH
1395 do
1396 IFS=$as_save_IFS
1397 test -z "$as_dir" && as_dir=.
1398 $as_echo "PATH: $as_dir"
1399 done
1400 IFS=$as_save_IFS
1401
1402 } >&5
1403
1404 cat >&5 <<_ACEOF
1405
1406
1407 ## ----------- ##
1408 ## Core tests. ##
1409 ## ----------- ##
1410
1411 _ACEOF
1412
1413
1414 # Keep a trace of the command line.
1415 # Strip out --no-create and --no-recursion so they do not pile up.
1416 # Strip out --silent because we don't want to record it for future runs.
1417 # Also quote any args containing shell meta-characters.
1418 # Make two passes to allow for proper duplicate-argument suppression.
1419 ac_configure_args=
1420 ac_configure_args0=
1421 ac_configure_args1=
1422 ac_must_keep_next=false
1423 for ac_pass in 1 2
1424 do
1425 for ac_arg
1426 do
1427 case $ac_arg in
1428 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1429 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1430 | -silent | --silent | --silen | --sile | --sil)
1431 continue ;;
1432 *\'*)
1433 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1434 esac
1435 case $ac_pass in
1436 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1437 2)
1438 as_fn_append ac_configure_args1 " '$ac_arg'"
1439 if test $ac_must_keep_next = true; then
1440 ac_must_keep_next=false # Got value, back to normal.
1441 else
1442 case $ac_arg in
1443 *=* | --config-cache | -C | -disable-* | --disable-* \
1444 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1445 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1446 | -with-* | --with-* | -without-* | --without-* | --x)
1447 case "$ac_configure_args0 " in
1448 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1449 esac
1450 ;;
1451 -* ) ac_must_keep_next=true ;;
1452 esac
1453 fi
1454 as_fn_append ac_configure_args " '$ac_arg'"
1455 ;;
1456 esac
1457 done
1458 done
1459 { ac_configure_args0=; unset ac_configure_args0;}
1460 { ac_configure_args1=; unset ac_configure_args1;}
1461
1462 # When interrupted or exit'd, cleanup temporary files, and complete
1463 # config.log. We remove comments because anyway the quotes in there
1464 # would cause problems or look ugly.
1465 # WARNING: Use '\'' to represent an apostrophe within the trap.
1466 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1467 trap 'exit_status=$?
1468 # Save into config.log some information that might help in debugging.
1469 {
1470 echo
1471
1472 $as_echo "## ---------------- ##
1473 ## Cache variables. ##
1474 ## ---------------- ##"
1475 echo
1476 # The following way of writing the cache mishandles newlines in values,
1477 (
1478 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1479 eval ac_val=\$$ac_var
1480 case $ac_val in #(
1481 *${as_nl}*)
1482 case $ac_var in #(
1483 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1484 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1485 esac
1486 case $ac_var in #(
1487 _ | IFS | as_nl) ;; #(
1488 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1489 *) { eval $ac_var=; unset $ac_var;} ;;
1490 esac ;;
1491 esac
1492 done
1493 (set) 2>&1 |
1494 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1495 *${as_nl}ac_space=\ *)
1496 sed -n \
1497 "s/'\''/'\''\\\\'\'''\''/g;
1498 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1499 ;; #(
1500 *)
1501 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1502 ;;
1503 esac |
1504 sort
1505 )
1506 echo
1507
1508 $as_echo "## ----------------- ##
1509 ## Output variables. ##
1510 ## ----------------- ##"
1511 echo
1512 for ac_var in $ac_subst_vars
1513 do
1514 eval ac_val=\$$ac_var
1515 case $ac_val in
1516 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1517 esac
1518 $as_echo "$ac_var='\''$ac_val'\''"
1519 done | sort
1520 echo
1521
1522 if test -n "$ac_subst_files"; then
1523 $as_echo "## ------------------- ##
1524 ## File substitutions. ##
1525 ## ------------------- ##"
1526 echo
1527 for ac_var in $ac_subst_files
1528 do
1529 eval ac_val=\$$ac_var
1530 case $ac_val in
1531 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1532 esac
1533 $as_echo "$ac_var='\''$ac_val'\''"
1534 done | sort
1535 echo
1536 fi
1537
1538 if test -s confdefs.h; then
1539 $as_echo "## ----------- ##
1540 ## confdefs.h. ##
1541 ## ----------- ##"
1542 echo
1543 cat confdefs.h
1544 echo
1545 fi
1546 test "$ac_signal" != 0 &&
1547 $as_echo "$as_me: caught signal $ac_signal"
1548 $as_echo "$as_me: exit $exit_status"
1549 } >&5
1550 rm -f core *.core core.conftest.* &&
1551 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1552 exit $exit_status
1553 ' 0
1554 for ac_signal in 1 2 13 15; do
1555 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1556 done
1557 ac_signal=0
1558
1559 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1560 rm -f -r conftest* confdefs.h
1561
1562 $as_echo "/* confdefs.h */" > confdefs.h
1563
1564 # Predefined preprocessor variables.
1565
1566 cat >>confdefs.h <<_ACEOF
1567 #define PACKAGE_NAME "$PACKAGE_NAME"
1568 _ACEOF
1569
1570 cat >>confdefs.h <<_ACEOF
1571 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1572 _ACEOF
1573
1574 cat >>confdefs.h <<_ACEOF
1575 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1576 _ACEOF
1577
1578 cat >>confdefs.h <<_ACEOF
1579 #define PACKAGE_STRING "$PACKAGE_STRING"
1580 _ACEOF
1581
1582 cat >>confdefs.h <<_ACEOF
1583 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1584 _ACEOF
1585
1586 cat >>confdefs.h <<_ACEOF
1587 #define PACKAGE_URL "$PACKAGE_URL"
1588 _ACEOF
1589
1590
1591 # Let the site file select an alternate cache file if it wants to.
1592 # Prefer an explicitly selected file to automatically selected ones.
1593 ac_site_file1=NONE
1594 ac_site_file2=NONE
1595 if test -n "$CONFIG_SITE"; then
1596 # We do not want a PATH search for config.site.
1597 case $CONFIG_SITE in #((
1598 -*) ac_site_file1=./$CONFIG_SITE;;
1599 */*) ac_site_file1=$CONFIG_SITE;;
1600 *) ac_site_file1=./$CONFIG_SITE;;
1601 esac
1602 elif test "x$prefix" != xNONE; then
1603 ac_site_file1=$prefix/share/config.site
1604 ac_site_file2=$prefix/etc/config.site
1605 else
1606 ac_site_file1=$ac_default_prefix/share/config.site
1607 ac_site_file2=$ac_default_prefix/etc/config.site
1608 fi
1609 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1610 do
1611 test "x$ac_site_file" = xNONE && continue
1612 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1614 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1615 sed 's/^/| /' "$ac_site_file" >&5
1616 . "$ac_site_file" \
1617 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1618 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1619 as_fn_error $? "failed to load site script $ac_site_file
1620 See \`config.log' for more details" "$LINENO" 5; }
1621 fi
1622 done
1623
1624 if test -r "$cache_file"; then
1625 # Some versions of bash will fail to source /dev/null (special files
1626 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1627 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1629 $as_echo "$as_me: loading cache $cache_file" >&6;}
1630 case $cache_file in
1631 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1632 *) . "./$cache_file";;
1633 esac
1634 fi
1635 else
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1637 $as_echo "$as_me: creating cache $cache_file" >&6;}
1638 >$cache_file
1639 fi
1640
1641 # Check that the precious variables saved in the cache have kept the same
1642 # value.
1643 ac_cache_corrupted=false
1644 for ac_var in $ac_precious_vars; do
1645 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1646 eval ac_new_set=\$ac_env_${ac_var}_set
1647 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1648 eval ac_new_val=\$ac_env_${ac_var}_value
1649 case $ac_old_set,$ac_new_set in
1650 set,)
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1652 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1653 ac_cache_corrupted=: ;;
1654 ,set)
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1656 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1657 ac_cache_corrupted=: ;;
1658 ,);;
1659 *)
1660 if test "x$ac_old_val" != "x$ac_new_val"; then
1661 # differences in whitespace do not lead to failure.
1662 ac_old_val_w=`echo x $ac_old_val`
1663 ac_new_val_w=`echo x $ac_new_val`
1664 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1666 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1667 ac_cache_corrupted=:
1668 else
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1670 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1671 eval $ac_var=\$ac_old_val
1672 fi
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1674 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1676 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1677 fi;;
1678 esac
1679 # Pass precious variables to config.status.
1680 if test "$ac_new_set" = set; then
1681 case $ac_new_val in
1682 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1683 *) ac_arg=$ac_var=$ac_new_val ;;
1684 esac
1685 case " $ac_configure_args " in
1686 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1687 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1688 esac
1689 fi
1690 done
1691 if $ac_cache_corrupted; then
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1695 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1696 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1697 fi
1698 ## -------------------- ##
1699 ## Main body of script. ##
1700 ## -------------------- ##
1701
1702 ac_ext=c
1703 ac_cpp='$CPP $CPPFLAGS'
1704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1707
1708
1709
1710
1711
1712
1713
1714 ALL_LINGUAS=
1715 # If we haven't got the data from the intl directory,
1716 # assume NLS is disabled.
1717 USE_NLS=no
1718 LIBINTL=
1719 LIBINTL_DEP=
1720 INCINTL=
1721 XGETTEXT=
1722 GMSGFMT=
1723 POSUB=
1724
1725 if test -f ../../intl/config.intl; then
1726 . ../../intl/config.intl
1727 fi
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
1729 $as_echo_n "checking whether NLS is requested... " >&6; }
1730 if test x"$USE_NLS" != xyes; then
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1732 $as_echo "no" >&6; }
1733 else
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1735 $as_echo "yes" >&6; }
1736
1737 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
1738
1739
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
1741 $as_echo_n "checking for catalogs to be installed... " >&6; }
1742 # Look for .po and .gmo files in the source directory.
1743 CATALOGS=
1744 XLINGUAS=
1745 for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
1746 # If there aren't any .gmo files the shell will give us the
1747 # literal string "../path/to/srcdir/po/*.gmo" which has to be
1748 # weeded out.
1749 case "$cat" in *\**)
1750 continue;;
1751 esac
1752 # The quadruple backslash is collapsed to a double backslash
1753 # by the backticks, then collapsed again by the double quotes,
1754 # leaving us with one backslash in the sed expression (right
1755 # before the dot that mustn't act as a wildcard).
1756 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
1757 lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
1758 # The user is allowed to set LINGUAS to a list of languages to
1759 # install catalogs for. If it's empty that means "all of them."
1760 if test "x$LINGUAS" = x; then
1761 CATALOGS="$CATALOGS $cat"
1762 XLINGUAS="$XLINGUAS $lang"
1763 else
1764 case "$LINGUAS" in *$lang*)
1765 CATALOGS="$CATALOGS $cat"
1766 XLINGUAS="$XLINGUAS $lang"
1767 ;;
1768 esac
1769 fi
1770 done
1771 LINGUAS="$XLINGUAS"
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
1773 $as_echo "$LINGUAS" >&6; }
1774
1775
1776 DATADIRNAME=share
1777
1778 INSTOBJEXT=.mo
1779
1780 GENCAT=gencat
1781
1782 CATOBJEXT=.gmo
1783
1784 fi
1785
1786
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
1788 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
1789 # Check whether --enable-maintainer-mode was given.
1790 if test "${enable_maintainer_mode+set}" = set; then :
1791 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
1792 else
1793 USE_MAINTAINER_MODE=no
1794 fi
1795
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
1797 $as_echo "$USE_MAINTAINER_MODE" >&6; }
1798 if test $USE_MAINTAINER_MODE = yes; then
1799 MAINTAINER_MODE_TRUE=
1800 MAINTAINER_MODE_FALSE='#'
1801 else
1802 MAINTAINER_MODE_TRUE='#'
1803 MAINTAINER_MODE_FALSE=
1804 fi
1805
1806 MAINT=$MAINTAINER_MODE_TRUE
1807
1808
1809
1810
1811 sim_inline="-DDEFAULT_INLINE=0"
1812 # Check whether --enable-sim-inline was given.
1813 if test "${enable_sim_inline+set}" = set; then :
1814 enableval=$enable_sim_inline; sim_inline=""
1815 case "$enableval" in
1816 no) sim_inline="-DDEFAULT_INLINE=0";;
1817 0) sim_inline="-DDEFAULT_INLINE=0";;
1818 yes | 2) sim_inline="-DDEFAULT_INLINE=ALL_C_INLINE";;
1819 1) sim_inline="-DDEFAULT_INLINE=INLINE_LOCALS";;
1820 *) for x in `echo "$enableval" | sed -e "s/,/ /g"`; do
1821 new_flag=""
1822 case "$x" in
1823 *_INLINE=*) new_flag="-D$x";;
1824 *=*) new_flag=`echo "$x" | sed -e "s/=/_INLINE=/" -e "s/^/-D/"`;;
1825 *_INLINE) new_flag="-D$x=ALL_C_INLINE";;
1826 *) new_flag="-D$x""_INLINE=ALL_C_INLINE";;
1827 esac
1828 if test x"$sim_inline" = x""; then
1829 sim_inline="$new_flag"
1830 else
1831 sim_inline="$sim_inline $new_flag"
1832 fi
1833 done;;
1834 esac
1835 if test x"$silent" != x"yes" && test x"$sim_inline" != x""; then
1836 echo "Setting inline flags = $sim_inline" 6>&1
1837 fi
1838 fi
1839
1840
1841
1842
1843 default_sim_reserved_bits="1"
1844 # Check whether --enable-sim-reserved-bits was given.
1845 if test "${enable_sim_reserved_bits+set}" = set; then :
1846 enableval=$enable_sim_reserved_bits; case "${enableval}" in
1847 yes) sim_reserved_bits="-DWITH_RESERVED_BITS=1";;
1848 no) sim_reserved_bits="-DWITH_RESERVED_BITS=0";;
1849 *) as_fn_error $? "\"--enable-sim-reserved-bits does not take a value\"" "$LINENO" 5; sim_reserved_bits="";;
1850 esac
1851 if test x"$silent" != x"yes" && test x"$sim_reserved_bits" != x""; then
1852 echo "Setting reserved flags = $sim_reserved_bits" 6>&1
1853 fi
1854 else
1855 sim_reserved_bits="-DWITH_RESERVED_BITS=${default_sim_reserved_bits}"
1856 fi
1857
1858 wire_word_bitsize="32"
1859 wire_word_msb="31"
1860 wire_address_bitsize=""
1861 wire_cell_bitsize=""
1862 # Check whether --enable-sim-bitsize was given.
1863 if test "${enable_sim_bitsize+set}" = set; then :
1864 enableval=$enable_sim_bitsize; sim_bitsize=
1865 case "${enableval}" in
1866 64,63 | 64,63,* ) sim_bitsize="-DWITH_TARGET_WORD_BITSIZE=64 -DWITH_TARGET_WORD_MSB=63";;
1867 32,31 | 32,31,* ) sim_bitsize="-DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=31";;
1868 64,0 | 64,0,* ) sim_bitsize="-DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=0";;
1869 32,0 | 64,0,* ) sim_bitsize="-DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=0";;
1870 32) if test x"$wire_word_msb" != x -a x"$wire_word_msb" != x0; then
1871 sim_bitsize="-DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=31"
1872 else
1873 sim_bitsize="-DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=0"
1874 fi ;;
1875 64) if test x"$wire_word_msb" != x -a x"$wire_word_msb" != x0; then
1876 sim_bitsize="-DWITH_TARGET_WORD_BITSIZE=64 -DWITH_TARGET_WORD_MSB=63"
1877 else
1878 sim_bitsize="-DWITH_TARGET_WORD_BITSIZE=64 -DWITH_TARGET_WORD_MSB=0"
1879 fi ;;
1880 *) as_fn_error $? "\"--enable-sim-bitsize was given $enableval. Expected 32 or 64\"" "$LINENO" 5 ;;
1881 esac
1882 # address bitsize
1883 tmp=`echo "${enableval}" | sed -e "s/^[0-9]*,*[0-9]*,*//"`
1884 case x"${tmp}" in
1885 x ) ;;
1886 x32 | x32,* ) sim_bitsize="${sim_bitsize} -DWITH_TARGET_ADDRESS_BITSIZE=32" ;;
1887 x64 | x64,* ) sim_bitsize="${sim_bitsize} -DWITH_TARGET_ADDRESS_BITSIZE=64" ;;
1888 * ) as_fn_error $? "\"--enable-sim-bitsize was given address size $enableval. Expected 32 or 64\"" "$LINENO" 5 ;;
1889 esac
1890 # cell bitsize
1891 tmp=`echo "${enableval}" | sed -e "s/^[0-9]*,*[0-9*]*,*[0-9]*,*//"`
1892 case x"${tmp}" in
1893 x ) ;;
1894 x32 | x32,* ) sim_bitsize="${sim_bitsize} -DWITH_TARGET_CELL_BITSIZE=32" ;;
1895 x64 | x64,* ) sim_bitsize="${sim_bitsize} -DWITH_TARGET_CELL_BITSIZE=64" ;;
1896 * ) as_fn_error $? "\"--enable-sim-bitsize was given cell size $enableval. Expected 32 or 64\"" "$LINENO" 5 ;;
1897 esac
1898 if test x"$silent" != x"yes" && test x"$sim_bitsize" != x""; then
1899 echo "Setting bitsize flags = $sim_bitsize" 6>&1
1900 fi
1901 else
1902 sim_bitsize=""
1903 if test x"$wire_word_bitsize" != x; then
1904 sim_bitsize="$sim_bitsize -DWITH_TARGET_WORD_BITSIZE=$wire_word_bitsize"
1905 fi
1906 if test x"$wire_word_msb" != x; then
1907 sim_bitsize="$sim_bitsize -DWITH_TARGET_WORD_MSB=$wire_word_msb"
1908 fi
1909 if test x"$wire_address_bitsize" != x; then
1910 sim_bitsize="$sim_bitsize -DWITH_TARGET_ADDRESS_BITSIZE=$wire_address_bitsize"
1911 fi
1912 if test x"$wire_cell_bitsize" != x; then
1913 sim_bitsize="$sim_bitsize -DWITH_TARGET_CELL_BITSIZE=$wire_cell_bitsize"
1914 fi
1915 fi
1916
1917
1918
1919 hardware="cfi core pal glue "
1920 sim_hw_cflags="-DWITH_HW=1"
1921 sim_hw="$hardware"
1922 sim_hw_objs="\$(SIM_COMMON_HW_OBJS) `echo $sim_hw | sed -e 's/\([^ ][^ ]*\)/dv-\1.o/g'`"
1923
1924 # Check whether --enable-sim-hardware was given.
1925 if test "${enable_sim_hardware+set}" = set; then :
1926 enableval=$enable_sim_hardware;
1927 else
1928 enable_sim_hardware="yes"
1929 fi
1930
1931 case ${enable_sim_hardware} in
1932 yes|no) ;;
1933 ,*) hardware="${hardware} `echo ${enableval} | sed -e 's/,/ /'`";;
1934 *,) hardware="`echo ${enableval} | sed -e 's/,/ /'` ${hardware}";;
1935 *) hardware="`echo ${enableval} | sed -e 's/,/ /'`"'';;
1936 esac
1937
1938 if test "$enable_sim_hardware" = no; then
1939 sim_hw_objs=
1940 sim_hw_cflags="-DWITH_HW=0"
1941 sim_hw=
1942 else
1943 sim_hw_cflags="-DWITH_HW=1"
1944 # remove duplicates
1945 sim_hw=""
1946 sim_hw_objs="\$(SIM_COMMON_HW_OBJS)"
1947 for i in $hardware ; do
1948 case " $sim_hw " in
1949 *" $i "*) ;;
1950 *) sim_hw="$sim_hw $i" ; sim_hw_objs="$sim_hw_objs dv-$i.o";;
1951 esac
1952 done
1953 # mingw does not support sockser
1954 case ${host} in
1955 *mingw*) ;;
1956 *) # TODO: We don't add dv-sockser to sim_hw as it is not a "real" device
1957 # that you instatiate. Instead, other code will call into it directly.
1958 # At some point, we should convert it over.
1959 sim_hw_objs="$sim_hw_objs dv-sockser.o"
1960 sim_hw_cflags="$sim_hw_cflags -DHAVE_DV_SOCKSER"
1961 ;;
1962 esac
1963 if test x"$silent" != x"yes"; then
1964 echo "Setting hardware to $sim_hw_cflags, $sim_hw, $sim_hw_objs"
1965 fi
1966 fi
1967
1968
1969 cgen_breaks=""
1970 if grep CGEN_MAINT $srcdir/Makefile.in >/dev/null; then
1971 cgen_breaks="break cgen_rtx_error";
1972 fi
1973
1974 ac_config_files="$ac_config_files Makefile.sim:Makefile.in"
1975
1976 ac_config_files="$ac_config_files Make-common.sim:../common/Make-common.in"
1977
1978 ac_config_files="$ac_config_files .gdbinit:../common/gdbinit.in"
1979
1980 ac_config_commands="$ac_config_commands Makefile"
1981
1982 ac_config_commands="$ac_config_commands stamp-h"
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994 cat >confcache <<\_ACEOF
1995 # This file is a shell script that caches the results of configure
1996 # tests run on this system so they can be shared between configure
1997 # scripts and configure runs, see configure's option --config-cache.
1998 # It is not useful on other systems. If it contains results you don't
1999 # want to keep, you may remove or edit it.
2000 #
2001 # config.status only pays attention to the cache file if you give it
2002 # the --recheck option to rerun configure.
2003 #
2004 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2005 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2006 # following values.
2007
2008 _ACEOF
2009
2010 # The following way of writing the cache mishandles newlines in values,
2011 # but we know of no workaround that is simple, portable, and efficient.
2012 # So, we kill variables containing newlines.
2013 # Ultrix sh set writes to stderr and can't be redirected directly,
2014 # and sets the high bit in the cache file unless we assign to the vars.
2015 (
2016 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2017 eval ac_val=\$$ac_var
2018 case $ac_val in #(
2019 *${as_nl}*)
2020 case $ac_var in #(
2021 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2022 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2023 esac
2024 case $ac_var in #(
2025 _ | IFS | as_nl) ;; #(
2026 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2027 *) { eval $ac_var=; unset $ac_var;} ;;
2028 esac ;;
2029 esac
2030 done
2031
2032 (set) 2>&1 |
2033 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2034 *${as_nl}ac_space=\ *)
2035 # `set' does not quote correctly, so add quotes: double-quote
2036 # substitution turns \\\\ into \\, and sed turns \\ into \.
2037 sed -n \
2038 "s/'/'\\\\''/g;
2039 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2040 ;; #(
2041 *)
2042 # `set' quotes correctly as required by POSIX, so do not add quotes.
2043 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2044 ;;
2045 esac |
2046 sort
2047 ) |
2048 sed '
2049 /^ac_cv_env_/b end
2050 t clear
2051 :clear
2052 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2053 t end
2054 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2055 :end' >>confcache
2056 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2057 if test -w "$cache_file"; then
2058 if test "x$cache_file" != "x/dev/null"; then
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2060 $as_echo "$as_me: updating cache $cache_file" >&6;}
2061 if test ! -f "$cache_file" || test -h "$cache_file"; then
2062 cat confcache >"$cache_file"
2063 else
2064 case $cache_file in #(
2065 */* | ?:*)
2066 mv -f confcache "$cache_file"$$ &&
2067 mv -f "$cache_file"$$ "$cache_file" ;; #(
2068 *)
2069 mv -f confcache "$cache_file" ;;
2070 esac
2071 fi
2072 fi
2073 else
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2075 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2076 fi
2077 fi
2078 rm -f confcache
2079
2080 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2081 # Let make expand exec_prefix.
2082 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2083
2084 # Transform confdefs.h into DEFS.
2085 # Protect against shell expansion while executing Makefile rules.
2086 # Protect against Makefile macro expansion.
2087 #
2088 # If the first sed substitution is executed (which looks for macros that
2089 # take arguments), then branch to the quote section. Otherwise,
2090 # look for a macro that doesn't take arguments.
2091 ac_script='
2092 :mline
2093 /\\$/{
2094 N
2095 s,\\\n,,
2096 b mline
2097 }
2098 t clear
2099 :clear
2100 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2101 t quote
2102 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2103 t quote
2104 b any
2105 :quote
2106 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2107 s/\[/\\&/g
2108 s/\]/\\&/g
2109 s/\$/$$/g
2110 H
2111 :any
2112 ${
2113 g
2114 s/^\n//
2115 s/\n/ /g
2116 p
2117 }
2118 '
2119 DEFS=`sed -n "$ac_script" confdefs.h`
2120
2121
2122 ac_libobjs=
2123 ac_ltlibobjs=
2124 U=
2125 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2126 # 1. Remove the extension, and $U if already installed.
2127 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2128 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2129 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2130 # will be set to the directory where LIBOBJS objects are built.
2131 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2132 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2133 done
2134 LIBOBJS=$ac_libobjs
2135
2136 LTLIBOBJS=$ac_ltlibobjs
2137
2138
2139 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
2140 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
2141 Usually this means the macro was only invoked conditionally." "$LINENO" 5
2142 fi
2143
2144 : "${CONFIG_STATUS=./config.status}"
2145 ac_write_fail=0
2146 ac_clean_files_save=$ac_clean_files
2147 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2149 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2150 as_write_fail=0
2151 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2152 #! $SHELL
2153 # Generated by $as_me.
2154 # Run this file to recreate the current configuration.
2155 # Compiler output produced by configure, useful for debugging
2156 # configure, is in config.log if it exists.
2157
2158 debug=false
2159 ac_cs_recheck=false
2160 ac_cs_silent=false
2161
2162 SHELL=\${CONFIG_SHELL-$SHELL}
2163 export SHELL
2164 _ASEOF
2165 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2166 ## -------------------- ##
2167 ## M4sh Initialization. ##
2168 ## -------------------- ##
2169
2170 # Be more Bourne compatible
2171 DUALCASE=1; export DUALCASE # for MKS sh
2172 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2173 emulate sh
2174 NULLCMD=:
2175 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2176 # is contrary to our usage. Disable this feature.
2177 alias -g '${1+"$@"}'='"$@"'
2178 setopt NO_GLOB_SUBST
2179 else
2180 case `(set -o) 2>/dev/null` in #(
2181 *posix*) :
2182 set -o posix ;; #(
2183 *) :
2184 ;;
2185 esac
2186 fi
2187
2188
2189 as_nl='
2190 '
2191 export as_nl
2192 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2193 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2194 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2195 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2196 # Prefer a ksh shell builtin over an external printf program on Solaris,
2197 # but without wasting forks for bash or zsh.
2198 if test -z "$BASH_VERSION$ZSH_VERSION" \
2199 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2200 as_echo='print -r --'
2201 as_echo_n='print -rn --'
2202 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2203 as_echo='printf %s\n'
2204 as_echo_n='printf %s'
2205 else
2206 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2207 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2208 as_echo_n='/usr/ucb/echo -n'
2209 else
2210 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2211 as_echo_n_body='eval
2212 arg=$1;
2213 case $arg in #(
2214 *"$as_nl"*)
2215 expr "X$arg" : "X\\(.*\\)$as_nl";
2216 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2217 esac;
2218 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2219 '
2220 export as_echo_n_body
2221 as_echo_n='sh -c $as_echo_n_body as_echo'
2222 fi
2223 export as_echo_body
2224 as_echo='sh -c $as_echo_body as_echo'
2225 fi
2226
2227 # The user is always right.
2228 if test "${PATH_SEPARATOR+set}" != set; then
2229 PATH_SEPARATOR=:
2230 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2231 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2232 PATH_SEPARATOR=';'
2233 }
2234 fi
2235
2236
2237 # IFS
2238 # We need space, tab and new line, in precisely that order. Quoting is
2239 # there to prevent editors from complaining about space-tab.
2240 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2241 # splitting by setting IFS to empty value.)
2242 IFS=" "" $as_nl"
2243
2244 # Find who we are. Look in the path if we contain no directory separator.
2245 as_myself=
2246 case $0 in #((
2247 *[\\/]* ) as_myself=$0 ;;
2248 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2249 for as_dir in $PATH
2250 do
2251 IFS=$as_save_IFS
2252 test -z "$as_dir" && as_dir=.
2253 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2254 done
2255 IFS=$as_save_IFS
2256
2257 ;;
2258 esac
2259 # We did not find ourselves, most probably we were run as `sh COMMAND'
2260 # in which case we are not to be found in the path.
2261 if test "x$as_myself" = x; then
2262 as_myself=$0
2263 fi
2264 if test ! -f "$as_myself"; then
2265 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2266 exit 1
2267 fi
2268
2269 # Unset variables that we do not need and which cause bugs (e.g. in
2270 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2271 # suppresses any "Segmentation fault" message there. '((' could
2272 # trigger a bug in pdksh 5.2.14.
2273 for as_var in BASH_ENV ENV MAIL MAILPATH
2274 do eval test x\${$as_var+set} = xset \
2275 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2276 done
2277 PS1='$ '
2278 PS2='> '
2279 PS4='+ '
2280
2281 # NLS nuisances.
2282 LC_ALL=C
2283 export LC_ALL
2284 LANGUAGE=C
2285 export LANGUAGE
2286
2287 # CDPATH.
2288 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2289
2290
2291 # as_fn_error STATUS ERROR [LINENO LOG_FD]
2292 # ----------------------------------------
2293 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2294 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2295 # script with STATUS, using 1 if that was 0.
2296 as_fn_error ()
2297 {
2298 as_status=$1; test $as_status -eq 0 && as_status=1
2299 if test "$4"; then
2300 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2301 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2302 fi
2303 $as_echo "$as_me: error: $2" >&2
2304 as_fn_exit $as_status
2305 } # as_fn_error
2306
2307
2308 # as_fn_set_status STATUS
2309 # -----------------------
2310 # Set $? to STATUS, without forking.
2311 as_fn_set_status ()
2312 {
2313 return $1
2314 } # as_fn_set_status
2315
2316 # as_fn_exit STATUS
2317 # -----------------
2318 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2319 as_fn_exit ()
2320 {
2321 set +e
2322 as_fn_set_status $1
2323 exit $1
2324 } # as_fn_exit
2325
2326 # as_fn_unset VAR
2327 # ---------------
2328 # Portably unset VAR.
2329 as_fn_unset ()
2330 {
2331 { eval $1=; unset $1;}
2332 }
2333 as_unset=as_fn_unset
2334 # as_fn_append VAR VALUE
2335 # ----------------------
2336 # Append the text in VALUE to the end of the definition contained in VAR. Take
2337 # advantage of any shell optimizations that allow amortized linear growth over
2338 # repeated appends, instead of the typical quadratic growth present in naive
2339 # implementations.
2340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2341 eval 'as_fn_append ()
2342 {
2343 eval $1+=\$2
2344 }'
2345 else
2346 as_fn_append ()
2347 {
2348 eval $1=\$$1\$2
2349 }
2350 fi # as_fn_append
2351
2352 # as_fn_arith ARG...
2353 # ------------------
2354 # Perform arithmetic evaluation on the ARGs, and store the result in the
2355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2356 # must be portable across $(()) and expr.
2357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2358 eval 'as_fn_arith ()
2359 {
2360 as_val=$(( $* ))
2361 }'
2362 else
2363 as_fn_arith ()
2364 {
2365 as_val=`expr "$@" || test $? -eq 1`
2366 }
2367 fi # as_fn_arith
2368
2369
2370 if expr a : '\(a\)' >/dev/null 2>&1 &&
2371 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2372 as_expr=expr
2373 else
2374 as_expr=false
2375 fi
2376
2377 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2378 as_basename=basename
2379 else
2380 as_basename=false
2381 fi
2382
2383 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2384 as_dirname=dirname
2385 else
2386 as_dirname=false
2387 fi
2388
2389 as_me=`$as_basename -- "$0" ||
2390 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2391 X"$0" : 'X\(//\)$' \| \
2392 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2393 $as_echo X/"$0" |
2394 sed '/^.*\/\([^/][^/]*\)\/*$/{
2395 s//\1/
2396 q
2397 }
2398 /^X\/\(\/\/\)$/{
2399 s//\1/
2400 q
2401 }
2402 /^X\/\(\/\).*/{
2403 s//\1/
2404 q
2405 }
2406 s/.*/./; q'`
2407
2408 # Avoid depending upon Character Ranges.
2409 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2410 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2411 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2412 as_cr_digits='0123456789'
2413 as_cr_alnum=$as_cr_Letters$as_cr_digits
2414
2415 ECHO_C= ECHO_N= ECHO_T=
2416 case `echo -n x` in #(((((
2417 -n*)
2418 case `echo 'xy\c'` in
2419 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2420 xy) ECHO_C='\c';;
2421 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2422 ECHO_T=' ';;
2423 esac;;
2424 *)
2425 ECHO_N='-n';;
2426 esac
2427
2428 rm -f conf$$ conf$$.exe conf$$.file
2429 if test -d conf$$.dir; then
2430 rm -f conf$$.dir/conf$$.file
2431 else
2432 rm -f conf$$.dir
2433 mkdir conf$$.dir 2>/dev/null
2434 fi
2435 if (echo >conf$$.file) 2>/dev/null; then
2436 if ln -s conf$$.file conf$$ 2>/dev/null; then
2437 as_ln_s='ln -s'
2438 # ... but there are two gotchas:
2439 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2440 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2441 # In both cases, we have to default to `cp -pR'.
2442 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2443 as_ln_s='cp -pR'
2444 elif ln conf$$.file conf$$ 2>/dev/null; then
2445 as_ln_s=ln
2446 else
2447 as_ln_s='cp -pR'
2448 fi
2449 else
2450 as_ln_s='cp -pR'
2451 fi
2452 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2453 rmdir conf$$.dir 2>/dev/null
2454
2455
2456 # as_fn_mkdir_p
2457 # -------------
2458 # Create "$as_dir" as a directory, including parents if necessary.
2459 as_fn_mkdir_p ()
2460 {
2461
2462 case $as_dir in #(
2463 -*) as_dir=./$as_dir;;
2464 esac
2465 test -d "$as_dir" || eval $as_mkdir_p || {
2466 as_dirs=
2467 while :; do
2468 case $as_dir in #(
2469 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2470 *) as_qdir=$as_dir;;
2471 esac
2472 as_dirs="'$as_qdir' $as_dirs"
2473 as_dir=`$as_dirname -- "$as_dir" ||
2474 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2475 X"$as_dir" : 'X\(//\)[^/]' \| \
2476 X"$as_dir" : 'X\(//\)$' \| \
2477 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2478 $as_echo X"$as_dir" |
2479 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2480 s//\1/
2481 q
2482 }
2483 /^X\(\/\/\)[^/].*/{
2484 s//\1/
2485 q
2486 }
2487 /^X\(\/\/\)$/{
2488 s//\1/
2489 q
2490 }
2491 /^X\(\/\).*/{
2492 s//\1/
2493 q
2494 }
2495 s/.*/./; q'`
2496 test -d "$as_dir" && break
2497 done
2498 test -z "$as_dirs" || eval "mkdir $as_dirs"
2499 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2500
2501
2502 } # as_fn_mkdir_p
2503 if mkdir -p . 2>/dev/null; then
2504 as_mkdir_p='mkdir -p "$as_dir"'
2505 else
2506 test -d ./-p && rmdir ./-p
2507 as_mkdir_p=false
2508 fi
2509
2510
2511 # as_fn_executable_p FILE
2512 # -----------------------
2513 # Test if FILE is an executable regular file.
2514 as_fn_executable_p ()
2515 {
2516 test -f "$1" && test -x "$1"
2517 } # as_fn_executable_p
2518 as_test_x='test -x'
2519 as_executable_p=as_fn_executable_p
2520
2521 # Sed expression to map a string onto a valid CPP name.
2522 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2523
2524 # Sed expression to map a string onto a valid variable name.
2525 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2526
2527
2528 exec 6>&1
2529 ## ----------------------------------- ##
2530 ## Main body of $CONFIG_STATUS script. ##
2531 ## ----------------------------------- ##
2532 _ASEOF
2533 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2534
2535 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2536 # Save the log message, to keep $0 and so on meaningful, and to
2537 # report actual input values of CONFIG_FILES etc. instead of their
2538 # values after options handling.
2539 ac_log="
2540 This file was extended by $as_me, which was
2541 generated by GNU Autoconf 2.69. Invocation command line was
2542
2543 CONFIG_FILES = $CONFIG_FILES
2544 CONFIG_HEADERS = $CONFIG_HEADERS
2545 CONFIG_LINKS = $CONFIG_LINKS
2546 CONFIG_COMMANDS = $CONFIG_COMMANDS
2547 $ $0 $@
2548
2549 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2550 "
2551
2552 _ACEOF
2553
2554 case $ac_config_files in *"
2555 "*) set x $ac_config_files; shift; ac_config_files=$*;;
2556 esac
2557
2558
2559
2560 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2561 # Files that config.status was made for.
2562 config_files="$ac_config_files"
2563 config_commands="$ac_config_commands"
2564
2565 _ACEOF
2566
2567 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2568 ac_cs_usage="\
2569 \`$as_me' instantiates files and other configuration actions
2570 from templates according to the current configuration. Unless the files
2571 and actions are specified as TAGs, all are instantiated by default.
2572
2573 Usage: $0 [OPTION]... [TAG]...
2574
2575 -h, --help print this help, then exit
2576 -V, --version print version number and configuration settings, then exit
2577 --config print configuration, then exit
2578 -q, --quiet, --silent
2579 do not print progress messages
2580 -d, --debug don't remove temporary files
2581 --recheck update $as_me by reconfiguring in the same conditions
2582 --file=FILE[:TEMPLATE]
2583 instantiate the configuration file FILE
2584
2585 Configuration files:
2586 $config_files
2587
2588 Configuration commands:
2589 $config_commands
2590
2591 Report bugs to the package provider."
2592
2593 _ACEOF
2594 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2595 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2596 ac_cs_version="\\
2597 config.status
2598 configured by $0, generated by GNU Autoconf 2.69,
2599 with options \\"\$ac_cs_config\\"
2600
2601 Copyright (C) 2012 Free Software Foundation, Inc.
2602 This config.status script is free software; the Free Software Foundation
2603 gives unlimited permission to copy, distribute and modify it."
2604
2605 ac_pwd='$ac_pwd'
2606 srcdir='$srcdir'
2607 test -n "\$AWK" || AWK=awk
2608 _ACEOF
2609
2610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2611 # The default lists apply if the user does not specify any file.
2612 ac_need_defaults=:
2613 while test $# != 0
2614 do
2615 case $1 in
2616 --*=?*)
2617 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2618 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2619 ac_shift=:
2620 ;;
2621 --*=)
2622 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2623 ac_optarg=
2624 ac_shift=:
2625 ;;
2626 *)
2627 ac_option=$1
2628 ac_optarg=$2
2629 ac_shift=shift
2630 ;;
2631 esac
2632
2633 case $ac_option in
2634 # Handling of the options.
2635 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2636 ac_cs_recheck=: ;;
2637 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2638 $as_echo "$ac_cs_version"; exit ;;
2639 --config | --confi | --conf | --con | --co | --c )
2640 $as_echo "$ac_cs_config"; exit ;;
2641 --debug | --debu | --deb | --de | --d | -d )
2642 debug=: ;;
2643 --file | --fil | --fi | --f )
2644 $ac_shift
2645 case $ac_optarg in
2646 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2647 '') as_fn_error $? "missing file argument" ;;
2648 esac
2649 as_fn_append CONFIG_FILES " '$ac_optarg'"
2650 ac_need_defaults=false;;
2651 --he | --h | --help | --hel | -h )
2652 $as_echo "$ac_cs_usage"; exit ;;
2653 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2654 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2655 ac_cs_silent=: ;;
2656
2657 # This is an error.
2658 -*) as_fn_error $? "unrecognized option: \`$1'
2659 Try \`$0 --help' for more information." ;;
2660
2661 *) as_fn_append ac_config_targets " $1"
2662 ac_need_defaults=false ;;
2663
2664 esac
2665 shift
2666 done
2667
2668 ac_configure_extra_args=
2669
2670 if $ac_cs_silent; then
2671 exec 6>/dev/null
2672 ac_configure_extra_args="$ac_configure_extra_args --silent"
2673 fi
2674
2675 _ACEOF
2676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2677 if \$ac_cs_recheck; then
2678 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2679 shift
2680 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2681 CONFIG_SHELL='$SHELL'
2682 export CONFIG_SHELL
2683 exec "\$@"
2684 fi
2685
2686 _ACEOF
2687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2688 exec 5>>config.log
2689 {
2690 echo
2691 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2692 ## Running $as_me. ##
2693 _ASBOX
2694 $as_echo "$ac_log"
2695 } >&5
2696
2697 _ACEOF
2698 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2699 _ACEOF
2700
2701 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2702
2703 # Handling of arguments.
2704 for ac_config_target in $ac_config_targets
2705 do
2706 case $ac_config_target in
2707 "Makefile.sim") CONFIG_FILES="$CONFIG_FILES Makefile.sim:Makefile.in" ;;
2708 "Make-common.sim") CONFIG_FILES="$CONFIG_FILES Make-common.sim:../common/Make-common.in" ;;
2709 ".gdbinit") CONFIG_FILES="$CONFIG_FILES .gdbinit:../common/gdbinit.in" ;;
2710 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
2711 "stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS stamp-h" ;;
2712
2713 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
2714 esac
2715 done
2716
2717
2718 # If the user did not use the arguments to specify the items to instantiate,
2719 # then the envvar interface is used. Set only those that are not.
2720 # We use the long form for the default assignment because of an extremely
2721 # bizarre bug on SunOS 4.1.3.
2722 if $ac_need_defaults; then
2723 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2724 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
2725 fi
2726
2727 # Have a temporary directory for convenience. Make it in the build tree
2728 # simply because there is no reason against having it here, and in addition,
2729 # creating and moving files from /tmp can sometimes cause problems.
2730 # Hook for its removal unless debugging.
2731 # Note that there is a small window in which the directory will not be cleaned:
2732 # after its creation but before its name has been assigned to `$tmp'.
2733 $debug ||
2734 {
2735 tmp= ac_tmp=
2736 trap 'exit_status=$?
2737 : "${ac_tmp:=$tmp}"
2738 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
2739 ' 0
2740 trap 'as_fn_exit 1' 1 2 13 15
2741 }
2742 # Create a (secure) tmp directory for tmp files.
2743
2744 {
2745 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2746 test -d "$tmp"
2747 } ||
2748 {
2749 tmp=./conf$$-$RANDOM
2750 (umask 077 && mkdir "$tmp")
2751 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
2752 ac_tmp=$tmp
2753
2754 # Set up the scripts for CONFIG_FILES section.
2755 # No need to generate them if there are no CONFIG_FILES.
2756 # This happens for instance with `./config.status config.h'.
2757 if test -n "$CONFIG_FILES"; then
2758
2759
2760 ac_cr=`echo X | tr X '\015'`
2761 # On cygwin, bash can eat \r inside `` if the user requested igncr.
2762 # But we know of no other shell where ac_cr would be empty at this
2763 # point, so we can use a bashism as a fallback.
2764 if test "x$ac_cr" = x; then
2765 eval ac_cr=\$\'\\r\'
2766 fi
2767 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
2768 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
2769 ac_cs_awk_cr='\\r'
2770 else
2771 ac_cs_awk_cr=$ac_cr
2772 fi
2773
2774 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
2775 _ACEOF
2776
2777
2778 {
2779 echo "cat >conf$$subs.awk <<_ACEOF" &&
2780 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
2781 echo "_ACEOF"
2782 } >conf$$subs.sh ||
2783 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2784 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
2785 ac_delim='%!_!# '
2786 for ac_last_try in false false false false false :; do
2787 . ./conf$$subs.sh ||
2788 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2789
2790 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
2791 if test $ac_delim_n = $ac_delim_num; then
2792 break
2793 elif $ac_last_try; then
2794 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2795 else
2796 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2797 fi
2798 done
2799 rm -f conf$$subs.sh
2800
2801 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2802 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
2803 _ACEOF
2804 sed -n '
2805 h
2806 s/^/S["/; s/!.*/"]=/
2807 p
2808 g
2809 s/^[^!]*!//
2810 :repl
2811 t repl
2812 s/'"$ac_delim"'$//
2813 t delim
2814 :nl
2815 h
2816 s/\(.\{148\}\)..*/\1/
2817 t more1
2818 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
2819 p
2820 n
2821 b repl
2822 :more1
2823 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2824 p
2825 g
2826 s/.\{148\}//
2827 t nl
2828 :delim
2829 h
2830 s/\(.\{148\}\)..*/\1/
2831 t more2
2832 s/["\\]/\\&/g; s/^/"/; s/$/"/
2833 p
2834 b
2835 :more2
2836 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2837 p
2838 g
2839 s/.\{148\}//
2840 t delim
2841 ' <conf$$subs.awk | sed '
2842 /^[^""]/{
2843 N
2844 s/\n//
2845 }
2846 ' >>$CONFIG_STATUS || ac_write_fail=1
2847 rm -f conf$$subs.awk
2848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2849 _ACAWK
2850 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
2851 for (key in S) S_is_set[key] = 1
2852 FS = "\a"
2853
2854 }
2855 {
2856 line = $ 0
2857 nfields = split(line, field, "@")
2858 substed = 0
2859 len = length(field[1])
2860 for (i = 2; i < nfields; i++) {
2861 key = field[i]
2862 keylen = length(key)
2863 if (S_is_set[key]) {
2864 value = S[key]
2865 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
2866 len += length(value) + length(field[++i])
2867 substed = 1
2868 } else
2869 len += 1 + keylen
2870 }
2871
2872 print line
2873 }
2874
2875 _ACAWK
2876 _ACEOF
2877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2878 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
2879 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
2880 else
2881 cat
2882 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
2883 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
2884 _ACEOF
2885
2886 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
2887 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
2888 # trailing colons and then remove the whole line if VPATH becomes empty
2889 # (actually we leave an empty line to preserve line numbers).
2890 if test "x$srcdir" = x.; then
2891 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
2892 h
2893 s///
2894 s/^/:/
2895 s/[ ]*$/:/
2896 s/:\$(srcdir):/:/g
2897 s/:\${srcdir}:/:/g
2898 s/:@srcdir@:/:/g
2899 s/^:*//
2900 s/:*$//
2901 x
2902 s/\(=[ ]*\).*/\1/
2903 G
2904 s/\n//
2905 s/^[^=]*=[ ]*$//
2906 }'
2907 fi
2908
2909 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2910 fi # test -n "$CONFIG_FILES"
2911
2912
2913 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
2914 shift
2915 for ac_tag
2916 do
2917 case $ac_tag in
2918 :[FHLC]) ac_mode=$ac_tag; continue;;
2919 esac
2920 case $ac_mode$ac_tag in
2921 :[FHL]*:*);;
2922 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
2923 :[FH]-) ac_tag=-:-;;
2924 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2925 esac
2926 ac_save_IFS=$IFS
2927 IFS=:
2928 set x $ac_tag
2929 IFS=$ac_save_IFS
2930 shift
2931 ac_file=$1
2932 shift
2933
2934 case $ac_mode in
2935 :L) ac_source=$1;;
2936 :[FH])
2937 ac_file_inputs=
2938 for ac_f
2939 do
2940 case $ac_f in
2941 -) ac_f="$ac_tmp/stdin";;
2942 *) # Look for the file first in the build tree, then in the source tree
2943 # (if the path is not absolute). The absolute path cannot be DOS-style,
2944 # because $ac_f cannot contain `:'.
2945 test -f "$ac_f" ||
2946 case $ac_f in
2947 [\\/$]*) false;;
2948 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2949 esac ||
2950 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
2951 esac
2952 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
2953 as_fn_append ac_file_inputs " '$ac_f'"
2954 done
2955
2956 # Let's still pretend it is `configure' which instantiates (i.e., don't
2957 # use $as_me), people would be surprised to read:
2958 # /* config.h. Generated by config.status. */
2959 configure_input='Generated from '`
2960 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
2961 `' by configure.'
2962 if test x"$ac_file" != x-; then
2963 configure_input="$ac_file. $configure_input"
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
2965 $as_echo "$as_me: creating $ac_file" >&6;}
2966 fi
2967 # Neutralize special characters interpreted by sed in replacement strings.
2968 case $configure_input in #(
2969 *\&* | *\|* | *\\* )
2970 ac_sed_conf_input=`$as_echo "$configure_input" |
2971 sed 's/[\\\\&|]/\\\\&/g'`;; #(
2972 *) ac_sed_conf_input=$configure_input;;
2973 esac
2974
2975 case $ac_tag in
2976 *:-:* | *:-) cat >"$ac_tmp/stdin" \
2977 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
2978 esac
2979 ;;
2980 esac
2981
2982 ac_dir=`$as_dirname -- "$ac_file" ||
2983 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2984 X"$ac_file" : 'X\(//\)[^/]' \| \
2985 X"$ac_file" : 'X\(//\)$' \| \
2986 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2987 $as_echo X"$ac_file" |
2988 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2989 s//\1/
2990 q
2991 }
2992 /^X\(\/\/\)[^/].*/{
2993 s//\1/
2994 q
2995 }
2996 /^X\(\/\/\)$/{
2997 s//\1/
2998 q
2999 }
3000 /^X\(\/\).*/{
3001 s//\1/
3002 q
3003 }
3004 s/.*/./; q'`
3005 as_dir="$ac_dir"; as_fn_mkdir_p
3006 ac_builddir=.
3007
3008 case "$ac_dir" in
3009 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3010 *)
3011 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3012 # A ".." for each directory in $ac_dir_suffix.
3013 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3014 case $ac_top_builddir_sub in
3015 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3016 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3017 esac ;;
3018 esac
3019 ac_abs_top_builddir=$ac_pwd
3020 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3021 # for backward compatibility:
3022 ac_top_builddir=$ac_top_build_prefix
3023
3024 case $srcdir in
3025 .) # We are building in place.
3026 ac_srcdir=.
3027 ac_top_srcdir=$ac_top_builddir_sub
3028 ac_abs_top_srcdir=$ac_pwd ;;
3029 [\\/]* | ?:[\\/]* ) # Absolute name.
3030 ac_srcdir=$srcdir$ac_dir_suffix;
3031 ac_top_srcdir=$srcdir
3032 ac_abs_top_srcdir=$srcdir ;;
3033 *) # Relative name.
3034 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3035 ac_top_srcdir=$ac_top_build_prefix$srcdir
3036 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3037 esac
3038 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3039
3040
3041 case $ac_mode in
3042 :F)
3043 #
3044 # CONFIG_FILE
3045 #
3046
3047 _ACEOF
3048
3049 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3050 # If the template does not know about datarootdir, expand it.
3051 # FIXME: This hack should be removed a few years after 2.60.
3052 ac_datarootdir_hack=; ac_datarootdir_seen=
3053 ac_sed_dataroot='
3054 /datarootdir/ {
3055 p
3056 q
3057 }
3058 /@datadir@/p
3059 /@docdir@/p
3060 /@infodir@/p
3061 /@localedir@/p
3062 /@mandir@/p'
3063 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3064 *datarootdir*) ac_datarootdir_seen=yes;;
3065 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3067 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3068 _ACEOF
3069 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3070 ac_datarootdir_hack='
3071 s&@datadir@&$datadir&g
3072 s&@docdir@&$docdir&g
3073 s&@infodir@&$infodir&g
3074 s&@localedir@&$localedir&g
3075 s&@mandir@&$mandir&g
3076 s&\\\${datarootdir}&$datarootdir&g' ;;
3077 esac
3078 _ACEOF
3079
3080 # Neutralize VPATH when `$srcdir' = `.'.
3081 # Shell code in configure.ac might set extrasub.
3082 # FIXME: do we really want to maintain this feature?
3083 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3084 ac_sed_extra="$ac_vpsub
3085 $extrasub
3086 _ACEOF
3087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3088 :t
3089 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3090 s|@configure_input@|$ac_sed_conf_input|;t t
3091 s&@top_builddir@&$ac_top_builddir_sub&;t t
3092 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3093 s&@srcdir@&$ac_srcdir&;t t
3094 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3095 s&@top_srcdir@&$ac_top_srcdir&;t t
3096 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3097 s&@builddir@&$ac_builddir&;t t
3098 s&@abs_builddir@&$ac_abs_builddir&;t t
3099 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3100 $ac_datarootdir_hack
3101 "
3102 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3103 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3104
3105 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3106 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3107 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3108 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3110 which seems to be undefined. Please make sure it is defined" >&5
3111 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3112 which seems to be undefined. Please make sure it is defined" >&2;}
3113
3114 rm -f "$ac_tmp/stdin"
3115 case $ac_file in
3116 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3117 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3118 esac \
3119 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3120 ;;
3121
3122
3123 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
3124 $as_echo "$as_me: executing $ac_file commands" >&6;}
3125 ;;
3126 esac
3127
3128
3129 case $ac_file$ac_mode in
3130 "Makefile":C) echo "Merging Makefile.sim+Make-common.sim into Makefile ..."
3131 rm -f Makesim1.tmp Makesim2.tmp Makefile
3132 sed -n -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ p' <Make-common.sim >Makesim1.tmp
3133 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim >Makesim2.tmp
3134 sed -e '/^## COMMON_PRE_/ r Makesim1.tmp' \
3135 -e '/^## COMMON_POST_/ r Makesim2.tmp' \
3136 <Makefile.sim >Makefile
3137 rm -f Makefile.sim Make-common.sim Makesim1.tmp Makesim2.tmp
3138 ;;
3139 "stamp-h":C) echo > stamp-h ;;
3140
3141 esac
3142 done # for ac_tag
3143
3144
3145 as_fn_exit 0
3146 _ACEOF
3147 ac_clean_files=$ac_clean_files_save
3148
3149 test $ac_write_fail = 0 ||
3150 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3151
3152
3153 # configure is writing to config.log, and then calls config.status.
3154 # config.status does its own redirection, appending to config.log.
3155 # Unfortunately, on DOS this fails, as config.log is still kept open
3156 # by configure, so config.status won't be able to write to it; its
3157 # output is simply discarded. So we exec the FD to /dev/null,
3158 # effectively closing config.log, so it can be properly (re)opened and
3159 # appended to by config.status. When coming back to configure, we
3160 # need to make the FD available again.
3161 if test "$no_create" != yes; then
3162 ac_cs_success=:
3163 ac_config_status_args=
3164 test "$silent" = yes &&
3165 ac_config_status_args="$ac_config_status_args --quiet"
3166 exec 5>/dev/null
3167 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3168 exec 5>>config.log
3169 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3170 # would make configure fail if this is the last instruction.
3171 $ac_cs_success || as_fn_exit 1
3172 fi
3173 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3175 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3176 fi
3177
3178
This page took 0.107173 seconds and 4 git commands to generate.