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