2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev
/null
; then :
205 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
210 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir
=.
217 for as_base
in sh bash ksh sh5
; do
218 # Try only shells that exist, to save several forks.
219 as_shell
=$as_dir/$as_base
220 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
222 CONFIG_SHELL
=$as_shell as_have_required
=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
231 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$SHELL as_have_required
=yes
238 if test "x$CONFIG_SHELL" != x
; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
248 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x
$as_have_required = xno
; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x
${ZSH_VERSION+set} = xset
; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL
=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE
= GREP_OPTIONS
=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir
=.
/$as_dir;;
321 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
325 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs
="'$as_qdir' $as_dirs"
329 as_dir
=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
355 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p
()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
398 as_val
=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status
=$1; test $as_status -eq 0 && as_status
=1
412 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit
$as_status
419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
426 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
438 as_me
=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits
='0123456789'
462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
465 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
466 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x
"$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec
=no
; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C
= ECHO_N
= ECHO_T
=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
513 rm -f conf$$ conf$$.exe conf$$.
file
514 if test -d conf$$.dir
; then
515 rm -f conf$$.dir
/conf$$.
file
518 mkdir conf$$.dir
2>/dev
/null
520 if (echo >conf$$.
file) 2>/dev
/null
; then
521 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
529 elif ln conf$$.
file conf$$
2>/dev
/null
; then
537 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
538 rmdir conf$$.dir
2>/dev
/null
540 if mkdir
-p .
2>/dev
/null
; then
541 as_mkdir_p
='mkdir -p "$as_dir"'
543 test -d .
/-p && rmdir .
/-p
548 as_executable_p
=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix
=/usr
/local
570 ac_config_libobj_dir
=.
577 # Identity of this package.
585 ac_unique_file
="Makefile.in"
586 # Factoring default headers for most tests.
587 ac_includes_default
="\
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
599 # ifdef HAVE_STDLIB_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
622 ac_subst_vars
='LTLIBOBJS
697 program_transform_name
710 enable_option_checking
713 enable_sim_decode_mechanism
714 enable_sim_default_model
719 enable_sim_hostbitsize
725 enable_sim_model_issue
729 enable_sim_reserved_bits
734 enable_sim_xor_endian
736 ac_precious_vars
='build_alias
747 # Initialize some variables set by options.
749 ac_init_version
=false
750 ac_unrecognized_opts
=
752 # The variables have the same names as the options, with
753 # dashes changed to underlines.
761 program_transform_name
=s
,x
,x
,
769 # Installation directory options.
770 # These are left unexpanded so users can "make install exec_prefix=/foo"
771 # and all the variables that are supposed to be based on exec_prefix
772 # by default will actually change.
773 # Use braces instead of parens because sh, perl, etc. also accept them.
774 # (The list follows the same order as the GNU Coding Standards.)
775 bindir
='${exec_prefix}/bin'
776 sbindir
='${exec_prefix}/sbin'
777 libexecdir
='${exec_prefix}/libexec'
778 datarootdir
='${prefix}/share'
779 datadir
='${datarootdir}'
780 sysconfdir
='${prefix}/etc'
781 sharedstatedir
='${prefix}/com'
782 localstatedir
='${prefix}/var'
783 includedir
='${prefix}/include'
784 oldincludedir
='/usr/include'
785 docdir
='${datarootdir}/doc/${PACKAGE}'
786 infodir
='${datarootdir}/info'
791 libdir
='${exec_prefix}/lib'
792 localedir
='${datarootdir}/locale'
793 mandir
='${datarootdir}/man'
799 # If the previous option needs an argument, assign it.
800 if test -n "$ac_prev"; then
801 eval $ac_prev=\
$ac_option
807 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
812 # Accept the important Cygnus configure options, so we can diagnose typos.
814 case $ac_dashdash$ac_option in
818 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
820 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
823 -build |
--build |
--buil |
--bui |
--bu)
824 ac_prev
=build_alias
;;
825 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
826 build_alias
=$ac_optarg ;;
828 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
829 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
830 ac_prev
=cache_file
;;
831 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
832 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
833 cache_file
=$ac_optarg ;;
836 cache_file
=config.cache
;;
838 -datadir |
--datadir |
--datadi |
--datad)
840 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
841 datadir
=$ac_optarg ;;
843 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
844 |
--dataroo |
--dataro |
--datar)
845 ac_prev
=datarootdir
;;
846 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
847 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
848 datarootdir
=$ac_optarg ;;
850 -disable-* |
--disable-*)
851 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
852 # Reject names that are not valid shell variable names.
853 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
854 as_fn_error $?
"invalid feature name: $ac_useropt"
855 ac_useropt_orig
=$ac_useropt
856 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
857 case $ac_user_opts in
861 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
862 ac_unrecognized_sep
=', ';;
864 eval enable_
$ac_useropt=no
;;
866 -docdir |
--docdir |
--docdi |
--doc |
--do)
868 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
871 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
873 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
876 -enable-* |
--enable-*)
877 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
878 # Reject names that are not valid shell variable names.
879 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
880 as_fn_error $?
"invalid feature name: $ac_useropt"
881 ac_useropt_orig
=$ac_useropt
882 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
883 case $ac_user_opts in
887 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
888 ac_unrecognized_sep
=', ';;
890 eval enable_
$ac_useropt=\
$ac_optarg ;;
892 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
893 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
894 |
--exec |
--exe |
--ex)
895 ac_prev
=exec_prefix
;;
896 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
897 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
898 |
--exec=* |
--exe=* |
--ex=*)
899 exec_prefix
=$ac_optarg ;;
901 -gas |
--gas |
--ga |
--g)
902 # Obsolete; use --with-gas.
905 -help |
--help |
--hel |
--he |
-h)
907 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
908 ac_init_help
=recursive
;;
909 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
910 ac_init_help
=short
;;
912 -host |
--host |
--hos |
--ho)
913 ac_prev
=host_alias
;;
914 -host=* |
--host=* |
--hos=* |
--ho=*)
915 host_alias
=$ac_optarg ;;
917 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
919 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
921 htmldir
=$ac_optarg ;;
923 -includedir |
--includedir |
--includedi |
--included |
--include \
924 |
--includ |
--inclu |
--incl |
--inc)
925 ac_prev
=includedir
;;
926 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
927 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
928 includedir
=$ac_optarg ;;
930 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
932 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
933 infodir
=$ac_optarg ;;
935 -libdir |
--libdir |
--libdi |
--libd)
937 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
940 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
941 |
--libexe |
--libex |
--libe)
942 ac_prev
=libexecdir
;;
943 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
944 |
--libexe=* |
--libex=* |
--libe=*)
945 libexecdir
=$ac_optarg ;;
947 -localedir |
--localedir |
--localedi |
--localed |
--locale)
949 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
950 localedir
=$ac_optarg ;;
952 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
953 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
954 ac_prev
=localstatedir
;;
955 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
956 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
957 localstatedir
=$ac_optarg ;;
959 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
961 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
965 # Obsolete; use --without-fp.
968 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
969 |
--no-cr |
--no-c |
-n)
972 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
973 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
976 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
977 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
978 |
--oldin |
--oldi |
--old |
--ol |
--o)
979 ac_prev
=oldincludedir
;;
980 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
981 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
982 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
983 oldincludedir
=$ac_optarg ;;
985 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
987 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
990 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
991 |
--program-pre |
--program-pr |
--program-p)
992 ac_prev
=program_prefix
;;
993 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
994 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
995 program_prefix
=$ac_optarg ;;
997 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
998 |
--program-suf |
--program-su |
--program-s)
999 ac_prev
=program_suffix
;;
1000 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1001 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1002 program_suffix
=$ac_optarg ;;
1004 -program-transform-name |
--program-transform-name \
1005 |
--program-transform-nam |
--program-transform-na \
1006 |
--program-transform-n |
--program-transform- \
1007 |
--program-transform |
--program-transfor \
1008 |
--program-transfo |
--program-transf \
1009 |
--program-trans |
--program-tran \
1010 |
--progr-tra |
--program-tr |
--program-t)
1011 ac_prev
=program_transform_name
;;
1012 -program-transform-name=* |
--program-transform-name=* \
1013 |
--program-transform-nam=* |
--program-transform-na=* \
1014 |
--program-transform-n=* |
--program-transform-=* \
1015 |
--program-transform=* |
--program-transfor=* \
1016 |
--program-transfo=* |
--program-transf=* \
1017 |
--program-trans=* |
--program-tran=* \
1018 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1019 program_transform_name
=$ac_optarg ;;
1021 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1023 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1024 pdfdir
=$ac_optarg ;;
1026 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1028 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1031 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1032 |
-silent |
--silent |
--silen |
--sile |
--sil)
1035 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1037 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1039 sbindir
=$ac_optarg ;;
1041 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1042 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1043 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1045 ac_prev
=sharedstatedir
;;
1046 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1047 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1048 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1050 sharedstatedir
=$ac_optarg ;;
1052 -site |
--site |
--sit)
1054 -site=* |
--site=* |
--sit=*)
1057 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1059 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1060 srcdir
=$ac_optarg ;;
1062 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1063 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1064 ac_prev
=sysconfdir
;;
1065 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1066 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1067 sysconfdir
=$ac_optarg ;;
1069 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1070 ac_prev
=target_alias
;;
1071 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1072 target_alias
=$ac_optarg ;;
1074 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1077 -version |
--version |
--versio |
--versi |
--vers |
-V)
1078 ac_init_version
=: ;;
1081 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1082 # Reject names that are not valid shell variable names.
1083 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1084 as_fn_error $?
"invalid package name: $ac_useropt"
1085 ac_useropt_orig
=$ac_useropt
1086 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1087 case $ac_user_opts in
1091 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1092 ac_unrecognized_sep
=', ';;
1094 eval with_
$ac_useropt=\
$ac_optarg ;;
1096 -without-* |
--without-*)
1097 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1098 # Reject names that are not valid shell variable names.
1099 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1100 as_fn_error $?
"invalid package name: $ac_useropt"
1101 ac_useropt_orig
=$ac_useropt
1102 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1103 case $ac_user_opts in
1107 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1108 ac_unrecognized_sep
=', ';;
1110 eval with_
$ac_useropt=no
;;
1113 # Obsolete; use --with-x.
1116 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1117 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1118 ac_prev
=x_includes
;;
1119 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1120 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1121 x_includes
=$ac_optarg ;;
1123 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1124 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1125 ac_prev
=x_libraries
;;
1126 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1127 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1128 x_libraries
=$ac_optarg ;;
1130 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1131 Try \`$0 --help' for more information"
1135 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1136 # Reject names that are not valid shell variable names.
1137 case $ac_envvar in #(
1138 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1139 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1141 eval $ac_envvar=\
$ac_optarg
1142 export $ac_envvar ;;
1145 # FIXME: should be removed in autoconf 3.0.
1146 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1147 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1148 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1149 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1155 if test -n "$ac_prev"; then
1156 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1157 as_fn_error $?
"missing argument to $ac_option"
1160 if test -n "$ac_unrecognized_opts"; then
1161 case $enable_option_checking in
1163 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1164 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1168 # Check all directory arguments for consistency.
1169 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1170 datadir sysconfdir sharedstatedir localstatedir includedir \
1171 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1172 libdir localedir mandir
1174 eval ac_val
=\$
$ac_var
1175 # Remove trailing slashes.
1178 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1179 eval $ac_var=\
$ac_val;;
1181 # Be sure to have absolute directory names.
1183 [\\/$
]* | ?
:[\\/]* ) continue;;
1184 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1186 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1189 # There might be people who depend on the old broken behavior: `$host'
1190 # used to hold the argument of --host etc.
1191 # FIXME: To remove some day.
1194 target
=$target_alias
1196 # FIXME: To remove some day.
1197 if test "x$host_alias" != x
; then
1198 if test "x$build_alias" = x
; then
1199 cross_compiling
=maybe
1200 elif test "x$build_alias" != "x$host_alias"; then
1206 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1208 test "$silent" = yes && exec 6>/dev
/null
1211 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1212 ac_ls_di
=`ls -di .` &&
1213 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1214 as_fn_error $?
"working directory cannot be determined"
1215 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1216 as_fn_error $?
"pwd does not report name of working directory"
1219 # Find the source files, if location was not specified.
1220 if test -z "$srcdir"; then
1221 ac_srcdir_defaulted
=yes
1222 # Try the directory containing this script, then the parent directory.
1223 ac_confdir
=`$as_dirname -- "$as_myself" ||
1224 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1225 X"$as_myself" : 'X\(//\)[^/]' \| \
1226 X"$as_myself" : 'X\(//\)$' \| \
1227 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1228 $as_echo X"$as_myself" |
1229 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1247 if test ! -r "$srcdir/$ac_unique_file"; then
1251 ac_srcdir_defaulted
=no
1253 if test ! -r "$srcdir/$ac_unique_file"; then
1254 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1255 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1257 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1259 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1261 # When building in place, set srcdir=.
1262 if test "$ac_abs_confdir" = "$ac_pwd"; then
1265 # Remove unnecessary trailing slashes from srcdir.
1266 # Double slashes in file names in object file debugging info
1267 # mess up M-x gdb in Emacs.
1269 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1271 for ac_var
in $ac_precious_vars; do
1272 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1273 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1274 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1275 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1279 # Report the --help message.
1281 if test "$ac_init_help" = "long"; then
1282 # Omit some internal or obsolete options to make the list less imposing.
1283 # This message is too long to be a string in the A/UX 3.1 sh.
1285 \`configure' configures this package to adapt to many kinds of systems.
1287 Usage: $0 [OPTION]... [VAR=VALUE]...
1289 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1290 VAR=VALUE. See below for descriptions of some of the useful variables.
1292 Defaults for the options are specified in brackets.
1295 -h, --help display this help and exit
1296 --help=short display options specific to this package
1297 --help=recursive display the short help of all the included packages
1298 -V, --version display version information and exit
1299 -q, --quiet, --silent do not print \`checking ...' messages
1300 --cache-file=FILE cache test results in FILE [disabled]
1301 -C, --config-cache alias for \`--cache-file=config.cache'
1302 -n, --no-create do not create output files
1303 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1305 Installation directories:
1306 --prefix=PREFIX install architecture-independent files in PREFIX
1307 [$ac_default_prefix]
1308 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1311 By default, \`make install' will install all the files in
1312 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1313 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1314 for instance \`--prefix=\$HOME'.
1316 For better control, use the options below.
1318 Fine tuning of the installation directories:
1319 --bindir=DIR user executables [EPREFIX/bin]
1320 --sbindir=DIR system admin executables [EPREFIX/sbin]
1321 --libexecdir=DIR program executables [EPREFIX/libexec]
1322 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1323 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1324 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1325 --libdir=DIR object code libraries [EPREFIX/lib]
1326 --includedir=DIR C header files [PREFIX/include]
1327 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1328 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1329 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1330 --infodir=DIR info documentation [DATAROOTDIR/info]
1331 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1332 --mandir=DIR man documentation [DATAROOTDIR/man]
1333 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1334 --htmldir=DIR html documentation [DOCDIR]
1335 --dvidir=DIR dvi documentation [DOCDIR]
1336 --pdfdir=DIR pdf documentation [DOCDIR]
1337 --psdir=DIR ps documentation [DOCDIR]
1344 if test -n "$ac_init_help"; then
1349 --disable-option-checking ignore unrecognized
--enable/--with options
1350 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1351 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1352 --enable-sim-bitsize=n Specify target bitsize
(32 or
64).
1353 --enable-sim-config=file Override default config
file
1354 --enable-sim-decode-mechanism=which Specify the instruction decode mechanism.
1355 --enable-sim-default-model=which Specify default PowerPC to model.
1356 --enable-sim-duplicate Expand
(duplicate
) semantic functions.
1357 --enable-sim-filter=rule Specify filter rules.
1358 --enable-sim-float Specify whether the target has hard
, soft
, altivec or e500 floating point.
1359 --enable-sim-hardware=list Specify the hardware to be included
in the build.
1360 --enable-sim-hostbitsize=32|
64 Specify
host bitsize
(32 or
64).
1361 --enable-sim-icache=size Specify instruction-decode cache size and
type.
1362 --enable-sim-inline=inlines Specify
which functions should be inlined.
1363 --enable-sim-jump Jump between semantic code
(instead of
call
/return).
1364 --enable-sim-line-nr=opts Generate extra CPP code that references
source rather than generated code
1365 --enable-sim-model=which Specify PowerPC to model.
1366 --enable-sim-model-issue Specify whether to simulate model specific actions
1367 --enable-sim-monitor=mon Specify whether to
enable monitoring events.
1368 --enable-sim-opcode=which Override default opcode lookup.
1369 --enable-sim-packages=list Specify the packages to be included
in the build.
1370 --enable-sim-reserved-bits Specify whether to check reserved bits
in instruction.
1371 --enable-sim-smp=n Specify number of processors to configure
for.
1372 --enable-sim-switch Use a switch instead of a table
for instruction call.
1373 --enable-sim-timebase Specify whether the PPC timebase is supported.
1374 --enable-sim-warnings=opts Extra CFLAGS
for turning on compiler warnings except
for idecode.o
, semantics.o and psim.o
1375 --enable-sim-xor-endian=n Specify number bytes involved
in PowerPC XOR bi-endian mode
(default
8).
1377 Some influential environment variables
:
1378 CC C compiler
command
1379 CFLAGS C compiler flags
1380 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1381 nonstandard directory
<lib dir
>
1382 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1383 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1384 you have headers
in a nonstandard directory
<include dir
>
1387 Use these variables to override the choices made by
`configure' or to help
1388 it to find libraries and programs with nonstandard names/locations.
1390 Report bugs to the package provider.
1395 if test "$ac_init_help" = "recursive"; then
1396 # If there are subdirs, report their specific --help.
1397 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1398 test -d "$ac_dir" ||
1399 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1404 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1406 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1407 # A ".." for each directory in $ac_dir_suffix.
1408 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1409 case $ac_top_builddir_sub in
1410 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1411 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1414 ac_abs_top_builddir=$ac_pwd
1415 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1416 # for backward compatibility:
1417 ac_top_builddir=$ac_top_build_prefix
1420 .) # We are building in place.
1422 ac_top_srcdir=$ac_top_builddir_sub
1423 ac_abs_top_srcdir=$ac_pwd ;;
1424 [\\/]* | ?:[\\/]* ) # Absolute name.
1425 ac_srcdir=$srcdir$ac_dir_suffix;
1426 ac_top_srcdir=$srcdir
1427 ac_abs_top_srcdir=$srcdir ;;
1429 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1430 ac_top_srcdir=$ac_top_build_prefix$srcdir
1431 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1433 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1435 cd "$ac_dir" || { ac_status=$?; continue; }
1436 # Check for guested configure.
1437 if test -f "$ac_srcdir/configure.gnu"; then
1439 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1440 elif test -f "$ac_srcdir/configure"; then
1442 $SHELL "$ac_srcdir/configure" --help=recursive
1444 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1446 cd "$ac_pwd" || { ac_status=$?; break; }
1450 test -n "$ac_init_help" && exit $ac_status
1451 if $ac_init_version; then
1454 generated by GNU Autoconf 2.69
1456 Copyright (C) 2012 Free Software Foundation, Inc.
1457 This configure script is free software; the Free Software Foundation
1458 gives unlimited permission to copy, distribute and modify it.
1463 ## ------------------------ ##
1464 ## Autoconf initialization. ##
1465 ## ------------------------ ##
1467 # ac_fn_c_try_compile LINENO
1468 # --------------------------
1469 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1470 ac_fn_c_try_compile ()
1472 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1473 rm -f conftest.$ac_objext
1474 if { { ac_try="$ac_compile"
1476 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1477 *) ac_try_echo
=$ac_try;;
1479 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1480 $as_echo "$ac_try_echo"; } >&5
1481 (eval "$ac_compile") 2>conftest.err
1483 if test -s conftest.err
; then
1484 grep -v '^ *+' conftest.err
>conftest.er1
1485 cat conftest.er1
>&5
1486 mv -f conftest.er1 conftest.err
1488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1489 test $ac_status = 0; } && {
1490 test -z "$ac_c_werror_flag" ||
1491 test ! -s conftest.err
1492 } && test -s conftest.
$ac_objext; then :
1495 $as_echo "$as_me: failed program was:" >&5
1496 sed 's/^/| /' conftest.
$ac_ext >&5
1500 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1501 as_fn_set_status
$ac_retval
1503 } # ac_fn_c_try_compile
1505 # ac_fn_c_try_run LINENO
1506 # ----------------------
1507 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1508 # that executables *can* be run.
1511 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1512 if { { ac_try
="$ac_link"
1514 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1515 *) ac_try_echo=$ac_try;;
1517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1518 $as_echo "$ac_try_echo"; } >&5
1519 (eval "$ac_link") 2>&5
1521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1522 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1523 { { case "(($ac_try" in
1524 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1525 *) ac_try_echo
=$ac_try;;
1527 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1528 $as_echo "$ac_try_echo"; } >&5
1529 (eval "$ac_try") 2>&5
1531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1532 test $ac_status = 0; }; }; then :
1535 $as_echo "$as_me: program exited with status $ac_status" >&5
1536 $as_echo "$as_me: failed program was:" >&5
1537 sed 's/^/| /' conftest.
$ac_ext >&5
1539 ac_retval
=$ac_status
1541 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1542 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1543 as_fn_set_status
$ac_retval
1547 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1548 # -------------------------------------------
1549 # Tests whether TYPE exists after having included INCLUDES, setting cache
1550 # variable VAR accordingly.
1551 ac_fn_c_check_type
()
1553 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1555 $as_echo_n "checking for $2... " >&6; }
1556 if eval \
${$3+:} false
; then :
1557 $as_echo_n "(cached) " >&6
1560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1561 /* end confdefs.h. */
1572 if ac_fn_c_try_compile
"$LINENO"; then :
1573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1574 /* end confdefs.h. */
1585 if ac_fn_c_try_compile
"$LINENO"; then :
1590 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1592 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1596 $as_echo "$ac_res" >&6; }
1597 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1599 } # ac_fn_c_check_type
1601 # ac_fn_c_try_cpp LINENO
1602 # ----------------------
1603 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1606 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1607 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1609 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1610 *) ac_try_echo=$ac_try;;
1612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1613 $as_echo "$ac_try_echo"; } >&5
1614 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1616 if test -s conftest.err; then
1617 grep -v '^ *+' conftest.err >conftest.er1
1618 cat conftest.er1 >&5
1619 mv -f conftest.er1 conftest.err
1621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1622 test $ac_status = 0; } > conftest.i && {
1623 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1624 test ! -s conftest.err
1628 $as_echo "$as_me: failed program was:" >&5
1629 sed 's/^/| /' conftest.$ac_ext >&5
1633 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1634 as_fn_set_status $ac_retval
1638 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1639 # -------------------------------------------------------
1640 # Tests whether HEADER exists and can be compiled using the include files in
1641 # INCLUDES, setting the cache variable VAR accordingly.
1642 ac_fn_c_check_header_compile ()
1644 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1646 $as_echo_n "checking for $2... " >&6; }
1647 if eval \${$3+:} false; then :
1648 $as_echo_n "(cached) " >&6
1650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1651 /* end confdefs.h. */
1655 if ac_fn_c_try_compile "$LINENO"; then :
1660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1664 $as_echo "$ac_res" >&6; }
1665 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1667 } # ac_fn_c_check_header_compile
1668 cat >config.log <<_ACEOF
1669 This file contains any messages produced by compilers while
1670 running configure, to aid debugging if configure makes a mistake.
1672 It was created by $as_me, which was
1673 generated by GNU Autoconf 2.69. Invocation command line was
1685 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1686 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1687 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1688 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1689 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1691 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1692 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1694 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1695 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1696 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1697 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1698 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1699 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1700 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1708 test -z "$as_dir" && as_dir=.
1709 $as_echo "PATH: $as_dir"
1725 # Keep a trace of the command line.
1726 # Strip out --no-create and --no-recursion so they do not pile up.
1727 # Strip out --silent because we don't want to record it for future runs.
1728 # Also quote any args containing shell meta-characters.
1729 # Make two passes to allow for proper duplicate-argument suppression.
1733 ac_must_keep_next=false
1739 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1740 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1741 | -silent | --silent | --silen | --sile | --sil)
1744 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1747 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1749 as_fn_append ac_configure_args1 " '$ac_arg'"
1750 if test $ac_must_keep_next = true; then
1751 ac_must_keep_next=false # Got value, back to normal.
1754 *=* | --config-cache | -C | -disable-* | --disable-* \
1755 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1756 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1757 | -with-* | --with-* | -without-* | --without-* | --x)
1758 case "$ac_configure_args0 " in
1759 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1762 -* ) ac_must_keep_next=true ;;
1765 as_fn_append ac_configure_args " '$ac_arg'"
1770 { ac_configure_args0=; unset ac_configure_args0;}
1771 { ac_configure_args1=; unset ac_configure_args1;}
1773 # When interrupted or exit'd, cleanup temporary files, and complete
1774 # config.log. We remove comments because anyway the quotes in there
1775 # would cause problems or look ugly.
1776 # WARNING: Use '\'' to represent an apostrophe within the trap.
1777 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1778 trap 'exit_status=$?
1779 # Save into config.log some information that might help in debugging.
1783 $as_echo "## ---------------- ##
1784 ## Cache variables. ##
1785 ## ---------------- ##"
1787 # The following way of writing the cache mishandles newlines in values,
1789 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1790 eval ac_val=\$$ac_var
1794 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1795 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1798 _ | IFS | as_nl) ;; #(
1799 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1800 *) { eval $ac_var=; unset $ac_var;} ;;
1805 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1806 *${as_nl}ac_space=\ *)
1808 "s/'\''/'\''\\\\'\'''\''/g;
1809 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1812 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1819 $as_echo "## ----------------- ##
1820 ## Output variables. ##
1821 ## ----------------- ##"
1823 for ac_var in $ac_subst_vars
1825 eval ac_val=\$$ac_var
1827 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1829 $as_echo "$ac_var='\''$ac_val'\''"
1833 if test -n "$ac_subst_files"; then
1834 $as_echo "## ------------------- ##
1835 ## File substitutions. ##
1836 ## ------------------- ##"
1838 for ac_var in $ac_subst_files
1840 eval ac_val=\$$ac_var
1842 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1844 $as_echo "$ac_var='\''$ac_val'\''"
1849 if test -s confdefs.h; then
1850 $as_echo "## ----------- ##
1857 test "$ac_signal" != 0 &&
1858 $as_echo "$as_me: caught signal $ac_signal"
1859 $as_echo "$as_me: exit $exit_status"
1861 rm -f core *.core core.conftest.* &&
1862 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1865 for ac_signal in 1 2 13 15; do
1866 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1870 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1871 rm -f -r conftest* confdefs.h
1873 $as_echo "/* confdefs.h */" > confdefs.h
1875 # Predefined preprocessor variables.
1877 cat >>confdefs.h <<_ACEOF
1878 #define PACKAGE_NAME "$PACKAGE_NAME"
1881 cat >>confdefs.h <<_ACEOF
1882 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1885 cat >>confdefs.h <<_ACEOF
1886 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1889 cat >>confdefs.h <<_ACEOF
1890 #define PACKAGE_STRING "$PACKAGE_STRING"
1893 cat >>confdefs.h <<_ACEOF
1894 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1897 cat >>confdefs.h <<_ACEOF
1898 #define PACKAGE_URL "$PACKAGE_URL"
1902 # Let the site file select an alternate cache file if it wants to.
1903 # Prefer an explicitly selected file to automatically selected ones.
1906 if test -n "$CONFIG_SITE"; then
1907 # We do not want a PATH search for config.site.
1908 case $CONFIG_SITE in #((
1909 -*) ac_site_file1=./$CONFIG_SITE;;
1910 */*) ac_site_file1=$CONFIG_SITE;;
1911 *) ac_site_file1=./$CONFIG_SITE;;
1913 elif test "x$prefix" != xNONE; then
1914 ac_site_file1=$prefix/share/config.site
1915 ac_site_file2=$prefix/etc/config.site
1917 ac_site_file1=$ac_default_prefix/share/config.site
1918 ac_site_file2=$ac_default_prefix/etc/config.site
1920 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1922 test "x$ac_site_file" = xNONE && continue
1923 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1925 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1926 sed 's/^/| /' "$ac_site_file" >&5
1928 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1929 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1930 as_fn_error $? "failed to load site
script $ac_site_file
1931 See \
`config.log' for more details" "$LINENO" 5; }
1935 if test -r "$cache_file"; then
1936 # Some versions of bash will fail to source /dev/null (special files
1937 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1938 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1940 $as_echo "$as_me: loading cache $cache_file" >&6;}
1942 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1943 *) . "./$cache_file";;
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1948 $as_echo "$as_me: creating cache $cache_file" >&6;}
1952 # Check that the precious variables saved in the cache have kept the same
1954 ac_cache_corrupted=false
1955 for ac_var in $ac_precious_vars; do
1956 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1957 eval ac_new_set=\$ac_env_${ac_var}_set
1958 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1959 eval ac_new_val=\$ac_env_${ac_var}_value
1960 case $ac_old_set,$ac_new_set in
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1963 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1964 ac_cache_corrupted=: ;;
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
1967 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1968 ac_cache_corrupted=: ;;
1971 if test "x$ac_old_val" != "x$ac_new_val"; then
1972 # differences in whitespace do not lead to failure.
1973 ac_old_val_w=`echo x
$ac_old_val`
1974 ac_new_val_w=`echo x
$ac_new_val`
1975 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1977 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1978 ac_cache_corrupted=:
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1981 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1982 eval $ac_var=\$ac_old_val
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1985 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1987 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1990 # Pass precious variables to config.status.
1991 if test "$ac_new_set" = set; then
1993 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1994 *) ac_arg=$ac_var=$ac_new_val ;;
1996 case " $ac_configure_args " in
1997 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1998 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2002 if $ac_cache_corrupted; then
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2004 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2006 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2007 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2009 ## -------------------- ##
2010 ## Main body of script. ##
2011 ## -------------------- ##
2014 ac_cpp='$CPP $CPPFLAGS'
2015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2023 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2024 if test -f "$ac_dir/install-sh"; then
2026 ac_install_sh="$ac_aux_dir/install-sh -c"
2028 elif test -f "$ac_dir/install.sh"; then
2030 ac_install_sh="$ac_aux_dir/install.sh -c"
2032 elif test -f "$ac_dir/shtool"; then
2034 ac_install_sh="$ac_aux_dir/shtool install -c"
2038 if test -z "$ac_aux_dir"; then
2039 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2042 # These three variables are undocumented and unsupported,
2043 # and are intended to be withdrawn in a future Autoconf release.
2044 # They can cause serious problems if a builder's source tree is in a directory
2045 # whose full name contains unusual characters.
2046 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2047 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2048 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2051 # Find a good install program. We prefer a C program (faster),
2052 # so one script is as good as another. But avoid the broken or
2053 # incompatible versions:
2054 # SysV /etc/install, /usr/sbin/install
2055 # SunOS /usr/etc/install
2056 # IRIX /sbin/install
2058 # AmigaOS /C/install, which installs bootblocks on floppy discs
2059 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2060 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2061 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2062 # OS/2's system install, which has a completely different semantic
2063 # ./install, which can be erroneously created by make from ./install.sh.
2064 # Reject install programs that cannot install multiple files.
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2066 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2067 if test -z "$INSTALL"; then
2068 if ${ac_cv_path_install+:} false; then :
2069 $as_echo_n "(cached) " >&6
2071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2075 test -z "$as_dir" && as_dir=.
2076 # Account for people who put trailing slashes in PATH elements.
2077 case $as_dir/ in #((
2078 ./ | .// | /[cC]/* | \
2079 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2080 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2083 # OSF1 and SCO ODT 3.0 have their own names for install.
2084 # Don't use installbsd from OSF since it installs stuff as root
2086 for ac_prog in ginstall scoinst install; do
2087 for ac_exec_ext in '' $ac_executable_extensions; do
2088 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2089 if test $ac_prog = install &&
2090 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2091 # AIX install. It has an incompatible calling convention.
2093 elif test $ac_prog = install &&
2094 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2095 # program-specific install script used by HP pwplus--don't use.
2098 rm -rf conftest.one conftest.two conftest.dir
2099 echo one > conftest.one
2100 echo two > conftest.two
2102 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2103 test -s conftest.one && test -s conftest.two &&
2104 test -s conftest.dir/conftest.one &&
2105 test -s conftest.dir/conftest.two
2107 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2120 rm -rf conftest.one conftest.two conftest.dir
2123 if test "${ac_cv_path_install+set}" = set; then
2124 INSTALL=$ac_cv_path_install
2126 # As a last resort, use the slow shell script. Don't cache a
2127 # value for INSTALL within a source directory, because that will
2128 # break other packages using the cache if that directory is
2129 # removed, or if the value is a relative name.
2130 INSTALL=$ac_install_sh
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2134 $as_echo "$INSTALL" >&6; }
2136 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2137 # It thinks the first close brace ends the variable substitution.
2138 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2140 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2142 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2145 ac_cpp='$CPP $CPPFLAGS'
2146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2149 if test -n "$ac_tool_prefix"; then
2150 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2151 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2153 $as_echo_n "checking for $ac_word... " >&6; }
2154 if ${ac_cv_prog_CC+:} false; then :
2155 $as_echo_n "(cached) " >&6
2157 if test -n "$CC"; then
2158 ac_cv_prog_CC="$CC" # Let the user override the test.
2160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2164 test -z "$as_dir" && as_dir=.
2165 for ac_exec_ext in '' $ac_executable_extensions; do
2166 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2167 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2178 if test -n "$CC"; then
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2180 $as_echo "$CC" >&6; }
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2183 $as_echo "no" >&6; }
2188 if test -z "$ac_cv_prog_CC"; then
2190 # Extract the first word of "gcc", so it can be a program name with args.
2191 set dummy gcc; ac_word=$2
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2193 $as_echo_n "checking for $ac_word... " >&6; }
2194 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2195 $as_echo_n "(cached) " >&6
2197 if test -n "$ac_ct_CC"; then
2198 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2204 test -z "$as_dir" && as_dir=.
2205 for ac_exec_ext in '' $ac_executable_extensions; do
2206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2207 ac_cv_prog_ac_ct_CC="gcc"
2208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2217 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2218 if test -n "$ac_ct_CC"; then
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2220 $as_echo "$ac_ct_CC" >&6; }
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2223 $as_echo "no" >&6; }
2226 if test "x$ac_ct_CC" = x; then
2229 case $cross_compiling:$ac_tool_warned in
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2232 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2233 ac_tool_warned=yes ;;
2241 if test -z "$CC"; then
2242 if test -n "$ac_tool_prefix"; then
2243 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2244 set dummy ${ac_tool_prefix}cc; ac_word=$2
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2246 $as_echo_n "checking for $ac_word... " >&6; }
2247 if ${ac_cv_prog_CC+:} false; then :
2248 $as_echo_n "(cached) " >&6
2250 if test -n "$CC"; then
2251 ac_cv_prog_CC="$CC" # Let the user override the test.
2253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2257 test -z "$as_dir" && as_dir=.
2258 for ac_exec_ext in '' $ac_executable_extensions; do
2259 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2260 ac_cv_prog_CC="${ac_tool_prefix}cc"
2261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2271 if test -n "$CC"; then
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2273 $as_echo "$CC" >&6; }
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2276 $as_echo "no" >&6; }
2282 if test -z "$CC"; then
2283 # Extract the first word of "cc", so it can be a program name with args.
2284 set dummy cc; ac_word=$2
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2286 $as_echo_n "checking for $ac_word... " >&6; }
2287 if ${ac_cv_prog_CC+:} false; then :
2288 $as_echo_n "(cached) " >&6
2290 if test -n "$CC"; then
2291 ac_cv_prog_CC="$CC" # Let the user override the test.
2294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2298 test -z "$as_dir" && as_dir=.
2299 for ac_exec_ext in '' $ac_executable_extensions; do
2300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2301 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2302 ac_prog_rejected=yes
2306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2313 if test $ac_prog_rejected = yes; then
2314 # We found a bogon in the path, so make sure we never use it.
2315 set dummy $ac_cv_prog_CC
2317 if test $# != 0; then
2318 # We chose a different compiler from the bogus one.
2319 # However, it has the same basename, so the bogon will be chosen
2320 # first if we set CC to just the basename; use the full file name.
2322 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2328 if test -n "$CC"; then
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2330 $as_echo "$CC" >&6; }
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2333 $as_echo "no" >&6; }
2338 if test -z "$CC"; then
2339 if test -n "$ac_tool_prefix"; then
2340 for ac_prog in cl.exe
2342 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2343 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2345 $as_echo_n "checking for $ac_word... " >&6; }
2346 if ${ac_cv_prog_CC+:} false; then :
2347 $as_echo_n "(cached) " >&6
2349 if test -n "$CC"; then
2350 ac_cv_prog_CC="$CC" # Let the user override the test.
2352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2356 test -z "$as_dir" && as_dir=.
2357 for ac_exec_ext in '' $ac_executable_extensions; do
2358 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2359 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2370 if test -n "$CC"; then
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2372 $as_echo "$CC" >&6; }
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2375 $as_echo "no" >&6; }
2379 test -n "$CC" && break
2382 if test -z "$CC"; then
2384 for ac_prog in cl.exe
2386 # Extract the first word of "$ac_prog", so it can be a program name with args.
2387 set dummy $ac_prog; ac_word=$2
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2389 $as_echo_n "checking for $ac_word... " >&6; }
2390 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2391 $as_echo_n "(cached) " >&6
2393 if test -n "$ac_ct_CC"; then
2394 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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 ac_cv_prog_ac_ct_CC="$ac_prog"
2404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2413 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2414 if test -n "$ac_ct_CC"; then
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2416 $as_echo "$ac_ct_CC" >&6; }
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2419 $as_echo "no" >&6; }
2423 test -n "$ac_ct_CC" && break
2426 if test "x$ac_ct_CC" = x; then
2429 case $cross_compiling:$ac_tool_warned in
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2433 ac_tool_warned=yes ;;
2442 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2443 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2444 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2445 See \
`config.log' for more details" "$LINENO" 5; }
2447 # Provide some information about the compiler.
2448 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2451 for ac_option in --version -v -V -qversion; do
2452 { { ac_try="$ac_compiler $ac_option >&5"
2454 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2455 *) ac_try_echo
=$ac_try;;
2457 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2458 $as_echo "$ac_try_echo"; } >&5
2459 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2461 if test -s conftest.err
; then
2463 ... rest of stderr output deleted ...
2464 10q' conftest.err
>conftest.er1
2465 cat conftest.er1
>&5
2467 rm -f conftest.er1 conftest.err
2468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2469 test $ac_status = 0; }
2472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2473 /* end confdefs.h. */
2483 ac_clean_files_save
=$ac_clean_files
2484 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2485 # Try to create an executable without -o first, disregard a.out.
2486 # It will help us diagnose broken compilers, and finding out an intuition
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2489 $as_echo_n "checking whether the C compiler works... " >&6; }
2490 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2492 # The possible output files:
2493 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2496 for ac_file
in $ac_files
2499 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2500 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2505 if { { ac_try
="$ac_link_default"
2507 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2508 *) ac_try_echo=$ac_try;;
2510 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2511 $as_echo "$ac_try_echo"; } >&5
2512 (eval "$ac_link_default") 2>&5
2514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2515 test $ac_status = 0; }; then :
2516 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2517 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2518 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2519 # so that the user can short-circuit this test for compilers unknown to
2521 for ac_file in $ac_files ''
2523 test -f "$ac_file" || continue
2525 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2528 # We found the default executable, but exeext='' is most
2532 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2534 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2536 # We set ac_cv_exeext here because the later test for it is not
2537 # safe: cross compilers may not add the suffix if given an `-o'
2538 # argument, so we may need to know it at that point already.
2539 # Even if this section looks crufty: it has the advantage of
2546 test "$ac_cv_exeext" = no && ac_cv_exeext=
2551 if test -z "$ac_file"; then :
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2553 $as_echo "no" >&6; }
2554 $as_echo "$as_me: failed program was:" >&5
2555 sed 's
/^
/|
/' conftest.$ac_ext >&5
2557 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2558 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2559 as_fn_error 77 "C compiler cannot create executables
2560 See \`config.log
' for more details" "$LINENO" 5; }
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2563 $as_echo "yes" >&6; }
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2566 $as_echo_n "checking for C compiler default output file name... " >&6; }
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2568 $as_echo "$ac_file" >&6; }
2569 ac_exeext=$ac_cv_exeext
2571 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2572 ac_clean_files=$ac_clean_files_save
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2574 $as_echo_n "checking for suffix of executables... " >&6; }
2575 if { { ac_try="$ac_link"
2577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2578 *) ac_try_echo=$ac_try;;
2580 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2581 $as_echo "$ac_try_echo"; } >&5
2582 (eval "$ac_link") 2>&5
2584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2585 test $ac_status = 0; }; then :
2586 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2587 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2588 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2590 for ac_file
in conftest.exe conftest conftest.
*; do
2591 test -f "$ac_file" ||
continue
2593 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2594 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2600 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2602 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2603 See \`config.log' for more details" "$LINENO" 5; }
2605 rm -f conftest conftest
$ac_cv_exeext
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2607 $as_echo "$ac_cv_exeext" >&6; }
2609 rm -f conftest.
$ac_ext
2610 EXEEXT
=$ac_cv_exeext
2612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2613 /* end confdefs.h. */
2618 FILE *f = fopen ("conftest.out", "w");
2619 return ferror (f) || fclose (f) != 0;
2625 ac_clean_files
="$ac_clean_files conftest.out"
2626 # Check that the compiler produces executables we can run. If not, either
2627 # the compiler is broken, or we cross compile.
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2629 $as_echo_n "checking whether we are cross compiling... " >&6; }
2630 if test "$cross_compiling" != yes; then
2631 { { ac_try
="$ac_link"
2633 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2634 *) ac_try_echo=$ac_try;;
2636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2637 $as_echo "$ac_try_echo"; } >&5
2638 (eval "$ac_link") 2>&5
2640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2641 test $ac_status = 0; }
2642 if { ac_try='./conftest$ac_cv_exeext'
2643 { { case "(($ac_try" in
2644 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2645 *) ac_try_echo
=$ac_try;;
2647 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2648 $as_echo "$ac_try_echo"; } >&5
2649 (eval "$ac_try") 2>&5
2651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2652 test $ac_status = 0; }; }; then
2655 if test "$cross_compiling" = maybe
; then
2658 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2659 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2660 as_fn_error $?
"cannot run C compiled programs.
2661 If you meant to cross compile, use \`--host'.
2662 See \`config.log' for more details" "$LINENO" 5; }
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2667 $as_echo "$cross_compiling" >&6; }
2669 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2670 ac_clean_files
=$ac_clean_files_save
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2672 $as_echo_n "checking for suffix of object files... " >&6; }
2673 if ${ac_cv_objext+:} false
; then :
2674 $as_echo_n "(cached) " >&6
2676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2677 /* end confdefs.h. */
2687 rm -f conftest.o conftest.obj
2688 if { { ac_try
="$ac_compile"
2690 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2691 *) ac_try_echo=$ac_try;;
2693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2694 $as_echo "$ac_try_echo"; } >&5
2695 (eval "$ac_compile") 2>&5
2697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2698 test $ac_status = 0; }; then :
2699 for ac_file in conftest.o conftest.obj conftest.*; do
2700 test -f "$ac_file" || continue;
2702 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2703 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2708 $as_echo "$as_me: failed program was:" >&5
2709 sed 's/^/| /' conftest.$ac_ext >&5
2711 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2712 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2713 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2714 See \
`config.log' for more details" "$LINENO" 5; }
2716 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2719 $as_echo "$ac_cv_objext" >&6; }
2720 OBJEXT=$ac_cv_objext
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2723 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2724 if ${ac_cv_c_compiler_gnu+:} false; then :
2725 $as_echo_n "(cached) " >&6
2727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2728 /* end confdefs.h. */
2741 if ac_fn_c_try_compile "$LINENO"; then :
2746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2747 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2751 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2752 if test $ac_compiler_gnu = yes; then
2757 ac_test_CFLAGS=${CFLAGS+set}
2758 ac_save_CFLAGS=$CFLAGS
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2760 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2761 if ${ac_cv_prog_cc_g+:} false; then :
2762 $as_echo_n "(cached) " >&6
2764 ac_save_c_werror_flag=$ac_c_werror_flag
2765 ac_c_werror_flag=yes
2768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2769 /* end confdefs.h. */
2779 if ac_fn_c_try_compile "$LINENO"; then :
2783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2784 /* end confdefs.h. */
2794 if ac_fn_c_try_compile "$LINENO"; then :
2797 ac_c_werror_flag=$ac_save_c_werror_flag
2799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2800 /* end confdefs.h. */
2810 if ac_fn_c_try_compile "$LINENO"; then :
2813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2818 ac_c_werror_flag=$ac_save_c_werror_flag
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2821 $as_echo "$ac_cv_prog_cc_g" >&6; }
2822 if test "$ac_test_CFLAGS" = set; then
2823 CFLAGS=$ac_save_CFLAGS
2824 elif test $ac_cv_prog_cc_g = yes; then
2825 if test "$GCC" = yes; then
2831 if test "$GCC" = yes; then
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2838 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2839 if ${ac_cv_prog_cc_c89+:} false; then :
2840 $as_echo_n "(cached) " >&6
2842 ac_cv_prog_cc_c89=no
2844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2845 /* end confdefs.h. */
2849 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2850 struct buf { int x; };
2851 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2852 static char *e (p, i)
2858 static char *f (char * (*g) (char **, int), char **p, ...)
2863 s = g (p, va_arg (v,int));
2868 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2869 function prototypes and stuff, but not '\xHH' hex character constants.
2870 These don't provoke an error unfortunately, instead are silently treated
2871 as 'x'. The following induces an error, until -std is added to get
2872 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2873 array size at least. It's necessary to write '\x00'==0 to get something
2874 that's true only with -std. */
2875 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2877 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2878 inside strings and character constants. */
2880 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2882 int test (int i, double x);
2883 struct s1 {int (*f) (int a);};
2884 struct s2 {int (*f) (double a);};
2885 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2891 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2896 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2897 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2899 CC="$ac_save_CC $ac_arg"
2900 if ac_fn_c_try_compile "$LINENO"; then :
2901 ac_cv_prog_cc_c89=$ac_arg
2903 rm -f core conftest.err conftest.$ac_objext
2904 test "x$ac_cv_prog_cc_c89" != "xno" && break
2906 rm -f conftest.$ac_ext
2911 case "x$ac_cv_prog_cc_c89" in
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2914 $as_echo "none needed" >&6; } ;;
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2917 $as_echo "unsupported" >&6; } ;;
2919 CC="$CC $ac_cv_prog_cc_c89"
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2921 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2923 if test "x$ac_cv_prog_cc_c89" != xno; then :
2928 ac_cpp='$CPP $CPPFLAGS'
2929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2934 # Check whether --enable-sim-bitsize was given.
2935 if test "${enable_sim_bitsize+set}" = set; then :
2936 enableval=$enable_sim_bitsize; case "${enableval}" in
2937 32|64) sim_bitsize="-DWITH_TARGET_WORD_BITSIZE=$enableval";;
2938 *) as_fn_error $? "\"--enable-sim-bitsize was given $enableval. Expected 32 or 64\"" "$LINENO" 5; sim_bitsize="";;
2940 if test x"$silent" != x"yes" && test x"$sim_bitsize" != x""; then
2941 echo "Setting bitsize flags = $sim_bitsize" 6>&1
2948 # Check whether --enable-sim-config was given.
2949 if test "${enable_sim_config+set}" = set; then :
2950 enableval=$enable_sim_config; case "${enableval}" in
2951 yes|no) as_fn_error $? "\"No value supplied for --enable-sim-config=file\"" "$LINENO" 5;;
2952 *) if test -f "${srcdir}/${enableval}"; then
2953 sim_config="${enableval}";
2954 elif test -f "${srcdir}/${enableval}-config.h"; then
2955 sim_config="${enableval}-config.h"
2957 as_fn_error $? "\"Config file $enableval was not found\"" "$LINENO" 5;
2958 sim_config=std-config.h
2961 if test x"$silent" != x"yes" && test x"$sim_config" != x""; then
2962 echo "Setting config flags = $sim_config" 6>&1
2965 sim_config="std-config.h"
2966 if test x"$silent" != x"yes"; then
2967 echo "Setting config flags = $sim_config" 6>&1
2972 # Check whether --enable-sim-decode-mechanism was given.
2973 if test "${enable_sim_decode_mechanism+set}" = set; then :
2974 enableval=$enable_sim_decode_mechanism; case "${enableval}" in
2975 yes|no) as_fn_error $? "\"No value supplied for --enable-sim-decode-mechanism=file\"" "$LINENO" 5;;
2976 array|switch|padded-switch|goto-switch) sim_decode_mechanism="-T ${enableval}";;
2977 *) as_fn_error $? "\"File $enableval is not an opcode rules file\"" "$LINENO" 5;
2978 sim_decode_mechanism="switch";;
2980 if test x"$silent" != x"yes" && test x"$sim_decode_mechanism" != x""; then
2981 echo "Setting decode mechanism flags = $sim_decode_mechanism" 6>&1
2984 sim_decode_mechanism=""
2985 if test x"$silent" != x"yes"; then
2986 echo "Setting decode mechanism flags = $sim_decode_mechanism"
2991 # Check whether --enable-sim-default-model was given.
2992 if test "${enable_sim_default_model+set}" = set; then :
2993 enableval=$enable_sim_default_model; case "${enableval}" in
2994 yes|no) as_fn_error $? "\"No value supplied for --enable-sim-default-model=model\"" "$LINENO" 5;;
2995 *) sim_default_model="-DWITH_DEFAULT_MODEL=${enableval}";;
2997 if test x"$silent" != x"yes" && test x"$sim_default_model" != x""; then
2998 echo "Setting default-model flags = $sim_default_model" 6>&1
3001 sim_default_model=""
3005 # Check whether --enable-sim-duplicate was given.
3006 if test "${enable_sim_duplicate+set}" = set; then :
3007 enableval=$enable_sim_duplicate; case "${enableval}" in
3010 *) as_fn_error $? "\"--enable-sim-duplicate does not take a value\"" "$LINENO" 5; sim_dup="";;
3012 if test x"$silent" != x"yes" && test x"$sim_dup" != x""; then
3013 echo "Setting duplicate flags = $sim_dup" 6>&1
3017 if test x"$silent" != x"yes"; then
3018 echo "Setting duplicate flags = $sim_dup" 6>&1
3023 # Check whether --enable-sim-filter was given.
3024 if test "${enable_sim_filter+set}" = set; then :
3025 enableval=$enable_sim_filter; case "${enableval}" in
3026 yes) as_fn_error $? "\"--enable-sim-filter must be specified with a rule to filter or no\"" "$LINENO" 5; sim_filter="";;
3028 *) sim_filter="-F $enableval";;
3030 if test x"$silent" != x"yes" && test x"$sim_filter" != x""; then
3031 echo "Setting filter flags = $sim_filter" 6>&1
3034 sim_filter="-F 32,f,o"
3035 if test x"$silent" != x"yes"; then
3036 echo "Setting filter flags = $sim_filter" 6>&1
3041 # Check whether --enable-sim-float was given.
3042 if test "${enable_sim_float+set}" = set; then :
3043 enableval=$enable_sim_float; case "${enableval}" in
3044 yes | hard) sim_float="-DWITH_FLOATING_POINT=HARD_FLOATING_POINT";;
3045 no | soft) sim_float="-DWITH_FLOATING_POINT=SOFT_FLOATING_POINT";;
3046 altivec) sim_float="-DWITH_ALTIVEC" ; sim_filter="${sim_filter},av" ;;
3047 *spe*|*simd*) sim_float="-DWITH_E500" ; sim_filter="${sim_filter},e500" ;;
3048 *) as_fn_error $? "\"Unknown value $enableval passed to --enable-sim-float\"" "$LINENO" 5; sim_float="";;
3050 if test x"$silent" != x"yes" && test x"$sim_float" != x""; then
3051 echo "Setting float flags = $sim_float" 6>&1
3056 *altivec*) sim_float="-DWITH_ALTIVEC" ; sim_filter="${sim_filter},av" ;;
3057 *spe*|*simd*) sim_float="-DWITH_E500" ; sim_filter="${sim_filter},e500" ;;
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if union semun defined" >&5
3065 $as_echo_n "checking if union semun defined... " >&6; }
3066 if ${ac_cv_HAS_UNION_SEMUN+:} false; then :
3067 $as_echo_n "(cached) " >&6
3069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3070 /* end confdefs.h. */
3072 #include <sys/types.h>
3073 #include <sys/ipc.h>
3074 #include <sys/sem.h>
3083 if ac_fn_c_try_compile "$LINENO"; then :
3084 ac_cv_has_union_semun="yes"
3086 ac_cv_has_union_semun="no"
3088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_has_union_semun" >&5
3090 $as_echo "$ac_cv_has_union_semun" >&6; }
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_HAS_UNION_SEMUN" >&5
3094 $as_echo "$ac_cv_HAS_UNION_SEMUN" >&6; }
3097 if test "$ac_cv_has_union_semun" = "yes"; then
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether System V semaphores are supported" >&5
3099 $as_echo_n "checking whether System V semaphores are supported... " >&6; }
3100 if ${ac_cv_sysv_sem+:} false; then :
3101 $as_echo_n "(cached) " >&6
3104 if test "$cross_compiling" = yes; then :
3107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3108 /* end confdefs.h. */
3110 #include <sys/types.h>
3111 #include <sys/ipc.h>
3112 #include <sys/sem.h>
3116 int id=semget(IPC_PRIVATE,1,IPC_CREAT|0400);
3119 arg.val = 0; /* avoid implicit type cast to union */
3120 if (semctl(id, 0, IPC_RMID, arg) == -1)
3126 if ac_fn_c_try_run "$LINENO"; then :
3127 ac_cv_sysv_sem="yes"
3131 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3132 conftest.$ac_objext conftest.beam conftest.$ac_ext
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sysv_sem" >&5
3138 $as_echo "$ac_cv_sysv_sem" >&6; }
3139 else # semun is not defined
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether System V semaphores are supported" >&5
3141 $as_echo_n "checking whether System V semaphores are supported... " >&6; }
3142 if ${ac_cv_sysv_sem+:} false; then :
3143 $as_echo_n "(cached) " >&6
3146 if test "$cross_compiling" = yes; then :
3149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3150 /* end confdefs.h. */
3152 #include <sys/types.h>
3153 #include <sys/ipc.h>
3154 #include <sys/sem.h>
3157 struct semid_ds *buf;
3163 int id=semget(IPC_PRIVATE,1,IPC_CREAT|0400);
3166 arg.val = 0; /* avoid implicit type cast to union */
3167 if (semctl(id, 0, IPC_RMID, arg) == -1)
3173 if ac_fn_c_try_run "$LINENO"; then :
3174 ac_cv_sysv_sem="yes"
3178 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3179 conftest.$ac_objext conftest.beam conftest.$ac_ext
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sysv_sem" >&5
3185 $as_echo "$ac_cv_sysv_sem" >&6; }
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether System V shared memory is supported" >&5
3189 $as_echo_n "checking whether System V shared memory is supported... " >&6; }
3190 if ${ac_cv_sysv_shm+:} false; then :
3191 $as_echo_n "(cached) " >&6
3194 if test "$cross_compiling" = yes; then :
3197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3198 /* end confdefs.h. */
3200 #include <sys/types.h>
3201 #include <sys/ipc.h>
3202 #include <sys/shm.h>
3204 int id=shmget(IPC_PRIVATE,1,IPC_CREAT|0400);
3207 if (shmctl(id, IPC_RMID, 0) == -1)
3213 if ac_fn_c_try_run "$LINENO"; then :
3214 ac_cv_sysv_shm="yes"
3218 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3219 conftest.$ac_objext conftest.beam conftest.$ac_ext
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sysv_shm" >&5
3225 $as_echo "$ac_cv_sysv_shm" >&6; }
3227 if test x"$ac_cv_sysv_shm" = x"yes" -a x"$ac_cv_sysv_sem" = x"yes" ; then
3228 sim_sysv_ipc_hw=",sem,shm";
3233 if test x"$ac_cv_has_union_semun" = x"yes" -a x"$ac_cv_sysv_sem" = x"yes" ; then
3235 $as_echo "#define HAVE_UNION_SEMUN 1" >>confdefs.h
3240 # Check whether --enable-sim-hardware was given.
3241 if test "${enable_sim_hardware+set}" = set; then :
3242 enableval=$enable_sim_hardware; hardware="cpu,memory,nvram,iobus,htab,disk,trace,register,vm,init,core,pal,com,eeprom,opic,glue,phb,ide${sim_sysv_ipc_hw}"
3243 case "${enableval}" in
3245 no) as_fn_error $? "\"List of hardware must be specified for --enable-sim-hardware\"" "$LINENO" 5; hardware="";;
3246 ,*) hardware="${hardware}${enableval}";;
3247 *,) hardware="${enableval}${hardware}";;
3248 *) hardware="${enableval}"'';;
3250 sim_hw_src=`echo $hardware |
sed -e 's/,/.c hw_/g' -e 's/^/hw_/' -e s
'/$/.c/'`
3251 sim_hw_obj=`echo $sim_hw_src |
sed -e 's/\.c/.o/g'`
3252 if test x"$silent" != x"yes" && test x"$hardware" != x""; then
3253 echo "Setting hardware to $sim_hw_src, $sim_hw_obj"
3256 hardware="cpu,memory,nvram,iobus,htab,disk,trace,register,vm,init,core,pal,com,eeprom,opic,glue,phb,ide${sim_sysv_ipc_hw}"
3257 sim_hw_src=`echo $hardware |
sed -e 's/,/.c hw_/g' -e 's/^/hw_/' -e s
'/$/.c/'`
3258 sim_hw_obj=`echo $sim_hw_src |
sed -e 's/\.c/.o/g'`
3259 if test x"$silent" != x"yes"; then
3260 echo "Setting hardware to $sim_hw_src, $sim_hw_obj"
3264 # Check whether --enable-sim-hostbitsize was given.
3265 if test "${enable_sim_hostbitsize+set}" = set; then :
3266 enableval=$enable_sim_hostbitsize; case "${enableval}" in
3267 32|64) sim_hostbitsize="-DWITH_HOST_WORD_BITSIZE=$enableval";;
3268 *) as_fn_error $? "\"--enable-sim-hostbitsize was given $enableval. Expected 32 or 64\"" "$LINENO" 5; sim_hostbitsize="";;
3270 if test x"$silent" != x"yes" && test x"$sim_hostbitsize" != x""; then
3271 echo "Setting hostbitsize flags = $sim_hostbitsize" 6>&1
3278 # Check whether --enable-sim-icache was given.
3279 if test "${enable_sim_icache+set}" = set; then :
3280 enableval=$enable_sim_icache; icache="-R"
3281 case "${enableval}" in
3282 yes) icache="1024"; sim_icache="-I $icache";;
3283 no) sim_icache="-R";;
3286 for x in `echo "${enableval}" |
sed -e "s/,/ /g"`; do
3288 define) sim_icache="${sim_icache}R";;
3289 semantic) sim_icache="${sim_icache}C";;
3290 insn) sim_icache="${sim_icache}S";;
3291 0*|1*|2*|3*|4*|5*|6*|7*|8*|9*) icache=$x;;
3292 *) as_fn_error $? "\"Unknown value $x for --enable-sim-icache\"" "$LINENO" 5; sim_icache="";;
3295 sim_icache="${sim_icache}I $icache";;
3297 if test x"$silent" != x"yes" && test x"$icache" != x""; then
3298 echo "Setting instruction cache size to $icache ($sim_icache)"
3301 sim_icache="-CSRI 1024"
3302 if test x"$silent" != x"yes"; then
3303 echo "Setting instruction cache size to 1024 ($sim_icache)"
3308 # Check whether --enable-sim-inline was given.
3309 if test "${enable_sim_inline+set}" = set; then :
3310 enableval=$enable_sim_inline; sim_inline=""
3311 case "$enableval" in
3312 no) sim_inline="-DDEFAULT_INLINE=0";;
3313 0) sim_inline="-DDEFAULT_INLINE=0";;
3314 yes | 2) sim_inline="-DDEFAULT_INLINE=ALL_INLINE";;
3315 1) sim_inline="-DDEFAULT_INLINE=PSIM_INLINE_LOCALS";;
3316 *) for x in `echo "$enableval" |
sed -e "s/,/ /g"`; do
3319 *_INLINE=*) new_flag="-D$x";;
3320 *=*) new_flag=`echo "$x" |
sed -e "s/=/_INLINE=/" -e "s/^/-D/"`;;
3321 *_INLINE) new_flag="-D$x=ALL_INLINE";;
3322 *) new_flag="-D$x""_INLINE=ALL_INLINE";;
3324 if test x"$sim_inline" = x""; then
3325 sim_inline="$new_flag"
3327 sim_inline="$sim_inline $new_flag"
3331 if test x"$silent" != x"yes" && test x"$sim_inline" != x""; then
3332 echo "Setting inline flags = $sim_inline" 6>&1
3335 if test x"$GCC" != ""; then
3336 sim_inline="-DDEFAULT_INLINE=PSIM_INLINE_LOCALS"
3337 if test x"$silent" != x"yes"; then
3338 echo "Setting inline flags = $sim_inline" 6>&1
3346 # Check whether --enable-sim-jump was given.
3347 if test "${enable_sim_jump+set}" = set; then :
3348 enableval=$enable_sim_jump; case "${enableval}" in
3349 yes) sim_jump="-J";;
3351 *) as_fn_error $? "\"--enable-sim-jump does not take a value\"" "$LINENO" 5; sim_jump="";;
3353 if test x"$silent" != x"yes" && test x"$sim_jump" != x""; then
3354 echo "Setting jump flag = $sim_jump" 6>&1
3358 if test x"$silent" != x"yes"; then
3359 echo "Setting jump flag = $sim_jump" 6>&1
3364 # Check whether --enable-sim-line-nr was given.
3365 if test "${enable_sim_line_nr+set}" = set; then :
3366 enableval=$enable_sim_line_nr; case "${enableval}" in
3367 yes) sim_line_nr="";;
3368 no) sim_line_nr="-L";;
3369 *) as_fn_error $? "\"--enable-sim-line-nr does not take a value\"" "$LINENO" 5; sim_line_nr="";;
3371 if test x"$silent" != x"yes" && test x"$sim_line_nr" != x""; then
3372 echo "Setting warning flags = $sim_line_nr" 6>&1
3379 # Check whether --enable-sim-model was given.
3380 if test "${enable_sim_model+set}" = set; then :
3381 enableval=$enable_sim_model; case "${enableval}" in
3382 yes|no) as_fn_error $? "\"No value supplied for --enable-sim-model=model\"" "$LINENO" 5;;
3383 *) sim_model="-DWITH_MODEL=${enableval}";;
3385 if test x"$silent" != x"yes" && test x"$sim_model" != x""; then
3386 echo "Setting model flags = $sim_model" 6>&1
3393 # Check whether --enable-sim-model-issue was given.
3394 if test "${enable_sim_model_issue+set}" = set; then :
3395 enableval=$enable_sim_model_issue; case "${enableval}" in
3396 yes) sim_model_issue="-DWITH_MODEL_ISSUE=MODEL_ISSUE_PROCESS";;
3397 no) sim_model_issue="-DWITH_MODEL_ISSUE=MODEL_ISSUE_IGNORE";;
3398 *) as_fn_error $? "\"--enable-sim-model-issue does not take a value\"" "$LINENO" 5; sim_model_issue="";;
3400 if test x"$silent" != x"yes"; then
3401 echo "Setting model-issue flags = $sim_model_issue" 6>&1
3408 # Check whether --enable-sim-monitor was given.
3409 if test "${enable_sim_monitor+set}" = set; then :
3410 enableval=$enable_sim_monitor; case "${enableval}" in
3411 yes) sim_monitor="-DWITH_MON='MONITOR_INSTRUCTION_ISSUE | MONITOR_LOAD_STORE_UNIT'";;
3412 no) sim_monitor="-DWITH_MON=0";;
3413 instruction) sim_monitor="-DWITH_MON=MONITOR_INSTRUCTION_ISSUE";;
3414 memory) sim_monitor="-DWITH_MON=MONITOR_LOAD_STORE_UNIT";;
3415 *) as_fn_error $? "\"Unknown value $enableval passed to --enable-sim-mon\"" "$LINENO" 5;;
3417 if test x"$silent" != x"yes" && test x"$sim_monitor" != x""; then
3418 echo "Setting monitor flags = $sim_monitor" 6>&1
3425 # Check whether --enable-sim-opcode was given.
3426 if test "${enable_sim_opcode+set}" = set; then :
3427 enableval=$enable_sim_opcode; case "${enableval}" in
3428 yes|no) as_fn_error $? "\"No value supplied for --enable-sim-opcode=file\"" "$LINENO" 5;;
3429 *) if test -f "${srcdir}/${enableval}"; then
3430 sim_opcode="${enableval}"
3431 elif test -f "${srcdir}/dc-${enableval}"; then
3432 sim_opcode="dc-${enableval}"
3434 as_fn_error $? "\"File $enableval is not an opcode rules file\"" "$LINENO" 5;
3435 sim_opcode="dc-complex"
3438 if test x"$silent" != x"yes" && test x"$sim_opcode" != x""; then
3439 echo "Setting opcode flags = $sim_opcode" 6>&1
3442 sim_opcode="dc-complex"
3443 if test x"$silent" != x"yes"; then
3444 echo "Setting opcode flags = $sim_opcode"
3449 # Check whether --enable-sim-packages was given.
3450 if test "${enable_sim_packages+set}" = set; then :
3451 enableval=$enable_sim_packages; packages=disklabel
3452 case "${enableval}" in
3454 no) as_fn_error $? "\"List of packages must be specified for --enable-sim-packages\"" "$LINENO" 5; packages="";;
3455 ,*) packages="${packages}${enableval}";;
3456 *,) packages="${enableval}${packages}";;
3457 *) packages="${enableval}"'';;
3459 sim_pk_src=`echo $packages |
sed -e 's/,/.c pk_/g' -e 's/^/pk_/' -e 's/$/.c/'`
3460 sim_pk_obj=`echo $sim_pk_src |
sed -e 's/\.c/.o/g'`
3461 if test x"$silent" != x"yes" && test x"$packages" != x""; then
3462 echo "Setting packages to $sim_pk_src, $sim_pk_obj"
3466 sim_pk_src=`echo $packages |
sed -e 's/,/.c pk_/g' -e 's/^/pk_/' -e 's/$/.c/'`
3467 sim_pk_obj=`echo $sim_pk_src |
sed -e 's/\.c/.o/g'`
3468 if test x"$silent" != x"yes"; then
3469 echo "Setting packages to $sim_pk_src, $sim_pk_obj"
3474 # Check whether --enable-sim-reserved-bits was given.
3475 if test "${enable_sim_reserved_bits+set}" = set; then :
3476 enableval=$enable_sim_reserved_bits; case "${enableval}" in
3477 yes) sim_reserved="-DWITH_RESERVED_BITS=1";;
3478 no) sim_reserved="-DWITH_RESERVED_BITS=0";;
3479 *) as_fn_error $? "\"--enable-sim-reserved-bits does not take a value\"" "$LINENO" 5; sim_reserved="";;
3481 if test x"$silent" != x"yes" && test x"$sim_reserved" != x""; then
3482 echo "Setting reserved flags = $sim_reserved" 6>&1
3489 # Check whether --enable-sim-smp was given.
3490 if test "${enable_sim_smp+set}" = set; then :
3491 enableval=$enable_sim_smp; case "${enableval}" in
3492 yes) sim_smp="-DWITH_SMP=5" ; sim_igen_smp="-N 5";;
3493 no) sim_smp="-DWITH_SMP=0" ; sim_igen_smp="-N 0";;
3494 *) sim_smp="-DWITH_SMP=$enableval" ; sim_igen_smp="-N $enableval";;
3496 if test x"$silent" != x"yes" && test x"$sim_smp" != x""; then
3497 echo "Setting smp flags = $sim_smp" 6>&1
3500 sim_smp="-DWITH_SMP=5" ; sim_igen_smp="-N 5"
3501 if test x"$silent" != x"yes"; then
3502 echo "Setting smp flags = $sim_smp" 6>&1
3507 # Check whether --enable-sim-switch was given.
3508 if test "${enable_sim_switch+set}" = set; then :
3509 enableval=$enable_sim_switch; case "${enableval}" in
3510 yes) sim_switch="-s";;
3512 *) as_fn_error $? "\"--enable-sim-switch does not take a value\"" "$LINENO" 5; sim_switch="";;
3514 if test x"$silent" != x"yes" && test x"$sim_switch" != x""; then
3515 echo "Setting switch flags = $sim_switch" 6>&1
3519 if test x"$silent" != x"yes"; then
3520 echo "Setting switch flags = $sim_switch" 6>&1
3525 # Check whether --enable-sim-timebase was given.
3526 if test "${enable_sim_timebase+set}" = set; then :
3527 enableval=$enable_sim_timebase; case "${enableval}" in
3528 yes) sim_timebase="-DWITH_TIME_BASE=1";;
3529 no) sim_timebase="-DWITH_TIME_BASE=0";;
3530 *) as_fn_error $? "\"--enable-sim-timebase does not take a value\"" "$LINENO" 5; sim_timebase="";;
3532 if test x"$silent" != x"yes" && test x"$sim_timebase" != x""; then
3533 echo "Setting timebase flags = $sim_timebase" 6>&1
3540 # Check whether --enable-sim-warnings was given.
3541 if test "${enable_sim_warnings+set}" = set; then :
3542 enableval=$enable_sim_warnings; case "${enableval}" in
3543 yes) sim_warnings="-Werror -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations ";;
3544 no) sim_warnings="-w";;
3545 *) sim_warnings=`echo "${enableval}" |
sed -e "s/,/ /g"`;;
3547 if test x"$silent" != x"yes" && test x"$sim_warnings" != x""; then
3548 echo "Setting warning flags = $sim_warnings" 6>&1
3555 # Check whether --enable-sim-xor-endian was given.
3556 if test "${enable_sim_xor_endian+set}" = set; then :
3557 enableval=$enable_sim_xor_endian; case "${enableval}" in
3558 yes) sim_xor_endian="-DWITH_XOR_ENDIAN=8";;
3559 no) sim_xor_endian="-DWITH_XOR_ENDIAN=0";;
3560 *) sim_xor_endian="-DWITH_XOR_ENDIAN=$enableval";;
3562 if test x"$silent" != x"yes" && test x"$sim_xor_endian" != x""; then
3563 echo "Setting xor-endian flag = $sim_xor_endian" 6>&1
3573 $as_echo "#define USE_WIN32API 1" >>confdefs.h
3578 ac_config_headers="$ac_config_headers config.h:config.in"
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct termios" >&5
3584 $as_echo_n "checking for struct termios... " >&6; }
3585 if ${ac_cv_termios_struct+:} false; then :
3586 $as_echo_n "(cached) " >&6
3588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3589 /* end confdefs.h. */
3590 #include <sys/types.h>
3591 #include <sys/termios.h>
3595 static struct termios x;
3605 if ac_fn_c_try_compile "$LINENO"; then :
3606 ac_cv_termios_struct=yes
3608 ac_cv_termios_struct=no
3610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_termios_struct" >&5
3614 $as_echo "$ac_cv_termios_struct" >&6; }
3615 if test $ac_cv_termios_struct = yes; then
3616 sim_termio="$sim_termio -DHAVE_TERMIOS_STRUCTURE"
3619 if test "$ac_cv_termios_struct" = "yes"; then
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c_line field in struct termios" >&5
3621 $as_echo_n "checking for c_line field in struct termios... " >&6; }
3622 if ${ac_cv_termios_cline+:} false; then :
3623 $as_echo_n "(cached) " >&6
3625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3626 /* end confdefs.h. */
3627 #include <sys/types.h>
3628 #include <sys/termios.h>
3632 static struct termios x; x.c_line = 0;
3637 if ac_fn_c_try_compile "$LINENO"; then :
3638 ac_cv_termios_cline=yes
3640 ac_cv_termios_cline=no
3642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_termios_cline" >&5
3647 $as_echo "$ac_cv_termios_cline" >&6; }
3648 if test $ac_cv_termios_cline = yes; then
3649 sim_termio="$sim_termio -DHAVE_TERMIOS_CLINE"
3652 ac_cv_termios_cline=no
3655 if test "$ac_cv_termios_struct" != "yes"; then
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct termio" >&5
3657 $as_echo_n "checking for struct termio... " >&6; }
3658 if ${ac_cv_termio_struct+:} false; then :
3659 $as_echo_n "(cached) " >&6
3661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3662 /* end confdefs.h. */
3663 #include <sys/types.h>
3664 #include <sys/termio.h>
3668 static struct termio x;
3678 if ac_fn_c_try_compile "$LINENO"; then :
3679 ac_cv_termio_struct=yes
3681 ac_cv_termio_struct=no
3683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_termio_struct" >&5
3687 $as_echo "$ac_cv_termio_struct" >&6; }
3688 if test $ac_cv_termio_struct = yes; then
3689 sim_termio="$sim_termio -DHAVE_TERMIO_STRUCTURE"
3692 ac_cv_termio_struct=no
3695 if test "$ac_cv_termio_struct" = "yes"; then
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c_line field in struct termio" >&5
3697 $as_echo_n "checking for c_line field in struct termio... " >&6; }
3698 if ${ac_cv_termio_cline+:} false; then :
3699 $as_echo_n "(cached) " >&6
3701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3702 /* end confdefs.h. */
3703 #include <sys/types.h>
3704 #include <sys/termio.h>
3708 static struct termio x; x.c_line = 0;
3713 if ac_fn_c_try_compile "$LINENO"; then :
3714 ac_cv_termio_cline=yes
3716 ac_cv_termio_cline=no
3718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_termio_cline" >&5
3723 $as_echo "$ac_cv_termio_cline" >&6; }
3724 if test $ac_cv_termio_cline = yes; then
3725 sim_termio="$sim_termio -DHAVE_TERMIO_CLINE"
3728 ac_cv_termio_cline=no
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct statfs" >&5
3732 $as_echo_n "checking for struct statfs... " >&6; }
3733 if ${ac_cv_struct_statfs+:} false; then :
3734 $as_echo_n "(cached) " >&6
3736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3737 /* end confdefs.h. */
3738 #include <sys/types.h>
3739 #ifdef HAVE_SYS_PARAM_H
3740 #include <sys/param.h>
3742 #ifdef HAVE_SYS_MOUNT_H
3743 #include <sys/mount.h>
3745 #ifdef HAVE_SYS_VFS_H
3746 #include <sys/vfs.h>
3748 #ifdef HAVE_SYS_STATFS_H
3749 #include <sys/statfs.h>
3754 static struct statfs s;
3759 if ac_fn_c_try_compile "$LINENO"; then :
3760 ac_cv_struct_statfs=yes
3762 ac_cv_struct_statfs=no
3764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_statfs" >&5
3768 $as_echo "$ac_cv_struct_statfs" >&6; }
3769 if test $ac_cv_struct_statfs = yes; then
3771 $as_echo "#define HAVE_STRUCT_STATFS 1" >>confdefs.h
3776 ac_cpp='$CPP $CPPFLAGS'
3777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3781 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3782 # On Suns, sometimes $CPP names a directory.
3783 if test -n "$CPP" && test -d "$CPP"; then
3786 if test -z "$CPP"; then
3787 if ${ac_cv_prog_CPP+:} false; then :
3788 $as_echo_n "(cached) " >&6
3790 # Double quotes because CPP needs to be expanded
3791 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3794 for ac_c_preproc_warn_flag in '' yes
3796 # Use a header file that comes with gcc, so configuring glibc
3797 # with a fresh cross-compiler works.
3798 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3799 # <limits.h> exists even on freestanding compilers.
3800 # On the NeXT, cc -E runs the code through the compiler's parser,
3801 # not just through cpp. "Syntax error" is here to catch this case.
3802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3803 /* end confdefs.h. */
3805 # include <limits.h>
3807 # include <assert.h>
3811 if ac_fn_c_try_cpp "$LINENO"; then :
3814 # Broken: fails on valid input.
3817 rm -f conftest.err conftest.i conftest.$ac_ext
3819 # OK, works on sane cases. Now check whether nonexistent headers
3820 # can be detected and how.
3821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3822 /* end confdefs.h. */
3823 #include <ac_nonexistent.h>
3825 if ac_fn_c_try_cpp "$LINENO"; then :
3826 # Broken: success on invalid input.
3829 # Passes both tests.
3833 rm -f conftest.err conftest.i conftest.$ac_ext
3836 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3837 rm -f conftest.i conftest.err conftest.
$ac_ext
3838 if $ac_preproc_ok; then :
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3851 $as_echo "$CPP" >&6; }
3853 for ac_c_preproc_warn_flag
in '' yes
3855 # Use a header file that comes with gcc, so configuring glibc
3856 # with a fresh cross-compiler works.
3857 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3858 # <limits.h> exists even on freestanding compilers.
3859 # On the NeXT, cc -E runs the code through the compiler's parser,
3860 # not just through cpp. "Syntax error" is here to catch this case.
3861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3862 /* end confdefs.h. */
3864 # include <limits.h>
3866 # include <assert.h>
3870 if ac_fn_c_try_cpp
"$LINENO"; then :
3873 # Broken: fails on valid input.
3876 rm -f conftest.err conftest.i conftest.
$ac_ext
3878 # OK, works on sane cases. Now check whether nonexistent headers
3879 # can be detected and how.
3880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3881 /* end confdefs.h. */
3882 #include <ac_nonexistent.h>
3884 if ac_fn_c_try_cpp
"$LINENO"; then :
3885 # Broken: success on invalid input.
3888 # Passes both tests.
3892 rm -f conftest.err conftest.i conftest.
$ac_ext
3895 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3896 rm -f conftest.i conftest.err conftest.
$ac_ext
3897 if $ac_preproc_ok; then :
3900 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3901 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3902 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3903 See \`config.log' for more details" "$LINENO" 5; }
3907 ac_cpp
='$CPP $CPPFLAGS'
3908 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3909 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3910 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3914 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3915 if ${ac_cv_path_GREP+:} false
; then :
3916 $as_echo_n "(cached) " >&6
3918 if test -z "$GREP"; then
3919 ac_path_GREP_found
=false
3920 # Loop through the user's path and test for each of PROGNAME-LIST
3921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3922 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3925 test -z "$as_dir" && as_dir
=.
3926 for ac_prog
in grep ggrep
; do
3927 for ac_exec_ext
in '' $ac_executable_extensions; do
3928 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3929 as_fn_executable_p
"$ac_path_GREP" ||
continue
3930 # Check for GNU ac_path_GREP and select it if it is found.
3931 # Check for GNU $ac_path_GREP
3932 case `"$ac_path_GREP" --version 2>&1` in
3934 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3937 $as_echo_n 0123456789 >"conftest.in"
3940 cat "conftest.in" "conftest.in" >"conftest.tmp"
3941 mv "conftest.tmp" "conftest.in"
3942 cp "conftest.in" "conftest.nl"
3943 $as_echo 'GREP' >> "conftest.nl"
3944 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3945 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3946 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3947 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3948 # Best one so far, save it but keep looking for a better one
3949 ac_cv_path_GREP
="$ac_path_GREP"
3950 ac_path_GREP_max
=$ac_count
3952 # 10*(2^10) chars as input seems more than enough
3953 test $ac_count -gt 10 && break
3955 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3958 $ac_path_GREP_found && break 3
3963 if test -z "$ac_cv_path_GREP"; then
3964 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3967 ac_cv_path_GREP
=$GREP
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3972 $as_echo "$ac_cv_path_GREP" >&6; }
3973 GREP
="$ac_cv_path_GREP"
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3977 $as_echo_n "checking for egrep... " >&6; }
3978 if ${ac_cv_path_EGREP+:} false
; then :
3979 $as_echo_n "(cached) " >&6
3981 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3982 then ac_cv_path_EGREP
="$GREP -E"
3984 if test -z "$EGREP"; then
3985 ac_path_EGREP_found
=false
3986 # Loop through the user's path and test for each of PROGNAME-LIST
3987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3988 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3991 test -z "$as_dir" && as_dir
=.
3992 for ac_prog
in egrep; do
3993 for ac_exec_ext
in '' $ac_executable_extensions; do
3994 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3995 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3996 # Check for GNU ac_path_EGREP and select it if it is found.
3997 # Check for GNU $ac_path_EGREP
3998 case `"$ac_path_EGREP" --version 2>&1` in
4000 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4003 $as_echo_n 0123456789 >"conftest.in"
4006 cat "conftest.in" "conftest.in" >"conftest.tmp"
4007 mv "conftest.tmp" "conftest.in"
4008 cp "conftest.in" "conftest.nl"
4009 $as_echo 'EGREP' >> "conftest.nl"
4010 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4011 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4012 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4013 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4014 # Best one so far, save it but keep looking for a better one
4015 ac_cv_path_EGREP
="$ac_path_EGREP"
4016 ac_path_EGREP_max
=$ac_count
4018 # 10*(2^10) chars as input seems more than enough
4019 test $ac_count -gt 10 && break
4021 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4024 $ac_path_EGREP_found && break 3
4029 if test -z "$ac_cv_path_EGREP"; then
4030 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4033 ac_cv_path_EGREP
=$EGREP
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4039 $as_echo "$ac_cv_path_EGREP" >&6; }
4040 EGREP
="$ac_cv_path_EGREP"
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4044 $as_echo_n "checking for ANSI C header files... " >&6; }
4045 if ${ac_cv_header_stdc+:} false
; then :
4046 $as_echo_n "(cached) " >&6
4048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4049 /* end confdefs.h. */
4063 if ac_fn_c_try_compile
"$LINENO"; then :
4064 ac_cv_header_stdc
=yes
4066 ac_cv_header_stdc
=no
4068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4070 if test $ac_cv_header_stdc = yes; then
4071 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4073 /* end confdefs.h. */
4077 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4078 $EGREP "memchr" >/dev
/null
2>&1; then :
4081 ac_cv_header_stdc
=no
4087 if test $ac_cv_header_stdc = yes; then
4088 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4090 /* end confdefs.h. */
4094 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4095 $EGREP "free" >/dev
/null
2>&1; then :
4098 ac_cv_header_stdc
=no
4104 if test $ac_cv_header_stdc = yes; then
4105 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4106 if test "$cross_compiling" = yes; then :
4109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4110 /* end confdefs.h. */
4113 #if ((' ' & 0x0FF) == 0x020)
4114 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4115 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4117 # define ISLOWER(c) \
4118 (('a' <= (c) && (c) <= 'i') \
4119 || ('j' <= (c) && (c) <= 'r') \
4120 || ('s' <= (c) && (c) <= 'z'))
4121 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4124 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4129 for (i = 0; i < 256; i++)
4130 if (XOR (islower (i), ISLOWER (i))
4131 || toupper (i) != TOUPPER (i))
4136 if ac_fn_c_try_run
"$LINENO"; then :
4139 ac_cv_header_stdc
=no
4141 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4142 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4148 $as_echo "$ac_cv_header_stdc" >&6; }
4149 if test $ac_cv_header_stdc = yes; then
4151 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4155 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4156 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4157 inttypes.h stdint.h unistd.h
4159 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4160 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4162 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4163 cat >>confdefs.h
<<_ACEOF
4164 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4172 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
4173 if test "x$ac_cv_type_long_long" = xyes
; then :
4175 cat >>confdefs.h
<<_ACEOF
4176 #define HAVE_LONG_LONG 1
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/zero" >&5
4185 $as_echo_n "checking for /dev/zero... " >&6; }
4186 if ${ac_cv_devzero+:} false
; then :
4187 $as_echo_n "(cached) " >&6
4189 if test "$cross_compiling" = yes; then :
4192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4193 /* end confdefs.h. */
4198 int fd = open ("/dev/zero", O_RDONLY);
4201 for (i = 0; i < sizeof (buf); i++)
4203 if (read (fd, buf, sizeof (buf)) != sizeof (buf))
4205 for (i = 0; i < sizeof (buf); i++)
4211 if ac_fn_c_try_run
"$LINENO"; then :
4216 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4217 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_devzero" >&5
4223 $as_echo "$ac_cv_devzero" >&6; }
4224 if test $ac_cv_devzero = yes; then
4225 sim_devzero
="-DHAVE_DEVZERO"
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for common simulator directory" >&5
4231 $as_echo_n "checking for common simulator directory... " >&6; }
4232 if test -f "${srcdir}/../common/callback.c"; then
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4234 $as_echo "yes" >&6; }
4235 sim_callback
="callback.o targ-map.o"
4236 sim_targ_vals
="targ-vals.h targ-map.c targ-vals.def"
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4239 $as_echo "no" >&6; }
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for common simulator directory fpu implementation" >&5
4245 $as_echo_n "checking for common simulator directory fpu implementation... " >&6; }
4246 if test -f "${srcdir}/../common/sim-fpu.c"; then
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4248 $as_echo "yes" >&6; }
4249 sim_fpu_cflags
="-DHAVE_COMMON_FPU -I../common -I${srcdir}/../common"
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4253 $as_echo "no" >&6; }
4258 # Since we run commands on the build system, we have to create a
4259 # separate config header for the build system if build != host.
4260 if test x
$host = x
$build; then
4261 ac_config_commands
="$ac_config_commands build-config.h"
4269 /* | A-Za-z
:\\/* ) realsrcdir
=${srcdir};;
4270 *) realsrcdir
=..
/${srcdir};;
4272 saved_CFLAGS
="${CFLAGS}"
4273 # Put a plausible default for CC_FOR_BUILD in Makefile.
4274 if test "x$cross_compiling" = "xno"; then
4275 CC_FOR_BUILD
='$(CC)'
4279 CC
="${CC_FOR_BUILD}" CFLAGS
="${CFLAGS_FOR_BUILD-${CFLAGS}}" \
4280 LDFLAGS
="${LDFLAGS_FOR_BUILD}" \
4281 ${realsrcdir}/configure \
4282 --enable-languages=${enable_languages-all} \
4283 --target=$target_alias --host=$build_alias --build=$build_alias
4284 CFLAGS
="${saved_CFLAGS}"
4285 mv config.h ..
/build-config.h
4324 ac_config_files
="$ac_config_files Makefile"
4326 ac_config_commands
="$ac_config_commands default"
4328 cat >confcache
<<\_ACEOF
4329 # This file is a shell script that caches the results of configure
4330 # tests run on this system so they can be shared between configure
4331 # scripts and configure runs, see configure's option --config-cache.
4332 # It is not useful on other systems. If it contains results you don't
4333 # want to keep, you may remove or edit it.
4335 # config.status only pays attention to the cache file if you give it
4336 # the --recheck option to rerun configure.
4338 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4339 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4344 # The following way of writing the cache mishandles newlines in values,
4345 # but we know of no workaround that is simple, portable, and efficient.
4346 # So, we kill variables containing newlines.
4347 # Ultrix sh set writes to stderr and can't be redirected directly,
4348 # and sets the high bit in the cache file unless we assign to the vars.
4350 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4351 eval ac_val
=\$
$ac_var
4355 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4356 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4359 _ | IFS | as_nl
) ;; #(
4360 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4361 *) { eval $ac_var=; unset $ac_var;} ;;
4367 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4368 *${as_nl}ac_space
=\
*)
4369 # `set' does not quote correctly, so add quotes: double-quote
4370 # substitution turns \\\\ into \\, and sed turns \\ into \.
4373 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4376 # `set' quotes correctly as required by POSIX, so do not add quotes.
4377 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4386 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4388 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4390 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4391 if test -w "$cache_file"; then
4392 if test "x$cache_file" != "x/dev/null"; then
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4394 $as_echo "$as_me: updating cache $cache_file" >&6;}
4395 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
4396 cat confcache
>"$cache_file"
4398 case $cache_file in #(
4400 mv -f confcache
"$cache_file"$$
&&
4401 mv -f "$cache_file"$$
"$cache_file" ;; #(
4403 mv -f confcache
"$cache_file" ;;
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4409 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4414 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4415 # Let make expand exec_prefix.
4416 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4418 DEFS
=-DHAVE_CONFIG_H
4423 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4424 # 1. Remove the extension, and $U if already installed.
4425 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4426 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4427 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4428 # will be set to the directory where LIBOBJS objects are built.
4429 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4430 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4434 LTLIBOBJS
=$ac_ltlibobjs
4438 : "${CONFIG_STATUS=./config.status}"
4440 ac_clean_files_save
=$ac_clean_files
4441 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4443 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4445 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4447 # Generated by $as_me.
4448 # Run this file to recreate the current configuration.
4449 # Compiler output produced by configure, useful for debugging
4450 # configure, is in config.log if it exists.
4456 SHELL=\${CONFIG_SHELL-$SHELL}
4459 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4460 ## -------------------- ##
4461 ## M4sh Initialization. ##
4462 ## -------------------- ##
4464 # Be more Bourne compatible
4465 DUALCASE
=1; export DUALCASE
# for MKS sh
4466 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4469 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4470 # is contrary to our usage. Disable this feature.
4471 alias -g '${1+"$@"}'='"$@"'
4472 setopt NO_GLOB_SUBST
4474 case `(set -o) 2>/dev/null` in #(
4486 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4487 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4488 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4489 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4490 # Prefer a ksh shell builtin over an external printf program on Solaris,
4491 # but without wasting forks for bash or zsh.
4492 if test -z "$BASH_VERSION$ZSH_VERSION" \
4493 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4494 as_echo='print
-r --'
4495 as_echo_n='print
-rn --'
4496 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4497 as_echo='printf %s
\n'
4498 as_echo_n='printf %s
'
4500 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4501 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4502 as_echo_n='/usr
/ucb
/echo -n'
4504 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4505 as_echo_n_body='eval
4509 expr "X$arg" : "X\\(.*\\)$as_nl";
4510 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4512 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4514 export as_echo_n_body
4515 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4518 as_echo='sh
-c $as_echo_body as_echo
'
4521 # The user is always right.
4522 if test "${PATH_SEPARATOR+set}" != set; then
4524 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4525 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4532 # We need space, tab and new line, in precisely that order. Quoting is
4533 # there to prevent editors from complaining about space-tab.
4534 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4535 # splitting by setting IFS to empty value.)
4538 # Find who we are. Look in the path if we contain no directory separator.
4541 *[\\/]* ) as_myself=$0 ;;
4542 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4546 test -z "$as_dir" && as_dir=.
4547 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4553 # We did not find ourselves, most probably we were run as `sh COMMAND'
4554 # in which case we are not to be found in the path.
4555 if test "x$as_myself" = x
; then
4558 if test ! -f "$as_myself"; then
4559 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4563 # Unset variables that we do not need and which cause bugs (e.g. in
4564 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4565 # suppresses any "Segmentation fault" message there. '((' could
4566 # trigger a bug in pdksh 5.2.14.
4567 for as_var
in BASH_ENV ENV MAIL MAILPATH
4568 do eval test x\
${$as_var+set} = xset \
4569 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4582 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4585 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4586 # ----------------------------------------
4587 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4588 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4589 # script with STATUS, using 1 if that was 0.
4592 as_status
=$1; test $as_status -eq 0 && as_status
=1
4594 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4595 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4597 $as_echo "$as_me: error: $2" >&2
4598 as_fn_exit
$as_status
4602 # as_fn_set_status STATUS
4603 # -----------------------
4604 # Set $? to STATUS, without forking.
4608 } # as_fn_set_status
4612 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4622 # Portably unset VAR.
4625 { eval $1=; unset $1;}
4627 as_unset
=as_fn_unset
4628 # as_fn_append VAR VALUE
4629 # ----------------------
4630 # Append the text in VALUE to the end of the definition contained in VAR. Take
4631 # advantage of any shell optimizations that allow amortized linear growth over
4632 # repeated appends, instead of the typical quadratic growth present in naive
4634 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4635 eval 'as_fn_append ()
4646 # as_fn_arith ARG...
4647 # ------------------
4648 # Perform arithmetic evaluation on the ARGs, and store the result in the
4649 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4650 # must be portable across $(()) and expr.
4651 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4652 eval 'as_fn_arith ()
4659 as_val
=`expr "$@" || test $? -eq 1`
4664 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4665 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4671 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4672 as_basename
=basename
4677 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4683 as_me
=`$as_basename -- "$0" ||
4684 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4685 X"$0" : 'X\(//\)$' \| \
4686 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4688 sed '/^.*\/\([^/][^/]*\)\/*$/{
4702 # Avoid depending upon Character Ranges.
4703 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4704 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4705 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4706 as_cr_digits
='0123456789'
4707 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4709 ECHO_C
= ECHO_N
= ECHO_T
=
4710 case `echo -n x` in #(((((
4712 case `echo 'xy\c'` in
4713 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4715 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4722 rm -f conf$$ conf$$.exe conf$$.
file
4723 if test -d conf$$.dir
; then
4724 rm -f conf$$.dir
/conf$$.
file
4727 mkdir conf$$.dir
2>/dev
/null
4729 if (echo >conf$$.
file) 2>/dev
/null
; then
4730 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4732 # ... but there are two gotchas:
4733 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4734 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4735 # In both cases, we have to default to `cp -pR'.
4736 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4738 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4746 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4747 rmdir conf$$.dir
2>/dev
/null
4752 # Create "$as_dir" as a directory, including parents if necessary.
4757 -*) as_dir
=.
/$as_dir;;
4759 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4763 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4764 *) as_qdir
=$as_dir;;
4766 as_dirs
="'$as_qdir' $as_dirs"
4767 as_dir
=`$as_dirname -- "$as_dir" ||
4768 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4769 X"$as_dir" : 'X\(//\)[^/]' \| \
4770 X"$as_dir" : 'X\(//\)$' \| \
4771 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4772 $as_echo X"$as_dir" |
4773 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4790 test -d "$as_dir" && break
4792 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4793 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
4797 if mkdir
-p .
2>/dev
/null
; then
4798 as_mkdir_p
='mkdir -p "$as_dir"'
4800 test -d .
/-p && rmdir .
/-p
4805 # as_fn_executable_p FILE
4806 # -----------------------
4807 # Test if FILE is an executable regular file.
4808 as_fn_executable_p
()
4810 test -f "$1" && test -x "$1"
4811 } # as_fn_executable_p
4813 as_executable_p
=as_fn_executable_p
4815 # Sed expression to map a string onto a valid CPP name.
4816 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4818 # Sed expression to map a string onto a valid variable name.
4819 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4823 ## ----------------------------------- ##
4824 ## Main body of $CONFIG_STATUS script. ##
4825 ## ----------------------------------- ##
4827 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4829 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4830 # Save the log message, to keep $0 and so on meaningful, and to
4831 # report actual input values of CONFIG_FILES etc. instead of their
4832 # values after options handling.
4834 This file was extended by $as_me, which was
4835 generated by GNU Autoconf 2.69. Invocation command line was
4837 CONFIG_FILES = $CONFIG_FILES
4838 CONFIG_HEADERS = $CONFIG_HEADERS
4839 CONFIG_LINKS = $CONFIG_LINKS
4840 CONFIG_COMMANDS = $CONFIG_COMMANDS
4843 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4848 case $ac_config_files in *"
4849 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4852 case $ac_config_headers in *"
4853 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
4857 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4858 # Files that config.status was made for.
4859 config_files="$ac_config_files"
4860 config_headers="$ac_config_headers"
4861 config_commands="$ac_config_commands"
4865 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4867 \`$as_me' instantiates files and other configuration actions
4868 from templates according to the current configuration. Unless the files
4869 and actions are specified as TAGs, all are instantiated by default.
4871 Usage: $0 [OPTION]... [TAG]...
4873 -h, --help print this help, then exit
4874 -V, --version print version number and configuration settings, then exit
4875 --config print configuration, then exit
4876 -q, --quiet, --silent
4877 do not print progress messages
4878 -d, --debug don't remove temporary files
4879 --recheck update $as_me by reconfiguring in the same conditions
4880 --file=FILE[:TEMPLATE]
4881 instantiate the configuration file FILE
4882 --header=FILE[:TEMPLATE]
4883 instantiate the configuration header FILE
4885 Configuration files:
4888 Configuration headers:
4891 Configuration commands:
4894 Report bugs to the package provider."
4897 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4898 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4901 configured by $0, generated by GNU Autoconf 2.69,
4902 with options \\"\$ac_cs_config\\"
4904 Copyright (C) 2012 Free Software Foundation, Inc.
4905 This config.status script is free software; the Free Software Foundation
4906 gives unlimited permission to copy, distribute and modify it."
4911 test -n "\$AWK" || AWK=awk
4914 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4915 # The default lists apply if the user does not specify any file.
4921 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4922 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4926 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4938 # Handling of the options.
4939 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4941 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4942 $as_echo "$ac_cs_version"; exit ;;
4943 --config |
--confi |
--conf |
--con |
--co |
--c )
4944 $as_echo "$ac_cs_config"; exit ;;
4945 --debug |
--debu |
--deb |
--de |
--d |
-d )
4947 --file |
--fil |
--fi |
--f )
4950 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4951 '') as_fn_error $?
"missing file argument" ;;
4953 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4954 ac_need_defaults
=false
;;
4955 --header |
--heade |
--head |
--hea )
4958 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4960 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
4961 ac_need_defaults
=false
;;
4963 # Conflict between --help and --header
4964 as_fn_error $?
"ambiguous option: \`$1'
4965 Try \`$0 --help' for more information.";;
4966 --help |
--hel |
-h )
4967 $as_echo "$ac_cs_usage"; exit ;;
4968 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4969 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4973 -*) as_fn_error $?
"unrecognized option: \`$1'
4974 Try \`$0 --help' for more information." ;;
4976 *) as_fn_append ac_config_targets
" $1"
4977 ac_need_defaults
=false
;;
4983 ac_configure_extra_args
=
4985 if $ac_cs_silent; then
4987 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4991 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4992 if \$ac_cs_recheck; then
4993 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4995 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4996 CONFIG_SHELL='$SHELL'
5002 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5006 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5007 ## Running $as_me. ##
5013 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5016 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5018 # Handling of arguments.
5019 for ac_config_target
in $ac_config_targets
5021 case $ac_config_target in
5022 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
5023 "build-config.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS build-config.h" ;;
5024 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5025 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
5027 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5032 # If the user did not use the arguments to specify the items to instantiate,
5033 # then the envvar interface is used. Set only those that are not.
5034 # We use the long form for the default assignment because of an extremely
5035 # bizarre bug on SunOS 4.1.3.
5036 if $ac_need_defaults; then
5037 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5038 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5039 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5042 # Have a temporary directory for convenience. Make it in the build tree
5043 # simply because there is no reason against having it here, and in addition,
5044 # creating and moving files from /tmp can sometimes cause problems.
5045 # Hook for its removal unless debugging.
5046 # Note that there is a small window in which the directory will not be cleaned:
5047 # after its creation but before its name has been assigned to `$tmp'.
5051 trap 'exit_status=$?
5053 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5055 trap 'as_fn_exit 1' 1 2 13 15
5057 # Create a (secure) tmp directory for tmp files.
5060 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5064 tmp
=.
/conf$$
-$RANDOM
5065 (umask 077 && mkdir
"$tmp")
5066 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
5069 # Set up the scripts for CONFIG_FILES section.
5070 # No need to generate them if there are no CONFIG_FILES.
5071 # This happens for instance with `./config.status config.h'.
5072 if test -n "$CONFIG_FILES"; then
5075 ac_cr
=`echo X | tr X '\015'`
5076 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5077 # But we know of no other shell where ac_cr would be empty at this
5078 # point, so we can use a bashism as a fallback.
5079 if test "x$ac_cr" = x
; then
5080 eval ac_cr
=\$
\'\\r
\'
5082 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5083 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5089 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5094 echo "cat >conf$$subs.awk <<_ACEOF" &&
5095 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5098 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5099 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5101 for ac_last_try in false false false false false :; do
5102 . ./conf$$subs.sh ||
5103 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5105 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5106 if test $ac_delim_n = $ac_delim_num; then
5108 elif $ac_last_try; then
5109 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5111 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5116 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5117 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
5121 s/^/S["/; s
/!.
*/"]=/
5131 s/\(.\{148\}\)..*/\1/
5133 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5138 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5145 s/\(.\{148\}\)..*/\1/
5147 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5151 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5156 ' <conf$$subs.awk | sed '
5161 ' >>$CONFIG_STATUS || ac_write_fail=1
5162 rm -f conf$$subs.awk
5163 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5165 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
5166 for (key in S) S_is_set[key] = 1
5172 nfields = split(line, field, "@
")
5174 len = length(field[1])
5175 for (i = 2; i < nfields; i++) {
5177 keylen = length(key)
5178 if (S_is_set[key]) {
5180 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5181 len += length(value) + length(field[++i])
5192 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5193 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5194 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5197 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
5198 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
5201 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5202 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
5203 # trailing colons and then remove the whole line if VPATH becomes empty
5204 # (actually we leave an empty line to preserve line numbers).
5205 if test "x
$srcdir" = x.; then
5206 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5224 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5225 fi # test -n "$CONFIG_FILES"
5227 # Set up the scripts for CONFIG_HEADERS section.
5228 # No need to generate them if there are no CONFIG_HEADERS.
5229 # This happens for instance with `./config.status Makefile'.
5230 if test -n "$CONFIG_HEADERS"; then
5231 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
5235 # Transform confdefs.h into an awk script `defines.awk', embedded as
5236 # here-document in config.status, that substitutes the proper values into
5237 # config.h.in to produce config.h.
5239 # Create a delimiter string that does not exist in confdefs.h, to ease
5240 # handling of long lines.
5242 for ac_last_try in false false :; do
5243 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
5244 if test -z "$ac_tt"; then
5246 elif $ac_last_try; then
5247 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
5249 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5253 # For the awk script, D is an array of macro values keyed by name,
5254 # likewise P contains macro parameters if any. Preserve backslash
5255 # newline sequences.
5257 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5259 s/.\{148\}/&'"$ac_delim"'/g
5262 s/^[ ]*#[ ]*define[ ][ ]*/ /
5269 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
5271 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
5275 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
5276 D["\
1"]=" \
3\\\\\\n
"\\/p
5278 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
5283 s/.\{148\}/&'"$ac_delim"'/g
5288 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
5291 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
5293 ' <confdefs.h | sed '
5294 s/'"$ac_delim"'/"\\\
5295 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5297 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5298 for (key in D) D_is_set[key] = 1
5301 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5303 split(line, arg, " ")
5304 if (arg[1] == "#") {
5308 defundef
= substr
(arg
[1], 2)
5311 split(mac1
, mac2
, "(") #)
5313 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
5314 if (D_is_set
[macro
]) {
5315 # Preserve the white space surrounding the "#".
5316 print prefix
"define", macro P
[macro
] D
[macro
]
5319 # Replace #undef with comments. This is necessary, for example,
5320 # in the case of _POSIX_SOURCE, which is predefined and required
5321 # on some systems where configure will not decide to define it.
5322 if (defundef
== "undef") {
5323 print
"/*", prefix defundef
, macro
, "*/"
5331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5332 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
5333 fi # test -n "$CONFIG_HEADERS"
5336 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5341 :[FHLC
]) ac_mode
=$ac_tag; continue;;
5343 case $ac_mode$ac_tag in
5345 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
5346 :[FH
]-) ac_tag
=-:-;;
5347 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
5364 -) ac_f
="$ac_tmp/stdin";;
5365 *) # Look for the file first in the build tree, then in the source tree
5366 # (if the path is not absolute). The absolute path cannot be DOS-style,
5367 # because $ac_f cannot contain `:'.
5371 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
5373 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5375 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5376 as_fn_append ac_file_inputs
" '$ac_f'"
5379 # Let's still pretend it is `configure' which instantiates (i.e., don't
5380 # use $as_me), people would be surprised to read:
5381 # /* config.h. Generated by config.status. */
5382 configure_input
='Generated from '`
5383 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5385 if test x
"$ac_file" != x-
; then
5386 configure_input
="$ac_file. $configure_input"
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5388 $as_echo "$as_me: creating $ac_file" >&6;}
5390 # Neutralize special characters interpreted by sed in replacement strings.
5391 case $configure_input in #(
5392 *\
&* |
*\|
* |
*\\* )
5393 ac_sed_conf_input
=`$as_echo "$configure_input" |
5394 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5395 *) ac_sed_conf_input
=$configure_input;;
5399 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
5400 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
5405 ac_dir
=`$as_dirname -- "$ac_file" ||
5406 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5407 X"$ac_file" : 'X\(//\)[^/]' \| \
5408 X"$ac_file" : 'X\(//\)$' \| \
5409 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5410 $as_echo X"$ac_file" |
5411 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5428 as_dir
="$ac_dir"; as_fn_mkdir_p
5432 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5434 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5435 # A ".." for each directory in $ac_dir_suffix.
5436 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5437 case $ac_top_builddir_sub in
5438 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5439 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
5442 ac_abs_top_builddir
=$ac_pwd
5443 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
5444 # for backward compatibility:
5445 ac_top_builddir
=$ac_top_build_prefix
5448 .
) # We are building in place.
5450 ac_top_srcdir
=$ac_top_builddir_sub
5451 ac_abs_top_srcdir
=$ac_pwd ;;
5452 [\\/]* | ?
:[\\/]* ) # Absolute name.
5453 ac_srcdir
=$srcdir$ac_dir_suffix;
5454 ac_top_srcdir
=$srcdir
5455 ac_abs_top_srcdir
=$srcdir ;;
5457 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
5458 ac_top_srcdir
=$ac_top_build_prefix$srcdir
5459 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
5461 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
5471 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5472 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
5476 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5477 # If the template does not know about datarootdir, expand it.
5478 # FIXME: This hack should be removed a few years after 2.60.
5479 ac_datarootdir_hack
=; ac_datarootdir_seen
=
5490 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5491 *datarootdir
*) ac_datarootdir_seen
=yes;;
5492 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5494 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5496 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5497 ac_datarootdir_hack='
5498 s&@datadir@&$datadir&g
5499 s&@docdir@&$docdir&g
5500 s&@infodir@&$infodir&g
5501 s&@localedir@&$localedir&g
5502 s&@mandir@&$mandir&g
5503 s&\\\${datarootdir}&$datarootdir&g' ;;
5507 # Neutralize VPATH when `$srcdir' = `.'.
5508 # Shell code in configure.ac might set extrasub.
5509 # FIXME: do we really want to maintain this feature?
5510 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5511 ac_sed_extra="$ac_vpsub
5514 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5516 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5517 s|@configure_input@|
$ac_sed_conf_input|
;t t
5518 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5519 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5520 s
&@srcdir@
&$ac_srcdir&;t t
5521 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5522 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5523 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5524 s
&@builddir@
&$ac_builddir&;t t
5525 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5526 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5527 s
&@INSTALL@
&$ac_INSTALL&;t t
5528 $ac_datarootdir_hack
5530 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
5531 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
5533 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5534 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
5535 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5536 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5538 which seems to be undefined. Please make sure it is defined" >&5
5539 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5540 which seems to be undefined. Please make sure it is defined" >&2;}
5542 rm -f "$ac_tmp/stdin"
5544 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5545 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5547 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5553 if test x"$ac_file" != x-; then
5555 $as_echo "/* $configure_input */" \
5556 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5557 } >"$ac_tmp/config.h" \
5558 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5559 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5561 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5564 mv "$ac_tmp/config.h" "$ac_file" \
5565 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5568 $as_echo "/* $configure_input */" \
5569 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5570 || as_fn_error $? "could not create -" "$LINENO" 5
5574 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5575 $as_echo "$as_me: executing $ac_file commands" >&6;}
5580 case $ac_file$ac_mode in
5581 "build-config.h":C) cp config.h build-config.h ;;
5582 "default":C) case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac ;;
5590 ac_clean_files=$ac_clean_files_save
5592 test $ac_write_fail = 0 ||
5593 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5596 # configure is writing to config.log, and then calls config.status.
5597 # config.status does its own redirection, appending to config.log.
5598 # Unfortunately, on DOS this fails, as config.log is still kept open
5599 # by configure, so config.status won't be able to
write to it
; its
5600 # output is simply discarded. So we exec the FD to /dev/null,
5601 # effectively closing config.log, so it can be properly (re)opened and
5602 # appended to by config.status. When coming back to configure, we
5603 # need to make the FD available again.
5604 if test "$no_create" != yes; then
5606 ac_config_status_args
=
5607 test "$silent" = yes &&
5608 ac_config_status_args
="$ac_config_status_args --quiet"
5610 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5612 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5613 # would make configure fail if this is the last instruction.
5614 $ac_cs_success || as_fn_exit
1
5616 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5618 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}