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