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
696 program_transform_name
709 enable_option_checking
712 enable_sim_decode_mechanism
713 enable_sim_default_model
718 enable_sim_hostbitsize
723 enable_sim_model_issue
727 enable_sim_reserved_bits
732 enable_sim_xor_endian
734 ac_precious_vars
='build_alias
745 # Initialize some variables set by options.
747 ac_init_version
=false
748 ac_unrecognized_opts
=
750 # The variables have the same names as the options, with
751 # dashes changed to underlines.
759 program_transform_name
=s
,x
,x
,
767 # Installation directory options.
768 # These are left unexpanded so users can "make install exec_prefix=/foo"
769 # and all the variables that are supposed to be based on exec_prefix
770 # by default will actually change.
771 # Use braces instead of parens because sh, perl, etc. also accept them.
772 # (The list follows the same order as the GNU Coding Standards.)
773 bindir
='${exec_prefix}/bin'
774 sbindir
='${exec_prefix}/sbin'
775 libexecdir
='${exec_prefix}/libexec'
776 datarootdir
='${prefix}/share'
777 datadir
='${datarootdir}'
778 sysconfdir
='${prefix}/etc'
779 sharedstatedir
='${prefix}/com'
780 localstatedir
='${prefix}/var'
781 includedir
='${prefix}/include'
782 oldincludedir
='/usr/include'
783 docdir
='${datarootdir}/doc/${PACKAGE}'
784 infodir
='${datarootdir}/info'
789 libdir
='${exec_prefix}/lib'
790 localedir
='${datarootdir}/locale'
791 mandir
='${datarootdir}/man'
797 # If the previous option needs an argument, assign it.
798 if test -n "$ac_prev"; then
799 eval $ac_prev=\
$ac_option
805 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
810 # Accept the important Cygnus configure options, so we can diagnose typos.
812 case $ac_dashdash$ac_option in
816 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
818 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
821 -build |
--build |
--buil |
--bui |
--bu)
822 ac_prev
=build_alias
;;
823 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
824 build_alias
=$ac_optarg ;;
826 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
827 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
828 ac_prev
=cache_file
;;
829 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
830 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
831 cache_file
=$ac_optarg ;;
834 cache_file
=config.cache
;;
836 -datadir |
--datadir |
--datadi |
--datad)
838 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
839 datadir
=$ac_optarg ;;
841 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
842 |
--dataroo |
--dataro |
--datar)
843 ac_prev
=datarootdir
;;
844 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
845 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
846 datarootdir
=$ac_optarg ;;
848 -disable-* |
--disable-*)
849 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
850 # Reject names that are not valid shell variable names.
851 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
852 as_fn_error $?
"invalid feature name: $ac_useropt"
853 ac_useropt_orig
=$ac_useropt
854 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
855 case $ac_user_opts in
859 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
860 ac_unrecognized_sep
=', ';;
862 eval enable_
$ac_useropt=no
;;
864 -docdir |
--docdir |
--docdi |
--doc |
--do)
866 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
869 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
871 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
874 -enable-* |
--enable-*)
875 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
876 # Reject names that are not valid shell variable names.
877 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
878 as_fn_error $?
"invalid feature name: $ac_useropt"
879 ac_useropt_orig
=$ac_useropt
880 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
881 case $ac_user_opts in
885 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
886 ac_unrecognized_sep
=', ';;
888 eval enable_
$ac_useropt=\
$ac_optarg ;;
890 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
891 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
892 |
--exec |
--exe |
--ex)
893 ac_prev
=exec_prefix
;;
894 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
895 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
896 |
--exec=* |
--exe=* |
--ex=*)
897 exec_prefix
=$ac_optarg ;;
899 -gas |
--gas |
--ga |
--g)
900 # Obsolete; use --with-gas.
903 -help |
--help |
--hel |
--he |
-h)
905 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
906 ac_init_help
=recursive
;;
907 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
908 ac_init_help
=short
;;
910 -host |
--host |
--hos |
--ho)
911 ac_prev
=host_alias
;;
912 -host=* |
--host=* |
--hos=* |
--ho=*)
913 host_alias
=$ac_optarg ;;
915 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
917 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
919 htmldir
=$ac_optarg ;;
921 -includedir |
--includedir |
--includedi |
--included |
--include \
922 |
--includ |
--inclu |
--incl |
--inc)
923 ac_prev
=includedir
;;
924 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
925 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
926 includedir
=$ac_optarg ;;
928 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
930 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
931 infodir
=$ac_optarg ;;
933 -libdir |
--libdir |
--libdi |
--libd)
935 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
938 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
939 |
--libexe |
--libex |
--libe)
940 ac_prev
=libexecdir
;;
941 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
942 |
--libexe=* |
--libex=* |
--libe=*)
943 libexecdir
=$ac_optarg ;;
945 -localedir |
--localedir |
--localedi |
--localed |
--locale)
947 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
948 localedir
=$ac_optarg ;;
950 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
951 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
952 ac_prev
=localstatedir
;;
953 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
954 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
955 localstatedir
=$ac_optarg ;;
957 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
959 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
963 # Obsolete; use --without-fp.
966 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
967 |
--no-cr |
--no-c |
-n)
970 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
971 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
974 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
975 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
976 |
--oldin |
--oldi |
--old |
--ol |
--o)
977 ac_prev
=oldincludedir
;;
978 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
979 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
980 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
981 oldincludedir
=$ac_optarg ;;
983 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
985 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
988 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
989 |
--program-pre |
--program-pr |
--program-p)
990 ac_prev
=program_prefix
;;
991 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
992 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
993 program_prefix
=$ac_optarg ;;
995 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
996 |
--program-suf |
--program-su |
--program-s)
997 ac_prev
=program_suffix
;;
998 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
999 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1000 program_suffix
=$ac_optarg ;;
1002 -program-transform-name |
--program-transform-name \
1003 |
--program-transform-nam |
--program-transform-na \
1004 |
--program-transform-n |
--program-transform- \
1005 |
--program-transform |
--program-transfor \
1006 |
--program-transfo |
--program-transf \
1007 |
--program-trans |
--program-tran \
1008 |
--progr-tra |
--program-tr |
--program-t)
1009 ac_prev
=program_transform_name
;;
1010 -program-transform-name=* |
--program-transform-name=* \
1011 |
--program-transform-nam=* |
--program-transform-na=* \
1012 |
--program-transform-n=* |
--program-transform-=* \
1013 |
--program-transform=* |
--program-transfor=* \
1014 |
--program-transfo=* |
--program-transf=* \
1015 |
--program-trans=* |
--program-tran=* \
1016 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1017 program_transform_name
=$ac_optarg ;;
1019 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1021 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1022 pdfdir
=$ac_optarg ;;
1024 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1026 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1029 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1030 |
-silent |
--silent |
--silen |
--sile |
--sil)
1033 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1035 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1037 sbindir
=$ac_optarg ;;
1039 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1040 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1041 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1043 ac_prev
=sharedstatedir
;;
1044 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1045 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1046 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1048 sharedstatedir
=$ac_optarg ;;
1050 -site |
--site |
--sit)
1052 -site=* |
--site=* |
--sit=*)
1055 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1057 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1058 srcdir
=$ac_optarg ;;
1060 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1061 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1062 ac_prev
=sysconfdir
;;
1063 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1064 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1065 sysconfdir
=$ac_optarg ;;
1067 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1068 ac_prev
=target_alias
;;
1069 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1070 target_alias
=$ac_optarg ;;
1072 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1075 -version |
--version |
--versio |
--versi |
--vers |
-V)
1076 ac_init_version
=: ;;
1079 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1080 # Reject names that are not valid shell variable names.
1081 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1082 as_fn_error $?
"invalid package name: $ac_useropt"
1083 ac_useropt_orig
=$ac_useropt
1084 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1085 case $ac_user_opts in
1089 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1090 ac_unrecognized_sep
=', ';;
1092 eval with_
$ac_useropt=\
$ac_optarg ;;
1094 -without-* |
--without-*)
1095 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1096 # Reject names that are not valid shell variable names.
1097 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1098 as_fn_error $?
"invalid package name: $ac_useropt"
1099 ac_useropt_orig
=$ac_useropt
1100 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1101 case $ac_user_opts in
1105 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1106 ac_unrecognized_sep
=', ';;
1108 eval with_
$ac_useropt=no
;;
1111 # Obsolete; use --with-x.
1114 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1115 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1116 ac_prev
=x_includes
;;
1117 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1118 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1119 x_includes
=$ac_optarg ;;
1121 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1122 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1123 ac_prev
=x_libraries
;;
1124 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1125 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1126 x_libraries
=$ac_optarg ;;
1128 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1129 Try \`$0 --help' for more information"
1133 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1134 # Reject names that are not valid shell variable names.
1135 case $ac_envvar in #(
1136 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1137 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1139 eval $ac_envvar=\
$ac_optarg
1140 export $ac_envvar ;;
1143 # FIXME: should be removed in autoconf 3.0.
1144 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1145 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1146 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1147 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1153 if test -n "$ac_prev"; then
1154 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1155 as_fn_error $?
"missing argument to $ac_option"
1158 if test -n "$ac_unrecognized_opts"; then
1159 case $enable_option_checking in
1161 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1162 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1166 # Check all directory arguments for consistency.
1167 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1168 datadir sysconfdir sharedstatedir localstatedir includedir \
1169 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1170 libdir localedir mandir
1172 eval ac_val
=\$
$ac_var
1173 # Remove trailing slashes.
1176 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1177 eval $ac_var=\
$ac_val;;
1179 # Be sure to have absolute directory names.
1181 [\\/$
]* | ?
:[\\/]* ) continue;;
1182 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1184 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1187 # There might be people who depend on the old broken behavior: `$host'
1188 # used to hold the argument of --host etc.
1189 # FIXME: To remove some day.
1192 target
=$target_alias
1194 # FIXME: To remove some day.
1195 if test "x$host_alias" != x
; then
1196 if test "x$build_alias" = x
; then
1197 cross_compiling
=maybe
1198 elif test "x$build_alias" != "x$host_alias"; then
1204 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1206 test "$silent" = yes && exec 6>/dev
/null
1209 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1210 ac_ls_di
=`ls -di .` &&
1211 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1212 as_fn_error $?
"working directory cannot be determined"
1213 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1214 as_fn_error $?
"pwd does not report name of working directory"
1217 # Find the source files, if location was not specified.
1218 if test -z "$srcdir"; then
1219 ac_srcdir_defaulted
=yes
1220 # Try the directory containing this script, then the parent directory.
1221 ac_confdir
=`$as_dirname -- "$as_myself" ||
1222 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1223 X"$as_myself" : 'X\(//\)[^/]' \| \
1224 X"$as_myself" : 'X\(//\)$' \| \
1225 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1226 $as_echo X"$as_myself" |
1227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1245 if test ! -r "$srcdir/$ac_unique_file"; then
1249 ac_srcdir_defaulted
=no
1251 if test ! -r "$srcdir/$ac_unique_file"; then
1252 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1253 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1255 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1257 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1259 # When building in place, set srcdir=.
1260 if test "$ac_abs_confdir" = "$ac_pwd"; then
1263 # Remove unnecessary trailing slashes from srcdir.
1264 # Double slashes in file names in object file debugging info
1265 # mess up M-x gdb in Emacs.
1267 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1269 for ac_var
in $ac_precious_vars; do
1270 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1271 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1272 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1273 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1277 # Report the --help message.
1279 if test "$ac_init_help" = "long"; then
1280 # Omit some internal or obsolete options to make the list less imposing.
1281 # This message is too long to be a string in the A/UX 3.1 sh.
1283 \`configure' configures this package to adapt to many kinds of systems.
1285 Usage: $0 [OPTION]... [VAR=VALUE]...
1287 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1288 VAR=VALUE. See below for descriptions of some of the useful variables.
1290 Defaults for the options are specified in brackets.
1293 -h, --help display this help and exit
1294 --help=short display options specific to this package
1295 --help=recursive display the short help of all the included packages
1296 -V, --version display version information and exit
1297 -q, --quiet, --silent do not print \`checking ...' messages
1298 --cache-file=FILE cache test results in FILE [disabled]
1299 -C, --config-cache alias for \`--cache-file=config.cache'
1300 -n, --no-create do not create output files
1301 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1303 Installation directories:
1304 --prefix=PREFIX install architecture-independent files in PREFIX
1305 [$ac_default_prefix]
1306 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1309 By default, \`make install' will install all the files in
1310 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1311 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1312 for instance \`--prefix=\$HOME'.
1314 For better control, use the options below.
1316 Fine tuning of the installation directories:
1317 --bindir=DIR user executables [EPREFIX/bin]
1318 --sbindir=DIR system admin executables [EPREFIX/sbin]
1319 --libexecdir=DIR program executables [EPREFIX/libexec]
1320 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1321 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1322 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1323 --libdir=DIR object code libraries [EPREFIX/lib]
1324 --includedir=DIR C header files [PREFIX/include]
1325 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1326 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1327 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1328 --infodir=DIR info documentation [DATAROOTDIR/info]
1329 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1330 --mandir=DIR man documentation [DATAROOTDIR/man]
1331 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1332 --htmldir=DIR html documentation [DOCDIR]
1333 --dvidir=DIR dvi documentation [DOCDIR]
1334 --pdfdir=DIR pdf documentation [DOCDIR]
1335 --psdir=DIR ps documentation [DOCDIR]
1342 if test -n "$ac_init_help"; then
1347 --disable-option-checking ignore unrecognized
--enable/--with options
1348 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1349 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1350 --enable-sim-bitsize=n Specify target bitsize
(32 or
64).
1351 --enable-sim-config=file Override default config
file
1352 --enable-sim-decode-mechanism=which Specify the instruction decode mechanism.
1353 --enable-sim-default-model=which Specify default PowerPC to model.
1354 --enable-sim-duplicate Expand
(duplicate
) semantic functions.
1355 --enable-sim-filter=rule Specify filter rules.
1356 --enable-sim-float Specify whether the target has hard
, soft
, altivec or e500 floating point.
1357 --enable-sim-hardware=list Specify the hardware to be included
in the build.
1358 --enable-sim-hostbitsize=32|
64 Specify
host bitsize
(32 or
64).
1359 --enable-sim-icache=size Specify instruction-decode cache size and
type.
1360 --enable-sim-jump Jump between semantic code
(instead of
call
/return).
1361 --enable-sim-line-nr=opts Generate extra CPP code that references
source rather than generated code
1362 --enable-sim-model=which Specify PowerPC to model.
1363 --enable-sim-model-issue Specify whether to simulate model specific actions
1364 --enable-sim-monitor=mon Specify whether to
enable monitoring events.
1365 --enable-sim-opcode=which Override default opcode lookup.
1366 --enable-sim-packages=list Specify the packages to be included
in the build.
1367 --enable-sim-reserved-bits Specify whether to check reserved bits
in instruction.
1368 --enable-sim-smp=n Specify number of processors to configure
for.
1369 --enable-sim-switch Use a switch instead of a table
for instruction call.
1370 --enable-sim-timebase Specify whether the PPC timebase is supported.
1371 --enable-sim-warnings=opts Extra CFLAGS
for turning on compiler warnings except
for idecode.o
, semantics.o and psim.o
1372 --enable-sim-xor-endian=n Specify number bytes involved
in PowerPC XOR bi-endian mode
(default
8).
1374 Some influential environment variables
:
1375 CC C compiler
command
1376 CFLAGS C compiler flags
1377 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1378 nonstandard directory
<lib dir
>
1379 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1380 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1381 you have headers
in a nonstandard directory
<include dir
>
1384 Use these variables to override the choices made by
`configure' or to help
1385 it to find libraries and programs with nonstandard names/locations.
1387 Report bugs to the package provider.
1392 if test "$ac_init_help" = "recursive"; then
1393 # If there are subdirs, report their specific --help.
1394 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1395 test -d "$ac_dir" ||
1396 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1401 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1403 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1404 # A ".." for each directory in $ac_dir_suffix.
1405 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1406 case $ac_top_builddir_sub in
1407 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1408 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1411 ac_abs_top_builddir=$ac_pwd
1412 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1413 # for backward compatibility:
1414 ac_top_builddir=$ac_top_build_prefix
1417 .) # We are building in place.
1419 ac_top_srcdir=$ac_top_builddir_sub
1420 ac_abs_top_srcdir=$ac_pwd ;;
1421 [\\/]* | ?:[\\/]* ) # Absolute name.
1422 ac_srcdir=$srcdir$ac_dir_suffix;
1423 ac_top_srcdir=$srcdir
1424 ac_abs_top_srcdir=$srcdir ;;
1426 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1427 ac_top_srcdir=$ac_top_build_prefix$srcdir
1428 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1430 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1432 cd "$ac_dir" || { ac_status=$?; continue; }
1433 # Check for guested configure.
1434 if test -f "$ac_srcdir/configure.gnu"; then
1436 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1437 elif test -f "$ac_srcdir/configure"; then
1439 $SHELL "$ac_srcdir/configure" --help=recursive
1441 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1443 cd "$ac_pwd" || { ac_status=$?; break; }
1447 test -n "$ac_init_help" && exit $ac_status
1448 if $ac_init_version; then
1451 generated by GNU Autoconf 2.69
1453 Copyright (C) 2012 Free Software Foundation, Inc.
1454 This configure script is free software; the Free Software Foundation
1455 gives unlimited permission to copy, distribute and modify it.
1460 ## ------------------------ ##
1461 ## Autoconf initialization. ##
1462 ## ------------------------ ##
1464 # ac_fn_c_try_compile LINENO
1465 # --------------------------
1466 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1467 ac_fn_c_try_compile ()
1469 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1470 rm -f conftest.$ac_objext
1471 if { { ac_try="$ac_compile"
1473 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1474 *) ac_try_echo
=$ac_try;;
1476 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1477 $as_echo "$ac_try_echo"; } >&5
1478 (eval "$ac_compile") 2>conftest.err
1480 if test -s conftest.err
; then
1481 grep -v '^ *+' conftest.err
>conftest.er1
1482 cat conftest.er1
>&5
1483 mv -f conftest.er1 conftest.err
1485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1486 test $ac_status = 0; } && {
1487 test -z "$ac_c_werror_flag" ||
1488 test ! -s conftest.err
1489 } && test -s conftest.
$ac_objext; then :
1492 $as_echo "$as_me: failed program was:" >&5
1493 sed 's/^/| /' conftest.
$ac_ext >&5
1497 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1498 as_fn_set_status
$ac_retval
1500 } # ac_fn_c_try_compile
1502 # ac_fn_c_try_run LINENO
1503 # ----------------------
1504 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1505 # that executables *can* be run.
1508 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1509 if { { ac_try
="$ac_link"
1511 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1512 *) ac_try_echo=$ac_try;;
1514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1515 $as_echo "$ac_try_echo"; } >&5
1516 (eval "$ac_link") 2>&5
1518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1519 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1520 { { case "(($ac_try" in
1521 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1522 *) ac_try_echo
=$ac_try;;
1524 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1525 $as_echo "$ac_try_echo"; } >&5
1526 (eval "$ac_try") 2>&5
1528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1529 test $ac_status = 0; }; }; then :
1532 $as_echo "$as_me: program exited with status $ac_status" >&5
1533 $as_echo "$as_me: failed program was:" >&5
1534 sed 's/^/| /' conftest.
$ac_ext >&5
1536 ac_retval
=$ac_status
1538 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1539 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1540 as_fn_set_status
$ac_retval
1544 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1545 # -------------------------------------------
1546 # Tests whether TYPE exists after having included INCLUDES, setting cache
1547 # variable VAR accordingly.
1548 ac_fn_c_check_type
()
1550 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1552 $as_echo_n "checking for $2... " >&6; }
1553 if eval \
${$3+:} false
; then :
1554 $as_echo_n "(cached) " >&6
1557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1558 /* end confdefs.h. */
1569 if ac_fn_c_try_compile
"$LINENO"; then :
1570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1571 /* end confdefs.h. */
1582 if ac_fn_c_try_compile
"$LINENO"; then :
1587 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1593 $as_echo "$ac_res" >&6; }
1594 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1596 } # ac_fn_c_check_type
1598 # ac_fn_c_try_cpp LINENO
1599 # ----------------------
1600 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1603 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1604 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1606 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1607 *) ac_try_echo=$ac_try;;
1609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1610 $as_echo "$ac_try_echo"; } >&5
1611 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1613 if test -s conftest.err; then
1614 grep -v '^ *+' conftest.err >conftest.er1
1615 cat conftest.er1 >&5
1616 mv -f conftest.er1 conftest.err
1618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1619 test $ac_status = 0; } > conftest.i && {
1620 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1621 test ! -s conftest.err
1625 $as_echo "$as_me: failed program was:" >&5
1626 sed 's/^/| /' conftest.$ac_ext >&5
1630 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1631 as_fn_set_status $ac_retval
1635 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1636 # -------------------------------------------------------
1637 # Tests whether HEADER exists and can be compiled using the include files in
1638 # INCLUDES, setting the cache variable VAR accordingly.
1639 ac_fn_c_check_header_compile ()
1641 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1643 $as_echo_n "checking for $2... " >&6; }
1644 if eval \${$3+:} false; then :
1645 $as_echo_n "(cached) " >&6
1647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1648 /* end confdefs.h. */
1652 if ac_fn_c_try_compile "$LINENO"; then :
1657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1661 $as_echo "$ac_res" >&6; }
1662 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1664 } # ac_fn_c_check_header_compile
1665 cat >config.log <<_ACEOF
1666 This file contains any messages produced by compilers while
1667 running configure, to aid debugging if configure makes a mistake.
1669 It was created by $as_me, which was
1670 generated by GNU Autoconf 2.69. Invocation command line was
1682 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1683 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1684 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1685 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1686 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1688 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1689 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1691 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1692 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1693 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1694 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1695 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1696 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1697 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1705 test -z "$as_dir" && as_dir=.
1706 $as_echo "PATH: $as_dir"
1722 # Keep a trace of the command line.
1723 # Strip out --no-create and --no-recursion so they do not pile up.
1724 # Strip out --silent because we don't want to record it for future runs.
1725 # Also quote any args containing shell meta-characters.
1726 # Make two passes to allow for proper duplicate-argument suppression.
1730 ac_must_keep_next=false
1736 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1737 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1738 | -silent | --silent | --silen | --sile | --sil)
1741 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1744 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1746 as_fn_append ac_configure_args1 " '$ac_arg'"
1747 if test $ac_must_keep_next = true; then
1748 ac_must_keep_next=false # Got value, back to normal.
1751 *=* | --config-cache | -C | -disable-* | --disable-* \
1752 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1753 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1754 | -with-* | --with-* | -without-* | --without-* | --x)
1755 case "$ac_configure_args0 " in
1756 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1759 -* ) ac_must_keep_next=true ;;
1762 as_fn_append ac_configure_args " '$ac_arg'"
1767 { ac_configure_args0=; unset ac_configure_args0;}
1768 { ac_configure_args1=; unset ac_configure_args1;}
1770 # When interrupted or exit'd, cleanup temporary files, and complete
1771 # config.log. We remove comments because anyway the quotes in there
1772 # would cause problems or look ugly.
1773 # WARNING: Use '\'' to represent an apostrophe within the trap.
1774 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1775 trap 'exit_status=$?
1776 # Save into config.log some information that might help in debugging.
1780 $as_echo "## ---------------- ##
1781 ## Cache variables. ##
1782 ## ---------------- ##"
1784 # The following way of writing the cache mishandles newlines in values,
1786 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1787 eval ac_val=\$$ac_var
1791 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1792 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1795 _ | IFS | as_nl) ;; #(
1796 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1797 *) { eval $ac_var=; unset $ac_var;} ;;
1802 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1803 *${as_nl}ac_space=\ *)
1805 "s/'\''/'\''\\\\'\'''\''/g;
1806 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1809 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1816 $as_echo "## ----------------- ##
1817 ## Output variables. ##
1818 ## ----------------- ##"
1820 for ac_var in $ac_subst_vars
1822 eval ac_val=\$$ac_var
1824 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1826 $as_echo "$ac_var='\''$ac_val'\''"
1830 if test -n "$ac_subst_files"; then
1831 $as_echo "## ------------------- ##
1832 ## File substitutions. ##
1833 ## ------------------- ##"
1835 for ac_var in $ac_subst_files
1837 eval ac_val=\$$ac_var
1839 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1841 $as_echo "$ac_var='\''$ac_val'\''"
1846 if test -s confdefs.h; then
1847 $as_echo "## ----------- ##
1854 test "$ac_signal" != 0 &&
1855 $as_echo "$as_me: caught signal $ac_signal"
1856 $as_echo "$as_me: exit $exit_status"
1858 rm -f core *.core core.conftest.* &&
1859 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1862 for ac_signal in 1 2 13 15; do
1863 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1867 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1868 rm -f -r conftest* confdefs.h
1870 $as_echo "/* confdefs.h */" > confdefs.h
1872 # Predefined preprocessor variables.
1874 cat >>confdefs.h <<_ACEOF
1875 #define PACKAGE_NAME "$PACKAGE_NAME"
1878 cat >>confdefs.h <<_ACEOF
1879 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1882 cat >>confdefs.h <<_ACEOF
1883 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1886 cat >>confdefs.h <<_ACEOF
1887 #define PACKAGE_STRING "$PACKAGE_STRING"
1890 cat >>confdefs.h <<_ACEOF
1891 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1894 cat >>confdefs.h <<_ACEOF
1895 #define PACKAGE_URL "$PACKAGE_URL"
1899 # Let the site file select an alternate cache file if it wants to.
1900 # Prefer an explicitly selected file to automatically selected ones.
1903 if test -n "$CONFIG_SITE"; then
1904 # We do not want a PATH search for config.site.
1905 case $CONFIG_SITE in #((
1906 -*) ac_site_file1=./$CONFIG_SITE;;
1907 */*) ac_site_file1=$CONFIG_SITE;;
1908 *) ac_site_file1=./$CONFIG_SITE;;
1910 elif test "x$prefix" != xNONE; then
1911 ac_site_file1=$prefix/share/config.site
1912 ac_site_file2=$prefix/etc/config.site
1914 ac_site_file1=$ac_default_prefix/share/config.site
1915 ac_site_file2=$ac_default_prefix/etc/config.site
1917 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1919 test "x$ac_site_file" = xNONE && continue
1920 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1922 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1923 sed 's/^/| /' "$ac_site_file" >&5
1925 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1926 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1927 as_fn_error $? "failed to load site
script $ac_site_file
1928 See \
`config.log' for more details" "$LINENO" 5; }
1932 if test -r "$cache_file"; then
1933 # Some versions of bash will fail to source /dev/null (special files
1934 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1935 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1937 $as_echo "$as_me: loading cache $cache_file" >&6;}
1939 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1940 *) . "./$cache_file";;
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1945 $as_echo "$as_me: creating cache $cache_file" >&6;}
1949 # Check that the precious variables saved in the cache have kept the same
1951 ac_cache_corrupted=false
1952 for ac_var in $ac_precious_vars; do
1953 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1954 eval ac_new_set=\$ac_env_${ac_var}_set
1955 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1956 eval ac_new_val=\$ac_env_${ac_var}_value
1957 case $ac_old_set,$ac_new_set in
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1960 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1961 ac_cache_corrupted=: ;;
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
1964 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1965 ac_cache_corrupted=: ;;
1968 if test "x$ac_old_val" != "x$ac_new_val"; then
1969 # differences in whitespace do not lead to failure.
1970 ac_old_val_w=`echo x
$ac_old_val`
1971 ac_new_val_w=`echo x
$ac_new_val`
1972 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1974 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1975 ac_cache_corrupted=:
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1978 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1979 eval $ac_var=\$ac_old_val
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1982 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1984 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1987 # Pass precious variables to config.status.
1988 if test "$ac_new_set" = set; then
1990 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1991 *) ac_arg=$ac_var=$ac_new_val ;;
1993 case " $ac_configure_args " in
1994 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1995 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1999 if $ac_cache_corrupted; then
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2001 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2003 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2004 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2006 ## -------------------- ##
2007 ## Main body of script. ##
2008 ## -------------------- ##
2011 ac_cpp='$CPP $CPPFLAGS'
2012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2020 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2021 if test -f "$ac_dir/install-sh"; then
2023 ac_install_sh="$ac_aux_dir/install-sh -c"
2025 elif test -f "$ac_dir/install.sh"; then
2027 ac_install_sh="$ac_aux_dir/install.sh -c"
2029 elif test -f "$ac_dir/shtool"; then
2031 ac_install_sh="$ac_aux_dir/shtool install -c"
2035 if test -z "$ac_aux_dir"; then
2036 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2039 # These three variables are undocumented and unsupported,
2040 # and are intended to be withdrawn in a future Autoconf release.
2041 # They can cause serious problems if a builder's source tree is in a directory
2042 # whose full name contains unusual characters.
2043 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2044 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2045 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2048 # Find a good install program. We prefer a C program (faster),
2049 # so one script is as good as another. But avoid the broken or
2050 # incompatible versions:
2051 # SysV /etc/install, /usr/sbin/install
2052 # SunOS /usr/etc/install
2053 # IRIX /sbin/install
2055 # AmigaOS /C/install, which installs bootblocks on floppy discs
2056 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2057 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2058 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2059 # OS/2's system install, which has a completely different semantic
2060 # ./install, which can be erroneously created by make from ./install.sh.
2061 # Reject install programs that cannot install multiple files.
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2063 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2064 if test -z "$INSTALL"; then
2065 if ${ac_cv_path_install+:} false; then :
2066 $as_echo_n "(cached) " >&6
2068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2072 test -z "$as_dir" && as_dir=.
2073 # Account for people who put trailing slashes in PATH elements.
2074 case $as_dir/ in #((
2075 ./ | .// | /[cC]/* | \
2076 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2077 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2080 # OSF1 and SCO ODT 3.0 have their own names for install.
2081 # Don't use installbsd from OSF since it installs stuff as root
2083 for ac_prog in ginstall scoinst install; do
2084 for ac_exec_ext in '' $ac_executable_extensions; do
2085 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2086 if test $ac_prog = install &&
2087 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2088 # AIX install. It has an incompatible calling convention.
2090 elif test $ac_prog = install &&
2091 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2092 # program-specific install script used by HP pwplus--don't use.
2095 rm -rf conftest.one conftest.two conftest.dir
2096 echo one > conftest.one
2097 echo two > conftest.two
2099 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2100 test -s conftest.one && test -s conftest.two &&
2101 test -s conftest.dir/conftest.one &&
2102 test -s conftest.dir/conftest.two
2104 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2117 rm -rf conftest.one conftest.two conftest.dir
2120 if test "${ac_cv_path_install+set}" = set; then
2121 INSTALL=$ac_cv_path_install
2123 # As a last resort, use the slow shell script. Don't cache a
2124 # value for INSTALL within a source directory, because that will
2125 # break other packages using the cache if that directory is
2126 # removed, or if the value is a relative name.
2127 INSTALL=$ac_install_sh
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2131 $as_echo "$INSTALL" >&6; }
2133 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2134 # It thinks the first close brace ends the variable substitution.
2135 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2137 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2139 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2142 ac_cpp='$CPP $CPPFLAGS'
2143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2146 if test -n "$ac_tool_prefix"; then
2147 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2148 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2150 $as_echo_n "checking for $ac_word... " >&6; }
2151 if ${ac_cv_prog_CC+:} false; then :
2152 $as_echo_n "(cached) " >&6
2154 if test -n "$CC"; then
2155 ac_cv_prog_CC="$CC" # Let the user override the test.
2157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2161 test -z "$as_dir" && as_dir=.
2162 for ac_exec_ext in '' $ac_executable_extensions; do
2163 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2164 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2175 if test -n "$CC"; then
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2177 $as_echo "$CC" >&6; }
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2180 $as_echo "no" >&6; }
2185 if test -z "$ac_cv_prog_CC"; then
2187 # Extract the first word of "gcc", so it can be a program name with args.
2188 set dummy gcc; ac_word=$2
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2190 $as_echo_n "checking for $ac_word... " >&6; }
2191 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2192 $as_echo_n "(cached) " >&6
2194 if test -n "$ac_ct_CC"; then
2195 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2201 test -z "$as_dir" && as_dir=.
2202 for ac_exec_ext in '' $ac_executable_extensions; do
2203 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2204 ac_cv_prog_ac_ct_CC="gcc"
2205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2214 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2215 if test -n "$ac_ct_CC"; then
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2217 $as_echo "$ac_ct_CC" >&6; }
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2220 $as_echo "no" >&6; }
2223 if test "x$ac_ct_CC" = x; then
2226 case $cross_compiling:$ac_tool_warned in
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2229 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2230 ac_tool_warned=yes ;;
2238 if test -z "$CC"; then
2239 if test -n "$ac_tool_prefix"; then
2240 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2241 set dummy ${ac_tool_prefix}cc; ac_word=$2
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2243 $as_echo_n "checking for $ac_word... " >&6; }
2244 if ${ac_cv_prog_CC+:} false; then :
2245 $as_echo_n "(cached) " >&6
2247 if test -n "$CC"; then
2248 ac_cv_prog_CC="$CC" # Let the user override the test.
2250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2254 test -z "$as_dir" && as_dir=.
2255 for ac_exec_ext in '' $ac_executable_extensions; do
2256 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2257 ac_cv_prog_CC="${ac_tool_prefix}cc"
2258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2268 if test -n "$CC"; then
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2270 $as_echo "$CC" >&6; }
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2273 $as_echo "no" >&6; }
2279 if test -z "$CC"; then
2280 # Extract the first word of "cc", so it can be a program name with args.
2281 set dummy cc; ac_word=$2
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2283 $as_echo_n "checking for $ac_word... " >&6; }
2284 if ${ac_cv_prog_CC+:} false; then :
2285 $as_echo_n "(cached) " >&6
2287 if test -n "$CC"; then
2288 ac_cv_prog_CC="$CC" # Let the user override the test.
2291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2295 test -z "$as_dir" && as_dir=.
2296 for ac_exec_ext in '' $ac_executable_extensions; do
2297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2298 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2299 ac_prog_rejected=yes
2303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2310 if test $ac_prog_rejected = yes; then
2311 # We found a bogon in the path, so make sure we never use it.
2312 set dummy $ac_cv_prog_CC
2314 if test $# != 0; then
2315 # We chose a different compiler from the bogus one.
2316 # However, it has the same basename, so the bogon will be chosen
2317 # first if we set CC to just the basename; use the full file name.
2319 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2325 if test -n "$CC"; then
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2327 $as_echo "$CC" >&6; }
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2330 $as_echo "no" >&6; }
2335 if test -z "$CC"; then
2336 if test -n "$ac_tool_prefix"; then
2337 for ac_prog in cl.exe
2339 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2340 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2342 $as_echo_n "checking for $ac_word... " >&6; }
2343 if ${ac_cv_prog_CC+:} false; then :
2344 $as_echo_n "(cached) " >&6
2346 if test -n "$CC"; then
2347 ac_cv_prog_CC="$CC" # Let the user override the test.
2349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2353 test -z "$as_dir" && as_dir=.
2354 for ac_exec_ext in '' $ac_executable_extensions; do
2355 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2356 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2367 if test -n "$CC"; then
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2369 $as_echo "$CC" >&6; }
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2372 $as_echo "no" >&6; }
2376 test -n "$CC" && break
2379 if test -z "$CC"; then
2381 for ac_prog in cl.exe
2383 # Extract the first word of "$ac_prog", so it can be a program name with args.
2384 set dummy $ac_prog; ac_word=$2
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2386 $as_echo_n "checking for $ac_word... " >&6; }
2387 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2388 $as_echo_n "(cached) " >&6
2390 if test -n "$ac_ct_CC"; then
2391 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2397 test -z "$as_dir" && as_dir=.
2398 for ac_exec_ext in '' $ac_executable_extensions; do
2399 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2400 ac_cv_prog_ac_ct_CC="$ac_prog"
2401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2410 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2411 if test -n "$ac_ct_CC"; then
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2413 $as_echo "$ac_ct_CC" >&6; }
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2416 $as_echo "no" >&6; }
2420 test -n "$ac_ct_CC" && break
2423 if test "x$ac_ct_CC" = x; then
2426 case $cross_compiling:$ac_tool_warned in
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2430 ac_tool_warned=yes ;;
2439 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2441 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2442 See \
`config.log' for more details" "$LINENO" 5; }
2444 # Provide some information about the compiler.
2445 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2448 for ac_option in --version -v -V -qversion; do
2449 { { ac_try="$ac_compiler $ac_option >&5"
2451 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2452 *) ac_try_echo
=$ac_try;;
2454 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2455 $as_echo "$ac_try_echo"; } >&5
2456 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2458 if test -s conftest.err
; then
2460 ... rest of stderr output deleted ...
2461 10q' conftest.err
>conftest.er1
2462 cat conftest.er1
>&5
2464 rm -f conftest.er1 conftest.err
2465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2466 test $ac_status = 0; }
2469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2470 /* end confdefs.h. */
2480 ac_clean_files_save
=$ac_clean_files
2481 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2482 # Try to create an executable without -o first, disregard a.out.
2483 # It will help us diagnose broken compilers, and finding out an intuition
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2486 $as_echo_n "checking whether the C compiler works... " >&6; }
2487 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2489 # The possible output files:
2490 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2493 for ac_file
in $ac_files
2496 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2497 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2502 if { { ac_try
="$ac_link_default"
2504 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2505 *) ac_try_echo=$ac_try;;
2507 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2508 $as_echo "$ac_try_echo"; } >&5
2509 (eval "$ac_link_default") 2>&5
2511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2512 test $ac_status = 0; }; then :
2513 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2514 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2515 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2516 # so that the user can short-circuit this test for compilers unknown to
2518 for ac_file in $ac_files ''
2520 test -f "$ac_file" || continue
2522 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2525 # We found the default executable, but exeext='' is most
2529 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2531 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2533 # We set ac_cv_exeext here because the later test for it is not
2534 # safe: cross compilers may not add the suffix if given an `-o'
2535 # argument, so we may need to know it at that point already.
2536 # Even if this section looks crufty: it has the advantage of
2543 test "$ac_cv_exeext" = no && ac_cv_exeext=
2548 if test -z "$ac_file"; then :
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2550 $as_echo "no" >&6; }
2551 $as_echo "$as_me: failed program was:" >&5
2552 sed 's
/^
/|
/' conftest.$ac_ext >&5
2554 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2555 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2556 as_fn_error 77 "C compiler cannot create executables
2557 See \`config.log
' for more details" "$LINENO" 5; }
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2560 $as_echo "yes" >&6; }
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2563 $as_echo_n "checking for C compiler default output file name... " >&6; }
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2565 $as_echo "$ac_file" >&6; }
2566 ac_exeext=$ac_cv_exeext
2568 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2569 ac_clean_files=$ac_clean_files_save
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2571 $as_echo_n "checking for suffix of executables... " >&6; }
2572 if { { ac_try="$ac_link"
2574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2575 *) ac_try_echo=$ac_try;;
2577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2578 $as_echo "$ac_try_echo"; } >&5
2579 (eval "$ac_link") 2>&5
2581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2582 test $ac_status = 0; }; then :
2583 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2584 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2585 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2587 for ac_file
in conftest.exe conftest conftest.
*; do
2588 test -f "$ac_file" ||
continue
2590 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2591 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2597 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2599 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2600 See \`config.log' for more details" "$LINENO" 5; }
2602 rm -f conftest conftest
$ac_cv_exeext
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2604 $as_echo "$ac_cv_exeext" >&6; }
2606 rm -f conftest.
$ac_ext
2607 EXEEXT
=$ac_cv_exeext
2609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2610 /* end confdefs.h. */
2615 FILE *f = fopen ("conftest.out", "w");
2616 return ferror (f) || fclose (f) != 0;
2622 ac_clean_files
="$ac_clean_files conftest.out"
2623 # Check that the compiler produces executables we can run. If not, either
2624 # the compiler is broken, or we cross compile.
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2626 $as_echo_n "checking whether we are cross compiling... " >&6; }
2627 if test "$cross_compiling" != yes; then
2628 { { ac_try
="$ac_link"
2630 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2631 *) ac_try_echo=$ac_try;;
2633 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2634 $as_echo "$ac_try_echo"; } >&5
2635 (eval "$ac_link") 2>&5
2637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2638 test $ac_status = 0; }
2639 if { ac_try='./conftest$ac_cv_exeext'
2640 { { case "(($ac_try" in
2641 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2642 *) ac_try_echo
=$ac_try;;
2644 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2645 $as_echo "$ac_try_echo"; } >&5
2646 (eval "$ac_try") 2>&5
2648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2649 test $ac_status = 0; }; }; then
2652 if test "$cross_compiling" = maybe
; then
2655 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2656 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2657 as_fn_error $?
"cannot run C compiled programs.
2658 If you meant to cross compile, use \`--host'.
2659 See \`config.log' for more details" "$LINENO" 5; }
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2664 $as_echo "$cross_compiling" >&6; }
2666 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2667 ac_clean_files
=$ac_clean_files_save
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2669 $as_echo_n "checking for suffix of object files... " >&6; }
2670 if ${ac_cv_objext+:} false
; then :
2671 $as_echo_n "(cached) " >&6
2673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2674 /* end confdefs.h. */
2684 rm -f conftest.o conftest.obj
2685 if { { ac_try
="$ac_compile"
2687 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2688 *) ac_try_echo=$ac_try;;
2690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2691 $as_echo "$ac_try_echo"; } >&5
2692 (eval "$ac_compile") 2>&5
2694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2695 test $ac_status = 0; }; then :
2696 for ac_file in conftest.o conftest.obj conftest.*; do
2697 test -f "$ac_file" || continue;
2699 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2700 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2705 $as_echo "$as_me: failed program was:" >&5
2706 sed 's/^/| /' conftest.$ac_ext >&5
2708 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2709 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2710 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2711 See \
`config.log' for more details" "$LINENO" 5; }
2713 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2716 $as_echo "$ac_cv_objext" >&6; }
2717 OBJEXT=$ac_cv_objext
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2720 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2721 if ${ac_cv_c_compiler_gnu+:} false; then :
2722 $as_echo_n "(cached) " >&6
2724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2725 /* end confdefs.h. */
2738 if ac_fn_c_try_compile "$LINENO"; then :
2743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2744 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2748 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2749 if test $ac_compiler_gnu = yes; then
2754 ac_test_CFLAGS=${CFLAGS+set}
2755 ac_save_CFLAGS=$CFLAGS
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2757 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2758 if ${ac_cv_prog_cc_g+:} false; then :
2759 $as_echo_n "(cached) " >&6
2761 ac_save_c_werror_flag=$ac_c_werror_flag
2762 ac_c_werror_flag=yes
2765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2766 /* end confdefs.h. */
2776 if ac_fn_c_try_compile "$LINENO"; then :
2780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2781 /* end confdefs.h. */
2791 if ac_fn_c_try_compile "$LINENO"; then :
2794 ac_c_werror_flag=$ac_save_c_werror_flag
2796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2797 /* end confdefs.h. */
2807 if ac_fn_c_try_compile "$LINENO"; then :
2810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2815 ac_c_werror_flag=$ac_save_c_werror_flag
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2818 $as_echo "$ac_cv_prog_cc_g" >&6; }
2819 if test "$ac_test_CFLAGS" = set; then
2820 CFLAGS=$ac_save_CFLAGS
2821 elif test $ac_cv_prog_cc_g = yes; then
2822 if test "$GCC" = yes; then
2828 if test "$GCC" = yes; then
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2835 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2836 if ${ac_cv_prog_cc_c89+:} false; then :
2837 $as_echo_n "(cached) " >&6
2839 ac_cv_prog_cc_c89=no
2841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2842 /* end confdefs.h. */
2846 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2847 struct buf { int x; };
2848 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2849 static char *e (p, i)
2855 static char *f (char * (*g) (char **, int), char **p, ...)
2860 s = g (p, va_arg (v,int));
2865 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2866 function prototypes and stuff, but not '\xHH' hex character constants.
2867 These don't provoke an error unfortunately, instead are silently treated
2868 as 'x'. The following induces an error, until -std is added to get
2869 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2870 array size at least. It's necessary to write '\x00'==0 to get something
2871 that's true only with -std. */
2872 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2874 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2875 inside strings and character constants. */
2877 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2879 int test (int i, double x);
2880 struct s1 {int (*f) (int a);};
2881 struct s2 {int (*f) (double a);};
2882 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2888 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2893 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2894 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2896 CC="$ac_save_CC $ac_arg"
2897 if ac_fn_c_try_compile "$LINENO"; then :
2898 ac_cv_prog_cc_c89=$ac_arg
2900 rm -f core conftest.err conftest.$ac_objext
2901 test "x$ac_cv_prog_cc_c89" != "xno" && break
2903 rm -f conftest.$ac_ext
2908 case "x$ac_cv_prog_cc_c89" in
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2911 $as_echo "none needed" >&6; } ;;
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2914 $as_echo "unsupported" >&6; } ;;
2916 CC="$CC $ac_cv_prog_cc_c89"
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2918 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2920 if test "x$ac_cv_prog_cc_c89" != xno; then :
2925 ac_cpp='$CPP $CPPFLAGS'
2926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2931 # Check whether --enable-sim-bitsize was given.
2932 if test "${enable_sim_bitsize+set}" = set; then :
2933 enableval=$enable_sim_bitsize; case "${enableval}" in
2934 32|64) sim_bitsize="-DWITH_TARGET_WORD_BITSIZE=$enableval";;
2935 *) as_fn_error $? "\"--enable-sim-bitsize was given $enableval. Expected 32 or 64\"" "$LINENO" 5; sim_bitsize="";;
2937 if test x"$silent" != x"yes" && test x"$sim_bitsize" != x""; then
2938 echo "Setting bitsize flags = $sim_bitsize" 6>&1
2945 # Check whether --enable-sim-config was given.
2946 if test "${enable_sim_config+set}" = set; then :
2947 enableval=$enable_sim_config; case "${enableval}" in
2948 yes|no) as_fn_error $? "\"No value supplied for --enable-sim-config=file\"" "$LINENO" 5;;
2949 *) if test -f "${srcdir}/${enableval}"; then
2950 sim_config="${enableval}";
2951 elif test -f "${srcdir}/${enableval}-config.h"; then
2952 sim_config="${enableval}-config.h"
2954 as_fn_error $? "\"Config file $enableval was not found\"" "$LINENO" 5;
2955 sim_config=std-config.h
2958 if test x"$silent" != x"yes" && test x"$sim_config" != x""; then
2959 echo "Setting config flags = $sim_config" 6>&1
2962 sim_config="std-config.h"
2963 if test x"$silent" != x"yes"; then
2964 echo "Setting config flags = $sim_config" 6>&1
2969 # Check whether --enable-sim-decode-mechanism was given.
2970 if test "${enable_sim_decode_mechanism+set}" = set; then :
2971 enableval=$enable_sim_decode_mechanism; case "${enableval}" in
2972 yes|no) as_fn_error $? "\"No value supplied for --enable-sim-decode-mechanism=file\"" "$LINENO" 5;;
2973 array|switch|padded-switch|goto-switch) sim_decode_mechanism="-T ${enableval}";;
2974 *) as_fn_error $? "\"File $enableval is not an opcode rules file\"" "$LINENO" 5;
2975 sim_decode_mechanism="switch";;
2977 if test x"$silent" != x"yes" && test x"$sim_decode_mechanism" != x""; then
2978 echo "Setting decode mechanism flags = $sim_decode_mechanism" 6>&1
2981 sim_decode_mechanism=""
2982 if test x"$silent" != x"yes"; then
2983 echo "Setting decode mechanism flags = $sim_decode_mechanism"
2988 # Check whether --enable-sim-default-model was given.
2989 if test "${enable_sim_default_model+set}" = set; then :
2990 enableval=$enable_sim_default_model; case "${enableval}" in
2991 yes|no) as_fn_error $? "\"No value supplied for --enable-sim-default-model=model\"" "$LINENO" 5;;
2992 *) sim_default_model="-DWITH_DEFAULT_MODEL=${enableval}";;
2994 if test x"$silent" != x"yes" && test x"$sim_default_model" != x""; then
2995 echo "Setting default-model flags = $sim_default_model" 6>&1
2998 sim_default_model=""
3002 # Check whether --enable-sim-duplicate was given.
3003 if test "${enable_sim_duplicate+set}" = set; then :
3004 enableval=$enable_sim_duplicate; case "${enableval}" in
3007 *) as_fn_error $? "\"--enable-sim-duplicate does not take a value\"" "$LINENO" 5; sim_dup="";;
3009 if test x"$silent" != x"yes" && test x"$sim_dup" != x""; then
3010 echo "Setting duplicate flags = $sim_dup" 6>&1
3014 if test x"$silent" != x"yes"; then
3015 echo "Setting duplicate flags = $sim_dup" 6>&1
3020 # Check whether --enable-sim-filter was given.
3021 if test "${enable_sim_filter+set}" = set; then :
3022 enableval=$enable_sim_filter; case "${enableval}" in
3023 yes) as_fn_error $? "\"--enable-sim-filter must be specified with a rule to filter or no\"" "$LINENO" 5; sim_filter="";;
3025 *) sim_filter="-F $enableval";;
3027 if test x"$silent" != x"yes" && test x"$sim_filter" != x""; then
3028 echo "Setting filter flags = $sim_filter" 6>&1
3031 sim_filter="-F 32,f,o"
3032 if test x"$silent" != x"yes"; then
3033 echo "Setting filter flags = $sim_filter" 6>&1
3038 # Check whether --enable-sim-float was given.
3039 if test "${enable_sim_float+set}" = set; then :
3040 enableval=$enable_sim_float; case "${enableval}" in
3041 yes | hard) sim_float="-DWITH_FLOATING_POINT=HARD_FLOATING_POINT";;
3042 no | soft) sim_float="-DWITH_FLOATING_POINT=SOFT_FLOATING_POINT";;
3043 altivec) sim_float="-DWITH_ALTIVEC" ; sim_filter="${sim_filter},av" ;;
3044 *spe*|*simd*) sim_float="-DWITH_E500" ; sim_filter="${sim_filter},e500" ;;
3045 *) as_fn_error $? "\"Unknown value $enableval passed to --enable-sim-float\"" "$LINENO" 5; sim_float="";;
3047 if test x"$silent" != x"yes" && test x"$sim_float" != x""; then
3048 echo "Setting float flags = $sim_float" 6>&1
3053 *altivec*) sim_float="-DWITH_ALTIVEC" ; sim_filter="${sim_filter},av" ;;
3054 *spe*|*simd*) sim_float="-DWITH_E500" ; sim_filter="${sim_filter},e500" ;;
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if union semun defined" >&5
3062 $as_echo_n "checking if union semun defined... " >&6; }
3063 if ${ac_cv_HAS_UNION_SEMUN+:} false; then :
3064 $as_echo_n "(cached) " >&6
3066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3067 /* end confdefs.h. */
3069 #include <sys/types.h>
3070 #include <sys/ipc.h>
3071 #include <sys/sem.h>
3080 if ac_fn_c_try_compile "$LINENO"; then :
3081 ac_cv_has_union_semun="yes"
3083 ac_cv_has_union_semun="no"
3085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_has_union_semun" >&5
3087 $as_echo "$ac_cv_has_union_semun" >&6; }
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_HAS_UNION_SEMUN" >&5
3091 $as_echo "$ac_cv_HAS_UNION_SEMUN" >&6; }
3094 if test "$ac_cv_has_union_semun" = "yes"; then
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether System V semaphores are supported" >&5
3096 $as_echo_n "checking whether System V semaphores are supported... " >&6; }
3097 if ${ac_cv_sysv_sem+:} false; then :
3098 $as_echo_n "(cached) " >&6
3101 if test "$cross_compiling" = yes; then :
3104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3105 /* end confdefs.h. */
3107 #include <sys/types.h>
3108 #include <sys/ipc.h>
3109 #include <sys/sem.h>
3113 int id=semget(IPC_PRIVATE,1,IPC_CREAT|0400);
3116 arg.val = 0; /* avoid implicit type cast to union */
3117 if (semctl(id, 0, IPC_RMID, arg) == -1)
3123 if ac_fn_c_try_run "$LINENO"; then :
3124 ac_cv_sysv_sem="yes"
3128 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3129 conftest.$ac_objext conftest.beam conftest.$ac_ext
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sysv_sem" >&5
3135 $as_echo "$ac_cv_sysv_sem" >&6; }
3136 else # semun is not defined
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether System V semaphores are supported" >&5
3138 $as_echo_n "checking whether System V semaphores are supported... " >&6; }
3139 if ${ac_cv_sysv_sem+:} false; then :
3140 $as_echo_n "(cached) " >&6
3143 if test "$cross_compiling" = yes; then :
3146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3147 /* end confdefs.h. */
3149 #include <sys/types.h>
3150 #include <sys/ipc.h>
3151 #include <sys/sem.h>
3154 struct semid_ds *buf;
3160 int id=semget(IPC_PRIVATE,1,IPC_CREAT|0400);
3163 arg.val = 0; /* avoid implicit type cast to union */
3164 if (semctl(id, 0, IPC_RMID, arg) == -1)
3170 if ac_fn_c_try_run "$LINENO"; then :
3171 ac_cv_sysv_sem="yes"
3175 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3176 conftest.$ac_objext conftest.beam conftest.$ac_ext
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sysv_sem" >&5
3182 $as_echo "$ac_cv_sysv_sem" >&6; }
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether System V shared memory is supported" >&5
3186 $as_echo_n "checking whether System V shared memory is supported... " >&6; }
3187 if ${ac_cv_sysv_shm+:} false; then :
3188 $as_echo_n "(cached) " >&6
3191 if test "$cross_compiling" = yes; then :
3194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3195 /* end confdefs.h. */
3197 #include <sys/types.h>
3198 #include <sys/ipc.h>
3199 #include <sys/shm.h>
3201 int id=shmget(IPC_PRIVATE,1,IPC_CREAT|0400);
3204 if (shmctl(id, IPC_RMID, 0) == -1)
3210 if ac_fn_c_try_run "$LINENO"; then :
3211 ac_cv_sysv_shm="yes"
3215 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3216 conftest.$ac_objext conftest.beam conftest.$ac_ext
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sysv_shm" >&5
3222 $as_echo "$ac_cv_sysv_shm" >&6; }
3224 if test x"$ac_cv_sysv_shm" = x"yes" -a x"$ac_cv_sysv_sem" = x"yes" ; then
3225 sim_sysv_ipc_hw=",sem,shm";
3230 if test x"$ac_cv_has_union_semun" = x"yes" -a x"$ac_cv_sysv_sem" = x"yes" ; then
3232 $as_echo "#define HAVE_UNION_SEMUN 1" >>confdefs.h
3237 # Check whether --enable-sim-hardware was given.
3238 if test "${enable_sim_hardware+set}" = set; then :
3239 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}"
3240 case "${enableval}" in
3242 no) as_fn_error $? "\"List of hardware must be specified for --enable-sim-hardware\"" "$LINENO" 5; hardware="";;
3243 ,*) hardware="${hardware}${enableval}";;
3244 *,) hardware="${enableval}${hardware}";;
3245 *) hardware="${enableval}"'';;
3247 sim_hw_src=`echo $hardware |
sed -e 's/,/.c hw_/g' -e 's/^/hw_/' -e s
'/$/.c/'`
3248 sim_hw_obj=`echo $sim_hw_src |
sed -e 's/\.c/.o/g'`
3249 if test x"$silent" != x"yes" && test x"$hardware" != x""; then
3250 echo "Setting hardware to $sim_hw_src, $sim_hw_obj"
3253 hardware="cpu,memory,nvram,iobus,htab,disk,trace,register,vm,init,core,pal,com,eeprom,opic,glue,phb,ide${sim_sysv_ipc_hw}"
3254 sim_hw_src=`echo $hardware |
sed -e 's/,/.c hw_/g' -e 's/^/hw_/' -e s
'/$/.c/'`
3255 sim_hw_obj=`echo $sim_hw_src |
sed -e 's/\.c/.o/g'`
3256 if test x"$silent" != x"yes"; then
3257 echo "Setting hardware to $sim_hw_src, $sim_hw_obj"
3261 # Check whether --enable-sim-hostbitsize was given.
3262 if test "${enable_sim_hostbitsize+set}" = set; then :
3263 enableval=$enable_sim_hostbitsize; case "${enableval}" in
3264 32|64) sim_hostbitsize="-DWITH_HOST_WORD_BITSIZE=$enableval";;
3265 *) as_fn_error $? "\"--enable-sim-hostbitsize was given $enableval. Expected 32 or 64\"" "$LINENO" 5; sim_hostbitsize="";;
3267 if test x"$silent" != x"yes" && test x"$sim_hostbitsize" != x""; then
3268 echo "Setting hostbitsize flags = $sim_hostbitsize" 6>&1
3275 # Check whether --enable-sim-icache was given.
3276 if test "${enable_sim_icache+set}" = set; then :
3277 enableval=$enable_sim_icache; icache="-R"
3278 case "${enableval}" in
3279 yes) icache="1024"; sim_icache="-I $icache";;
3280 no) sim_icache="-R";;
3283 for x in `echo "${enableval}" |
sed -e "s/,/ /g"`; do
3285 define) sim_icache="${sim_icache}R";;
3286 semantic) sim_icache="${sim_icache}C";;
3287 insn) sim_icache="${sim_icache}S";;
3288 0*|1*|2*|3*|4*|5*|6*|7*|8*|9*) icache=$x;;
3289 *) as_fn_error $? "\"Unknown value $x for --enable-sim-icache\"" "$LINENO" 5; sim_icache="";;
3292 sim_icache="${sim_icache}I $icache";;
3294 if test x"$silent" != x"yes" && test x"$icache" != x""; then
3295 echo "Setting instruction cache size to $icache ($sim_icache)"
3298 sim_icache="-CSRI 1024"
3299 if test x"$silent" != x"yes"; then
3300 echo "Setting instruction cache size to 1024 ($sim_icache)"
3305 # Check whether --enable-sim-jump was given.
3306 if test "${enable_sim_jump+set}" = set; then :
3307 enableval=$enable_sim_jump; case "${enableval}" in
3308 yes) sim_jump="-J";;
3310 *) as_fn_error $? "\"--enable-sim-jump does not take a value\"" "$LINENO" 5; sim_jump="";;
3312 if test x"$silent" != x"yes" && test x"$sim_jump" != x""; then
3313 echo "Setting jump flag = $sim_jump" 6>&1
3317 if test x"$silent" != x"yes"; then
3318 echo "Setting jump flag = $sim_jump" 6>&1
3323 # Check whether --enable-sim-line-nr was given.
3324 if test "${enable_sim_line_nr+set}" = set; then :
3325 enableval=$enable_sim_line_nr; case "${enableval}" in
3326 yes) sim_line_nr="";;
3327 no) sim_line_nr="-L";;
3328 *) as_fn_error $? "\"--enable-sim-line-nr does not take a value\"" "$LINENO" 5; sim_line_nr="";;
3330 if test x"$silent" != x"yes" && test x"$sim_line_nr" != x""; then
3331 echo "Setting warning flags = $sim_line_nr" 6>&1
3338 # Check whether --enable-sim-model was given.
3339 if test "${enable_sim_model+set}" = set; then :
3340 enableval=$enable_sim_model; case "${enableval}" in
3341 yes|no) as_fn_error $? "\"No value supplied for --enable-sim-model=model\"" "$LINENO" 5;;
3342 *) sim_model="-DWITH_MODEL=${enableval}";;
3344 if test x"$silent" != x"yes" && test x"$sim_model" != x""; then
3345 echo "Setting model flags = $sim_model" 6>&1
3352 # Check whether --enable-sim-model-issue was given.
3353 if test "${enable_sim_model_issue+set}" = set; then :
3354 enableval=$enable_sim_model_issue; case "${enableval}" in
3355 yes) sim_model_issue="-DWITH_MODEL_ISSUE=MODEL_ISSUE_PROCESS";;
3356 no) sim_model_issue="-DWITH_MODEL_ISSUE=MODEL_ISSUE_IGNORE";;
3357 *) as_fn_error $? "\"--enable-sim-model-issue does not take a value\"" "$LINENO" 5; sim_model_issue="";;
3359 if test x"$silent" != x"yes"; then
3360 echo "Setting model-issue flags = $sim_model_issue" 6>&1
3367 # Check whether --enable-sim-monitor was given.
3368 if test "${enable_sim_monitor+set}" = set; then :
3369 enableval=$enable_sim_monitor; case "${enableval}" in
3370 yes) sim_monitor="-DWITH_MON='MONITOR_INSTRUCTION_ISSUE | MONITOR_LOAD_STORE_UNIT'";;
3371 no) sim_monitor="-DWITH_MON=0";;
3372 instruction) sim_monitor="-DWITH_MON=MONITOR_INSTRUCTION_ISSUE";;
3373 memory) sim_monitor="-DWITH_MON=MONITOR_LOAD_STORE_UNIT";;
3374 *) as_fn_error $? "\"Unknown value $enableval passed to --enable-sim-mon\"" "$LINENO" 5;;
3376 if test x"$silent" != x"yes" && test x"$sim_monitor" != x""; then
3377 echo "Setting monitor flags = $sim_monitor" 6>&1
3384 # Check whether --enable-sim-opcode was given.
3385 if test "${enable_sim_opcode+set}" = set; then :
3386 enableval=$enable_sim_opcode; case "${enableval}" in
3387 yes|no) as_fn_error $? "\"No value supplied for --enable-sim-opcode=file\"" "$LINENO" 5;;
3388 *) if test -f "${srcdir}/${enableval}"; then
3389 sim_opcode="${enableval}"
3390 elif test -f "${srcdir}/dc-${enableval}"; then
3391 sim_opcode="dc-${enableval}"
3393 as_fn_error $? "\"File $enableval is not an opcode rules file\"" "$LINENO" 5;
3394 sim_opcode="dc-complex"
3397 if test x"$silent" != x"yes" && test x"$sim_opcode" != x""; then
3398 echo "Setting opcode flags = $sim_opcode" 6>&1
3401 sim_opcode="dc-complex"
3402 if test x"$silent" != x"yes"; then
3403 echo "Setting opcode flags = $sim_opcode"
3408 # Check whether --enable-sim-packages was given.
3409 if test "${enable_sim_packages+set}" = set; then :
3410 enableval=$enable_sim_packages; packages=disklabel
3411 case "${enableval}" in
3413 no) as_fn_error $? "\"List of packages must be specified for --enable-sim-packages\"" "$LINENO" 5; packages="";;
3414 ,*) packages="${packages}${enableval}";;
3415 *,) packages="${enableval}${packages}";;
3416 *) packages="${enableval}"'';;
3418 sim_pk_src=`echo $packages |
sed -e 's/,/.c pk_/g' -e 's/^/pk_/' -e 's/$/.c/'`
3419 sim_pk_obj=`echo $sim_pk_src |
sed -e 's/\.c/.o/g'`
3420 if test x"$silent" != x"yes" && test x"$packages" != x""; then
3421 echo "Setting packages to $sim_pk_src, $sim_pk_obj"
3425 sim_pk_src=`echo $packages |
sed -e 's/,/.c pk_/g' -e 's/^/pk_/' -e 's/$/.c/'`
3426 sim_pk_obj=`echo $sim_pk_src |
sed -e 's/\.c/.o/g'`
3427 if test x"$silent" != x"yes"; then
3428 echo "Setting packages to $sim_pk_src, $sim_pk_obj"
3433 # Check whether --enable-sim-reserved-bits was given.
3434 if test "${enable_sim_reserved_bits+set}" = set; then :
3435 enableval=$enable_sim_reserved_bits; case "${enableval}" in
3436 yes) sim_reserved="-DWITH_RESERVED_BITS=1";;
3437 no) sim_reserved="-DWITH_RESERVED_BITS=0";;
3438 *) as_fn_error $? "\"--enable-sim-reserved-bits does not take a value\"" "$LINENO" 5; sim_reserved="";;
3440 if test x"$silent" != x"yes" && test x"$sim_reserved" != x""; then
3441 echo "Setting reserved flags = $sim_reserved" 6>&1
3448 # Check whether --enable-sim-smp was given.
3449 if test "${enable_sim_smp+set}" = set; then :
3450 enableval=$enable_sim_smp; case "${enableval}" in
3451 yes) sim_smp="-DWITH_SMP=5" ; sim_igen_smp="-N 5";;
3452 no) sim_smp="-DWITH_SMP=0" ; sim_igen_smp="-N 0";;
3453 *) sim_smp="-DWITH_SMP=$enableval" ; sim_igen_smp="-N $enableval";;
3455 if test x"$silent" != x"yes" && test x"$sim_smp" != x""; then
3456 echo "Setting smp flags = $sim_smp" 6>&1
3459 sim_smp="-DWITH_SMP=5" ; sim_igen_smp="-N 5"
3460 if test x"$silent" != x"yes"; then
3461 echo "Setting smp flags = $sim_smp" 6>&1
3466 # Check whether --enable-sim-switch was given.
3467 if test "${enable_sim_switch+set}" = set; then :
3468 enableval=$enable_sim_switch; case "${enableval}" in
3469 yes) sim_switch="-s";;
3471 *) as_fn_error $? "\"--enable-sim-switch does not take a value\"" "$LINENO" 5; sim_switch="";;
3473 if test x"$silent" != x"yes" && test x"$sim_switch" != x""; then
3474 echo "Setting switch flags = $sim_switch" 6>&1
3478 if test x"$silent" != x"yes"; then
3479 echo "Setting switch flags = $sim_switch" 6>&1
3484 # Check whether --enable-sim-timebase was given.
3485 if test "${enable_sim_timebase+set}" = set; then :
3486 enableval=$enable_sim_timebase; case "${enableval}" in
3487 yes) sim_timebase="-DWITH_TIME_BASE=1";;
3488 no) sim_timebase="-DWITH_TIME_BASE=0";;
3489 *) as_fn_error $? "\"--enable-sim-timebase does not take a value\"" "$LINENO" 5; sim_timebase="";;
3491 if test x"$silent" != x"yes" && test x"$sim_timebase" != x""; then
3492 echo "Setting timebase flags = $sim_timebase" 6>&1
3499 sim_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith
3500 -Wno-unused -Wunused-value -Wunused-function
3501 -Wno-switch -Wno-char-subscripts
3502 -Wempty-body -Wunused-but-set-parameter
3503 -Wno-error=maybe-uninitialized
3504 -Wno-missing-declarations
3505 -Wno-missing-prototypes
3506 -Wdeclaration-after-statement -Wmissing-parameter-type
3508 -Wold-style-declaration -Wold-style-definition
3510 # Check whether --enable-sim-warnings was given.
3511 if test "${enable_sim_warnings+set}" = set; then :
3512 enableval=$enable_sim_warnings; case "${enableval}" in
3514 no) sim_warnings="-w";;
3515 *) sim_warnings=`echo "${enableval}" |
sed -e "s/,/ /g"`;;
3517 if test x"$silent" != x"yes" && test x"$sim_warnings" != x""; then
3518 echo "Setting warning flags = $sim_warnings" 6>&1
3521 if test "x${sim_warnings}" != x -a "x$GCC" = xyes; then
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler warning flags" >&5
3523 $as_echo_n "checking compiler warning flags... " >&6; }
3524 build_warnings="${sim_warnings}"
3526 for w in ${build_warnings}; do
3527 saved_CFLAGS="$CFLAGS"
3528 CFLAGS="$CFLAGS -Werror $w"
3529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3530 /* end confdefs.h. */
3540 if ac_fn_c_try_compile "$LINENO"; then :
3541 sim_warnings="${sim_warnings} $w"
3543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3544 CFLAGS="$saved_CFLAGS"
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sim_warnings}" >&5
3547 $as_echo "${sim_warnings}" >&6; }
3551 # Check whether --enable-sim-xor-endian was given.
3552 if test "${enable_sim_xor_endian+set}" = set; then :
3553 enableval=$enable_sim_xor_endian; case "${enableval}" in
3554 yes) sim_xor_endian="-DWITH_XOR_ENDIAN=8";;
3555 no) sim_xor_endian="-DWITH_XOR_ENDIAN=0";;
3556 *) sim_xor_endian="-DWITH_XOR_ENDIAN=$enableval";;
3558 if test x"$silent" != x"yes" && test x"$sim_xor_endian" != x""; then
3559 echo "Setting xor-endian flag = $sim_xor_endian" 6>&1
3569 $as_echo "#define USE_WIN32API 1" >>confdefs.h
3574 ac_config_headers="$ac_config_headers config.h:config.in"
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct termios" >&5
3580 $as_echo_n "checking for struct termios... " >&6; }
3581 if ${ac_cv_termios_struct+:} false; then :
3582 $as_echo_n "(cached) " >&6
3584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3585 /* end confdefs.h. */
3586 #include <sys/types.h>
3587 #include <sys/termios.h>
3591 static struct termios x;
3601 if ac_fn_c_try_compile "$LINENO"; then :
3602 ac_cv_termios_struct=yes
3604 ac_cv_termios_struct=no
3606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_termios_struct" >&5
3610 $as_echo "$ac_cv_termios_struct" >&6; }
3611 if test $ac_cv_termios_struct = yes; then
3612 sim_termio="$sim_termio -DHAVE_TERMIOS_STRUCTURE"
3615 if test "$ac_cv_termios_struct" = "yes"; then
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c_line field in struct termios" >&5
3617 $as_echo_n "checking for c_line field in struct termios... " >&6; }
3618 if ${ac_cv_termios_cline+:} false; then :
3619 $as_echo_n "(cached) " >&6
3621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3622 /* end confdefs.h. */
3623 #include <sys/types.h>
3624 #include <sys/termios.h>
3628 static struct termios x; x.c_line = 0;
3633 if ac_fn_c_try_compile "$LINENO"; then :
3634 ac_cv_termios_cline=yes
3636 ac_cv_termios_cline=no
3638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_termios_cline" >&5
3643 $as_echo "$ac_cv_termios_cline" >&6; }
3644 if test $ac_cv_termios_cline = yes; then
3645 sim_termio="$sim_termio -DHAVE_TERMIOS_CLINE"
3648 ac_cv_termios_cline=no
3651 if test "$ac_cv_termios_struct" != "yes"; then
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct termio" >&5
3653 $as_echo_n "checking for struct termio... " >&6; }
3654 if ${ac_cv_termio_struct+:} false; then :
3655 $as_echo_n "(cached) " >&6
3657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3658 /* end confdefs.h. */
3659 #include <sys/types.h>
3660 #include <sys/termio.h>
3664 static struct termio x;
3674 if ac_fn_c_try_compile "$LINENO"; then :
3675 ac_cv_termio_struct=yes
3677 ac_cv_termio_struct=no
3679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_termio_struct" >&5
3683 $as_echo "$ac_cv_termio_struct" >&6; }
3684 if test $ac_cv_termio_struct = yes; then
3685 sim_termio="$sim_termio -DHAVE_TERMIO_STRUCTURE"
3688 ac_cv_termio_struct=no
3691 if test "$ac_cv_termio_struct" = "yes"; then
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c_line field in struct termio" >&5
3693 $as_echo_n "checking for c_line field in struct termio... " >&6; }
3694 if ${ac_cv_termio_cline+:} false; then :
3695 $as_echo_n "(cached) " >&6
3697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3698 /* end confdefs.h. */
3699 #include <sys/types.h>
3700 #include <sys/termio.h>
3704 static struct termio x; x.c_line = 0;
3709 if ac_fn_c_try_compile "$LINENO"; then :
3710 ac_cv_termio_cline=yes
3712 ac_cv_termio_cline=no
3714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_termio_cline" >&5
3719 $as_echo "$ac_cv_termio_cline" >&6; }
3720 if test $ac_cv_termio_cline = yes; then
3721 sim_termio="$sim_termio -DHAVE_TERMIO_CLINE"
3724 ac_cv_termio_cline=no
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct statfs" >&5
3728 $as_echo_n "checking for struct statfs... " >&6; }
3729 if ${ac_cv_struct_statfs+:} false; then :
3730 $as_echo_n "(cached) " >&6
3732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3733 /* end confdefs.h. */
3734 #include <sys/types.h>
3735 #ifdef HAVE_SYS_PARAM_H
3736 #include <sys/param.h>
3738 #ifdef HAVE_SYS_MOUNT_H
3739 #include <sys/mount.h>
3741 #ifdef HAVE_SYS_VFS_H
3742 #include <sys/vfs.h>
3744 #ifdef HAVE_SYS_STATFS_H
3745 #include <sys/statfs.h>
3750 static struct statfs s;
3755 if ac_fn_c_try_compile "$LINENO"; then :
3756 ac_cv_struct_statfs=yes
3758 ac_cv_struct_statfs=no
3760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_statfs" >&5
3764 $as_echo "$ac_cv_struct_statfs" >&6; }
3765 if test $ac_cv_struct_statfs = yes; then
3767 $as_echo "#define HAVE_STRUCT_STATFS 1" >>confdefs.h
3772 ac_cpp='$CPP $CPPFLAGS'
3773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3777 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3778 # On Suns, sometimes $CPP names a directory.
3779 if test -n "$CPP" && test -d "$CPP"; then
3782 if test -z "$CPP"; then
3783 if ${ac_cv_prog_CPP+:} false; then :
3784 $as_echo_n "(cached) " >&6
3786 # Double quotes because CPP needs to be expanded
3787 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3790 for ac_c_preproc_warn_flag in '' yes
3792 # Use a header file that comes with gcc, so configuring glibc
3793 # with a fresh cross-compiler works.
3794 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3795 # <limits.h> exists even on freestanding compilers.
3796 # On the NeXT, cc -E runs the code through the compiler's parser,
3797 # not just through cpp. "Syntax error" is here to catch this case.
3798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3799 /* end confdefs.h. */
3801 # include <limits.h>
3803 # include <assert.h>
3807 if ac_fn_c_try_cpp "$LINENO"; then :
3810 # Broken: fails on valid input.
3813 rm -f conftest.err conftest.i conftest.$ac_ext
3815 # OK, works on sane cases. Now check whether nonexistent headers
3816 # can be detected and how.
3817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3818 /* end confdefs.h. */
3819 #include <ac_nonexistent.h>
3821 if ac_fn_c_try_cpp "$LINENO"; then :
3822 # Broken: success on invalid input.
3825 # Passes both tests.
3829 rm -f conftest.err conftest.i conftest.$ac_ext
3832 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3833 rm -f conftest.i conftest.err conftest.
$ac_ext
3834 if $ac_preproc_ok; then :
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3847 $as_echo "$CPP" >&6; }
3849 for ac_c_preproc_warn_flag
in '' yes
3851 # Use a header file that comes with gcc, so configuring glibc
3852 # with a fresh cross-compiler works.
3853 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3854 # <limits.h> exists even on freestanding compilers.
3855 # On the NeXT, cc -E runs the code through the compiler's parser,
3856 # not just through cpp. "Syntax error" is here to catch this case.
3857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3858 /* end confdefs.h. */
3860 # include <limits.h>
3862 # include <assert.h>
3866 if ac_fn_c_try_cpp
"$LINENO"; then :
3869 # Broken: fails on valid input.
3872 rm -f conftest.err conftest.i conftest.
$ac_ext
3874 # OK, works on sane cases. Now check whether nonexistent headers
3875 # can be detected and how.
3876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3877 /* end confdefs.h. */
3878 #include <ac_nonexistent.h>
3880 if ac_fn_c_try_cpp
"$LINENO"; then :
3881 # Broken: success on invalid input.
3884 # Passes both tests.
3888 rm -f conftest.err conftest.i conftest.
$ac_ext
3891 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3892 rm -f conftest.i conftest.err conftest.
$ac_ext
3893 if $ac_preproc_ok; then :
3896 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3897 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3898 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3899 See \`config.log' for more details" "$LINENO" 5; }
3903 ac_cpp
='$CPP $CPPFLAGS'
3904 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3905 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3906 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3910 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3911 if ${ac_cv_path_GREP+:} false
; then :
3912 $as_echo_n "(cached) " >&6
3914 if test -z "$GREP"; then
3915 ac_path_GREP_found
=false
3916 # Loop through the user's path and test for each of PROGNAME-LIST
3917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3918 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3921 test -z "$as_dir" && as_dir
=.
3922 for ac_prog
in grep ggrep
; do
3923 for ac_exec_ext
in '' $ac_executable_extensions; do
3924 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3925 as_fn_executable_p
"$ac_path_GREP" ||
continue
3926 # Check for GNU ac_path_GREP and select it if it is found.
3927 # Check for GNU $ac_path_GREP
3928 case `"$ac_path_GREP" --version 2>&1` in
3930 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3933 $as_echo_n 0123456789 >"conftest.in"
3936 cat "conftest.in" "conftest.in" >"conftest.tmp"
3937 mv "conftest.tmp" "conftest.in"
3938 cp "conftest.in" "conftest.nl"
3939 $as_echo 'GREP' >> "conftest.nl"
3940 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3941 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3942 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3943 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3944 # Best one so far, save it but keep looking for a better one
3945 ac_cv_path_GREP
="$ac_path_GREP"
3946 ac_path_GREP_max
=$ac_count
3948 # 10*(2^10) chars as input seems more than enough
3949 test $ac_count -gt 10 && break
3951 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3954 $ac_path_GREP_found && break 3
3959 if test -z "$ac_cv_path_GREP"; then
3960 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3963 ac_cv_path_GREP
=$GREP
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3968 $as_echo "$ac_cv_path_GREP" >&6; }
3969 GREP
="$ac_cv_path_GREP"
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3973 $as_echo_n "checking for egrep... " >&6; }
3974 if ${ac_cv_path_EGREP+:} false
; then :
3975 $as_echo_n "(cached) " >&6
3977 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3978 then ac_cv_path_EGREP
="$GREP -E"
3980 if test -z "$EGREP"; then
3981 ac_path_EGREP_found
=false
3982 # Loop through the user's path and test for each of PROGNAME-LIST
3983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3984 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3987 test -z "$as_dir" && as_dir
=.
3988 for ac_prog
in egrep; do
3989 for ac_exec_ext
in '' $ac_executable_extensions; do
3990 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3991 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3992 # Check for GNU ac_path_EGREP and select it if it is found.
3993 # Check for GNU $ac_path_EGREP
3994 case `"$ac_path_EGREP" --version 2>&1` in
3996 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3999 $as_echo_n 0123456789 >"conftest.in"
4002 cat "conftest.in" "conftest.in" >"conftest.tmp"
4003 mv "conftest.tmp" "conftest.in"
4004 cp "conftest.in" "conftest.nl"
4005 $as_echo 'EGREP' >> "conftest.nl"
4006 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4007 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4008 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4009 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4010 # Best one so far, save it but keep looking for a better one
4011 ac_cv_path_EGREP
="$ac_path_EGREP"
4012 ac_path_EGREP_max
=$ac_count
4014 # 10*(2^10) chars as input seems more than enough
4015 test $ac_count -gt 10 && break
4017 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4020 $ac_path_EGREP_found && break 3
4025 if test -z "$ac_cv_path_EGREP"; then
4026 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4029 ac_cv_path_EGREP
=$EGREP
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4035 $as_echo "$ac_cv_path_EGREP" >&6; }
4036 EGREP
="$ac_cv_path_EGREP"
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4040 $as_echo_n "checking for ANSI C header files... " >&6; }
4041 if ${ac_cv_header_stdc+:} false
; then :
4042 $as_echo_n "(cached) " >&6
4044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4045 /* end confdefs.h. */
4059 if ac_fn_c_try_compile
"$LINENO"; then :
4060 ac_cv_header_stdc
=yes
4062 ac_cv_header_stdc
=no
4064 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4066 if test $ac_cv_header_stdc = yes; then
4067 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4069 /* end confdefs.h. */
4073 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4074 $EGREP "memchr" >/dev
/null
2>&1; then :
4077 ac_cv_header_stdc
=no
4083 if test $ac_cv_header_stdc = yes; then
4084 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4086 /* end confdefs.h. */
4090 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4091 $EGREP "free" >/dev
/null
2>&1; then :
4094 ac_cv_header_stdc
=no
4100 if test $ac_cv_header_stdc = yes; then
4101 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4102 if test "$cross_compiling" = yes; then :
4105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4106 /* end confdefs.h. */
4109 #if ((' ' & 0x0FF) == 0x020)
4110 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4111 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4113 # define ISLOWER(c) \
4114 (('a' <= (c) && (c) <= 'i') \
4115 || ('j' <= (c) && (c) <= 'r') \
4116 || ('s' <= (c) && (c) <= 'z'))
4117 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4120 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4125 for (i = 0; i < 256; i++)
4126 if (XOR (islower (i), ISLOWER (i))
4127 || toupper (i) != TOUPPER (i))
4132 if ac_fn_c_try_run
"$LINENO"; then :
4135 ac_cv_header_stdc
=no
4137 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4138 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4144 $as_echo "$ac_cv_header_stdc" >&6; }
4145 if test $ac_cv_header_stdc = yes; then
4147 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4151 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4152 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4153 inttypes.h stdint.h unistd.h
4155 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4156 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4158 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4159 cat >>confdefs.h
<<_ACEOF
4160 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4168 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
4169 if test "x$ac_cv_type_long_long" = xyes
; then :
4171 cat >>confdefs.h
<<_ACEOF
4172 #define HAVE_LONG_LONG 1
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/zero" >&5
4181 $as_echo_n "checking for /dev/zero... " >&6; }
4182 if ${ac_cv_devzero+:} false
; then :
4183 $as_echo_n "(cached) " >&6
4185 if test "$cross_compiling" = yes; then :
4188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4189 /* end confdefs.h. */
4194 int fd = open ("/dev/zero", O_RDONLY);
4197 for (i = 0; i < sizeof (buf); i++)
4199 if (read (fd, buf, sizeof (buf)) != sizeof (buf))
4201 for (i = 0; i < sizeof (buf); i++)
4207 if ac_fn_c_try_run
"$LINENO"; then :
4212 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4213 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_devzero" >&5
4219 $as_echo "$ac_cv_devzero" >&6; }
4220 if test $ac_cv_devzero = yes; then
4221 sim_devzero
="-DHAVE_DEVZERO"
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for common simulator directory" >&5
4227 $as_echo_n "checking for common simulator directory... " >&6; }
4228 if test -f "${srcdir}/../common/callback.c"; then
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4230 $as_echo "yes" >&6; }
4231 sim_callback
="callback.o targ-map.o"
4232 sim_targ_vals
="targ-vals.h targ-map.c targ-vals.def"
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4235 $as_echo "no" >&6; }
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for common simulator directory fpu implementation" >&5
4241 $as_echo_n "checking for common simulator directory fpu implementation... " >&6; }
4242 if test -f "${srcdir}/../common/sim-fpu.c"; then
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4244 $as_echo "yes" >&6; }
4245 sim_fpu_cflags
="-DHAVE_COMMON_FPU -I../common -I${srcdir}/../common"
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4249 $as_echo "no" >&6; }
4254 # Since we run commands on the build system, we have to create a
4255 # separate config header for the build system if build != host.
4256 if test x
$host = x
$build; then
4257 ac_config_commands
="$ac_config_commands build-config.h"
4265 /* | A-Za-z
:\\/* ) realsrcdir
=${srcdir};;
4266 *) realsrcdir
=..
/${srcdir};;
4268 saved_CFLAGS
="${CFLAGS}"
4269 # Put a plausible default for CC_FOR_BUILD in Makefile.
4270 if test "x$cross_compiling" = "xno"; then
4271 CC_FOR_BUILD
='$(CC)'
4275 CC
="${CC_FOR_BUILD}" CFLAGS
="${CFLAGS_FOR_BUILD-${CFLAGS}}" \
4276 LDFLAGS
="${LDFLAGS_FOR_BUILD}" \
4277 ${realsrcdir}/configure \
4278 --enable-languages=${enable_languages-all} \
4279 --target=$target_alias --host=$build_alias --build=$build_alias
4280 CFLAGS
="${saved_CFLAGS}"
4281 mv config.h ..
/build-config.h
4319 ac_config_files
="$ac_config_files Makefile"
4321 ac_config_commands
="$ac_config_commands default"
4323 cat >confcache
<<\_ACEOF
4324 # This file is a shell script that caches the results of configure
4325 # tests run on this system so they can be shared between configure
4326 # scripts and configure runs, see configure's option --config-cache.
4327 # It is not useful on other systems. If it contains results you don't
4328 # want to keep, you may remove or edit it.
4330 # config.status only pays attention to the cache file if you give it
4331 # the --recheck option to rerun configure.
4333 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4334 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4339 # The following way of writing the cache mishandles newlines in values,
4340 # but we know of no workaround that is simple, portable, and efficient.
4341 # So, we kill variables containing newlines.
4342 # Ultrix sh set writes to stderr and can't be redirected directly,
4343 # and sets the high bit in the cache file unless we assign to the vars.
4345 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4346 eval ac_val
=\$
$ac_var
4350 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4351 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4354 _ | IFS | as_nl
) ;; #(
4355 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4356 *) { eval $ac_var=; unset $ac_var;} ;;
4362 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4363 *${as_nl}ac_space
=\
*)
4364 # `set' does not quote correctly, so add quotes: double-quote
4365 # substitution turns \\\\ into \\, and sed turns \\ into \.
4368 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4371 # `set' quotes correctly as required by POSIX, so do not add quotes.
4372 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4381 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4383 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4385 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4386 if test -w "$cache_file"; then
4387 if test "x$cache_file" != "x/dev/null"; then
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4389 $as_echo "$as_me: updating cache $cache_file" >&6;}
4390 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
4391 cat confcache
>"$cache_file"
4393 case $cache_file in #(
4395 mv -f confcache
"$cache_file"$$
&&
4396 mv -f "$cache_file"$$
"$cache_file" ;; #(
4398 mv -f confcache
"$cache_file" ;;
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4404 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4409 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4410 # Let make expand exec_prefix.
4411 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4413 DEFS
=-DHAVE_CONFIG_H
4418 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4419 # 1. Remove the extension, and $U if already installed.
4420 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4421 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4422 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4423 # will be set to the directory where LIBOBJS objects are built.
4424 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4425 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4429 LTLIBOBJS
=$ac_ltlibobjs
4433 : "${CONFIG_STATUS=./config.status}"
4435 ac_clean_files_save
=$ac_clean_files
4436 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4438 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4440 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4442 # Generated by $as_me.
4443 # Run this file to recreate the current configuration.
4444 # Compiler output produced by configure, useful for debugging
4445 # configure, is in config.log if it exists.
4451 SHELL=\${CONFIG_SHELL-$SHELL}
4454 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4455 ## -------------------- ##
4456 ## M4sh Initialization. ##
4457 ## -------------------- ##
4459 # Be more Bourne compatible
4460 DUALCASE
=1; export DUALCASE
# for MKS sh
4461 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4464 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4465 # is contrary to our usage. Disable this feature.
4466 alias -g '${1+"$@"}'='"$@"'
4467 setopt NO_GLOB_SUBST
4469 case `(set -o) 2>/dev/null` in #(
4481 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4482 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4483 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4484 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4485 # Prefer a ksh shell builtin over an external printf program on Solaris,
4486 # but without wasting forks for bash or zsh.
4487 if test -z "$BASH_VERSION$ZSH_VERSION" \
4488 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4489 as_echo='print
-r --'
4490 as_echo_n='print
-rn --'
4491 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4492 as_echo='printf %s
\n'
4493 as_echo_n='printf %s
'
4495 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4496 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4497 as_echo_n='/usr
/ucb
/echo -n'
4499 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4500 as_echo_n_body='eval
4504 expr "X$arg" : "X\\(.*\\)$as_nl";
4505 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4507 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4509 export as_echo_n_body
4510 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4513 as_echo='sh
-c $as_echo_body as_echo
'
4516 # The user is always right.
4517 if test "${PATH_SEPARATOR+set}" != set; then
4519 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4520 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4527 # We need space, tab and new line, in precisely that order. Quoting is
4528 # there to prevent editors from complaining about space-tab.
4529 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4530 # splitting by setting IFS to empty value.)
4533 # Find who we are. Look in the path if we contain no directory separator.
4536 *[\\/]* ) as_myself=$0 ;;
4537 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4541 test -z "$as_dir" && as_dir=.
4542 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4548 # We did not find ourselves, most probably we were run as `sh COMMAND'
4549 # in which case we are not to be found in the path.
4550 if test "x$as_myself" = x
; then
4553 if test ! -f "$as_myself"; then
4554 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4558 # Unset variables that we do not need and which cause bugs (e.g. in
4559 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4560 # suppresses any "Segmentation fault" message there. '((' could
4561 # trigger a bug in pdksh 5.2.14.
4562 for as_var
in BASH_ENV ENV MAIL MAILPATH
4563 do eval test x\
${$as_var+set} = xset \
4564 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4577 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4580 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4581 # ----------------------------------------
4582 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4583 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4584 # script with STATUS, using 1 if that was 0.
4587 as_status
=$1; test $as_status -eq 0 && as_status
=1
4589 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4590 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4592 $as_echo "$as_me: error: $2" >&2
4593 as_fn_exit
$as_status
4597 # as_fn_set_status STATUS
4598 # -----------------------
4599 # Set $? to STATUS, without forking.
4603 } # as_fn_set_status
4607 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4617 # Portably unset VAR.
4620 { eval $1=; unset $1;}
4622 as_unset
=as_fn_unset
4623 # as_fn_append VAR VALUE
4624 # ----------------------
4625 # Append the text in VALUE to the end of the definition contained in VAR. Take
4626 # advantage of any shell optimizations that allow amortized linear growth over
4627 # repeated appends, instead of the typical quadratic growth present in naive
4629 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4630 eval 'as_fn_append ()
4641 # as_fn_arith ARG...
4642 # ------------------
4643 # Perform arithmetic evaluation on the ARGs, and store the result in the
4644 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4645 # must be portable across $(()) and expr.
4646 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4647 eval 'as_fn_arith ()
4654 as_val
=`expr "$@" || test $? -eq 1`
4659 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4660 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4666 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4667 as_basename
=basename
4672 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4678 as_me
=`$as_basename -- "$0" ||
4679 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4680 X"$0" : 'X\(//\)$' \| \
4681 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4683 sed '/^.*\/\([^/][^/]*\)\/*$/{
4697 # Avoid depending upon Character Ranges.
4698 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4699 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4700 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4701 as_cr_digits
='0123456789'
4702 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4704 ECHO_C
= ECHO_N
= ECHO_T
=
4705 case `echo -n x` in #(((((
4707 case `echo 'xy\c'` in
4708 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4710 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4717 rm -f conf$$ conf$$.exe conf$$.
file
4718 if test -d conf$$.dir
; then
4719 rm -f conf$$.dir
/conf$$.
file
4722 mkdir conf$$.dir
2>/dev
/null
4724 if (echo >conf$$.
file) 2>/dev
/null
; then
4725 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4727 # ... but there are two gotchas:
4728 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4729 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4730 # In both cases, we have to default to `cp -pR'.
4731 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4733 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4741 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4742 rmdir conf$$.dir
2>/dev
/null
4747 # Create "$as_dir" as a directory, including parents if necessary.
4752 -*) as_dir
=.
/$as_dir;;
4754 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4758 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4759 *) as_qdir
=$as_dir;;
4761 as_dirs
="'$as_qdir' $as_dirs"
4762 as_dir
=`$as_dirname -- "$as_dir" ||
4763 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4764 X"$as_dir" : 'X\(//\)[^/]' \| \
4765 X"$as_dir" : 'X\(//\)$' \| \
4766 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4767 $as_echo X"$as_dir" |
4768 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4785 test -d "$as_dir" && break
4787 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4788 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
4792 if mkdir
-p .
2>/dev
/null
; then
4793 as_mkdir_p
='mkdir -p "$as_dir"'
4795 test -d .
/-p && rmdir .
/-p
4800 # as_fn_executable_p FILE
4801 # -----------------------
4802 # Test if FILE is an executable regular file.
4803 as_fn_executable_p
()
4805 test -f "$1" && test -x "$1"
4806 } # as_fn_executable_p
4808 as_executable_p
=as_fn_executable_p
4810 # Sed expression to map a string onto a valid CPP name.
4811 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4813 # Sed expression to map a string onto a valid variable name.
4814 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4818 ## ----------------------------------- ##
4819 ## Main body of $CONFIG_STATUS script. ##
4820 ## ----------------------------------- ##
4822 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4824 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4825 # Save the log message, to keep $0 and so on meaningful, and to
4826 # report actual input values of CONFIG_FILES etc. instead of their
4827 # values after options handling.
4829 This file was extended by $as_me, which was
4830 generated by GNU Autoconf 2.69. Invocation command line was
4832 CONFIG_FILES = $CONFIG_FILES
4833 CONFIG_HEADERS = $CONFIG_HEADERS
4834 CONFIG_LINKS = $CONFIG_LINKS
4835 CONFIG_COMMANDS = $CONFIG_COMMANDS
4838 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4843 case $ac_config_files in *"
4844 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4847 case $ac_config_headers in *"
4848 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
4852 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4853 # Files that config.status was made for.
4854 config_files="$ac_config_files"
4855 config_headers="$ac_config_headers"
4856 config_commands="$ac_config_commands"
4860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4862 \`$as_me' instantiates files and other configuration actions
4863 from templates according to the current configuration. Unless the files
4864 and actions are specified as TAGs, all are instantiated by default.
4866 Usage: $0 [OPTION]... [TAG]...
4868 -h, --help print this help, then exit
4869 -V, --version print version number and configuration settings, then exit
4870 --config print configuration, then exit
4871 -q, --quiet, --silent
4872 do not print progress messages
4873 -d, --debug don't remove temporary files
4874 --recheck update $as_me by reconfiguring in the same conditions
4875 --file=FILE[:TEMPLATE]
4876 instantiate the configuration file FILE
4877 --header=FILE[:TEMPLATE]
4878 instantiate the configuration header FILE
4880 Configuration files:
4883 Configuration headers:
4886 Configuration commands:
4889 Report bugs to the package provider."
4892 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4893 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4896 configured by $0, generated by GNU Autoconf 2.69,
4897 with options \\"\$ac_cs_config\\"
4899 Copyright (C) 2012 Free Software Foundation, Inc.
4900 This config.status script is free software; the Free Software Foundation
4901 gives unlimited permission to copy, distribute and modify it."
4906 test -n "\$AWK" || AWK=awk
4909 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4910 # The default lists apply if the user does not specify any file.
4916 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4917 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4921 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4933 # Handling of the options.
4934 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4936 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4937 $as_echo "$ac_cs_version"; exit ;;
4938 --config |
--confi |
--conf |
--con |
--co |
--c )
4939 $as_echo "$ac_cs_config"; exit ;;
4940 --debug |
--debu |
--deb |
--de |
--d |
-d )
4942 --file |
--fil |
--fi |
--f )
4945 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4946 '') as_fn_error $?
"missing file argument" ;;
4948 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4949 ac_need_defaults
=false
;;
4950 --header |
--heade |
--head |
--hea )
4953 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4955 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
4956 ac_need_defaults
=false
;;
4958 # Conflict between --help and --header
4959 as_fn_error $?
"ambiguous option: \`$1'
4960 Try \`$0 --help' for more information.";;
4961 --help |
--hel |
-h )
4962 $as_echo "$ac_cs_usage"; exit ;;
4963 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4964 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4968 -*) as_fn_error $?
"unrecognized option: \`$1'
4969 Try \`$0 --help' for more information." ;;
4971 *) as_fn_append ac_config_targets
" $1"
4972 ac_need_defaults
=false
;;
4978 ac_configure_extra_args
=
4980 if $ac_cs_silent; then
4982 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4987 if \$ac_cs_recheck; then
4988 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4990 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4991 CONFIG_SHELL='$SHELL'
4997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5001 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5002 ## Running $as_me. ##
5008 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5011 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5013 # Handling of arguments.
5014 for ac_config_target
in $ac_config_targets
5016 case $ac_config_target in
5017 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
5018 "build-config.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS build-config.h" ;;
5019 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5020 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
5022 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5027 # If the user did not use the arguments to specify the items to instantiate,
5028 # then the envvar interface is used. Set only those that are not.
5029 # We use the long form for the default assignment because of an extremely
5030 # bizarre bug on SunOS 4.1.3.
5031 if $ac_need_defaults; then
5032 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5033 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5034 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5037 # Have a temporary directory for convenience. Make it in the build tree
5038 # simply because there is no reason against having it here, and in addition,
5039 # creating and moving files from /tmp can sometimes cause problems.
5040 # Hook for its removal unless debugging.
5041 # Note that there is a small window in which the directory will not be cleaned:
5042 # after its creation but before its name has been assigned to `$tmp'.
5046 trap 'exit_status=$?
5048 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5050 trap 'as_fn_exit 1' 1 2 13 15
5052 # Create a (secure) tmp directory for tmp files.
5055 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5059 tmp
=.
/conf$$
-$RANDOM
5060 (umask 077 && mkdir
"$tmp")
5061 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
5064 # Set up the scripts for CONFIG_FILES section.
5065 # No need to generate them if there are no CONFIG_FILES.
5066 # This happens for instance with `./config.status config.h'.
5067 if test -n "$CONFIG_FILES"; then
5070 ac_cr
=`echo X | tr X '\015'`
5071 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5072 # But we know of no other shell where ac_cr would be empty at this
5073 # point, so we can use a bashism as a fallback.
5074 if test "x$ac_cr" = x
; then
5075 eval ac_cr
=\$
\'\\r
\'
5077 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5078 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5084 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5089 echo "cat >conf$$subs.awk <<_ACEOF" &&
5090 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5093 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5094 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5096 for ac_last_try in false false false false false :; do
5097 . ./conf$$subs.sh ||
5098 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5100 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5101 if test $ac_delim_n = $ac_delim_num; then
5103 elif $ac_last_try; then
5104 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5106 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5111 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5112 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
5116 s/^/S["/; s
/!.
*/"]=/
5126 s/\(.\{148\}\)..*/\1/
5128 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5133 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5140 s/\(.\{148\}\)..*/\1/
5142 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5146 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5151 ' <conf$$subs.awk | sed '
5156 ' >>$CONFIG_STATUS || ac_write_fail=1
5157 rm -f conf$$subs.awk
5158 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5160 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
5161 for (key in S) S_is_set[key] = 1
5167 nfields = split(line, field, "@
")
5169 len = length(field[1])
5170 for (i = 2; i < nfields; i++) {
5172 keylen = length(key)
5173 if (S_is_set[key]) {
5175 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5176 len += length(value) + length(field[++i])
5187 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5188 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5189 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5192 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
5193 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
5196 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5197 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
5198 # trailing colons and then remove the whole line if VPATH becomes empty
5199 # (actually we leave an empty line to preserve line numbers).
5200 if test "x
$srcdir" = x.; then
5201 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5219 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5220 fi # test -n "$CONFIG_FILES"
5222 # Set up the scripts for CONFIG_HEADERS section.
5223 # No need to generate them if there are no CONFIG_HEADERS.
5224 # This happens for instance with `./config.status Makefile'.
5225 if test -n "$CONFIG_HEADERS"; then
5226 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
5230 # Transform confdefs.h into an awk script `defines.awk', embedded as
5231 # here-document in config.status, that substitutes the proper values into
5232 # config.h.in to produce config.h.
5234 # Create a delimiter string that does not exist in confdefs.h, to ease
5235 # handling of long lines.
5237 for ac_last_try in false false :; do
5238 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
5239 if test -z "$ac_tt"; then
5241 elif $ac_last_try; then
5242 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
5244 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5248 # For the awk script, D is an array of macro values keyed by name,
5249 # likewise P contains macro parameters if any. Preserve backslash
5250 # newline sequences.
5252 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5254 s/.\{148\}/&'"$ac_delim"'/g
5257 s/^[ ]*#[ ]*define[ ][ ]*/ /
5264 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
5266 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
5270 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
5271 D["\
1"]=" \
3\\\\\\n
"\\/p
5273 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
5278 s/.\{148\}/&'"$ac_delim"'/g
5283 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
5286 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
5288 ' <confdefs.h | sed '
5289 s/'"$ac_delim"'/"\\\
5290 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5292 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5293 for (key in D) D_is_set[key] = 1
5296 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5298 split(line, arg, " ")
5299 if (arg[1] == "#") {
5303 defundef
= substr
(arg
[1], 2)
5306 split(mac1
, mac2
, "(") #)
5308 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
5309 if (D_is_set
[macro
]) {
5310 # Preserve the white space surrounding the "#".
5311 print prefix
"define", macro P
[macro
] D
[macro
]
5314 # Replace #undef with comments. This is necessary, for example,
5315 # in the case of _POSIX_SOURCE, which is predefined and required
5316 # on some systems where configure will not decide to define it.
5317 if (defundef
== "undef") {
5318 print
"/*", prefix defundef
, macro
, "*/"
5326 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5327 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
5328 fi # test -n "$CONFIG_HEADERS"
5331 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5336 :[FHLC
]) ac_mode
=$ac_tag; continue;;
5338 case $ac_mode$ac_tag in
5340 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
5341 :[FH
]-) ac_tag
=-:-;;
5342 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
5359 -) ac_f
="$ac_tmp/stdin";;
5360 *) # Look for the file first in the build tree, then in the source tree
5361 # (if the path is not absolute). The absolute path cannot be DOS-style,
5362 # because $ac_f cannot contain `:'.
5366 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
5368 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5370 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5371 as_fn_append ac_file_inputs
" '$ac_f'"
5374 # Let's still pretend it is `configure' which instantiates (i.e., don't
5375 # use $as_me), people would be surprised to read:
5376 # /* config.h. Generated by config.status. */
5377 configure_input
='Generated from '`
5378 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5380 if test x
"$ac_file" != x-
; then
5381 configure_input
="$ac_file. $configure_input"
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5383 $as_echo "$as_me: creating $ac_file" >&6;}
5385 # Neutralize special characters interpreted by sed in replacement strings.
5386 case $configure_input in #(
5387 *\
&* |
*\|
* |
*\\* )
5388 ac_sed_conf_input
=`$as_echo "$configure_input" |
5389 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5390 *) ac_sed_conf_input
=$configure_input;;
5394 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
5395 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
5400 ac_dir
=`$as_dirname -- "$ac_file" ||
5401 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5402 X"$ac_file" : 'X\(//\)[^/]' \| \
5403 X"$ac_file" : 'X\(//\)$' \| \
5404 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5405 $as_echo X"$ac_file" |
5406 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5423 as_dir
="$ac_dir"; as_fn_mkdir_p
5427 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5429 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5430 # A ".." for each directory in $ac_dir_suffix.
5431 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5432 case $ac_top_builddir_sub in
5433 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5434 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
5437 ac_abs_top_builddir
=$ac_pwd
5438 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
5439 # for backward compatibility:
5440 ac_top_builddir
=$ac_top_build_prefix
5443 .
) # We are building in place.
5445 ac_top_srcdir
=$ac_top_builddir_sub
5446 ac_abs_top_srcdir
=$ac_pwd ;;
5447 [\\/]* | ?
:[\\/]* ) # Absolute name.
5448 ac_srcdir
=$srcdir$ac_dir_suffix;
5449 ac_top_srcdir
=$srcdir
5450 ac_abs_top_srcdir
=$srcdir ;;
5452 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
5453 ac_top_srcdir
=$ac_top_build_prefix$srcdir
5454 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
5456 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
5466 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5467 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
5471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5472 # If the template does not know about datarootdir, expand it.
5473 # FIXME: This hack should be removed a few years after 2.60.
5474 ac_datarootdir_hack
=; ac_datarootdir_seen
=
5485 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5486 *datarootdir
*) ac_datarootdir_seen
=yes;;
5487 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5489 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5491 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5492 ac_datarootdir_hack='
5493 s&@datadir@&$datadir&g
5494 s&@docdir@&$docdir&g
5495 s&@infodir@&$infodir&g
5496 s&@localedir@&$localedir&g
5497 s&@mandir@&$mandir&g
5498 s&\\\${datarootdir}&$datarootdir&g' ;;
5502 # Neutralize VPATH when `$srcdir' = `.'.
5503 # Shell code in configure.ac might set extrasub.
5504 # FIXME: do we really want to maintain this feature?
5505 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5506 ac_sed_extra="$ac_vpsub
5509 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5511 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5512 s|@configure_input@|
$ac_sed_conf_input|
;t t
5513 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5514 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5515 s
&@srcdir@
&$ac_srcdir&;t t
5516 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5517 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5518 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5519 s
&@builddir@
&$ac_builddir&;t t
5520 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5521 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5522 s
&@INSTALL@
&$ac_INSTALL&;t t
5523 $ac_datarootdir_hack
5525 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
5526 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
5528 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5529 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
5530 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5531 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5533 which seems to be undefined. Please make sure it is defined" >&5
5534 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5535 which seems to be undefined. Please make sure it is defined" >&2;}
5537 rm -f "$ac_tmp/stdin"
5539 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5540 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5542 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5548 if test x"$ac_file" != x-; then
5550 $as_echo "/* $configure_input */" \
5551 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5552 } >"$ac_tmp/config.h" \
5553 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5554 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5556 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5559 mv "$ac_tmp/config.h" "$ac_file" \
5560 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5563 $as_echo "/* $configure_input */" \
5564 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5565 || as_fn_error $? "could not create -" "$LINENO" 5
5569 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5570 $as_echo "$as_me: executing $ac_file commands" >&6;}
5575 case $ac_file$ac_mode in
5576 "build-config.h":C) cp config.h build-config.h ;;
5577 "default":C) case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac ;;
5585 ac_clean_files=$ac_clean_files_save
5587 test $ac_write_fail = 0 ||
5588 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5591 # configure is writing to config.log, and then calls config.status.
5592 # config.status does its own redirection, appending to config.log.
5593 # Unfortunately, on DOS this fails, as config.log is still kept open
5594 # by configure, so config.status won't be able to
write to it
; its
5595 # output is simply discarded. So we exec the FD to /dev/null,
5596 # effectively closing config.log, so it can be properly (re)opened and
5597 # appended to by config.status. When coming back to configure, we
5598 # need to make the FD available again.
5599 if test "$no_create" != yes; then
5601 ac_config_status_args
=
5602 test "$silent" = yes &&
5603 ac_config_status_args
="$ac_config_status_args --quiet"
5605 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5607 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5608 # would make configure fail if this is the last instruction.
5609 $ac_cs_success || as_fn_exit
1
5611 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5613 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}