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
741 program_transform_name
754 enable_option_checking
759 enable_sim_decode_mechanism
760 enable_sim_default_model
767 enable_sim_hostbitsize
768 enable_sim_hostendian
774 enable_sim_model_issue
778 enable_sim_reserved_bits
785 enable_sim_xor_endian
791 ac_precious_vars
='build_alias
802 # Initialize some variables set by options.
804 ac_init_version
=false
805 ac_unrecognized_opts
=
807 # The variables have the same names as the options, with
808 # dashes changed to underlines.
816 program_transform_name
=s
,x
,x
,
824 # Installation directory options.
825 # These are left unexpanded so users can "make install exec_prefix=/foo"
826 # and all the variables that are supposed to be based on exec_prefix
827 # by default will actually change.
828 # Use braces instead of parens because sh, perl, etc. also accept them.
829 # (The list follows the same order as the GNU Coding Standards.)
830 bindir
='${exec_prefix}/bin'
831 sbindir
='${exec_prefix}/sbin'
832 libexecdir
='${exec_prefix}/libexec'
833 datarootdir
='${prefix}/share'
834 datadir
='${datarootdir}'
835 sysconfdir
='${prefix}/etc'
836 sharedstatedir
='${prefix}/com'
837 localstatedir
='${prefix}/var'
838 includedir
='${prefix}/include'
839 oldincludedir
='/usr/include'
840 docdir
='${datarootdir}/doc/${PACKAGE}'
841 infodir
='${datarootdir}/info'
846 libdir
='${exec_prefix}/lib'
847 localedir
='${datarootdir}/locale'
848 mandir
='${datarootdir}/man'
854 # If the previous option needs an argument, assign it.
855 if test -n "$ac_prev"; then
856 eval $ac_prev=\
$ac_option
862 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
867 # Accept the important Cygnus configure options, so we can diagnose typos.
869 case $ac_dashdash$ac_option in
873 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
875 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
878 -build |
--build |
--buil |
--bui |
--bu)
879 ac_prev
=build_alias
;;
880 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
881 build_alias
=$ac_optarg ;;
883 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
884 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
885 ac_prev
=cache_file
;;
886 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
887 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
888 cache_file
=$ac_optarg ;;
891 cache_file
=config.cache
;;
893 -datadir |
--datadir |
--datadi |
--datad)
895 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
896 datadir
=$ac_optarg ;;
898 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
899 |
--dataroo |
--dataro |
--datar)
900 ac_prev
=datarootdir
;;
901 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
902 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
903 datarootdir
=$ac_optarg ;;
905 -disable-* |
--disable-*)
906 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
907 # Reject names that are not valid shell variable names.
908 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
909 as_fn_error $?
"invalid feature name: $ac_useropt"
910 ac_useropt_orig
=$ac_useropt
911 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
912 case $ac_user_opts in
916 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
917 ac_unrecognized_sep
=', ';;
919 eval enable_
$ac_useropt=no
;;
921 -docdir |
--docdir |
--docdi |
--doc |
--do)
923 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
926 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
928 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
931 -enable-* |
--enable-*)
932 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
933 # Reject names that are not valid shell variable names.
934 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
935 as_fn_error $?
"invalid feature name: $ac_useropt"
936 ac_useropt_orig
=$ac_useropt
937 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
938 case $ac_user_opts in
942 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
943 ac_unrecognized_sep
=', ';;
945 eval enable_
$ac_useropt=\
$ac_optarg ;;
947 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
948 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
949 |
--exec |
--exe |
--ex)
950 ac_prev
=exec_prefix
;;
951 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
952 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
953 |
--exec=* |
--exe=* |
--ex=*)
954 exec_prefix
=$ac_optarg ;;
956 -gas |
--gas |
--ga |
--g)
957 # Obsolete; use --with-gas.
960 -help |
--help |
--hel |
--he |
-h)
962 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
963 ac_init_help
=recursive
;;
964 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
965 ac_init_help
=short
;;
967 -host |
--host |
--hos |
--ho)
968 ac_prev
=host_alias
;;
969 -host=* |
--host=* |
--hos=* |
--ho=*)
970 host_alias
=$ac_optarg ;;
972 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
974 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
976 htmldir
=$ac_optarg ;;
978 -includedir |
--includedir |
--includedi |
--included |
--include \
979 |
--includ |
--inclu |
--incl |
--inc)
980 ac_prev
=includedir
;;
981 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
982 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
983 includedir
=$ac_optarg ;;
985 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
987 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
988 infodir
=$ac_optarg ;;
990 -libdir |
--libdir |
--libdi |
--libd)
992 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
995 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
996 |
--libexe |
--libex |
--libe)
997 ac_prev
=libexecdir
;;
998 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
999 |
--libexe=* |
--libex=* |
--libe=*)
1000 libexecdir
=$ac_optarg ;;
1002 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1003 ac_prev
=localedir
;;
1004 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1005 localedir
=$ac_optarg ;;
1007 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1008 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1009 ac_prev
=localstatedir
;;
1010 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1011 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1012 localstatedir
=$ac_optarg ;;
1014 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1016 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1017 mandir
=$ac_optarg ;;
1019 -nfp |
--nfp |
--nf)
1020 # Obsolete; use --without-fp.
1023 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1024 |
--no-cr |
--no-c |
-n)
1027 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1028 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1031 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1032 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1033 |
--oldin |
--oldi |
--old |
--ol |
--o)
1034 ac_prev
=oldincludedir
;;
1035 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1036 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1037 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1038 oldincludedir
=$ac_optarg ;;
1040 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1042 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1043 prefix
=$ac_optarg ;;
1045 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1046 |
--program-pre |
--program-pr |
--program-p)
1047 ac_prev
=program_prefix
;;
1048 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1049 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1050 program_prefix
=$ac_optarg ;;
1052 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1053 |
--program-suf |
--program-su |
--program-s)
1054 ac_prev
=program_suffix
;;
1055 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1056 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1057 program_suffix
=$ac_optarg ;;
1059 -program-transform-name |
--program-transform-name \
1060 |
--program-transform-nam |
--program-transform-na \
1061 |
--program-transform-n |
--program-transform- \
1062 |
--program-transform |
--program-transfor \
1063 |
--program-transfo |
--program-transf \
1064 |
--program-trans |
--program-tran \
1065 |
--progr-tra |
--program-tr |
--program-t)
1066 ac_prev
=program_transform_name
;;
1067 -program-transform-name=* |
--program-transform-name=* \
1068 |
--program-transform-nam=* |
--program-transform-na=* \
1069 |
--program-transform-n=* |
--program-transform-=* \
1070 |
--program-transform=* |
--program-transfor=* \
1071 |
--program-transfo=* |
--program-transf=* \
1072 |
--program-trans=* |
--program-tran=* \
1073 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1074 program_transform_name
=$ac_optarg ;;
1076 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1078 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1079 pdfdir
=$ac_optarg ;;
1081 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1083 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1086 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1087 |
-silent |
--silent |
--silen |
--sile |
--sil)
1090 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1092 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1094 sbindir
=$ac_optarg ;;
1096 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1097 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1098 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1100 ac_prev
=sharedstatedir
;;
1101 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1102 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1103 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1105 sharedstatedir
=$ac_optarg ;;
1107 -site |
--site |
--sit)
1109 -site=* |
--site=* |
--sit=*)
1112 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1114 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1115 srcdir
=$ac_optarg ;;
1117 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1118 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1119 ac_prev
=sysconfdir
;;
1120 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1121 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1122 sysconfdir
=$ac_optarg ;;
1124 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1125 ac_prev
=target_alias
;;
1126 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1127 target_alias
=$ac_optarg ;;
1129 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1132 -version |
--version |
--versio |
--versi |
--vers |
-V)
1133 ac_init_version
=: ;;
1136 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1137 # Reject names that are not valid shell variable names.
1138 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1139 as_fn_error $?
"invalid package name: $ac_useropt"
1140 ac_useropt_orig
=$ac_useropt
1141 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1142 case $ac_user_opts in
1146 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1147 ac_unrecognized_sep
=', ';;
1149 eval with_
$ac_useropt=\
$ac_optarg ;;
1151 -without-* |
--without-*)
1152 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1155 as_fn_error $?
"invalid package name: $ac_useropt"
1156 ac_useropt_orig
=$ac_useropt
1157 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1158 case $ac_user_opts in
1162 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1163 ac_unrecognized_sep
=', ';;
1165 eval with_
$ac_useropt=no
;;
1168 # Obsolete; use --with-x.
1171 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1172 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1173 ac_prev
=x_includes
;;
1174 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1175 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1176 x_includes
=$ac_optarg ;;
1178 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1179 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1180 ac_prev
=x_libraries
;;
1181 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1182 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1183 x_libraries
=$ac_optarg ;;
1185 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1186 Try \`$0 --help' for more information"
1190 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1191 # Reject names that are not valid shell variable names.
1192 case $ac_envvar in #(
1193 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1194 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1196 eval $ac_envvar=\
$ac_optarg
1197 export $ac_envvar ;;
1200 # FIXME: should be removed in autoconf 3.0.
1201 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1202 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1203 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1204 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1210 if test -n "$ac_prev"; then
1211 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1212 as_fn_error $?
"missing argument to $ac_option"
1215 if test -n "$ac_unrecognized_opts"; then
1216 case $enable_option_checking in
1218 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1219 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1223 # Check all directory arguments for consistency.
1224 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1225 datadir sysconfdir sharedstatedir localstatedir includedir \
1226 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1227 libdir localedir mandir
1229 eval ac_val
=\$
$ac_var
1230 # Remove trailing slashes.
1233 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1234 eval $ac_var=\
$ac_val;;
1236 # Be sure to have absolute directory names.
1238 [\\/$
]* | ?
:[\\/]* ) continue;;
1239 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1241 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1244 # There might be people who depend on the old broken behavior: `$host'
1245 # used to hold the argument of --host etc.
1246 # FIXME: To remove some day.
1249 target
=$target_alias
1251 # FIXME: To remove some day.
1252 if test "x$host_alias" != x
; then
1253 if test "x$build_alias" = x
; then
1254 cross_compiling
=maybe
1255 elif test "x$build_alias" != "x$host_alias"; then
1261 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1263 test "$silent" = yes && exec 6>/dev
/null
1266 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1267 ac_ls_di
=`ls -di .` &&
1268 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1269 as_fn_error $?
"working directory cannot be determined"
1270 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1271 as_fn_error $?
"pwd does not report name of working directory"
1274 # Find the source files, if location was not specified.
1275 if test -z "$srcdir"; then
1276 ac_srcdir_defaulted
=yes
1277 # Try the directory containing this script, then the parent directory.
1278 ac_confdir
=`$as_dirname -- "$as_myself" ||
1279 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1280 X"$as_myself" : 'X\(//\)[^/]' \| \
1281 X"$as_myself" : 'X\(//\)$' \| \
1282 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1283 $as_echo X"$as_myself" |
1284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1302 if test ! -r "$srcdir/$ac_unique_file"; then
1306 ac_srcdir_defaulted
=no
1308 if test ! -r "$srcdir/$ac_unique_file"; then
1309 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1310 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1312 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1314 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1316 # When building in place, set srcdir=.
1317 if test "$ac_abs_confdir" = "$ac_pwd"; then
1320 # Remove unnecessary trailing slashes from srcdir.
1321 # Double slashes in file names in object file debugging info
1322 # mess up M-x gdb in Emacs.
1324 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1326 for ac_var
in $ac_precious_vars; do
1327 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1328 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1329 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1330 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1334 # Report the --help message.
1336 if test "$ac_init_help" = "long"; then
1337 # Omit some internal or obsolete options to make the list less imposing.
1338 # This message is too long to be a string in the A/UX 3.1 sh.
1340 \`configure' configures this package to adapt to many kinds of systems.
1342 Usage: $0 [OPTION]... [VAR=VALUE]...
1344 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1345 VAR=VALUE. See below for descriptions of some of the useful variables.
1347 Defaults for the options are specified in brackets.
1350 -h, --help display this help and exit
1351 --help=short display options specific to this package
1352 --help=recursive display the short help of all the included packages
1353 -V, --version display version information and exit
1354 -q, --quiet, --silent do not print \`checking ...' messages
1355 --cache-file=FILE cache test results in FILE [disabled]
1356 -C, --config-cache alias for \`--cache-file=config.cache'
1357 -n, --no-create do not create output files
1358 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1360 Installation directories:
1361 --prefix=PREFIX install architecture-independent files in PREFIX
1362 [$ac_default_prefix]
1363 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1366 By default, \`make install' will install all the files in
1367 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1368 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1369 for instance \`--prefix=\$HOME'.
1371 For better control, use the options below.
1373 Fine tuning of the installation directories:
1374 --bindir=DIR user executables [EPREFIX/bin]
1375 --sbindir=DIR system admin executables [EPREFIX/sbin]
1376 --libexecdir=DIR program executables [EPREFIX/libexec]
1377 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1378 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1379 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1380 --libdir=DIR object code libraries [EPREFIX/lib]
1381 --includedir=DIR C header files [PREFIX/include]
1382 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1383 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1384 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1385 --infodir=DIR info documentation [DATAROOTDIR/info]
1386 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1387 --mandir=DIR man documentation [DATAROOTDIR/man]
1388 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1389 --htmldir=DIR html documentation [DOCDIR]
1390 --dvidir=DIR dvi documentation [DOCDIR]
1391 --pdfdir=DIR pdf documentation [DOCDIR]
1392 --psdir=DIR ps documentation [DOCDIR]
1398 --program-prefix=PREFIX prepend PREFIX to installed program names
1399 --program-suffix=SUFFIX append SUFFIX to installed program names
1400 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1403 --build=BUILD configure
for building on BUILD
[guessed
]
1404 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1405 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1409 if test -n "$ac_init_help"; then
1414 --disable-option-checking ignore unrecognized
--enable/--with options
1415 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1416 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1417 --enable-sim-alignment=align Specify strict or nonstrict alignment.
1418 --enable-sim-assert Specify whether to perform random assertions.
1419 --enable-sim-bitsize=n Specify target bitsize
(32 or
64).
1420 --enable-sim-config=file Override default config
file
1421 --enable-sim-decode-mechanism=which Specify the instruction decode mechanism.
1422 --enable-sim-default-model=which Specify default PowerPC to model.
1423 --enable-sim-duplicate Expand
(duplicate
) semantic functions.
1424 --enable-sim-endian=endian Specify target byte endian orientation.
1425 --enable-sim-env=env Specify target environment
(operating
, virtual
, user
).
1426 --enable-sim-filter=rule Specify filter rules.
1427 --enable-sim-float Specify whether the target has hard
, soft
, altivec or e500 floating point.
1428 --enable-sim-hardware=list Specify the hardware to be included
in the build.
1429 --enable-sim-hostbitsize=32|
64 Specify
host bitsize
(32 or
64).
1430 --enable-sim-hostendian=end Specify
host byte endian orientation.
1431 --enable-sim-icache=size Specify instruction-decode cache size and
type.
1432 --enable-sim-inline=inlines Specify
which functions should be inlined.
1433 --enable-sim-jump Jump between semantic code
(instead of
call
/return).
1434 --enable-sim-line-nr=opts Generate extra CPP code that references
source rather than generated code
1435 --enable-sim-model=which Specify PowerPC to model.
1436 --enable-sim-model-issue Specify whether to simulate model specific actions
1437 --enable-sim-monitor=mon Specify whether to
enable monitoring events.
1438 --enable-sim-opcode=which Override default opcode lookup.
1439 --enable-sim-packages=list Specify the packages to be included
in the build.
1440 --enable-sim-reserved-bits Specify whether to check reserved bits
in instruction.
1441 --enable-sim-smp=n Specify number of processors to configure
for.
1442 --enable-sim-stdio Specify whether to use stdio
for console input
/output.
1443 --enable-sim-switch Use a switch instead of a table
for instruction call.
1444 --enable-sim-timebase Specify whether the PPC timebase is supported.
1445 --enable-sim-trace Specify whether tracing is supported.
1446 --enable-sim-warnings=opts Extra CFLAGS
for turning on compiler warnings except
for idecode.o
, semantics.o and psim.o
1447 --enable-sim-xor-endian=n Specify number bytes involved
in PowerPC XOR bi-endian mode
(default
8).
1448 --enable-plugins Enable support
for plugins
1451 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1452 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1453 --with-pkgversion=PKG Use PKG
in the version string
in place of
"GDB"
1454 --with-bugurl=URL Direct users to URL to report a bug
1455 --with-system-zlib use installed libz
1457 Some influential environment variables
:
1458 CC C compiler
command
1459 CFLAGS C compiler flags
1460 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1461 nonstandard directory
<lib dir
>
1462 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1463 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1464 you have headers
in a nonstandard directory
<include dir
>
1467 Use these variables to override the choices made by
`configure' or to help
1468 it to find libraries and programs with nonstandard names/locations.
1470 Report bugs to the package provider.
1475 if test "$ac_init_help" = "recursive"; then
1476 # If there are subdirs, report their specific --help.
1477 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1478 test -d "$ac_dir" ||
1479 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1484 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1486 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1487 # A ".." for each directory in $ac_dir_suffix.
1488 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1489 case $ac_top_builddir_sub in
1490 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1491 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1494 ac_abs_top_builddir=$ac_pwd
1495 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1496 # for backward compatibility:
1497 ac_top_builddir=$ac_top_build_prefix
1500 .) # We are building in place.
1502 ac_top_srcdir=$ac_top_builddir_sub
1503 ac_abs_top_srcdir=$ac_pwd ;;
1504 [\\/]* | ?:[\\/]* ) # Absolute name.
1505 ac_srcdir=$srcdir$ac_dir_suffix;
1506 ac_top_srcdir=$srcdir
1507 ac_abs_top_srcdir=$srcdir ;;
1509 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1510 ac_top_srcdir=$ac_top_build_prefix$srcdir
1511 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1513 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1515 cd "$ac_dir" || { ac_status=$?; continue; }
1516 # Check for guested configure.
1517 if test -f "$ac_srcdir/configure.gnu"; then
1519 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1520 elif test -f "$ac_srcdir/configure"; then
1522 $SHELL "$ac_srcdir/configure" --help=recursive
1524 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1526 cd "$ac_pwd" || { ac_status=$?; break; }
1530 test -n "$ac_init_help" && exit $ac_status
1531 if $ac_init_version; then
1534 generated by GNU Autoconf 2.69
1536 Copyright (C) 2012 Free Software Foundation, Inc.
1537 This configure script is free software; the Free Software Foundation
1538 gives unlimited permission to copy, distribute and modify it.
1543 ## ------------------------ ##
1544 ## Autoconf initialization. ##
1545 ## ------------------------ ##
1547 # ac_fn_c_try_compile LINENO
1548 # --------------------------
1549 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1550 ac_fn_c_try_compile ()
1552 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1553 rm -f conftest.$ac_objext
1554 if { { ac_try="$ac_compile"
1556 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1557 *) ac_try_echo
=$ac_try;;
1559 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1560 $as_echo "$ac_try_echo"; } >&5
1561 (eval "$ac_compile") 2>conftest.err
1563 if test -s conftest.err
; then
1564 grep -v '^ *+' conftest.err
>conftest.er1
1565 cat conftest.er1
>&5
1566 mv -f conftest.er1 conftest.err
1568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1569 test $ac_status = 0; } && {
1570 test -z "$ac_c_werror_flag" ||
1571 test ! -s conftest.err
1572 } && test -s conftest.
$ac_objext; then :
1575 $as_echo "$as_me: failed program was:" >&5
1576 sed 's/^/| /' conftest.
$ac_ext >&5
1580 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1581 as_fn_set_status
$ac_retval
1583 } # ac_fn_c_try_compile
1585 # ac_fn_c_try_run LINENO
1586 # ----------------------
1587 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1588 # that executables *can* be run.
1591 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1592 if { { ac_try
="$ac_link"
1594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1595 *) ac_try_echo=$ac_try;;
1597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1598 $as_echo "$ac_try_echo"; } >&5
1599 (eval "$ac_link") 2>&5
1601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1602 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1603 { { case "(($ac_try" in
1604 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1605 *) ac_try_echo
=$ac_try;;
1607 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1608 $as_echo "$ac_try_echo"; } >&5
1609 (eval "$ac_try") 2>&5
1611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1612 test $ac_status = 0; }; }; then :
1615 $as_echo "$as_me: program exited with status $ac_status" >&5
1616 $as_echo "$as_me: failed program was:" >&5
1617 sed 's/^/| /' conftest.
$ac_ext >&5
1619 ac_retval
=$ac_status
1621 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1622 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1623 as_fn_set_status
$ac_retval
1627 # ac_fn_c_try_cpp LINENO
1628 # ----------------------
1629 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1632 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1633 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1635 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1636 *) ac_try_echo=$ac_try;;
1638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1639 $as_echo "$ac_try_echo"; } >&5
1640 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1642 if test -s conftest.err; then
1643 grep -v '^ *+' conftest.err >conftest.er1
1644 cat conftest.er1 >&5
1645 mv -f conftest.er1 conftest.err
1647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1648 test $ac_status = 0; } > conftest.i && {
1649 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1650 test ! -s conftest.err
1654 $as_echo "$as_me: failed program was:" >&5
1655 sed 's/^/| /' conftest.$ac_ext >&5
1659 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1660 as_fn_set_status $ac_retval
1664 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1665 # -------------------------------------------------------
1666 # Tests whether HEADER exists and can be compiled using the include files in
1667 # INCLUDES, setting the cache variable VAR accordingly.
1668 ac_fn_c_check_header_compile ()
1670 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1672 $as_echo_n "checking for $2... " >&6; }
1673 if eval \${$3+:} false; then :
1674 $as_echo_n "(cached) " >&6
1676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1677 /* end confdefs.h. */
1681 if ac_fn_c_try_compile "$LINENO"; then :
1686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1690 $as_echo "$ac_res" >&6; }
1691 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1693 } # ac_fn_c_check_header_compile
1695 # ac_fn_c_try_link LINENO
1696 # -----------------------
1697 # Try to link conftest.$ac_ext, and return whether this succeeded.
1700 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701 rm -f conftest.$ac_objext conftest$ac_exeext
1702 if { { ac_try="$ac_link"
1704 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1705 *) ac_try_echo
=$ac_try;;
1707 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1708 $as_echo "$ac_try_echo"; } >&5
1709 (eval "$ac_link") 2>conftest.err
1711 if test -s conftest.err
; then
1712 grep -v '^ *+' conftest.err
>conftest.er1
1713 cat conftest.er1
>&5
1714 mv -f conftest.er1 conftest.err
1716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717 test $ac_status = 0; } && {
1718 test -z "$ac_c_werror_flag" ||
1719 test ! -s conftest.err
1720 } && test -s conftest
$ac_exeext && {
1721 test "$cross_compiling" = yes ||
1722 test -x conftest
$ac_exeext
1726 $as_echo "$as_me: failed program was:" >&5
1727 sed 's/^/| /' conftest.
$ac_ext >&5
1731 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1732 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1733 # interfere with the next link command; also delete a directory that is
1734 # left behind by Apple's compiler. We do this before executing the actions.
1735 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1736 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1737 as_fn_set_status
$ac_retval
1739 } # ac_fn_c_try_link
1741 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1742 # ----------------------------------------------------
1743 # Tries to find if the field MEMBER exists in type AGGR, after including
1744 # INCLUDES, setting cache variable VAR accordingly.
1745 ac_fn_c_check_member
()
1747 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1749 $as_echo_n "checking for $2.$3... " >&6; }
1750 if eval \
${$4+:} false
; then :
1751 $as_echo_n "(cached) " >&6
1753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1754 /* end confdefs.h. */
1766 if ac_fn_c_try_compile
"$LINENO"; then :
1769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1770 /* end confdefs.h. */
1776 if (sizeof ac_aggr.$3)
1782 if ac_fn_c_try_compile
"$LINENO"; then :
1787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1789 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1793 $as_echo "$ac_res" >&6; }
1794 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1796 } # ac_fn_c_check_member
1798 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1799 # ---------------------------------------------
1800 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1802 ac_fn_c_check_decl
()
1804 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1805 as_decl_name
=`echo $2|sed 's/ *(.*//'`
1806 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1808 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1809 if eval \
${$3+:} false
; then :
1810 $as_echo_n "(cached) " >&6
1812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1813 /* end confdefs.h. */
1818 #ifndef $as_decl_name
1820 (void) $as_decl_use;
1822 (void) $as_decl_name;
1830 if ac_fn_c_try_compile
"$LINENO"; then :
1835 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1839 $as_echo "$ac_res" >&6; }
1840 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1842 } # ac_fn_c_check_decl
1844 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1845 # -------------------------------------------
1846 # Tests whether TYPE exists after having included INCLUDES, setting cache
1847 # variable VAR accordingly.
1848 ac_fn_c_check_type
()
1850 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1852 $as_echo_n "checking for $2... " >&6; }
1853 if eval \
${$3+:} false
; then :
1854 $as_echo_n "(cached) " >&6
1857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1858 /* end confdefs.h. */
1869 if ac_fn_c_try_compile
"$LINENO"; then :
1870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1871 /* end confdefs.h. */
1882 if ac_fn_c_try_compile
"$LINENO"; then :
1887 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1889 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1893 $as_echo "$ac_res" >&6; }
1894 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1896 } # ac_fn_c_check_type
1898 # ac_fn_c_check_func LINENO FUNC VAR
1899 # ----------------------------------
1900 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1901 ac_fn_c_check_func
()
1903 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1905 $as_echo_n "checking for $2... " >&6; }
1906 if eval \
${$3+:} false
; then :
1907 $as_echo_n "(cached) " >&6
1909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1910 /* end confdefs.h. */
1911 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1913 #define $2 innocuous_$2
1915 /* System header to define __stub macros and hopefully few prototypes,
1916 which can conflict with char $2 (); below.
1917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1918 <limits.h> exists even on freestanding compilers. */
1921 # include <limits.h>
1923 # include <assert.h>
1928 /* Override any GCC internal prototype to avoid an error.
1929 Use char because int might match the return type of a GCC
1930 builtin and then its argument prototype would still apply. */
1935 /* The GNU C library defines this for functions which it implements
1936 to always fail with ENOSYS. Some functions are actually named
1937 something starting with __ and the normal name is an alias. */
1938 #if defined __stub_$2 || defined __stub___$2
1950 if ac_fn_c_try_link
"$LINENO"; then :
1955 rm -f core conftest.err conftest.
$ac_objext \
1956 conftest
$ac_exeext conftest.
$ac_ext
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1960 $as_echo "$ac_res" >&6; }
1961 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1963 } # ac_fn_c_check_func
1965 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1966 # -------------------------------------------------------
1967 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1968 # the include files in INCLUDES and setting the cache variable VAR
1970 ac_fn_c_check_header_mongrel
()
1972 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1973 if eval \
${$3+:} false
; then :
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1975 $as_echo_n "checking for $2... " >&6; }
1976 if eval \
${$3+:} false
; then :
1977 $as_echo_n "(cached) " >&6
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1981 $as_echo "$ac_res" >&6; }
1983 # Is the header compilable?
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1985 $as_echo_n "checking $2 usability... " >&6; }
1986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1987 /* end confdefs.h. */
1991 if ac_fn_c_try_compile
"$LINENO"; then :
1992 ac_header_compiler
=yes
1994 ac_header_compiler
=no
1996 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1998 $as_echo "$ac_header_compiler" >&6; }
2000 # Is the header present?
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2002 $as_echo_n "checking $2 presence... " >&6; }
2003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2004 /* end confdefs.h. */
2007 if ac_fn_c_try_cpp
"$LINENO"; then :
2008 ac_header_preproc
=yes
2010 ac_header_preproc
=no
2012 rm -f conftest.err conftest.i conftest.
$ac_ext
2013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2014 $as_echo "$ac_header_preproc" >&6; }
2016 # So? What about this header?
2017 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2020 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2022 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2026 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2028 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2030 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2032 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2034 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2038 $as_echo_n "checking for $2... " >&6; }
2039 if eval \
${$3+:} false
; then :
2040 $as_echo_n "(cached) " >&6
2042 eval "$3=\$ac_header_compiler"
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2046 $as_echo "$ac_res" >&6; }
2048 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2050 } # ac_fn_c_check_header_mongrel
2051 cat >config.log
<<_ACEOF
2052 This file contains any messages produced by compilers while
2053 running configure, to aid debugging if configure makes a mistake.
2055 It was created by $as_me, which was
2056 generated by GNU Autoconf 2.69. Invocation command line was
2068 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2069 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2070 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2071 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2072 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2074 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2075 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2077 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2078 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2079 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2080 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2081 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2082 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2083 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2091 test -z "$as_dir" && as_dir
=.
2092 $as_echo "PATH: $as_dir"
2108 # Keep a trace of the command line.
2109 # Strip out --no-create and --no-recursion so they do not pile up.
2110 # Strip out --silent because we don't want to record it for future runs.
2111 # Also quote any args containing shell meta-characters.
2112 # Make two passes to allow for proper duplicate-argument suppression.
2116 ac_must_keep_next
=false
2122 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2123 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2124 |
-silent |
--silent |
--silen |
--sile |
--sil)
2127 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2130 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2132 as_fn_append ac_configure_args1
" '$ac_arg'"
2133 if test $ac_must_keep_next = true
; then
2134 ac_must_keep_next
=false
# Got value, back to normal.
2137 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2138 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2139 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2140 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2141 case "$ac_configure_args0 " in
2142 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2145 -* ) ac_must_keep_next
=true
;;
2148 as_fn_append ac_configure_args
" '$ac_arg'"
2153 { ac_configure_args0
=; unset ac_configure_args0
;}
2154 { ac_configure_args1
=; unset ac_configure_args1
;}
2156 # When interrupted or exit'd, cleanup temporary files, and complete
2157 # config.log. We remove comments because anyway the quotes in there
2158 # would cause problems or look ugly.
2159 # WARNING: Use '\'' to represent an apostrophe within the trap.
2160 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2161 trap 'exit_status=$?
2162 # Save into config.log some information that might help in debugging.
2166 $as_echo "## ---------------- ##
2167 ## Cache variables. ##
2168 ## ---------------- ##"
2170 # The following way of writing the cache mishandles newlines in values,
2172 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2173 eval ac_val=\$$ac_var
2177 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2178 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2181 _ | IFS | as_nl) ;; #(
2182 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2183 *) { eval $ac_var=; unset $ac_var;} ;;
2188 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2189 *${as_nl}ac_space=\ *)
2191 "s/'\''/'\''\\\\'\'''\''/g;
2192 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2195 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2202 $as_echo "## ----------------- ##
2203 ## Output variables. ##
2204 ## ----------------- ##"
2206 for ac_var in $ac_subst_vars
2208 eval ac_val=\$$ac_var
2210 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2212 $as_echo "$ac_var='\''$ac_val'\''"
2216 if test -n "$ac_subst_files"; then
2217 $as_echo "## ------------------- ##
2218 ## File substitutions. ##
2219 ## ------------------- ##"
2221 for ac_var
in $ac_subst_files
2223 eval ac_val
=\$
$ac_var
2225 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2227 $as_echo "$ac_var='\''$ac_val'\''"
2232 if test -s confdefs.h; then
2233 $as_echo "## ----------- ##
2240 test "$ac_signal" != 0 &&
2241 $as_echo "$as_me: caught signal $ac_signal"
2242 $as_echo "$as_me: exit $exit_status"
2244 rm -f core *.core core.conftest.* &&
2245 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2248 for ac_signal
in 1 2 13 15; do
2249 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2253 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2254 rm -f -r conftest
* confdefs.h
2256 $as_echo "/* confdefs.h */" > confdefs.h
2258 # Predefined preprocessor variables.
2260 cat >>confdefs.h
<<_ACEOF
2261 #define PACKAGE_NAME "$PACKAGE_NAME"
2264 cat >>confdefs.h
<<_ACEOF
2265 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2268 cat >>confdefs.h
<<_ACEOF
2269 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2272 cat >>confdefs.h
<<_ACEOF
2273 #define PACKAGE_STRING "$PACKAGE_STRING"
2276 cat >>confdefs.h
<<_ACEOF
2277 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2280 cat >>confdefs.h
<<_ACEOF
2281 #define PACKAGE_URL "$PACKAGE_URL"
2285 # Let the site file select an alternate cache file if it wants to.
2286 # Prefer an explicitly selected file to automatically selected ones.
2289 if test -n "$CONFIG_SITE"; then
2290 # We do not want a PATH search for config.site.
2291 case $CONFIG_SITE in #((
2292 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2293 */*) ac_site_file1
=$CONFIG_SITE;;
2294 *) ac_site_file1
=.
/$CONFIG_SITE;;
2296 elif test "x$prefix" != xNONE
; then
2297 ac_site_file1
=$prefix/share
/config.site
2298 ac_site_file2
=$prefix/etc
/config.site
2300 ac_site_file1
=$ac_default_prefix/share
/config.site
2301 ac_site_file2
=$ac_default_prefix/etc
/config.site
2303 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2305 test "x$ac_site_file" = xNONE
&& continue
2306 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2308 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2309 sed 's/^/| /' "$ac_site_file" >&5
2311 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2312 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2313 as_fn_error $?
"failed to load site script $ac_site_file
2314 See \`config.log' for more details" "$LINENO" 5; }
2318 if test -r "$cache_file"; then
2319 # Some versions of bash will fail to source /dev/null (special files
2320 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2321 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2323 $as_echo "$as_me: loading cache $cache_file" >&6;}
2325 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2326 *) .
"./$cache_file";;
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2331 $as_echo "$as_me: creating cache $cache_file" >&6;}
2335 # Check that the precious variables saved in the cache have kept the same
2337 ac_cache_corrupted
=false
2338 for ac_var
in $ac_precious_vars; do
2339 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2340 eval ac_new_set
=\
$ac_env_${ac_var}_set
2341 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2342 eval ac_new_val
=\
$ac_env_${ac_var}_value
2343 case $ac_old_set,$ac_new_set in
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2346 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2347 ac_cache_corrupted
=: ;;
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2350 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2351 ac_cache_corrupted
=: ;;
2354 if test "x$ac_old_val" != "x$ac_new_val"; then
2355 # differences in whitespace do not lead to failure.
2356 ac_old_val_w
=`echo x $ac_old_val`
2357 ac_new_val_w
=`echo x $ac_new_val`
2358 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2360 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2361 ac_cache_corrupted
=:
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2364 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2365 eval $ac_var=\
$ac_old_val
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2368 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2370 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2373 # Pass precious variables to config.status.
2374 if test "$ac_new_set" = set; then
2376 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2377 *) ac_arg
=$ac_var=$ac_new_val ;;
2379 case " $ac_configure_args " in
2380 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2381 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2385 if $ac_cache_corrupted; then
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2387 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2389 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2390 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2392 ## -------------------- ##
2393 ## Main body of script. ##
2394 ## -------------------- ##
2397 ac_cpp
='$CPP $CPPFLAGS'
2398 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2399 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2400 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2403 # This file contains common code used by all simulators.
2405 # SIM_AC_COMMON invokes AC macros used by all simulators and by the common
2406 # directory. It is intended to be invoked before any target specific stuff.
2407 # SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate the Makefile.
2408 # It is intended to be invoked last.
2410 # The simulator's configure.ac should look like:
2412 # dnl Process this file with autoconf to produce a configure script.
2413 # AC_PREREQ(2.64)dnl
2414 # AC_INIT(Makefile.in)
2415 # sinclude(../common/aclocal.m4)
2419 # ... target specific stuff ...
2423 # Include global overrides and fixes for Autoconf.
2459 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
2461 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
2462 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
2463 # Written by Gordon Matzigkeit, 1996
2465 # This file is free software; the Free Software Foundation gives
2466 # unlimited permission to copy and/or distribute it, with or without
2467 # modifications, as long as this notice is preserved.
2474 # LT_PREREQ(VERSION)
2475 # ------------------
2476 # Complain and exit if this libtool version is less that VERSION.
2480 # _LT_CHECK_BUILDDIR
2481 # ------------------
2482 # Complain if the absolute build directory name contains unusual characters
2486 # LT_INIT([OPTIONS])
2487 # ------------------
2491 # This is what autoupdate's m4 run will expand. It fires
2492 # the warning (with _au_warn_XXX), outputs it into the
2493 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2494 # the replacement expansion.
2497 # This is an auxiliary macro that is also run when
2498 # autoupdate runs m4. It simply calls m4_warning, but
2499 # we need a wrapper so that each warning is emitted only
2500 # once. We break the quoting in m4_warning's argument in
2501 # order to expand this macro's arguments, not AU_DEFUN's.
2504 # Finally, this is the expansion that is picked up by
2505 # autoconf. It tells the user to run autoupdate, and
2506 # then outputs the replacement expansion. We do not care
2507 # about autoupdate's warning because that contains
2508 # information on what to do *after* running autoupdate.
2510 # This is what autoupdate's m4 run will expand. It fires
2511 # the warning (with _au_warn_XXX), outputs it into the
2512 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2513 # the replacement expansion.
2516 # This is an auxiliary macro that is also run when
2517 # autoupdate runs m4. It simply calls m4_warning, but
2518 # we need a wrapper so that each warning is emitted only
2519 # once. We break the quoting in m4_warning's argument in
2520 # order to expand this macro's arguments, not AU_DEFUN's.
2523 # Finally, this is the expansion that is picked up by
2524 # autoconf. It tells the user to run autoupdate, and
2525 # then outputs the replacement expansion. We do not care
2526 # about autoupdate's warning because that contains
2527 # information on what to do *after* running autoupdate.
2531 # _LT_CC_BASENAME(CC)
2532 # -------------------
2533 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
2537 # _LT_FILEUTILS_DEFAULTS
2538 # ----------------------
2539 # It is okay to use these file commands and assume they have been set
2540 # sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
2541 # _LT_FILEUTILS_DEFAULTS
2549 # _LT_PREPARE_SED_QUOTE_VARS
2550 # --------------------------
2551 # Define a few sed substitution that help us do robust quoting.
2556 # Note that this code is called both from `configure', and `config.status'
2557 # now that we use AC_CONFIG_COMMANDS to generate libtool. Notably,
2558 # `config.status' has no value for ac_aux_dir unless we are using Automake,
2559 # so we pass a copy along to make sure it has a sensible value anyway.
2563 ## ------------------------------------- ##
2564 ## Accumulate code for creating libtool. ##
2565 ## ------------------------------------- ##
2567 # So that we can recreate a full libtool script including additional
2568 # tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
2569 # in macros and then make a single call at the end using the `libtool'
2573 # _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
2574 # ----------------------------------------
2575 # Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
2582 # _LT_CONFIG_LIBTOOL([COMMANDS])
2583 # ------------------------------
2584 # Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
2591 # _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
2592 # -----------------------------------------------------
2596 # _LT_FORMAT_COMMENT([COMMENT])
2597 # -----------------------------
2598 # Add leading comment marks to the start of each line, and a trailing
2599 # full-stop to the whole comment if one is not present already.
2604 ## ------------------------ ##
2605 ## FIXME: Eliminate VARNAME ##
2606 ## ------------------------ ##
2609 # _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
2610 # -------------------------------------------------------------------
2611 # CONFIGNAME is the name given to the value in the libtool script.
2612 # VARNAME is the (base) name used in the configure script.
2613 # VALUE may be 0, 1 or 2 for a computed quote escaped value based on
2614 # VARNAME. Any other value will be used directly.
2618 # _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
2619 # --------------------------------------------------------
2623 # lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
2624 # ------------------------------------------------
2628 # _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
2629 # ---------------------------------------------------------
2633 # lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
2634 # --------------------------------------------------
2638 # lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
2639 # ---------------------------------------------------
2643 # lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
2644 # ---------------------------------------------------
2649 # lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
2650 # ------------------------------------------------
2655 # _LT_CONFIG_STATUS_DECLARE([VARNAME])
2656 # ------------------------------------
2657 # Quote a variable value, and forward it to `config.status' so that its
2658 # declaration there will have the same value as in `configure'. VARNAME
2659 # must have a single quote delimited value for this to work.
2663 # _LT_CONFIG_STATUS_DECLARATIONS
2664 # ------------------------------
2665 # We delimit libtool config variables with single quotes, so when
2666 # we write them to config.status, we have to be sure to quote all
2667 # embedded single quotes properly. In configure, this macro expands
2668 # each variable declared with _LT_DECL (and _LT_TAGDECL) into:
2670 # <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
2676 # Output comment and list of tags supported by the script
2680 # _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
2681 # -----------------------------------
2682 # Extract the dictionary values for VARNAME (optionally with TAG) and
2683 # expand to a commented shell variable setting:
2685 # # Some comment about what VAR is for.
2686 # visible_name=$lt_internal_name
2690 # _LT_LIBTOOL_CONFIG_VARS
2691 # -----------------------
2692 # Produce commented declarations of non-tagged libtool config variables
2693 # suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
2694 # script. Tagged libtool config variables (even for the LIBTOOL CONFIG
2695 # section) are produced by _LT_LIBTOOL_TAG_VARS.
2699 # _LT_LIBTOOL_TAG_VARS(TAG)
2700 # -------------------------
2704 # _LT_TAGVAR(VARNAME, [TAGNAME])
2705 # ------------------------------
2709 # _LT_CONFIG_COMMANDS
2710 # -------------------
2711 # Send accumulated output to $CONFIG_STATUS. Thanks to the lists of
2712 # variables for single and double quote escaping we saved from calls
2713 # to _LT_DECL, we can put quote escaped variables declarations
2714 # into `config.status', and then the shell code to quote escape them in
2715 # for loops in `config.status'. Finally, any additional code accumulated
2716 # from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
2717 #_LT_CONFIG_COMMANDS
2723 # _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
2724 # ------------------------------------
2725 # Generate a child script FILE with all initialization necessary to
2726 # reuse the environment learned by the parent script, and make the
2727 # file executable. If COMMENT is supplied, it is inserted after the
2728 # `#!' sequence but before initialization text begins. After this
2729 # macro, additional text can be appended to FILE to form the body of
2730 # the child script. The macro ends with non-zero status if the
2731 # file could not be fully written (such as if the disk is full).
2732 # _LT_GENERATED_FILE_INIT
2736 # This macro allows early generation of the libtool script (before
2737 # AC_OUTPUT is called), incase it is used in configure for compilation
2744 # If TAG is the built-in tag, create an initial libtool script with a
2745 # default configuration from the untagged config vars. Otherwise add code
2746 # to config.status for appending the configuration named by TAG from the
2747 # matching tagged config vars.
2751 # LT_SUPPORTED_TAG(TAG)
2752 # ---------------------
2753 # Trace this macro to discover what tags are supported by the libtool
2754 # --tag option, using:
2755 # autoconf --trace 'LT_SUPPORTED_TAG:$1'
2759 # C support is built-in for now
2766 # Enable libtool support for the given language if not already enabled.
2770 # _LT_LANG(LANGNAME)
2771 # ------------------
2775 # _LT_LANG_DEFAULT_CONFIG
2776 # -----------------------
2777 # _LT_LANG_DEFAULT_CONFIG
2780 # This is what autoupdate's m4 run will expand. It fires
2781 # the warning (with _au_warn_XXX), outputs it into the
2782 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2783 # the replacement expansion.
2786 # This is an auxiliary macro that is also run when
2787 # autoupdate runs m4. It simply calls m4_warning, but
2788 # we need a wrapper so that each warning is emitted only
2789 # once. We break the quoting in m4_warning's argument in
2790 # order to expand this macro's arguments, not AU_DEFUN's.
2793 # Finally, this is the expansion that is picked up by
2794 # autoconf. It tells the user to run autoupdate, and
2795 # then outputs the replacement expansion. We do not care
2796 # about autoupdate's warning because that contains
2797 # information on what to do *after* running autoupdate.
2799 # This is what autoupdate's m4 run will expand. It fires
2800 # the warning (with _au_warn_XXX), outputs it into the
2801 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2802 # the replacement expansion.
2805 # This is an auxiliary macro that is also run when
2806 # autoupdate runs m4. It simply calls m4_warning, but
2807 # we need a wrapper so that each warning is emitted only
2808 # once. We break the quoting in m4_warning's argument in
2809 # order to expand this macro's arguments, not AU_DEFUN's.
2812 # Finally, this is the expansion that is picked up by
2813 # autoconf. It tells the user to run autoupdate, and
2814 # then outputs the replacement expansion. We do not care
2815 # about autoupdate's warning because that contains
2816 # information on what to do *after* running autoupdate.
2818 # This is what autoupdate's m4 run will expand. It fires
2819 # the warning (with _au_warn_XXX), outputs it into the
2820 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2821 # the replacement expansion.
2824 # This is an auxiliary macro that is also run when
2825 # autoupdate runs m4. It simply calls m4_warning, but
2826 # we need a wrapper so that each warning is emitted only
2827 # once. We break the quoting in m4_warning's argument in
2828 # order to expand this macro's arguments, not AU_DEFUN's.
2831 # Finally, this is the expansion that is picked up by
2832 # autoconf. It tells the user to run autoupdate, and
2833 # then outputs the replacement expansion. We do not care
2834 # about autoupdate's warning because that contains
2835 # information on what to do *after* running autoupdate.
2837 # This is what autoupdate's m4 run will expand. It fires
2838 # the warning (with _au_warn_XXX), outputs it into the
2839 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2840 # the replacement expansion.
2843 # This is an auxiliary macro that is also run when
2844 # autoupdate runs m4. It simply calls m4_warning, but
2845 # we need a wrapper so that each warning is emitted only
2846 # once. We break the quoting in m4_warning's argument in
2847 # order to expand this macro's arguments, not AU_DEFUN's.
2850 # Finally, this is the expansion that is picked up by
2851 # autoconf. It tells the user to run autoupdate, and
2852 # then outputs the replacement expansion. We do not care
2853 # about autoupdate's warning because that contains
2854 # information on what to do *after* running autoupdate.
2856 # This is what autoupdate's m4 run will expand. It fires
2857 # the warning (with _au_warn_XXX), outputs it into the
2858 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2859 # the replacement expansion.
2862 # This is an auxiliary macro that is also run when
2863 # autoupdate runs m4. It simply calls m4_warning, but
2864 # we need a wrapper so that each warning is emitted only
2865 # once. We break the quoting in m4_warning's argument in
2866 # order to expand this macro's arguments, not AU_DEFUN's.
2869 # Finally, this is the expansion that is picked up by
2870 # autoconf. It tells the user to run autoupdate, and
2871 # then outputs the replacement expansion. We do not care
2872 # about autoupdate's warning because that contains
2873 # information on what to do *after* running autoupdate.
2882 # _LT_COMPILER_BOILERPLATE
2883 # ------------------------
2884 # Check for compiler boilerplate output or warnings with
2885 # the simple compiler test code.
2886 # _LT_COMPILER_BOILERPLATE
2889 # _LT_LINKER_BOILERPLATE
2890 # ----------------------
2891 # Check for linker boilerplate output or warnings with
2892 # the simple link test code.
2893 # _LT_LINKER_BOILERPLATE
2895 # _LT_REQUIRED_DARWIN_CHECKS
2896 # -------------------------
2900 # _LT_DARWIN_LINKER_FEATURES
2901 # --------------------------
2902 # Checks for linker and compiler features on darwin
2905 # _LT_SYS_MODULE_PATH_AIX
2906 # -----------------------
2907 # Links a minimal program and checks the executable
2908 # for the system default hardcoded library path. In most cases,
2909 # this is /usr/lib:/lib, but when the MPI compilers are used
2910 # the location of the communication and MPI libs are included too.
2911 # If we don't find anything, use the default library path according
2912 # to the aix ld manual.
2913 # _LT_SYS_MODULE_PATH_AIX
2916 # _LT_SHELL_INIT(ARG)
2917 # -------------------
2922 # _LT_PROG_ECHO_BACKSLASH
2923 # -----------------------
2924 # Find how we can fake an echo command that does not interpret backslash.
2925 # In particular, with Autoconf 2.60 or later we add some code to the start
2926 # of the generated configure script which will find a shell with a builtin
2927 # printf (which we can use as an echo command).
2928 # _LT_PROG_ECHO_BACKSLASH
2936 # _LT_CMD_OLD_ARCHIVE
2937 # -------------------
2938 # _LT_CMD_OLD_ARCHIVE
2941 # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
2942 # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
2943 # ----------------------------------------------------------------
2944 # Check whether the given compiler option works
2945 # _LT_COMPILER_OPTION
2948 # This is what autoupdate's m4 run will expand. It fires
2949 # the warning (with _au_warn_XXX), outputs it into the
2950 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2951 # the replacement expansion.
2954 # This is an auxiliary macro that is also run when
2955 # autoupdate runs m4. It simply calls m4_warning, but
2956 # we need a wrapper so that each warning is emitted only
2957 # once. We break the quoting in m4_warning's argument in
2958 # order to expand this macro's arguments, not AU_DEFUN's.
2961 # Finally, this is the expansion that is picked up by
2962 # autoconf. It tells the user to run autoupdate, and
2963 # then outputs the replacement expansion. We do not care
2964 # about autoupdate's warning because that contains
2965 # information on what to do *after* running autoupdate.
2969 # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
2970 # [ACTION-SUCCESS], [ACTION-FAILURE])
2971 # ----------------------------------------------------
2972 # Check whether the given linker option works
2976 # This is what autoupdate's m4 run will expand. It fires
2977 # the warning (with _au_warn_XXX), outputs it into the
2978 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2979 # the replacement expansion.
2982 # This is an auxiliary macro that is also run when
2983 # autoupdate runs m4. It simply calls m4_warning, but
2984 # we need a wrapper so that each warning is emitted only
2985 # once. We break the quoting in m4_warning's argument in
2986 # order to expand this macro's arguments, not AU_DEFUN's.
2989 # Finally, this is the expansion that is picked up by
2990 # autoconf. It tells the user to run autoupdate, and
2991 # then outputs the replacement expansion. We do not care
2992 # about autoupdate's warning because that contains
2993 # information on what to do *after* running autoupdate.
3002 # This is what autoupdate's m4 run will expand. It fires
3003 # the warning (with _au_warn_XXX), outputs it into the
3004 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3005 # the replacement expansion.
3008 # This is an auxiliary macro that is also run when
3009 # autoupdate runs m4. It simply calls m4_warning, but
3010 # we need a wrapper so that each warning is emitted only
3011 # once. We break the quoting in m4_warning's argument in
3012 # order to expand this macro's arguments, not AU_DEFUN's.
3015 # Finally, this is the expansion that is picked up by
3016 # autoconf. It tells the user to run autoupdate, and
3017 # then outputs the replacement expansion. We do not care
3018 # about autoupdate's warning because that contains
3019 # information on what to do *after* running autoupdate.
3028 # _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
3029 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
3030 # ----------------------------------------------------------------
3031 # _LT_TRY_DLOPEN_SELF
3034 # LT_SYS_DLOPEN_SELF
3035 # ------------------
3036 # LT_SYS_DLOPEN_SELF
3039 # This is what autoupdate's m4 run will expand. It fires
3040 # the warning (with _au_warn_XXX), outputs it into the
3041 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3042 # the replacement expansion.
3045 # This is an auxiliary macro that is also run when
3046 # autoupdate runs m4. It simply calls m4_warning, but
3047 # we need a wrapper so that each warning is emitted only
3048 # once. We break the quoting in m4_warning's argument in
3049 # order to expand this macro's arguments, not AU_DEFUN's.
3052 # Finally, this is the expansion that is picked up by
3053 # autoconf. It tells the user to run autoupdate, and
3054 # then outputs the replacement expansion. We do not care
3055 # about autoupdate's warning because that contains
3056 # information on what to do *after* running autoupdate.
3060 # _LT_COMPILER_C_O([TAGNAME])
3061 # ---------------------------
3062 # Check to see if options -c and -o are simultaneously supported by compiler.
3063 # This macro does not hard code the compiler like AC_PROG_CC_C_O.
3067 # _LT_COMPILER_FILE_LOCKS([TAGNAME])
3068 # ----------------------------------
3069 # Check to see if we can do hard links to lock some files if needed
3070 # _LT_COMPILER_FILE_LOCKS
3078 # _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
3079 # --------------------------------------
3080 # Check hardcoding attributes.
3081 # _LT_LINKER_HARDCODE_LIBPATH
3089 # _LT_SYS_DYNAMIC_LINKER([TAG])
3090 # -----------------------------
3091 # PORTME Fill in your ld.so characteristics
3092 # _LT_SYS_DYNAMIC_LINKER
3095 # _LT_PATH_TOOL_PREFIX(TOOL)
3096 # --------------------------
3097 # find a file program which can recognize shared library
3098 # _LT_PATH_TOOL_PREFIX
3101 # This is what autoupdate's m4 run will expand. It fires
3102 # the warning (with _au_warn_XXX), outputs it into the
3103 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3104 # the replacement expansion.
3107 # This is an auxiliary macro that is also run when
3108 # autoupdate runs m4. It simply calls m4_warning, but
3109 # we need a wrapper so that each warning is emitted only
3110 # once. We break the quoting in m4_warning's argument in
3111 # order to expand this macro's arguments, not AU_DEFUN's.
3114 # Finally, this is the expansion that is picked up by
3115 # autoconf. It tells the user to run autoupdate, and
3116 # then outputs the replacement expansion. We do not care
3117 # about autoupdate's warning because that contains
3118 # information on what to do *after* running autoupdate.
3124 # find a file program which can recognize a shared library
3130 # find the pathname to the GNU or non-GNU linker
3134 # This is what autoupdate's m4 run will expand. It fires
3135 # the warning (with _au_warn_XXX), outputs it into the
3136 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3137 # the replacement expansion.
3140 # This is an auxiliary macro that is also run when
3141 # autoupdate runs m4. It simply calls m4_warning, but
3142 # we need a wrapper so that each warning is emitted only
3143 # once. We break the quoting in m4_warning's argument in
3144 # order to expand this macro's arguments, not AU_DEFUN's.
3147 # Finally, this is the expansion that is picked up by
3148 # autoconf. It tells the user to run autoupdate, and
3149 # then outputs the replacement expansion. We do not care
3150 # about autoupdate's warning because that contains
3151 # information on what to do *after* running autoupdate.
3153 # This is what autoupdate's m4 run will expand. It fires
3154 # the warning (with _au_warn_XXX), outputs it into the
3155 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3156 # the replacement expansion.
3159 # This is an auxiliary macro that is also run when
3160 # autoupdate runs m4. It simply calls m4_warning, but
3161 # we need a wrapper so that each warning is emitted only
3162 # once. We break the quoting in m4_warning's argument in
3163 # order to expand this macro's arguments, not AU_DEFUN's.
3166 # Finally, this is the expansion that is picked up by
3167 # autoconf. It tells the user to run autoupdate, and
3168 # then outputs the replacement expansion. We do not care
3169 # about autoupdate's warning because that contains
3170 # information on what to do *after* running autoupdate.
3181 # find reload flag for linker
3182 # -- PORTME Some linkers may need a different reload flag.
3186 # _LT_CHECK_MAGIC_METHOD
3187 # ----------------------
3188 # how to check for library dependencies
3189 # -- PORTME fill in with the dynamic library characteristics
3190 # _LT_CHECK_MAGIC_METHOD
3195 # find the pathname to a BSD- or MS-compatible name lister
3199 # This is what autoupdate's m4 run will expand. It fires
3200 # the warning (with _au_warn_XXX), outputs it into the
3201 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3202 # the replacement expansion.
3205 # This is an auxiliary macro that is also run when
3206 # autoupdate runs m4. It simply calls m4_warning, but
3207 # we need a wrapper so that each warning is emitted only
3208 # once. We break the quoting in m4_warning's argument in
3209 # order to expand this macro's arguments, not AU_DEFUN's.
3212 # Finally, this is the expansion that is picked up by
3213 # autoconf. It tells the user to run autoupdate, and
3214 # then outputs the replacement expansion. We do not care
3215 # about autoupdate's warning because that contains
3216 # information on what to do *after* running autoupdate.
3218 # This is what autoupdate's m4 run will expand. It fires
3219 # the warning (with _au_warn_XXX), outputs it into the
3220 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3221 # the replacement expansion.
3224 # This is an auxiliary macro that is also run when
3225 # autoupdate runs m4. It simply calls m4_warning, but
3226 # we need a wrapper so that each warning is emitted only
3227 # once. We break the quoting in m4_warning's argument in
3228 # order to expand this macro's arguments, not AU_DEFUN's.
3231 # Finally, this is the expansion that is picked up by
3232 # autoconf. It tells the user to run autoupdate, and
3233 # then outputs the replacement expansion. We do not care
3234 # about autoupdate's warning because that contains
3235 # information on what to do *after* running autoupdate.
3241 # check for math library
3245 # This is what autoupdate's m4 run will expand. It fires
3246 # the warning (with _au_warn_XXX), outputs it into the
3247 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3248 # the replacement expansion.
3251 # This is an auxiliary macro that is also run when
3252 # autoupdate runs m4. It simply calls m4_warning, but
3253 # we need a wrapper so that each warning is emitted only
3254 # once. We break the quoting in m4_warning's argument in
3255 # order to expand this macro's arguments, not AU_DEFUN's.
3258 # Finally, this is the expansion that is picked up by
3259 # autoconf. It tells the user to run autoupdate, and
3260 # then outputs the replacement expansion. We do not care
3261 # about autoupdate's warning because that contains
3262 # information on what to do *after* running autoupdate.
3266 # _LT_COMPILER_NO_RTTI([TAGNAME])
3267 # -------------------------------
3268 # _LT_COMPILER_NO_RTTI
3271 # _LT_CMD_GLOBAL_SYMBOLS
3272 # ----------------------
3273 # _LT_CMD_GLOBAL_SYMBOLS
3276 # _LT_COMPILER_PIC([TAGNAME])
3277 # ---------------------------
3281 # _LT_LINKER_SHLIBS([TAGNAME])
3282 # ----------------------------
3283 # See if the linker supports building shared libraries.
3287 # _LT_LANG_C_CONFIG([TAG])
3288 # ------------------------
3289 # Ensure that the configuration variables for a C compiler are suitably
3290 # defined. These variables are subsequently used by _LT_CONFIG to write
3291 # the compiler configuration to `libtool'.
3295 # _LT_LANG_CXX_CONFIG([TAG])
3296 # --------------------------
3297 # Ensure that the configuration variables for a C++ compiler are suitably
3298 # defined. These variables are subsequently used by _LT_CONFIG to write
3299 # the compiler configuration to `libtool'.
3300 # _LT_LANG_CXX_CONFIG
3303 # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
3304 # ---------------------------------
3305 # Figure out "hidden" library dependencies from verbose
3306 # compiler output when linking a shared library.
3307 # Parse the compiler output and extract the necessary
3308 # objects, libraries and library flags.
3309 # _LT_SYS_HIDDEN_LIBDEPS
3312 # _LT_LANG_F77_CONFIG([TAG])
3313 # --------------------------
3314 # Ensure that the configuration variables for a Fortran 77 compiler are
3315 # suitably defined. These variables are subsequently used by _LT_CONFIG
3316 # to write the compiler configuration to `libtool'.
3317 # _LT_LANG_F77_CONFIG
3320 # _LT_LANG_FC_CONFIG([TAG])
3321 # -------------------------
3322 # Ensure that the configuration variables for a Fortran compiler are
3323 # suitably defined. These variables are subsequently used by _LT_CONFIG
3324 # to write the compiler configuration to `libtool'.
3325 # _LT_LANG_FC_CONFIG
3328 # _LT_LANG_GCJ_CONFIG([TAG])
3329 # --------------------------
3330 # Ensure that the configuration variables for the GNU Java Compiler compiler
3331 # are suitably defined. These variables are subsequently used by _LT_CONFIG
3332 # to write the compiler configuration to `libtool'.
3333 # _LT_LANG_GCJ_CONFIG
3336 # _LT_LANG_RC_CONFIG([TAG])
3337 # -------------------------
3338 # Ensure that the configuration variables for the Windows resource compiler
3339 # are suitably defined. These variables are subsequently used by _LT_CONFIG
3340 # to write the compiler configuration to `libtool'.
3341 # _LT_LANG_RC_CONFIG
3349 # This is what autoupdate's m4 run will expand. It fires
3350 # the warning (with _au_warn_XXX), outputs it into the
3351 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3352 # the replacement expansion.
3355 # This is an auxiliary macro that is also run when
3356 # autoupdate runs m4. It simply calls m4_warning, but
3357 # we need a wrapper so that each warning is emitted only
3358 # once. We break the quoting in m4_warning's argument in
3359 # order to expand this macro's arguments, not AU_DEFUN's.
3362 # Finally, this is the expansion that is picked up by
3363 # autoconf. It tells the user to run autoupdate, and
3364 # then outputs the replacement expansion. We do not care
3365 # about autoupdate's warning because that contains
3366 # information on what to do *after* running autoupdate.
3375 # This is what autoupdate's m4 run will expand. It fires
3376 # the warning (with _au_warn_XXX), outputs it into the
3377 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3378 # the replacement expansion.
3381 # This is an auxiliary macro that is also run when
3382 # autoupdate runs m4. It simply calls m4_warning, but
3383 # we need a wrapper so that each warning is emitted only
3384 # once. We break the quoting in m4_warning's argument in
3385 # order to expand this macro's arguments, not AU_DEFUN's.
3388 # Finally, this is the expansion that is picked up by
3389 # autoconf. It tells the user to run autoupdate, and
3390 # then outputs the replacement expansion. We do not care
3391 # about autoupdate's warning because that contains
3392 # information on what to do *after* running autoupdate.
3398 # If we don't have a new enough Autoconf to choose the best grep
3399 # available, choose the one first in the user's PATH.
3405 # If we don't have a new enough Autoconf to choose the best objdump
3406 # available, choose the one first in the user's PATH.
3412 # Check for a fully-functional sed program, that truncates
3413 # as few characters as possible. Prefer GNU sed if found.
3419 # This is what autoupdate's m4 run will expand. It fires
3420 # the warning (with _au_warn_XXX), outputs it into the
3421 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3422 # the replacement expansion.
3425 # This is an auxiliary macro that is also run when
3426 # autoupdate runs m4. It simply calls m4_warning, but
3427 # we need a wrapper so that each warning is emitted only
3428 # once. We break the quoting in m4_warning's argument in
3429 # order to expand this macro's arguments, not AU_DEFUN's.
3432 # Finally, this is the expansion that is picked up by
3433 # autoconf. It tells the user to run autoupdate, and
3434 # then outputs the replacement expansion. We do not care
3435 # about autoupdate's warning because that contains
3436 # information on what to do *after* running autoupdate.
3440 # _LT_CHECK_SHELL_FEATURES
3441 # ------------------------
3442 # Find out whether the shell is Bourne or XSI compatible,
3443 # or has some other useful features.
3444 # _LT_CHECK_SHELL_FEATURES
3447 # _LT_PROG_XSI_SHELLFNS
3448 # ---------------------
3449 # Bourne and XSI compatible variants of some useful shell functions.
3452 # Helper functions for option handling. -*- Autoconf -*-
3454 # Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation,
3456 # Written by Gary V. Vaughan, 2004
3458 # This file is free software; the Free Software Foundation gives
3459 # unlimited permission to copy and/or distribute it, with or without
3460 # modifications, as long as this notice is preserved.
3462 # serial 6 ltoptions.m4
3464 # This is to help aclocal find these macros, as it can't see m4_define.
3468 # _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
3469 # ------------------------------------------
3473 # _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
3474 # ---------------------------------------
3475 # Set option OPTION-NAME for macro MACRO-NAME, and if there is a
3476 # matching handler defined, dispatch to it. Other OPTION-NAMEs are
3481 # _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
3482 # ------------------------------------------------------------
3483 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
3487 # _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
3488 # -------------------------------------------------------
3489 # Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
3494 # _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
3495 # ----------------------------------------
3496 # OPTION-LIST is a space-separated list of Libtool options associated
3497 # with MACRO-NAME. If any OPTION has a matching handler declared with
3498 # LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
3499 # the unknown option and exit.
3503 ## --------------------------------- ##
3504 ## Macros to handle LT_INIT options. ##
3505 ## --------------------------------- ##
3507 # _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
3508 # -----------------------------------------
3512 # LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
3513 # -----------------------------------------------
3521 # This is what autoupdate's m4 run will expand. It fires
3522 # the warning (with _au_warn_XXX), outputs it into the
3523 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3524 # the replacement expansion.
3527 # This is an auxiliary macro that is also run when
3528 # autoupdate runs m4. It simply calls m4_warning, but
3529 # we need a wrapper so that each warning is emitted only
3530 # once. We break the quoting in m4_warning's argument in
3531 # order to expand this macro's arguments, not AU_DEFUN's.
3534 # Finally, this is the expansion that is picked up by
3535 # autoconf. It tells the user to run autoupdate, and
3536 # then outputs the replacement expansion. We do not care
3537 # about autoupdate's warning because that contains
3538 # information on what to do *after* running autoupdate.
3545 # Declare package support for building win32 dll's.
3548 # This is what autoupdate's m4 run will expand. It fires
3549 # the warning (with _au_warn_XXX), outputs it into the
3550 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3551 # the replacement expansion.
3554 # This is an auxiliary macro that is also run when
3555 # autoupdate runs m4. It simply calls m4_warning, but
3556 # we need a wrapper so that each warning is emitted only
3557 # once. We break the quoting in m4_warning's argument in
3558 # order to expand this macro's arguments, not AU_DEFUN's.
3561 # Finally, this is the expansion that is picked up by
3562 # autoconf. It tells the user to run autoupdate, and
3563 # then outputs the replacement expansion. We do not care
3564 # about autoupdate's warning because that contains
3565 # information on what to do *after* running autoupdate.
3570 # _LT_ENABLE_SHARED([DEFAULT])
3571 # ----------------------------
3572 # implement the --enable-shared flag, and supports the `shared' and
3573 # `disable-shared' LT_INIT options.
3574 # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
3585 # This is what autoupdate's m4 run will expand. It fires
3586 # the warning (with _au_warn_XXX), outputs it into the
3587 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3588 # the replacement expansion.
3591 # This is an auxiliary macro that is also run when
3592 # autoupdate runs m4. It simply calls m4_warning, but
3593 # we need a wrapper so that each warning is emitted only
3594 # once. We break the quoting in m4_warning's argument in
3595 # order to expand this macro's arguments, not AU_DEFUN's.
3598 # Finally, this is the expansion that is picked up by
3599 # autoconf. It tells the user to run autoupdate, and
3600 # then outputs the replacement expansion. We do not care
3601 # about autoupdate's warning because that contains
3602 # information on what to do *after* running autoupdate.
3604 # This is what autoupdate's m4 run will expand. It fires
3605 # the warning (with _au_warn_XXX), outputs it into the
3606 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3607 # the replacement expansion.
3610 # This is an auxiliary macro that is also run when
3611 # autoupdate runs m4. It simply calls m4_warning, but
3612 # we need a wrapper so that each warning is emitted only
3613 # once. We break the quoting in m4_warning's argument in
3614 # order to expand this macro's arguments, not AU_DEFUN's.
3617 # Finally, this is the expansion that is picked up by
3618 # autoconf. It tells the user to run autoupdate, and
3619 # then outputs the replacement expansion. We do not care
3620 # about autoupdate's warning because that contains
3621 # information on what to do *after* running autoupdate.
3627 # _LT_ENABLE_STATIC([DEFAULT])
3628 # ----------------------------
3629 # implement the --enable-static flag, and support the `static' and
3630 # `disable-static' LT_INIT options.
3631 # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
3642 # This is what autoupdate's m4 run will expand. It fires
3643 # the warning (with _au_warn_XXX), outputs it into the
3644 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3645 # the replacement expansion.
3648 # This is an auxiliary macro that is also run when
3649 # autoupdate runs m4. It simply calls m4_warning, but
3650 # we need a wrapper so that each warning is emitted only
3651 # once. We break the quoting in m4_warning's argument in
3652 # order to expand this macro's arguments, not AU_DEFUN's.
3655 # Finally, this is the expansion that is picked up by
3656 # autoconf. It tells the user to run autoupdate, and
3657 # then outputs the replacement expansion. We do not care
3658 # about autoupdate's warning because that contains
3659 # information on what to do *after* running autoupdate.
3661 # This is what autoupdate's m4 run will expand. It fires
3662 # the warning (with _au_warn_XXX), outputs it into the
3663 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3664 # the replacement expansion.
3667 # This is an auxiliary macro that is also run when
3668 # autoupdate runs m4. It simply calls m4_warning, but
3669 # we need a wrapper so that each warning is emitted only
3670 # once. We break the quoting in m4_warning's argument in
3671 # order to expand this macro's arguments, not AU_DEFUN's.
3674 # Finally, this is the expansion that is picked up by
3675 # autoconf. It tells the user to run autoupdate, and
3676 # then outputs the replacement expansion. We do not care
3677 # about autoupdate's warning because that contains
3678 # information on what to do *after* running autoupdate.
3684 # _LT_ENABLE_FAST_INSTALL([DEFAULT])
3685 # ----------------------------------
3686 # implement the --enable-fast-install flag, and support the `fast-install'
3687 # and `disable-fast-install' LT_INIT options.
3688 # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
3689 # _LT_ENABLE_FAST_INSTALL
3695 # This is what autoupdate's m4 run will expand. It fires
3696 # the warning (with _au_warn_XXX), outputs it into the
3697 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3698 # the replacement expansion.
3701 # This is an auxiliary macro that is also run when
3702 # autoupdate runs m4. It simply calls m4_warning, but
3703 # we need a wrapper so that each warning is emitted only
3704 # once. We break the quoting in m4_warning's argument in
3705 # order to expand this macro's arguments, not AU_DEFUN's.
3708 # Finally, this is the expansion that is picked up by
3709 # autoconf. It tells the user to run autoupdate, and
3710 # then outputs the replacement expansion. We do not care
3711 # about autoupdate's warning because that contains
3712 # information on what to do *after* running autoupdate.
3715 # This is what autoupdate's m4 run will expand. It fires
3716 # the warning (with _au_warn_XXX), outputs it into the
3717 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3718 # the replacement expansion.
3721 # This is an auxiliary macro that is also run when
3722 # autoupdate runs m4. It simply calls m4_warning, but
3723 # we need a wrapper so that each warning is emitted only
3724 # once. We break the quoting in m4_warning's argument in
3725 # order to expand this macro's arguments, not AU_DEFUN's.
3728 # Finally, this is the expansion that is picked up by
3729 # autoconf. It tells the user to run autoupdate, and
3730 # then outputs the replacement expansion. We do not care
3731 # about autoupdate's warning because that contains
3732 # information on what to do *after* running autoupdate.
3737 # _LT_WITH_PIC([MODE])
3738 # --------------------
3739 # implement the --with-pic flag, and support the `pic-only' and `no-pic'
3741 # MODE is either `yes' or `no'. If omitted, it defaults to `both'.
3748 # This is what autoupdate's m4 run will expand. It fires
3749 # the warning (with _au_warn_XXX), outputs it into the
3750 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3751 # the replacement expansion.
3754 # This is an auxiliary macro that is also run when
3755 # autoupdate runs m4. It simply calls m4_warning, but
3756 # we need a wrapper so that each warning is emitted only
3757 # once. We break the quoting in m4_warning's argument in
3758 # order to expand this macro's arguments, not AU_DEFUN's.
3761 # Finally, this is the expansion that is picked up by
3762 # autoconf. It tells the user to run autoupdate, and
3763 # then outputs the replacement expansion. We do not care
3764 # about autoupdate's warning because that contains
3765 # information on what to do *after* running autoupdate.
3769 ## ----------------- ##
3770 ## LTDL_INIT Options ##
3771 ## ----------------- ##
3782 # ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
3784 # Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
3785 # Written by Gary V. Vaughan, 2004
3787 # This file is free software; the Free Software Foundation gives
3788 # unlimited permission to copy and/or distribute it, with or without
3789 # modifications, as long as this notice is preserved.
3791 # serial 6 ltsugar.m4
3793 # This is to help aclocal find these macros, as it can't see m4_define.
3797 # lt_join(SEP, ARG1, [ARG2...])
3798 # -----------------------------
3799 # Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
3800 # associated separator.
3801 # Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
3802 # versions in m4sugar had bugs.
3810 # Manipulate m4 lists.
3811 # These macros are necessary as long as will still need to support
3812 # Autoconf-2.59 which quotes differently.
3818 # lt_append(MACRO-NAME, STRING, [SEPARATOR])
3819 # ------------------------------------------
3820 # Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
3821 # Note that neither SEPARATOR nor STRING are expanded; they are appended
3822 # to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
3823 # No SEPARATOR is output if MACRO-NAME was previously undefined (different
3824 # than defined and empty).
3826 # This macro is needed until we can rely on Autoconf 2.62, since earlier
3827 # versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
3832 # lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
3833 # ----------------------------------------------------------
3834 # Produce a SEP delimited list of all paired combinations of elements of
3835 # PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
3836 # has the form PREFIXmINFIXSUFFIXn.
3837 # Needed until we can rely on m4_combine added in Autoconf 2.62.
3841 # lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
3842 # -----------------------------------------------------------------------
3843 # Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
3844 # by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
3848 # lt_dict_add(DICT, KEY, VALUE)
3849 # -----------------------------
3853 # lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
3854 # --------------------------------------------
3858 # lt_dict_fetch(DICT, KEY, [SUBKEY])
3859 # ----------------------------------
3863 # lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
3864 # -----------------------------------------------------------------
3868 # lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
3869 # --------------------------------------------------------------
3872 # ltversion.m4 -- version numbers -*- Autoconf -*-
3874 # Copyright (C) 2004 Free Software Foundation, Inc.
3875 # Written by Scott James Remnant, 2004
3877 # This file is free software; the Free Software Foundation gives
3878 # unlimited permission to copy and/or distribute it, with or without
3879 # modifications, as long as this notice is preserved.
3881 # Generated from ltversion.in.
3883 # serial 3134 ltversion.m4
3884 # This file is part of GNU Libtool
3891 # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
3893 # Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
3894 # Written by Scott James Remnant, 2004.
3896 # This file is free software; the Free Software Foundation gives
3897 # unlimited permission to copy and/or distribute it, with or without
3898 # modifications, as long as this notice is preserved.
3900 # serial 4 lt~obsolete.m4
3902 # These exist entirely to fool aclocal when bootstrapping libtool.
3904 # In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
3905 # which have later been changed to m4_define as they aren't part of the
3906 # exported API, or moved to Autoconf or Automake where they belong.
3908 # The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN
3909 # in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
3910 # using a macro with the same name in our local m4/libtool.m4 it'll
3911 # pull the old libtool.m4 in (it doesn't see our shiny new m4_define
3912 # and doesn't know about Autoconf macros at all.)
3914 # So we provide this file, which has a silly filename so it's always
3915 # included after everything else. This provides aclocal with the
3916 # AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
3917 # because those macros already exist, or will be overwritten later.
3918 # We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
3920 # Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
3921 # Yes, that means every name once taken will need to remain here until
3922 # we give up compatibility with versions before 1.7, at which point
3923 # we need to keep only those names which we still refer to.
3925 # This is to help aclocal find these macros, as it can't see m4_define.
3992 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007
3993 # Free Software Foundation, Inc.
3995 # This file is free software; the Free Software Foundation
3996 # gives unlimited permission to copy and/or distribute it,
3997 # with or without modifications, as long as this notice is preserved.
4001 # Based on depend.m4 from automake 1.9, modified for standalone use in
4002 # an environment where GNU make is required.
4004 # ZW_PROG_COMPILER_DEPENDENCIES
4005 # -----------------------------
4006 # Variant of _AM_DEPENDENCIES which just does the dependency probe and
4007 # sets fooDEPMODE accordingly. Cache-variable compatible with
4008 # original; not side-effect compatible. As the users of this macro
4009 # may require accurate dependencies for correct builds, it does *not*
4010 # honor --disable-dependency-checking, and failure to detect a usable
4011 # method is an error. depcomp is assumed to be located in
4014 # FIXME: Should use the Autoconf 2.5x language-selection mechanism.
4020 # Choose a directory name for dependency files.
4025 # As AM_SET_DEPDIR, but also create the directory at config.status time.
4092 # intl sister-directory configuration rules.
4095 # The idea behind this macro is that there's no need to repeat all the
4096 # autoconf probes done by the intl directory - it's already done them
4097 # for us. In fact, there's no need even to look at the cache for the
4098 # answers. All we need to do is nab a few pieces of information.
4099 # The intl directory is set up to make this easy, by generating a
4100 # small file which can be sourced as a shell script; then we produce
4101 # the necessary substitutions and definitions for this directory.
4105 # Autoconf M4 include file defining utility macros for complex Canadian
4117 # _NCN_TOOL_PREFIXES: Some stuff that oughtta be done in AC_CANONICAL_SYSTEM
4119 # These demand that AC_CANONICAL_SYSTEM be called beforehand.
4122 # NCN_STRICT_CHECK_TOOLS(variable, progs-to-check-for,[value-if-not-found],[path])
4123 # Like plain AC_CHECK_TOOLS, but require prefix if build!=host.
4127 # NCN_STRICT_CHECK_TARGET_TOOLS(variable, progs-to-check-for,[value-if-not-found],[path])
4128 # Like CVS Autoconf AC_CHECK_TARGET_TOOLS, but require prefix if build!=target.
4132 # Backported from Autoconf 2.5x; can go away when and if
4133 # we switch. Put the OS path separator in $PATH_SEPARATOR.
4142 # ACX_HAVE_GCC_FOR_TARGET
4143 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
4146 # ACX_CHECK_INSTALLED_TARGET_TOOL(VAR, PROG)
4147 # Searching for installed target binutils. We need to take extra care,
4148 # else we may find the wrong assembler, linker, etc., and lose.
4150 # First try --with-build-time-tools, if specified.
4152 # For build != host, we ask the installed GCC for the name of the tool it
4153 # uses, and accept it if it is an absolute path. This is because the
4154 # only good choice for a compiler is the same GCC version that is being
4155 # installed (or we couldn't make target libraries), and we assume that
4156 # on the host system we'll have not only the same GCC version, but also
4157 # the same binutils version.
4159 # For build == host, search the same directories that the installed
4160 # compiler will search. We used to do this for the assembler, linker,
4161 # and nm only; for simplicity of configuration, however, we extend this
4162 # criterion to tools (such as ar and ranlib) that are never invoked by
4163 # the compiler, to avoid mismatches.
4165 # Also note we have to check MD_EXEC_PREFIX before checking the user's path
4166 # if build == target. This makes the most sense only when bootstrapping,
4167 # but we also do so when build != host. In this case, we hope that the
4168 # build and host systems will have similar contents of MD_EXEC_PREFIX.
4170 # If we do not find a suitable binary, then try the user's path.
4174 # AC_PROG_CPP_WERROR
4175 # Used for autoconf 2.5x to force AC_PREPROC_IFELSE to reject code which
4176 # triggers warnings from the preprocessor. Will be in autoconf 2.58.
4177 # For now, using this also overrides header checks to use only the
4178 # preprocessor (matches 2.13 behavior; matching 2.58's behavior is a
4179 # bit harder from here).
4180 # Eventually autoconf will default to checking headers with the compiler
4181 # instead, and we'll have to do this differently.
4183 # AC_PROG_CPP_WERROR
4186 # We require the gnatbind & gnatmake programs, as well as a compiler driver
4187 # that understands Ada. We use the user's CC setting, already found, and
4188 # possibly add $1 to the command-line parameters.
4190 # Sets the shell variable have_gnat to yes or no as appropriate, and
4191 # substitutes GNATBIND and GNATMAKE.
4218 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
4219 if test -f "$ac_dir/install-sh"; then
4221 ac_install_sh
="$ac_aux_dir/install-sh -c"
4223 elif test -f "$ac_dir/install.sh"; then
4225 ac_install_sh
="$ac_aux_dir/install.sh -c"
4227 elif test -f "$ac_dir/shtool"; then
4229 ac_install_sh
="$ac_aux_dir/shtool install -c"
4233 if test -z "$ac_aux_dir"; then
4234 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
4237 # These three variables are undocumented and unsupported,
4238 # and are intended to be withdrawn in a future Autoconf release.
4239 # They can cause serious problems if a builder's source tree is in a directory
4240 # whose full name contains unusual characters.
4241 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
4242 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
4243 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
4246 # Find a good install program. We prefer a C program (faster),
4247 # so one script is as good as another. But avoid the broken or
4248 # incompatible versions:
4249 # SysV /etc/install, /usr/sbin/install
4250 # SunOS /usr/etc/install
4251 # IRIX /sbin/install
4253 # AmigaOS /C/install, which installs bootblocks on floppy discs
4254 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4255 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4256 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4257 # OS/2's system install, which has a completely different semantic
4258 # ./install, which can be erroneously created by make from ./install.sh.
4259 # Reject install programs that cannot install multiple files.
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4261 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4262 if test -z "$INSTALL"; then
4263 if ${ac_cv_path_install+:} false
; then :
4264 $as_echo_n "(cached) " >&6
4266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4270 test -z "$as_dir" && as_dir
=.
4271 # Account for people who put trailing slashes in PATH elements.
4272 case $as_dir/ in #((
4273 .
/ | .
// |
/[cC
]/* | \
4274 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4275 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4278 # OSF1 and SCO ODT 3.0 have their own names for install.
4279 # Don't use installbsd from OSF since it installs stuff as root
4281 for ac_prog
in ginstall scoinst
install; do
4282 for ac_exec_ext
in '' $ac_executable_extensions; do
4283 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4284 if test $ac_prog = install &&
4285 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4286 # AIX install. It has an incompatible calling convention.
4288 elif test $ac_prog = install &&
4289 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4290 # program-specific install script used by HP pwplus--don't use.
4293 rm -rf conftest.one conftest.two conftest.dir
4294 echo one
> conftest.one
4295 echo two
> conftest.two
4297 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4298 test -s conftest.one
&& test -s conftest.two
&&
4299 test -s conftest.dir
/conftest.one
&&
4300 test -s conftest.dir
/conftest.two
4302 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4315 rm -rf conftest.one conftest.two conftest.dir
4318 if test "${ac_cv_path_install+set}" = set; then
4319 INSTALL
=$ac_cv_path_install
4321 # As a last resort, use the slow shell script. Don't cache a
4322 # value for INSTALL within a source directory, because that will
4323 # break other packages using the cache if that directory is
4324 # removed, or if the value is a relative name.
4325 INSTALL
=$ac_install_sh
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4329 $as_echo "$INSTALL" >&6; }
4331 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4332 # It thinks the first close brace ends the variable substitution.
4333 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4335 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4337 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4340 ac_cpp
='$CPP $CPPFLAGS'
4341 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4342 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4343 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4344 if test -n "$ac_tool_prefix"; then
4345 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4346 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4348 $as_echo_n "checking for $ac_word... " >&6; }
4349 if ${ac_cv_prog_CC+:} false
; then :
4350 $as_echo_n "(cached) " >&6
4352 if test -n "$CC"; then
4353 ac_cv_prog_CC
="$CC" # Let the user override the test.
4355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4359 test -z "$as_dir" && as_dir
=.
4360 for ac_exec_ext
in '' $ac_executable_extensions; do
4361 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4362 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4373 if test -n "$CC"; then
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4375 $as_echo "$CC" >&6; }
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4378 $as_echo "no" >&6; }
4383 if test -z "$ac_cv_prog_CC"; then
4385 # Extract the first word of "gcc", so it can be a program name with args.
4386 set dummy gcc
; ac_word
=$2
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4388 $as_echo_n "checking for $ac_word... " >&6; }
4389 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4390 $as_echo_n "(cached) " >&6
4392 if test -n "$ac_ct_CC"; then
4393 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4399 test -z "$as_dir" && as_dir
=.
4400 for ac_exec_ext
in '' $ac_executable_extensions; do
4401 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4402 ac_cv_prog_ac_ct_CC
="gcc"
4403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4412 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4413 if test -n "$ac_ct_CC"; then
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4415 $as_echo "$ac_ct_CC" >&6; }
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4418 $as_echo "no" >&6; }
4421 if test "x$ac_ct_CC" = x
; then
4424 case $cross_compiling:$ac_tool_warned in
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4427 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4428 ac_tool_warned
=yes ;;
4436 if test -z "$CC"; then
4437 if test -n "$ac_tool_prefix"; then
4438 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4439 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4441 $as_echo_n "checking for $ac_word... " >&6; }
4442 if ${ac_cv_prog_CC+:} false
; then :
4443 $as_echo_n "(cached) " >&6
4445 if test -n "$CC"; then
4446 ac_cv_prog_CC
="$CC" # Let the user override the test.
4448 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4452 test -z "$as_dir" && as_dir
=.
4453 for ac_exec_ext
in '' $ac_executable_extensions; do
4454 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4455 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4466 if test -n "$CC"; then
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4468 $as_echo "$CC" >&6; }
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4471 $as_echo "no" >&6; }
4477 if test -z "$CC"; then
4478 # Extract the first word of "cc", so it can be a program name with args.
4479 set dummy cc
; ac_word
=$2
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4481 $as_echo_n "checking for $ac_word... " >&6; }
4482 if ${ac_cv_prog_CC+:} false
; then :
4483 $as_echo_n "(cached) " >&6
4485 if test -n "$CC"; then
4486 ac_cv_prog_CC
="$CC" # Let the user override the test.
4489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4493 test -z "$as_dir" && as_dir
=.
4494 for ac_exec_ext
in '' $ac_executable_extensions; do
4495 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4496 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4497 ac_prog_rejected
=yes
4501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4508 if test $ac_prog_rejected = yes; then
4509 # We found a bogon in the path, so make sure we never use it.
4510 set dummy
$ac_cv_prog_CC
4512 if test $# != 0; then
4513 # We chose a different compiler from the bogus one.
4514 # However, it has the same basename, so the bogon will be chosen
4515 # first if we set CC to just the basename; use the full file name.
4517 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4523 if test -n "$CC"; then
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4525 $as_echo "$CC" >&6; }
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4528 $as_echo "no" >&6; }
4533 if test -z "$CC"; then
4534 if test -n "$ac_tool_prefix"; then
4535 for ac_prog
in cl.exe
4537 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4538 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4540 $as_echo_n "checking for $ac_word... " >&6; }
4541 if ${ac_cv_prog_CC+:} false
; then :
4542 $as_echo_n "(cached) " >&6
4544 if test -n "$CC"; then
4545 ac_cv_prog_CC
="$CC" # Let the user override the test.
4547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4551 test -z "$as_dir" && as_dir
=.
4552 for ac_exec_ext
in '' $ac_executable_extensions; do
4553 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4554 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4565 if test -n "$CC"; then
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4567 $as_echo "$CC" >&6; }
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4570 $as_echo "no" >&6; }
4574 test -n "$CC" && break
4577 if test -z "$CC"; then
4579 for ac_prog
in cl.exe
4581 # Extract the first word of "$ac_prog", so it can be a program name with args.
4582 set dummy
$ac_prog; ac_word
=$2
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4584 $as_echo_n "checking for $ac_word... " >&6; }
4585 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4586 $as_echo_n "(cached) " >&6
4588 if test -n "$ac_ct_CC"; then
4589 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4595 test -z "$as_dir" && as_dir
=.
4596 for ac_exec_ext
in '' $ac_executable_extensions; do
4597 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4598 ac_cv_prog_ac_ct_CC
="$ac_prog"
4599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4608 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4609 if test -n "$ac_ct_CC"; then
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4611 $as_echo "$ac_ct_CC" >&6; }
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4614 $as_echo "no" >&6; }
4618 test -n "$ac_ct_CC" && break
4621 if test "x$ac_ct_CC" = x
; then
4624 case $cross_compiling:$ac_tool_warned in
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4628 ac_tool_warned
=yes ;;
4637 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4639 as_fn_error $?
"no acceptable C compiler found in \$PATH
4640 See \`config.log' for more details" "$LINENO" 5; }
4642 # Provide some information about the compiler.
4643 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4646 for ac_option
in --version -v -V -qversion; do
4647 { { ac_try
="$ac_compiler $ac_option >&5"
4649 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4650 *) ac_try_echo=$ac_try;;
4652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4653 $as_echo "$ac_try_echo"; } >&5
4654 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4656 if test -s conftest.err; then
4658 ... rest of stderr output deleted ...
4659 10q' conftest.err >conftest.er1
4660 cat conftest.er1 >&5
4662 rm -f conftest.er1 conftest.err
4663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4664 test $ac_status = 0; }
4667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4668 /* end confdefs.h. */
4678 ac_clean_files_save=$ac_clean_files
4679 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4680 # Try to create an executable without -o first, disregard a.out.
4681 # It will help us diagnose broken compilers, and finding out an intuition
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4684 $as_echo_n "checking whether the C compiler works... " >&6; }
4685 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4687 # The possible output files:
4688 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4691 for ac_file in $ac_files
4694 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4695 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4700 if { { ac_try="$ac_link_default"
4702 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4703 *) ac_try_echo
=$ac_try;;
4705 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4706 $as_echo "$ac_try_echo"; } >&5
4707 (eval "$ac_link_default") 2>&5
4709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4710 test $ac_status = 0; }; then :
4711 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4712 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4713 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4714 # so that the user can short-circuit this test for compilers unknown to
4716 for ac_file
in $ac_files ''
4718 test -f "$ac_file" ||
continue
4720 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4723 # We found the default executable, but exeext='' is most
4727 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4729 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4731 # We set ac_cv_exeext here because the later test for it is not
4732 # safe: cross compilers may not add the suffix if given an `-o'
4733 # argument, so we may need to know it at that point already.
4734 # Even if this section looks crufty: it has the advantage of
4741 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4746 if test -z "$ac_file"; then :
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4748 $as_echo "no" >&6; }
4749 $as_echo "$as_me: failed program was:" >&5
4750 sed 's/^/| /' conftest.
$ac_ext >&5
4752 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4753 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4754 as_fn_error
77 "C compiler cannot create executables
4755 See \`config.log' for more details" "$LINENO" 5; }
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4758 $as_echo "yes" >&6; }
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4761 $as_echo_n "checking for C compiler default output file name... " >&6; }
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4763 $as_echo "$ac_file" >&6; }
4764 ac_exeext
=$ac_cv_exeext
4766 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4767 ac_clean_files
=$ac_clean_files_save
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4769 $as_echo_n "checking for suffix of executables... " >&6; }
4770 if { { ac_try
="$ac_link"
4772 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4773 *) ac_try_echo=$ac_try;;
4775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4776 $as_echo "$ac_try_echo"; } >&5
4777 (eval "$ac_link") 2>&5
4779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4780 test $ac_status = 0; }; then :
4781 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4782 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4783 # work properly (i.e., refer to `conftest.exe'), while it won't with
4785 for ac_file
in conftest.exe conftest conftest.
*; do
4786 test -f "$ac_file" ||
continue
4788 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4789 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4795 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4796 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4797 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4798 See \`config.log' for more details" "$LINENO" 5; }
4800 rm -f conftest conftest
$ac_cv_exeext
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4802 $as_echo "$ac_cv_exeext" >&6; }
4804 rm -f conftest.
$ac_ext
4805 EXEEXT
=$ac_cv_exeext
4807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4808 /* end confdefs.h. */
4813 FILE *f = fopen ("conftest.out", "w");
4814 return ferror (f) || fclose (f) != 0;
4820 ac_clean_files
="$ac_clean_files conftest.out"
4821 # Check that the compiler produces executables we can run. If not, either
4822 # the compiler is broken, or we cross compile.
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4824 $as_echo_n "checking whether we are cross compiling... " >&6; }
4825 if test "$cross_compiling" != yes; then
4826 { { ac_try
="$ac_link"
4828 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4829 *) ac_try_echo=$ac_try;;
4831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4832 $as_echo "$ac_try_echo"; } >&5
4833 (eval "$ac_link") 2>&5
4835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4836 test $ac_status = 0; }
4837 if { ac_try='./conftest$ac_cv_exeext'
4838 { { case "(($ac_try" in
4839 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4840 *) ac_try_echo
=$ac_try;;
4842 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4843 $as_echo "$ac_try_echo"; } >&5
4844 (eval "$ac_try") 2>&5
4846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4847 test $ac_status = 0; }; }; then
4850 if test "$cross_compiling" = maybe
; then
4853 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4854 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4855 as_fn_error $?
"cannot run C compiled programs.
4856 If you meant to cross compile, use \`--host'.
4857 See \`config.log' for more details" "$LINENO" 5; }
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4862 $as_echo "$cross_compiling" >&6; }
4864 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4865 ac_clean_files
=$ac_clean_files_save
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4867 $as_echo_n "checking for suffix of object files... " >&6; }
4868 if ${ac_cv_objext+:} false
; then :
4869 $as_echo_n "(cached) " >&6
4871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4872 /* end confdefs.h. */
4882 rm -f conftest.o conftest.obj
4883 if { { ac_try
="$ac_compile"
4885 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4886 *) ac_try_echo=$ac_try;;
4888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4889 $as_echo "$ac_try_echo"; } >&5
4890 (eval "$ac_compile") 2>&5
4892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4893 test $ac_status = 0; }; then :
4894 for ac_file in conftest.o conftest.obj conftest.*; do
4895 test -f "$ac_file" || continue;
4897 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4898 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4903 $as_echo "$as_me: failed program was:" >&5
4904 sed 's/^/| /' conftest.$ac_ext >&5
4906 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4907 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4908 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4909 See \
`config.log' for more details" "$LINENO" 5; }
4911 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4914 $as_echo "$ac_cv_objext" >&6; }
4915 OBJEXT=$ac_cv_objext
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4918 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4919 if ${ac_cv_c_compiler_gnu+:} false; then :
4920 $as_echo_n "(cached) " >&6
4922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4923 /* end confdefs.h. */
4936 if ac_fn_c_try_compile "$LINENO"; then :
4941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4942 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4946 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4947 if test $ac_compiler_gnu = yes; then
4952 ac_test_CFLAGS=${CFLAGS+set}
4953 ac_save_CFLAGS=$CFLAGS
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4955 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4956 if ${ac_cv_prog_cc_g+:} false; then :
4957 $as_echo_n "(cached) " >&6
4959 ac_save_c_werror_flag=$ac_c_werror_flag
4960 ac_c_werror_flag=yes
4963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4964 /* end confdefs.h. */
4974 if ac_fn_c_try_compile "$LINENO"; then :
4978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4979 /* end confdefs.h. */
4989 if ac_fn_c_try_compile "$LINENO"; then :
4992 ac_c_werror_flag=$ac_save_c_werror_flag
4994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4995 /* end confdefs.h. */
5005 if ac_fn_c_try_compile "$LINENO"; then :
5008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5013 ac_c_werror_flag=$ac_save_c_werror_flag
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5016 $as_echo "$ac_cv_prog_cc_g" >&6; }
5017 if test "$ac_test_CFLAGS" = set; then
5018 CFLAGS=$ac_save_CFLAGS
5019 elif test $ac_cv_prog_cc_g = yes; then
5020 if test "$GCC" = yes; then
5026 if test "$GCC" = yes; then
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5033 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5034 if ${ac_cv_prog_cc_c89+:} false; then :
5035 $as_echo_n "(cached) " >&6
5037 ac_cv_prog_cc_c89=no
5039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5040 /* end confdefs.h. */
5044 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5045 struct buf { int x; };
5046 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5047 static char *e (p, i)
5053 static char *f (char * (*g) (char **, int), char **p, ...)
5058 s = g (p, va_arg (v,int));
5063 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5064 function prototypes and stuff, but not '\xHH' hex character constants.
5065 These don't provoke an error unfortunately, instead are silently treated
5066 as 'x'. The following induces an error, until -std is added to get
5067 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5068 array size at least. It's necessary to write '\x00'==0 to get something
5069 that's true only with -std. */
5070 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5072 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5073 inside strings and character constants. */
5075 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5077 int test (int i, double x);
5078 struct s1 {int (*f) (int a);};
5079 struct s2 {int (*f) (double a);};
5080 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5086 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5091 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5092 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5094 CC="$ac_save_CC $ac_arg"
5095 if ac_fn_c_try_compile "$LINENO"; then :
5096 ac_cv_prog_cc_c89=$ac_arg
5098 rm -f core conftest.err conftest.$ac_objext
5099 test "x$ac_cv_prog_cc_c89" != "xno" && break
5101 rm -f conftest.$ac_ext
5106 case "x$ac_cv_prog_cc_c89" in
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5109 $as_echo "none needed" >&6; } ;;
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5112 $as_echo "unsupported" >&6; } ;;
5114 CC="$CC $ac_cv_prog_cc_c89"
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5116 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5118 if test "x$ac_cv_prog_cc_c89" != xno; then :
5123 ac_cpp='$CPP $CPPFLAGS'
5124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5129 # Put a plausible default for CC_FOR_BUILD in Makefile.
5130 if test "x$cross_compiling" = "xno"; then
5131 CC_FOR_BUILD='$(CC)'
5135 CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
5138 # If we haven't got the data from the intl directory,
5139 # assume NLS is disabled.
5148 if test -f ../../intl/config.intl; then
5149 . ../../intl/config.intl
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5152 $as_echo_n "checking whether NLS is requested... " >&6; }
5153 if test x"$USE_NLS" != xyes; then
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5155 $as_echo "no" >&6; }
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5158 $as_echo "yes" >&6; }
5160 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
5164 $as_echo_n "checking for catalogs to be installed... " >&6; }
5165 # Look for .po and .gmo files in the source directory.
5168 for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
5169 # If there aren't any .gmo files the shell will give us the
5170 # literal string "../path/to/srcdir/po/*.gmo" which has to be
5172 case "$cat" in *\**)
5175 # The quadruple backslash is collapsed to a double backslash
5176 # by the backticks, then collapsed again by the double quotes,
5177 # leaving us with one backslash in the sed expression (right
5178 # before the dot that mustn't act as a wildcard).
5179 cat=`echo $cat |
sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
5180 lang=`echo $cat |
sed -e "s!\\\\.gmo!!"`
5181 # The user is allowed to set LINGUAS to a list of languages to
5182 # install catalogs for. If it's empty that means "all of them."
5183 if test "x$LINGUAS" = x; then
5184 CATALOGS="$CATALOGS $cat"
5185 XLINGUAS="$XLINGUAS $lang"
5187 case "$LINGUAS" in *$lang*)
5188 CATALOGS="$CATALOGS $cat"
5189 XLINGUAS="$XLINGUAS $lang"
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
5196 $as_echo "$LINGUAS" >&6; }
5210 # Check whether --enable-sim-alignment was given.
5211 if test "${enable_sim_alignment+set}" = set; then :
5212 enableval=$enable_sim_alignment; case "${enableval}" in
5213 yes | strict | STRICT) sim_alignment="-DWITH_ALIGNMENT=STRICT_ALIGNMENT";;
5214 no | nonstrict | NONSTRICT) sim_alignment="-DWITH_ALIGNMENT=NONSTRICT_ALIGNMENT";;
5215 0 | default | DEFAULT) sim_alignment="-DWITH_ALIGNMENT=0";;
5216 *) as_fn_error $? "\"Unknown value $enableval passed to --enable-sim-alignment\"" "$LINENO" 5; sim_alignment="";;
5218 if test x"$silent" != x"yes" && test x"$sim_alignment" != x""; then
5219 echo "Setting alignment flags = $sim_alignment" 6>&1
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable sim asserts" >&5
5227 $as_echo_n "checking whether to enable sim asserts... " >&6; }
5229 # Check whether --enable-sim-assert was given.
5230 if test "${enable_sim_assert+set}" = set; then :
5231 enableval=$enable_sim_assert; case "${enableval}" in
5232 yes) sim_assert="1";;
5233 no) sim_assert="0";;
5234 *) as_fn_error $? "--enable-sim-assert does not take a value" "$LINENO" 5;;
5238 cat >>confdefs.h <<_ACEOF
5239 #define WITH_ASSERT $sim_assert
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_assert" >&5
5243 $as_echo "$sim_assert" >&6; }
5246 # Check whether --enable-sim-bitsize was given.
5247 if test "${enable_sim_bitsize+set}" = set; then :
5248 enableval=$enable_sim_bitsize; case "${enableval}" in
5249 32|64) sim_bitsize="-DWITH_TARGET_WORD_BITSIZE=$enableval";;
5250 *) as_fn_error $? "\"--enable-sim-bitsize was given $enableval. Expected 32 or 64\"" "$LINENO" 5; sim_bitsize="";;
5252 if test x"$silent" != x"yes" && test x"$sim_bitsize" != x""; then
5253 echo "Setting bitsize flags = $sim_bitsize" 6>&1
5260 # Check whether --enable-sim-config was given.
5261 if test "${enable_sim_config+set}" = set; then :
5262 enableval=$enable_sim_config; case "${enableval}" in
5263 yes|no) as_fn_error $? "\"No value supplied for --enable-sim-config=file\"" "$LINENO" 5;;
5264 *) if test -f "${srcdir}/${enableval}"; then
5265 sim_config="${enableval}";
5266 elif test -f "${srcdir}/${enableval}-config.h"; then
5267 sim_config="${enableval}-config.h"
5269 as_fn_error $? "\"Config file $enableval was not found\"" "$LINENO" 5;
5270 sim_config=std-config.h
5273 if test x"$silent" != x"yes" && test x"$sim_config" != x""; then
5274 echo "Setting config flags = $sim_config" 6>&1
5277 sim_config="std-config.h"
5278 if test x"$silent" != x"yes"; then
5279 echo "Setting config flags = $sim_config" 6>&1
5284 # Check whether --enable-sim-decode-mechanism was given.
5285 if test "${enable_sim_decode_mechanism+set}" = set; then :
5286 enableval=$enable_sim_decode_mechanism; case "${enableval}" in
5287 yes|no) as_fn_error $? "\"No value supplied for --enable-sim-decode-mechanism=file\"" "$LINENO" 5;;
5288 array|switch|padded-switch|goto-switch) sim_decode_mechanism="-T ${enableval}";;
5289 *) as_fn_error $? "\"File $enableval is not an opcode rules file\"" "$LINENO" 5;
5290 sim_decode_mechanism="switch";;
5292 if test x"$silent" != x"yes" && test x"$sim_decode_mechanism" != x""; then
5293 echo "Setting decode mechanism flags = $sim_decode_mechanism" 6>&1
5296 sim_decode_mechanism=""
5297 if test x"$silent" != x"yes"; then
5298 echo "Setting decode mechanism flags = $sim_decode_mechanism"
5303 # Check whether --enable-sim-default-model was given.
5304 if test "${enable_sim_default_model+set}" = set; then :
5305 enableval=$enable_sim_default_model; case "${enableval}" in
5306 yes|no) as_fn_error $? "\"No value supplied for --enable-sim-default-model=model\"" "$LINENO" 5;;
5307 *) sim_default_model="-DWITH_DEFAULT_MODEL=${enableval}";;
5309 if test x"$silent" != x"yes" && test x"$sim_default_model" != x""; then
5310 echo "Setting default-model flags = $sim_default_model" 6>&1
5313 sim_default_model=""
5317 # Check whether --enable-sim-duplicate was given.
5318 if test "${enable_sim_duplicate+set}" = set; then :
5319 enableval=$enable_sim_duplicate; case "${enableval}" in
5322 *) as_fn_error $? "\"--enable-sim-duplicate does not take a value\"" "$LINENO" 5; sim_dup="";;
5324 if test x"$silent" != x"yes" && test x"$sim_dup" != x""; then
5325 echo "Setting duplicate flags = $sim_dup" 6>&1
5329 if test x"$silent" != x"yes"; then
5330 echo "Setting duplicate flags = $sim_dup" 6>&1
5335 # Check whether --enable-sim-endian was given.
5336 if test "${enable_sim_endian+set}" = set; then :
5337 enableval=$enable_sim_endian; case "${enableval}" in
5338 yes) case "$target" in
5339 *powerpc-*) sim_endian="-DWITH_TARGET_BYTE_ORDER=BIG_ENDIAN";;
5340 *powerpcle-*) sim_endian="-DWITH_TARGET_BYTE_ORDER=LITTLE_ENDIAN";;
5341 *) echo "Unknown target $target" 1>&6; sim_endian="-DWITH_TARGET_BYTE_ORDER=0";;
5343 no) sim_endian="-DWITH_TARGET_BYTE_ORDER=0";;
5344 b*|B*) sim_endian="-DWITH_TARGET_BYTE_ORDER=BIG_ENDIAN";;
5345 l*|L*) sim_endian="-DWITH_TARGET_BYTE_ORDER=LITTLE_ENDIAN";;
5346 *) as_fn_error $? "\"Unknown value $enableval for --enable-sim-endian\"" "$LINENO" 5; sim_endian="";;
5348 if test x"$silent" != x"yes" && test x"$sim_endian" != x""; then
5349 echo "Setting endian flags = $sim_endian" 6>&1
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default sim environment setting" >&5
5357 $as_echo_n "checking default sim environment setting... " >&6; }
5359 # Check whether --enable-sim-env was given.
5360 if test "${enable_sim_env+set}" = set; then :
5361 enableval=$enable_sim_env; case "${enableval}" in
5362 operating | os | oea) sim_env="OPERATING_ENVIRONMENT";;
5363 virtual | vea) sim_env="VIRTUAL_ENVIRONMENT";;
5364 user | uea) sim_env="USER_ENVIRONMENT";;
5366 *) as_fn_error $? "Unknown value $enableval passed to --enable-sim-env" "$LINENO" 5;;
5370 cat >>confdefs.h <<_ACEOF
5371 #define WITH_ENVIRONMENT $sim_env
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_env" >&5
5375 $as_echo "$sim_env" >&6; }
5378 # Check whether --enable-sim-filter was given.
5379 if test "${enable_sim_filter+set}" = set; then :
5380 enableval=$enable_sim_filter; case "${enableval}" in
5381 yes) as_fn_error $? "\"--enable-sim-filter must be specified with a rule to filter or no\"" "$LINENO" 5; sim_filter="";;
5383 *) sim_filter="-F $enableval";;
5385 if test x"$silent" != x"yes" && test x"$sim_filter" != x""; then
5386 echo "Setting filter flags = $sim_filter" 6>&1
5389 sim_filter="-F 32,f,o"
5390 if test x"$silent" != x"yes"; then
5391 echo "Setting filter flags = $sim_filter" 6>&1
5396 # Check whether --enable-sim-float was given.
5397 if test "${enable_sim_float+set}" = set; then :
5398 enableval=$enable_sim_float; case "${enableval}" in
5399 yes | hard) sim_float="-DWITH_FLOATING_POINT=HARD_FLOATING_POINT";;
5400 no | soft) sim_float="-DWITH_FLOATING_POINT=SOFT_FLOATING_POINT";;
5401 altivec) sim_float="-DWITH_ALTIVEC" ; sim_filter="${sim_filter},av" ;;
5402 *spe*|*simd*) sim_float="-DWITH_E500" ; sim_filter="${sim_filter},e500" ;;
5403 *) as_fn_error $? "\"Unknown value $enableval passed to --enable-sim-float\"" "$LINENO" 5; sim_float="";;
5405 if test x"$silent" != x"yes" && test x"$sim_float" != x""; then
5406 echo "Setting float flags = $sim_float" 6>&1
5411 *altivec*) sim_float="-DWITH_ALTIVEC" ; sim_filter="${sim_filter},av" ;;
5412 *spe*|*simd*) sim_float="-DWITH_E500" ; sim_filter="${sim_filter},e500" ;;
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if union semun defined" >&5
5420 $as_echo_n "checking if union semun defined... " >&6; }
5421 if ${ac_cv_HAS_UNION_SEMUN+:} false; then :
5422 $as_echo_n "(cached) " >&6
5424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5425 /* end confdefs.h. */
5427 #include <sys/types.h>
5428 #include <sys/ipc.h>
5429 #include <sys/sem.h>
5438 if ac_fn_c_try_compile "$LINENO"; then :
5439 ac_cv_has_union_semun="yes"
5441 ac_cv_has_union_semun="no"
5443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_has_union_semun" >&5
5445 $as_echo "$ac_cv_has_union_semun" >&6; }
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_HAS_UNION_SEMUN" >&5
5449 $as_echo "$ac_cv_HAS_UNION_SEMUN" >&6; }
5452 if test "$ac_cv_has_union_semun" = "yes"; then
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether System V semaphores are supported" >&5
5454 $as_echo_n "checking whether System V semaphores are supported... " >&6; }
5455 if ${ac_cv_sysv_sem+:} false; then :
5456 $as_echo_n "(cached) " >&6
5459 if test "$cross_compiling" = yes; then :
5462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5463 /* end confdefs.h. */
5465 #include <sys/types.h>
5466 #include <sys/ipc.h>
5467 #include <sys/sem.h>
5471 int id=semget(IPC_PRIVATE,1,IPC_CREAT|0400);
5474 arg.val = 0; /* avoid implicit type cast to union */
5475 if (semctl(id, 0, IPC_RMID, arg) == -1)
5481 if ac_fn_c_try_run "$LINENO"; then :
5482 ac_cv_sysv_sem="yes"
5486 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5487 conftest.$ac_objext conftest.beam conftest.$ac_ext
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sysv_sem" >&5
5493 $as_echo "$ac_cv_sysv_sem" >&6; }
5494 else # semun is not defined
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether System V semaphores are supported" >&5
5496 $as_echo_n "checking whether System V semaphores are supported... " >&6; }
5497 if ${ac_cv_sysv_sem+:} false; then :
5498 $as_echo_n "(cached) " >&6
5501 if test "$cross_compiling" = yes; then :
5504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5505 /* end confdefs.h. */
5507 #include <sys/types.h>
5508 #include <sys/ipc.h>
5509 #include <sys/sem.h>
5512 struct semid_ds *buf;
5518 int id=semget(IPC_PRIVATE,1,IPC_CREAT|0400);
5521 arg.val = 0; /* avoid implicit type cast to union */
5522 if (semctl(id, 0, IPC_RMID, arg) == -1)
5528 if ac_fn_c_try_run "$LINENO"; then :
5529 ac_cv_sysv_sem="yes"
5533 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5534 conftest.$ac_objext conftest.beam conftest.$ac_ext
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sysv_sem" >&5
5540 $as_echo "$ac_cv_sysv_sem" >&6; }
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether System V shared memory is supported" >&5
5544 $as_echo_n "checking whether System V shared memory is supported... " >&6; }
5545 if ${ac_cv_sysv_shm+:} false; then :
5546 $as_echo_n "(cached) " >&6
5549 if test "$cross_compiling" = yes; then :
5552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5553 /* end confdefs.h. */
5555 #include <sys/types.h>
5556 #include <sys/ipc.h>
5557 #include <sys/shm.h>
5559 int id=shmget(IPC_PRIVATE,1,IPC_CREAT|0400);
5562 if (shmctl(id, IPC_RMID, 0) == -1)
5568 if ac_fn_c_try_run "$LINENO"; then :
5569 ac_cv_sysv_shm="yes"
5573 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5574 conftest.$ac_objext conftest.beam conftest.$ac_ext
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sysv_shm" >&5
5580 $as_echo "$ac_cv_sysv_shm" >&6; }
5582 if test x"$ac_cv_sysv_shm" = x"yes" -a x"$ac_cv_sysv_sem" = x"yes" ; then
5583 sim_sysv_ipc_hw=",sem,shm";
5588 if test x"$ac_cv_has_union_semun" = x"yes" -a x"$ac_cv_sysv_sem" = x"yes" ; then
5590 $as_echo "#define HAVE_UNION_SEMUN 1" >>confdefs.h
5595 # Check whether --enable-sim-hardware was given.
5596 if test "${enable_sim_hardware+set}" = set; then :
5597 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}"
5598 case "${enableval}" in
5600 no) as_fn_error $? "\"List of hardware must be specified for --enable-sim-hardware\"" "$LINENO" 5; hardware="";;
5601 ,*) hardware="${hardware}${enableval}";;
5602 *,) hardware="${enableval}${hardware}";;
5603 *) hardware="${enableval}"'';;
5605 sim_hw_src=`echo $hardware |
sed -e 's/,/.c hw_/g' -e 's/^/hw_/' -e s
'/$/.c/'`
5606 sim_hw_obj=`echo $sim_hw_src |
sed -e 's/\.c/.o/g'`
5607 if test x"$silent" != x"yes" && test x"$hardware" != x""; then
5608 echo "Setting hardware to $sim_hw_src, $sim_hw_obj"
5611 hardware="cpu,memory,nvram,iobus,htab,disk,trace,register,vm,init,core,pal,com,eeprom,opic,glue,phb,ide${sim_sysv_ipc_hw}"
5612 sim_hw_src=`echo $hardware |
sed -e 's/,/.c hw_/g' -e 's/^/hw_/' -e s
'/$/.c/'`
5613 sim_hw_obj=`echo $sim_hw_src |
sed -e 's/\.c/.o/g'`
5614 if test x"$silent" != x"yes"; then
5615 echo "Setting hardware to $sim_hw_src, $sim_hw_obj"
5619 # Check whether --enable-sim-hostbitsize was given.
5620 if test "${enable_sim_hostbitsize+set}" = set; then :
5621 enableval=$enable_sim_hostbitsize; case "${enableval}" in
5622 32|64) sim_hostbitsize="-DWITH_HOST_WORD_BITSIZE=$enableval";;
5623 *) as_fn_error $? "\"--enable-sim-hostbitsize was given $enableval. Expected 32 or 64\"" "$LINENO" 5; sim_hostbitsize="";;
5625 if test x"$silent" != x"yes" && test x"$sim_hostbitsize" != x""; then
5626 echo "Setting hostbitsize flags = $sim_hostbitsize" 6>&1
5634 ac_cpp='$CPP $CPPFLAGS'
5635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5639 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5640 # On Suns, sometimes $CPP names a directory.
5641 if test -n "$CPP" && test -d "$CPP"; then
5644 if test -z "$CPP"; then
5645 if ${ac_cv_prog_CPP+:} false; then :
5646 $as_echo_n "(cached) " >&6
5648 # Double quotes because CPP needs to be expanded
5649 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5652 for ac_c_preproc_warn_flag in '' yes
5654 # Use a header file that comes with gcc, so configuring glibc
5655 # with a fresh cross-compiler works.
5656 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5657 # <limits.h> exists even on freestanding compilers.
5658 # On the NeXT, cc -E runs the code through the compiler's parser,
5659 # not just through cpp. "Syntax error" is here to catch this case.
5660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5661 /* end confdefs.h. */
5663 # include <limits.h>
5665 # include <assert.h>
5669 if ac_fn_c_try_cpp "$LINENO"; then :
5672 # Broken: fails on valid input.
5675 rm -f conftest.err conftest.i conftest.$ac_ext
5677 # OK, works on sane cases. Now check whether nonexistent headers
5678 # can be detected and how.
5679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5680 /* end confdefs.h. */
5681 #include <ac_nonexistent.h>
5683 if ac_fn_c_try_cpp "$LINENO"; then :
5684 # Broken: success on invalid input.
5687 # Passes both tests.
5691 rm -f conftest.err conftest.i conftest.$ac_ext
5694 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5695 rm -f conftest.i conftest.err conftest.
$ac_ext
5696 if $ac_preproc_ok; then :
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5709 $as_echo "$CPP" >&6; }
5711 for ac_c_preproc_warn_flag
in '' yes
5713 # Use a header file that comes with gcc, so configuring glibc
5714 # with a fresh cross-compiler works.
5715 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5716 # <limits.h> exists even on freestanding compilers.
5717 # On the NeXT, cc -E runs the code through the compiler's parser,
5718 # not just through cpp. "Syntax error" is here to catch this case.
5719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5720 /* end confdefs.h. */
5722 # include <limits.h>
5724 # include <assert.h>
5728 if ac_fn_c_try_cpp
"$LINENO"; then :
5731 # Broken: fails on valid input.
5734 rm -f conftest.err conftest.i conftest.
$ac_ext
5736 # OK, works on sane cases. Now check whether nonexistent headers
5737 # can be detected and how.
5738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5739 /* end confdefs.h. */
5740 #include <ac_nonexistent.h>
5742 if ac_fn_c_try_cpp
"$LINENO"; then :
5743 # Broken: success on invalid input.
5746 # Passes both tests.
5750 rm -f conftest.err conftest.i conftest.
$ac_ext
5753 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5754 rm -f conftest.i conftest.err conftest.
$ac_ext
5755 if $ac_preproc_ok; then :
5758 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5759 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5760 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5761 See \`config.log' for more details" "$LINENO" 5; }
5765 ac_cpp
='$CPP $CPPFLAGS'
5766 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5767 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5768 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5772 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5773 if ${ac_cv_path_GREP+:} false
; then :
5774 $as_echo_n "(cached) " >&6
5776 if test -z "$GREP"; then
5777 ac_path_GREP_found
=false
5778 # Loop through the user's path and test for each of PROGNAME-LIST
5779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5780 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5783 test -z "$as_dir" && as_dir
=.
5784 for ac_prog
in grep ggrep
; do
5785 for ac_exec_ext
in '' $ac_executable_extensions; do
5786 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5787 as_fn_executable_p
"$ac_path_GREP" ||
continue
5788 # Check for GNU ac_path_GREP and select it if it is found.
5789 # Check for GNU $ac_path_GREP
5790 case `"$ac_path_GREP" --version 2>&1` in
5792 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5795 $as_echo_n 0123456789 >"conftest.in"
5798 cat "conftest.in" "conftest.in" >"conftest.tmp"
5799 mv "conftest.tmp" "conftest.in"
5800 cp "conftest.in" "conftest.nl"
5801 $as_echo 'GREP' >> "conftest.nl"
5802 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5803 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5804 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5805 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5806 # Best one so far, save it but keep looking for a better one
5807 ac_cv_path_GREP
="$ac_path_GREP"
5808 ac_path_GREP_max
=$ac_count
5810 # 10*(2^10) chars as input seems more than enough
5811 test $ac_count -gt 10 && break
5813 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5816 $ac_path_GREP_found && break 3
5821 if test -z "$ac_cv_path_GREP"; then
5822 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5825 ac_cv_path_GREP
=$GREP
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5830 $as_echo "$ac_cv_path_GREP" >&6; }
5831 GREP
="$ac_cv_path_GREP"
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5835 $as_echo_n "checking for egrep... " >&6; }
5836 if ${ac_cv_path_EGREP+:} false
; then :
5837 $as_echo_n "(cached) " >&6
5839 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5840 then ac_cv_path_EGREP
="$GREP -E"
5842 if test -z "$EGREP"; then
5843 ac_path_EGREP_found
=false
5844 # Loop through the user's path and test for each of PROGNAME-LIST
5845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5846 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5849 test -z "$as_dir" && as_dir
=.
5850 for ac_prog
in egrep; do
5851 for ac_exec_ext
in '' $ac_executable_extensions; do
5852 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5853 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5854 # Check for GNU ac_path_EGREP and select it if it is found.
5855 # Check for GNU $ac_path_EGREP
5856 case `"$ac_path_EGREP" --version 2>&1` in
5858 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5861 $as_echo_n 0123456789 >"conftest.in"
5864 cat "conftest.in" "conftest.in" >"conftest.tmp"
5865 mv "conftest.tmp" "conftest.in"
5866 cp "conftest.in" "conftest.nl"
5867 $as_echo 'EGREP' >> "conftest.nl"
5868 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5869 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5870 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5871 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5872 # Best one so far, save it but keep looking for a better one
5873 ac_cv_path_EGREP
="$ac_path_EGREP"
5874 ac_path_EGREP_max
=$ac_count
5876 # 10*(2^10) chars as input seems more than enough
5877 test $ac_count -gt 10 && break
5879 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5882 $ac_path_EGREP_found && break 3
5887 if test -z "$ac_cv_path_EGREP"; then
5888 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5891 ac_cv_path_EGREP
=$EGREP
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5897 $as_echo "$ac_cv_path_EGREP" >&6; }
5898 EGREP
="$ac_cv_path_EGREP"
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5902 $as_echo_n "checking for ANSI C header files... " >&6; }
5903 if ${ac_cv_header_stdc+:} false
; then :
5904 $as_echo_n "(cached) " >&6
5906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5907 /* end confdefs.h. */
5921 if ac_fn_c_try_compile
"$LINENO"; then :
5922 ac_cv_header_stdc
=yes
5924 ac_cv_header_stdc
=no
5926 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5928 if test $ac_cv_header_stdc = yes; then
5929 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5931 /* end confdefs.h. */
5935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5936 $EGREP "memchr" >/dev
/null
2>&1; then :
5939 ac_cv_header_stdc
=no
5945 if test $ac_cv_header_stdc = yes; then
5946 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5948 /* end confdefs.h. */
5952 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5953 $EGREP "free" >/dev
/null
2>&1; then :
5956 ac_cv_header_stdc
=no
5962 if test $ac_cv_header_stdc = yes; then
5963 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5964 if test "$cross_compiling" = yes; then :
5967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5968 /* end confdefs.h. */
5971 #if ((' ' & 0x0FF) == 0x020)
5972 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5973 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5975 # define ISLOWER(c) \
5976 (('a' <= (c) && (c) <= 'i') \
5977 || ('j' <= (c) && (c) <= 'r') \
5978 || ('s' <= (c) && (c) <= 'z'))
5979 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5982 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5987 for (i = 0; i < 256; i++)
5988 if (XOR (islower (i), ISLOWER (i))
5989 || toupper (i) != TOUPPER (i))
5994 if ac_fn_c_try_run
"$LINENO"; then :
5997 ac_cv_header_stdc
=no
5999 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6000 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6006 $as_echo "$ac_cv_header_stdc" >&6; }
6007 if test $ac_cv_header_stdc = yes; then
6009 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6013 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6014 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6015 inttypes.h stdint.h unistd.h
6017 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6018 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6020 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6021 cat >>confdefs.h
<<_ACEOF
6022 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6030 # Check whether --enable-sim-hostendian was given.
6031 if test "${enable_sim_hostendian+set}" = set; then :
6032 enableval
=$enable_sim_hostendian; case "${enableval}" in
6033 no
) sim_hostendian
="-DWITH_HOST_BYTE_ORDER=0";;
6034 b
*|B
*) sim_hostendian
="-DWITH_HOST_BYTE_ORDER=BIG_ENDIAN";;
6035 l
*|L
*) sim_hostendian
="-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN";;
6036 *) as_fn_error $?
"\"Unknown value $enableval for --enable-sim-hostendian\"" "$LINENO" 5; sim_hostendian
="";;
6038 if test x
"$silent" != x
"yes" && test x
"$sim_hostendian" != x
""; then
6039 echo "Setting hostendian flags = $sim_hostendian" 6>&1
6043 if test "x$cross_compiling" = "xno"; then
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
6045 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
6046 if ${ac_cv_c_bigendian+:} false
; then :
6047 $as_echo_n "(cached) " >&6
6049 ac_cv_c_bigendian
=unknown
6050 # See if we're dealing with a universal compiler.
6051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6052 /* end confdefs.h. */
6053 #ifndef __APPLE_CC__
6054 not a universal capable compiler
6059 if ac_fn_c_try_compile
"$LINENO"; then :
6061 # Check for potential -arch flags. It is not universal unless
6062 # there are at least two -arch flags with different values.
6065 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
6066 if test -n "$ac_prev"; then
6068 i?
86 | x86_64 | ppc | ppc64
)
6069 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
6072 ac_cv_c_bigendian
=universal
6078 elif test "x$ac_word" = "x-arch"; then
6083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6084 if test $ac_cv_c_bigendian = unknown
; then
6085 # See if sys/param.h defines the BYTE_ORDER macro.
6086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6087 /* end confdefs.h. */
6088 #include <sys/types.h>
6089 #include <sys/param.h>
6094 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
6095 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
6104 if ac_fn_c_try_compile
"$LINENO"; then :
6105 # It does; now see whether it defined to BIG_ENDIAN or not.
6106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6107 /* end confdefs.h. */
6108 #include <sys/types.h>
6109 #include <sys/param.h>
6114 #if BYTE_ORDER != BIG_ENDIAN
6122 if ac_fn_c_try_compile
"$LINENO"; then :
6123 ac_cv_c_bigendian
=yes
6125 ac_cv_c_bigendian
=no
6127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6129 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6131 if test $ac_cv_c_bigendian = unknown
; then
6132 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
6133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6134 /* end confdefs.h. */
6140 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
6148 if ac_fn_c_try_compile
"$LINENO"; then :
6149 # It does; now see whether it defined to _BIG_ENDIAN or not.
6150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6151 /* end confdefs.h. */
6165 if ac_fn_c_try_compile
"$LINENO"; then :
6166 ac_cv_c_bigendian
=yes
6168 ac_cv_c_bigendian
=no
6170 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6174 if test $ac_cv_c_bigendian = unknown
; then
6175 # Compile a test program.
6176 if test "$cross_compiling" = yes; then :
6177 # Try to guess by grepping values from an object file.
6178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6179 /* end confdefs.h. */
6180 short int ascii_mm[] =
6181 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
6182 short int ascii_ii[] =
6183 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
6184 int use_ascii (int i) {
6185 return ascii_mm[i] + ascii_ii[i];
6187 short int ebcdic_ii[] =
6188 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
6189 short int ebcdic_mm[] =
6190 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
6191 int use_ebcdic (int i) {
6192 return ebcdic_mm[i] + ebcdic_ii[i];
6199 return use_ascii (foo) == use_ebcdic (foo);
6204 if ac_fn_c_try_compile
"$LINENO"; then :
6205 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
6206 ac_cv_c_bigendian
=yes
6208 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
6209 if test "$ac_cv_c_bigendian" = unknown
; then
6210 ac_cv_c_bigendian
=no
6212 # finding both strings is unlikely to happen, but who knows?
6213 ac_cv_c_bigendian
=unknown
6217 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6220 /* end confdefs.h. */
6221 $ac_includes_default
6226 /* Are we little or big endian? From Harbison&Steele. */
6230 char c[sizeof (long int)];
6233 return u.c[sizeof (long int) - 1] == 1;
6239 if ac_fn_c_try_run
"$LINENO"; then :
6240 ac_cv_c_bigendian
=no
6242 ac_cv_c_bigendian
=yes
6244 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6245 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
6251 $as_echo "$ac_cv_c_bigendian" >&6; }
6252 case $ac_cv_c_bigendian in #(
6254 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
6260 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
6264 as_fn_error $?
"unknown endianness
6265 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
6268 if test $ac_cv_c_bigendian = yes; then
6269 sim_hostendian
="-DWITH_HOST_BYTE_ORDER=BIG_ENDIAN"
6271 sim_hostendian
="-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN"
6274 sim_hostendian
="-DWITH_HOST_BYTE_ORDER=0"
6279 # Check whether --enable-sim-icache was given.
6280 if test "${enable_sim_icache+set}" = set; then :
6281 enableval
=$enable_sim_icache; icache
="-R"
6282 case "${enableval}" in
6283 yes) icache
="1024"; sim_icache
="-I $icache";;
6284 no
) sim_icache
="-R";;
6287 for x
in `echo "${enableval}" | sed -e "s/,/ /g"`; do
6289 define
) sim_icache
="${sim_icache}R";;
6290 semantic
) sim_icache
="${sim_icache}C";;
6291 insn
) sim_icache
="${sim_icache}S";;
6292 0*|
1*|
2*|
3*|
4*|
5*|
6*|
7*|
8*|
9*) icache
=$x;;
6293 *) as_fn_error $?
"\"Unknown value $x for --enable-sim-icache\"" "$LINENO" 5; sim_icache
="";;
6296 sim_icache
="${sim_icache}I $icache";;
6298 if test x
"$silent" != x
"yes" && test x
"$icache" != x
""; then
6299 echo "Setting instruction cache size to $icache ($sim_icache)"
6302 sim_icache
="-CSRI 1024"
6303 if test x
"$silent" != x
"yes"; then
6304 echo "Setting instruction cache size to 1024 ($sim_icache)"
6309 # Check whether --enable-sim-inline was given.
6310 if test "${enable_sim_inline+set}" = set; then :
6311 enableval
=$enable_sim_inline; sim_inline
=""
6312 case "$enableval" in
6313 no
) sim_inline
="-DDEFAULT_INLINE=0";;
6314 0) sim_inline
="-DDEFAULT_INLINE=0";;
6315 yes |
2) sim_inline
="-DDEFAULT_INLINE=ALL_INLINE";;
6316 1) sim_inline
="-DDEFAULT_INLINE=PSIM_INLINE_LOCALS";;
6317 *) for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
6320 *_INLINE
=*) new_flag
="-D$x";;
6321 *=*) new_flag
=`echo "$x" | sed -e "s/=/_INLINE=/" -e "s/^/-D/"`;;
6322 *_INLINE
) new_flag
="-D$x=ALL_INLINE";;
6323 *) new_flag
="-D$x""_INLINE=ALL_INLINE";;
6325 if test x
"$sim_inline" = x
""; then
6326 sim_inline
="$new_flag"
6328 sim_inline
="$sim_inline $new_flag"
6332 if test x
"$silent" != x
"yes" && test x
"$sim_inline" != x
""; then
6333 echo "Setting inline flags = $sim_inline" 6>&1
6336 if test x
"$GCC" != ""; then
6337 sim_inline
="-DDEFAULT_INLINE=PSIM_INLINE_LOCALS"
6338 if test x
"$silent" != x
"yes"; then
6339 echo "Setting inline flags = $sim_inline" 6>&1
6347 # Check whether --enable-sim-jump was given.
6348 if test "${enable_sim_jump+set}" = set; then :
6349 enableval
=$enable_sim_jump; case "${enableval}" in
6350 yes) sim_jump
="-J";;
6352 *) as_fn_error $?
"\"--enable-sim-jump does not take a value\"" "$LINENO" 5; sim_jump
="";;
6354 if test x
"$silent" != x
"yes" && test x
"$sim_jump" != x
""; then
6355 echo "Setting jump flag = $sim_jump" 6>&1
6359 if test x
"$silent" != x
"yes"; then
6360 echo "Setting jump flag = $sim_jump" 6>&1
6365 # Check whether --enable-sim-line-nr was given.
6366 if test "${enable_sim_line_nr+set}" = set; then :
6367 enableval
=$enable_sim_line_nr; case "${enableval}" in
6368 yes) sim_line_nr
="";;
6369 no
) sim_line_nr
="-L";;
6370 *) as_fn_error $?
"\"--enable-sim-line-nr does not take a value\"" "$LINENO" 5; sim_line_nr
="";;
6372 if test x
"$silent" != x
"yes" && test x
"$sim_line_nr" != x
""; then
6373 echo "Setting warning flags = $sim_line_nr" 6>&1
6380 # Check whether --enable-sim-model was given.
6381 if test "${enable_sim_model+set}" = set; then :
6382 enableval
=$enable_sim_model; case "${enableval}" in
6383 yes|no
) as_fn_error $?
"\"No value supplied for --enable-sim-model=model\"" "$LINENO" 5;;
6384 *) sim_model
="-DWITH_MODEL=${enableval}";;
6386 if test x
"$silent" != x
"yes" && test x
"$sim_model" != x
""; then
6387 echo "Setting model flags = $sim_model" 6>&1
6394 # Check whether --enable-sim-model-issue was given.
6395 if test "${enable_sim_model_issue+set}" = set; then :
6396 enableval
=$enable_sim_model_issue; case "${enableval}" in
6397 yes) sim_model_issue
="-DWITH_MODEL_ISSUE=MODEL_ISSUE_PROCESS";;
6398 no
) sim_model_issue
="-DWITH_MODEL_ISSUE=MODEL_ISSUE_IGNORE";;
6399 *) as_fn_error $?
"\"--enable-sim-model-issue does not take a value\"" "$LINENO" 5; sim_model_issue
="";;
6401 if test x
"$silent" != x
"yes"; then
6402 echo "Setting model-issue flags = $sim_model_issue" 6>&1
6409 # Check whether --enable-sim-monitor was given.
6410 if test "${enable_sim_monitor+set}" = set; then :
6411 enableval
=$enable_sim_monitor; case "${enableval}" in
6412 yes) sim_monitor
="-DWITH_MON='MONITOR_INSTRUCTION_ISSUE | MONITOR_LOAD_STORE_UNIT'";;
6413 no
) sim_monitor
="-DWITH_MON=0";;
6414 instruction
) sim_monitor
="-DWITH_MON=MONITOR_INSTRUCTION_ISSUE";;
6415 memory
) sim_monitor
="-DWITH_MON=MONITOR_LOAD_STORE_UNIT";;
6416 *) as_fn_error $?
"\"Unknown value $enableval passed to --enable-sim-mon\"" "$LINENO" 5; sim_env
="";;
6418 if test x
"$silent" != x
"yes" && test x
"$sim_monitor" != x
""; then
6419 echo "Setting monitor flags = $sim_monitor" 6>&1
6426 # Check whether --enable-sim-opcode was given.
6427 if test "${enable_sim_opcode+set}" = set; then :
6428 enableval
=$enable_sim_opcode; case "${enableval}" in
6429 yes|no
) as_fn_error $?
"\"No value supplied for --enable-sim-opcode=file\"" "$LINENO" 5;;
6430 *) if test -f "${srcdir}/${enableval}"; then
6431 sim_opcode
="${enableval}"
6432 elif test -f "${srcdir}/dc-${enableval}"; then
6433 sim_opcode
="dc-${enableval}"
6435 as_fn_error $?
"\"File $enableval is not an opcode rules file\"" "$LINENO" 5;
6436 sim_opcode
="dc-complex"
6439 if test x
"$silent" != x
"yes" && test x
"$sim_opcode" != x
""; then
6440 echo "Setting opcode flags = $sim_opcode" 6>&1
6443 sim_opcode
="dc-complex"
6444 if test x
"$silent" != x
"yes"; then
6445 echo "Setting opcode flags = $sim_opcode"
6450 # Check whether --enable-sim-packages was given.
6451 if test "${enable_sim_packages+set}" = set; then :
6452 enableval
=$enable_sim_packages; packages
=disklabel
6453 case "${enableval}" in
6455 no
) as_fn_error $?
"\"List of packages must be specified for --enable-sim-packages\"" "$LINENO" 5; packages
="";;
6456 ,*) packages
="${packages}${enableval}";;
6457 *,) packages
="${enableval}${packages}";;
6458 *) packages
="${enableval}"'';;
6460 sim_pk_src
=`echo $packages | sed -e 's/,/.c pk_/g' -e 's/^/pk_/' -e 's/$/.c/'`
6461 sim_pk_obj
=`echo $sim_pk_src | sed -e 's/\.c/.o/g'`
6462 if test x
"$silent" != x
"yes" && test x
"$packages" != x
""; then
6463 echo "Setting packages to $sim_pk_src, $sim_pk_obj"
6467 sim_pk_src
=`echo $packages | sed -e 's/,/.c pk_/g' -e 's/^/pk_/' -e 's/$/.c/'`
6468 sim_pk_obj
=`echo $sim_pk_src | sed -e 's/\.c/.o/g'`
6469 if test x
"$silent" != x
"yes"; then
6470 echo "Setting packages to $sim_pk_src, $sim_pk_obj"
6475 # Check whether --enable-sim-reserved-bits was given.
6476 if test "${enable_sim_reserved_bits+set}" = set; then :
6477 enableval
=$enable_sim_reserved_bits; case "${enableval}" in
6478 yes) sim_reserved
="-DWITH_RESERVED_BITS=1";;
6479 no
) sim_reserved
="-DWITH_RESERVED_BITS=0";;
6480 *) as_fn_error $?
"\"--enable-sim-reserved-bits does not take a value\"" "$LINENO" 5; sim_reserved
="";;
6482 if test x
"$silent" != x
"yes" && test x
"$sim_reserved" != x
""; then
6483 echo "Setting reserved flags = $sim_reserved" 6>&1
6490 # Check whether --enable-sim-smp was given.
6491 if test "${enable_sim_smp+set}" = set; then :
6492 enableval
=$enable_sim_smp; case "${enableval}" in
6493 yes) sim_smp
="-DWITH_SMP=5" ; sim_igen_smp
="-N 5";;
6494 no
) sim_smp
="-DWITH_SMP=0" ; sim_igen_smp
="-N 0";;
6495 *) sim_smp
="-DWITH_SMP=$enableval" ; sim_igen_smp
="-N $enableval";;
6497 if test x
"$silent" != x
"yes" && test x
"$sim_smp" != x
""; then
6498 echo "Setting smp flags = $sim_smp" 6>&1
6501 sim_smp
="-DWITH_SMP=5" ; sim_igen_smp
="-N 5"
6502 if test x
"$silent" != x
"yes"; then
6503 echo "Setting smp flags = $sim_smp" 6>&1
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim stdio debug behavior" >&5
6509 $as_echo_n "checking for sim stdio debug behavior... " >&6; }
6511 # Check whether --enable-sim-stdio was given.
6512 if test "${enable_sim_stdio+set}" = set; then :
6513 enableval
=$enable_sim_stdio; case "${enableval}" in
6514 yes) sim_stdio
="DO_USE_STDIO";;
6515 no
) sim_stdio
="DONT_USE_STDIO";;
6516 *) as_fn_error $?
"Unknown value $enableval passed to --enable-sim-stdio" "$LINENO" 5;;
6520 cat >>confdefs.h
<<_ACEOF
6521 #define WITH_STDIO $sim_stdio
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_stdio" >&5
6525 $as_echo "$sim_stdio" >&6; }
6528 # Check whether --enable-sim-switch was given.
6529 if test "${enable_sim_switch+set}" = set; then :
6530 enableval
=$enable_sim_switch; case "${enableval}" in
6531 yes) sim_switch
="-s";;
6533 *) as_fn_error $?
"\"--enable-sim-switch does not take a value\"" "$LINENO" 5; sim_switch
="";;
6535 if test x
"$silent" != x
"yes" && test x
"$sim_switch" != x
""; then
6536 echo "Setting switch flags = $sim_switch" 6>&1
6540 if test x
"$silent" != x
"yes"; then
6541 echo "Setting switch flags = $sim_switch" 6>&1
6546 # Check whether --enable-sim-timebase was given.
6547 if test "${enable_sim_timebase+set}" = set; then :
6548 enableval
=$enable_sim_timebase; case "${enableval}" in
6549 yes) sim_timebase
="-DWITH_TIME_BASE=1";;
6550 no
) sim_timebase
="-DWITH_TIME_BASE=0";;
6551 *) as_fn_error $?
"\"--enable-sim-timebase does not take a value\"" "$LINENO" 5; sim_timebase
="";;
6553 if test x
"$silent" != x
"yes" && test x
"$sim_timebase" != x
""; then
6554 echo "Setting timebase flags = $sim_timebase" 6>&1
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim trace settings" >&5
6562 $as_echo_n "checking for sim trace settings... " >&6; }
6564 # Check whether --enable-sim-trace was given.
6565 if test "${enable_sim_trace+set}" = set; then :
6566 enableval
=$enable_sim_trace; case "${enableval}" in
6567 yes) sim_trace
="1";;
6569 *) as_fn_error $?
"--enable-sim-trace does not take a value" "$LINENO" 5;;
6573 cat >>confdefs.h
<<_ACEOF
6574 #define WITH_TRACE $sim_trace
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_trace" >&5
6578 $as_echo "$sim_trace" >&6; }
6581 # Check whether --enable-sim-warnings was given.
6582 if test "${enable_sim_warnings+set}" = set; then :
6583 enableval
=$enable_sim_warnings; case "${enableval}" in
6584 yes) sim_warnings
="-Werror -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations ";;
6585 no
) sim_warnings
="-w";;
6586 *) sim_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
6588 if test x
"$silent" != x
"yes" && test x
"$sim_warnings" != x
""; then
6589 echo "Setting warning flags = $sim_warnings" 6>&1
6596 # Check whether --enable-sim-xor-endian was given.
6597 if test "${enable_sim_xor_endian+set}" = set; then :
6598 enableval
=$enable_sim_xor_endian; case "${enableval}" in
6599 yes) sim_xor_endian
="-DWITH_XOR_ENDIAN=8";;
6600 no
) sim_xor_endian
="-DWITH_XOR_ENDIAN=0";;
6601 *) sim_xor_endian
="-DWITH_XOR_ENDIAN=$enableval";;
6603 if test x
"$silent" != x
"yes" && test x
"$sim_xor_endian" != x
""; then
6604 echo "Setting xor-endian flag = $sim_xor_endian" 6>&1
6613 # Check whether --with-pkgversion was given.
6614 if test "${with_pkgversion+set}" = set; then :
6615 withval
=$with_pkgversion; case "$withval" in
6616 yes) as_fn_error $?
"package version not specified" "$LINENO" 5 ;;
6618 *) PKGVERSION
="($withval) " ;;
6629 # Check whether --with-bugurl was given.
6630 if test "${with_bugurl+set}" = set; then :
6631 withval
=$with_bugurl; case "$withval" in
6632 yes) as_fn_error $?
"bug URL not specified" "$LINENO" 5 ;;
6635 *) BUGURL
="$withval"
6639 BUGURL
="http://www.gnu.org/software/gdb/bugs/"
6649 REPORT_BUGS_TO
="<$BUGURL>"
6650 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
6657 cat >>confdefs.h
<<_ACEOF
6658 #define PKGVERSION "$PKGVERSION"
6662 cat >>confdefs.h
<<_ACEOF
6663 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
6667 # Make sure we can run config.sub.
6668 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
6669 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
6672 $as_echo_n "checking build system type... " >&6; }
6673 if ${ac_cv_build+:} false
; then :
6674 $as_echo_n "(cached) " >&6
6676 ac_build_alias
=$build_alias
6677 test "x$ac_build_alias" = x
&&
6678 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
6679 test "x$ac_build_alias" = x
&&
6680 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
6681 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6682 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
6686 $as_echo "$ac_cv_build" >&6; }
6687 case $ac_cv_build in
6689 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
6692 ac_save_IFS
=$IFS; IFS
='-'
6698 # Remember, the first character of IFS is used to create $*,
6699 # except with old shells:
6702 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
6706 $as_echo_n "checking host system type... " >&6; }
6707 if ${ac_cv_host+:} false
; then :
6708 $as_echo_n "(cached) " >&6
6710 if test "x$host_alias" = x
; then
6711 ac_cv_host
=$ac_cv_build
6713 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6714 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6719 $as_echo "$ac_cv_host" >&6; }
6722 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
6725 ac_save_IFS
=$IFS; IFS
='-'
6731 # Remember, the first character of IFS is used to create $*,
6732 # except with old shells:
6735 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
6739 $as_echo_n "checking target system type... " >&6; }
6740 if ${ac_cv_target+:} false
; then :
6741 $as_echo_n "(cached) " >&6
6743 if test "x$target_alias" = x
; then
6744 ac_cv_target
=$ac_cv_host
6746 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
6747 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
6752 $as_echo "$ac_cv_target" >&6; }
6753 case $ac_cv_target in
6755 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
6757 target
=$ac_cv_target
6758 ac_save_IFS
=$IFS; IFS
='-'
6764 # Remember, the first character of IFS is used to create $*,
6765 # except with old shells:
6768 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
6771 # The aliases save the names the user supplied, while $host etc.
6772 # will get canonicalized.
6773 test -n "$target_alias" &&
6774 test "$program_prefix$program_suffix$program_transform_name" = \
6776 program_prefix
=${target_alias}-
6778 test "$program_prefix" != NONE
&&
6779 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
6780 # Use a double $ so make ignores it.
6781 test "$program_suffix" != NONE
&&
6782 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
6783 # Double any \ or $.
6784 # By default was `s,x,x', remove it if useless.
6785 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
6786 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
6789 # BFD conditionally uses zlib, so we must link it in if libbfd does, by
6790 # using the same condition.
6792 # Use the system's zlib library.
6793 zlibdir
="-L\$(top_builddir)/../zlib"
6794 zlibinc
="-I\$(top_srcdir)/../zlib"
6796 # Check whether --with-system-zlib was given.
6797 if test "${with_system_zlib+set}" = set; then :
6798 withval
=$with_system_zlib; if test x
$with_system_zlib = xyes
; then
6809 # BFD uses libdl when when plugins enabled.
6812 for ac_header
in dlfcn.h
6814 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6816 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
6817 cat >>confdefs.h
<<_ACEOF
6818 #define HAVE_DLFCN_H 1
6825 for ac_header
in windows.h
6827 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
6829 if test "x$ac_cv_header_windows_h" = xyes
; then :
6830 cat >>confdefs.h
<<_ACEOF
6831 #define HAVE_WINDOWS_H 1
6839 # Check whether --enable-plugins was given.
6840 if test "${enable_plugins+set}" = set; then :
6841 enableval
=$enable_plugins; case "${enableval}" in
6844 if test "$maybe_plugins" != "yes" ; then
6845 as_fn_error $?
"Building with plugin support requires a host that supports dlopen." "$LINENO" 5
6849 plugins
=$maybe_plugins
6853 if test "$plugins" = "yes"; then
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
6855 $as_echo_n "checking for library containing dlsym... " >&6; }
6856 if ${ac_cv_search_dlsym+:} false
; then :
6857 $as_echo_n "(cached) " >&6
6859 ac_func_search_save_LIBS
=$LIBS
6860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6861 /* end confdefs.h. */
6863 /* Override any GCC internal prototype to avoid an error.
6864 Use char because int might match the return type of a GCC
6865 builtin and then its argument prototype would still apply. */
6878 for ac_lib
in '' dl
; do
6879 if test -z "$ac_lib"; then
6880 ac_res
="none required"
6883 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6885 if ac_fn_c_try_link
"$LINENO"; then :
6886 ac_cv_search_dlsym
=$ac_res
6888 rm -f core conftest.err conftest.
$ac_objext \
6890 if ${ac_cv_search_dlsym+:} false
; then :
6894 if ${ac_cv_search_dlsym+:} false
; then :
6897 ac_cv_search_dlsym
=no
6900 LIBS
=$ac_func_search_save_LIBS
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
6903 $as_echo "$ac_cv_search_dlsym" >&6; }
6904 ac_res
=$ac_cv_search_dlsym
6905 if test "$ac_res" != no
; then :
6906 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6913 .
${srcdir}/..
/..
/bfd
/configure.
host
6918 $as_echo "#define USE_WIN32API 1" >>confdefs.h
6923 ac_config_headers
="$ac_config_headers config.h:config.in"
6926 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6927 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6929 cat >>confdefs.h
<<_ACEOF
6930 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6934 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6939 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6940 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6942 cat >>confdefs.h
<<_ACEOF
6943 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6947 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6950 case " $LIBOBJS " in
6951 *" fileblocks.$ac_objext "* ) ;;
6952 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6959 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6960 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6962 cat >>confdefs.h
<<_ACEOF
6963 #define HAVE_STRUCT_STAT_ST_RDEV 1
6967 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6973 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6974 if ${ac_cv_struct_tm+:} false
; then :
6975 $as_echo_n "(cached) " >&6
6977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6978 /* end confdefs.h. */
6979 #include <sys/types.h>
6986 int *p = &tm.tm_sec;
6992 if ac_fn_c_try_compile
"$LINENO"; then :
6993 ac_cv_struct_tm
=time.h
6995 ac_cv_struct_tm
=sys
/time.h
6997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
7000 $as_echo "$ac_cv_struct_tm" >&6; }
7001 if test $ac_cv_struct_tm = sys
/time.h
; then
7003 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
7007 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
7008 #include <$ac_cv_struct_tm>
7011 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
7013 cat >>confdefs.h
<<_ACEOF
7014 #define HAVE_STRUCT_TM_TM_ZONE 1
7020 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
7022 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
7025 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
7027 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
7033 cat >>confdefs.h
<<_ACEOF
7034 #define HAVE_DECL_TZNAME $ac_have_decl
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
7038 $as_echo_n "checking for tzname... " >&6; }
7039 if ${ac_cv_var_tzname+:} false
; then :
7040 $as_echo_n "(cached) " >&6
7042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7043 /* end confdefs.h. */
7045 #if !HAVE_DECL_TZNAME
7046 extern char *tzname[];
7052 return tzname[0][0];
7057 if ac_fn_c_try_link
"$LINENO"; then :
7058 ac_cv_var_tzname
=yes
7062 rm -f core conftest.err conftest.
$ac_objext \
7063 conftest
$ac_exeext conftest.
$ac_ext
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
7066 $as_echo "$ac_cv_var_tzname" >&6; }
7067 if test $ac_cv_var_tzname = yes; then
7069 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
7076 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
7077 if ${ac_cv_type_uid_t+:} false
; then :
7078 $as_echo_n "(cached) " >&6
7080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7081 /* end confdefs.h. */
7082 #include <sys/types.h>
7085 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7086 $EGREP "uid_t" >/dev
/null
2>&1; then :
7087 ac_cv_type_uid_t
=yes
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
7095 $as_echo "$ac_cv_type_uid_t" >&6; }
7096 if test $ac_cv_type_uid_t = no
; then
7098 $as_echo "#define uid_t int" >>confdefs.h
7101 $as_echo "#define gid_t int" >>confdefs.h
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking type of array argument to getgroups" >&5
7106 $as_echo_n "checking type of array argument to getgroups... " >&6; }
7107 if ${ac_cv_type_getgroups+:} false
; then :
7108 $as_echo_n "(cached) " >&6
7110 if test "$cross_compiling" = yes; then :
7111 ac_cv_type_getgroups
=cross
7113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7114 /* end confdefs.h. */
7115 /* Thanks to Mike Rendell for this test. */
7116 $ac_includes_default
7119 #define MAX(x, y) ((x) > (y) ? (x) : (y))
7126 union { gid_t gval; long int lval; } val;
7129 for (i = 0; i < NGID; i++)
7130 gidset[i] = val.gval;
7131 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
7133 /* Exit non-zero if getgroups seems to require an array of ints. This
7134 happens when gid_t is short int but getgroups modifies an array
7136 return n > 0 && gidset[n] != val.gval;
7139 if ac_fn_c_try_run
"$LINENO"; then :
7140 ac_cv_type_getgroups
=gid_t
7142 ac_cv_type_getgroups
=int
7144 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7145 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7148 if test $ac_cv_type_getgroups = cross
; then
7149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7150 /* end confdefs.h. */
7154 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7155 $EGREP "getgroups.*int.*gid_t" >/dev
/null
2>&1; then :
7156 ac_cv_type_getgroups
=gid_t
7158 ac_cv_type_getgroups
=int
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_getgroups" >&5
7165 $as_echo "$ac_cv_type_getgroups" >&6; }
7167 cat >>confdefs.h
<<_ACEOF
7168 #define GETGROUPS_T $ac_cv_type_getgroups
7172 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
7173 if test "x$ac_cv_type_mode_t" = xyes
; then :
7177 cat >>confdefs.h
<<_ACEOF
7183 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
7184 if test "x$ac_cv_type_off_t" = xyes
; then :
7188 cat >>confdefs.h
<<_ACEOF
7189 #define off_t long int
7194 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
7195 if test "x$ac_cv_type_pid_t" = xyes
; then :
7199 cat >>confdefs.h
<<_ACEOF
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
7206 $as_echo_n "checking return type of signal handlers... " >&6; }
7207 if ${ac_cv_type_signal+:} false
; then :
7208 $as_echo_n "(cached) " >&6
7210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7211 /* end confdefs.h. */
7212 #include <sys/types.h>
7218 return *(signal (0, 0)) (0) == 1;
7223 if ac_fn_c_try_compile
"$LINENO"; then :
7224 ac_cv_type_signal
=int
7226 ac_cv_type_signal
=void
7228 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
7231 $as_echo "$ac_cv_type_signal" >&6; }
7233 cat >>confdefs.h
<<_ACEOF
7234 #define RETSIGTYPE $ac_cv_type_signal
7238 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
7239 if test "x$ac_cv_type_size_t" = xyes
; then :
7243 cat >>confdefs.h
<<_ACEOF
7244 #define size_t unsigned int
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
7250 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
7251 if ${ac_cv_type_uid_t+:} false
; then :
7252 $as_echo_n "(cached) " >&6
7254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7255 /* end confdefs.h. */
7256 #include <sys/types.h>
7259 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7260 $EGREP "uid_t" >/dev
/null
2>&1; then :
7261 ac_cv_type_uid_t
=yes
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
7269 $as_echo "$ac_cv_type_uid_t" >&6; }
7270 if test $ac_cv_type_uid_t = no
; then
7272 $as_echo "#define uid_t int" >>confdefs.h
7275 $as_echo "#define gid_t int" >>confdefs.h
7280 for ac_func
in access cfgetispeed cfgetospeed cfsetispeed cfsetospeed chdir
chmod chown dup dup2 fchmod fchown fcntl fstat fstatfs getdirentries getegid geteuid getgid getpid getppid getrusage gettimeofday getuid ioctl
kill link lseek lstat mkdir pipe readlink
rmdir setreuid setregid stat sigprocmask stat symlink tcgetattr tcsetattr tcsendbreak tcdrain tcflush tcflow tcgetpgrp tcsetpgrp
time umask unlink
7282 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7283 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
7284 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7285 cat >>confdefs.h
<<_ACEOF
7286 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7293 for ac_header
in fcntl.h stdlib.h string.h
strings.h sys
/ioctl.h sys
/mount.h sys
/param.h sys
/resource.h sys
/stat.h sys
/termio.h sys
/termios.h sys
/time.h sys
/times.h sys
/types.h
time.h unistd.h sys
/vfs.h sys
/statfs.h
7295 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7296 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7297 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7298 cat >>confdefs.h
<<_ACEOF
7299 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7307 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
7308 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
7310 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
7311 if eval \
${$as_ac_Header+:} false
; then :
7312 $as_echo_n "(cached) " >&6
7314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7315 /* end confdefs.h. */
7316 #include <sys/types.h>
7328 if ac_fn_c_try_compile
"$LINENO"; then :
7329 eval "$as_ac_Header=yes"
7331 eval "$as_ac_Header=no"
7333 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7335 eval ac_res
=\$
$as_ac_Header
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7337 $as_echo "$ac_res" >&6; }
7338 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7339 cat >>confdefs.h
<<_ACEOF
7340 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
7343 ac_header_dirent
=$ac_hdr; break
7347 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
7348 if test $ac_header_dirent = dirent.h
; then
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
7350 $as_echo_n "checking for library containing opendir... " >&6; }
7351 if ${ac_cv_search_opendir+:} false
; then :
7352 $as_echo_n "(cached) " >&6
7354 ac_func_search_save_LIBS
=$LIBS
7355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7356 /* end confdefs.h. */
7358 /* Override any GCC internal prototype to avoid an error.
7359 Use char because int might match the return type of a GCC
7360 builtin and then its argument prototype would still apply. */
7373 for ac_lib
in '' dir
; do
7374 if test -z "$ac_lib"; then
7375 ac_res
="none required"
7378 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7380 if ac_fn_c_try_link
"$LINENO"; then :
7381 ac_cv_search_opendir
=$ac_res
7383 rm -f core conftest.err conftest.
$ac_objext \
7385 if ${ac_cv_search_opendir+:} false
; then :
7389 if ${ac_cv_search_opendir+:} false
; then :
7392 ac_cv_search_opendir
=no
7395 LIBS
=$ac_func_search_save_LIBS
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
7398 $as_echo "$ac_cv_search_opendir" >&6; }
7399 ac_res
=$ac_cv_search_opendir
7400 if test "$ac_res" != no
; then :
7401 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
7407 $as_echo_n "checking for library containing opendir... " >&6; }
7408 if ${ac_cv_search_opendir+:} false
; then :
7409 $as_echo_n "(cached) " >&6
7411 ac_func_search_save_LIBS
=$LIBS
7412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7413 /* end confdefs.h. */
7415 /* Override any GCC internal prototype to avoid an error.
7416 Use char because int might match the return type of a GCC
7417 builtin and then its argument prototype would still apply. */
7430 for ac_lib
in '' x
; do
7431 if test -z "$ac_lib"; then
7432 ac_res
="none required"
7435 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7437 if ac_fn_c_try_link
"$LINENO"; then :
7438 ac_cv_search_opendir
=$ac_res
7440 rm -f core conftest.err conftest.
$ac_objext \
7442 if ${ac_cv_search_opendir+:} false
; then :
7446 if ${ac_cv_search_opendir+:} false
; then :
7449 ac_cv_search_opendir
=no
7452 LIBS
=$ac_func_search_save_LIBS
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
7455 $as_echo "$ac_cv_search_opendir" >&6; }
7456 ac_res
=$ac_cv_search_opendir
7457 if test "$ac_res" != no
; then :
7458 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct termios" >&5
7467 $as_echo_n "checking for struct termios... " >&6; }
7468 if ${ac_cv_termios_struct+:} false
; then :
7469 $as_echo_n "(cached) " >&6
7471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7472 /* end confdefs.h. */
7473 #include <sys/types.h>
7474 #include <sys/termios.h>
7478 static struct termios x;
7488 if ac_fn_c_try_compile
"$LINENO"; then :
7489 ac_cv_termios_struct
=yes
7491 ac_cv_termios_struct
=no
7493 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_termios_struct" >&5
7497 $as_echo "$ac_cv_termios_struct" >&6; }
7498 if test $ac_cv_termios_struct = yes; then
7499 sim_termio
="$sim_termio -DHAVE_TERMIOS_STRUCTURE"
7502 if test "$ac_cv_termios_struct" = "yes"; then
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c_line field in struct termios" >&5
7504 $as_echo_n "checking for c_line field in struct termios... " >&6; }
7505 if ${ac_cv_termios_cline+:} false
; then :
7506 $as_echo_n "(cached) " >&6
7508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7509 /* end confdefs.h. */
7510 #include <sys/types.h>
7511 #include <sys/termios.h>
7515 static struct termios x; x.c_line = 0;
7520 if ac_fn_c_try_compile
"$LINENO"; then :
7521 ac_cv_termios_cline
=yes
7523 ac_cv_termios_cline
=no
7525 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_termios_cline" >&5
7530 $as_echo "$ac_cv_termios_cline" >&6; }
7531 if test $ac_cv_termios_cline = yes; then
7532 sim_termio
="$sim_termio -DHAVE_TERMIOS_CLINE"
7535 ac_cv_termios_cline
=no
7538 if test "$ac_cv_termios_struct" != "yes"; then
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct termio" >&5
7540 $as_echo_n "checking for struct termio... " >&6; }
7541 if ${ac_cv_termio_struct+:} false
; then :
7542 $as_echo_n "(cached) " >&6
7544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7545 /* end confdefs.h. */
7546 #include <sys/types.h>
7547 #include <sys/termio.h>
7551 static struct termio x;
7561 if ac_fn_c_try_compile
"$LINENO"; then :
7562 ac_cv_termio_struct
=yes
7564 ac_cv_termio_struct
=no
7566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_termio_struct" >&5
7570 $as_echo "$ac_cv_termio_struct" >&6; }
7571 if test $ac_cv_termio_struct = yes; then
7572 sim_termio
="$sim_termio -DHAVE_TERMIO_STRUCTURE"
7575 ac_cv_termio_struct
=no
7578 if test "$ac_cv_termio_struct" = "yes"; then
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c_line field in struct termio" >&5
7580 $as_echo_n "checking for c_line field in struct termio... " >&6; }
7581 if ${ac_cv_termio_cline+:} false
; then :
7582 $as_echo_n "(cached) " >&6
7584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7585 /* end confdefs.h. */
7586 #include <sys/types.h>
7587 #include <sys/termio.h>
7591 static struct termio x; x.c_line = 0;
7596 if ac_fn_c_try_compile
"$LINENO"; then :
7597 ac_cv_termio_cline
=yes
7599 ac_cv_termio_cline
=no
7601 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_termio_cline" >&5
7606 $as_echo "$ac_cv_termio_cline" >&6; }
7607 if test $ac_cv_termio_cline = yes; then
7608 sim_termio
="$sim_termio -DHAVE_TERMIO_CLINE"
7611 ac_cv_termio_cline
=no
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct statfs" >&5
7615 $as_echo_n "checking for struct statfs... " >&6; }
7616 if ${ac_cv_struct_statfs+:} false
; then :
7617 $as_echo_n "(cached) " >&6
7619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7620 /* end confdefs.h. */
7621 #include <sys/types.h>
7622 #ifdef HAVE_SYS_PARAM_H
7623 #include <sys/param.h>
7625 #ifdef HAVE_SYS_MOUNT_H
7626 #include <sys/mount.h>
7628 #ifdef HAVE_SYS_VFS_H
7629 #include <sys/vfs.h>
7631 #ifdef HAVE_SYS_STATFS_H
7632 #include <sys/statfs.h>
7637 static struct statfs s;
7642 if ac_fn_c_try_compile
"$LINENO"; then :
7643 ac_cv_struct_statfs
=yes
7645 ac_cv_struct_statfs
=no
7647 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_statfs" >&5
7651 $as_echo "$ac_cv_struct_statfs" >&6; }
7652 if test $ac_cv_struct_statfs = yes; then
7654 $as_echo "#define HAVE_STRUCT_STATFS 1" >>confdefs.h
7658 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
7659 if test "x$ac_cv_type_long_long" = xyes
; then :
7661 cat >>confdefs.h
<<_ACEOF
7662 #define HAVE_LONG_LONG 1
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/zero" >&5
7671 $as_echo_n "checking for /dev/zero... " >&6; }
7672 if ${ac_cv_devzero+:} false
; then :
7673 $as_echo_n "(cached) " >&6
7675 if test "$cross_compiling" = yes; then :
7678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7679 /* end confdefs.h. */
7684 int fd = open ("/dev/zero", O_RDONLY);
7687 for (i = 0; i < sizeof (buf); i++)
7689 if (read (fd, buf, sizeof (buf)) != sizeof (buf))
7691 for (i = 0; i < sizeof (buf); i++)
7697 if ac_fn_c_try_run
"$LINENO"; then :
7702 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7703 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_devzero" >&5
7709 $as_echo "$ac_cv_devzero" >&6; }
7710 if test $ac_cv_devzero = yes; then
7711 sim_devzero
="-DHAVE_DEVZERO"
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for common simulator directory" >&5
7717 $as_echo_n "checking for common simulator directory... " >&6; }
7718 if test -f "${srcdir}/../common/callback.c"; then
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7720 $as_echo "yes" >&6; }
7721 sim_callback
="callback.o targ-map.o"
7722 sim_targ_vals
="targ-vals.h targ-map.c targ-vals.def"
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7725 $as_echo "no" >&6; }
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for common simulator directory fpu implementation" >&5
7731 $as_echo_n "checking for common simulator directory fpu implementation... " >&6; }
7732 if test -f "${srcdir}/../common/sim-fpu.c"; then
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7734 $as_echo "yes" >&6; }
7735 sim_fpu_cflags
="-DHAVE_COMMON_FPU -I../common -I${srcdir}/../common"
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7739 $as_echo "no" >&6; }
7744 # Since we run commands on the build system, we have to create a
7745 # separate config header for the build system if build != host.
7746 if test x
$host = x
$build; then
7747 ac_config_commands
="$ac_config_commands build-config.h"
7755 /* | A-Za-z
:\\/* ) realsrcdir
=${srcdir};;
7756 *) realsrcdir
=..
/${srcdir};;
7758 saved_CFLAGS
="${CFLAGS}"
7759 CC
="${CC_FOR_BUILD}" CFLAGS
="${CFLAGS_FOR_BUILD}" \
7760 LDFLAGS
="${LDFLAGS_FOR_BUILD}" \
7761 ${realsrcdir}/configure \
7762 --enable-languages=${enable_languages-all} \
7763 --target=$target_alias --host=$build_alias --build=$build_alias
7764 CFLAGS
="${saved_CFLAGS}"
7765 mv config.h ..
/build-config.h
7778 if test -n "$ac_tool_prefix"; then
7779 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7780 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7782 $as_echo_n "checking for $ac_word... " >&6; }
7783 if ${ac_cv_prog_RANLIB+:} false
; then :
7784 $as_echo_n "(cached) " >&6
7786 if test -n "$RANLIB"; then
7787 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7793 test -z "$as_dir" && as_dir
=.
7794 for ac_exec_ext
in '' $ac_executable_extensions; do
7795 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7796 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7806 RANLIB
=$ac_cv_prog_RANLIB
7807 if test -n "$RANLIB"; then
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7809 $as_echo "$RANLIB" >&6; }
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7812 $as_echo "no" >&6; }
7817 if test -z "$ac_cv_prog_RANLIB"; then
7818 ac_ct_RANLIB
=$RANLIB
7819 # Extract the first word of "ranlib", so it can be a program name with args.
7820 set dummy ranlib
; ac_word
=$2
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7822 $as_echo_n "checking for $ac_word... " >&6; }
7823 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
7824 $as_echo_n "(cached) " >&6
7826 if test -n "$ac_ct_RANLIB"; then
7827 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7833 test -z "$as_dir" && as_dir
=.
7834 for ac_exec_ext
in '' $ac_executable_extensions; do
7835 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7836 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7846 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7847 if test -n "$ac_ct_RANLIB"; then
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7849 $as_echo "$ac_ct_RANLIB" >&6; }
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7852 $as_echo "no" >&6; }
7855 if test "x$ac_ct_RANLIB" = x
; then
7858 case $cross_compiling:$ac_tool_warned in
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7861 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7862 ac_tool_warned
=yes ;;
7864 RANLIB
=$ac_ct_RANLIB
7867 RANLIB
="$ac_cv_prog_RANLIB"
7907 ac_config_files
="$ac_config_files Makefile"
7909 ac_config_commands
="$ac_config_commands default"
7911 cat >confcache
<<\_ACEOF
7912 # This file is a shell script that caches the results of configure
7913 # tests run on this system so they can be shared between configure
7914 # scripts and configure runs, see configure's option --config-cache.
7915 # It is not useful on other systems. If it contains results you don't
7916 # want to keep, you may remove or edit it.
7918 # config.status only pays attention to the cache file if you give it
7919 # the --recheck option to rerun configure.
7921 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7922 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7927 # The following way of writing the cache mishandles newlines in values,
7928 # but we know of no workaround that is simple, portable, and efficient.
7929 # So, we kill variables containing newlines.
7930 # Ultrix sh set writes to stderr and can't be redirected directly,
7931 # and sets the high bit in the cache file unless we assign to the vars.
7933 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7934 eval ac_val
=\$
$ac_var
7938 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7939 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7942 _ | IFS | as_nl
) ;; #(
7943 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
7944 *) { eval $ac_var=; unset $ac_var;} ;;
7950 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7951 *${as_nl}ac_space
=\
*)
7952 # `set' does not quote correctly, so add quotes: double-quote
7953 # substitution turns \\\\ into \\, and sed turns \\ into \.
7956 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7959 # `set' quotes correctly as required by POSIX, so do not add quotes.
7960 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7969 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7971 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7973 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7974 if test -w "$cache_file"; then
7975 if test "x$cache_file" != "x/dev/null"; then
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7977 $as_echo "$as_me: updating cache $cache_file" >&6;}
7978 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
7979 cat confcache
>"$cache_file"
7981 case $cache_file in #(
7983 mv -f confcache
"$cache_file"$$
&&
7984 mv -f "$cache_file"$$
"$cache_file" ;; #(
7986 mv -f confcache
"$cache_file" ;;
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7992 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7997 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7998 # Let make expand exec_prefix.
7999 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8001 DEFS
=-DHAVE_CONFIG_H
8006 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8007 # 1. Remove the extension, and $U if already installed.
8008 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
8009 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
8010 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8011 # will be set to the directory where LIBOBJS objects are built.
8012 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8013 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
8017 LTLIBOBJS
=$ac_ltlibobjs
8022 : "${CONFIG_STATUS=./config.status}"
8024 ac_clean_files_save
=$ac_clean_files
8025 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8027 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8029 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8031 # Generated by $as_me.
8032 # Run this file to recreate the current configuration.
8033 # Compiler output produced by configure, useful for debugging
8034 # configure, is in config.log if it exists.
8040 SHELL=\${CONFIG_SHELL-$SHELL}
8043 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
8044 ## -------------------- ##
8045 ## M4sh Initialization. ##
8046 ## -------------------- ##
8048 # Be more Bourne compatible
8049 DUALCASE
=1; export DUALCASE
# for MKS sh
8050 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
8053 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8054 # is contrary to our usage. Disable this feature.
8055 alias -g '${1+"$@"}'='"$@"'
8056 setopt NO_GLOB_SUBST
8058 case `(set -o) 2>/dev/null` in #(
8070 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8071 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8072 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8073 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8074 # Prefer a ksh shell builtin over an external printf program on Solaris,
8075 # but without wasting forks for bash or zsh.
8076 if test -z "$BASH_VERSION$ZSH_VERSION" \
8077 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8078 as_echo='print
-r --'
8079 as_echo_n='print
-rn --'
8080 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8081 as_echo='printf %s
\n'
8082 as_echo_n='printf %s
'
8084 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8085 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
8086 as_echo_n='/usr
/ucb
/echo -n'
8088 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8089 as_echo_n_body='eval
8093 expr "X$arg" : "X\\(.*\\)$as_nl";
8094 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8096 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
8098 export as_echo_n_body
8099 as_echo_n='sh
-c $as_echo_n_body as_echo
'
8102 as_echo='sh
-c $as_echo_body as_echo
'
8105 # The user is always right.
8106 if test "${PATH_SEPARATOR+set}" != set; then
8108 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8109 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8116 # We need space, tab and new line, in precisely that order. Quoting is
8117 # there to prevent editors from complaining about space-tab.
8118 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8119 # splitting by setting IFS to empty value.)
8122 # Find who we are. Look in the path if we contain no directory separator.
8125 *[\\/]* ) as_myself=$0 ;;
8126 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8130 test -z "$as_dir" && as_dir=.
8131 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8137 # We did not find ourselves, most probably we were run as `sh COMMAND'
8138 # in which case we are not to be found in the path.
8139 if test "x$as_myself" = x
; then
8142 if test ! -f "$as_myself"; then
8143 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8147 # Unset variables that we do not need and which cause bugs (e.g. in
8148 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8149 # suppresses any "Segmentation fault" message there. '((' could
8150 # trigger a bug in pdksh 5.2.14.
8151 for as_var
in BASH_ENV ENV MAIL MAILPATH
8152 do eval test x\
${$as_var+set} = xset \
8153 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
8166 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
8169 # as_fn_error STATUS ERROR [LINENO LOG_FD]
8170 # ----------------------------------------
8171 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8172 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8173 # script with STATUS, using 1 if that was 0.
8176 as_status
=$1; test $as_status -eq 0 && as_status
=1
8178 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
8179 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8181 $as_echo "$as_me: error: $2" >&2
8182 as_fn_exit
$as_status
8186 # as_fn_set_status STATUS
8187 # -----------------------
8188 # Set $? to STATUS, without forking.
8192 } # as_fn_set_status
8196 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8206 # Portably unset VAR.
8209 { eval $1=; unset $1;}
8211 as_unset
=as_fn_unset
8212 # as_fn_append VAR VALUE
8213 # ----------------------
8214 # Append the text in VALUE to the end of the definition contained in VAR. Take
8215 # advantage of any shell optimizations that allow amortized linear growth over
8216 # repeated appends, instead of the typical quadratic growth present in naive
8218 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
8219 eval 'as_fn_append ()
8230 # as_fn_arith ARG...
8231 # ------------------
8232 # Perform arithmetic evaluation on the ARGs, and store the result in the
8233 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8234 # must be portable across $(()) and expr.
8235 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
8236 eval 'as_fn_arith ()
8243 as_val
=`expr "$@" || test $? -eq 1`
8248 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8249 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8255 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8256 as_basename
=basename
8261 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
8267 as_me
=`$as_basename -- "$0" ||
8268 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8269 X"$0" : 'X\(//\)$' \| \
8270 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8272 sed '/^.*\/\([^/][^/]*\)\/*$/{
8286 # Avoid depending upon Character Ranges.
8287 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8288 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8289 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8290 as_cr_digits
='0123456789'
8291 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8293 ECHO_C
= ECHO_N
= ECHO_T
=
8294 case `echo -n x` in #(((((
8296 case `echo 'xy\c'` in
8297 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
8299 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
8306 rm -f conf$$ conf$$.exe conf$$.
file
8307 if test -d conf$$.dir
; then
8308 rm -f conf$$.dir
/conf$$.
file
8311 mkdir conf$$.dir
2>/dev
/null
8313 if (echo >conf$$.
file) 2>/dev
/null
; then
8314 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8316 # ... but there are two gotchas:
8317 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8318 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8319 # In both cases, we have to default to `cp -pR'.
8320 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
8322 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8330 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
8331 rmdir conf$$.dir
2>/dev
/null
8336 # Create "$as_dir" as a directory, including parents if necessary.
8341 -*) as_dir
=.
/$as_dir;;
8343 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
8347 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8348 *) as_qdir
=$as_dir;;
8350 as_dirs
="'$as_qdir' $as_dirs"
8351 as_dir
=`$as_dirname -- "$as_dir" ||
8352 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8353 X"$as_dir" : 'X\(//\)[^/]' \| \
8354 X"$as_dir" : 'X\(//\)$' \| \
8355 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8356 $as_echo X"$as_dir" |
8357 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8374 test -d "$as_dir" && break
8376 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
8377 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
8381 if mkdir
-p .
2>/dev
/null
; then
8382 as_mkdir_p
='mkdir -p "$as_dir"'
8384 test -d .
/-p && rmdir .
/-p
8389 # as_fn_executable_p FILE
8390 # -----------------------
8391 # Test if FILE is an executable regular file.
8392 as_fn_executable_p
()
8394 test -f "$1" && test -x "$1"
8395 } # as_fn_executable_p
8397 as_executable_p
=as_fn_executable_p
8399 # Sed expression to map a string onto a valid CPP name.
8400 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8402 # Sed expression to map a string onto a valid variable name.
8403 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8407 ## ----------------------------------- ##
8408 ## Main body of $CONFIG_STATUS script. ##
8409 ## ----------------------------------- ##
8411 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
8413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8414 # Save the log message, to keep $0 and so on meaningful, and to
8415 # report actual input values of CONFIG_FILES etc. instead of their
8416 # values after options handling.
8418 This file was extended by $as_me, which was
8419 generated by GNU Autoconf 2.69. Invocation command line was
8421 CONFIG_FILES = $CONFIG_FILES
8422 CONFIG_HEADERS = $CONFIG_HEADERS
8423 CONFIG_LINKS = $CONFIG_LINKS
8424 CONFIG_COMMANDS = $CONFIG_COMMANDS
8427 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8432 case $ac_config_files in *"
8433 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
8436 case $ac_config_headers in *"
8437 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
8441 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8442 # Files that config.status was made for.
8443 config_files="$ac_config_files"
8444 config_headers="$ac_config_headers"
8445 config_commands="$ac_config_commands"
8449 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8451 \`$as_me' instantiates files and other configuration actions
8452 from templates according to the current configuration. Unless the files
8453 and actions are specified as TAGs, all are instantiated by default.
8455 Usage: $0 [OPTION]... [TAG]...
8457 -h, --help print this help, then exit
8458 -V, --version print version number and configuration settings, then exit
8459 --config print configuration, then exit
8460 -q, --quiet, --silent
8461 do not print progress messages
8462 -d, --debug don't remove temporary files
8463 --recheck update $as_me by reconfiguring in the same conditions
8464 --file=FILE[:TEMPLATE]
8465 instantiate the configuration file FILE
8466 --header=FILE[:TEMPLATE]
8467 instantiate the configuration header FILE
8469 Configuration files:
8472 Configuration headers:
8475 Configuration commands:
8478 Report bugs to the package provider."
8481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8482 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8485 configured by $0, generated by GNU Autoconf 2.69,
8486 with options \\"\$ac_cs_config\\"
8488 Copyright (C) 2012 Free Software Foundation, Inc.
8489 This config.status script is free software; the Free Software Foundation
8490 gives unlimited permission to copy, distribute and modify it."
8495 test -n "\$AWK" || AWK=awk
8498 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8499 # The default lists apply if the user does not specify any file.
8505 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8506 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
8510 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8522 # Handling of the options.
8523 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8525 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
8526 $as_echo "$ac_cs_version"; exit ;;
8527 --config |
--confi |
--conf |
--con |
--co |
--c )
8528 $as_echo "$ac_cs_config"; exit ;;
8529 --debug |
--debu |
--deb |
--de |
--d |
-d )
8531 --file |
--fil |
--fi |
--f )
8534 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8535 '') as_fn_error $?
"missing file argument" ;;
8537 as_fn_append CONFIG_FILES
" '$ac_optarg'"
8538 ac_need_defaults
=false
;;
8539 --header |
--heade |
--head |
--hea )
8542 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8544 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
8545 ac_need_defaults
=false
;;
8547 # Conflict between --help and --header
8548 as_fn_error $?
"ambiguous option: \`$1'
8549 Try \`$0 --help' for more information.";;
8550 --help |
--hel |
-h )
8551 $as_echo "$ac_cs_usage"; exit ;;
8552 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8553 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8557 -*) as_fn_error $?
"unrecognized option: \`$1'
8558 Try \`$0 --help' for more information." ;;
8560 *) as_fn_append ac_config_targets
" $1"
8561 ac_need_defaults
=false
;;
8567 ac_configure_extra_args
=
8569 if $ac_cs_silent; then
8571 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8575 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8576 if \$ac_cs_recheck; then
8577 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8579 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8580 CONFIG_SHELL='$SHELL'
8586 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8590 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8591 ## Running $as_me. ##
8597 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8602 # Handling of arguments.
8603 for ac_config_target
in $ac_config_targets
8605 case $ac_config_target in
8606 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
8607 "build-config.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS build-config.h" ;;
8608 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8609 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
8611 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8616 # If the user did not use the arguments to specify the items to instantiate,
8617 # then the envvar interface is used. Set only those that are not.
8618 # We use the long form for the default assignment because of an extremely
8619 # bizarre bug on SunOS 4.1.3.
8620 if $ac_need_defaults; then
8621 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8622 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8623 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8626 # Have a temporary directory for convenience. Make it in the build tree
8627 # simply because there is no reason against having it here, and in addition,
8628 # creating and moving files from /tmp can sometimes cause problems.
8629 # Hook for its removal unless debugging.
8630 # Note that there is a small window in which the directory will not be cleaned:
8631 # after its creation but before its name has been assigned to `$tmp'.
8635 trap 'exit_status=$?
8637 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8639 trap 'as_fn_exit 1' 1 2 13 15
8641 # Create a (secure) tmp directory for tmp files.
8644 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8648 tmp
=.
/conf$$
-$RANDOM
8649 (umask 077 && mkdir
"$tmp")
8650 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
8653 # Set up the scripts for CONFIG_FILES section.
8654 # No need to generate them if there are no CONFIG_FILES.
8655 # This happens for instance with `./config.status config.h'.
8656 if test -n "$CONFIG_FILES"; then
8659 ac_cr
=`echo X | tr X '\015'`
8660 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8661 # But we know of no other shell where ac_cr would be empty at this
8662 # point, so we can use a bashism as a fallback.
8663 if test "x$ac_cr" = x
; then
8664 eval ac_cr
=\$
\'\\r
\'
8666 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8667 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8673 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8678 echo "cat >conf$$subs.awk <<_ACEOF" &&
8679 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8682 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8683 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8685 for ac_last_try in false false false false false :; do
8686 . ./conf$$subs.sh ||
8687 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8689 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
8690 if test $ac_delim_n = $ac_delim_num; then
8692 elif $ac_last_try; then
8693 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8695 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8700 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8701 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
8705 s/^/S["/; s
/!.
*/"]=/
8715 s/\(.\{148\}\)..*/\1/
8717 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
8722 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8729 s/\(.\{148\}\)..*/\1/
8731 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
8735 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8740 ' <conf$$subs.awk | sed '
8745 ' >>$CONFIG_STATUS || ac_write_fail=1
8746 rm -f conf$$subs.awk
8747 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8749 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
8750 for (key in S) S_is_set[key] = 1
8756 nfields = split(line, field, "@
")
8758 len = length(field[1])
8759 for (i = 2; i < nfields; i++) {
8761 keylen = length(key)
8762 if (S_is_set[key]) {
8764 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8765 len += length(value) + length(field[++i])
8776 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8777 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8778 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
8781 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
8782 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
8785 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8786 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
8787 # trailing colons and then remove the whole line if VPATH becomes empty
8788 # (actually we leave an empty line to preserve line numbers).
8789 if test "x
$srcdir" = x.; then
8790 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8808 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8809 fi # test -n "$CONFIG_FILES"
8811 # Set up the scripts for CONFIG_HEADERS section.
8812 # No need to generate them if there are no CONFIG_HEADERS.
8813 # This happens for instance with `./config.status Makefile'.
8814 if test -n "$CONFIG_HEADERS"; then
8815 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
8819 # Transform confdefs.h into an awk script `defines.awk', embedded as
8820 # here-document in config.status, that substitutes the proper values into
8821 # config.h.in to produce config.h.
8823 # Create a delimiter string that does not exist in confdefs.h, to ease
8824 # handling of long lines.
8826 for ac_last_try in false false :; do
8827 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
8828 if test -z "$ac_tt"; then
8830 elif $ac_last_try; then
8831 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
8833 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8837 # For the awk script, D is an array of macro values keyed by name,
8838 # likewise P contains macro parameters if any. Preserve backslash
8839 # newline sequences.
8841 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8843 s/.\{148\}/&'"$ac_delim"'/g
8846 s/^[ ]*#[ ]*define[ ][ ]*/ /
8853 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
8855 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
8859 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
8860 D["\
1"]=" \
3\\\\\\n
"\\/p
8862 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
8867 s/.\{148\}/&'"$ac_delim"'/g
8872 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
8875 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
8877 ' <confdefs.h | sed '
8878 s/'"$ac_delim"'/"\\\
8879 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8881 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8882 for (key in D) D_is_set[key] = 1
8885 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8887 split(line, arg, " ")
8888 if (arg[1] == "#") {
8892 defundef
= substr
(arg
[1], 2)
8895 split(mac1
, mac2
, "(") #)
8897 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
8898 if (D_is_set
[macro
]) {
8899 # Preserve the white space surrounding the "#".
8900 print prefix
"define", macro P
[macro
] D
[macro
]
8903 # Replace #undef with comments. This is necessary, for example,
8904 # in the case of _POSIX_SOURCE, which is predefined and required
8905 # on some systems where configure will not decide to define it.
8906 if (defundef
== "undef") {
8907 print
"/*", prefix defundef
, macro
, "*/"
8915 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8916 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
8917 fi # test -n "$CONFIG_HEADERS"
8920 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8925 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8927 case $ac_mode$ac_tag in
8929 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
8930 :[FH
]-) ac_tag
=-:-;;
8931 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8948 -) ac_f
="$ac_tmp/stdin";;
8949 *) # Look for the file first in the build tree, then in the source tree
8950 # (if the path is not absolute). The absolute path cannot be DOS-style,
8951 # because $ac_f cannot contain `:'.
8955 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8957 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8959 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8960 as_fn_append ac_file_inputs
" '$ac_f'"
8963 # Let's still pretend it is `configure' which instantiates (i.e., don't
8964 # use $as_me), people would be surprised to read:
8965 # /* config.h. Generated by config.status. */
8966 configure_input
='Generated from '`
8967 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8969 if test x
"$ac_file" != x-
; then
8970 configure_input
="$ac_file. $configure_input"
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8972 $as_echo "$as_me: creating $ac_file" >&6;}
8974 # Neutralize special characters interpreted by sed in replacement strings.
8975 case $configure_input in #(
8976 *\
&* |
*\|
* |
*\\* )
8977 ac_sed_conf_input
=`$as_echo "$configure_input" |
8978 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8979 *) ac_sed_conf_input
=$configure_input;;
8983 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
8984 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
8989 ac_dir
=`$as_dirname -- "$ac_file" ||
8990 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8991 X"$ac_file" : 'X\(//\)[^/]' \| \
8992 X"$ac_file" : 'X\(//\)$' \| \
8993 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8994 $as_echo X"$ac_file" |
8995 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9012 as_dir
="$ac_dir"; as_fn_mkdir_p
9016 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9018 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9019 # A ".." for each directory in $ac_dir_suffix.
9020 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9021 case $ac_top_builddir_sub in
9022 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9023 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9026 ac_abs_top_builddir
=$ac_pwd
9027 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9028 # for backward compatibility:
9029 ac_top_builddir
=$ac_top_build_prefix
9032 .
) # We are building in place.
9034 ac_top_srcdir
=$ac_top_builddir_sub
9035 ac_abs_top_srcdir
=$ac_pwd ;;
9036 [\\/]* | ?
:[\\/]* ) # Absolute name.
9037 ac_srcdir
=$srcdir$ac_dir_suffix;
9038 ac_top_srcdir
=$srcdir
9039 ac_abs_top_srcdir
=$srcdir ;;
9041 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9042 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9043 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9045 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9055 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9056 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
9060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9061 # If the template does not know about datarootdir, expand it.
9062 # FIXME: This hack should be removed a few years after 2.60.
9063 ac_datarootdir_hack
=; ac_datarootdir_seen
=
9074 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9075 *datarootdir
*) ac_datarootdir_seen
=yes;;
9076 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9078 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9080 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9081 ac_datarootdir_hack='
9082 s&@datadir@&$datadir&g
9083 s&@docdir@&$docdir&g
9084 s&@infodir@&$infodir&g
9085 s&@localedir@&$localedir&g
9086 s&@mandir@&$mandir&g
9087 s&\\\${datarootdir}&$datarootdir&g' ;;
9091 # Neutralize VPATH when `$srcdir' = `.'.
9092 # Shell code in configure.ac might set extrasub.
9093 # FIXME: do we really want to maintain this feature?
9094 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9095 ac_sed_extra="$ac_vpsub
9098 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9100 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9101 s|@configure_input@|
$ac_sed_conf_input|
;t t
9102 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
9103 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
9104 s
&@srcdir@
&$ac_srcdir&;t t
9105 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
9106 s
&@top_srcdir@
&$ac_top_srcdir&;t t
9107 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
9108 s
&@builddir@
&$ac_builddir&;t t
9109 s
&@abs_builddir@
&$ac_abs_builddir&;t t
9110 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
9111 s
&@INSTALL@
&$ac_INSTALL&;t t
9112 $ac_datarootdir_hack
9114 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
9115 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
9117 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9118 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
9119 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
9120 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
9122 which seems to be undefined. Please make sure it is defined" >&5
9123 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
9124 which seems to be undefined. Please make sure it is defined" >&2;}
9126 rm -f "$ac_tmp/stdin"
9128 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9129 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9131 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9137 if test x"$ac_file" != x-; then
9139 $as_echo "/* $configure_input */" \
9140 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9141 } >"$ac_tmp/config.h" \
9142 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9143 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9145 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9148 mv "$ac_tmp/config.h" "$ac_file" \
9149 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9152 $as_echo "/* $configure_input */" \
9153 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9154 || as_fn_error $? "could not create -" "$LINENO" 5
9158 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9159 $as_echo "$as_me: executing $ac_file commands" >&6;}
9164 case $ac_file$ac_mode in
9165 "build-config.h":C) cp config.h build-config.h ;;
9166 "default":C) case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac ;;
9174 ac_clean_files=$ac_clean_files_save
9176 test $ac_write_fail = 0 ||
9177 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
9180 # configure is writing to config.log, and then calls config.status.
9181 # config.status does its own redirection, appending to config.log.
9182 # Unfortunately, on DOS this fails, as config.log is still kept open
9183 # by configure, so config.status won't be able to
write to it
; its
9184 # output is simply discarded. So we exec the FD to /dev/null,
9185 # effectively closing config.log, so it can be properly (re)opened and
9186 # appended to by config.status. When coming back to configure, we
9187 # need to make the FD available again.
9188 if test "$no_create" != yes; then
9190 ac_config_status_args
=
9191 test "$silent" = yes &&
9192 ac_config_status_args
="$ac_config_status_args --quiet"
9194 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9196 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9197 # would make configure fail if this is the last instruction.
9198 $ac_cs_success || as_fn_exit
1
9200 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9202 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}