24e57ff3bd6d331c182cbf7c676a9b57a15fa73a
[binutils-gdb.git] / sim / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for sim 0.
4 #
5 # Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
90
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159 fi
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
175 ;;
176 esac
177 fi
178 "
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193 exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
206 fi
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 do
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
218 /*)
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
227 fi
228 fi
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
238
239
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
260 fi
261
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim
271 $0: about your system, including any error possibly output
272 $0: before this message. Then install a modern shell, or
273 $0: manually run the script under such a shell if you do
274 $0: have one."
275 fi
276 exit 1
277 fi
278 fi
279 fi
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
285
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unset ()
293 {
294 { eval $1=; unset $1;}
295 }
296 as_unset=as_fn_unset
297
298 # as_fn_set_status STATUS
299 # -----------------------
300 # Set $? to STATUS, without forking.
301 as_fn_set_status ()
302 {
303 return $1
304 } # as_fn_set_status
305
306 # as_fn_exit STATUS
307 # -----------------
308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
309 as_fn_exit ()
310 {
311 set +e
312 as_fn_set_status $1
313 exit $1
314 } # as_fn_exit
315
316 # as_fn_mkdir_p
317 # -------------
318 # Create "$as_dir" as a directory, including parents if necessary.
319 as_fn_mkdir_p ()
320 {
321
322 case $as_dir in #(
323 -*) as_dir=./$as_dir;;
324 esac
325 test -d "$as_dir" || eval $as_mkdir_p || {
326 as_dirs=
327 while :; do
328 case $as_dir in #(
329 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
330 *) as_qdir=$as_dir;;
331 esac
332 as_dirs="'$as_qdir' $as_dirs"
333 as_dir=`$as_dirname -- "$as_dir" ||
334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
335 X"$as_dir" : 'X\(//\)[^/]' \| \
336 X"$as_dir" : 'X\(//\)$' \| \
337 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
338 $as_echo X"$as_dir" |
339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
340 s//\1/
341 q
342 }
343 /^X\(\/\/\)[^/].*/{
344 s//\1/
345 q
346 }
347 /^X\(\/\/\)$/{
348 s//\1/
349 q
350 }
351 /^X\(\/\).*/{
352 s//\1/
353 q
354 }
355 s/.*/./; q'`
356 test -d "$as_dir" && break
357 done
358 test -z "$as_dirs" || eval "mkdir $as_dirs"
359 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360
361
362 } # as_fn_mkdir_p
363
364 # as_fn_executable_p FILE
365 # -----------------------
366 # Test if FILE is an executable regular file.
367 as_fn_executable_p ()
368 {
369 test -f "$1" && test -x "$1"
370 } # as_fn_executable_p
371 # as_fn_append VAR VALUE
372 # ----------------------
373 # Append the text in VALUE to the end of the definition contained in VAR. Take
374 # advantage of any shell optimizations that allow amortized linear growth over
375 # repeated appends, instead of the typical quadratic growth present in naive
376 # implementations.
377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
378 eval 'as_fn_append ()
379 {
380 eval $1+=\$2
381 }'
382 else
383 as_fn_append ()
384 {
385 eval $1=\$$1\$2
386 }
387 fi # as_fn_append
388
389 # as_fn_arith ARG...
390 # ------------------
391 # Perform arithmetic evaluation on the ARGs, and store the result in the
392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
393 # must be portable across $(()) and expr.
394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
395 eval 'as_fn_arith ()
396 {
397 as_val=$(( $* ))
398 }'
399 else
400 as_fn_arith ()
401 {
402 as_val=`expr "$@" || test $? -eq 1`
403 }
404 fi # as_fn_arith
405
406
407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
408 # ----------------------------------------
409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
411 # script with STATUS, using 1 if that was 0.
412 as_fn_error ()
413 {
414 as_status=$1; test $as_status -eq 0 && as_status=1
415 if test "$4"; then
416 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
417 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 fi
419 $as_echo "$as_me: error: $2" >&2
420 as_fn_exit $as_status
421 } # as_fn_error
422
423 if expr a : '\(a\)' >/dev/null 2>&1 &&
424 test "X`expr 00001 : '.*\(...\)'`" = X001; then
425 as_expr=expr
426 else
427 as_expr=false
428 fi
429
430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
431 as_basename=basename
432 else
433 as_basename=false
434 fi
435
436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
437 as_dirname=dirname
438 else
439 as_dirname=false
440 fi
441
442 as_me=`$as_basename -- "$0" ||
443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
444 X"$0" : 'X\(//\)$' \| \
445 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 $as_echo X/"$0" |
447 sed '/^.*\/\([^/][^/]*\)\/*$/{
448 s//\1/
449 q
450 }
451 /^X\/\(\/\/\)$/{
452 s//\1/
453 q
454 }
455 /^X\/\(\/\).*/{
456 s//\1/
457 q
458 }
459 s/.*/./; q'`
460
461 # Avoid depending upon Character Ranges.
462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
465 as_cr_digits='0123456789'
466 as_cr_alnum=$as_cr_Letters$as_cr_digits
467
468
469 as_lineno_1=$LINENO as_lineno_1a=$LINENO
470 as_lineno_2=$LINENO as_lineno_2a=$LINENO
471 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
472 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
473 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
474 sed -n '
475 p
476 /[$]LINENO/=
477 ' <$as_myself |
478 sed '
479 s/[$]LINENO.*/&-/
480 t lineno
481 b
482 :lineno
483 N
484 :loop
485 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
486 t loop
487 s/-\n.*//
488 ' >$as_me.lineno &&
489 chmod +x "$as_me.lineno" ||
490 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491
492 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
493 # already done that, so ensure we don't try to do so again and fall
494 # in an infinite loop. This has already happened in practice.
495 _as_can_reexec=no; export _as_can_reexec
496 # Don't try to exec as it changes $[0], causing all sort of problems
497 # (the dirname of $[0] is not the place where we might find the
498 # original and so on. Autoconf is especially sensitive to this).
499 . "./$as_me.lineno"
500 # Exit status is that of the last command.
501 exit
502 }
503
504 ECHO_C= ECHO_N= ECHO_T=
505 case `echo -n x` in #(((((
506 -n*)
507 case `echo 'xy\c'` in
508 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
509 xy) ECHO_C='\c';;
510 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
511 ECHO_T=' ';;
512 esac;;
513 *)
514 ECHO_N='-n';;
515 esac
516
517 rm -f conf$$ conf$$.exe conf$$.file
518 if test -d conf$$.dir; then
519 rm -f conf$$.dir/conf$$.file
520 else
521 rm -f conf$$.dir
522 mkdir conf$$.dir 2>/dev/null
523 fi
524 if (echo >conf$$.file) 2>/dev/null; then
525 if ln -s conf$$.file conf$$ 2>/dev/null; then
526 as_ln_s='ln -s'
527 # ... but there are two gotchas:
528 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
529 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
530 # In both cases, we have to default to `cp -pR'.
531 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
532 as_ln_s='cp -pR'
533 elif ln conf$$.file conf$$ 2>/dev/null; then
534 as_ln_s=ln
535 else
536 as_ln_s='cp -pR'
537 fi
538 else
539 as_ln_s='cp -pR'
540 fi
541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
542 rmdir conf$$.dir 2>/dev/null
543
544 if mkdir -p . 2>/dev/null; then
545 as_mkdir_p='mkdir -p "$as_dir"'
546 else
547 test -d ./-p && rmdir ./-p
548 as_mkdir_p=false
549 fi
550
551 as_test_x='test -x'
552 as_executable_p=as_fn_executable_p
553
554 # Sed expression to map a string onto a valid CPP name.
555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556
557 # Sed expression to map a string onto a valid variable name.
558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
559
560
561 test -n "$DJDIR" || exec 7<&0 </dev/null
562 exec 6>&1
563
564 # Name of the host.
565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
566 # so uname gets run too.
567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
568
569 #
570 # Initializations.
571 #
572 ac_default_prefix=/usr/local
573 ac_clean_files=
574 ac_config_libobj_dir=.
575 LIBOBJS=
576 cross_compiling=no
577 subdirs=
578 MFLAGS=
579 MAKEFLAGS=
580
581 # Identity of this package.
582 PACKAGE_NAME='sim'
583 PACKAGE_TARNAME='sim'
584 PACKAGE_VERSION='0'
585 PACKAGE_STRING='sim 0'
586 PACKAGE_BUGREPORT='https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim'
587 PACKAGE_URL='https://sourceware.org/gdb/wiki/Sim/'
588
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
624
625 enable_option_checking=no
626 ac_subst_vars='am__EXEEXT_FALSE
627 am__EXEEXT_TRUE
628 LTLIBOBJS
629 LIBOBJS
630 SIM_ENABLE_IGEN_FALSE
631 SIM_ENABLE_IGEN_TRUE
632 subdirs
633 SIM_PRIMARY_TARGET
634 AM_BACKSLASH
635 AM_DEFAULT_VERBOSITY
636 AM_DEFAULT_V
637 AM_V
638 am__fastdepCC_FALSE
639 am__fastdepCC_TRUE
640 CCDEPMODE
641 am__nodep
642 AMDEPBACKSLASH
643 AMDEP_FALSE
644 AMDEP_TRUE
645 am__quote
646 am__include
647 DEPDIR
648 am__untar
649 am__tar
650 AMTAR
651 am__leading_dot
652 SET_MAKE
653 AWK
654 mkdir_p
655 MKDIR_P
656 INSTALL_STRIP_PROGRAM
657 STRIP
658 install_sh
659 MAKEINFO
660 AUTOHEADER
661 AUTOMAKE
662 AUTOCONF
663 ACLOCAL
664 VERSION
665 PACKAGE
666 CYGPATH_W
667 am__isrc
668 MAINT
669 MAINTAINER_MODE_FALSE
670 MAINTAINER_MODE_TRUE
671 C_DIALECT
672 RANLIB
673 AR
674 LDFLAGS_FOR_BUILD
675 CFLAGS_FOR_BUILD
676 CC_FOR_BUILD
677 INSTALL_DATA
678 INSTALL_SCRIPT
679 INSTALL_PROGRAM
680 EGREP
681 GREP
682 CPP
683 OBJEXT
684 EXEEXT
685 ac_ct_CC
686 CPPFLAGS
687 LDFLAGS
688 CFLAGS
689 CC
690 target_os
691 target_vendor
692 target_cpu
693 target
694 host_os
695 host_vendor
696 host_cpu
697 host
698 build_os
699 build_vendor
700 build_cpu
701 build
702 target_alias
703 host_alias
704 build_alias
705 LIBS
706 ECHO_T
707 ECHO_N
708 ECHO_C
709 DEFS
710 mandir
711 localedir
712 libdir
713 psdir
714 pdfdir
715 dvidir
716 htmldir
717 infodir
718 docdir
719 oldincludedir
720 includedir
721 localstatedir
722 sharedstatedir
723 sysconfdir
724 datadir
725 datarootdir
726 libexecdir
727 sbindir
728 bindir
729 program_transform_name
730 prefix
731 exec_prefix
732 PACKAGE_URL
733 PACKAGE_BUGREPORT
734 PACKAGE_STRING
735 PACKAGE_VERSION
736 PACKAGE_TARNAME
737 PACKAGE_NAME
738 PATH_SEPARATOR
739 SHELL'
740 ac_subst_files=''
741 ac_user_opts='
742 enable_option_checking
743 enable_maintainer_mode
744 enable_dependency_tracking
745 enable_silent_rules
746 enable_sim
747 enable_targets
748 '
749 ac_precious_vars='build_alias
750 host_alias
751 target_alias
752 CC
753 CFLAGS
754 LDFLAGS
755 LIBS
756 CPPFLAGS
757 CPP'
758 ac_subdirs_all='aarch64
759 arm
760 avr
761 bfin
762 bpf
763 cr16
764 cris
765 d10v
766 frv
767 h8300
768 iq2000
769 lm32
770 m32c
771 m32r
772 m68hc11
773 mcore
774 microblaze
775 mips
776 mn10300
777 moxie
778 msp430
779 or1k
780 pru
781 riscv
782 rl78
783 rx
784 sh
785 erc32
786 ppc
787 ft32
788 v850'
789
790 # Initialize some variables set by options.
791 ac_init_help=
792 ac_init_version=false
793 ac_unrecognized_opts=
794 ac_unrecognized_sep=
795 # The variables have the same names as the options, with
796 # dashes changed to underlines.
797 cache_file=/dev/null
798 exec_prefix=NONE
799 no_create=
800 no_recursion=
801 prefix=NONE
802 program_prefix=NONE
803 program_suffix=NONE
804 program_transform_name=s,x,x,
805 silent=
806 site=
807 srcdir=
808 verbose=
809 x_includes=NONE
810 x_libraries=NONE
811
812 # Installation directory options.
813 # These are left unexpanded so users can "make install exec_prefix=/foo"
814 # and all the variables that are supposed to be based on exec_prefix
815 # by default will actually change.
816 # Use braces instead of parens because sh, perl, etc. also accept them.
817 # (The list follows the same order as the GNU Coding Standards.)
818 bindir='${exec_prefix}/bin'
819 sbindir='${exec_prefix}/sbin'
820 libexecdir='${exec_prefix}/libexec'
821 datarootdir='${prefix}/share'
822 datadir='${datarootdir}'
823 sysconfdir='${prefix}/etc'
824 sharedstatedir='${prefix}/com'
825 localstatedir='${prefix}/var'
826 includedir='${prefix}/include'
827 oldincludedir='/usr/include'
828 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
829 infodir='${datarootdir}/info'
830 htmldir='${docdir}'
831 dvidir='${docdir}'
832 pdfdir='${docdir}'
833 psdir='${docdir}'
834 libdir='${exec_prefix}/lib'
835 localedir='${datarootdir}/locale'
836 mandir='${datarootdir}/man'
837
838 ac_prev=
839 ac_dashdash=
840 for ac_option
841 do
842 # If the previous option needs an argument, assign it.
843 if test -n "$ac_prev"; then
844 eval $ac_prev=\$ac_option
845 ac_prev=
846 continue
847 fi
848
849 case $ac_option in
850 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
851 *=) ac_optarg= ;;
852 *) ac_optarg=yes ;;
853 esac
854
855 # Accept the important Cygnus configure options, so we can diagnose typos.
856
857 case $ac_dashdash$ac_option in
858 --)
859 ac_dashdash=yes ;;
860
861 -bindir | --bindir | --bindi | --bind | --bin | --bi)
862 ac_prev=bindir ;;
863 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
864 bindir=$ac_optarg ;;
865
866 -build | --build | --buil | --bui | --bu)
867 ac_prev=build_alias ;;
868 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
869 build_alias=$ac_optarg ;;
870
871 -cache-file | --cache-file | --cache-fil | --cache-fi \
872 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
873 ac_prev=cache_file ;;
874 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
875 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
876 cache_file=$ac_optarg ;;
877
878 --config-cache | -C)
879 cache_file=config.cache ;;
880
881 -datadir | --datadir | --datadi | --datad)
882 ac_prev=datadir ;;
883 -datadir=* | --datadir=* | --datadi=* | --datad=*)
884 datadir=$ac_optarg ;;
885
886 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
887 | --dataroo | --dataro | --datar)
888 ac_prev=datarootdir ;;
889 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
890 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
891 datarootdir=$ac_optarg ;;
892
893 -disable-* | --disable-*)
894 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
895 # Reject names that are not valid shell variable names.
896 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
897 as_fn_error $? "invalid feature name: $ac_useropt"
898 ac_useropt_orig=$ac_useropt
899 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
900 case $ac_user_opts in
901 *"
902 "enable_$ac_useropt"
903 "*) ;;
904 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
905 ac_unrecognized_sep=', ';;
906 esac
907 eval enable_$ac_useropt=no ;;
908
909 -docdir | --docdir | --docdi | --doc | --do)
910 ac_prev=docdir ;;
911 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
912 docdir=$ac_optarg ;;
913
914 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
915 ac_prev=dvidir ;;
916 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
917 dvidir=$ac_optarg ;;
918
919 -enable-* | --enable-*)
920 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
921 # Reject names that are not valid shell variable names.
922 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
923 as_fn_error $? "invalid feature name: $ac_useropt"
924 ac_useropt_orig=$ac_useropt
925 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
926 case $ac_user_opts in
927 *"
928 "enable_$ac_useropt"
929 "*) ;;
930 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
931 ac_unrecognized_sep=', ';;
932 esac
933 eval enable_$ac_useropt=\$ac_optarg ;;
934
935 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
936 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
937 | --exec | --exe | --ex)
938 ac_prev=exec_prefix ;;
939 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
940 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
941 | --exec=* | --exe=* | --ex=*)
942 exec_prefix=$ac_optarg ;;
943
944 -gas | --gas | --ga | --g)
945 # Obsolete; use --with-gas.
946 with_gas=yes ;;
947
948 -help | --help | --hel | --he | -h)
949 ac_init_help=long ;;
950 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
951 ac_init_help=recursive ;;
952 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
953 ac_init_help=short ;;
954
955 -host | --host | --hos | --ho)
956 ac_prev=host_alias ;;
957 -host=* | --host=* | --hos=* | --ho=*)
958 host_alias=$ac_optarg ;;
959
960 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
961 ac_prev=htmldir ;;
962 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
963 | --ht=*)
964 htmldir=$ac_optarg ;;
965
966 -includedir | --includedir | --includedi | --included | --include \
967 | --includ | --inclu | --incl | --inc)
968 ac_prev=includedir ;;
969 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
970 | --includ=* | --inclu=* | --incl=* | --inc=*)
971 includedir=$ac_optarg ;;
972
973 -infodir | --infodir | --infodi | --infod | --info | --inf)
974 ac_prev=infodir ;;
975 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
976 infodir=$ac_optarg ;;
977
978 -libdir | --libdir | --libdi | --libd)
979 ac_prev=libdir ;;
980 -libdir=* | --libdir=* | --libdi=* | --libd=*)
981 libdir=$ac_optarg ;;
982
983 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
984 | --libexe | --libex | --libe)
985 ac_prev=libexecdir ;;
986 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
987 | --libexe=* | --libex=* | --libe=*)
988 libexecdir=$ac_optarg ;;
989
990 -localedir | --localedir | --localedi | --localed | --locale)
991 ac_prev=localedir ;;
992 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
993 localedir=$ac_optarg ;;
994
995 -localstatedir | --localstatedir | --localstatedi | --localstated \
996 | --localstate | --localstat | --localsta | --localst | --locals)
997 ac_prev=localstatedir ;;
998 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
999 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1000 localstatedir=$ac_optarg ;;
1001
1002 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1003 ac_prev=mandir ;;
1004 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1005 mandir=$ac_optarg ;;
1006
1007 -nfp | --nfp | --nf)
1008 # Obsolete; use --without-fp.
1009 with_fp=no ;;
1010
1011 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1012 | --no-cr | --no-c | -n)
1013 no_create=yes ;;
1014
1015 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1016 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1017 no_recursion=yes ;;
1018
1019 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1020 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1021 | --oldin | --oldi | --old | --ol | --o)
1022 ac_prev=oldincludedir ;;
1023 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1024 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1025 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1026 oldincludedir=$ac_optarg ;;
1027
1028 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1029 ac_prev=prefix ;;
1030 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1031 prefix=$ac_optarg ;;
1032
1033 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1034 | --program-pre | --program-pr | --program-p)
1035 ac_prev=program_prefix ;;
1036 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1037 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1038 program_prefix=$ac_optarg ;;
1039
1040 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1041 | --program-suf | --program-su | --program-s)
1042 ac_prev=program_suffix ;;
1043 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1044 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1045 program_suffix=$ac_optarg ;;
1046
1047 -program-transform-name | --program-transform-name \
1048 | --program-transform-nam | --program-transform-na \
1049 | --program-transform-n | --program-transform- \
1050 | --program-transform | --program-transfor \
1051 | --program-transfo | --program-transf \
1052 | --program-trans | --program-tran \
1053 | --progr-tra | --program-tr | --program-t)
1054 ac_prev=program_transform_name ;;
1055 -program-transform-name=* | --program-transform-name=* \
1056 | --program-transform-nam=* | --program-transform-na=* \
1057 | --program-transform-n=* | --program-transform-=* \
1058 | --program-transform=* | --program-transfor=* \
1059 | --program-transfo=* | --program-transf=* \
1060 | --program-trans=* | --program-tran=* \
1061 | --progr-tra=* | --program-tr=* | --program-t=*)
1062 program_transform_name=$ac_optarg ;;
1063
1064 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1065 ac_prev=pdfdir ;;
1066 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1067 pdfdir=$ac_optarg ;;
1068
1069 -psdir | --psdir | --psdi | --psd | --ps)
1070 ac_prev=psdir ;;
1071 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1072 psdir=$ac_optarg ;;
1073
1074 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1075 | -silent | --silent | --silen | --sile | --sil)
1076 silent=yes ;;
1077
1078 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1079 ac_prev=sbindir ;;
1080 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1081 | --sbi=* | --sb=*)
1082 sbindir=$ac_optarg ;;
1083
1084 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1085 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1086 | --sharedst | --shareds | --shared | --share | --shar \
1087 | --sha | --sh)
1088 ac_prev=sharedstatedir ;;
1089 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1090 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1091 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1092 | --sha=* | --sh=*)
1093 sharedstatedir=$ac_optarg ;;
1094
1095 -site | --site | --sit)
1096 ac_prev=site ;;
1097 -site=* | --site=* | --sit=*)
1098 site=$ac_optarg ;;
1099
1100 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1101 ac_prev=srcdir ;;
1102 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1103 srcdir=$ac_optarg ;;
1104
1105 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1106 | --syscon | --sysco | --sysc | --sys | --sy)
1107 ac_prev=sysconfdir ;;
1108 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1109 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1110 sysconfdir=$ac_optarg ;;
1111
1112 -target | --target | --targe | --targ | --tar | --ta | --t)
1113 ac_prev=target_alias ;;
1114 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1115 target_alias=$ac_optarg ;;
1116
1117 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1118 verbose=yes ;;
1119
1120 -version | --version | --versio | --versi | --vers | -V)
1121 ac_init_version=: ;;
1122
1123 -with-* | --with-*)
1124 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1125 # Reject names that are not valid shell variable names.
1126 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1127 as_fn_error $? "invalid package name: $ac_useropt"
1128 ac_useropt_orig=$ac_useropt
1129 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1130 case $ac_user_opts in
1131 *"
1132 "with_$ac_useropt"
1133 "*) ;;
1134 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1135 ac_unrecognized_sep=', ';;
1136 esac
1137 eval with_$ac_useropt=\$ac_optarg ;;
1138
1139 -without-* | --without-*)
1140 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1141 # Reject names that are not valid shell variable names.
1142 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1143 as_fn_error $? "invalid package name: $ac_useropt"
1144 ac_useropt_orig=$ac_useropt
1145 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1146 case $ac_user_opts in
1147 *"
1148 "with_$ac_useropt"
1149 "*) ;;
1150 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1151 ac_unrecognized_sep=', ';;
1152 esac
1153 eval with_$ac_useropt=no ;;
1154
1155 --x)
1156 # Obsolete; use --with-x.
1157 with_x=yes ;;
1158
1159 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1160 | --x-incl | --x-inc | --x-in | --x-i)
1161 ac_prev=x_includes ;;
1162 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1163 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1164 x_includes=$ac_optarg ;;
1165
1166 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1167 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1168 ac_prev=x_libraries ;;
1169 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1170 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1171 x_libraries=$ac_optarg ;;
1172
1173 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1174 Try \`$0 --help' for more information"
1175 ;;
1176
1177 *=*)
1178 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1179 # Reject names that are not valid shell variable names.
1180 case $ac_envvar in #(
1181 '' | [0-9]* | *[!_$as_cr_alnum]* )
1182 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1183 esac
1184 eval $ac_envvar=\$ac_optarg
1185 export $ac_envvar ;;
1186
1187 *)
1188 # FIXME: should be removed in autoconf 3.0.
1189 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1190 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1191 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1192 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1193 ;;
1194
1195 esac
1196 done
1197
1198 if test -n "$ac_prev"; then
1199 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1200 as_fn_error $? "missing argument to $ac_option"
1201 fi
1202
1203 if test -n "$ac_unrecognized_opts"; then
1204 case $enable_option_checking in
1205 no) ;;
1206 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1207 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1208 esac
1209 fi
1210
1211 # Check all directory arguments for consistency.
1212 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1213 datadir sysconfdir sharedstatedir localstatedir includedir \
1214 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1215 libdir localedir mandir
1216 do
1217 eval ac_val=\$$ac_var
1218 # Remove trailing slashes.
1219 case $ac_val in
1220 */ )
1221 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1222 eval $ac_var=\$ac_val;;
1223 esac
1224 # Be sure to have absolute directory names.
1225 case $ac_val in
1226 [\\/$]* | ?:[\\/]* ) continue;;
1227 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1228 esac
1229 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1230 done
1231
1232 # There might be people who depend on the old broken behavior: `$host'
1233 # used to hold the argument of --host etc.
1234 # FIXME: To remove some day.
1235 build=$build_alias
1236 host=$host_alias
1237 target=$target_alias
1238
1239 # FIXME: To remove some day.
1240 if test "x$host_alias" != x; then
1241 if test "x$build_alias" = x; then
1242 cross_compiling=maybe
1243 elif test "x$build_alias" != "x$host_alias"; then
1244 cross_compiling=yes
1245 fi
1246 fi
1247
1248 ac_tool_prefix=
1249 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1250
1251 test "$silent" = yes && exec 6>/dev/null
1252
1253
1254 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1255 ac_ls_di=`ls -di .` &&
1256 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1257 as_fn_error $? "working directory cannot be determined"
1258 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1259 as_fn_error $? "pwd does not report name of working directory"
1260
1261
1262 # Find the source files, if location was not specified.
1263 if test -z "$srcdir"; then
1264 ac_srcdir_defaulted=yes
1265 # Try the directory containing this script, then the parent directory.
1266 ac_confdir=`$as_dirname -- "$as_myself" ||
1267 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1268 X"$as_myself" : 'X\(//\)[^/]' \| \
1269 X"$as_myself" : 'X\(//\)$' \| \
1270 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1271 $as_echo X"$as_myself" |
1272 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1273 s//\1/
1274 q
1275 }
1276 /^X\(\/\/\)[^/].*/{
1277 s//\1/
1278 q
1279 }
1280 /^X\(\/\/\)$/{
1281 s//\1/
1282 q
1283 }
1284 /^X\(\/\).*/{
1285 s//\1/
1286 q
1287 }
1288 s/.*/./; q'`
1289 srcdir=$ac_confdir
1290 if test ! -r "$srcdir/$ac_unique_file"; then
1291 srcdir=..
1292 fi
1293 else
1294 ac_srcdir_defaulted=no
1295 fi
1296 if test ! -r "$srcdir/$ac_unique_file"; then
1297 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1298 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1299 fi
1300 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1301 ac_abs_confdir=`(
1302 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1303 pwd)`
1304 # When building in place, set srcdir=.
1305 if test "$ac_abs_confdir" = "$ac_pwd"; then
1306 srcdir=.
1307 fi
1308 # Remove unnecessary trailing slashes from srcdir.
1309 # Double slashes in file names in object file debugging info
1310 # mess up M-x gdb in Emacs.
1311 case $srcdir in
1312 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1313 esac
1314 for ac_var in $ac_precious_vars; do
1315 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1316 eval ac_env_${ac_var}_value=\$${ac_var}
1317 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1318 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1319 done
1320
1321 #
1322 # Report the --help message.
1323 #
1324 if test "$ac_init_help" = "long"; then
1325 # Omit some internal or obsolete options to make the list less imposing.
1326 # This message is too long to be a string in the A/UX 3.1 sh.
1327 cat <<_ACEOF
1328 \`configure' configures sim 0 to adapt to many kinds of systems.
1329
1330 Usage: $0 [OPTION]... [VAR=VALUE]...
1331
1332 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1333 VAR=VALUE. See below for descriptions of some of the useful variables.
1334
1335 Defaults for the options are specified in brackets.
1336
1337 Configuration:
1338 -h, --help display this help and exit
1339 --help=short display options specific to this package
1340 --help=recursive display the short help of all the included packages
1341 -V, --version display version information and exit
1342 -q, --quiet, --silent do not print \`checking ...' messages
1343 --cache-file=FILE cache test results in FILE [disabled]
1344 -C, --config-cache alias for \`--cache-file=config.cache'
1345 -n, --no-create do not create output files
1346 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1347
1348 Installation directories:
1349 --prefix=PREFIX install architecture-independent files in PREFIX
1350 [$ac_default_prefix]
1351 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1352 [PREFIX]
1353
1354 By default, \`make install' will install all the files in
1355 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1356 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1357 for instance \`--prefix=\$HOME'.
1358
1359 For better control, use the options below.
1360
1361 Fine tuning of the installation directories:
1362 --bindir=DIR user executables [EPREFIX/bin]
1363 --sbindir=DIR system admin executables [EPREFIX/sbin]
1364 --libexecdir=DIR program executables [EPREFIX/libexec]
1365 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1366 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1367 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1368 --libdir=DIR object code libraries [EPREFIX/lib]
1369 --includedir=DIR C header files [PREFIX/include]
1370 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1371 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1372 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1373 --infodir=DIR info documentation [DATAROOTDIR/info]
1374 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1375 --mandir=DIR man documentation [DATAROOTDIR/man]
1376 --docdir=DIR documentation root [DATAROOTDIR/doc/sim]
1377 --htmldir=DIR html documentation [DOCDIR]
1378 --dvidir=DIR dvi documentation [DOCDIR]
1379 --pdfdir=DIR pdf documentation [DOCDIR]
1380 --psdir=DIR ps documentation [DOCDIR]
1381 _ACEOF
1382
1383 cat <<\_ACEOF
1384
1385 Program names:
1386 --program-prefix=PREFIX prepend PREFIX to installed program names
1387 --program-suffix=SUFFIX append SUFFIX to installed program names
1388 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1389
1390 System types:
1391 --build=BUILD configure for building on BUILD [guessed]
1392 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1393 --target=TARGET configure for building compilers for TARGET [HOST]
1394 _ACEOF
1395 fi
1396
1397 if test -n "$ac_init_help"; then
1398 case $ac_init_help in
1399 short | recursive ) echo "Configuration of sim 0:";;
1400 esac
1401 cat <<\_ACEOF
1402
1403 Optional Features:
1404 --disable-option-checking ignore unrecognized --enable/--with options
1405 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1406 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1407 --enable-maintainer-mode
1408 enable make rules and dependencies not useful (and
1409 sometimes confusing) to the casual installer
1410 --enable-dependency-tracking
1411 do not reject slow dependency extractors
1412 --disable-dependency-tracking
1413 speeds up one-time build
1414 --enable-silent-rules less verbose build output (undo: "make V=1")
1415 --disable-silent-rules verbose build output (undo: "make V=0")
1416 --enable-sim Enable the GNU simulator
1417 --enable-targets alternative target configurations
1418
1419 Some influential environment variables:
1420 CC C compiler command
1421 CFLAGS C compiler flags
1422 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1423 nonstandard directory <lib dir>
1424 LIBS libraries to pass to the linker, e.g. -l<library>
1425 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1426 you have headers in a nonstandard directory <include dir>
1427 CPP C preprocessor
1428
1429 Use these variables to override the choices made by `configure' or to help
1430 it to find libraries and programs with nonstandard names/locations.
1431
1432 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
1433 sim home page: <https://sourceware.org/gdb/wiki/Sim/>.
1434 _ACEOF
1435 ac_status=$?
1436 fi
1437
1438 if test "$ac_init_help" = "recursive"; then
1439 # If there are subdirs, report their specific --help.
1440 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1441 test -d "$ac_dir" ||
1442 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1443 continue
1444 ac_builddir=.
1445
1446 case "$ac_dir" in
1447 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1448 *)
1449 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1450 # A ".." for each directory in $ac_dir_suffix.
1451 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1452 case $ac_top_builddir_sub in
1453 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1454 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1455 esac ;;
1456 esac
1457 ac_abs_top_builddir=$ac_pwd
1458 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1459 # for backward compatibility:
1460 ac_top_builddir=$ac_top_build_prefix
1461
1462 case $srcdir in
1463 .) # We are building in place.
1464 ac_srcdir=.
1465 ac_top_srcdir=$ac_top_builddir_sub
1466 ac_abs_top_srcdir=$ac_pwd ;;
1467 [\\/]* | ?:[\\/]* ) # Absolute name.
1468 ac_srcdir=$srcdir$ac_dir_suffix;
1469 ac_top_srcdir=$srcdir
1470 ac_abs_top_srcdir=$srcdir ;;
1471 *) # Relative name.
1472 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1473 ac_top_srcdir=$ac_top_build_prefix$srcdir
1474 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1475 esac
1476 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1477
1478 cd "$ac_dir" || { ac_status=$?; continue; }
1479 # Check for guested configure.
1480 if test -f "$ac_srcdir/configure.gnu"; then
1481 echo &&
1482 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1483 elif test -f "$ac_srcdir/configure"; then
1484 echo &&
1485 $SHELL "$ac_srcdir/configure" --help=recursive
1486 else
1487 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1488 fi || ac_status=$?
1489 cd "$ac_pwd" || { ac_status=$?; break; }
1490 done
1491 fi
1492
1493 test -n "$ac_init_help" && exit $ac_status
1494 if $ac_init_version; then
1495 cat <<\_ACEOF
1496 sim configure 0
1497 generated by GNU Autoconf 2.69
1498
1499 Copyright (C) 2012 Free Software Foundation, Inc.
1500 This configure script is free software; the Free Software Foundation
1501 gives unlimited permission to copy, distribute and modify it.
1502 _ACEOF
1503 exit
1504 fi
1505
1506 ## ------------------------ ##
1507 ## Autoconf initialization. ##
1508 ## ------------------------ ##
1509
1510 # ac_fn_c_try_compile LINENO
1511 # --------------------------
1512 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1513 ac_fn_c_try_compile ()
1514 {
1515 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1516 rm -f conftest.$ac_objext
1517 if { { ac_try="$ac_compile"
1518 case "(($ac_try" in
1519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1520 *) ac_try_echo=$ac_try;;
1521 esac
1522 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1523 $as_echo "$ac_try_echo"; } >&5
1524 (eval "$ac_compile") 2>conftest.err
1525 ac_status=$?
1526 if test -s conftest.err; then
1527 grep -v '^ *+' conftest.err >conftest.er1
1528 cat conftest.er1 >&5
1529 mv -f conftest.er1 conftest.err
1530 fi
1531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1532 test $ac_status = 0; } && {
1533 test -z "$ac_c_werror_flag" ||
1534 test ! -s conftest.err
1535 } && test -s conftest.$ac_objext; then :
1536 ac_retval=0
1537 else
1538 $as_echo "$as_me: failed program was:" >&5
1539 sed 's/^/| /' conftest.$ac_ext >&5
1540
1541 ac_retval=1
1542 fi
1543 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1544 as_fn_set_status $ac_retval
1545
1546 } # ac_fn_c_try_compile
1547
1548 # ac_fn_c_try_cpp LINENO
1549 # ----------------------
1550 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1551 ac_fn_c_try_cpp ()
1552 {
1553 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1554 if { { ac_try="$ac_cpp conftest.$ac_ext"
1555 case "(($ac_try" in
1556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1557 *) ac_try_echo=$ac_try;;
1558 esac
1559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1560 $as_echo "$ac_try_echo"; } >&5
1561 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1562 ac_status=$?
1563 if test -s conftest.err; then
1564 grep -v '^ *+' conftest.err >conftest.er1
1565 cat conftest.er1 >&5
1566 mv -f conftest.er1 conftest.err
1567 fi
1568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1569 test $ac_status = 0; } > conftest.i && {
1570 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1571 test ! -s conftest.err
1572 }; then :
1573 ac_retval=0
1574 else
1575 $as_echo "$as_me: failed program was:" >&5
1576 sed 's/^/| /' conftest.$ac_ext >&5
1577
1578 ac_retval=1
1579 fi
1580 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1581 as_fn_set_status $ac_retval
1582
1583 } # ac_fn_c_try_cpp
1584
1585 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1586 # -------------------------------------------------------
1587 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1588 # the include files in INCLUDES and setting the cache variable VAR
1589 # accordingly.
1590 ac_fn_c_check_header_mongrel ()
1591 {
1592 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1593 if eval \${$3+:} false; then :
1594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1595 $as_echo_n "checking for $2... " >&6; }
1596 if eval \${$3+:} false; then :
1597 $as_echo_n "(cached) " >&6
1598 fi
1599 eval ac_res=\$$3
1600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1601 $as_echo "$ac_res" >&6; }
1602 else
1603 # Is the header compilable?
1604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1605 $as_echo_n "checking $2 usability... " >&6; }
1606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1607 /* end confdefs.h. */
1608 $4
1609 #include <$2>
1610 _ACEOF
1611 if ac_fn_c_try_compile "$LINENO"; then :
1612 ac_header_compiler=yes
1613 else
1614 ac_header_compiler=no
1615 fi
1616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1618 $as_echo "$ac_header_compiler" >&6; }
1619
1620 # Is the header present?
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1622 $as_echo_n "checking $2 presence... " >&6; }
1623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1624 /* end confdefs.h. */
1625 #include <$2>
1626 _ACEOF
1627 if ac_fn_c_try_cpp "$LINENO"; then :
1628 ac_header_preproc=yes
1629 else
1630 ac_header_preproc=no
1631 fi
1632 rm -f conftest.err conftest.i conftest.$ac_ext
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1634 $as_echo "$ac_header_preproc" >&6; }
1635
1636 # So? What about this header?
1637 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1638 yes:no: )
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1640 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1642 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1643 ;;
1644 no:yes:* )
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1646 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1648 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1650 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1652 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1654 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1655 ( $as_echo "## -------------------------------------------------------------------------------------- ##
1656 ## Report this to https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim ##
1657 ## -------------------------------------------------------------------------------------- ##"
1658 ) | sed "s/^/$as_me: WARNING: /" >&2
1659 ;;
1660 esac
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1662 $as_echo_n "checking for $2... " >&6; }
1663 if eval \${$3+:} false; then :
1664 $as_echo_n "(cached) " >&6
1665 else
1666 eval "$3=\$ac_header_compiler"
1667 fi
1668 eval ac_res=\$$3
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1670 $as_echo "$ac_res" >&6; }
1671 fi
1672 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1673
1674 } # ac_fn_c_check_header_mongrel
1675
1676 # ac_fn_c_try_run LINENO
1677 # ----------------------
1678 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1679 # that executables *can* be run.
1680 ac_fn_c_try_run ()
1681 {
1682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1683 if { { ac_try="$ac_link"
1684 case "(($ac_try" in
1685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1686 *) ac_try_echo=$ac_try;;
1687 esac
1688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1689 $as_echo "$ac_try_echo"; } >&5
1690 (eval "$ac_link") 2>&5
1691 ac_status=$?
1692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1693 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1694 { { case "(($ac_try" in
1695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1696 *) ac_try_echo=$ac_try;;
1697 esac
1698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1699 $as_echo "$ac_try_echo"; } >&5
1700 (eval "$ac_try") 2>&5
1701 ac_status=$?
1702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1703 test $ac_status = 0; }; }; then :
1704 ac_retval=0
1705 else
1706 $as_echo "$as_me: program exited with status $ac_status" >&5
1707 $as_echo "$as_me: failed program was:" >&5
1708 sed 's/^/| /' conftest.$ac_ext >&5
1709
1710 ac_retval=$ac_status
1711 fi
1712 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1713 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1714 as_fn_set_status $ac_retval
1715
1716 } # ac_fn_c_try_run
1717
1718 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1719 # -------------------------------------------------------
1720 # Tests whether HEADER exists and can be compiled using the include files in
1721 # INCLUDES, setting the cache variable VAR accordingly.
1722 ac_fn_c_check_header_compile ()
1723 {
1724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1726 $as_echo_n "checking for $2... " >&6; }
1727 if eval \${$3+:} false; then :
1728 $as_echo_n "(cached) " >&6
1729 else
1730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1731 /* end confdefs.h. */
1732 $4
1733 #include <$2>
1734 _ACEOF
1735 if ac_fn_c_try_compile "$LINENO"; then :
1736 eval "$3=yes"
1737 else
1738 eval "$3=no"
1739 fi
1740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1741 fi
1742 eval ac_res=\$$3
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1744 $as_echo "$ac_res" >&6; }
1745 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1746
1747 } # ac_fn_c_check_header_compile
1748 cat >config.log <<_ACEOF
1749 This file contains any messages produced by compilers while
1750 running configure, to aid debugging if configure makes a mistake.
1751
1752 It was created by sim $as_me 0, which was
1753 generated by GNU Autoconf 2.69. Invocation command line was
1754
1755 $ $0 $@
1756
1757 _ACEOF
1758 exec 5>>config.log
1759 {
1760 cat <<_ASUNAME
1761 ## --------- ##
1762 ## Platform. ##
1763 ## --------- ##
1764
1765 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1766 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1767 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1768 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1769 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1770
1771 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1772 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1773
1774 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1775 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1776 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1777 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1778 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1779 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1780 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1781
1782 _ASUNAME
1783
1784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1785 for as_dir in $PATH
1786 do
1787 IFS=$as_save_IFS
1788 test -z "$as_dir" && as_dir=.
1789 $as_echo "PATH: $as_dir"
1790 done
1791 IFS=$as_save_IFS
1792
1793 } >&5
1794
1795 cat >&5 <<_ACEOF
1796
1797
1798 ## ----------- ##
1799 ## Core tests. ##
1800 ## ----------- ##
1801
1802 _ACEOF
1803
1804
1805 # Keep a trace of the command line.
1806 # Strip out --no-create and --no-recursion so they do not pile up.
1807 # Strip out --silent because we don't want to record it for future runs.
1808 # Also quote any args containing shell meta-characters.
1809 # Make two passes to allow for proper duplicate-argument suppression.
1810 ac_configure_args=
1811 ac_configure_args0=
1812 ac_configure_args1=
1813 ac_must_keep_next=false
1814 for ac_pass in 1 2
1815 do
1816 for ac_arg
1817 do
1818 case $ac_arg in
1819 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1820 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1821 | -silent | --silent | --silen | --sile | --sil)
1822 continue ;;
1823 *\'*)
1824 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1825 esac
1826 case $ac_pass in
1827 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1828 2)
1829 as_fn_append ac_configure_args1 " '$ac_arg'"
1830 if test $ac_must_keep_next = true; then
1831 ac_must_keep_next=false # Got value, back to normal.
1832 else
1833 case $ac_arg in
1834 *=* | --config-cache | -C | -disable-* | --disable-* \
1835 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1836 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1837 | -with-* | --with-* | -without-* | --without-* | --x)
1838 case "$ac_configure_args0 " in
1839 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1840 esac
1841 ;;
1842 -* ) ac_must_keep_next=true ;;
1843 esac
1844 fi
1845 as_fn_append ac_configure_args " '$ac_arg'"
1846 ;;
1847 esac
1848 done
1849 done
1850 { ac_configure_args0=; unset ac_configure_args0;}
1851 { ac_configure_args1=; unset ac_configure_args1;}
1852
1853 # When interrupted or exit'd, cleanup temporary files, and complete
1854 # config.log. We remove comments because anyway the quotes in there
1855 # would cause problems or look ugly.
1856 # WARNING: Use '\'' to represent an apostrophe within the trap.
1857 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1858 trap 'exit_status=$?
1859 # Save into config.log some information that might help in debugging.
1860 {
1861 echo
1862
1863 $as_echo "## ---------------- ##
1864 ## Cache variables. ##
1865 ## ---------------- ##"
1866 echo
1867 # The following way of writing the cache mishandles newlines in values,
1868 (
1869 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1870 eval ac_val=\$$ac_var
1871 case $ac_val in #(
1872 *${as_nl}*)
1873 case $ac_var in #(
1874 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1875 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1876 esac
1877 case $ac_var in #(
1878 _ | IFS | as_nl) ;; #(
1879 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1880 *) { eval $ac_var=; unset $ac_var;} ;;
1881 esac ;;
1882 esac
1883 done
1884 (set) 2>&1 |
1885 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1886 *${as_nl}ac_space=\ *)
1887 sed -n \
1888 "s/'\''/'\''\\\\'\'''\''/g;
1889 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1890 ;; #(
1891 *)
1892 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1893 ;;
1894 esac |
1895 sort
1896 )
1897 echo
1898
1899 $as_echo "## ----------------- ##
1900 ## Output variables. ##
1901 ## ----------------- ##"
1902 echo
1903 for ac_var in $ac_subst_vars
1904 do
1905 eval ac_val=\$$ac_var
1906 case $ac_val in
1907 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1908 esac
1909 $as_echo "$ac_var='\''$ac_val'\''"
1910 done | sort
1911 echo
1912
1913 if test -n "$ac_subst_files"; then
1914 $as_echo "## ------------------- ##
1915 ## File substitutions. ##
1916 ## ------------------- ##"
1917 echo
1918 for ac_var in $ac_subst_files
1919 do
1920 eval ac_val=\$$ac_var
1921 case $ac_val in
1922 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1923 esac
1924 $as_echo "$ac_var='\''$ac_val'\''"
1925 done | sort
1926 echo
1927 fi
1928
1929 if test -s confdefs.h; then
1930 $as_echo "## ----------- ##
1931 ## confdefs.h. ##
1932 ## ----------- ##"
1933 echo
1934 cat confdefs.h
1935 echo
1936 fi
1937 test "$ac_signal" != 0 &&
1938 $as_echo "$as_me: caught signal $ac_signal"
1939 $as_echo "$as_me: exit $exit_status"
1940 } >&5
1941 rm -f core *.core core.conftest.* &&
1942 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1943 exit $exit_status
1944 ' 0
1945 for ac_signal in 1 2 13 15; do
1946 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1947 done
1948 ac_signal=0
1949
1950 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1951 rm -f -r conftest* confdefs.h
1952
1953 $as_echo "/* confdefs.h */" > confdefs.h
1954
1955 # Predefined preprocessor variables.
1956
1957 cat >>confdefs.h <<_ACEOF
1958 #define PACKAGE_NAME "$PACKAGE_NAME"
1959 _ACEOF
1960
1961 cat >>confdefs.h <<_ACEOF
1962 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1963 _ACEOF
1964
1965 cat >>confdefs.h <<_ACEOF
1966 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1967 _ACEOF
1968
1969 cat >>confdefs.h <<_ACEOF
1970 #define PACKAGE_STRING "$PACKAGE_STRING"
1971 _ACEOF
1972
1973 cat >>confdefs.h <<_ACEOF
1974 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1975 _ACEOF
1976
1977 cat >>confdefs.h <<_ACEOF
1978 #define PACKAGE_URL "$PACKAGE_URL"
1979 _ACEOF
1980
1981
1982 # Let the site file select an alternate cache file if it wants to.
1983 # Prefer an explicitly selected file to automatically selected ones.
1984 ac_site_file1=NONE
1985 ac_site_file2=NONE
1986 if test -n "$CONFIG_SITE"; then
1987 # We do not want a PATH search for config.site.
1988 case $CONFIG_SITE in #((
1989 -*) ac_site_file1=./$CONFIG_SITE;;
1990 */*) ac_site_file1=$CONFIG_SITE;;
1991 *) ac_site_file1=./$CONFIG_SITE;;
1992 esac
1993 elif test "x$prefix" != xNONE; then
1994 ac_site_file1=$prefix/share/config.site
1995 ac_site_file2=$prefix/etc/config.site
1996 else
1997 ac_site_file1=$ac_default_prefix/share/config.site
1998 ac_site_file2=$ac_default_prefix/etc/config.site
1999 fi
2000 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2001 do
2002 test "x$ac_site_file" = xNONE && continue
2003 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2005 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2006 sed 's/^/| /' "$ac_site_file" >&5
2007 . "$ac_site_file" \
2008 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2009 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2010 as_fn_error $? "failed to load site script $ac_site_file
2011 See \`config.log' for more details" "$LINENO" 5; }
2012 fi
2013 done
2014
2015 if test -r "$cache_file"; then
2016 # Some versions of bash will fail to source /dev/null (special files
2017 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2018 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2020 $as_echo "$as_me: loading cache $cache_file" >&6;}
2021 case $cache_file in
2022 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2023 *) . "./$cache_file";;
2024 esac
2025 fi
2026 else
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2028 $as_echo "$as_me: creating cache $cache_file" >&6;}
2029 >$cache_file
2030 fi
2031
2032 # Check that the precious variables saved in the cache have kept the same
2033 # value.
2034 ac_cache_corrupted=false
2035 for ac_var in $ac_precious_vars; do
2036 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2037 eval ac_new_set=\$ac_env_${ac_var}_set
2038 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2039 eval ac_new_val=\$ac_env_${ac_var}_value
2040 case $ac_old_set,$ac_new_set in
2041 set,)
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2043 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2044 ac_cache_corrupted=: ;;
2045 ,set)
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2047 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2048 ac_cache_corrupted=: ;;
2049 ,);;
2050 *)
2051 if test "x$ac_old_val" != "x$ac_new_val"; then
2052 # differences in whitespace do not lead to failure.
2053 ac_old_val_w=`echo x $ac_old_val`
2054 ac_new_val_w=`echo x $ac_new_val`
2055 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2057 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2058 ac_cache_corrupted=:
2059 else
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2061 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2062 eval $ac_var=\$ac_old_val
2063 fi
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2065 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2067 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2068 fi;;
2069 esac
2070 # Pass precious variables to config.status.
2071 if test "$ac_new_set" = set; then
2072 case $ac_new_val in
2073 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2074 *) ac_arg=$ac_var=$ac_new_val ;;
2075 esac
2076 case " $ac_configure_args " in
2077 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2078 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2079 esac
2080 fi
2081 done
2082 if $ac_cache_corrupted; then
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2084 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2086 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2087 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2088 fi
2089 ## -------------------- ##
2090 ## Main body of script. ##
2091 ## -------------------- ##
2092
2093 ac_ext=c
2094 ac_cpp='$CPP $CPPFLAGS'
2095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2098
2099
2100
2101
2102
2103
2104 ac_aux_dir=
2105 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2106 if test -f "$ac_dir/install-sh"; then
2107 ac_aux_dir=$ac_dir
2108 ac_install_sh="$ac_aux_dir/install-sh -c"
2109 break
2110 elif test -f "$ac_dir/install.sh"; then
2111 ac_aux_dir=$ac_dir
2112 ac_install_sh="$ac_aux_dir/install.sh -c"
2113 break
2114 elif test -f "$ac_dir/shtool"; then
2115 ac_aux_dir=$ac_dir
2116 ac_install_sh="$ac_aux_dir/shtool install -c"
2117 break
2118 fi
2119 done
2120 if test -z "$ac_aux_dir"; then
2121 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2122 fi
2123
2124 # These three variables are undocumented and unsupported,
2125 # and are intended to be withdrawn in a future Autoconf release.
2126 # They can cause serious problems if a builder's source tree is in a directory
2127 # whose full name contains unusual characters.
2128 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2129 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2130 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2131
2132
2133 # Make sure we can run config.sub.
2134 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2135 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2136
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2138 $as_echo_n "checking build system type... " >&6; }
2139 if ${ac_cv_build+:} false; then :
2140 $as_echo_n "(cached) " >&6
2141 else
2142 ac_build_alias=$build_alias
2143 test "x$ac_build_alias" = x &&
2144 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2145 test "x$ac_build_alias" = x &&
2146 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2147 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2148 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2149
2150 fi
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2152 $as_echo "$ac_cv_build" >&6; }
2153 case $ac_cv_build in
2154 *-*-*) ;;
2155 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2156 esac
2157 build=$ac_cv_build
2158 ac_save_IFS=$IFS; IFS='-'
2159 set x $ac_cv_build
2160 shift
2161 build_cpu=$1
2162 build_vendor=$2
2163 shift; shift
2164 # Remember, the first character of IFS is used to create $*,
2165 # except with old shells:
2166 build_os=$*
2167 IFS=$ac_save_IFS
2168 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2169
2170
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2172 $as_echo_n "checking host system type... " >&6; }
2173 if ${ac_cv_host+:} false; then :
2174 $as_echo_n "(cached) " >&6
2175 else
2176 if test "x$host_alias" = x; then
2177 ac_cv_host=$ac_cv_build
2178 else
2179 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2180 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2181 fi
2182
2183 fi
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2185 $as_echo "$ac_cv_host" >&6; }
2186 case $ac_cv_host in
2187 *-*-*) ;;
2188 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2189 esac
2190 host=$ac_cv_host
2191 ac_save_IFS=$IFS; IFS='-'
2192 set x $ac_cv_host
2193 shift
2194 host_cpu=$1
2195 host_vendor=$2
2196 shift; shift
2197 # Remember, the first character of IFS is used to create $*,
2198 # except with old shells:
2199 host_os=$*
2200 IFS=$ac_save_IFS
2201 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2202
2203
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2205 $as_echo_n "checking target system type... " >&6; }
2206 if ${ac_cv_target+:} false; then :
2207 $as_echo_n "(cached) " >&6
2208 else
2209 if test "x$target_alias" = x; then
2210 ac_cv_target=$ac_cv_host
2211 else
2212 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2213 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2214 fi
2215
2216 fi
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2218 $as_echo "$ac_cv_target" >&6; }
2219 case $ac_cv_target in
2220 *-*-*) ;;
2221 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2222 esac
2223 target=$ac_cv_target
2224 ac_save_IFS=$IFS; IFS='-'
2225 set x $ac_cv_target
2226 shift
2227 target_cpu=$1
2228 target_vendor=$2
2229 shift; shift
2230 # Remember, the first character of IFS is used to create $*,
2231 # except with old shells:
2232 target_os=$*
2233 IFS=$ac_save_IFS
2234 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2235
2236
2237 # The aliases save the names the user supplied, while $host etc.
2238 # will get canonicalized.
2239 test -n "$target_alias" &&
2240 test "$program_prefix$program_suffix$program_transform_name" = \
2241 NONENONEs,x,x, &&
2242 program_prefix=${target_alias}-
2243 # Expand $ac_aux_dir to an absolute path.
2244 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2245
2246 ac_ext=c
2247 ac_cpp='$CPP $CPPFLAGS'
2248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2251 if test -n "$ac_tool_prefix"; then
2252 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2253 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2255 $as_echo_n "checking for $ac_word... " >&6; }
2256 if ${ac_cv_prog_CC+:} false; then :
2257 $as_echo_n "(cached) " >&6
2258 else
2259 if test -n "$CC"; then
2260 ac_cv_prog_CC="$CC" # Let the user override the test.
2261 else
2262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2263 for as_dir in $PATH
2264 do
2265 IFS=$as_save_IFS
2266 test -z "$as_dir" && as_dir=.
2267 for ac_exec_ext in '' $ac_executable_extensions; do
2268 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2269 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2271 break 2
2272 fi
2273 done
2274 done
2275 IFS=$as_save_IFS
2276
2277 fi
2278 fi
2279 CC=$ac_cv_prog_CC
2280 if test -n "$CC"; then
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2282 $as_echo "$CC" >&6; }
2283 else
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2285 $as_echo "no" >&6; }
2286 fi
2287
2288
2289 fi
2290 if test -z "$ac_cv_prog_CC"; then
2291 ac_ct_CC=$CC
2292 # Extract the first word of "gcc", so it can be a program name with args.
2293 set dummy gcc; ac_word=$2
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2295 $as_echo_n "checking for $ac_word... " >&6; }
2296 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2297 $as_echo_n "(cached) " >&6
2298 else
2299 if test -n "$ac_ct_CC"; then
2300 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2301 else
2302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2303 for as_dir in $PATH
2304 do
2305 IFS=$as_save_IFS
2306 test -z "$as_dir" && as_dir=.
2307 for ac_exec_ext in '' $ac_executable_extensions; do
2308 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2309 ac_cv_prog_ac_ct_CC="gcc"
2310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2311 break 2
2312 fi
2313 done
2314 done
2315 IFS=$as_save_IFS
2316
2317 fi
2318 fi
2319 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2320 if test -n "$ac_ct_CC"; then
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2322 $as_echo "$ac_ct_CC" >&6; }
2323 else
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2325 $as_echo "no" >&6; }
2326 fi
2327
2328 if test "x$ac_ct_CC" = x; then
2329 CC=""
2330 else
2331 case $cross_compiling:$ac_tool_warned in
2332 yes:)
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2334 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2335 ac_tool_warned=yes ;;
2336 esac
2337 CC=$ac_ct_CC
2338 fi
2339 else
2340 CC="$ac_cv_prog_CC"
2341 fi
2342
2343 if test -z "$CC"; then
2344 if test -n "$ac_tool_prefix"; then
2345 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2346 set dummy ${ac_tool_prefix}cc; ac_word=$2
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2348 $as_echo_n "checking for $ac_word... " >&6; }
2349 if ${ac_cv_prog_CC+:} false; then :
2350 $as_echo_n "(cached) " >&6
2351 else
2352 if test -n "$CC"; then
2353 ac_cv_prog_CC="$CC" # Let the user override the test.
2354 else
2355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2356 for as_dir in $PATH
2357 do
2358 IFS=$as_save_IFS
2359 test -z "$as_dir" && as_dir=.
2360 for ac_exec_ext in '' $ac_executable_extensions; do
2361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2362 ac_cv_prog_CC="${ac_tool_prefix}cc"
2363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2364 break 2
2365 fi
2366 done
2367 done
2368 IFS=$as_save_IFS
2369
2370 fi
2371 fi
2372 CC=$ac_cv_prog_CC
2373 if test -n "$CC"; then
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2375 $as_echo "$CC" >&6; }
2376 else
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2378 $as_echo "no" >&6; }
2379 fi
2380
2381
2382 fi
2383 fi
2384 if test -z "$CC"; then
2385 # Extract the first word of "cc", so it can be a program name with args.
2386 set dummy cc; ac_word=$2
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2388 $as_echo_n "checking for $ac_word... " >&6; }
2389 if ${ac_cv_prog_CC+:} false; then :
2390 $as_echo_n "(cached) " >&6
2391 else
2392 if test -n "$CC"; then
2393 ac_cv_prog_CC="$CC" # Let the user override the test.
2394 else
2395 ac_prog_rejected=no
2396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2397 for as_dir in $PATH
2398 do
2399 IFS=$as_save_IFS
2400 test -z "$as_dir" && as_dir=.
2401 for ac_exec_ext in '' $ac_executable_extensions; do
2402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2403 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2404 ac_prog_rejected=yes
2405 continue
2406 fi
2407 ac_cv_prog_CC="cc"
2408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2409 break 2
2410 fi
2411 done
2412 done
2413 IFS=$as_save_IFS
2414
2415 if test $ac_prog_rejected = yes; then
2416 # We found a bogon in the path, so make sure we never use it.
2417 set dummy $ac_cv_prog_CC
2418 shift
2419 if test $# != 0; then
2420 # We chose a different compiler from the bogus one.
2421 # However, it has the same basename, so the bogon will be chosen
2422 # first if we set CC to just the basename; use the full file name.
2423 shift
2424 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2425 fi
2426 fi
2427 fi
2428 fi
2429 CC=$ac_cv_prog_CC
2430 if test -n "$CC"; then
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2432 $as_echo "$CC" >&6; }
2433 else
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2435 $as_echo "no" >&6; }
2436 fi
2437
2438
2439 fi
2440 if test -z "$CC"; then
2441 if test -n "$ac_tool_prefix"; then
2442 for ac_prog in cl.exe
2443 do
2444 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2445 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2447 $as_echo_n "checking for $ac_word... " >&6; }
2448 if ${ac_cv_prog_CC+:} false; then :
2449 $as_echo_n "(cached) " >&6
2450 else
2451 if test -n "$CC"; then
2452 ac_cv_prog_CC="$CC" # Let the user override the test.
2453 else
2454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2455 for as_dir in $PATH
2456 do
2457 IFS=$as_save_IFS
2458 test -z "$as_dir" && as_dir=.
2459 for ac_exec_ext in '' $ac_executable_extensions; do
2460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2461 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2463 break 2
2464 fi
2465 done
2466 done
2467 IFS=$as_save_IFS
2468
2469 fi
2470 fi
2471 CC=$ac_cv_prog_CC
2472 if test -n "$CC"; then
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2474 $as_echo "$CC" >&6; }
2475 else
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2477 $as_echo "no" >&6; }
2478 fi
2479
2480
2481 test -n "$CC" && break
2482 done
2483 fi
2484 if test -z "$CC"; then
2485 ac_ct_CC=$CC
2486 for ac_prog in cl.exe
2487 do
2488 # Extract the first word of "$ac_prog", so it can be a program name with args.
2489 set dummy $ac_prog; ac_word=$2
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2491 $as_echo_n "checking for $ac_word... " >&6; }
2492 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2493 $as_echo_n "(cached) " >&6
2494 else
2495 if test -n "$ac_ct_CC"; then
2496 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2497 else
2498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2499 for as_dir in $PATH
2500 do
2501 IFS=$as_save_IFS
2502 test -z "$as_dir" && as_dir=.
2503 for ac_exec_ext in '' $ac_executable_extensions; do
2504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2505 ac_cv_prog_ac_ct_CC="$ac_prog"
2506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2507 break 2
2508 fi
2509 done
2510 done
2511 IFS=$as_save_IFS
2512
2513 fi
2514 fi
2515 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2516 if test -n "$ac_ct_CC"; then
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2518 $as_echo "$ac_ct_CC" >&6; }
2519 else
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2521 $as_echo "no" >&6; }
2522 fi
2523
2524
2525 test -n "$ac_ct_CC" && break
2526 done
2527
2528 if test "x$ac_ct_CC" = x; then
2529 CC=""
2530 else
2531 case $cross_compiling:$ac_tool_warned in
2532 yes:)
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2535 ac_tool_warned=yes ;;
2536 esac
2537 CC=$ac_ct_CC
2538 fi
2539 fi
2540
2541 fi
2542
2543
2544 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2545 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2546 as_fn_error $? "no acceptable C compiler found in \$PATH
2547 See \`config.log' for more details" "$LINENO" 5; }
2548
2549 # Provide some information about the compiler.
2550 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2551 set X $ac_compile
2552 ac_compiler=$2
2553 for ac_option in --version -v -V -qversion; do
2554 { { ac_try="$ac_compiler $ac_option >&5"
2555 case "(($ac_try" in
2556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2557 *) ac_try_echo=$ac_try;;
2558 esac
2559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2560 $as_echo "$ac_try_echo"; } >&5
2561 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2562 ac_status=$?
2563 if test -s conftest.err; then
2564 sed '10a\
2565 ... rest of stderr output deleted ...
2566 10q' conftest.err >conftest.er1
2567 cat conftest.er1 >&5
2568 fi
2569 rm -f conftest.er1 conftest.err
2570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2571 test $ac_status = 0; }
2572 done
2573
2574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2575 /* end confdefs.h. */
2576
2577 int
2578 main ()
2579 {
2580
2581 ;
2582 return 0;
2583 }
2584 _ACEOF
2585 ac_clean_files_save=$ac_clean_files
2586 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2587 # Try to create an executable without -o first, disregard a.out.
2588 # It will help us diagnose broken compilers, and finding out an intuition
2589 # of exeext.
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2591 $as_echo_n "checking whether the C compiler works... " >&6; }
2592 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2593
2594 # The possible output files:
2595 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2596
2597 ac_rmfiles=
2598 for ac_file in $ac_files
2599 do
2600 case $ac_file in
2601 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2602 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2603 esac
2604 done
2605 rm -f $ac_rmfiles
2606
2607 if { { ac_try="$ac_link_default"
2608 case "(($ac_try" in
2609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2610 *) ac_try_echo=$ac_try;;
2611 esac
2612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2613 $as_echo "$ac_try_echo"; } >&5
2614 (eval "$ac_link_default") 2>&5
2615 ac_status=$?
2616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2617 test $ac_status = 0; }; then :
2618 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2619 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2620 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2621 # so that the user can short-circuit this test for compilers unknown to
2622 # Autoconf.
2623 for ac_file in $ac_files ''
2624 do
2625 test -f "$ac_file" || continue
2626 case $ac_file in
2627 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2628 ;;
2629 [ab].out )
2630 # We found the default executable, but exeext='' is most
2631 # certainly right.
2632 break;;
2633 *.* )
2634 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2635 then :; else
2636 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2637 fi
2638 # We set ac_cv_exeext here because the later test for it is not
2639 # safe: cross compilers may not add the suffix if given an `-o'
2640 # argument, so we may need to know it at that point already.
2641 # Even if this section looks crufty: it has the advantage of
2642 # actually working.
2643 break;;
2644 * )
2645 break;;
2646 esac
2647 done
2648 test "$ac_cv_exeext" = no && ac_cv_exeext=
2649
2650 else
2651 ac_file=''
2652 fi
2653 if test -z "$ac_file"; then :
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2655 $as_echo "no" >&6; }
2656 $as_echo "$as_me: failed program was:" >&5
2657 sed 's/^/| /' conftest.$ac_ext >&5
2658
2659 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2660 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2661 as_fn_error 77 "C compiler cannot create executables
2662 See \`config.log' for more details" "$LINENO" 5; }
2663 else
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2665 $as_echo "yes" >&6; }
2666 fi
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2668 $as_echo_n "checking for C compiler default output file name... " >&6; }
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2670 $as_echo "$ac_file" >&6; }
2671 ac_exeext=$ac_cv_exeext
2672
2673 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2674 ac_clean_files=$ac_clean_files_save
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2676 $as_echo_n "checking for suffix of executables... " >&6; }
2677 if { { ac_try="$ac_link"
2678 case "(($ac_try" in
2679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2680 *) ac_try_echo=$ac_try;;
2681 esac
2682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2683 $as_echo "$ac_try_echo"; } >&5
2684 (eval "$ac_link") 2>&5
2685 ac_status=$?
2686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2687 test $ac_status = 0; }; then :
2688 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2689 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2690 # work properly (i.e., refer to `conftest.exe'), while it won't with
2691 # `rm'.
2692 for ac_file in conftest.exe conftest conftest.*; do
2693 test -f "$ac_file" || continue
2694 case $ac_file in
2695 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2696 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2697 break;;
2698 * ) break;;
2699 esac
2700 done
2701 else
2702 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2703 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2704 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2705 See \`config.log' for more details" "$LINENO" 5; }
2706 fi
2707 rm -f conftest conftest$ac_cv_exeext
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2709 $as_echo "$ac_cv_exeext" >&6; }
2710
2711 rm -f conftest.$ac_ext
2712 EXEEXT=$ac_cv_exeext
2713 ac_exeext=$EXEEXT
2714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2715 /* end confdefs.h. */
2716 #include <stdio.h>
2717 int
2718 main ()
2719 {
2720 FILE *f = fopen ("conftest.out", "w");
2721 return ferror (f) || fclose (f) != 0;
2722
2723 ;
2724 return 0;
2725 }
2726 _ACEOF
2727 ac_clean_files="$ac_clean_files conftest.out"
2728 # Check that the compiler produces executables we can run. If not, either
2729 # the compiler is broken, or we cross compile.
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2731 $as_echo_n "checking whether we are cross compiling... " >&6; }
2732 if test "$cross_compiling" != yes; then
2733 { { ac_try="$ac_link"
2734 case "(($ac_try" in
2735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2736 *) ac_try_echo=$ac_try;;
2737 esac
2738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2739 $as_echo "$ac_try_echo"; } >&5
2740 (eval "$ac_link") 2>&5
2741 ac_status=$?
2742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2743 test $ac_status = 0; }
2744 if { ac_try='./conftest$ac_cv_exeext'
2745 { { case "(($ac_try" in
2746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2747 *) ac_try_echo=$ac_try;;
2748 esac
2749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2750 $as_echo "$ac_try_echo"; } >&5
2751 (eval "$ac_try") 2>&5
2752 ac_status=$?
2753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2754 test $ac_status = 0; }; }; then
2755 cross_compiling=no
2756 else
2757 if test "$cross_compiling" = maybe; then
2758 cross_compiling=yes
2759 else
2760 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2761 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2762 as_fn_error $? "cannot run C compiled programs.
2763 If you meant to cross compile, use \`--host'.
2764 See \`config.log' for more details" "$LINENO" 5; }
2765 fi
2766 fi
2767 fi
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2769 $as_echo "$cross_compiling" >&6; }
2770
2771 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2772 ac_clean_files=$ac_clean_files_save
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2774 $as_echo_n "checking for suffix of object files... " >&6; }
2775 if ${ac_cv_objext+:} false; then :
2776 $as_echo_n "(cached) " >&6
2777 else
2778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2779 /* end confdefs.h. */
2780
2781 int
2782 main ()
2783 {
2784
2785 ;
2786 return 0;
2787 }
2788 _ACEOF
2789 rm -f conftest.o conftest.obj
2790 if { { ac_try="$ac_compile"
2791 case "(($ac_try" in
2792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2793 *) ac_try_echo=$ac_try;;
2794 esac
2795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2796 $as_echo "$ac_try_echo"; } >&5
2797 (eval "$ac_compile") 2>&5
2798 ac_status=$?
2799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2800 test $ac_status = 0; }; then :
2801 for ac_file in conftest.o conftest.obj conftest.*; do
2802 test -f "$ac_file" || continue;
2803 case $ac_file in
2804 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2805 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2806 break;;
2807 esac
2808 done
2809 else
2810 $as_echo "$as_me: failed program was:" >&5
2811 sed 's/^/| /' conftest.$ac_ext >&5
2812
2813 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2814 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2815 as_fn_error $? "cannot compute suffix of object files: cannot compile
2816 See \`config.log' for more details" "$LINENO" 5; }
2817 fi
2818 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2819 fi
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2821 $as_echo "$ac_cv_objext" >&6; }
2822 OBJEXT=$ac_cv_objext
2823 ac_objext=$OBJEXT
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2825 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2826 if ${ac_cv_c_compiler_gnu+:} false; then :
2827 $as_echo_n "(cached) " >&6
2828 else
2829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2830 /* end confdefs.h. */
2831
2832 int
2833 main ()
2834 {
2835 #ifndef __GNUC__
2836 choke me
2837 #endif
2838
2839 ;
2840 return 0;
2841 }
2842 _ACEOF
2843 if ac_fn_c_try_compile "$LINENO"; then :
2844 ac_compiler_gnu=yes
2845 else
2846 ac_compiler_gnu=no
2847 fi
2848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2849 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2850
2851 fi
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2853 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2854 if test $ac_compiler_gnu = yes; then
2855 GCC=yes
2856 else
2857 GCC=
2858 fi
2859 ac_test_CFLAGS=${CFLAGS+set}
2860 ac_save_CFLAGS=$CFLAGS
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2862 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2863 if ${ac_cv_prog_cc_g+:} false; then :
2864 $as_echo_n "(cached) " >&6
2865 else
2866 ac_save_c_werror_flag=$ac_c_werror_flag
2867 ac_c_werror_flag=yes
2868 ac_cv_prog_cc_g=no
2869 CFLAGS="-g"
2870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2871 /* end confdefs.h. */
2872
2873 int
2874 main ()
2875 {
2876
2877 ;
2878 return 0;
2879 }
2880 _ACEOF
2881 if ac_fn_c_try_compile "$LINENO"; then :
2882 ac_cv_prog_cc_g=yes
2883 else
2884 CFLAGS=""
2885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2886 /* end confdefs.h. */
2887
2888 int
2889 main ()
2890 {
2891
2892 ;
2893 return 0;
2894 }
2895 _ACEOF
2896 if ac_fn_c_try_compile "$LINENO"; then :
2897
2898 else
2899 ac_c_werror_flag=$ac_save_c_werror_flag
2900 CFLAGS="-g"
2901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2902 /* end confdefs.h. */
2903
2904 int
2905 main ()
2906 {
2907
2908 ;
2909 return 0;
2910 }
2911 _ACEOF
2912 if ac_fn_c_try_compile "$LINENO"; then :
2913 ac_cv_prog_cc_g=yes
2914 fi
2915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2916 fi
2917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2918 fi
2919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2920 ac_c_werror_flag=$ac_save_c_werror_flag
2921 fi
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2923 $as_echo "$ac_cv_prog_cc_g" >&6; }
2924 if test "$ac_test_CFLAGS" = set; then
2925 CFLAGS=$ac_save_CFLAGS
2926 elif test $ac_cv_prog_cc_g = yes; then
2927 if test "$GCC" = yes; then
2928 CFLAGS="-g -O2"
2929 else
2930 CFLAGS="-g"
2931 fi
2932 else
2933 if test "$GCC" = yes; then
2934 CFLAGS="-O2"
2935 else
2936 CFLAGS=
2937 fi
2938 fi
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2940 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2941 if ${ac_cv_prog_cc_c89+:} false; then :
2942 $as_echo_n "(cached) " >&6
2943 else
2944 ac_cv_prog_cc_c89=no
2945 ac_save_CC=$CC
2946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2947 /* end confdefs.h. */
2948 #include <stdarg.h>
2949 #include <stdio.h>
2950 struct stat;
2951 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2952 struct buf { int x; };
2953 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2954 static char *e (p, i)
2955 char **p;
2956 int i;
2957 {
2958 return p[i];
2959 }
2960 static char *f (char * (*g) (char **, int), char **p, ...)
2961 {
2962 char *s;
2963 va_list v;
2964 va_start (v,p);
2965 s = g (p, va_arg (v,int));
2966 va_end (v);
2967 return s;
2968 }
2969
2970 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2971 function prototypes and stuff, but not '\xHH' hex character constants.
2972 These don't provoke an error unfortunately, instead are silently treated
2973 as 'x'. The following induces an error, until -std is added to get
2974 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2975 array size at least. It's necessary to write '\x00'==0 to get something
2976 that's true only with -std. */
2977 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2978
2979 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2980 inside strings and character constants. */
2981 #define FOO(x) 'x'
2982 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2983
2984 int test (int i, double x);
2985 struct s1 {int (*f) (int a);};
2986 struct s2 {int (*f) (double a);};
2987 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2988 int argc;
2989 char **argv;
2990 int
2991 main ()
2992 {
2993 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2994 ;
2995 return 0;
2996 }
2997 _ACEOF
2998 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2999 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3000 do
3001 CC="$ac_save_CC $ac_arg"
3002 if ac_fn_c_try_compile "$LINENO"; then :
3003 ac_cv_prog_cc_c89=$ac_arg
3004 fi
3005 rm -f core conftest.err conftest.$ac_objext
3006 test "x$ac_cv_prog_cc_c89" != "xno" && break
3007 done
3008 rm -f conftest.$ac_ext
3009 CC=$ac_save_CC
3010
3011 fi
3012 # AC_CACHE_VAL
3013 case "x$ac_cv_prog_cc_c89" in
3014 x)
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3016 $as_echo "none needed" >&6; } ;;
3017 xno)
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3019 $as_echo "unsupported" >&6; } ;;
3020 *)
3021 CC="$CC $ac_cv_prog_cc_c89"
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3023 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3024 esac
3025 if test "x$ac_cv_prog_cc_c89" != xno; then :
3026
3027 fi
3028
3029 ac_ext=c
3030 ac_cpp='$CPP $CPPFLAGS'
3031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3034
3035 ac_ext=c
3036 ac_cpp='$CPP $CPPFLAGS'
3037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3041 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3042 if ${am_cv_prog_cc_c_o+:} false; then :
3043 $as_echo_n "(cached) " >&6
3044 else
3045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3046 /* end confdefs.h. */
3047
3048 int
3049 main ()
3050 {
3051
3052 ;
3053 return 0;
3054 }
3055 _ACEOF
3056 # Make sure it works both with $CC and with simple cc.
3057 # Following AC_PROG_CC_C_O, we do the test twice because some
3058 # compilers refuse to overwrite an existing .o file with -o,
3059 # though they will create one.
3060 am_cv_prog_cc_c_o=yes
3061 for am_i in 1 2; do
3062 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3063 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3064 ac_status=$?
3065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3066 (exit $ac_status); } \
3067 && test -f conftest2.$ac_objext; then
3068 : OK
3069 else
3070 am_cv_prog_cc_c_o=no
3071 break
3072 fi
3073 done
3074 rm -f core conftest*
3075 unset am_i
3076 fi
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3078 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3079 if test "$am_cv_prog_cc_c_o" != yes; then
3080 # Losing compiler, so override with the script.
3081 # FIXME: It is wrong to rewrite CC.
3082 # But if we don't then we get into trouble of one sort or another.
3083 # A longer-term fix would be to have automake use am__CC in this case,
3084 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3085 CC="$am_aux_dir/compile $CC"
3086 fi
3087 ac_ext=c
3088 ac_cpp='$CPP $CPPFLAGS'
3089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3092
3093
3094
3095 ac_ext=c
3096 ac_cpp='$CPP $CPPFLAGS'
3097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3101 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3102 # On Suns, sometimes $CPP names a directory.
3103 if test -n "$CPP" && test -d "$CPP"; then
3104 CPP=
3105 fi
3106 if test -z "$CPP"; then
3107 if ${ac_cv_prog_CPP+:} false; then :
3108 $as_echo_n "(cached) " >&6
3109 else
3110 # Double quotes because CPP needs to be expanded
3111 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3112 do
3113 ac_preproc_ok=false
3114 for ac_c_preproc_warn_flag in '' yes
3115 do
3116 # Use a header file that comes with gcc, so configuring glibc
3117 # with a fresh cross-compiler works.
3118 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3119 # <limits.h> exists even on freestanding compilers.
3120 # On the NeXT, cc -E runs the code through the compiler's parser,
3121 # not just through cpp. "Syntax error" is here to catch this case.
3122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3123 /* end confdefs.h. */
3124 #ifdef __STDC__
3125 # include <limits.h>
3126 #else
3127 # include <assert.h>
3128 #endif
3129 Syntax error
3130 _ACEOF
3131 if ac_fn_c_try_cpp "$LINENO"; then :
3132
3133 else
3134 # Broken: fails on valid input.
3135 continue
3136 fi
3137 rm -f conftest.err conftest.i conftest.$ac_ext
3138
3139 # OK, works on sane cases. Now check whether nonexistent headers
3140 # can be detected and how.
3141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3142 /* end confdefs.h. */
3143 #include <ac_nonexistent.h>
3144 _ACEOF
3145 if ac_fn_c_try_cpp "$LINENO"; then :
3146 # Broken: success on invalid input.
3147 continue
3148 else
3149 # Passes both tests.
3150 ac_preproc_ok=:
3151 break
3152 fi
3153 rm -f conftest.err conftest.i conftest.$ac_ext
3154
3155 done
3156 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3157 rm -f conftest.i conftest.err conftest.$ac_ext
3158 if $ac_preproc_ok; then :
3159 break
3160 fi
3161
3162 done
3163 ac_cv_prog_CPP=$CPP
3164
3165 fi
3166 CPP=$ac_cv_prog_CPP
3167 else
3168 ac_cv_prog_CPP=$CPP
3169 fi
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3171 $as_echo "$CPP" >&6; }
3172 ac_preproc_ok=false
3173 for ac_c_preproc_warn_flag in '' yes
3174 do
3175 # Use a header file that comes with gcc, so configuring glibc
3176 # with a fresh cross-compiler works.
3177 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3178 # <limits.h> exists even on freestanding compilers.
3179 # On the NeXT, cc -E runs the code through the compiler's parser,
3180 # not just through cpp. "Syntax error" is here to catch this case.
3181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3182 /* end confdefs.h. */
3183 #ifdef __STDC__
3184 # include <limits.h>
3185 #else
3186 # include <assert.h>
3187 #endif
3188 Syntax error
3189 _ACEOF
3190 if ac_fn_c_try_cpp "$LINENO"; then :
3191
3192 else
3193 # Broken: fails on valid input.
3194 continue
3195 fi
3196 rm -f conftest.err conftest.i conftest.$ac_ext
3197
3198 # OK, works on sane cases. Now check whether nonexistent headers
3199 # can be detected and how.
3200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3201 /* end confdefs.h. */
3202 #include <ac_nonexistent.h>
3203 _ACEOF
3204 if ac_fn_c_try_cpp "$LINENO"; then :
3205 # Broken: success on invalid input.
3206 continue
3207 else
3208 # Passes both tests.
3209 ac_preproc_ok=:
3210 break
3211 fi
3212 rm -f conftest.err conftest.i conftest.$ac_ext
3213
3214 done
3215 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3216 rm -f conftest.i conftest.err conftest.$ac_ext
3217 if $ac_preproc_ok; then :
3218
3219 else
3220 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3221 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3222 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3223 See \`config.log' for more details" "$LINENO" 5; }
3224 fi
3225
3226 ac_ext=c
3227 ac_cpp='$CPP $CPPFLAGS'
3228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3231
3232
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3234 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3235 if ${ac_cv_path_GREP+:} false; then :
3236 $as_echo_n "(cached) " >&6
3237 else
3238 if test -z "$GREP"; then
3239 ac_path_GREP_found=false
3240 # Loop through the user's path and test for each of PROGNAME-LIST
3241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3242 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3243 do
3244 IFS=$as_save_IFS
3245 test -z "$as_dir" && as_dir=.
3246 for ac_prog in grep ggrep; do
3247 for ac_exec_ext in '' $ac_executable_extensions; do
3248 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3249 as_fn_executable_p "$ac_path_GREP" || continue
3250 # Check for GNU ac_path_GREP and select it if it is found.
3251 # Check for GNU $ac_path_GREP
3252 case `"$ac_path_GREP" --version 2>&1` in
3253 *GNU*)
3254 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3255 *)
3256 ac_count=0
3257 $as_echo_n 0123456789 >"conftest.in"
3258 while :
3259 do
3260 cat "conftest.in" "conftest.in" >"conftest.tmp"
3261 mv "conftest.tmp" "conftest.in"
3262 cp "conftest.in" "conftest.nl"
3263 $as_echo 'GREP' >> "conftest.nl"
3264 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3265 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3266 as_fn_arith $ac_count + 1 && ac_count=$as_val
3267 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3268 # Best one so far, save it but keep looking for a better one
3269 ac_cv_path_GREP="$ac_path_GREP"
3270 ac_path_GREP_max=$ac_count
3271 fi
3272 # 10*(2^10) chars as input seems more than enough
3273 test $ac_count -gt 10 && break
3274 done
3275 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3276 esac
3277
3278 $ac_path_GREP_found && break 3
3279 done
3280 done
3281 done
3282 IFS=$as_save_IFS
3283 if test -z "$ac_cv_path_GREP"; then
3284 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3285 fi
3286 else
3287 ac_cv_path_GREP=$GREP
3288 fi
3289
3290 fi
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3292 $as_echo "$ac_cv_path_GREP" >&6; }
3293 GREP="$ac_cv_path_GREP"
3294
3295
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3297 $as_echo_n "checking for egrep... " >&6; }
3298 if ${ac_cv_path_EGREP+:} false; then :
3299 $as_echo_n "(cached) " >&6
3300 else
3301 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3302 then ac_cv_path_EGREP="$GREP -E"
3303 else
3304 if test -z "$EGREP"; then
3305 ac_path_EGREP_found=false
3306 # Loop through the user's path and test for each of PROGNAME-LIST
3307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3308 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3309 do
3310 IFS=$as_save_IFS
3311 test -z "$as_dir" && as_dir=.
3312 for ac_prog in egrep; do
3313 for ac_exec_ext in '' $ac_executable_extensions; do
3314 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3315 as_fn_executable_p "$ac_path_EGREP" || continue
3316 # Check for GNU ac_path_EGREP and select it if it is found.
3317 # Check for GNU $ac_path_EGREP
3318 case `"$ac_path_EGREP" --version 2>&1` in
3319 *GNU*)
3320 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3321 *)
3322 ac_count=0
3323 $as_echo_n 0123456789 >"conftest.in"
3324 while :
3325 do
3326 cat "conftest.in" "conftest.in" >"conftest.tmp"
3327 mv "conftest.tmp" "conftest.in"
3328 cp "conftest.in" "conftest.nl"
3329 $as_echo 'EGREP' >> "conftest.nl"
3330 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3331 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3332 as_fn_arith $ac_count + 1 && ac_count=$as_val
3333 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3334 # Best one so far, save it but keep looking for a better one
3335 ac_cv_path_EGREP="$ac_path_EGREP"
3336 ac_path_EGREP_max=$ac_count
3337 fi
3338 # 10*(2^10) chars as input seems more than enough
3339 test $ac_count -gt 10 && break
3340 done
3341 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3342 esac
3343
3344 $ac_path_EGREP_found && break 3
3345 done
3346 done
3347 done
3348 IFS=$as_save_IFS
3349 if test -z "$ac_cv_path_EGREP"; then
3350 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3351 fi
3352 else
3353 ac_cv_path_EGREP=$EGREP
3354 fi
3355
3356 fi
3357 fi
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3359 $as_echo "$ac_cv_path_EGREP" >&6; }
3360 EGREP="$ac_cv_path_EGREP"
3361
3362
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3364 $as_echo_n "checking for ANSI C header files... " >&6; }
3365 if ${ac_cv_header_stdc+:} false; then :
3366 $as_echo_n "(cached) " >&6
3367 else
3368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3369 /* end confdefs.h. */
3370 #include <stdlib.h>
3371 #include <stdarg.h>
3372 #include <string.h>
3373 #include <float.h>
3374
3375 int
3376 main ()
3377 {
3378
3379 ;
3380 return 0;
3381 }
3382 _ACEOF
3383 if ac_fn_c_try_compile "$LINENO"; then :
3384 ac_cv_header_stdc=yes
3385 else
3386 ac_cv_header_stdc=no
3387 fi
3388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3389
3390 if test $ac_cv_header_stdc = yes; then
3391 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3393 /* end confdefs.h. */
3394 #include <string.h>
3395
3396 _ACEOF
3397 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3398 $EGREP "memchr" >/dev/null 2>&1; then :
3399
3400 else
3401 ac_cv_header_stdc=no
3402 fi
3403 rm -f conftest*
3404
3405 fi
3406
3407 if test $ac_cv_header_stdc = yes; then
3408 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3410 /* end confdefs.h. */
3411 #include <stdlib.h>
3412
3413 _ACEOF
3414 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3415 $EGREP "free" >/dev/null 2>&1; then :
3416
3417 else
3418 ac_cv_header_stdc=no
3419 fi
3420 rm -f conftest*
3421
3422 fi
3423
3424 if test $ac_cv_header_stdc = yes; then
3425 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3426 if test "$cross_compiling" = yes; then :
3427 :
3428 else
3429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3430 /* end confdefs.h. */
3431 #include <ctype.h>
3432 #include <stdlib.h>
3433 #if ((' ' & 0x0FF) == 0x020)
3434 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3435 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3436 #else
3437 # define ISLOWER(c) \
3438 (('a' <= (c) && (c) <= 'i') \
3439 || ('j' <= (c) && (c) <= 'r') \
3440 || ('s' <= (c) && (c) <= 'z'))
3441 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3442 #endif
3443
3444 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3445 int
3446 main ()
3447 {
3448 int i;
3449 for (i = 0; i < 256; i++)
3450 if (XOR (islower (i), ISLOWER (i))
3451 || toupper (i) != TOUPPER (i))
3452 return 2;
3453 return 0;
3454 }
3455 _ACEOF
3456 if ac_fn_c_try_run "$LINENO"; then :
3457
3458 else
3459 ac_cv_header_stdc=no
3460 fi
3461 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3462 conftest.$ac_objext conftest.beam conftest.$ac_ext
3463 fi
3464
3465 fi
3466 fi
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3468 $as_echo "$ac_cv_header_stdc" >&6; }
3469 if test $ac_cv_header_stdc = yes; then
3470
3471 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3472
3473 fi
3474
3475 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3476 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3477 inttypes.h stdint.h unistd.h
3478 do :
3479 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3480 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3481 "
3482 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3483 cat >>confdefs.h <<_ACEOF
3484 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3485 _ACEOF
3486
3487 fi
3488
3489 done
3490
3491
3492
3493 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3494 if test "x$ac_cv_header_minix_config_h" = xyes; then :
3495 MINIX=yes
3496 else
3497 MINIX=
3498 fi
3499
3500
3501 if test "$MINIX" = yes; then
3502
3503 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3504
3505
3506 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3507
3508
3509 $as_echo "#define _MINIX 1" >>confdefs.h
3510
3511 fi
3512
3513
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3515 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3516 if ${ac_cv_safe_to_define___extensions__+:} false; then :
3517 $as_echo_n "(cached) " >&6
3518 else
3519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520 /* end confdefs.h. */
3521
3522 # define __EXTENSIONS__ 1
3523 $ac_includes_default
3524 int
3525 main ()
3526 {
3527
3528 ;
3529 return 0;
3530 }
3531 _ACEOF
3532 if ac_fn_c_try_compile "$LINENO"; then :
3533 ac_cv_safe_to_define___extensions__=yes
3534 else
3535 ac_cv_safe_to_define___extensions__=no
3536 fi
3537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3538 fi
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3540 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3541 test $ac_cv_safe_to_define___extensions__ = yes &&
3542 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3543
3544 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3545
3546 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3547
3548 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3549
3550 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3551
3552
3553 test "$program_prefix" != NONE &&
3554 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3555 # Use a double $ so make ignores it.
3556 test "$program_suffix" != NONE &&
3557 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3558 # Double any \ or $.
3559 # By default was `s,x,x', remove it if useless.
3560 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3561 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3562
3563 # Find a good install program. We prefer a C program (faster),
3564 # so one script is as good as another. But avoid the broken or
3565 # incompatible versions:
3566 # SysV /etc/install, /usr/sbin/install
3567 # SunOS /usr/etc/install
3568 # IRIX /sbin/install
3569 # AIX /bin/install
3570 # AmigaOS /C/install, which installs bootblocks on floppy discs
3571 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3572 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3573 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3574 # OS/2's system install, which has a completely different semantic
3575 # ./install, which can be erroneously created by make from ./install.sh.
3576 # Reject install programs that cannot install multiple files.
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3578 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3579 if test -z "$INSTALL"; then
3580 if ${ac_cv_path_install+:} false; then :
3581 $as_echo_n "(cached) " >&6
3582 else
3583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3584 for as_dir in $PATH
3585 do
3586 IFS=$as_save_IFS
3587 test -z "$as_dir" && as_dir=.
3588 # Account for people who put trailing slashes in PATH elements.
3589 case $as_dir/ in #((
3590 ./ | .// | /[cC]/* | \
3591 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3592 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3593 /usr/ucb/* ) ;;
3594 *)
3595 # OSF1 and SCO ODT 3.0 have their own names for install.
3596 # Don't use installbsd from OSF since it installs stuff as root
3597 # by default.
3598 for ac_prog in ginstall scoinst install; do
3599 for ac_exec_ext in '' $ac_executable_extensions; do
3600 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3601 if test $ac_prog = install &&
3602 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3603 # AIX install. It has an incompatible calling convention.
3604 :
3605 elif test $ac_prog = install &&
3606 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3607 # program-specific install script used by HP pwplus--don't use.
3608 :
3609 else
3610 rm -rf conftest.one conftest.two conftest.dir
3611 echo one > conftest.one
3612 echo two > conftest.two
3613 mkdir conftest.dir
3614 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3615 test -s conftest.one && test -s conftest.two &&
3616 test -s conftest.dir/conftest.one &&
3617 test -s conftest.dir/conftest.two
3618 then
3619 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3620 break 3
3621 fi
3622 fi
3623 fi
3624 done
3625 done
3626 ;;
3627 esac
3628
3629 done
3630 IFS=$as_save_IFS
3631
3632 rm -rf conftest.one conftest.two conftest.dir
3633
3634 fi
3635 if test "${ac_cv_path_install+set}" = set; then
3636 INSTALL=$ac_cv_path_install
3637 else
3638 # As a last resort, use the slow shell script. Don't cache a
3639 # value for INSTALL within a source directory, because that will
3640 # break other packages using the cache if that directory is
3641 # removed, or if the value is a relative name.
3642 INSTALL=$ac_install_sh
3643 fi
3644 fi
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3646 $as_echo "$INSTALL" >&6; }
3647
3648 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3649 # It thinks the first close brace ends the variable substitution.
3650 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3651
3652 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3653
3654 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3655
3656
3657
3658
3659
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
3661 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
3662 if ${ac_cv_c_bigendian+:} false; then :
3663 $as_echo_n "(cached) " >&6
3664 else
3665 ac_cv_c_bigendian=unknown
3666 # See if we're dealing with a universal compiler.
3667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3668 /* end confdefs.h. */
3669 #ifndef __APPLE_CC__
3670 not a universal capable compiler
3671 #endif
3672 typedef int dummy;
3673
3674 _ACEOF
3675 if ac_fn_c_try_compile "$LINENO"; then :
3676
3677 # Check for potential -arch flags. It is not universal unless
3678 # there are at least two -arch flags with different values.
3679 ac_arch=
3680 ac_prev=
3681 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
3682 if test -n "$ac_prev"; then
3683 case $ac_word in
3684 i?86 | x86_64 | ppc | ppc64)
3685 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
3686 ac_arch=$ac_word
3687 else
3688 ac_cv_c_bigendian=universal
3689 break
3690 fi
3691 ;;
3692 esac
3693 ac_prev=
3694 elif test "x$ac_word" = "x-arch"; then
3695 ac_prev=arch
3696 fi
3697 done
3698 fi
3699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3700 if test $ac_cv_c_bigendian = unknown; then
3701 # See if sys/param.h defines the BYTE_ORDER macro.
3702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3703 /* end confdefs.h. */
3704 #include <sys/types.h>
3705 #include <sys/param.h>
3706
3707 int
3708 main ()
3709 {
3710 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
3711 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
3712 && LITTLE_ENDIAN)
3713 bogus endian macros
3714 #endif
3715
3716 ;
3717 return 0;
3718 }
3719 _ACEOF
3720 if ac_fn_c_try_compile "$LINENO"; then :
3721 # It does; now see whether it defined to BIG_ENDIAN or not.
3722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3723 /* end confdefs.h. */
3724 #include <sys/types.h>
3725 #include <sys/param.h>
3726
3727 int
3728 main ()
3729 {
3730 #if BYTE_ORDER != BIG_ENDIAN
3731 not big endian
3732 #endif
3733
3734 ;
3735 return 0;
3736 }
3737 _ACEOF
3738 if ac_fn_c_try_compile "$LINENO"; then :
3739 ac_cv_c_bigendian=yes
3740 else
3741 ac_cv_c_bigendian=no
3742 fi
3743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3744 fi
3745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3746 fi
3747 if test $ac_cv_c_bigendian = unknown; then
3748 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
3749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3750 /* end confdefs.h. */
3751 #include <limits.h>
3752
3753 int
3754 main ()
3755 {
3756 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
3757 bogus endian macros
3758 #endif
3759
3760 ;
3761 return 0;
3762 }
3763 _ACEOF
3764 if ac_fn_c_try_compile "$LINENO"; then :
3765 # It does; now see whether it defined to _BIG_ENDIAN or not.
3766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3767 /* end confdefs.h. */
3768 #include <limits.h>
3769
3770 int
3771 main ()
3772 {
3773 #ifndef _BIG_ENDIAN
3774 not big endian
3775 #endif
3776
3777 ;
3778 return 0;
3779 }
3780 _ACEOF
3781 if ac_fn_c_try_compile "$LINENO"; then :
3782 ac_cv_c_bigendian=yes
3783 else
3784 ac_cv_c_bigendian=no
3785 fi
3786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3787 fi
3788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3789 fi
3790 if test $ac_cv_c_bigendian = unknown; then
3791 # Compile a test program.
3792 if test "$cross_compiling" = yes; then :
3793 # Try to guess by grepping values from an object file.
3794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3795 /* end confdefs.h. */
3796 short int ascii_mm[] =
3797 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
3798 short int ascii_ii[] =
3799 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
3800 int use_ascii (int i) {
3801 return ascii_mm[i] + ascii_ii[i];
3802 }
3803 short int ebcdic_ii[] =
3804 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
3805 short int ebcdic_mm[] =
3806 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
3807 int use_ebcdic (int i) {
3808 return ebcdic_mm[i] + ebcdic_ii[i];
3809 }
3810 extern int foo;
3811
3812 int
3813 main ()
3814 {
3815 return use_ascii (foo) == use_ebcdic (foo);
3816 ;
3817 return 0;
3818 }
3819 _ACEOF
3820 if ac_fn_c_try_compile "$LINENO"; then :
3821 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
3822 ac_cv_c_bigendian=yes
3823 fi
3824 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
3825 if test "$ac_cv_c_bigendian" = unknown; then
3826 ac_cv_c_bigendian=no
3827 else
3828 # finding both strings is unlikely to happen, but who knows?
3829 ac_cv_c_bigendian=unknown
3830 fi
3831 fi
3832 fi
3833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3834 else
3835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3836 /* end confdefs.h. */
3837 $ac_includes_default
3838 int
3839 main ()
3840 {
3841
3842 /* Are we little or big endian? From Harbison&Steele. */
3843 union
3844 {
3845 long int l;
3846 char c[sizeof (long int)];
3847 } u;
3848 u.l = 1;
3849 return u.c[sizeof (long int) - 1] == 1;
3850
3851 ;
3852 return 0;
3853 }
3854 _ACEOF
3855 if ac_fn_c_try_run "$LINENO"; then :
3856 ac_cv_c_bigendian=no
3857 else
3858 ac_cv_c_bigendian=yes
3859 fi
3860 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3861 conftest.$ac_objext conftest.beam conftest.$ac_ext
3862 fi
3863
3864 fi
3865 fi
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
3867 $as_echo "$ac_cv_c_bigendian" >&6; }
3868 case $ac_cv_c_bigendian in #(
3869 yes)
3870 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
3871 ;; #(
3872 no)
3873 ;; #(
3874 universal)
3875
3876 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
3877
3878 ;; #(
3879 *)
3880 as_fn_error $? "unknown endianness
3881 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
3882 esac
3883
3884
3885
3886
3887 if test "x$cross_compiling" = "xno"; then
3888 : "${CC_FOR_BUILD:=\$(CC)}"
3889 : "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
3890 : "${LDFLAGS_FOR_BUILD:=\$(LDFLAGS)}"
3891 else
3892 : "${CC_FOR_BUILD:=gcc}"
3893 : "${CFLAGS_FOR_BUILD:=-g -O}"
3894 : "${LDLFAGS_FOR_BUILD:=}"
3895 fi
3896
3897
3898
3899
3900
3901 if test -n "$ac_tool_prefix"; then
3902 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3903 set dummy ${ac_tool_prefix}ar; ac_word=$2
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3905 $as_echo_n "checking for $ac_word... " >&6; }
3906 if ${ac_cv_prog_AR+:} false; then :
3907 $as_echo_n "(cached) " >&6
3908 else
3909 if test -n "$AR"; then
3910 ac_cv_prog_AR="$AR" # Let the user override the test.
3911 else
3912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3913 for as_dir in $PATH
3914 do
3915 IFS=$as_save_IFS
3916 test -z "$as_dir" && as_dir=.
3917 for ac_exec_ext in '' $ac_executable_extensions; do
3918 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3919 ac_cv_prog_AR="${ac_tool_prefix}ar"
3920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3921 break 2
3922 fi
3923 done
3924 done
3925 IFS=$as_save_IFS
3926
3927 fi
3928 fi
3929 AR=$ac_cv_prog_AR
3930 if test -n "$AR"; then
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3932 $as_echo "$AR" >&6; }
3933 else
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3935 $as_echo "no" >&6; }
3936 fi
3937
3938
3939 fi
3940 if test -z "$ac_cv_prog_AR"; then
3941 ac_ct_AR=$AR
3942 # Extract the first word of "ar", so it can be a program name with args.
3943 set dummy ar; ac_word=$2
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3945 $as_echo_n "checking for $ac_word... " >&6; }
3946 if ${ac_cv_prog_ac_ct_AR+:} false; then :
3947 $as_echo_n "(cached) " >&6
3948 else
3949 if test -n "$ac_ct_AR"; then
3950 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3951 else
3952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3953 for as_dir in $PATH
3954 do
3955 IFS=$as_save_IFS
3956 test -z "$as_dir" && as_dir=.
3957 for ac_exec_ext in '' $ac_executable_extensions; do
3958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3959 ac_cv_prog_ac_ct_AR="ar"
3960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3961 break 2
3962 fi
3963 done
3964 done
3965 IFS=$as_save_IFS
3966
3967 fi
3968 fi
3969 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3970 if test -n "$ac_ct_AR"; then
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3972 $as_echo "$ac_ct_AR" >&6; }
3973 else
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3975 $as_echo "no" >&6; }
3976 fi
3977
3978 if test "x$ac_ct_AR" = x; then
3979 AR=""
3980 else
3981 case $cross_compiling:$ac_tool_warned in
3982 yes:)
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3984 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3985 ac_tool_warned=yes ;;
3986 esac
3987 AR=$ac_ct_AR
3988 fi
3989 else
3990 AR="$ac_cv_prog_AR"
3991 fi
3992
3993 if test -n "$ac_tool_prefix"; then
3994 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3995 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3997 $as_echo_n "checking for $ac_word... " >&6; }
3998 if ${ac_cv_prog_RANLIB+:} false; then :
3999 $as_echo_n "(cached) " >&6
4000 else
4001 if test -n "$RANLIB"; then
4002 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4003 else
4004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4005 for as_dir in $PATH
4006 do
4007 IFS=$as_save_IFS
4008 test -z "$as_dir" && as_dir=.
4009 for ac_exec_ext in '' $ac_executable_extensions; do
4010 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4011 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4013 break 2
4014 fi
4015 done
4016 done
4017 IFS=$as_save_IFS
4018
4019 fi
4020 fi
4021 RANLIB=$ac_cv_prog_RANLIB
4022 if test -n "$RANLIB"; then
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4024 $as_echo "$RANLIB" >&6; }
4025 else
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4027 $as_echo "no" >&6; }
4028 fi
4029
4030
4031 fi
4032 if test -z "$ac_cv_prog_RANLIB"; then
4033 ac_ct_RANLIB=$RANLIB
4034 # Extract the first word of "ranlib", so it can be a program name with args.
4035 set dummy ranlib; ac_word=$2
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4037 $as_echo_n "checking for $ac_word... " >&6; }
4038 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4039 $as_echo_n "(cached) " >&6
4040 else
4041 if test -n "$ac_ct_RANLIB"; then
4042 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4043 else
4044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4045 for as_dir in $PATH
4046 do
4047 IFS=$as_save_IFS
4048 test -z "$as_dir" && as_dir=.
4049 for ac_exec_ext in '' $ac_executable_extensions; do
4050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4051 ac_cv_prog_ac_ct_RANLIB="ranlib"
4052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4053 break 2
4054 fi
4055 done
4056 done
4057 IFS=$as_save_IFS
4058
4059 fi
4060 fi
4061 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4062 if test -n "$ac_ct_RANLIB"; then
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4064 $as_echo "$ac_ct_RANLIB" >&6; }
4065 else
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4067 $as_echo "no" >&6; }
4068 fi
4069
4070 if test "x$ac_ct_RANLIB" = x; then
4071 RANLIB=":"
4072 else
4073 case $cross_compiling:$ac_tool_warned in
4074 yes:)
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4076 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4077 ac_tool_warned=yes ;;
4078 esac
4079 RANLIB=$ac_ct_RANLIB
4080 fi
4081 else
4082 RANLIB="$ac_cv_prog_RANLIB"
4083 fi
4084
4085
4086 # Require C11 or newer. Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
4087 # AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
4088 # is C99. So handle it ourselves.
4089 :
4090 C_DIALECT=
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
4092 $as_echo_n "checking whether C11 is supported by default... " >&6; }
4093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4094 /* end confdefs.h. */
4095
4096 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4097 # error "C11 support not found"
4098 #endif
4099
4100 _ACEOF
4101 if ac_fn_c_try_compile "$LINENO"; then :
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4103 $as_echo "yes" >&6; }
4104 else
4105
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4107 $as_echo "no" >&6; }
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
4109 $as_echo_n "checking for -std=c11 support... " >&6; }
4110 ac_save_CC="$CC"
4111 CC="$CC -std=c11"
4112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4113 /* end confdefs.h. */
4114
4115 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4116 # error "C11 support not found"
4117 #endif
4118
4119 _ACEOF
4120 if ac_fn_c_try_compile "$LINENO"; then :
4121
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4123 $as_echo "yes" >&6; }
4124 CC="$ac_save_CC"
4125 C_DIALECT="-std=c11"
4126
4127 else
4128 as_fn_error $? "C11 is required" "$LINENO" 5
4129 fi
4130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4131 fi
4132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4133
4134
4135
4136
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4138 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4139 # Check whether --enable-maintainer-mode was given.
4140 if test "${enable_maintainer_mode+set}" = set; then :
4141 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4142 else
4143 USE_MAINTAINER_MODE=no
4144 fi
4145
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4147 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4148 if test $USE_MAINTAINER_MODE = yes; then
4149 MAINTAINER_MODE_TRUE=
4150 MAINTAINER_MODE_FALSE='#'
4151 else
4152 MAINTAINER_MODE_TRUE='#'
4153 MAINTAINER_MODE_FALSE=
4154 fi
4155
4156 MAINT=$MAINTAINER_MODE_TRUE
4157
4158
4159 am__api_version='1.15'
4160
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4162 $as_echo_n "checking whether build environment is sane... " >&6; }
4163 # Reject unsafe characters in $srcdir or the absolute working directory
4164 # name. Accept space and tab only in the latter.
4165 am_lf='
4166 '
4167 case `pwd` in
4168 *[\\\"\#\$\&\'\`$am_lf]*)
4169 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
4170 esac
4171 case $srcdir in
4172 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
4173 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4174 esac
4175
4176 # Do 'set' in a subshell so we don't clobber the current shell's
4177 # arguments. Must try -L first in case configure is actually a
4178 # symlink; some systems play weird games with the mod time of symlinks
4179 # (eg FreeBSD returns the mod time of the symlink's containing
4180 # directory).
4181 if (
4182 am_has_slept=no
4183 for am_try in 1 2; do
4184 echo "timestamp, slept: $am_has_slept" > conftest.file
4185 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4186 if test "$*" = "X"; then
4187 # -L didn't work.
4188 set X `ls -t "$srcdir/configure" conftest.file`
4189 fi
4190 if test "$*" != "X $srcdir/configure conftest.file" \
4191 && test "$*" != "X conftest.file $srcdir/configure"; then
4192
4193 # If neither matched, then we have a broken ls. This can happen
4194 # if, for instance, CONFIG_SHELL is bash and it inherits a
4195 # broken ls alias from the environment. This has actually
4196 # happened. Such a system could not be considered "sane".
4197 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
4198 alias in your environment" "$LINENO" 5
4199 fi
4200 if test "$2" = conftest.file || test $am_try -eq 2; then
4201 break
4202 fi
4203 # Just in case.
4204 sleep 1
4205 am_has_slept=yes
4206 done
4207 test "$2" = conftest.file
4208 )
4209 then
4210 # Ok.
4211 :
4212 else
4213 as_fn_error $? "newly created file is older than distributed files!
4214 Check your system clock" "$LINENO" 5
4215 fi
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4217 $as_echo "yes" >&6; }
4218 # If we didn't sleep, we still need to ensure time stamps of config.status and
4219 # generated files are strictly newer.
4220 am_sleep_pid=
4221 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
4222 ( sleep 1 ) &
4223 am_sleep_pid=$!
4224 fi
4225
4226 rm -f conftest.file
4227
4228 if test x"${MISSING+set}" != xset; then
4229 case $am_aux_dir in
4230 *\ * | *\ *)
4231 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
4232 *)
4233 MISSING="\${SHELL} $am_aux_dir/missing" ;;
4234 esac
4235 fi
4236 # Use eval to expand $SHELL
4237 if eval "$MISSING --is-lightweight"; then
4238 am_missing_run="$MISSING "
4239 else
4240 am_missing_run=
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4242 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4243 fi
4244
4245 if test x"${install_sh+set}" != xset; then
4246 case $am_aux_dir in
4247 *\ * | *\ *)
4248 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4249 *)
4250 install_sh="\${SHELL} $am_aux_dir/install-sh"
4251 esac
4252 fi
4253
4254 # Installed binaries are usually stripped using 'strip' when the user
4255 # run "make install-strip". However 'strip' might not be the right
4256 # tool to use in cross-compilation environments, therefore Automake
4257 # will honor the 'STRIP' environment variable to overrule this program.
4258 if test "$cross_compiling" != no; then
4259 if test -n "$ac_tool_prefix"; then
4260 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4261 set dummy ${ac_tool_prefix}strip; ac_word=$2
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4263 $as_echo_n "checking for $ac_word... " >&6; }
4264 if ${ac_cv_prog_STRIP+:} false; then :
4265 $as_echo_n "(cached) " >&6
4266 else
4267 if test -n "$STRIP"; then
4268 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4269 else
4270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4271 for as_dir in $PATH
4272 do
4273 IFS=$as_save_IFS
4274 test -z "$as_dir" && as_dir=.
4275 for ac_exec_ext in '' $ac_executable_extensions; do
4276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4277 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4279 break 2
4280 fi
4281 done
4282 done
4283 IFS=$as_save_IFS
4284
4285 fi
4286 fi
4287 STRIP=$ac_cv_prog_STRIP
4288 if test -n "$STRIP"; then
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4290 $as_echo "$STRIP" >&6; }
4291 else
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4293 $as_echo "no" >&6; }
4294 fi
4295
4296
4297 fi
4298 if test -z "$ac_cv_prog_STRIP"; then
4299 ac_ct_STRIP=$STRIP
4300 # Extract the first word of "strip", so it can be a program name with args.
4301 set dummy strip; ac_word=$2
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4303 $as_echo_n "checking for $ac_word... " >&6; }
4304 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4305 $as_echo_n "(cached) " >&6
4306 else
4307 if test -n "$ac_ct_STRIP"; then
4308 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4309 else
4310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4311 for as_dir in $PATH
4312 do
4313 IFS=$as_save_IFS
4314 test -z "$as_dir" && as_dir=.
4315 for ac_exec_ext in '' $ac_executable_extensions; do
4316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4317 ac_cv_prog_ac_ct_STRIP="strip"
4318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4319 break 2
4320 fi
4321 done
4322 done
4323 IFS=$as_save_IFS
4324
4325 fi
4326 fi
4327 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4328 if test -n "$ac_ct_STRIP"; then
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4330 $as_echo "$ac_ct_STRIP" >&6; }
4331 else
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4333 $as_echo "no" >&6; }
4334 fi
4335
4336 if test "x$ac_ct_STRIP" = x; then
4337 STRIP=":"
4338 else
4339 case $cross_compiling:$ac_tool_warned in
4340 yes:)
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4342 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4343 ac_tool_warned=yes ;;
4344 esac
4345 STRIP=$ac_ct_STRIP
4346 fi
4347 else
4348 STRIP="$ac_cv_prog_STRIP"
4349 fi
4350
4351 fi
4352 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4353
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4355 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4356 if test -z "$MKDIR_P"; then
4357 if ${ac_cv_path_mkdir+:} false; then :
4358 $as_echo_n "(cached) " >&6
4359 else
4360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4361 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4362 do
4363 IFS=$as_save_IFS
4364 test -z "$as_dir" && as_dir=.
4365 for ac_prog in mkdir gmkdir; do
4366 for ac_exec_ext in '' $ac_executable_extensions; do
4367 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
4368 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4369 'mkdir (GNU coreutils) '* | \
4370 'mkdir (coreutils) '* | \
4371 'mkdir (fileutils) '4.1*)
4372 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4373 break 3;;
4374 esac
4375 done
4376 done
4377 done
4378 IFS=$as_save_IFS
4379
4380 fi
4381
4382 test -d ./--version && rmdir ./--version
4383 if test "${ac_cv_path_mkdir+set}" = set; then
4384 MKDIR_P="$ac_cv_path_mkdir -p"
4385 else
4386 # As a last resort, use the slow shell script. Don't cache a
4387 # value for MKDIR_P within a source directory, because that will
4388 # break other packages using the cache if that directory is
4389 # removed, or if the value is a relative name.
4390 MKDIR_P="$ac_install_sh -d"
4391 fi
4392 fi
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4394 $as_echo "$MKDIR_P" >&6; }
4395
4396 for ac_prog in gawk mawk nawk awk
4397 do
4398 # Extract the first word of "$ac_prog", so it can be a program name with args.
4399 set dummy $ac_prog; ac_word=$2
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4401 $as_echo_n "checking for $ac_word... " >&6; }
4402 if ${ac_cv_prog_AWK+:} false; then :
4403 $as_echo_n "(cached) " >&6
4404 else
4405 if test -n "$AWK"; then
4406 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4407 else
4408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4409 for as_dir in $PATH
4410 do
4411 IFS=$as_save_IFS
4412 test -z "$as_dir" && as_dir=.
4413 for ac_exec_ext in '' $ac_executable_extensions; do
4414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4415 ac_cv_prog_AWK="$ac_prog"
4416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4417 break 2
4418 fi
4419 done
4420 done
4421 IFS=$as_save_IFS
4422
4423 fi
4424 fi
4425 AWK=$ac_cv_prog_AWK
4426 if test -n "$AWK"; then
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4428 $as_echo "$AWK" >&6; }
4429 else
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4431 $as_echo "no" >&6; }
4432 fi
4433
4434
4435 test -n "$AWK" && break
4436 done
4437
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4439 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4440 set x ${MAKE-make}
4441 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4442 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4443 $as_echo_n "(cached) " >&6
4444 else
4445 cat >conftest.make <<\_ACEOF
4446 SHELL = /bin/sh
4447 all:
4448 @echo '@@@%%%=$(MAKE)=@@@%%%'
4449 _ACEOF
4450 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4451 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4452 *@@@%%%=?*=@@@%%%*)
4453 eval ac_cv_prog_make_${ac_make}_set=yes;;
4454 *)
4455 eval ac_cv_prog_make_${ac_make}_set=no;;
4456 esac
4457 rm -f conftest.make
4458 fi
4459 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4461 $as_echo "yes" >&6; }
4462 SET_MAKE=
4463 else
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4465 $as_echo "no" >&6; }
4466 SET_MAKE="MAKE=${MAKE-make}"
4467 fi
4468
4469 rm -rf .tst 2>/dev/null
4470 mkdir .tst 2>/dev/null
4471 if test -d .tst; then
4472 am__leading_dot=.
4473 else
4474 am__leading_dot=_
4475 fi
4476 rmdir .tst 2>/dev/null
4477
4478 DEPDIR="${am__leading_dot}deps"
4479
4480 ac_config_commands="$ac_config_commands depfiles"
4481
4482
4483 am_make=${MAKE-make}
4484 cat > confinc << 'END'
4485 am__doit:
4486 @echo this is the am__doit target
4487 .PHONY: am__doit
4488 END
4489 # If we don't find an include directive, just comment out the code.
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4491 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4492 am__include="#"
4493 am__quote=
4494 _am_result=none
4495 # First try GNU make style include.
4496 echo "include confinc" > confmf
4497 # Ignore all kinds of additional output from 'make'.
4498 case `$am_make -s -f confmf 2> /dev/null` in #(
4499 *the\ am__doit\ target*)
4500 am__include=include
4501 am__quote=
4502 _am_result=GNU
4503 ;;
4504 esac
4505 # Now try BSD make style include.
4506 if test "$am__include" = "#"; then
4507 echo '.include "confinc"' > confmf
4508 case `$am_make -s -f confmf 2> /dev/null` in #(
4509 *the\ am__doit\ target*)
4510 am__include=.include
4511 am__quote="\""
4512 _am_result=BSD
4513 ;;
4514 esac
4515 fi
4516
4517
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4519 $as_echo "$_am_result" >&6; }
4520 rm -f confinc confmf
4521
4522 # Check whether --enable-dependency-tracking was given.
4523 if test "${enable_dependency_tracking+set}" = set; then :
4524 enableval=$enable_dependency_tracking;
4525 fi
4526
4527 if test "x$enable_dependency_tracking" != xno; then
4528 am_depcomp="$ac_aux_dir/depcomp"
4529 AMDEPBACKSLASH='\'
4530 am__nodep='_no'
4531 fi
4532 if test "x$enable_dependency_tracking" != xno; then
4533 AMDEP_TRUE=
4534 AMDEP_FALSE='#'
4535 else
4536 AMDEP_TRUE='#'
4537 AMDEP_FALSE=
4538 fi
4539
4540
4541 # Check whether --enable-silent-rules was given.
4542 if test "${enable_silent_rules+set}" = set; then :
4543 enableval=$enable_silent_rules;
4544 fi
4545
4546 case $enable_silent_rules in # (((
4547 yes) AM_DEFAULT_VERBOSITY=0;;
4548 no) AM_DEFAULT_VERBOSITY=1;;
4549 *) AM_DEFAULT_VERBOSITY=1;;
4550 esac
4551 am_make=${MAKE-make}
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4553 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4554 if ${am_cv_make_support_nested_variables+:} false; then :
4555 $as_echo_n "(cached) " >&6
4556 else
4557 if $as_echo 'TRUE=$(BAR$(V))
4558 BAR0=false
4559 BAR1=true
4560 V=1
4561 am__doit:
4562 @$(TRUE)
4563 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4564 am_cv_make_support_nested_variables=yes
4565 else
4566 am_cv_make_support_nested_variables=no
4567 fi
4568 fi
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4570 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4571 if test $am_cv_make_support_nested_variables = yes; then
4572 AM_V='$(V)'
4573 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4574 else
4575 AM_V=$AM_DEFAULT_VERBOSITY
4576 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4577 fi
4578 AM_BACKSLASH='\'
4579
4580 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4581 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4582 # is not polluted with repeated "-I."
4583 am__isrc=' -I$(srcdir)'
4584 # test to see if srcdir already configured
4585 if test -f $srcdir/config.status; then
4586 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4587 fi
4588 fi
4589
4590 # test whether we have cygpath
4591 if test -z "$CYGPATH_W"; then
4592 if (cygpath --version) >/dev/null 2>/dev/null; then
4593 CYGPATH_W='cygpath -w'
4594 else
4595 CYGPATH_W=echo
4596 fi
4597 fi
4598
4599
4600 # Define the identity of the package.
4601 PACKAGE='sim'
4602 VERSION='0'
4603
4604
4605 cat >>confdefs.h <<_ACEOF
4606 #define PACKAGE "$PACKAGE"
4607 _ACEOF
4608
4609
4610 cat >>confdefs.h <<_ACEOF
4611 #define VERSION "$VERSION"
4612 _ACEOF
4613
4614 # Some tools Automake needs.
4615
4616 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4617
4618
4619 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4620
4621
4622 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4623
4624
4625 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4626
4627
4628 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4629
4630 # For better backward compatibility. To be removed once Automake 1.9.x
4631 # dies out for good. For more background, see:
4632 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4633 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4634 mkdir_p='$(MKDIR_P)'
4635
4636 # We need awk for the "check" target (and possibly the TAP driver). The
4637 # system "awk" is bad on some platforms.
4638 # Always define AMTAR for backward compatibility. Yes, it's still used
4639 # in the wild :-( We should find a proper way to deprecate it ...
4640 AMTAR='$${TAR-tar}'
4641
4642
4643 # We'll loop over all known methods to create a tar archive until one works.
4644 _am_tools='gnutar pax cpio none'
4645
4646 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4647
4648
4649
4650
4651
4652 depcc="$CC" am_compiler_list=
4653
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4655 $as_echo_n "checking dependency style of $depcc... " >&6; }
4656 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4657 $as_echo_n "(cached) " >&6
4658 else
4659 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4660 # We make a subdir and do the tests there. Otherwise we can end up
4661 # making bogus files that we don't know about and never remove. For
4662 # instance it was reported that on HP-UX the gcc test will end up
4663 # making a dummy file named 'D' -- because '-MD' means "put the output
4664 # in D".
4665 rm -rf conftest.dir
4666 mkdir conftest.dir
4667 # Copy depcomp to subdir because otherwise we won't find it if we're
4668 # using a relative directory.
4669 cp "$am_depcomp" conftest.dir
4670 cd conftest.dir
4671 # We will build objects and dependencies in a subdirectory because
4672 # it helps to detect inapplicable dependency modes. For instance
4673 # both Tru64's cc and ICC support -MD to output dependencies as a
4674 # side effect of compilation, but ICC will put the dependencies in
4675 # the current directory while Tru64 will put them in the object
4676 # directory.
4677 mkdir sub
4678
4679 am_cv_CC_dependencies_compiler_type=none
4680 if test "$am_compiler_list" = ""; then
4681 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4682 fi
4683 am__universal=false
4684 case " $depcc " in #(
4685 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4686 esac
4687
4688 for depmode in $am_compiler_list; do
4689 # Setup a source with many dependencies, because some compilers
4690 # like to wrap large dependency lists on column 80 (with \), and
4691 # we should not choose a depcomp mode which is confused by this.
4692 #
4693 # We need to recreate these files for each test, as the compiler may
4694 # overwrite some of them when testing with obscure command lines.
4695 # This happens at least with the AIX C compiler.
4696 : > sub/conftest.c
4697 for i in 1 2 3 4 5 6; do
4698 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4699 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4700 # Solaris 10 /bin/sh.
4701 echo '/* dummy */' > sub/conftst$i.h
4702 done
4703 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4704
4705 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4706 # mode. It turns out that the SunPro C++ compiler does not properly
4707 # handle '-M -o', and we need to detect this. Also, some Intel
4708 # versions had trouble with output in subdirs.
4709 am__obj=sub/conftest.${OBJEXT-o}
4710 am__minus_obj="-o $am__obj"
4711 case $depmode in
4712 gcc)
4713 # This depmode causes a compiler race in universal mode.
4714 test "$am__universal" = false || continue
4715 ;;
4716 nosideeffect)
4717 # After this tag, mechanisms are not by side-effect, so they'll
4718 # only be used when explicitly requested.
4719 if test "x$enable_dependency_tracking" = xyes; then
4720 continue
4721 else
4722 break
4723 fi
4724 ;;
4725 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4726 # This compiler won't grok '-c -o', but also, the minuso test has
4727 # not run yet. These depmodes are late enough in the game, and
4728 # so weak that their functioning should not be impacted.
4729 am__obj=conftest.${OBJEXT-o}
4730 am__minus_obj=
4731 ;;
4732 none) break ;;
4733 esac
4734 if depmode=$depmode \
4735 source=sub/conftest.c object=$am__obj \
4736 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4737 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4738 >/dev/null 2>conftest.err &&
4739 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4740 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4741 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4742 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4743 # icc doesn't choke on unknown options, it will just issue warnings
4744 # or remarks (even with -Werror). So we grep stderr for any message
4745 # that says an option was ignored or not supported.
4746 # When given -MP, icc 7.0 and 7.1 complain thusly:
4747 # icc: Command line warning: ignoring option '-M'; no argument required
4748 # The diagnosis changed in icc 8.0:
4749 # icc: Command line remark: option '-MP' not supported
4750 if (grep 'ignoring option' conftest.err ||
4751 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4752 am_cv_CC_dependencies_compiler_type=$depmode
4753 break
4754 fi
4755 fi
4756 done
4757
4758 cd ..
4759 rm -rf conftest.dir
4760 else
4761 am_cv_CC_dependencies_compiler_type=none
4762 fi
4763
4764 fi
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4766 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4767 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4768
4769 if
4770 test "x$enable_dependency_tracking" != xno \
4771 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4772 am__fastdepCC_TRUE=
4773 am__fastdepCC_FALSE='#'
4774 else
4775 am__fastdepCC_TRUE='#'
4776 am__fastdepCC_FALSE=
4777 fi
4778
4779
4780
4781 # POSIX will say in a future version that running "rm -f" with no argument
4782 # is OK; and we want to be able to make that assumption in our Makefile
4783 # recipes. So use an aggressive probe to check that the usage we want is
4784 # actually supported "in the wild" to an acceptable degree.
4785 # See automake bug#10828.
4786 # To make any issue more visible, cause the running configure to be aborted
4787 # by default if the 'rm' program in use doesn't match our expectations; the
4788 # user can still override this though.
4789 if rm -f && rm -fr && rm -rf; then : OK; else
4790 cat >&2 <<'END'
4791 Oops!
4792
4793 Your 'rm' program seems unable to run without file operands specified
4794 on the command line, even when the '-f' option is present. This is contrary
4795 to the behaviour of most rm programs out there, and not conforming with
4796 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4797
4798 Please tell bug-automake@gnu.org about your system, including the value
4799 of your $PATH and any error possibly output before this message. This
4800 can help us improve future automake versions.
4801
4802 END
4803 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
4804 echo 'Configuration will proceed anyway, since you have set the' >&2
4805 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4806 echo >&2
4807 else
4808 cat >&2 <<'END'
4809 Aborting the configuration process, to ensure you take notice of the issue.
4810
4811 You can download and install GNU coreutils to get an 'rm' implementation
4812 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4813
4814 If you want to complete the configuration process using your problematic
4815 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4816 to "yes", and re-run configure.
4817
4818 END
4819 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4820 fi
4821 fi
4822
4823
4824 # If a cpu ever has more than one simulator to choose from, use
4825 # --enable-sim=... to choose.
4826 # Check whether --enable-sim was given.
4827 if test "${enable_sim+set}" = set; then :
4828 enableval=$enable_sim; case "${enableval}" in
4829 yes | no) ;;
4830 *) as_fn_error $? "bad value ${enableval} given for --enable-sim option" "$LINENO" 5 ;;
4831 esac
4832 fi
4833
4834
4835 # Check whether --enable-targets was given.
4836 if test "${enable_targets+set}" = set; then :
4837 enableval=$enable_targets; case "${enableval}" in
4838 yes | "") as_fn_error $? "enable-targets option must specify target names or 'all'" "$LINENO" 5
4839 ;;
4840 no) enable_targets= ;;
4841 *) enable_targets=$enableval ;;
4842 esac
4843 fi
4844
4845
4846 SIM_PRIMARY_TARGET=
4847
4848
4849
4850
4851 if test "${enable_sim}" != no; then
4852 sim_igen=no
4853 for targ in `echo $target $enable_targets | sed 's/,/ /g'`
4854 do
4855
4856 case "${targ}" in
4857 all|aarch64*-*-*)
4858 if test "${targ}" = "${target}"; then
4859 SIM_PRIMARY_TARGET=aarch64
4860 fi
4861
4862
4863 subdirs="$subdirs aarch64"
4864
4865
4866 ;;
4867 esac
4868
4869
4870 case "${targ}" in
4871 all|arm*-*-*)
4872 if test "${targ}" = "${target}"; then
4873 SIM_PRIMARY_TARGET=arm
4874 fi
4875 subdirs="$subdirs arm"
4876
4877
4878 ;;
4879 esac
4880
4881
4882 case "${targ}" in
4883 all|avr*-*-*)
4884 if test "${targ}" = "${target}"; then
4885 SIM_PRIMARY_TARGET=avr
4886 fi
4887 subdirs="$subdirs avr"
4888
4889
4890 ;;
4891 esac
4892
4893
4894 case "${targ}" in
4895 all|bfin-*-*)
4896 if test "${targ}" = "${target}"; then
4897 SIM_PRIMARY_TARGET=bfin
4898 fi
4899 subdirs="$subdirs bfin"
4900
4901
4902 ;;
4903 esac
4904
4905
4906 case "${targ}" in
4907 all|bpf-*-*)
4908 if test "${targ}" = "${target}"; then
4909 SIM_PRIMARY_TARGET=bpf
4910 fi
4911 subdirs="$subdirs bpf"
4912
4913
4914 ;;
4915 esac
4916
4917
4918 case "${targ}" in
4919 all|cr16*-*-*)
4920 if test "${targ}" = "${target}"; then
4921 SIM_PRIMARY_TARGET=cr16
4922 fi
4923 subdirs="$subdirs cr16"
4924
4925
4926 ;;
4927 esac
4928
4929
4930 case "${targ}" in
4931 all|cris-*-* | crisv32-*-*)
4932 if test "${targ}" = "${target}"; then
4933 SIM_PRIMARY_TARGET=cris
4934 fi
4935 subdirs="$subdirs cris"
4936
4937
4938 ;;
4939 esac
4940
4941
4942 case "${targ}" in
4943 all|d10v-*-*)
4944 if test "${targ}" = "${target}"; then
4945 SIM_PRIMARY_TARGET=d10v
4946 fi
4947 subdirs="$subdirs d10v"
4948
4949
4950 ;;
4951 esac
4952
4953
4954 case "${targ}" in
4955 all|frv-*-*)
4956 if test "${targ}" = "${target}"; then
4957 SIM_PRIMARY_TARGET=frv
4958 fi
4959 subdirs="$subdirs frv"
4960
4961
4962 ;;
4963 esac
4964
4965
4966 case "${targ}" in
4967 all|h8300*-*-*)
4968 if test "${targ}" = "${target}"; then
4969 SIM_PRIMARY_TARGET=h8300
4970 fi
4971 subdirs="$subdirs h8300"
4972
4973
4974 ;;
4975 esac
4976
4977
4978 case "${targ}" in
4979 all|iq2000-*-*)
4980 if test "${targ}" = "${target}"; then
4981 SIM_PRIMARY_TARGET=iq2000
4982 fi
4983 subdirs="$subdirs iq2000"
4984
4985
4986 ;;
4987 esac
4988
4989
4990 case "${targ}" in
4991 all|lm32-*-*)
4992 if test "${targ}" = "${target}"; then
4993 SIM_PRIMARY_TARGET=lm32
4994 fi
4995 subdirs="$subdirs lm32"
4996
4997
4998 ;;
4999 esac
5000
5001
5002 case "${targ}" in
5003 all|m32c-*-*)
5004 if test "${targ}" = "${target}"; then
5005 SIM_PRIMARY_TARGET=m32c
5006 fi
5007 subdirs="$subdirs m32c"
5008
5009
5010 ;;
5011 esac
5012
5013
5014 case "${targ}" in
5015 all|m32r-*-*)
5016 if test "${targ}" = "${target}"; then
5017 SIM_PRIMARY_TARGET=m32r
5018 fi
5019 subdirs="$subdirs m32r"
5020
5021
5022 ;;
5023 esac
5024
5025
5026 case "${targ}" in
5027 all|m68hc11-*-*|m6811-*-*)
5028 if test "${targ}" = "${target}"; then
5029 SIM_PRIMARY_TARGET=m68hc11
5030 fi
5031 subdirs="$subdirs m68hc11"
5032
5033
5034 ;;
5035 esac
5036
5037
5038 case "${targ}" in
5039 all|mcore-*-*)
5040 if test "${targ}" = "${target}"; then
5041 SIM_PRIMARY_TARGET=mcore
5042 fi
5043 subdirs="$subdirs mcore"
5044
5045
5046 ;;
5047 esac
5048
5049
5050 case "${targ}" in
5051 all|microblaze-*-*)
5052 if test "${targ}" = "${target}"; then
5053 SIM_PRIMARY_TARGET=microblaze
5054 fi
5055 subdirs="$subdirs microblaze"
5056
5057
5058 ;;
5059 esac
5060
5061
5062 case "${targ}" in
5063 all|mips*-*-*)
5064 if test "${targ}" = "${target}"; then
5065 SIM_PRIMARY_TARGET=mips
5066 fi
5067 subdirs="$subdirs mips"
5068
5069 sim_igen=yes
5070 ;;
5071 esac
5072
5073
5074 case "${targ}" in
5075 all|mn10300*-*-*)
5076 if test "${targ}" = "${target}"; then
5077 SIM_PRIMARY_TARGET=mn10300
5078 fi
5079 subdirs="$subdirs mn10300"
5080
5081 sim_igen=yes
5082 ;;
5083 esac
5084
5085
5086 case "${targ}" in
5087 all|moxie-*-*)
5088 if test "${targ}" = "${target}"; then
5089 SIM_PRIMARY_TARGET=moxie
5090 fi
5091 subdirs="$subdirs moxie"
5092
5093
5094 ;;
5095 esac
5096
5097
5098 case "${targ}" in
5099 all|msp430*-*-*)
5100 if test "${targ}" = "${target}"; then
5101 SIM_PRIMARY_TARGET=msp430
5102 fi
5103 subdirs="$subdirs msp430"
5104
5105
5106 ;;
5107 esac
5108
5109
5110 case "${targ}" in
5111 all|or1k-*-* | or1knd-*-*)
5112 if test "${targ}" = "${target}"; then
5113 SIM_PRIMARY_TARGET=or1k
5114 fi
5115 subdirs="$subdirs or1k"
5116
5117
5118 ;;
5119 esac
5120
5121
5122 case "${targ}" in
5123 all|pru*-*-*)
5124 if test "${targ}" = "${target}"; then
5125 SIM_PRIMARY_TARGET=pru
5126 fi
5127 subdirs="$subdirs pru"
5128
5129
5130 ;;
5131 esac
5132
5133
5134 case "${targ}" in
5135 all|riscv*-*-*)
5136 if test "${targ}" = "${target}"; then
5137 SIM_PRIMARY_TARGET=riscv
5138 fi
5139 subdirs="$subdirs riscv"
5140
5141
5142 ;;
5143 esac
5144
5145
5146 case "${targ}" in
5147 all|rl78-*-*)
5148 if test "${targ}" = "${target}"; then
5149 SIM_PRIMARY_TARGET=rl78
5150 fi
5151 subdirs="$subdirs rl78"
5152
5153
5154 ;;
5155 esac
5156
5157
5158 case "${targ}" in
5159 all|rx-*-*)
5160 if test "${targ}" = "${target}"; then
5161 SIM_PRIMARY_TARGET=rx
5162 fi
5163 subdirs="$subdirs rx"
5164
5165
5166 ;;
5167 esac
5168
5169
5170 case "${targ}" in
5171 all|sh*-*-*)
5172 if test "${targ}" = "${target}"; then
5173 SIM_PRIMARY_TARGET=sh
5174 fi
5175 subdirs="$subdirs sh"
5176
5177
5178 ;;
5179 esac
5180
5181
5182 case "${targ}" in
5183 all|sparc-*-rtems*|sparc-*-elf*)
5184 if test "${targ}" = "${target}"; then
5185 SIM_PRIMARY_TARGET=erc32
5186 fi
5187 subdirs="$subdirs erc32"
5188
5189
5190 ;;
5191 esac
5192
5193
5194 case "${targ}" in
5195 all|powerpc*-*-*)
5196 if test "${targ}" = "${target}"; then
5197 SIM_PRIMARY_TARGET=ppc
5198 fi
5199 subdirs="$subdirs ppc"
5200
5201
5202 ;;
5203 esac
5204
5205
5206 case "${targ}" in
5207 all|ft32-*-*)
5208 if test "${targ}" = "${target}"; then
5209 SIM_PRIMARY_TARGET=ft32
5210 fi
5211 subdirs="$subdirs ft32"
5212
5213
5214 ;;
5215 esac
5216
5217
5218 case "${targ}" in
5219 all|v850*-*-*)
5220 if test "${targ}" = "${target}"; then
5221 SIM_PRIMARY_TARGET=v850
5222 fi
5223 subdirs="$subdirs v850"
5224
5225 sim_igen=yes
5226 ;;
5227 esac
5228
5229 done
5230 fi
5231 if test "$sim_igen" = "yes"; then
5232 SIM_ENABLE_IGEN_TRUE=
5233 SIM_ENABLE_IGEN_FALSE='#'
5234 else
5235 SIM_ENABLE_IGEN_TRUE='#'
5236 SIM_ENABLE_IGEN_FALSE=
5237 fi
5238
5239
5240 ac_config_files="$ac_config_files Makefile"
5241
5242 cat >confcache <<\_ACEOF
5243 # This file is a shell script that caches the results of configure
5244 # tests run on this system so they can be shared between configure
5245 # scripts and configure runs, see configure's option --config-cache.
5246 # It is not useful on other systems. If it contains results you don't
5247 # want to keep, you may remove or edit it.
5248 #
5249 # config.status only pays attention to the cache file if you give it
5250 # the --recheck option to rerun configure.
5251 #
5252 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5253 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5254 # following values.
5255
5256 _ACEOF
5257
5258 # The following way of writing the cache mishandles newlines in values,
5259 # but we know of no workaround that is simple, portable, and efficient.
5260 # So, we kill variables containing newlines.
5261 # Ultrix sh set writes to stderr and can't be redirected directly,
5262 # and sets the high bit in the cache file unless we assign to the vars.
5263 (
5264 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5265 eval ac_val=\$$ac_var
5266 case $ac_val in #(
5267 *${as_nl}*)
5268 case $ac_var in #(
5269 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5270 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5271 esac
5272 case $ac_var in #(
5273 _ | IFS | as_nl) ;; #(
5274 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5275 *) { eval $ac_var=; unset $ac_var;} ;;
5276 esac ;;
5277 esac
5278 done
5279
5280 (set) 2>&1 |
5281 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5282 *${as_nl}ac_space=\ *)
5283 # `set' does not quote correctly, so add quotes: double-quote
5284 # substitution turns \\\\ into \\, and sed turns \\ into \.
5285 sed -n \
5286 "s/'/'\\\\''/g;
5287 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5288 ;; #(
5289 *)
5290 # `set' quotes correctly as required by POSIX, so do not add quotes.
5291 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5292 ;;
5293 esac |
5294 sort
5295 ) |
5296 sed '
5297 /^ac_cv_env_/b end
5298 t clear
5299 :clear
5300 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5301 t end
5302 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5303 :end' >>confcache
5304 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5305 if test -w "$cache_file"; then
5306 if test "x$cache_file" != "x/dev/null"; then
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5308 $as_echo "$as_me: updating cache $cache_file" >&6;}
5309 if test ! -f "$cache_file" || test -h "$cache_file"; then
5310 cat confcache >"$cache_file"
5311 else
5312 case $cache_file in #(
5313 */* | ?:*)
5314 mv -f confcache "$cache_file"$$ &&
5315 mv -f "$cache_file"$$ "$cache_file" ;; #(
5316 *)
5317 mv -f confcache "$cache_file" ;;
5318 esac
5319 fi
5320 fi
5321 else
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5323 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5324 fi
5325 fi
5326 rm -f confcache
5327
5328 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5329 # Let make expand exec_prefix.
5330 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5331
5332 # Transform confdefs.h into DEFS.
5333 # Protect against shell expansion while executing Makefile rules.
5334 # Protect against Makefile macro expansion.
5335 #
5336 # If the first sed substitution is executed (which looks for macros that
5337 # take arguments), then branch to the quote section. Otherwise,
5338 # look for a macro that doesn't take arguments.
5339 ac_script='
5340 :mline
5341 /\\$/{
5342 N
5343 s,\\\n,,
5344 b mline
5345 }
5346 t clear
5347 :clear
5348 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5349 t quote
5350 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5351 t quote
5352 b any
5353 :quote
5354 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5355 s/\[/\\&/g
5356 s/\]/\\&/g
5357 s/\$/$$/g
5358 H
5359 :any
5360 ${
5361 g
5362 s/^\n//
5363 s/\n/ /g
5364 p
5365 }
5366 '
5367 DEFS=`sed -n "$ac_script" confdefs.h`
5368
5369
5370 ac_libobjs=
5371 ac_ltlibobjs=
5372 U=
5373 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5374 # 1. Remove the extension, and $U if already installed.
5375 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5376 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5377 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5378 # will be set to the directory where LIBOBJS objects are built.
5379 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5380 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5381 done
5382 LIBOBJS=$ac_libobjs
5383
5384 LTLIBOBJS=$ac_ltlibobjs
5385
5386
5387
5388 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5389 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
5390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5391 fi
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5393 $as_echo_n "checking that generated files are newer than configure... " >&6; }
5394 if test -n "$am_sleep_pid"; then
5395 # Hide warnings about reused PIDs.
5396 wait $am_sleep_pid 2>/dev/null
5397 fi
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
5399 $as_echo "done" >&6; }
5400 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5401 as_fn_error $? "conditional \"AMDEP\" was never defined.
5402 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5403 fi
5404 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5405 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5406 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5407 fi
5408 if test -n "$EXEEXT"; then
5409 am__EXEEXT_TRUE=
5410 am__EXEEXT_FALSE='#'
5411 else
5412 am__EXEEXT_TRUE='#'
5413 am__EXEEXT_FALSE=
5414 fi
5415
5416 if test -z "${SIM_ENABLE_IGEN_TRUE}" && test -z "${SIM_ENABLE_IGEN_FALSE}"; then
5417 as_fn_error $? "conditional \"SIM_ENABLE_IGEN\" was never defined.
5418 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5419 fi
5420
5421 : "${CONFIG_STATUS=./config.status}"
5422 ac_write_fail=0
5423 ac_clean_files_save=$ac_clean_files
5424 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5426 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5427 as_write_fail=0
5428 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5429 #! $SHELL
5430 # Generated by $as_me.
5431 # Run this file to recreate the current configuration.
5432 # Compiler output produced by configure, useful for debugging
5433 # configure, is in config.log if it exists.
5434
5435 debug=false
5436 ac_cs_recheck=false
5437 ac_cs_silent=false
5438
5439 SHELL=\${CONFIG_SHELL-$SHELL}
5440 export SHELL
5441 _ASEOF
5442 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5443 ## -------------------- ##
5444 ## M4sh Initialization. ##
5445 ## -------------------- ##
5446
5447 # Be more Bourne compatible
5448 DUALCASE=1; export DUALCASE # for MKS sh
5449 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5450 emulate sh
5451 NULLCMD=:
5452 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5453 # is contrary to our usage. Disable this feature.
5454 alias -g '${1+"$@"}'='"$@"'
5455 setopt NO_GLOB_SUBST
5456 else
5457 case `(set -o) 2>/dev/null` in #(
5458 *posix*) :
5459 set -o posix ;; #(
5460 *) :
5461 ;;
5462 esac
5463 fi
5464
5465
5466 as_nl='
5467 '
5468 export as_nl
5469 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5470 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5471 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5472 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5473 # Prefer a ksh shell builtin over an external printf program on Solaris,
5474 # but without wasting forks for bash or zsh.
5475 if test -z "$BASH_VERSION$ZSH_VERSION" \
5476 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5477 as_echo='print -r --'
5478 as_echo_n='print -rn --'
5479 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5480 as_echo='printf %s\n'
5481 as_echo_n='printf %s'
5482 else
5483 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5484 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5485 as_echo_n='/usr/ucb/echo -n'
5486 else
5487 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5488 as_echo_n_body='eval
5489 arg=$1;
5490 case $arg in #(
5491 *"$as_nl"*)
5492 expr "X$arg" : "X\\(.*\\)$as_nl";
5493 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5494 esac;
5495 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5496 '
5497 export as_echo_n_body
5498 as_echo_n='sh -c $as_echo_n_body as_echo'
5499 fi
5500 export as_echo_body
5501 as_echo='sh -c $as_echo_body as_echo'
5502 fi
5503
5504 # The user is always right.
5505 if test "${PATH_SEPARATOR+set}" != set; then
5506 PATH_SEPARATOR=:
5507 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5508 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5509 PATH_SEPARATOR=';'
5510 }
5511 fi
5512
5513
5514 # IFS
5515 # We need space, tab and new line, in precisely that order. Quoting is
5516 # there to prevent editors from complaining about space-tab.
5517 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5518 # splitting by setting IFS to empty value.)
5519 IFS=" "" $as_nl"
5520
5521 # Find who we are. Look in the path if we contain no directory separator.
5522 as_myself=
5523 case $0 in #((
5524 *[\\/]* ) as_myself=$0 ;;
5525 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5526 for as_dir in $PATH
5527 do
5528 IFS=$as_save_IFS
5529 test -z "$as_dir" && as_dir=.
5530 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5531 done
5532 IFS=$as_save_IFS
5533
5534 ;;
5535 esac
5536 # We did not find ourselves, most probably we were run as `sh COMMAND'
5537 # in which case we are not to be found in the path.
5538 if test "x$as_myself" = x; then
5539 as_myself=$0
5540 fi
5541 if test ! -f "$as_myself"; then
5542 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5543 exit 1
5544 fi
5545
5546 # Unset variables that we do not need and which cause bugs (e.g. in
5547 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5548 # suppresses any "Segmentation fault" message there. '((' could
5549 # trigger a bug in pdksh 5.2.14.
5550 for as_var in BASH_ENV ENV MAIL MAILPATH
5551 do eval test x\${$as_var+set} = xset \
5552 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5553 done
5554 PS1='$ '
5555 PS2='> '
5556 PS4='+ '
5557
5558 # NLS nuisances.
5559 LC_ALL=C
5560 export LC_ALL
5561 LANGUAGE=C
5562 export LANGUAGE
5563
5564 # CDPATH.
5565 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5566
5567
5568 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5569 # ----------------------------------------
5570 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5571 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5572 # script with STATUS, using 1 if that was 0.
5573 as_fn_error ()
5574 {
5575 as_status=$1; test $as_status -eq 0 && as_status=1
5576 if test "$4"; then
5577 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5578 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5579 fi
5580 $as_echo "$as_me: error: $2" >&2
5581 as_fn_exit $as_status
5582 } # as_fn_error
5583
5584
5585 # as_fn_set_status STATUS
5586 # -----------------------
5587 # Set $? to STATUS, without forking.
5588 as_fn_set_status ()
5589 {
5590 return $1
5591 } # as_fn_set_status
5592
5593 # as_fn_exit STATUS
5594 # -----------------
5595 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5596 as_fn_exit ()
5597 {
5598 set +e
5599 as_fn_set_status $1
5600 exit $1
5601 } # as_fn_exit
5602
5603 # as_fn_unset VAR
5604 # ---------------
5605 # Portably unset VAR.
5606 as_fn_unset ()
5607 {
5608 { eval $1=; unset $1;}
5609 }
5610 as_unset=as_fn_unset
5611 # as_fn_append VAR VALUE
5612 # ----------------------
5613 # Append the text in VALUE to the end of the definition contained in VAR. Take
5614 # advantage of any shell optimizations that allow amortized linear growth over
5615 # repeated appends, instead of the typical quadratic growth present in naive
5616 # implementations.
5617 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5618 eval 'as_fn_append ()
5619 {
5620 eval $1+=\$2
5621 }'
5622 else
5623 as_fn_append ()
5624 {
5625 eval $1=\$$1\$2
5626 }
5627 fi # as_fn_append
5628
5629 # as_fn_arith ARG...
5630 # ------------------
5631 # Perform arithmetic evaluation on the ARGs, and store the result in the
5632 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5633 # must be portable across $(()) and expr.
5634 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5635 eval 'as_fn_arith ()
5636 {
5637 as_val=$(( $* ))
5638 }'
5639 else
5640 as_fn_arith ()
5641 {
5642 as_val=`expr "$@" || test $? -eq 1`
5643 }
5644 fi # as_fn_arith
5645
5646
5647 if expr a : '\(a\)' >/dev/null 2>&1 &&
5648 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5649 as_expr=expr
5650 else
5651 as_expr=false
5652 fi
5653
5654 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5655 as_basename=basename
5656 else
5657 as_basename=false
5658 fi
5659
5660 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5661 as_dirname=dirname
5662 else
5663 as_dirname=false
5664 fi
5665
5666 as_me=`$as_basename -- "$0" ||
5667 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5668 X"$0" : 'X\(//\)$' \| \
5669 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5670 $as_echo X/"$0" |
5671 sed '/^.*\/\([^/][^/]*\)\/*$/{
5672 s//\1/
5673 q
5674 }
5675 /^X\/\(\/\/\)$/{
5676 s//\1/
5677 q
5678 }
5679 /^X\/\(\/\).*/{
5680 s//\1/
5681 q
5682 }
5683 s/.*/./; q'`
5684
5685 # Avoid depending upon Character Ranges.
5686 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5687 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5688 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5689 as_cr_digits='0123456789'
5690 as_cr_alnum=$as_cr_Letters$as_cr_digits
5691
5692 ECHO_C= ECHO_N= ECHO_T=
5693 case `echo -n x` in #(((((
5694 -n*)
5695 case `echo 'xy\c'` in
5696 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5697 xy) ECHO_C='\c';;
5698 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5699 ECHO_T=' ';;
5700 esac;;
5701 *)
5702 ECHO_N='-n';;
5703 esac
5704
5705 rm -f conf$$ conf$$.exe conf$$.file
5706 if test -d conf$$.dir; then
5707 rm -f conf$$.dir/conf$$.file
5708 else
5709 rm -f conf$$.dir
5710 mkdir conf$$.dir 2>/dev/null
5711 fi
5712 if (echo >conf$$.file) 2>/dev/null; then
5713 if ln -s conf$$.file conf$$ 2>/dev/null; then
5714 as_ln_s='ln -s'
5715 # ... but there are two gotchas:
5716 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5717 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5718 # In both cases, we have to default to `cp -pR'.
5719 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5720 as_ln_s='cp -pR'
5721 elif ln conf$$.file conf$$ 2>/dev/null; then
5722 as_ln_s=ln
5723 else
5724 as_ln_s='cp -pR'
5725 fi
5726 else
5727 as_ln_s='cp -pR'
5728 fi
5729 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5730 rmdir conf$$.dir 2>/dev/null
5731
5732
5733 # as_fn_mkdir_p
5734 # -------------
5735 # Create "$as_dir" as a directory, including parents if necessary.
5736 as_fn_mkdir_p ()
5737 {
5738
5739 case $as_dir in #(
5740 -*) as_dir=./$as_dir;;
5741 esac
5742 test -d "$as_dir" || eval $as_mkdir_p || {
5743 as_dirs=
5744 while :; do
5745 case $as_dir in #(
5746 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5747 *) as_qdir=$as_dir;;
5748 esac
5749 as_dirs="'$as_qdir' $as_dirs"
5750 as_dir=`$as_dirname -- "$as_dir" ||
5751 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5752 X"$as_dir" : 'X\(//\)[^/]' \| \
5753 X"$as_dir" : 'X\(//\)$' \| \
5754 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5755 $as_echo X"$as_dir" |
5756 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5757 s//\1/
5758 q
5759 }
5760 /^X\(\/\/\)[^/].*/{
5761 s//\1/
5762 q
5763 }
5764 /^X\(\/\/\)$/{
5765 s//\1/
5766 q
5767 }
5768 /^X\(\/\).*/{
5769 s//\1/
5770 q
5771 }
5772 s/.*/./; q'`
5773 test -d "$as_dir" && break
5774 done
5775 test -z "$as_dirs" || eval "mkdir $as_dirs"
5776 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5777
5778
5779 } # as_fn_mkdir_p
5780 if mkdir -p . 2>/dev/null; then
5781 as_mkdir_p='mkdir -p "$as_dir"'
5782 else
5783 test -d ./-p && rmdir ./-p
5784 as_mkdir_p=false
5785 fi
5786
5787
5788 # as_fn_executable_p FILE
5789 # -----------------------
5790 # Test if FILE is an executable regular file.
5791 as_fn_executable_p ()
5792 {
5793 test -f "$1" && test -x "$1"
5794 } # as_fn_executable_p
5795 as_test_x='test -x'
5796 as_executable_p=as_fn_executable_p
5797
5798 # Sed expression to map a string onto a valid CPP name.
5799 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5800
5801 # Sed expression to map a string onto a valid variable name.
5802 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5803
5804
5805 exec 6>&1
5806 ## ----------------------------------- ##
5807 ## Main body of $CONFIG_STATUS script. ##
5808 ## ----------------------------------- ##
5809 _ASEOF
5810 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5811
5812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5813 # Save the log message, to keep $0 and so on meaningful, and to
5814 # report actual input values of CONFIG_FILES etc. instead of their
5815 # values after options handling.
5816 ac_log="
5817 This file was extended by sim $as_me 0, which was
5818 generated by GNU Autoconf 2.69. Invocation command line was
5819
5820 CONFIG_FILES = $CONFIG_FILES
5821 CONFIG_HEADERS = $CONFIG_HEADERS
5822 CONFIG_LINKS = $CONFIG_LINKS
5823 CONFIG_COMMANDS = $CONFIG_COMMANDS
5824 $ $0 $@
5825
5826 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5827 "
5828
5829 _ACEOF
5830
5831 case $ac_config_files in *"
5832 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5833 esac
5834
5835
5836
5837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5838 # Files that config.status was made for.
5839 config_files="$ac_config_files"
5840 config_commands="$ac_config_commands"
5841
5842 _ACEOF
5843
5844 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5845 ac_cs_usage="\
5846 \`$as_me' instantiates files and other configuration actions
5847 from templates according to the current configuration. Unless the files
5848 and actions are specified as TAGs, all are instantiated by default.
5849
5850 Usage: $0 [OPTION]... [TAG]...
5851
5852 -h, --help print this help, then exit
5853 -V, --version print version number and configuration settings, then exit
5854 --config print configuration, then exit
5855 -q, --quiet, --silent
5856 do not print progress messages
5857 -d, --debug don't remove temporary files
5858 --recheck update $as_me by reconfiguring in the same conditions
5859 --file=FILE[:TEMPLATE]
5860 instantiate the configuration file FILE
5861
5862 Configuration files:
5863 $config_files
5864
5865 Configuration commands:
5866 $config_commands
5867
5868 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
5869 sim home page: <https://sourceware.org/gdb/wiki/Sim/>."
5870
5871 _ACEOF
5872 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5873 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5874 ac_cs_version="\\
5875 sim config.status 0
5876 configured by $0, generated by GNU Autoconf 2.69,
5877 with options \\"\$ac_cs_config\\"
5878
5879 Copyright (C) 2012 Free Software Foundation, Inc.
5880 This config.status script is free software; the Free Software Foundation
5881 gives unlimited permission to copy, distribute and modify it."
5882
5883 ac_pwd='$ac_pwd'
5884 srcdir='$srcdir'
5885 INSTALL='$INSTALL'
5886 MKDIR_P='$MKDIR_P'
5887 AWK='$AWK'
5888 test -n "\$AWK" || AWK=awk
5889 _ACEOF
5890
5891 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5892 # The default lists apply if the user does not specify any file.
5893 ac_need_defaults=:
5894 while test $# != 0
5895 do
5896 case $1 in
5897 --*=?*)
5898 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5899 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5900 ac_shift=:
5901 ;;
5902 --*=)
5903 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5904 ac_optarg=
5905 ac_shift=:
5906 ;;
5907 *)
5908 ac_option=$1
5909 ac_optarg=$2
5910 ac_shift=shift
5911 ;;
5912 esac
5913
5914 case $ac_option in
5915 # Handling of the options.
5916 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5917 ac_cs_recheck=: ;;
5918 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5919 $as_echo "$ac_cs_version"; exit ;;
5920 --config | --confi | --conf | --con | --co | --c )
5921 $as_echo "$ac_cs_config"; exit ;;
5922 --debug | --debu | --deb | --de | --d | -d )
5923 debug=: ;;
5924 --file | --fil | --fi | --f )
5925 $ac_shift
5926 case $ac_optarg in
5927 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5928 '') as_fn_error $? "missing file argument" ;;
5929 esac
5930 as_fn_append CONFIG_FILES " '$ac_optarg'"
5931 ac_need_defaults=false;;
5932 --he | --h | --help | --hel | -h )
5933 $as_echo "$ac_cs_usage"; exit ;;
5934 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5935 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5936 ac_cs_silent=: ;;
5937
5938 # This is an error.
5939 -*) as_fn_error $? "unrecognized option: \`$1'
5940 Try \`$0 --help' for more information." ;;
5941
5942 *) as_fn_append ac_config_targets " $1"
5943 ac_need_defaults=false ;;
5944
5945 esac
5946 shift
5947 done
5948
5949 ac_configure_extra_args=
5950
5951 if $ac_cs_silent; then
5952 exec 6>/dev/null
5953 ac_configure_extra_args="$ac_configure_extra_args --silent"
5954 fi
5955
5956 _ACEOF
5957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5958 if \$ac_cs_recheck; then
5959 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5960 shift
5961 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5962 CONFIG_SHELL='$SHELL'
5963 export CONFIG_SHELL
5964 exec "\$@"
5965 fi
5966
5967 _ACEOF
5968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5969 exec 5>>config.log
5970 {
5971 echo
5972 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5973 ## Running $as_me. ##
5974 _ASBOX
5975 $as_echo "$ac_log"
5976 } >&5
5977
5978 _ACEOF
5979 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5980 #
5981 # INIT-COMMANDS
5982 #
5983 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5984
5985 _ACEOF
5986
5987 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5988
5989 # Handling of arguments.
5990 for ac_config_target in $ac_config_targets
5991 do
5992 case $ac_config_target in
5993 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5994 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5995
5996 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5997 esac
5998 done
5999
6000
6001 # If the user did not use the arguments to specify the items to instantiate,
6002 # then the envvar interface is used. Set only those that are not.
6003 # We use the long form for the default assignment because of an extremely
6004 # bizarre bug on SunOS 4.1.3.
6005 if $ac_need_defaults; then
6006 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6007 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6008 fi
6009
6010 # Have a temporary directory for convenience. Make it in the build tree
6011 # simply because there is no reason against having it here, and in addition,
6012 # creating and moving files from /tmp can sometimes cause problems.
6013 # Hook for its removal unless debugging.
6014 # Note that there is a small window in which the directory will not be cleaned:
6015 # after its creation but before its name has been assigned to `$tmp'.
6016 $debug ||
6017 {
6018 tmp= ac_tmp=
6019 trap 'exit_status=$?
6020 : "${ac_tmp:=$tmp}"
6021 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6022 ' 0
6023 trap 'as_fn_exit 1' 1 2 13 15
6024 }
6025 # Create a (secure) tmp directory for tmp files.
6026
6027 {
6028 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6029 test -d "$tmp"
6030 } ||
6031 {
6032 tmp=./conf$$-$RANDOM
6033 (umask 077 && mkdir "$tmp")
6034 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6035 ac_tmp=$tmp
6036
6037 # Set up the scripts for CONFIG_FILES section.
6038 # No need to generate them if there are no CONFIG_FILES.
6039 # This happens for instance with `./config.status config.h'.
6040 if test -n "$CONFIG_FILES"; then
6041
6042
6043 ac_cr=`echo X | tr X '\015'`
6044 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6045 # But we know of no other shell where ac_cr would be empty at this
6046 # point, so we can use a bashism as a fallback.
6047 if test "x$ac_cr" = x; then
6048 eval ac_cr=\$\'\\r\'
6049 fi
6050 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6051 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6052 ac_cs_awk_cr='\\r'
6053 else
6054 ac_cs_awk_cr=$ac_cr
6055 fi
6056
6057 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6058 _ACEOF
6059
6060
6061 {
6062 echo "cat >conf$$subs.awk <<_ACEOF" &&
6063 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6064 echo "_ACEOF"
6065 } >conf$$subs.sh ||
6066 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6067 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6068 ac_delim='%!_!# '
6069 for ac_last_try in false false false false false :; do
6070 . ./conf$$subs.sh ||
6071 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6072
6073 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6074 if test $ac_delim_n = $ac_delim_num; then
6075 break
6076 elif $ac_last_try; then
6077 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6078 else
6079 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6080 fi
6081 done
6082 rm -f conf$$subs.sh
6083
6084 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6085 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6086 _ACEOF
6087 sed -n '
6088 h
6089 s/^/S["/; s/!.*/"]=/
6090 p
6091 g
6092 s/^[^!]*!//
6093 :repl
6094 t repl
6095 s/'"$ac_delim"'$//
6096 t delim
6097 :nl
6098 h
6099 s/\(.\{148\}\)..*/\1/
6100 t more1
6101 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6102 p
6103 n
6104 b repl
6105 :more1
6106 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6107 p
6108 g
6109 s/.\{148\}//
6110 t nl
6111 :delim
6112 h
6113 s/\(.\{148\}\)..*/\1/
6114 t more2
6115 s/["\\]/\\&/g; s/^/"/; s/$/"/
6116 p
6117 b
6118 :more2
6119 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6120 p
6121 g
6122 s/.\{148\}//
6123 t delim
6124 ' <conf$$subs.awk | sed '
6125 /^[^""]/{
6126 N
6127 s/\n//
6128 }
6129 ' >>$CONFIG_STATUS || ac_write_fail=1
6130 rm -f conf$$subs.awk
6131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6132 _ACAWK
6133 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6134 for (key in S) S_is_set[key] = 1
6135 FS = "\a"
6136
6137 }
6138 {
6139 line = $ 0
6140 nfields = split(line, field, "@")
6141 substed = 0
6142 len = length(field[1])
6143 for (i = 2; i < nfields; i++) {
6144 key = field[i]
6145 keylen = length(key)
6146 if (S_is_set[key]) {
6147 value = S[key]
6148 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6149 len += length(value) + length(field[++i])
6150 substed = 1
6151 } else
6152 len += 1 + keylen
6153 }
6154
6155 print line
6156 }
6157
6158 _ACAWK
6159 _ACEOF
6160 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6161 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6162 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6163 else
6164 cat
6165 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6166 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6167 _ACEOF
6168
6169 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6170 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6171 # trailing colons and then remove the whole line if VPATH becomes empty
6172 # (actually we leave an empty line to preserve line numbers).
6173 if test "x$srcdir" = x.; then
6174 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6175 h
6176 s///
6177 s/^/:/
6178 s/[ ]*$/:/
6179 s/:\$(srcdir):/:/g
6180 s/:\${srcdir}:/:/g
6181 s/:@srcdir@:/:/g
6182 s/^:*//
6183 s/:*$//
6184 x
6185 s/\(=[ ]*\).*/\1/
6186 G
6187 s/\n//
6188 s/^[^=]*=[ ]*$//
6189 }'
6190 fi
6191
6192 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6193 fi # test -n "$CONFIG_FILES"
6194
6195
6196 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
6197 shift
6198 for ac_tag
6199 do
6200 case $ac_tag in
6201 :[FHLC]) ac_mode=$ac_tag; continue;;
6202 esac
6203 case $ac_mode$ac_tag in
6204 :[FHL]*:*);;
6205 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6206 :[FH]-) ac_tag=-:-;;
6207 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6208 esac
6209 ac_save_IFS=$IFS
6210 IFS=:
6211 set x $ac_tag
6212 IFS=$ac_save_IFS
6213 shift
6214 ac_file=$1
6215 shift
6216
6217 case $ac_mode in
6218 :L) ac_source=$1;;
6219 :[FH])
6220 ac_file_inputs=
6221 for ac_f
6222 do
6223 case $ac_f in
6224 -) ac_f="$ac_tmp/stdin";;
6225 *) # Look for the file first in the build tree, then in the source tree
6226 # (if the path is not absolute). The absolute path cannot be DOS-style,
6227 # because $ac_f cannot contain `:'.
6228 test -f "$ac_f" ||
6229 case $ac_f in
6230 [\\/$]*) false;;
6231 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6232 esac ||
6233 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6234 esac
6235 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6236 as_fn_append ac_file_inputs " '$ac_f'"
6237 done
6238
6239 # Let's still pretend it is `configure' which instantiates (i.e., don't
6240 # use $as_me), people would be surprised to read:
6241 # /* config.h. Generated by config.status. */
6242 configure_input='Generated from '`
6243 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6244 `' by configure.'
6245 if test x"$ac_file" != x-; then
6246 configure_input="$ac_file. $configure_input"
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6248 $as_echo "$as_me: creating $ac_file" >&6;}
6249 fi
6250 # Neutralize special characters interpreted by sed in replacement strings.
6251 case $configure_input in #(
6252 *\&* | *\|* | *\\* )
6253 ac_sed_conf_input=`$as_echo "$configure_input" |
6254 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6255 *) ac_sed_conf_input=$configure_input;;
6256 esac
6257
6258 case $ac_tag in
6259 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6260 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6261 esac
6262 ;;
6263 esac
6264
6265 ac_dir=`$as_dirname -- "$ac_file" ||
6266 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6267 X"$ac_file" : 'X\(//\)[^/]' \| \
6268 X"$ac_file" : 'X\(//\)$' \| \
6269 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6270 $as_echo X"$ac_file" |
6271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6272 s//\1/
6273 q
6274 }
6275 /^X\(\/\/\)[^/].*/{
6276 s//\1/
6277 q
6278 }
6279 /^X\(\/\/\)$/{
6280 s//\1/
6281 q
6282 }
6283 /^X\(\/\).*/{
6284 s//\1/
6285 q
6286 }
6287 s/.*/./; q'`
6288 as_dir="$ac_dir"; as_fn_mkdir_p
6289 ac_builddir=.
6290
6291 case "$ac_dir" in
6292 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6293 *)
6294 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6295 # A ".." for each directory in $ac_dir_suffix.
6296 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6297 case $ac_top_builddir_sub in
6298 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6299 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6300 esac ;;
6301 esac
6302 ac_abs_top_builddir=$ac_pwd
6303 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6304 # for backward compatibility:
6305 ac_top_builddir=$ac_top_build_prefix
6306
6307 case $srcdir in
6308 .) # We are building in place.
6309 ac_srcdir=.
6310 ac_top_srcdir=$ac_top_builddir_sub
6311 ac_abs_top_srcdir=$ac_pwd ;;
6312 [\\/]* | ?:[\\/]* ) # Absolute name.
6313 ac_srcdir=$srcdir$ac_dir_suffix;
6314 ac_top_srcdir=$srcdir
6315 ac_abs_top_srcdir=$srcdir ;;
6316 *) # Relative name.
6317 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6318 ac_top_srcdir=$ac_top_build_prefix$srcdir
6319 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6320 esac
6321 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6322
6323
6324 case $ac_mode in
6325 :F)
6326 #
6327 # CONFIG_FILE
6328 #
6329
6330 case $INSTALL in
6331 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6332 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6333 esac
6334 ac_MKDIR_P=$MKDIR_P
6335 case $MKDIR_P in
6336 [\\/$]* | ?:[\\/]* ) ;;
6337 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6338 esac
6339 _ACEOF
6340
6341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6342 # If the template does not know about datarootdir, expand it.
6343 # FIXME: This hack should be removed a few years after 2.60.
6344 ac_datarootdir_hack=; ac_datarootdir_seen=
6345 ac_sed_dataroot='
6346 /datarootdir/ {
6347 p
6348 q
6349 }
6350 /@datadir@/p
6351 /@docdir@/p
6352 /@infodir@/p
6353 /@localedir@/p
6354 /@mandir@/p'
6355 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6356 *datarootdir*) ac_datarootdir_seen=yes;;
6357 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6359 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6360 _ACEOF
6361 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6362 ac_datarootdir_hack='
6363 s&@datadir@&$datadir&g
6364 s&@docdir@&$docdir&g
6365 s&@infodir@&$infodir&g
6366 s&@localedir@&$localedir&g
6367 s&@mandir@&$mandir&g
6368 s&\\\${datarootdir}&$datarootdir&g' ;;
6369 esac
6370 _ACEOF
6371
6372 # Neutralize VPATH when `$srcdir' = `.'.
6373 # Shell code in configure.ac might set extrasub.
6374 # FIXME: do we really want to maintain this feature?
6375 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6376 ac_sed_extra="$ac_vpsub
6377 $extrasub
6378 _ACEOF
6379 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6380 :t
6381 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6382 s|@configure_input@|$ac_sed_conf_input|;t t
6383 s&@top_builddir@&$ac_top_builddir_sub&;t t
6384 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6385 s&@srcdir@&$ac_srcdir&;t t
6386 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6387 s&@top_srcdir@&$ac_top_srcdir&;t t
6388 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6389 s&@builddir@&$ac_builddir&;t t
6390 s&@abs_builddir@&$ac_abs_builddir&;t t
6391 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6392 s&@INSTALL@&$ac_INSTALL&;t t
6393 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6394 $ac_datarootdir_hack
6395 "
6396 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6397 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6398
6399 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6400 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6401 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6402 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6404 which seems to be undefined. Please make sure it is defined" >&5
6405 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6406 which seems to be undefined. Please make sure it is defined" >&2;}
6407
6408 rm -f "$ac_tmp/stdin"
6409 case $ac_file in
6410 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6411 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6412 esac \
6413 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6414 ;;
6415
6416
6417 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6418 $as_echo "$as_me: executing $ac_file commands" >&6;}
6419 ;;
6420 esac
6421
6422
6423 case $ac_file$ac_mode in
6424 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6425 # Older Autoconf quotes --file arguments for eval, but not when files
6426 # are listed without --file. Let's play safe and only enable the eval
6427 # if we detect the quoting.
6428 case $CONFIG_FILES in
6429 *\'*) eval set x "$CONFIG_FILES" ;;
6430 *) set x $CONFIG_FILES ;;
6431 esac
6432 shift
6433 for mf
6434 do
6435 # Strip MF so we end up with the name of the file.
6436 mf=`echo "$mf" | sed -e 's/:.*$//'`
6437 # Check whether this is an Automake generated Makefile or not.
6438 # We used to match only the files named 'Makefile.in', but
6439 # some people rename them; so instead we look at the file content.
6440 # Grep'ing the first line is not enough: some people post-process
6441 # each Makefile.in and add a new line on top of each file to say so.
6442 # Grep'ing the whole file is not good either: AIX grep has a line
6443 # limit of 2048, but all sed's we know have understand at least 4000.
6444 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6445 dirpart=`$as_dirname -- "$mf" ||
6446 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6447 X"$mf" : 'X\(//\)[^/]' \| \
6448 X"$mf" : 'X\(//\)$' \| \
6449 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6450 $as_echo X"$mf" |
6451 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6452 s//\1/
6453 q
6454 }
6455 /^X\(\/\/\)[^/].*/{
6456 s//\1/
6457 q
6458 }
6459 /^X\(\/\/\)$/{
6460 s//\1/
6461 q
6462 }
6463 /^X\(\/\).*/{
6464 s//\1/
6465 q
6466 }
6467 s/.*/./; q'`
6468 else
6469 continue
6470 fi
6471 # Extract the definition of DEPDIR, am__include, and am__quote
6472 # from the Makefile without running 'make'.
6473 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6474 test -z "$DEPDIR" && continue
6475 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6476 test -z "$am__include" && continue
6477 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6478 # Find all dependency output files, they are included files with
6479 # $(DEPDIR) in their names. We invoke sed twice because it is the
6480 # simplest approach to changing $(DEPDIR) to its actual value in the
6481 # expansion.
6482 for file in `sed -n "
6483 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6484 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
6485 # Make sure the directory exists.
6486 test -f "$dirpart/$file" && continue
6487 fdir=`$as_dirname -- "$file" ||
6488 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6489 X"$file" : 'X\(//\)[^/]' \| \
6490 X"$file" : 'X\(//\)$' \| \
6491 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6492 $as_echo X"$file" |
6493 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6494 s//\1/
6495 q
6496 }
6497 /^X\(\/\/\)[^/].*/{
6498 s//\1/
6499 q
6500 }
6501 /^X\(\/\/\)$/{
6502 s//\1/
6503 q
6504 }
6505 /^X\(\/\).*/{
6506 s//\1/
6507 q
6508 }
6509 s/.*/./; q'`
6510 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6511 # echo "creating $dirpart/$file"
6512 echo '# dummy' > "$dirpart/$file"
6513 done
6514 done
6515 }
6516 ;;
6517
6518 esac
6519 done # for ac_tag
6520
6521
6522 as_fn_exit 0
6523 _ACEOF
6524 ac_clean_files=$ac_clean_files_save
6525
6526 test $ac_write_fail = 0 ||
6527 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6528
6529
6530 # configure is writing to config.log, and then calls config.status.
6531 # config.status does its own redirection, appending to config.log.
6532 # Unfortunately, on DOS this fails, as config.log is still kept open
6533 # by configure, so config.status won't be able to write to it; its
6534 # output is simply discarded. So we exec the FD to /dev/null,
6535 # effectively closing config.log, so it can be properly (re)opened and
6536 # appended to by config.status. When coming back to configure, we
6537 # need to make the FD available again.
6538 if test "$no_create" != yes; then
6539 ac_cs_success=:
6540 ac_config_status_args=
6541 test "$silent" = yes &&
6542 ac_config_status_args="$ac_config_status_args --quiet"
6543 exec 5>/dev/null
6544 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6545 exec 5>>config.log
6546 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6547 # would make configure fail if this is the last instruction.
6548 $ac_cs_success || as_fn_exit 1
6549 fi
6550
6551 #
6552 # CONFIG_SUBDIRS section.
6553 #
6554 if test "$no_recursion" != yes; then
6555
6556 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
6557 # so they do not pile up.
6558 ac_sub_configure_args=
6559 ac_prev=
6560 eval "set x $ac_configure_args"
6561 shift
6562 for ac_arg
6563 do
6564 if test -n "$ac_prev"; then
6565 ac_prev=
6566 continue
6567 fi
6568 case $ac_arg in
6569 -cache-file | --cache-file | --cache-fil | --cache-fi \
6570 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
6571 ac_prev=cache_file ;;
6572 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
6573 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
6574 | --c=*)
6575 ;;
6576 --config-cache | -C)
6577 ;;
6578 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
6579 ac_prev=srcdir ;;
6580 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
6581 ;;
6582 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
6583 ac_prev=prefix ;;
6584 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
6585 ;;
6586 --disable-option-checking)
6587 ;;
6588 *)
6589 case $ac_arg in
6590 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6591 esac
6592 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
6593 esac
6594 done
6595
6596 # Always prepend --prefix to ensure using the same prefix
6597 # in subdir configurations.
6598 ac_arg="--prefix=$prefix"
6599 case $ac_arg in
6600 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6601 esac
6602 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
6603
6604 # Pass --silent
6605 if test "$silent" = yes; then
6606 ac_sub_configure_args="--silent $ac_sub_configure_args"
6607 fi
6608
6609 # Always prepend --disable-option-checking to silence warnings, since
6610 # different subdirs can have different --enable and --with options.
6611 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
6612
6613 ac_popdir=`pwd`
6614 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
6615
6616 # Do not complain, so a configure script can configure whichever
6617 # parts of a large source tree are present.
6618 test -d "$srcdir/$ac_dir" || continue
6619
6620 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
6621 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
6622 $as_echo "$ac_msg" >&6
6623 as_dir="$ac_dir"; as_fn_mkdir_p
6624 ac_builddir=.
6625
6626 case "$ac_dir" in
6627 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6628 *)
6629 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6630 # A ".." for each directory in $ac_dir_suffix.
6631 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6632 case $ac_top_builddir_sub in
6633 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6634 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6635 esac ;;
6636 esac
6637 ac_abs_top_builddir=$ac_pwd
6638 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6639 # for backward compatibility:
6640 ac_top_builddir=$ac_top_build_prefix
6641
6642 case $srcdir in
6643 .) # We are building in place.
6644 ac_srcdir=.
6645 ac_top_srcdir=$ac_top_builddir_sub
6646 ac_abs_top_srcdir=$ac_pwd ;;
6647 [\\/]* | ?:[\\/]* ) # Absolute name.
6648 ac_srcdir=$srcdir$ac_dir_suffix;
6649 ac_top_srcdir=$srcdir
6650 ac_abs_top_srcdir=$srcdir ;;
6651 *) # Relative name.
6652 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6653 ac_top_srcdir=$ac_top_build_prefix$srcdir
6654 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6655 esac
6656 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6657
6658
6659 cd "$ac_dir"
6660
6661 # Check for guested configure; otherwise get Cygnus style configure.
6662 if test -f "$ac_srcdir/configure.gnu"; then
6663 ac_sub_configure=$ac_srcdir/configure.gnu
6664 elif test -f "$ac_srcdir/configure"; then
6665 ac_sub_configure=$ac_srcdir/configure
6666 elif test -f "$ac_srcdir/configure.in"; then
6667 # This should be Cygnus configure.
6668 ac_sub_configure=$ac_aux_dir/configure
6669 else
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
6671 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
6672 ac_sub_configure=
6673 fi
6674
6675 # The recursion is here.
6676 if test -n "$ac_sub_configure"; then
6677 # Make the cache file name correct relative to the subdirectory.
6678 case $cache_file in
6679 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
6680 *) # Relative name.
6681 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
6682 esac
6683
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
6685 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
6686 # The eval makes quoting arguments work.
6687 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
6688 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
6689 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
6690 fi
6691
6692 cd "$ac_popdir"
6693 done
6694 fi
6695 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6697 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6698 fi
6699