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