]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/sh/configure
sim: hw: rework configure option & device selection
[thirdparty/binutils-gdb.git] / sim / sh / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 #
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
78 }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
88
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
95 do
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
101
102 ;;
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
112 fi
113
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
125
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
131
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
157 fi
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
173 ;;
174 esac
175 fi
176 "
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
182
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190 else
191 exitcode=1; echo positional parameters were not saved.
192 fi
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
199 if (eval "$as_required") 2>/dev/null; then :
200 as_have_required=yes
201 else
202 as_have_required=no
203 fi
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
205
206 else
207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208 as_found=false
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
210 do
211 IFS=$as_save_IFS
212 test -z "$as_dir" && as_dir=.
213 as_found=:
214 case $as_dir in #(
215 /*)
216 for as_base in sh bash ksh sh5; do
217 # Try only shells that exist, to save several forks.
218 as_shell=$as_dir/$as_base
219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221 CONFIG_SHELL=$as_shell as_have_required=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 break 2
224 fi
225 fi
226 done;;
227 esac
228 as_found=false
229 done
230 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232 CONFIG_SHELL=$SHELL as_have_required=yes
233 fi; }
234 IFS=$as_save_IFS
235
236
237 if test "x$CONFIG_SHELL" != x; then :
238 export CONFIG_SHELL
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
243 BASH_ENV=/dev/null
244 ENV=/dev/null
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246 case $- in # ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251 esac
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256 exit 255
257 fi
258
259 if test x$as_have_required = xno; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x${ZSH_VERSION+set} = xset ; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
265 else
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
270 fi
271 exit 1
272 fi
273 fi
274 fi
275 SHELL=${CONFIG_SHELL-/bin/sh}
276 export SHELL
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE= GREP_OPTIONS=
279 unset CLICOLOR_FORCE GREP_OPTIONS
280
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
284 # as_fn_unset VAR
285 # ---------------
286 # Portably unset VAR.
287 as_fn_unset ()
288 {
289 { eval $1=; unset $1;}
290 }
291 as_unset=as_fn_unset
292
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
296 as_fn_set_status ()
297 {
298 return $1
299 } # as_fn_set_status
300
301 # as_fn_exit STATUS
302 # -----------------
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304 as_fn_exit ()
305 {
306 set +e
307 as_fn_set_status $1
308 exit $1
309 } # as_fn_exit
310
311 # as_fn_mkdir_p
312 # -------------
313 # Create "$as_dir" as a directory, including parents if necessary.
314 as_fn_mkdir_p ()
315 {
316
317 case $as_dir in #(
318 -*) as_dir=./$as_dir;;
319 esac
320 test -d "$as_dir" || eval $as_mkdir_p || {
321 as_dirs=
322 while :; do
323 case $as_dir in #(
324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325 *) as_qdir=$as_dir;;
326 esac
327 as_dirs="'$as_qdir' $as_dirs"
328 as_dir=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 s//\1/
336 q
337 }
338 /^X\(\/\/\)[^/].*/{
339 s//\1/
340 q
341 }
342 /^X\(\/\/\)$/{
343 s//\1/
344 q
345 }
346 /^X\(\/\).*/{
347 s//\1/
348 q
349 }
350 s/.*/./; q'`
351 test -d "$as_dir" && break
352 done
353 test -z "$as_dirs" || eval "mkdir $as_dirs"
354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
355
356
357 } # as_fn_mkdir_p
358
359 # as_fn_executable_p FILE
360 # -----------------------
361 # Test if FILE is an executable regular file.
362 as_fn_executable_p ()
363 {
364 test -f "$1" && test -x "$1"
365 } # as_fn_executable_p
366 # as_fn_append VAR VALUE
367 # ----------------------
368 # Append the text in VALUE to the end of the definition contained in VAR. Take
369 # advantage of any shell optimizations that allow amortized linear growth over
370 # repeated appends, instead of the typical quadratic growth present in naive
371 # implementations.
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373 eval 'as_fn_append ()
374 {
375 eval $1+=\$2
376 }'
377 else
378 as_fn_append ()
379 {
380 eval $1=\$$1\$2
381 }
382 fi # as_fn_append
383
384 # as_fn_arith ARG...
385 # ------------------
386 # Perform arithmetic evaluation on the ARGs, and store the result in the
387 # global $as_val. Take advantage of shells that can avoid forks. The arguments
388 # must be portable across $(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390 eval 'as_fn_arith ()
391 {
392 as_val=$(( $* ))
393 }'
394 else
395 as_fn_arith ()
396 {
397 as_val=`expr "$@" || test $? -eq 1`
398 }
399 fi # as_fn_arith
400
401
402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
403 # ----------------------------------------
404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 # script with STATUS, using 1 if that was 0.
407 as_fn_error ()
408 {
409 as_status=$1; test $as_status -eq 0 && as_status=1
410 if test "$4"; then
411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
413 fi
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit $as_status
416 } # as_fn_error
417
418 if expr a : '\(a\)' >/dev/null 2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
420 as_expr=expr
421 else
422 as_expr=false
423 fi
424
425 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426 as_basename=basename
427 else
428 as_basename=false
429 fi
430
431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432 as_dirname=dirname
433 else
434 as_dirname=false
435 fi
436
437 as_me=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441 $as_echo X/"$0" |
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
443 s//\1/
444 q
445 }
446 /^X\/\(\/\/\)$/{
447 s//\1/
448 q
449 }
450 /^X\/\(\/\).*/{
451 s//\1/
452 q
453 }
454 s/.*/./; q'`
455
456 # Avoid depending upon Character Ranges.
457 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits='0123456789'
461 as_cr_alnum=$as_cr_Letters$as_cr_digits
462
463
464 as_lineno_1=$LINENO as_lineno_1a=$LINENO
465 as_lineno_2=$LINENO as_lineno_2a=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
469 sed -n '
470 p
471 /[$]LINENO/=
472 ' <$as_myself |
473 sed '
474 s/[$]LINENO.*/&-/
475 t lineno
476 b
477 :lineno
478 N
479 :loop
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
481 t loop
482 s/-\n.*//
483 ' >$as_me.lineno &&
484 chmod +x "$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
486
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec=no; export _as_can_reexec
491 # Don't try to exec as it changes $[0], causing all sort of problems
492 # (the dirname of $[0] is not the place where we might find the
493 # original and so on. Autoconf is especially sensitive to this).
494 . "./$as_me.lineno"
495 # Exit status is that of the last command.
496 exit
497 }
498
499 ECHO_C= ECHO_N= ECHO_T=
500 case `echo -n x` in #(((((
501 -n*)
502 case `echo 'xy\c'` in
503 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 xy) ECHO_C='\c';;
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
506 ECHO_T=' ';;
507 esac;;
508 *)
509 ECHO_N='-n';;
510 esac
511
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
515 else
516 rm -f conf$$.dir
517 mkdir conf$$.dir 2>/dev/null
518 fi
519 if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 as_ln_s='ln -s'
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 as_ln_s='cp -pR'
528 elif ln conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s=ln
530 else
531 as_ln_s='cp -pR'
532 fi
533 else
534 as_ln_s='cp -pR'
535 fi
536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537 rmdir conf$$.dir 2>/dev/null
538
539 if mkdir -p . 2>/dev/null; then
540 as_mkdir_p='mkdir -p "$as_dir"'
541 else
542 test -d ./-p && rmdir ./-p
543 as_mkdir_p=false
544 fi
545
546 as_test_x='test -x'
547 as_executable_p=as_fn_executable_p
548
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
551
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554
555
556 test -n "$DJDIR" || exec 7<&0 </dev/null
557 exec 6>&1
558
559 # Name of the host.
560 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561 # so uname gets run too.
562 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
563
564 #
565 # Initializations.
566 #
567 ac_default_prefix=/usr/local
568 ac_clean_files=
569 ac_config_libobj_dir=.
570 LIBOBJS=
571 cross_compiling=no
572 subdirs=
573 MFLAGS=
574 MAKEFLAGS=
575
576 # Identity of this package.
577 PACKAGE_NAME=
578 PACKAGE_TARNAME=
579 PACKAGE_VERSION=
580 PACKAGE_STRING=
581 PACKAGE_BUGREPORT=
582 PACKAGE_URL=
583
584 ac_unique_file="Makefile.in"
585 ac_subst_vars='LTLIBOBJS
586 LIBOBJS
587 sim_reserved_bits
588 sim_default_model
589 sim_scache
590 sim_float
591 sim_bitsize
592 cgen_breaks
593 sim_hw_sockser
594 sim_hw_cflags
595 SIM_ENABLE_HW_FALSE
596 SIM_ENABLE_HW_TRUE
597 target_alias
598 host_alias
599 build_alias
600 LIBS
601 ECHO_T
602 ECHO_N
603 ECHO_C
604 DEFS
605 mandir
606 localedir
607 libdir
608 psdir
609 pdfdir
610 dvidir
611 htmldir
612 infodir
613 docdir
614 oldincludedir
615 includedir
616 localstatedir
617 sharedstatedir
618 sysconfdir
619 datadir
620 datarootdir
621 libexecdir
622 sbindir
623 bindir
624 program_transform_name
625 prefix
626 exec_prefix
627 PACKAGE_URL
628 PACKAGE_BUGREPORT
629 PACKAGE_STRING
630 PACKAGE_VERSION
631 PACKAGE_TARNAME
632 PACKAGE_NAME
633 PATH_SEPARATOR
634 SHELL'
635 ac_subst_files=''
636 ac_user_opts='
637 enable_option_checking
638 enable_sim_hardware
639 '
640 ac_precious_vars='build_alias
641 host_alias
642 target_alias'
643
644
645 # Initialize some variables set by options.
646 ac_init_help=
647 ac_init_version=false
648 ac_unrecognized_opts=
649 ac_unrecognized_sep=
650 # The variables have the same names as the options, with
651 # dashes changed to underlines.
652 cache_file=/dev/null
653 exec_prefix=NONE
654 no_create=
655 no_recursion=
656 prefix=NONE
657 program_prefix=NONE
658 program_suffix=NONE
659 program_transform_name=s,x,x,
660 silent=
661 site=
662 srcdir=
663 verbose=
664 x_includes=NONE
665 x_libraries=NONE
666
667 # Installation directory options.
668 # These are left unexpanded so users can "make install exec_prefix=/foo"
669 # and all the variables that are supposed to be based on exec_prefix
670 # by default will actually change.
671 # Use braces instead of parens because sh, perl, etc. also accept them.
672 # (The list follows the same order as the GNU Coding Standards.)
673 bindir='${exec_prefix}/bin'
674 sbindir='${exec_prefix}/sbin'
675 libexecdir='${exec_prefix}/libexec'
676 datarootdir='${prefix}/share'
677 datadir='${datarootdir}'
678 sysconfdir='${prefix}/etc'
679 sharedstatedir='${prefix}/com'
680 localstatedir='${prefix}/var'
681 includedir='${prefix}/include'
682 oldincludedir='/usr/include'
683 docdir='${datarootdir}/doc/${PACKAGE}'
684 infodir='${datarootdir}/info'
685 htmldir='${docdir}'
686 dvidir='${docdir}'
687 pdfdir='${docdir}'
688 psdir='${docdir}'
689 libdir='${exec_prefix}/lib'
690 localedir='${datarootdir}/locale'
691 mandir='${datarootdir}/man'
692
693 ac_prev=
694 ac_dashdash=
695 for ac_option
696 do
697 # If the previous option needs an argument, assign it.
698 if test -n "$ac_prev"; then
699 eval $ac_prev=\$ac_option
700 ac_prev=
701 continue
702 fi
703
704 case $ac_option in
705 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
706 *=) ac_optarg= ;;
707 *) ac_optarg=yes ;;
708 esac
709
710 # Accept the important Cygnus configure options, so we can diagnose typos.
711
712 case $ac_dashdash$ac_option in
713 --)
714 ac_dashdash=yes ;;
715
716 -bindir | --bindir | --bindi | --bind | --bin | --bi)
717 ac_prev=bindir ;;
718 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
719 bindir=$ac_optarg ;;
720
721 -build | --build | --buil | --bui | --bu)
722 ac_prev=build_alias ;;
723 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
724 build_alias=$ac_optarg ;;
725
726 -cache-file | --cache-file | --cache-fil | --cache-fi \
727 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
728 ac_prev=cache_file ;;
729 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
730 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
731 cache_file=$ac_optarg ;;
732
733 --config-cache | -C)
734 cache_file=config.cache ;;
735
736 -datadir | --datadir | --datadi | --datad)
737 ac_prev=datadir ;;
738 -datadir=* | --datadir=* | --datadi=* | --datad=*)
739 datadir=$ac_optarg ;;
740
741 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
742 | --dataroo | --dataro | --datar)
743 ac_prev=datarootdir ;;
744 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
745 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
746 datarootdir=$ac_optarg ;;
747
748 -disable-* | --disable-*)
749 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
750 # Reject names that are not valid shell variable names.
751 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
752 as_fn_error $? "invalid feature name: $ac_useropt"
753 ac_useropt_orig=$ac_useropt
754 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
755 case $ac_user_opts in
756 *"
757 "enable_$ac_useropt"
758 "*) ;;
759 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
760 ac_unrecognized_sep=', ';;
761 esac
762 eval enable_$ac_useropt=no ;;
763
764 -docdir | --docdir | --docdi | --doc | --do)
765 ac_prev=docdir ;;
766 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
767 docdir=$ac_optarg ;;
768
769 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
770 ac_prev=dvidir ;;
771 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
772 dvidir=$ac_optarg ;;
773
774 -enable-* | --enable-*)
775 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
776 # Reject names that are not valid shell variable names.
777 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
778 as_fn_error $? "invalid feature name: $ac_useropt"
779 ac_useropt_orig=$ac_useropt
780 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
781 case $ac_user_opts in
782 *"
783 "enable_$ac_useropt"
784 "*) ;;
785 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
786 ac_unrecognized_sep=', ';;
787 esac
788 eval enable_$ac_useropt=\$ac_optarg ;;
789
790 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
791 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
792 | --exec | --exe | --ex)
793 ac_prev=exec_prefix ;;
794 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
795 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
796 | --exec=* | --exe=* | --ex=*)
797 exec_prefix=$ac_optarg ;;
798
799 -gas | --gas | --ga | --g)
800 # Obsolete; use --with-gas.
801 with_gas=yes ;;
802
803 -help | --help | --hel | --he | -h)
804 ac_init_help=long ;;
805 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
806 ac_init_help=recursive ;;
807 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
808 ac_init_help=short ;;
809
810 -host | --host | --hos | --ho)
811 ac_prev=host_alias ;;
812 -host=* | --host=* | --hos=* | --ho=*)
813 host_alias=$ac_optarg ;;
814
815 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
816 ac_prev=htmldir ;;
817 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
818 | --ht=*)
819 htmldir=$ac_optarg ;;
820
821 -includedir | --includedir | --includedi | --included | --include \
822 | --includ | --inclu | --incl | --inc)
823 ac_prev=includedir ;;
824 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
825 | --includ=* | --inclu=* | --incl=* | --inc=*)
826 includedir=$ac_optarg ;;
827
828 -infodir | --infodir | --infodi | --infod | --info | --inf)
829 ac_prev=infodir ;;
830 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
831 infodir=$ac_optarg ;;
832
833 -libdir | --libdir | --libdi | --libd)
834 ac_prev=libdir ;;
835 -libdir=* | --libdir=* | --libdi=* | --libd=*)
836 libdir=$ac_optarg ;;
837
838 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
839 | --libexe | --libex | --libe)
840 ac_prev=libexecdir ;;
841 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
842 | --libexe=* | --libex=* | --libe=*)
843 libexecdir=$ac_optarg ;;
844
845 -localedir | --localedir | --localedi | --localed | --locale)
846 ac_prev=localedir ;;
847 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
848 localedir=$ac_optarg ;;
849
850 -localstatedir | --localstatedir | --localstatedi | --localstated \
851 | --localstate | --localstat | --localsta | --localst | --locals)
852 ac_prev=localstatedir ;;
853 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
854 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
855 localstatedir=$ac_optarg ;;
856
857 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
858 ac_prev=mandir ;;
859 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
860 mandir=$ac_optarg ;;
861
862 -nfp | --nfp | --nf)
863 # Obsolete; use --without-fp.
864 with_fp=no ;;
865
866 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
867 | --no-cr | --no-c | -n)
868 no_create=yes ;;
869
870 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
871 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
872 no_recursion=yes ;;
873
874 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
875 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
876 | --oldin | --oldi | --old | --ol | --o)
877 ac_prev=oldincludedir ;;
878 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
879 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
880 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
881 oldincludedir=$ac_optarg ;;
882
883 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
884 ac_prev=prefix ;;
885 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
886 prefix=$ac_optarg ;;
887
888 -program-prefix | --program-prefix | --program-prefi | --program-pref \
889 | --program-pre | --program-pr | --program-p)
890 ac_prev=program_prefix ;;
891 -program-prefix=* | --program-prefix=* | --program-prefi=* \
892 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
893 program_prefix=$ac_optarg ;;
894
895 -program-suffix | --program-suffix | --program-suffi | --program-suff \
896 | --program-suf | --program-su | --program-s)
897 ac_prev=program_suffix ;;
898 -program-suffix=* | --program-suffix=* | --program-suffi=* \
899 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
900 program_suffix=$ac_optarg ;;
901
902 -program-transform-name | --program-transform-name \
903 | --program-transform-nam | --program-transform-na \
904 | --program-transform-n | --program-transform- \
905 | --program-transform | --program-transfor \
906 | --program-transfo | --program-transf \
907 | --program-trans | --program-tran \
908 | --progr-tra | --program-tr | --program-t)
909 ac_prev=program_transform_name ;;
910 -program-transform-name=* | --program-transform-name=* \
911 | --program-transform-nam=* | --program-transform-na=* \
912 | --program-transform-n=* | --program-transform-=* \
913 | --program-transform=* | --program-transfor=* \
914 | --program-transfo=* | --program-transf=* \
915 | --program-trans=* | --program-tran=* \
916 | --progr-tra=* | --program-tr=* | --program-t=*)
917 program_transform_name=$ac_optarg ;;
918
919 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
920 ac_prev=pdfdir ;;
921 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
922 pdfdir=$ac_optarg ;;
923
924 -psdir | --psdir | --psdi | --psd | --ps)
925 ac_prev=psdir ;;
926 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
927 psdir=$ac_optarg ;;
928
929 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
930 | -silent | --silent | --silen | --sile | --sil)
931 silent=yes ;;
932
933 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
934 ac_prev=sbindir ;;
935 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
936 | --sbi=* | --sb=*)
937 sbindir=$ac_optarg ;;
938
939 -sharedstatedir | --sharedstatedir | --sharedstatedi \
940 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
941 | --sharedst | --shareds | --shared | --share | --shar \
942 | --sha | --sh)
943 ac_prev=sharedstatedir ;;
944 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
945 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
946 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
947 | --sha=* | --sh=*)
948 sharedstatedir=$ac_optarg ;;
949
950 -site | --site | --sit)
951 ac_prev=site ;;
952 -site=* | --site=* | --sit=*)
953 site=$ac_optarg ;;
954
955 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
956 ac_prev=srcdir ;;
957 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
958 srcdir=$ac_optarg ;;
959
960 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
961 | --syscon | --sysco | --sysc | --sys | --sy)
962 ac_prev=sysconfdir ;;
963 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
964 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
965 sysconfdir=$ac_optarg ;;
966
967 -target | --target | --targe | --targ | --tar | --ta | --t)
968 ac_prev=target_alias ;;
969 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
970 target_alias=$ac_optarg ;;
971
972 -v | -verbose | --verbose | --verbos | --verbo | --verb)
973 verbose=yes ;;
974
975 -version | --version | --versio | --versi | --vers | -V)
976 ac_init_version=: ;;
977
978 -with-* | --with-*)
979 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
980 # Reject names that are not valid shell variable names.
981 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
982 as_fn_error $? "invalid package name: $ac_useropt"
983 ac_useropt_orig=$ac_useropt
984 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
985 case $ac_user_opts in
986 *"
987 "with_$ac_useropt"
988 "*) ;;
989 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
990 ac_unrecognized_sep=', ';;
991 esac
992 eval with_$ac_useropt=\$ac_optarg ;;
993
994 -without-* | --without-*)
995 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
996 # Reject names that are not valid shell variable names.
997 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
998 as_fn_error $? "invalid package name: $ac_useropt"
999 ac_useropt_orig=$ac_useropt
1000 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1001 case $ac_user_opts in
1002 *"
1003 "with_$ac_useropt"
1004 "*) ;;
1005 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1006 ac_unrecognized_sep=', ';;
1007 esac
1008 eval with_$ac_useropt=no ;;
1009
1010 --x)
1011 # Obsolete; use --with-x.
1012 with_x=yes ;;
1013
1014 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1015 | --x-incl | --x-inc | --x-in | --x-i)
1016 ac_prev=x_includes ;;
1017 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1018 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1019 x_includes=$ac_optarg ;;
1020
1021 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1022 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1023 ac_prev=x_libraries ;;
1024 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1025 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1026 x_libraries=$ac_optarg ;;
1027
1028 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1029 Try \`$0 --help' for more information"
1030 ;;
1031
1032 *=*)
1033 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1034 # Reject names that are not valid shell variable names.
1035 case $ac_envvar in #(
1036 '' | [0-9]* | *[!_$as_cr_alnum]* )
1037 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1038 esac
1039 eval $ac_envvar=\$ac_optarg
1040 export $ac_envvar ;;
1041
1042 *)
1043 # FIXME: should be removed in autoconf 3.0.
1044 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1045 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1046 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1047 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1048 ;;
1049
1050 esac
1051 done
1052
1053 if test -n "$ac_prev"; then
1054 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1055 as_fn_error $? "missing argument to $ac_option"
1056 fi
1057
1058 if test -n "$ac_unrecognized_opts"; then
1059 case $enable_option_checking in
1060 no) ;;
1061 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1062 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1063 esac
1064 fi
1065
1066 # Check all directory arguments for consistency.
1067 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1068 datadir sysconfdir sharedstatedir localstatedir includedir \
1069 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1070 libdir localedir mandir
1071 do
1072 eval ac_val=\$$ac_var
1073 # Remove trailing slashes.
1074 case $ac_val in
1075 */ )
1076 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1077 eval $ac_var=\$ac_val;;
1078 esac
1079 # Be sure to have absolute directory names.
1080 case $ac_val in
1081 [\\/$]* | ?:[\\/]* ) continue;;
1082 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1083 esac
1084 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1085 done
1086
1087 # There might be people who depend on the old broken behavior: `$host'
1088 # used to hold the argument of --host etc.
1089 # FIXME: To remove some day.
1090 build=$build_alias
1091 host=$host_alias
1092 target=$target_alias
1093
1094 # FIXME: To remove some day.
1095 if test "x$host_alias" != x; then
1096 if test "x$build_alias" = x; then
1097 cross_compiling=maybe
1098 elif test "x$build_alias" != "x$host_alias"; then
1099 cross_compiling=yes
1100 fi
1101 fi
1102
1103 ac_tool_prefix=
1104 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1105
1106 test "$silent" = yes && exec 6>/dev/null
1107
1108
1109 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1110 ac_ls_di=`ls -di .` &&
1111 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1112 as_fn_error $? "working directory cannot be determined"
1113 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1114 as_fn_error $? "pwd does not report name of working directory"
1115
1116
1117 # Find the source files, if location was not specified.
1118 if test -z "$srcdir"; then
1119 ac_srcdir_defaulted=yes
1120 # Try the directory containing this script, then the parent directory.
1121 ac_confdir=`$as_dirname -- "$as_myself" ||
1122 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1123 X"$as_myself" : 'X\(//\)[^/]' \| \
1124 X"$as_myself" : 'X\(//\)$' \| \
1125 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1126 $as_echo X"$as_myself" |
1127 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1128 s//\1/
1129 q
1130 }
1131 /^X\(\/\/\)[^/].*/{
1132 s//\1/
1133 q
1134 }
1135 /^X\(\/\/\)$/{
1136 s//\1/
1137 q
1138 }
1139 /^X\(\/\).*/{
1140 s//\1/
1141 q
1142 }
1143 s/.*/./; q'`
1144 srcdir=$ac_confdir
1145 if test ! -r "$srcdir/$ac_unique_file"; then
1146 srcdir=..
1147 fi
1148 else
1149 ac_srcdir_defaulted=no
1150 fi
1151 if test ! -r "$srcdir/$ac_unique_file"; then
1152 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1153 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1154 fi
1155 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1156 ac_abs_confdir=`(
1157 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1158 pwd)`
1159 # When building in place, set srcdir=.
1160 if test "$ac_abs_confdir" = "$ac_pwd"; then
1161 srcdir=.
1162 fi
1163 # Remove unnecessary trailing slashes from srcdir.
1164 # Double slashes in file names in object file debugging info
1165 # mess up M-x gdb in Emacs.
1166 case $srcdir in
1167 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1168 esac
1169 for ac_var in $ac_precious_vars; do
1170 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1171 eval ac_env_${ac_var}_value=\$${ac_var}
1172 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1173 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1174 done
1175
1176 #
1177 # Report the --help message.
1178 #
1179 if test "$ac_init_help" = "long"; then
1180 # Omit some internal or obsolete options to make the list less imposing.
1181 # This message is too long to be a string in the A/UX 3.1 sh.
1182 cat <<_ACEOF
1183 \`configure' configures this package to adapt to many kinds of systems.
1184
1185 Usage: $0 [OPTION]... [VAR=VALUE]...
1186
1187 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1188 VAR=VALUE. See below for descriptions of some of the useful variables.
1189
1190 Defaults for the options are specified in brackets.
1191
1192 Configuration:
1193 -h, --help display this help and exit
1194 --help=short display options specific to this package
1195 --help=recursive display the short help of all the included packages
1196 -V, --version display version information and exit
1197 -q, --quiet, --silent do not print \`checking ...' messages
1198 --cache-file=FILE cache test results in FILE [disabled]
1199 -C, --config-cache alias for \`--cache-file=config.cache'
1200 -n, --no-create do not create output files
1201 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1202
1203 Installation directories:
1204 --prefix=PREFIX install architecture-independent files in PREFIX
1205 [$ac_default_prefix]
1206 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1207 [PREFIX]
1208
1209 By default, \`make install' will install all the files in
1210 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1211 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1212 for instance \`--prefix=\$HOME'.
1213
1214 For better control, use the options below.
1215
1216 Fine tuning of the installation directories:
1217 --bindir=DIR user executables [EPREFIX/bin]
1218 --sbindir=DIR system admin executables [EPREFIX/sbin]
1219 --libexecdir=DIR program executables [EPREFIX/libexec]
1220 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1221 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1222 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1223 --libdir=DIR object code libraries [EPREFIX/lib]
1224 --includedir=DIR C header files [PREFIX/include]
1225 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1226 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1227 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1228 --infodir=DIR info documentation [DATAROOTDIR/info]
1229 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1230 --mandir=DIR man documentation [DATAROOTDIR/man]
1231 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1232 --htmldir=DIR html documentation [DOCDIR]
1233 --dvidir=DIR dvi documentation [DOCDIR]
1234 --pdfdir=DIR pdf documentation [DOCDIR]
1235 --psdir=DIR ps documentation [DOCDIR]
1236 _ACEOF
1237
1238 cat <<\_ACEOF
1239 _ACEOF
1240 fi
1241
1242 if test -n "$ac_init_help"; then
1243
1244 cat <<\_ACEOF
1245
1246 Optional Features:
1247 --disable-option-checking ignore unrecognized --enable/--with options
1248 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1249 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1250 --enable-sim-hardware Whether to enable hardware/device simulation
1251
1252 Report bugs to the package provider.
1253 _ACEOF
1254 ac_status=$?
1255 fi
1256
1257 if test "$ac_init_help" = "recursive"; then
1258 # If there are subdirs, report their specific --help.
1259 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1260 test -d "$ac_dir" ||
1261 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1262 continue
1263 ac_builddir=.
1264
1265 case "$ac_dir" in
1266 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1267 *)
1268 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1269 # A ".." for each directory in $ac_dir_suffix.
1270 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1271 case $ac_top_builddir_sub in
1272 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1273 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1274 esac ;;
1275 esac
1276 ac_abs_top_builddir=$ac_pwd
1277 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1278 # for backward compatibility:
1279 ac_top_builddir=$ac_top_build_prefix
1280
1281 case $srcdir in
1282 .) # We are building in place.
1283 ac_srcdir=.
1284 ac_top_srcdir=$ac_top_builddir_sub
1285 ac_abs_top_srcdir=$ac_pwd ;;
1286 [\\/]* | ?:[\\/]* ) # Absolute name.
1287 ac_srcdir=$srcdir$ac_dir_suffix;
1288 ac_top_srcdir=$srcdir
1289 ac_abs_top_srcdir=$srcdir ;;
1290 *) # Relative name.
1291 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1292 ac_top_srcdir=$ac_top_build_prefix$srcdir
1293 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1294 esac
1295 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1296
1297 cd "$ac_dir" || { ac_status=$?; continue; }
1298 # Check for guested configure.
1299 if test -f "$ac_srcdir/configure.gnu"; then
1300 echo &&
1301 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1302 elif test -f "$ac_srcdir/configure"; then
1303 echo &&
1304 $SHELL "$ac_srcdir/configure" --help=recursive
1305 else
1306 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1307 fi || ac_status=$?
1308 cd "$ac_pwd" || { ac_status=$?; break; }
1309 done
1310 fi
1311
1312 test -n "$ac_init_help" && exit $ac_status
1313 if $ac_init_version; then
1314 cat <<\_ACEOF
1315 configure
1316 generated by GNU Autoconf 2.69
1317
1318 Copyright (C) 2012 Free Software Foundation, Inc.
1319 This configure script is free software; the Free Software Foundation
1320 gives unlimited permission to copy, distribute and modify it.
1321 _ACEOF
1322 exit
1323 fi
1324
1325 ## ------------------------ ##
1326 ## Autoconf initialization. ##
1327 ## ------------------------ ##
1328 cat >config.log <<_ACEOF
1329 This file contains any messages produced by compilers while
1330 running configure, to aid debugging if configure makes a mistake.
1331
1332 It was created by $as_me, which was
1333 generated by GNU Autoconf 2.69. Invocation command line was
1334
1335 $ $0 $@
1336
1337 _ACEOF
1338 exec 5>>config.log
1339 {
1340 cat <<_ASUNAME
1341 ## --------- ##
1342 ## Platform. ##
1343 ## --------- ##
1344
1345 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1346 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1347 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1348 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1349 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1350
1351 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1352 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1353
1354 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1355 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1356 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1357 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1358 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1359 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1360 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1361
1362 _ASUNAME
1363
1364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1365 for as_dir in $PATH
1366 do
1367 IFS=$as_save_IFS
1368 test -z "$as_dir" && as_dir=.
1369 $as_echo "PATH: $as_dir"
1370 done
1371 IFS=$as_save_IFS
1372
1373 } >&5
1374
1375 cat >&5 <<_ACEOF
1376
1377
1378 ## ----------- ##
1379 ## Core tests. ##
1380 ## ----------- ##
1381
1382 _ACEOF
1383
1384
1385 # Keep a trace of the command line.
1386 # Strip out --no-create and --no-recursion so they do not pile up.
1387 # Strip out --silent because we don't want to record it for future runs.
1388 # Also quote any args containing shell meta-characters.
1389 # Make two passes to allow for proper duplicate-argument suppression.
1390 ac_configure_args=
1391 ac_configure_args0=
1392 ac_configure_args1=
1393 ac_must_keep_next=false
1394 for ac_pass in 1 2
1395 do
1396 for ac_arg
1397 do
1398 case $ac_arg in
1399 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1400 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1401 | -silent | --silent | --silen | --sile | --sil)
1402 continue ;;
1403 *\'*)
1404 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1405 esac
1406 case $ac_pass in
1407 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1408 2)
1409 as_fn_append ac_configure_args1 " '$ac_arg'"
1410 if test $ac_must_keep_next = true; then
1411 ac_must_keep_next=false # Got value, back to normal.
1412 else
1413 case $ac_arg in
1414 *=* | --config-cache | -C | -disable-* | --disable-* \
1415 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1416 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1417 | -with-* | --with-* | -without-* | --without-* | --x)
1418 case "$ac_configure_args0 " in
1419 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1420 esac
1421 ;;
1422 -* ) ac_must_keep_next=true ;;
1423 esac
1424 fi
1425 as_fn_append ac_configure_args " '$ac_arg'"
1426 ;;
1427 esac
1428 done
1429 done
1430 { ac_configure_args0=; unset ac_configure_args0;}
1431 { ac_configure_args1=; unset ac_configure_args1;}
1432
1433 # When interrupted or exit'd, cleanup temporary files, and complete
1434 # config.log. We remove comments because anyway the quotes in there
1435 # would cause problems or look ugly.
1436 # WARNING: Use '\'' to represent an apostrophe within the trap.
1437 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1438 trap 'exit_status=$?
1439 # Save into config.log some information that might help in debugging.
1440 {
1441 echo
1442
1443 $as_echo "## ---------------- ##
1444 ## Cache variables. ##
1445 ## ---------------- ##"
1446 echo
1447 # The following way of writing the cache mishandles newlines in values,
1448 (
1449 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1450 eval ac_val=\$$ac_var
1451 case $ac_val in #(
1452 *${as_nl}*)
1453 case $ac_var in #(
1454 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1455 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1456 esac
1457 case $ac_var in #(
1458 _ | IFS | as_nl) ;; #(
1459 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1460 *) { eval $ac_var=; unset $ac_var;} ;;
1461 esac ;;
1462 esac
1463 done
1464 (set) 2>&1 |
1465 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1466 *${as_nl}ac_space=\ *)
1467 sed -n \
1468 "s/'\''/'\''\\\\'\'''\''/g;
1469 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1470 ;; #(
1471 *)
1472 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1473 ;;
1474 esac |
1475 sort
1476 )
1477 echo
1478
1479 $as_echo "## ----------------- ##
1480 ## Output variables. ##
1481 ## ----------------- ##"
1482 echo
1483 for ac_var in $ac_subst_vars
1484 do
1485 eval ac_val=\$$ac_var
1486 case $ac_val in
1487 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1488 esac
1489 $as_echo "$ac_var='\''$ac_val'\''"
1490 done | sort
1491 echo
1492
1493 if test -n "$ac_subst_files"; then
1494 $as_echo "## ------------------- ##
1495 ## File substitutions. ##
1496 ## ------------------- ##"
1497 echo
1498 for ac_var in $ac_subst_files
1499 do
1500 eval ac_val=\$$ac_var
1501 case $ac_val in
1502 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1503 esac
1504 $as_echo "$ac_var='\''$ac_val'\''"
1505 done | sort
1506 echo
1507 fi
1508
1509 if test -s confdefs.h; then
1510 $as_echo "## ----------- ##
1511 ## confdefs.h. ##
1512 ## ----------- ##"
1513 echo
1514 cat confdefs.h
1515 echo
1516 fi
1517 test "$ac_signal" != 0 &&
1518 $as_echo "$as_me: caught signal $ac_signal"
1519 $as_echo "$as_me: exit $exit_status"
1520 } >&5
1521 rm -f core *.core core.conftest.* &&
1522 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1523 exit $exit_status
1524 ' 0
1525 for ac_signal in 1 2 13 15; do
1526 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1527 done
1528 ac_signal=0
1529
1530 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1531 rm -f -r conftest* confdefs.h
1532
1533 $as_echo "/* confdefs.h */" > confdefs.h
1534
1535 # Predefined preprocessor variables.
1536
1537 cat >>confdefs.h <<_ACEOF
1538 #define PACKAGE_NAME "$PACKAGE_NAME"
1539 _ACEOF
1540
1541 cat >>confdefs.h <<_ACEOF
1542 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1543 _ACEOF
1544
1545 cat >>confdefs.h <<_ACEOF
1546 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1547 _ACEOF
1548
1549 cat >>confdefs.h <<_ACEOF
1550 #define PACKAGE_STRING "$PACKAGE_STRING"
1551 _ACEOF
1552
1553 cat >>confdefs.h <<_ACEOF
1554 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1555 _ACEOF
1556
1557 cat >>confdefs.h <<_ACEOF
1558 #define PACKAGE_URL "$PACKAGE_URL"
1559 _ACEOF
1560
1561
1562 # Let the site file select an alternate cache file if it wants to.
1563 # Prefer an explicitly selected file to automatically selected ones.
1564 ac_site_file1=NONE
1565 ac_site_file2=NONE
1566 if test -n "$CONFIG_SITE"; then
1567 # We do not want a PATH search for config.site.
1568 case $CONFIG_SITE in #((
1569 -*) ac_site_file1=./$CONFIG_SITE;;
1570 */*) ac_site_file1=$CONFIG_SITE;;
1571 *) ac_site_file1=./$CONFIG_SITE;;
1572 esac
1573 elif test "x$prefix" != xNONE; then
1574 ac_site_file1=$prefix/share/config.site
1575 ac_site_file2=$prefix/etc/config.site
1576 else
1577 ac_site_file1=$ac_default_prefix/share/config.site
1578 ac_site_file2=$ac_default_prefix/etc/config.site
1579 fi
1580 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1581 do
1582 test "x$ac_site_file" = xNONE && continue
1583 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1584 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1585 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1586 sed 's/^/| /' "$ac_site_file" >&5
1587 . "$ac_site_file" \
1588 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1589 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1590 as_fn_error $? "failed to load site script $ac_site_file
1591 See \`config.log' for more details" "$LINENO" 5; }
1592 fi
1593 done
1594
1595 if test -r "$cache_file"; then
1596 # Some versions of bash will fail to source /dev/null (special files
1597 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1598 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1599 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1600 $as_echo "$as_me: loading cache $cache_file" >&6;}
1601 case $cache_file in
1602 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1603 *) . "./$cache_file";;
1604 esac
1605 fi
1606 else
1607 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1608 $as_echo "$as_me: creating cache $cache_file" >&6;}
1609 >$cache_file
1610 fi
1611
1612 # Check that the precious variables saved in the cache have kept the same
1613 # value.
1614 ac_cache_corrupted=false
1615 for ac_var in $ac_precious_vars; do
1616 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1617 eval ac_new_set=\$ac_env_${ac_var}_set
1618 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1619 eval ac_new_val=\$ac_env_${ac_var}_value
1620 case $ac_old_set,$ac_new_set in
1621 set,)
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1623 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1624 ac_cache_corrupted=: ;;
1625 ,set)
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1627 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1628 ac_cache_corrupted=: ;;
1629 ,);;
1630 *)
1631 if test "x$ac_old_val" != "x$ac_new_val"; then
1632 # differences in whitespace do not lead to failure.
1633 ac_old_val_w=`echo x $ac_old_val`
1634 ac_new_val_w=`echo x $ac_new_val`
1635 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1637 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1638 ac_cache_corrupted=:
1639 else
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1641 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1642 eval $ac_var=\$ac_old_val
1643 fi
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1645 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1647 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1648 fi;;
1649 esac
1650 # Pass precious variables to config.status.
1651 if test "$ac_new_set" = set; then
1652 case $ac_new_val in
1653 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1654 *) ac_arg=$ac_var=$ac_new_val ;;
1655 esac
1656 case " $ac_configure_args " in
1657 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1658 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1659 esac
1660 fi
1661 done
1662 if $ac_cache_corrupted; then
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1666 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1667 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1668 fi
1669 ## -------------------- ##
1670 ## Main body of script. ##
1671 ## -------------------- ##
1672
1673 ac_ext=c
1674 ac_cpp='$CPP $CPPFLAGS'
1675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1678
1679
1680
1681
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim hardware settings" >&5
1683 $as_echo_n "checking for sim hardware settings... " >&6; }
1684 # Check whether --enable-sim-hardware was given.
1685 if test "${enable_sim_hardware+set}" = set; then :
1686 enableval=$enable_sim_hardware;
1687 else
1688 enable_sim_hardware="yes"
1689 fi
1690
1691 sim_hw_sockser=
1692 if test "$enable_sim_hardware" = no; then
1693 sim_hw_cflags="-DWITH_HW=0"
1694 elif test "$enable_sim_hardware" = yes; then
1695 sim_hw_cflags="-DWITH_HW=1"
1696 # mingw does not support sockser
1697 case ${host} in
1698 *mingw*) ;;
1699 *) # TODO: We don't add dv-sockser to sim_hw as it is not a "real" device
1700 # that you instatiate. Instead, other code will call into it directly.
1701 # At some point, we should convert it over.
1702 sim_hw_sockser="dv-sockser.o"
1703 sim_hw_cflags="$sim_hw_cflags -DHAVE_DV_SOCKSER"
1704 ;;
1705 esac
1706 else
1707 as_fn_error $? "unknown argument \"$enable_sim_hardware\"" "$LINENO" 5
1708 fi
1709 if test "$enable_sim_hardware" = "yes"; then
1710 SIM_ENABLE_HW_TRUE=
1711 SIM_ENABLE_HW_FALSE='#'
1712 else
1713 SIM_ENABLE_HW_TRUE='#'
1714 SIM_ENABLE_HW_FALSE=
1715 fi
1716
1717
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_sim_hardware}" >&5
1719 $as_echo "${enable_sim_hardware}" >&6; }
1720
1721
1722
1723
1724 cgen_breaks=""
1725 if grep CGEN_MAINT $srcdir/Makefile.in >/dev/null; then
1726 cgen_breaks="break cgen_rtx_error";
1727 fi
1728
1729 ac_config_files="$ac_config_files Makefile.sim:Makefile.in"
1730
1731 ac_config_files="$ac_config_files Make-common.sim:../common/Make-common.in"
1732
1733 ac_config_files="$ac_config_files .gdbinit:../common/gdbinit.in"
1734
1735 ac_config_commands="$ac_config_commands Makefile"
1736
1737 ac_config_commands="$ac_config_commands stamp-h"
1738
1739
1740
1741
1742
1743
1744
1745
1746 cat >confcache <<\_ACEOF
1747 # This file is a shell script that caches the results of configure
1748 # tests run on this system so they can be shared between configure
1749 # scripts and configure runs, see configure's option --config-cache.
1750 # It is not useful on other systems. If it contains results you don't
1751 # want to keep, you may remove or edit it.
1752 #
1753 # config.status only pays attention to the cache file if you give it
1754 # the --recheck option to rerun configure.
1755 #
1756 # `ac_cv_env_foo' variables (set or unset) will be overridden when
1757 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1758 # following values.
1759
1760 _ACEOF
1761
1762 # The following way of writing the cache mishandles newlines in values,
1763 # but we know of no workaround that is simple, portable, and efficient.
1764 # So, we kill variables containing newlines.
1765 # Ultrix sh set writes to stderr and can't be redirected directly,
1766 # and sets the high bit in the cache file unless we assign to the vars.
1767 (
1768 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1769 eval ac_val=\$$ac_var
1770 case $ac_val in #(
1771 *${as_nl}*)
1772 case $ac_var in #(
1773 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1774 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1775 esac
1776 case $ac_var in #(
1777 _ | IFS | as_nl) ;; #(
1778 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1779 *) { eval $ac_var=; unset $ac_var;} ;;
1780 esac ;;
1781 esac
1782 done
1783
1784 (set) 2>&1 |
1785 case $as_nl`(ac_space=' '; set) 2>&1` in #(
1786 *${as_nl}ac_space=\ *)
1787 # `set' does not quote correctly, so add quotes: double-quote
1788 # substitution turns \\\\ into \\, and sed turns \\ into \.
1789 sed -n \
1790 "s/'/'\\\\''/g;
1791 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1792 ;; #(
1793 *)
1794 # `set' quotes correctly as required by POSIX, so do not add quotes.
1795 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1796 ;;
1797 esac |
1798 sort
1799 ) |
1800 sed '
1801 /^ac_cv_env_/b end
1802 t clear
1803 :clear
1804 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1805 t end
1806 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1807 :end' >>confcache
1808 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1809 if test -w "$cache_file"; then
1810 if test "x$cache_file" != "x/dev/null"; then
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
1812 $as_echo "$as_me: updating cache $cache_file" >&6;}
1813 if test ! -f "$cache_file" || test -h "$cache_file"; then
1814 cat confcache >"$cache_file"
1815 else
1816 case $cache_file in #(
1817 */* | ?:*)
1818 mv -f confcache "$cache_file"$$ &&
1819 mv -f "$cache_file"$$ "$cache_file" ;; #(
1820 *)
1821 mv -f confcache "$cache_file" ;;
1822 esac
1823 fi
1824 fi
1825 else
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
1827 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1828 fi
1829 fi
1830 rm -f confcache
1831
1832 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1833 # Let make expand exec_prefix.
1834 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1835
1836 # Transform confdefs.h into DEFS.
1837 # Protect against shell expansion while executing Makefile rules.
1838 # Protect against Makefile macro expansion.
1839 #
1840 # If the first sed substitution is executed (which looks for macros that
1841 # take arguments), then branch to the quote section. Otherwise,
1842 # look for a macro that doesn't take arguments.
1843 ac_script='
1844 :mline
1845 /\\$/{
1846 N
1847 s,\\\n,,
1848 b mline
1849 }
1850 t clear
1851 :clear
1852 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
1853 t quote
1854 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
1855 t quote
1856 b any
1857 :quote
1858 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
1859 s/\[/\\&/g
1860 s/\]/\\&/g
1861 s/\$/$$/g
1862 H
1863 :any
1864 ${
1865 g
1866 s/^\n//
1867 s/\n/ /g
1868 p
1869 }
1870 '
1871 DEFS=`sed -n "$ac_script" confdefs.h`
1872
1873
1874 ac_libobjs=
1875 ac_ltlibobjs=
1876 U=
1877 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1878 # 1. Remove the extension, and $U if already installed.
1879 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1880 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
1881 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
1882 # will be set to the directory where LIBOBJS objects are built.
1883 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
1884 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1885 done
1886 LIBOBJS=$ac_libobjs
1887
1888 LTLIBOBJS=$ac_ltlibobjs
1889
1890
1891
1892 : "${CONFIG_STATUS=./config.status}"
1893 ac_write_fail=0
1894 ac_clean_files_save=$ac_clean_files
1895 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
1897 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
1898 as_write_fail=0
1899 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1900 #! $SHELL
1901 # Generated by $as_me.
1902 # Run this file to recreate the current configuration.
1903 # Compiler output produced by configure, useful for debugging
1904 # configure, is in config.log if it exists.
1905
1906 debug=false
1907 ac_cs_recheck=false
1908 ac_cs_silent=false
1909
1910 SHELL=\${CONFIG_SHELL-$SHELL}
1911 export SHELL
1912 _ASEOF
1913 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
1914 ## -------------------- ##
1915 ## M4sh Initialization. ##
1916 ## -------------------- ##
1917
1918 # Be more Bourne compatible
1919 DUALCASE=1; export DUALCASE # for MKS sh
1920 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1921 emulate sh
1922 NULLCMD=:
1923 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1924 # is contrary to our usage. Disable this feature.
1925 alias -g '${1+"$@"}'='"$@"'
1926 setopt NO_GLOB_SUBST
1927 else
1928 case `(set -o) 2>/dev/null` in #(
1929 *posix*) :
1930 set -o posix ;; #(
1931 *) :
1932 ;;
1933 esac
1934 fi
1935
1936
1937 as_nl='
1938 '
1939 export as_nl
1940 # Printing a long string crashes Solaris 7 /usr/bin/printf.
1941 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
1942 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
1943 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
1944 # Prefer a ksh shell builtin over an external printf program on Solaris,
1945 # but without wasting forks for bash or zsh.
1946 if test -z "$BASH_VERSION$ZSH_VERSION" \
1947 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
1948 as_echo='print -r --'
1949 as_echo_n='print -rn --'
1950 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
1951 as_echo='printf %s\n'
1952 as_echo_n='printf %s'
1953 else
1954 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
1955 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
1956 as_echo_n='/usr/ucb/echo -n'
1957 else
1958 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
1959 as_echo_n_body='eval
1960 arg=$1;
1961 case $arg in #(
1962 *"$as_nl"*)
1963 expr "X$arg" : "X\\(.*\\)$as_nl";
1964 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
1965 esac;
1966 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
1967 '
1968 export as_echo_n_body
1969 as_echo_n='sh -c $as_echo_n_body as_echo'
1970 fi
1971 export as_echo_body
1972 as_echo='sh -c $as_echo_body as_echo'
1973 fi
1974
1975 # The user is always right.
1976 if test "${PATH_SEPARATOR+set}" != set; then
1977 PATH_SEPARATOR=:
1978 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
1979 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
1980 PATH_SEPARATOR=';'
1981 }
1982 fi
1983
1984
1985 # IFS
1986 # We need space, tab and new line, in precisely that order. Quoting is
1987 # there to prevent editors from complaining about space-tab.
1988 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
1989 # splitting by setting IFS to empty value.)
1990 IFS=" "" $as_nl"
1991
1992 # Find who we are. Look in the path if we contain no directory separator.
1993 as_myself=
1994 case $0 in #((
1995 *[\\/]* ) as_myself=$0 ;;
1996 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1997 for as_dir in $PATH
1998 do
1999 IFS=$as_save_IFS
2000 test -z "$as_dir" && as_dir=.
2001 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2002 done
2003 IFS=$as_save_IFS
2004
2005 ;;
2006 esac
2007 # We did not find ourselves, most probably we were run as `sh COMMAND'
2008 # in which case we are not to be found in the path.
2009 if test "x$as_myself" = x; then
2010 as_myself=$0
2011 fi
2012 if test ! -f "$as_myself"; then
2013 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2014 exit 1
2015 fi
2016
2017 # Unset variables that we do not need and which cause bugs (e.g. in
2018 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2019 # suppresses any "Segmentation fault" message there. '((' could
2020 # trigger a bug in pdksh 5.2.14.
2021 for as_var in BASH_ENV ENV MAIL MAILPATH
2022 do eval test x\${$as_var+set} = xset \
2023 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2024 done
2025 PS1='$ '
2026 PS2='> '
2027 PS4='+ '
2028
2029 # NLS nuisances.
2030 LC_ALL=C
2031 export LC_ALL
2032 LANGUAGE=C
2033 export LANGUAGE
2034
2035 # CDPATH.
2036 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2037
2038
2039 # as_fn_error STATUS ERROR [LINENO LOG_FD]
2040 # ----------------------------------------
2041 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2042 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2043 # script with STATUS, using 1 if that was 0.
2044 as_fn_error ()
2045 {
2046 as_status=$1; test $as_status -eq 0 && as_status=1
2047 if test "$4"; then
2048 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2049 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2050 fi
2051 $as_echo "$as_me: error: $2" >&2
2052 as_fn_exit $as_status
2053 } # as_fn_error
2054
2055
2056 # as_fn_set_status STATUS
2057 # -----------------------
2058 # Set $? to STATUS, without forking.
2059 as_fn_set_status ()
2060 {
2061 return $1
2062 } # as_fn_set_status
2063
2064 # as_fn_exit STATUS
2065 # -----------------
2066 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2067 as_fn_exit ()
2068 {
2069 set +e
2070 as_fn_set_status $1
2071 exit $1
2072 } # as_fn_exit
2073
2074 # as_fn_unset VAR
2075 # ---------------
2076 # Portably unset VAR.
2077 as_fn_unset ()
2078 {
2079 { eval $1=; unset $1;}
2080 }
2081 as_unset=as_fn_unset
2082 # as_fn_append VAR VALUE
2083 # ----------------------
2084 # Append the text in VALUE to the end of the definition contained in VAR. Take
2085 # advantage of any shell optimizations that allow amortized linear growth over
2086 # repeated appends, instead of the typical quadratic growth present in naive
2087 # implementations.
2088 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2089 eval 'as_fn_append ()
2090 {
2091 eval $1+=\$2
2092 }'
2093 else
2094 as_fn_append ()
2095 {
2096 eval $1=\$$1\$2
2097 }
2098 fi # as_fn_append
2099
2100 # as_fn_arith ARG...
2101 # ------------------
2102 # Perform arithmetic evaluation on the ARGs, and store the result in the
2103 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2104 # must be portable across $(()) and expr.
2105 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2106 eval 'as_fn_arith ()
2107 {
2108 as_val=$(( $* ))
2109 }'
2110 else
2111 as_fn_arith ()
2112 {
2113 as_val=`expr "$@" || test $? -eq 1`
2114 }
2115 fi # as_fn_arith
2116
2117
2118 if expr a : '\(a\)' >/dev/null 2>&1 &&
2119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2120 as_expr=expr
2121 else
2122 as_expr=false
2123 fi
2124
2125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2126 as_basename=basename
2127 else
2128 as_basename=false
2129 fi
2130
2131 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2132 as_dirname=dirname
2133 else
2134 as_dirname=false
2135 fi
2136
2137 as_me=`$as_basename -- "$0" ||
2138 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2139 X"$0" : 'X\(//\)$' \| \
2140 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2141 $as_echo X/"$0" |
2142 sed '/^.*\/\([^/][^/]*\)\/*$/{
2143 s//\1/
2144 q
2145 }
2146 /^X\/\(\/\/\)$/{
2147 s//\1/
2148 q
2149 }
2150 /^X\/\(\/\).*/{
2151 s//\1/
2152 q
2153 }
2154 s/.*/./; q'`
2155
2156 # Avoid depending upon Character Ranges.
2157 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2158 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2159 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2160 as_cr_digits='0123456789'
2161 as_cr_alnum=$as_cr_Letters$as_cr_digits
2162
2163 ECHO_C= ECHO_N= ECHO_T=
2164 case `echo -n x` in #(((((
2165 -n*)
2166 case `echo 'xy\c'` in
2167 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2168 xy) ECHO_C='\c';;
2169 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2170 ECHO_T=' ';;
2171 esac;;
2172 *)
2173 ECHO_N='-n';;
2174 esac
2175
2176 rm -f conf$$ conf$$.exe conf$$.file
2177 if test -d conf$$.dir; then
2178 rm -f conf$$.dir/conf$$.file
2179 else
2180 rm -f conf$$.dir
2181 mkdir conf$$.dir 2>/dev/null
2182 fi
2183 if (echo >conf$$.file) 2>/dev/null; then
2184 if ln -s conf$$.file conf$$ 2>/dev/null; then
2185 as_ln_s='ln -s'
2186 # ... but there are two gotchas:
2187 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2188 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2189 # In both cases, we have to default to `cp -pR'.
2190 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2191 as_ln_s='cp -pR'
2192 elif ln conf$$.file conf$$ 2>/dev/null; then
2193 as_ln_s=ln
2194 else
2195 as_ln_s='cp -pR'
2196 fi
2197 else
2198 as_ln_s='cp -pR'
2199 fi
2200 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2201 rmdir conf$$.dir 2>/dev/null
2202
2203
2204 # as_fn_mkdir_p
2205 # -------------
2206 # Create "$as_dir" as a directory, including parents if necessary.
2207 as_fn_mkdir_p ()
2208 {
2209
2210 case $as_dir in #(
2211 -*) as_dir=./$as_dir;;
2212 esac
2213 test -d "$as_dir" || eval $as_mkdir_p || {
2214 as_dirs=
2215 while :; do
2216 case $as_dir in #(
2217 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2218 *) as_qdir=$as_dir;;
2219 esac
2220 as_dirs="'$as_qdir' $as_dirs"
2221 as_dir=`$as_dirname -- "$as_dir" ||
2222 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2223 X"$as_dir" : 'X\(//\)[^/]' \| \
2224 X"$as_dir" : 'X\(//\)$' \| \
2225 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2226 $as_echo X"$as_dir" |
2227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2228 s//\1/
2229 q
2230 }
2231 /^X\(\/\/\)[^/].*/{
2232 s//\1/
2233 q
2234 }
2235 /^X\(\/\/\)$/{
2236 s//\1/
2237 q
2238 }
2239 /^X\(\/\).*/{
2240 s//\1/
2241 q
2242 }
2243 s/.*/./; q'`
2244 test -d "$as_dir" && break
2245 done
2246 test -z "$as_dirs" || eval "mkdir $as_dirs"
2247 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2248
2249
2250 } # as_fn_mkdir_p
2251 if mkdir -p . 2>/dev/null; then
2252 as_mkdir_p='mkdir -p "$as_dir"'
2253 else
2254 test -d ./-p && rmdir ./-p
2255 as_mkdir_p=false
2256 fi
2257
2258
2259 # as_fn_executable_p FILE
2260 # -----------------------
2261 # Test if FILE is an executable regular file.
2262 as_fn_executable_p ()
2263 {
2264 test -f "$1" && test -x "$1"
2265 } # as_fn_executable_p
2266 as_test_x='test -x'
2267 as_executable_p=as_fn_executable_p
2268
2269 # Sed expression to map a string onto a valid CPP name.
2270 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2271
2272 # Sed expression to map a string onto a valid variable name.
2273 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2274
2275
2276 exec 6>&1
2277 ## ----------------------------------- ##
2278 ## Main body of $CONFIG_STATUS script. ##
2279 ## ----------------------------------- ##
2280 _ASEOF
2281 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2282
2283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2284 # Save the log message, to keep $0 and so on meaningful, and to
2285 # report actual input values of CONFIG_FILES etc. instead of their
2286 # values after options handling.
2287 ac_log="
2288 This file was extended by $as_me, which was
2289 generated by GNU Autoconf 2.69. Invocation command line was
2290
2291 CONFIG_FILES = $CONFIG_FILES
2292 CONFIG_HEADERS = $CONFIG_HEADERS
2293 CONFIG_LINKS = $CONFIG_LINKS
2294 CONFIG_COMMANDS = $CONFIG_COMMANDS
2295 $ $0 $@
2296
2297 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2298 "
2299
2300 _ACEOF
2301
2302 case $ac_config_files in *"
2303 "*) set x $ac_config_files; shift; ac_config_files=$*;;
2304 esac
2305
2306
2307
2308 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2309 # Files that config.status was made for.
2310 config_files="$ac_config_files"
2311 config_commands="$ac_config_commands"
2312
2313 _ACEOF
2314
2315 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2316 ac_cs_usage="\
2317 \`$as_me' instantiates files and other configuration actions
2318 from templates according to the current configuration. Unless the files
2319 and actions are specified as TAGs, all are instantiated by default.
2320
2321 Usage: $0 [OPTION]... [TAG]...
2322
2323 -h, --help print this help, then exit
2324 -V, --version print version number and configuration settings, then exit
2325 --config print configuration, then exit
2326 -q, --quiet, --silent
2327 do not print progress messages
2328 -d, --debug don't remove temporary files
2329 --recheck update $as_me by reconfiguring in the same conditions
2330 --file=FILE[:TEMPLATE]
2331 instantiate the configuration file FILE
2332
2333 Configuration files:
2334 $config_files
2335
2336 Configuration commands:
2337 $config_commands
2338
2339 Report bugs to the package provider."
2340
2341 _ACEOF
2342 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2343 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2344 ac_cs_version="\\
2345 config.status
2346 configured by $0, generated by GNU Autoconf 2.69,
2347 with options \\"\$ac_cs_config\\"
2348
2349 Copyright (C) 2012 Free Software Foundation, Inc.
2350 This config.status script is free software; the Free Software Foundation
2351 gives unlimited permission to copy, distribute and modify it."
2352
2353 ac_pwd='$ac_pwd'
2354 srcdir='$srcdir'
2355 test -n "\$AWK" || AWK=awk
2356 _ACEOF
2357
2358 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2359 # The default lists apply if the user does not specify any file.
2360 ac_need_defaults=:
2361 while test $# != 0
2362 do
2363 case $1 in
2364 --*=?*)
2365 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2366 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2367 ac_shift=:
2368 ;;
2369 --*=)
2370 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2371 ac_optarg=
2372 ac_shift=:
2373 ;;
2374 *)
2375 ac_option=$1
2376 ac_optarg=$2
2377 ac_shift=shift
2378 ;;
2379 esac
2380
2381 case $ac_option in
2382 # Handling of the options.
2383 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2384 ac_cs_recheck=: ;;
2385 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2386 $as_echo "$ac_cs_version"; exit ;;
2387 --config | --confi | --conf | --con | --co | --c )
2388 $as_echo "$ac_cs_config"; exit ;;
2389 --debug | --debu | --deb | --de | --d | -d )
2390 debug=: ;;
2391 --file | --fil | --fi | --f )
2392 $ac_shift
2393 case $ac_optarg in
2394 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2395 '') as_fn_error $? "missing file argument" ;;
2396 esac
2397 as_fn_append CONFIG_FILES " '$ac_optarg'"
2398 ac_need_defaults=false;;
2399 --he | --h | --help | --hel | -h )
2400 $as_echo "$ac_cs_usage"; exit ;;
2401 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2402 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2403 ac_cs_silent=: ;;
2404
2405 # This is an error.
2406 -*) as_fn_error $? "unrecognized option: \`$1'
2407 Try \`$0 --help' for more information." ;;
2408
2409 *) as_fn_append ac_config_targets " $1"
2410 ac_need_defaults=false ;;
2411
2412 esac
2413 shift
2414 done
2415
2416 ac_configure_extra_args=
2417
2418 if $ac_cs_silent; then
2419 exec 6>/dev/null
2420 ac_configure_extra_args="$ac_configure_extra_args --silent"
2421 fi
2422
2423 _ACEOF
2424 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2425 if \$ac_cs_recheck; then
2426 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2427 shift
2428 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2429 CONFIG_SHELL='$SHELL'
2430 export CONFIG_SHELL
2431 exec "\$@"
2432 fi
2433
2434 _ACEOF
2435 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2436 exec 5>>config.log
2437 {
2438 echo
2439 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2440 ## Running $as_me. ##
2441 _ASBOX
2442 $as_echo "$ac_log"
2443 } >&5
2444
2445 _ACEOF
2446 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2447 _ACEOF
2448
2449 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2450
2451 # Handling of arguments.
2452 for ac_config_target in $ac_config_targets
2453 do
2454 case $ac_config_target in
2455 "Makefile.sim") CONFIG_FILES="$CONFIG_FILES Makefile.sim:Makefile.in" ;;
2456 "Make-common.sim") CONFIG_FILES="$CONFIG_FILES Make-common.sim:../common/Make-common.in" ;;
2457 ".gdbinit") CONFIG_FILES="$CONFIG_FILES .gdbinit:../common/gdbinit.in" ;;
2458 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
2459 "stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS stamp-h" ;;
2460
2461 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
2462 esac
2463 done
2464
2465
2466 # If the user did not use the arguments to specify the items to instantiate,
2467 # then the envvar interface is used. Set only those that are not.
2468 # We use the long form for the default assignment because of an extremely
2469 # bizarre bug on SunOS 4.1.3.
2470 if $ac_need_defaults; then
2471 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2472 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
2473 fi
2474
2475 # Have a temporary directory for convenience. Make it in the build tree
2476 # simply because there is no reason against having it here, and in addition,
2477 # creating and moving files from /tmp can sometimes cause problems.
2478 # Hook for its removal unless debugging.
2479 # Note that there is a small window in which the directory will not be cleaned:
2480 # after its creation but before its name has been assigned to `$tmp'.
2481 $debug ||
2482 {
2483 tmp= ac_tmp=
2484 trap 'exit_status=$?
2485 : "${ac_tmp:=$tmp}"
2486 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
2487 ' 0
2488 trap 'as_fn_exit 1' 1 2 13 15
2489 }
2490 # Create a (secure) tmp directory for tmp files.
2491
2492 {
2493 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2494 test -d "$tmp"
2495 } ||
2496 {
2497 tmp=./conf$$-$RANDOM
2498 (umask 077 && mkdir "$tmp")
2499 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
2500 ac_tmp=$tmp
2501
2502 # Set up the scripts for CONFIG_FILES section.
2503 # No need to generate them if there are no CONFIG_FILES.
2504 # This happens for instance with `./config.status config.h'.
2505 if test -n "$CONFIG_FILES"; then
2506
2507
2508 ac_cr=`echo X | tr X '\015'`
2509 # On cygwin, bash can eat \r inside `` if the user requested igncr.
2510 # But we know of no other shell where ac_cr would be empty at this
2511 # point, so we can use a bashism as a fallback.
2512 if test "x$ac_cr" = x; then
2513 eval ac_cr=\$\'\\r\'
2514 fi
2515 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
2516 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
2517 ac_cs_awk_cr='\\r'
2518 else
2519 ac_cs_awk_cr=$ac_cr
2520 fi
2521
2522 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
2523 _ACEOF
2524
2525
2526 {
2527 echo "cat >conf$$subs.awk <<_ACEOF" &&
2528 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
2529 echo "_ACEOF"
2530 } >conf$$subs.sh ||
2531 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2532 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
2533 ac_delim='%!_!# '
2534 for ac_last_try in false false false false false :; do
2535 . ./conf$$subs.sh ||
2536 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2537
2538 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
2539 if test $ac_delim_n = $ac_delim_num; then
2540 break
2541 elif $ac_last_try; then
2542 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2543 else
2544 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2545 fi
2546 done
2547 rm -f conf$$subs.sh
2548
2549 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2550 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
2551 _ACEOF
2552 sed -n '
2553 h
2554 s/^/S["/; s/!.*/"]=/
2555 p
2556 g
2557 s/^[^!]*!//
2558 :repl
2559 t repl
2560 s/'"$ac_delim"'$//
2561 t delim
2562 :nl
2563 h
2564 s/\(.\{148\}\)..*/\1/
2565 t more1
2566 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
2567 p
2568 n
2569 b repl
2570 :more1
2571 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2572 p
2573 g
2574 s/.\{148\}//
2575 t nl
2576 :delim
2577 h
2578 s/\(.\{148\}\)..*/\1/
2579 t more2
2580 s/["\\]/\\&/g; s/^/"/; s/$/"/
2581 p
2582 b
2583 :more2
2584 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2585 p
2586 g
2587 s/.\{148\}//
2588 t delim
2589 ' <conf$$subs.awk | sed '
2590 /^[^""]/{
2591 N
2592 s/\n//
2593 }
2594 ' >>$CONFIG_STATUS || ac_write_fail=1
2595 rm -f conf$$subs.awk
2596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2597 _ACAWK
2598 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
2599 for (key in S) S_is_set[key] = 1
2600 FS = "\a"
2601
2602 }
2603 {
2604 line = $ 0
2605 nfields = split(line, field, "@")
2606 substed = 0
2607 len = length(field[1])
2608 for (i = 2; i < nfields; i++) {
2609 key = field[i]
2610 keylen = length(key)
2611 if (S_is_set[key]) {
2612 value = S[key]
2613 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
2614 len += length(value) + length(field[++i])
2615 substed = 1
2616 } else
2617 len += 1 + keylen
2618 }
2619
2620 print line
2621 }
2622
2623 _ACAWK
2624 _ACEOF
2625 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2626 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
2627 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
2628 else
2629 cat
2630 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
2631 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
2632 _ACEOF
2633
2634 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
2635 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
2636 # trailing colons and then remove the whole line if VPATH becomes empty
2637 # (actually we leave an empty line to preserve line numbers).
2638 if test "x$srcdir" = x.; then
2639 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
2640 h
2641 s///
2642 s/^/:/
2643 s/[ ]*$/:/
2644 s/:\$(srcdir):/:/g
2645 s/:\${srcdir}:/:/g
2646 s/:@srcdir@:/:/g
2647 s/^:*//
2648 s/:*$//
2649 x
2650 s/\(=[ ]*\).*/\1/
2651 G
2652 s/\n//
2653 s/^[^=]*=[ ]*$//
2654 }'
2655 fi
2656
2657 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2658 fi # test -n "$CONFIG_FILES"
2659
2660
2661 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
2662 shift
2663 for ac_tag
2664 do
2665 case $ac_tag in
2666 :[FHLC]) ac_mode=$ac_tag; continue;;
2667 esac
2668 case $ac_mode$ac_tag in
2669 :[FHL]*:*);;
2670 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
2671 :[FH]-) ac_tag=-:-;;
2672 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2673 esac
2674 ac_save_IFS=$IFS
2675 IFS=:
2676 set x $ac_tag
2677 IFS=$ac_save_IFS
2678 shift
2679 ac_file=$1
2680 shift
2681
2682 case $ac_mode in
2683 :L) ac_source=$1;;
2684 :[FH])
2685 ac_file_inputs=
2686 for ac_f
2687 do
2688 case $ac_f in
2689 -) ac_f="$ac_tmp/stdin";;
2690 *) # Look for the file first in the build tree, then in the source tree
2691 # (if the path is not absolute). The absolute path cannot be DOS-style,
2692 # because $ac_f cannot contain `:'.
2693 test -f "$ac_f" ||
2694 case $ac_f in
2695 [\\/$]*) false;;
2696 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2697 esac ||
2698 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
2699 esac
2700 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
2701 as_fn_append ac_file_inputs " '$ac_f'"
2702 done
2703
2704 # Let's still pretend it is `configure' which instantiates (i.e., don't
2705 # use $as_me), people would be surprised to read:
2706 # /* config.h. Generated by config.status. */
2707 configure_input='Generated from '`
2708 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
2709 `' by configure.'
2710 if test x"$ac_file" != x-; then
2711 configure_input="$ac_file. $configure_input"
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
2713 $as_echo "$as_me: creating $ac_file" >&6;}
2714 fi
2715 # Neutralize special characters interpreted by sed in replacement strings.
2716 case $configure_input in #(
2717 *\&* | *\|* | *\\* )
2718 ac_sed_conf_input=`$as_echo "$configure_input" |
2719 sed 's/[\\\\&|]/\\\\&/g'`;; #(
2720 *) ac_sed_conf_input=$configure_input;;
2721 esac
2722
2723 case $ac_tag in
2724 *:-:* | *:-) cat >"$ac_tmp/stdin" \
2725 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
2726 esac
2727 ;;
2728 esac
2729
2730 ac_dir=`$as_dirname -- "$ac_file" ||
2731 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2732 X"$ac_file" : 'X\(//\)[^/]' \| \
2733 X"$ac_file" : 'X\(//\)$' \| \
2734 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2735 $as_echo X"$ac_file" |
2736 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2737 s//\1/
2738 q
2739 }
2740 /^X\(\/\/\)[^/].*/{
2741 s//\1/
2742 q
2743 }
2744 /^X\(\/\/\)$/{
2745 s//\1/
2746 q
2747 }
2748 /^X\(\/\).*/{
2749 s//\1/
2750 q
2751 }
2752 s/.*/./; q'`
2753 as_dir="$ac_dir"; as_fn_mkdir_p
2754 ac_builddir=.
2755
2756 case "$ac_dir" in
2757 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2758 *)
2759 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2760 # A ".." for each directory in $ac_dir_suffix.
2761 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2762 case $ac_top_builddir_sub in
2763 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2764 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2765 esac ;;
2766 esac
2767 ac_abs_top_builddir=$ac_pwd
2768 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2769 # for backward compatibility:
2770 ac_top_builddir=$ac_top_build_prefix
2771
2772 case $srcdir in
2773 .) # We are building in place.
2774 ac_srcdir=.
2775 ac_top_srcdir=$ac_top_builddir_sub
2776 ac_abs_top_srcdir=$ac_pwd ;;
2777 [\\/]* | ?:[\\/]* ) # Absolute name.
2778 ac_srcdir=$srcdir$ac_dir_suffix;
2779 ac_top_srcdir=$srcdir
2780 ac_abs_top_srcdir=$srcdir ;;
2781 *) # Relative name.
2782 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2783 ac_top_srcdir=$ac_top_build_prefix$srcdir
2784 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2785 esac
2786 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2787
2788
2789 case $ac_mode in
2790 :F)
2791 #
2792 # CONFIG_FILE
2793 #
2794
2795 _ACEOF
2796
2797 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2798 # If the template does not know about datarootdir, expand it.
2799 # FIXME: This hack should be removed a few years after 2.60.
2800 ac_datarootdir_hack=; ac_datarootdir_seen=
2801 ac_sed_dataroot='
2802 /datarootdir/ {
2803 p
2804 q
2805 }
2806 /@datadir@/p
2807 /@docdir@/p
2808 /@infodir@/p
2809 /@localedir@/p
2810 /@mandir@/p'
2811 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
2812 *datarootdir*) ac_datarootdir_seen=yes;;
2813 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2815 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2816 _ACEOF
2817 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2818 ac_datarootdir_hack='
2819 s&@datadir@&$datadir&g
2820 s&@docdir@&$docdir&g
2821 s&@infodir@&$infodir&g
2822 s&@localedir@&$localedir&g
2823 s&@mandir@&$mandir&g
2824 s&\\\${datarootdir}&$datarootdir&g' ;;
2825 esac
2826 _ACEOF
2827
2828 # Neutralize VPATH when `$srcdir' = `.'.
2829 # Shell code in configure.ac might set extrasub.
2830 # FIXME: do we really want to maintain this feature?
2831 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2832 ac_sed_extra="$ac_vpsub
2833 $extrasub
2834 _ACEOF
2835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2836 :t
2837 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2838 s|@configure_input@|$ac_sed_conf_input|;t t
2839 s&@top_builddir@&$ac_top_builddir_sub&;t t
2840 s&@top_build_prefix@&$ac_top_build_prefix&;t t
2841 s&@srcdir@&$ac_srcdir&;t t
2842 s&@abs_srcdir@&$ac_abs_srcdir&;t t
2843 s&@top_srcdir@&$ac_top_srcdir&;t t
2844 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
2845 s&@builddir@&$ac_builddir&;t t
2846 s&@abs_builddir@&$ac_abs_builddir&;t t
2847 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
2848 $ac_datarootdir_hack
2849 "
2850 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
2851 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
2852
2853 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
2854 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
2855 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
2856 "$ac_tmp/out"`; test -z "$ac_out"; } &&
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2858 which seems to be undefined. Please make sure it is defined" >&5
2859 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2860 which seems to be undefined. Please make sure it is defined" >&2;}
2861
2862 rm -f "$ac_tmp/stdin"
2863 case $ac_file in
2864 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
2865 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
2866 esac \
2867 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
2868 ;;
2869
2870
2871 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
2872 $as_echo "$as_me: executing $ac_file commands" >&6;}
2873 ;;
2874 esac
2875
2876
2877 case $ac_file$ac_mode in
2878 "Makefile":C) echo "Merging Makefile.sim+Make-common.sim into Makefile ..."
2879 rm -f Makesim1.tmp Makesim2.tmp Makefile
2880 sed -n -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ p' <Make-common.sim >Makesim1.tmp
2881 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim >Makesim2.tmp
2882 sed -e '/^## COMMON_PRE_/ r Makesim1.tmp' \
2883 -e '/^## COMMON_POST_/ r Makesim2.tmp' \
2884 <Makefile.sim >Makefile
2885 rm -f Makefile.sim Make-common.sim Makesim1.tmp Makesim2.tmp
2886 ;;
2887 "stamp-h":C) echo > stamp-h ;;
2888
2889 esac
2890 done # for ac_tag
2891
2892
2893 as_fn_exit 0
2894 _ACEOF
2895 ac_clean_files=$ac_clean_files_save
2896
2897 test $ac_write_fail = 0 ||
2898 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
2899
2900
2901 # configure is writing to config.log, and then calls config.status.
2902 # config.status does its own redirection, appending to config.log.
2903 # Unfortunately, on DOS this fails, as config.log is still kept open
2904 # by configure, so config.status won't be able to write to it; its
2905 # output is simply discarded. So we exec the FD to /dev/null,
2906 # effectively closing config.log, so it can be properly (re)opened and
2907 # appended to by config.status. When coming back to configure, we
2908 # need to make the FD available again.
2909 if test "$no_create" != yes; then
2910 ac_cs_success=:
2911 ac_config_status_args=
2912 test "$silent" = yes &&
2913 ac_config_status_args="$ac_config_status_args --quiet"
2914 exec 5>/dev/null
2915 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2916 exec 5>>config.log
2917 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2918 # would make configure fail if this is the last instruction.
2919 $ac_cs_success || as_fn_exit 1
2920 fi
2921 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
2923 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
2924 fi
2925
2926