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
740 program_transform_name
753 enable_option_checking
758 enable_sim_decode_mechanism
759 enable_sim_default_model
766 enable_sim_hostbitsize
767 enable_sim_hostendian
773 enable_sim_model_issue
777 enable_sim_reserved_bits
784 enable_sim_xor_endian
790 ac_precious_vars
='build_alias
801 # Initialize some variables set by options.
803 ac_init_version
=false
804 ac_unrecognized_opts
=
806 # The variables have the same names as the options, with
807 # dashes changed to underlines.
815 program_transform_name
=s
,x
,x
,
823 # Installation directory options.
824 # These are left unexpanded so users can "make install exec_prefix=/foo"
825 # and all the variables that are supposed to be based on exec_prefix
826 # by default will actually change.
827 # Use braces instead of parens because sh, perl, etc. also accept them.
828 # (The list follows the same order as the GNU Coding Standards.)
829 bindir
='${exec_prefix}/bin'
830 sbindir
='${exec_prefix}/sbin'
831 libexecdir
='${exec_prefix}/libexec'
832 datarootdir
='${prefix}/share'
833 datadir
='${datarootdir}'
834 sysconfdir
='${prefix}/etc'
835 sharedstatedir
='${prefix}/com'
836 localstatedir
='${prefix}/var'
837 includedir
='${prefix}/include'
838 oldincludedir
='/usr/include'
839 docdir
='${datarootdir}/doc/${PACKAGE}'
840 infodir
='${datarootdir}/info'
845 libdir
='${exec_prefix}/lib'
846 localedir
='${datarootdir}/locale'
847 mandir
='${datarootdir}/man'
853 # If the previous option needs an argument, assign it.
854 if test -n "$ac_prev"; then
855 eval $ac_prev=\
$ac_option
861 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
866 # Accept the important Cygnus configure options, so we can diagnose typos.
868 case $ac_dashdash$ac_option in
872 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
874 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
877 -build |
--build |
--buil |
--bui |
--bu)
878 ac_prev
=build_alias
;;
879 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
880 build_alias
=$ac_optarg ;;
882 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
883 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
884 ac_prev
=cache_file
;;
885 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
886 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
887 cache_file
=$ac_optarg ;;
890 cache_file
=config.cache
;;
892 -datadir |
--datadir |
--datadi |
--datad)
894 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
895 datadir
=$ac_optarg ;;
897 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
898 |
--dataroo |
--dataro |
--datar)
899 ac_prev
=datarootdir
;;
900 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
901 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
902 datarootdir
=$ac_optarg ;;
904 -disable-* |
--disable-*)
905 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
906 # Reject names that are not valid shell variable names.
907 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
908 as_fn_error $?
"invalid feature name: $ac_useropt"
909 ac_useropt_orig
=$ac_useropt
910 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
911 case $ac_user_opts in
915 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
916 ac_unrecognized_sep
=', ';;
918 eval enable_
$ac_useropt=no
;;
920 -docdir |
--docdir |
--docdi |
--doc |
--do)
922 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
925 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
927 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
930 -enable-* |
--enable-*)
931 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
932 # Reject names that are not valid shell variable names.
933 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
934 as_fn_error $?
"invalid feature name: $ac_useropt"
935 ac_useropt_orig
=$ac_useropt
936 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
937 case $ac_user_opts in
941 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
942 ac_unrecognized_sep
=', ';;
944 eval enable_
$ac_useropt=\
$ac_optarg ;;
946 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
947 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
948 |
--exec |
--exe |
--ex)
949 ac_prev
=exec_prefix
;;
950 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
951 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
952 |
--exec=* |
--exe=* |
--ex=*)
953 exec_prefix
=$ac_optarg ;;
955 -gas |
--gas |
--ga |
--g)
956 # Obsolete; use --with-gas.
959 -help |
--help |
--hel |
--he |
-h)
961 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
962 ac_init_help
=recursive
;;
963 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
964 ac_init_help
=short
;;
966 -host |
--host |
--hos |
--ho)
967 ac_prev
=host_alias
;;
968 -host=* |
--host=* |
--hos=* |
--ho=*)
969 host_alias
=$ac_optarg ;;
971 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
973 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
975 htmldir
=$ac_optarg ;;
977 -includedir |
--includedir |
--includedi |
--included |
--include \
978 |
--includ |
--inclu |
--incl |
--inc)
979 ac_prev
=includedir
;;
980 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
981 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
982 includedir
=$ac_optarg ;;
984 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
986 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
987 infodir
=$ac_optarg ;;
989 -libdir |
--libdir |
--libdi |
--libd)
991 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
994 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
995 |
--libexe |
--libex |
--libe)
996 ac_prev
=libexecdir
;;
997 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
998 |
--libexe=* |
--libex=* |
--libe=*)
999 libexecdir
=$ac_optarg ;;
1001 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1002 ac_prev
=localedir
;;
1003 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1004 localedir
=$ac_optarg ;;
1006 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1007 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1008 ac_prev
=localstatedir
;;
1009 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1010 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1011 localstatedir
=$ac_optarg ;;
1013 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1015 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1016 mandir
=$ac_optarg ;;
1018 -nfp |
--nfp |
--nf)
1019 # Obsolete; use --without-fp.
1022 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1023 |
--no-cr |
--no-c |
-n)
1026 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1027 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1030 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1031 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1032 |
--oldin |
--oldi |
--old |
--ol |
--o)
1033 ac_prev
=oldincludedir
;;
1034 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1035 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1036 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1037 oldincludedir
=$ac_optarg ;;
1039 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1041 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1042 prefix
=$ac_optarg ;;
1044 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1045 |
--program-pre |
--program-pr |
--program-p)
1046 ac_prev
=program_prefix
;;
1047 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1048 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1049 program_prefix
=$ac_optarg ;;
1051 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1052 |
--program-suf |
--program-su |
--program-s)
1053 ac_prev
=program_suffix
;;
1054 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1055 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1056 program_suffix
=$ac_optarg ;;
1058 -program-transform-name |
--program-transform-name \
1059 |
--program-transform-nam |
--program-transform-na \
1060 |
--program-transform-n |
--program-transform- \
1061 |
--program-transform |
--program-transfor \
1062 |
--program-transfo |
--program-transf \
1063 |
--program-trans |
--program-tran \
1064 |
--progr-tra |
--program-tr |
--program-t)
1065 ac_prev
=program_transform_name
;;
1066 -program-transform-name=* |
--program-transform-name=* \
1067 |
--program-transform-nam=* |
--program-transform-na=* \
1068 |
--program-transform-n=* |
--program-transform-=* \
1069 |
--program-transform=* |
--program-transfor=* \
1070 |
--program-transfo=* |
--program-transf=* \
1071 |
--program-trans=* |
--program-tran=* \
1072 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1073 program_transform_name
=$ac_optarg ;;
1075 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1077 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1078 pdfdir
=$ac_optarg ;;
1080 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1082 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1085 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1086 |
-silent |
--silent |
--silen |
--sile |
--sil)
1089 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1091 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1093 sbindir
=$ac_optarg ;;
1095 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1096 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1097 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1099 ac_prev
=sharedstatedir
;;
1100 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1101 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1102 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1104 sharedstatedir
=$ac_optarg ;;
1106 -site |
--site |
--sit)
1108 -site=* |
--site=* |
--sit=*)
1111 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1113 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1114 srcdir
=$ac_optarg ;;
1116 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1117 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1118 ac_prev
=sysconfdir
;;
1119 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1120 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1121 sysconfdir
=$ac_optarg ;;
1123 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1124 ac_prev
=target_alias
;;
1125 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1126 target_alias
=$ac_optarg ;;
1128 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1131 -version |
--version |
--versio |
--versi |
--vers |
-V)
1132 ac_init_version
=: ;;
1135 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1136 # Reject names that are not valid shell variable names.
1137 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1138 as_fn_error $?
"invalid package name: $ac_useropt"
1139 ac_useropt_orig
=$ac_useropt
1140 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1141 case $ac_user_opts in
1145 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1146 ac_unrecognized_sep
=', ';;
1148 eval with_
$ac_useropt=\
$ac_optarg ;;
1150 -without-* |
--without-*)
1151 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1152 # Reject names that are not valid shell variable names.
1153 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1154 as_fn_error $?
"invalid package name: $ac_useropt"
1155 ac_useropt_orig
=$ac_useropt
1156 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1157 case $ac_user_opts in
1161 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1162 ac_unrecognized_sep
=', ';;
1164 eval with_
$ac_useropt=no
;;
1167 # Obsolete; use --with-x.
1170 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1171 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1172 ac_prev
=x_includes
;;
1173 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1174 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1175 x_includes
=$ac_optarg ;;
1177 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1178 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1179 ac_prev
=x_libraries
;;
1180 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1181 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1182 x_libraries
=$ac_optarg ;;
1184 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1185 Try \`$0 --help' for more information"
1189 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1190 # Reject names that are not valid shell variable names.
1191 case $ac_envvar in #(
1192 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1193 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1195 eval $ac_envvar=\
$ac_optarg
1196 export $ac_envvar ;;
1199 # FIXME: should be removed in autoconf 3.0.
1200 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1201 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1202 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1203 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1209 if test -n "$ac_prev"; then
1210 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1211 as_fn_error $?
"missing argument to $ac_option"
1214 if test -n "$ac_unrecognized_opts"; then
1215 case $enable_option_checking in
1217 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1218 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1222 # Check all directory arguments for consistency.
1223 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1224 datadir sysconfdir sharedstatedir localstatedir includedir \
1225 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1226 libdir localedir mandir
1228 eval ac_val
=\$
$ac_var
1229 # Remove trailing slashes.
1232 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1233 eval $ac_var=\
$ac_val;;
1235 # Be sure to have absolute directory names.
1237 [\\/$
]* | ?
:[\\/]* ) continue;;
1238 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1240 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1243 # There might be people who depend on the old broken behavior: `$host'
1244 # used to hold the argument of --host etc.
1245 # FIXME: To remove some day.
1248 target
=$target_alias
1250 # FIXME: To remove some day.
1251 if test "x$host_alias" != x
; then
1252 if test "x$build_alias" = x
; then
1253 cross_compiling
=maybe
1254 elif test "x$build_alias" != "x$host_alias"; then
1260 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1262 test "$silent" = yes && exec 6>/dev
/null
1265 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1266 ac_ls_di
=`ls -di .` &&
1267 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1268 as_fn_error $?
"working directory cannot be determined"
1269 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1270 as_fn_error $?
"pwd does not report name of working directory"
1273 # Find the source files, if location was not specified.
1274 if test -z "$srcdir"; then
1275 ac_srcdir_defaulted
=yes
1276 # Try the directory containing this script, then the parent directory.
1277 ac_confdir
=`$as_dirname -- "$as_myself" ||
1278 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1279 X"$as_myself" : 'X\(//\)[^/]' \| \
1280 X"$as_myself" : 'X\(//\)$' \| \
1281 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1282 $as_echo X"$as_myself" |
1283 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1301 if test ! -r "$srcdir/$ac_unique_file"; then
1305 ac_srcdir_defaulted
=no
1307 if test ! -r "$srcdir/$ac_unique_file"; then
1308 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1309 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1311 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1313 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1315 # When building in place, set srcdir=.
1316 if test "$ac_abs_confdir" = "$ac_pwd"; then
1319 # Remove unnecessary trailing slashes from srcdir.
1320 # Double slashes in file names in object file debugging info
1321 # mess up M-x gdb in Emacs.
1323 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1325 for ac_var
in $ac_precious_vars; do
1326 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1327 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1328 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1329 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1333 # Report the --help message.
1335 if test "$ac_init_help" = "long"; then
1336 # Omit some internal or obsolete options to make the list less imposing.
1337 # This message is too long to be a string in the A/UX 3.1 sh.
1339 \`configure' configures this package to adapt to many kinds of systems.
1341 Usage: $0 [OPTION]... [VAR=VALUE]...
1343 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1344 VAR=VALUE. See below for descriptions of some of the useful variables.
1346 Defaults for the options are specified in brackets.
1349 -h, --help display this help and exit
1350 --help=short display options specific to this package
1351 --help=recursive display the short help of all the included packages
1352 -V, --version display version information and exit
1353 -q, --quiet, --silent do not print \`checking ...' messages
1354 --cache-file=FILE cache test results in FILE [disabled]
1355 -C, --config-cache alias for \`--cache-file=config.cache'
1356 -n, --no-create do not create output files
1357 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1359 Installation directories:
1360 --prefix=PREFIX install architecture-independent files in PREFIX
1361 [$ac_default_prefix]
1362 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1365 By default, \`make install' will install all the files in
1366 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1367 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1368 for instance \`--prefix=\$HOME'.
1370 For better control, use the options below.
1372 Fine tuning of the installation directories:
1373 --bindir=DIR user executables [EPREFIX/bin]
1374 --sbindir=DIR system admin executables [EPREFIX/sbin]
1375 --libexecdir=DIR program executables [EPREFIX/libexec]
1376 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1377 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1378 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1379 --libdir=DIR object code libraries [EPREFIX/lib]
1380 --includedir=DIR C header files [PREFIX/include]
1381 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1382 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1383 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1384 --infodir=DIR info documentation [DATAROOTDIR/info]
1385 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1386 --mandir=DIR man documentation [DATAROOTDIR/man]
1387 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1388 --htmldir=DIR html documentation [DOCDIR]
1389 --dvidir=DIR dvi documentation [DOCDIR]
1390 --pdfdir=DIR pdf documentation [DOCDIR]
1391 --psdir=DIR ps documentation [DOCDIR]
1397 --program-prefix=PREFIX prepend PREFIX to installed program names
1398 --program-suffix=SUFFIX append SUFFIX to installed program names
1399 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1402 --build=BUILD configure
for building on BUILD
[guessed
]
1403 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1404 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1408 if test -n "$ac_init_help"; then
1413 --disable-option-checking ignore unrecognized
--enable/--with options
1414 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1415 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1416 --enable-sim-alignment=align Specify strict or nonstrict alignment.
1417 --enable-sim-assert Specify whether to perform random assertions.
1418 --enable-sim-bitsize=n Specify target bitsize
(32 or
64).
1419 --enable-sim-config=file Override default config
file
1420 --enable-sim-decode-mechanism=which Specify the instruction decode mechanism.
1421 --enable-sim-default-model=which Specify default PowerPC to model.
1422 --enable-sim-duplicate Expand
(duplicate
) semantic functions.
1423 --enable-sim-endian=endian Specify target byte endian orientation.
1424 --enable-sim-env=env Specify target environment
(operating
, virtual
, user
).
1425 --enable-sim-filter=rule Specify filter rules.
1426 --enable-sim-float Specify whether the target has hard
, soft
, altivec or e500 floating point.
1427 --enable-sim-hardware=list Specify the hardware to be included
in the build.
1428 --enable-sim-hostbitsize=32|
64 Specify
host bitsize
(32 or
64).
1429 --enable-sim-hostendian=end Specify
host byte endian orientation.
1430 --enable-sim-icache=size Specify instruction-decode cache size and
type.
1431 --enable-sim-inline=inlines Specify
which functions should be inlined.
1432 --enable-sim-jump Jump between semantic code
(instead of
call
/return).
1433 --enable-sim-line-nr=opts Generate extra CPP code that references
source rather than generated code
1434 --enable-sim-model=which Specify PowerPC to model.
1435 --enable-sim-model-issue Specify whether to simulate model specific actions
1436 --enable-sim-monitor=mon Specify whether to
enable monitoring events.
1437 --enable-sim-opcode=which Override default opcode lookup.
1438 --enable-sim-packages=list Specify the packages to be included
in the build.
1439 --enable-sim-reserved-bits Specify whether to check reserved bits
in instruction.
1440 --enable-sim-smp=n Specify number of processors to configure
for.
1441 --enable-sim-stdio Specify whether to use stdio
for console input
/output.
1442 --enable-sim-switch Use a switch instead of a table
for instruction call.
1443 --enable-sim-timebase Specify whether the PPC timebase is supported.
1444 --enable-sim-trace Specify whether tracing is supported.
1445 --enable-sim-warnings=opts Extra CFLAGS
for turning on compiler warnings except
for idecode.o
, semantics.o and psim.o
1446 --enable-sim-xor-endian=n Specify number bytes involved
in PowerPC XOR bi-endian mode
(default
8).
1447 --enable-plugins Enable support
for plugins
1450 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1451 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1452 --with-pkgversion=PKG Use PKG
in the version string
in place of
"GDB"
1453 --with-bugurl=URL Direct users to URL to report a bug
1454 --with-system-zlib use installed libz
1456 Some influential environment variables
:
1457 CC C compiler
command
1458 CFLAGS C compiler flags
1459 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1460 nonstandard directory
<lib dir
>
1461 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1462 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1463 you have headers
in a nonstandard directory
<include dir
>
1466 Use these variables to override the choices made by
`configure' or to help
1467 it to find libraries and programs with nonstandard names/locations.
1469 Report bugs to the package provider.
1474 if test "$ac_init_help" = "recursive"; then
1475 # If there are subdirs, report their specific --help.
1476 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1477 test -d "$ac_dir" ||
1478 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1483 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1485 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1486 # A ".." for each directory in $ac_dir_suffix.
1487 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1488 case $ac_top_builddir_sub in
1489 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1490 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1493 ac_abs_top_builddir=$ac_pwd
1494 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1495 # for backward compatibility:
1496 ac_top_builddir=$ac_top_build_prefix
1499 .) # We are building in place.
1501 ac_top_srcdir=$ac_top_builddir_sub
1502 ac_abs_top_srcdir=$ac_pwd ;;
1503 [\\/]* | ?:[\\/]* ) # Absolute name.
1504 ac_srcdir=$srcdir$ac_dir_suffix;
1505 ac_top_srcdir=$srcdir
1506 ac_abs_top_srcdir=$srcdir ;;
1508 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1509 ac_top_srcdir=$ac_top_build_prefix$srcdir
1510 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1512 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1514 cd "$ac_dir" || { ac_status=$?; continue; }
1515 # Check for guested configure.
1516 if test -f "$ac_srcdir/configure.gnu"; then
1518 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1519 elif test -f "$ac_srcdir/configure"; then
1521 $SHELL "$ac_srcdir/configure" --help=recursive
1523 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1525 cd "$ac_pwd" || { ac_status=$?; break; }
1529 test -n "$ac_init_help" && exit $ac_status
1530 if $ac_init_version; then
1533 generated by GNU Autoconf 2.69
1535 Copyright (C) 2012 Free Software Foundation, Inc.
1536 This configure script is free software; the Free Software Foundation
1537 gives unlimited permission to copy, distribute and modify it.
1542 ## ------------------------ ##
1543 ## Autoconf initialization. ##
1544 ## ------------------------ ##
1546 # ac_fn_c_try_compile LINENO
1547 # --------------------------
1548 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1549 ac_fn_c_try_compile ()
1551 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1552 rm -f conftest.$ac_objext
1553 if { { ac_try="$ac_compile"
1555 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1556 *) ac_try_echo
=$ac_try;;
1558 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1559 $as_echo "$ac_try_echo"; } >&5
1560 (eval "$ac_compile") 2>conftest.err
1562 if test -s conftest.err
; then
1563 grep -v '^ *+' conftest.err
>conftest.er1
1564 cat conftest.er1
>&5
1565 mv -f conftest.er1 conftest.err
1567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1568 test $ac_status = 0; } && {
1569 test -z "$ac_c_werror_flag" ||
1570 test ! -s conftest.err
1571 } && test -s conftest.
$ac_objext; then :
1574 $as_echo "$as_me: failed program was:" >&5
1575 sed 's/^/| /' conftest.
$ac_ext >&5
1579 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1580 as_fn_set_status
$ac_retval
1582 } # ac_fn_c_try_compile
1584 # ac_fn_c_try_run LINENO
1585 # ----------------------
1586 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1587 # that executables *can* be run.
1590 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1591 if { { ac_try
="$ac_link"
1593 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1594 *) ac_try_echo=$ac_try;;
1596 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1597 $as_echo "$ac_try_echo"; } >&5
1598 (eval "$ac_link") 2>&5
1600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1601 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1602 { { case "(($ac_try" in
1603 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1604 *) ac_try_echo
=$ac_try;;
1606 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1607 $as_echo "$ac_try_echo"; } >&5
1608 (eval "$ac_try") 2>&5
1610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1611 test $ac_status = 0; }; }; then :
1614 $as_echo "$as_me: program exited with status $ac_status" >&5
1615 $as_echo "$as_me: failed program was:" >&5
1616 sed 's/^/| /' conftest.
$ac_ext >&5
1618 ac_retval
=$ac_status
1620 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1621 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1622 as_fn_set_status
$ac_retval
1626 # ac_fn_c_try_cpp LINENO
1627 # ----------------------
1628 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1631 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1632 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1634 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1635 *) ac_try_echo=$ac_try;;
1637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1638 $as_echo "$ac_try_echo"; } >&5
1639 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1641 if test -s conftest.err; then
1642 grep -v '^ *+' conftest.err >conftest.er1
1643 cat conftest.er1 >&5
1644 mv -f conftest.er1 conftest.err
1646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1647 test $ac_status = 0; } > conftest.i && {
1648 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1649 test ! -s conftest.err
1653 $as_echo "$as_me: failed program was:" >&5
1654 sed 's/^/| /' conftest.$ac_ext >&5
1658 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1659 as_fn_set_status $ac_retval
1663 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1664 # -------------------------------------------------------
1665 # Tests whether HEADER exists and can be compiled using the include files in
1666 # INCLUDES, setting the cache variable VAR accordingly.
1667 ac_fn_c_check_header_compile ()
1669 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1671 $as_echo_n "checking for $2... " >&6; }
1672 if eval \${$3+:} false; then :
1673 $as_echo_n "(cached) " >&6
1675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1676 /* end confdefs.h. */
1680 if ac_fn_c_try_compile "$LINENO"; then :
1685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1689 $as_echo "$ac_res" >&6; }
1690 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1692 } # ac_fn_c_check_header_compile
1694 # ac_fn_c_try_link LINENO
1695 # -----------------------
1696 # Try to link conftest.$ac_ext, and return whether this succeeded.
1699 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1700 rm -f conftest.$ac_objext conftest$ac_exeext
1701 if { { ac_try="$ac_link"
1703 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1704 *) ac_try_echo
=$ac_try;;
1706 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1707 $as_echo "$ac_try_echo"; } >&5
1708 (eval "$ac_link") 2>conftest.err
1710 if test -s conftest.err
; then
1711 grep -v '^ *+' conftest.err
>conftest.er1
1712 cat conftest.er1
>&5
1713 mv -f conftest.er1 conftest.err
1715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1716 test $ac_status = 0; } && {
1717 test -z "$ac_c_werror_flag" ||
1718 test ! -s conftest.err
1719 } && test -s conftest
$ac_exeext && {
1720 test "$cross_compiling" = yes ||
1721 test -x conftest
$ac_exeext
1725 $as_echo "$as_me: failed program was:" >&5
1726 sed 's/^/| /' conftest.
$ac_ext >&5
1730 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1731 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1732 # interfere with the next link command; also delete a directory that is
1733 # left behind by Apple's compiler. We do this before executing the actions.
1734 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1736 as_fn_set_status
$ac_retval
1738 } # ac_fn_c_try_link
1740 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1741 # ----------------------------------------------------
1742 # Tries to find if the field MEMBER exists in type AGGR, after including
1743 # INCLUDES, setting cache variable VAR accordingly.
1744 ac_fn_c_check_member
()
1746 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1748 $as_echo_n "checking for $2.$3... " >&6; }
1749 if eval \
${$4+:} false
; then :
1750 $as_echo_n "(cached) " >&6
1752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1753 /* end confdefs.h. */
1765 if ac_fn_c_try_compile
"$LINENO"; then :
1768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1769 /* end confdefs.h. */
1775 if (sizeof ac_aggr.$3)
1781 if ac_fn_c_try_compile
"$LINENO"; then :
1786 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1788 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1792 $as_echo "$ac_res" >&6; }
1793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1795 } # ac_fn_c_check_member
1797 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1798 # ---------------------------------------------
1799 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1801 ac_fn_c_check_decl
()
1803 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1804 as_decl_name
=`echo $2|sed 's/ *(.*//'`
1805 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1807 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1808 if eval \
${$3+:} false
; then :
1809 $as_echo_n "(cached) " >&6
1811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1812 /* end confdefs.h. */
1817 #ifndef $as_decl_name
1819 (void) $as_decl_use;
1821 (void) $as_decl_name;
1829 if ac_fn_c_try_compile
"$LINENO"; then :
1834 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1838 $as_echo "$ac_res" >&6; }
1839 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1841 } # ac_fn_c_check_decl
1843 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1844 # -------------------------------------------
1845 # Tests whether TYPE exists after having included INCLUDES, setting cache
1846 # variable VAR accordingly.
1847 ac_fn_c_check_type
()
1849 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1851 $as_echo_n "checking for $2... " >&6; }
1852 if eval \
${$3+:} false
; then :
1853 $as_echo_n "(cached) " >&6
1856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1857 /* end confdefs.h. */
1868 if ac_fn_c_try_compile
"$LINENO"; then :
1869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1870 /* end confdefs.h. */
1881 if ac_fn_c_try_compile
"$LINENO"; then :
1886 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1888 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1892 $as_echo "$ac_res" >&6; }
1893 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1895 } # ac_fn_c_check_type
1897 # ac_fn_c_check_func LINENO FUNC VAR
1898 # ----------------------------------
1899 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1900 ac_fn_c_check_func
()
1902 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1904 $as_echo_n "checking for $2... " >&6; }
1905 if eval \
${$3+:} false
; then :
1906 $as_echo_n "(cached) " >&6
1908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1909 /* end confdefs.h. */
1910 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1912 #define $2 innocuous_$2
1914 /* System header to define __stub macros and hopefully few prototypes,
1915 which can conflict with char $2 (); below.
1916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1917 <limits.h> exists even on freestanding compilers. */
1920 # include <limits.h>
1922 # include <assert.h>
1927 /* Override any GCC internal prototype to avoid an error.
1928 Use char because int might match the return type of a GCC
1929 builtin and then its argument prototype would still apply. */
1934 /* The GNU C library defines this for functions which it implements
1935 to always fail with ENOSYS. Some functions are actually named
1936 something starting with __ and the normal name is an alias. */
1937 #if defined __stub_$2 || defined __stub___$2
1949 if ac_fn_c_try_link
"$LINENO"; then :
1954 rm -f core conftest.err conftest.
$ac_objext \
1955 conftest
$ac_exeext conftest.
$ac_ext
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1959 $as_echo "$ac_res" >&6; }
1960 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1962 } # ac_fn_c_check_func
1964 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1965 # -------------------------------------------------------
1966 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1967 # the include files in INCLUDES and setting the cache variable VAR
1969 ac_fn_c_check_header_mongrel
()
1971 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1972 if eval \
${$3+:} false
; then :
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1974 $as_echo_n "checking for $2... " >&6; }
1975 if eval \
${$3+:} false
; then :
1976 $as_echo_n "(cached) " >&6
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1980 $as_echo "$ac_res" >&6; }
1982 # Is the header compilable?
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1984 $as_echo_n "checking $2 usability... " >&6; }
1985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1986 /* end confdefs.h. */
1990 if ac_fn_c_try_compile
"$LINENO"; then :
1991 ac_header_compiler
=yes
1993 ac_header_compiler
=no
1995 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1997 $as_echo "$ac_header_compiler" >&6; }
1999 # Is the header present?
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2001 $as_echo_n "checking $2 presence... " >&6; }
2002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2003 /* end confdefs.h. */
2006 if ac_fn_c_try_cpp
"$LINENO"; then :
2007 ac_header_preproc
=yes
2009 ac_header_preproc
=no
2011 rm -f conftest.err conftest.i conftest.
$ac_ext
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2013 $as_echo "$ac_header_preproc" >&6; }
2015 # So? What about this header?
2016 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2019 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2021 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2025 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2027 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2029 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2031 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2033 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2037 $as_echo_n "checking for $2... " >&6; }
2038 if eval \
${$3+:} false
; then :
2039 $as_echo_n "(cached) " >&6
2041 eval "$3=\$ac_header_compiler"
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2045 $as_echo "$ac_res" >&6; }
2047 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2049 } # ac_fn_c_check_header_mongrel
2050 cat >config.log
<<_ACEOF
2051 This file contains any messages produced by compilers while
2052 running configure, to aid debugging if configure makes a mistake.
2054 It was created by $as_me, which was
2055 generated by GNU Autoconf 2.69. Invocation command line was
2067 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2068 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2069 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2070 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2071 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2073 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2074 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2076 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2077 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2078 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2079 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2080 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2081 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2082 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2090 test -z "$as_dir" && as_dir
=.
2091 $as_echo "PATH: $as_dir"
2107 # Keep a trace of the command line.
2108 # Strip out --no-create and --no-recursion so they do not pile up.
2109 # Strip out --silent because we don't want to record it for future runs.
2110 # Also quote any args containing shell meta-characters.
2111 # Make two passes to allow for proper duplicate-argument suppression.
2115 ac_must_keep_next
=false
2121 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2122 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2123 |
-silent |
--silent |
--silen |
--sile |
--sil)
2126 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2129 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2131 as_fn_append ac_configure_args1
" '$ac_arg'"
2132 if test $ac_must_keep_next = true
; then
2133 ac_must_keep_next
=false
# Got value, back to normal.
2136 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2137 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2138 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2139 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2140 case "$ac_configure_args0 " in
2141 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2144 -* ) ac_must_keep_next
=true
;;
2147 as_fn_append ac_configure_args
" '$ac_arg'"
2152 { ac_configure_args0
=; unset ac_configure_args0
;}
2153 { ac_configure_args1
=; unset ac_configure_args1
;}
2155 # When interrupted or exit'd, cleanup temporary files, and complete
2156 # config.log. We remove comments because anyway the quotes in there
2157 # would cause problems or look ugly.
2158 # WARNING: Use '\'' to represent an apostrophe within the trap.
2159 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2160 trap 'exit_status=$?
2161 # Save into config.log some information that might help in debugging.
2165 $as_echo "## ---------------- ##
2166 ## Cache variables. ##
2167 ## ---------------- ##"
2169 # The following way of writing the cache mishandles newlines in values,
2171 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2172 eval ac_val=\$$ac_var
2176 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2177 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2180 _ | IFS | as_nl) ;; #(
2181 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2182 *) { eval $ac_var=; unset $ac_var;} ;;
2187 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2188 *${as_nl}ac_space=\ *)
2190 "s/'\''/'\''\\\\'\'''\''/g;
2191 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2194 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2201 $as_echo "## ----------------- ##
2202 ## Output variables. ##
2203 ## ----------------- ##"
2205 for ac_var in $ac_subst_vars
2207 eval ac_val=\$$ac_var
2209 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2211 $as_echo "$ac_var='\''$ac_val'\''"
2215 if test -n "$ac_subst_files"; then
2216 $as_echo "## ------------------- ##
2217 ## File substitutions. ##
2218 ## ------------------- ##"
2220 for ac_var
in $ac_subst_files
2222 eval ac_val
=\$
$ac_var
2224 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2226 $as_echo "$ac_var='\''$ac_val'\''"
2231 if test -s confdefs.h; then
2232 $as_echo "## ----------- ##
2239 test "$ac_signal" != 0 &&
2240 $as_echo "$as_me: caught signal $ac_signal"
2241 $as_echo "$as_me: exit $exit_status"
2243 rm -f core *.core core.conftest.* &&
2244 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2247 for ac_signal
in 1 2 13 15; do
2248 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2252 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2253 rm -f -r conftest
* confdefs.h
2255 $as_echo "/* confdefs.h */" > confdefs.h
2257 # Predefined preprocessor variables.
2259 cat >>confdefs.h
<<_ACEOF
2260 #define PACKAGE_NAME "$PACKAGE_NAME"
2263 cat >>confdefs.h
<<_ACEOF
2264 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2267 cat >>confdefs.h
<<_ACEOF
2268 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2271 cat >>confdefs.h
<<_ACEOF
2272 #define PACKAGE_STRING "$PACKAGE_STRING"
2275 cat >>confdefs.h
<<_ACEOF
2276 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2279 cat >>confdefs.h
<<_ACEOF
2280 #define PACKAGE_URL "$PACKAGE_URL"
2284 # Let the site file select an alternate cache file if it wants to.
2285 # Prefer an explicitly selected file to automatically selected ones.
2288 if test -n "$CONFIG_SITE"; then
2289 # We do not want a PATH search for config.site.
2290 case $CONFIG_SITE in #((
2291 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2292 */*) ac_site_file1
=$CONFIG_SITE;;
2293 *) ac_site_file1
=.
/$CONFIG_SITE;;
2295 elif test "x$prefix" != xNONE
; then
2296 ac_site_file1
=$prefix/share
/config.site
2297 ac_site_file2
=$prefix/etc
/config.site
2299 ac_site_file1
=$ac_default_prefix/share
/config.site
2300 ac_site_file2
=$ac_default_prefix/etc
/config.site
2302 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2304 test "x$ac_site_file" = xNONE
&& continue
2305 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2307 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2308 sed 's/^/| /' "$ac_site_file" >&5
2310 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2311 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2312 as_fn_error $?
"failed to load site script $ac_site_file
2313 See \`config.log' for more details" "$LINENO" 5; }
2317 if test -r "$cache_file"; then
2318 # Some versions of bash will fail to source /dev/null (special files
2319 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2320 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2322 $as_echo "$as_me: loading cache $cache_file" >&6;}
2324 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2325 *) .
"./$cache_file";;
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2330 $as_echo "$as_me: creating cache $cache_file" >&6;}
2334 # Check that the precious variables saved in the cache have kept the same
2336 ac_cache_corrupted
=false
2337 for ac_var
in $ac_precious_vars; do
2338 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2339 eval ac_new_set
=\
$ac_env_${ac_var}_set
2340 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2341 eval ac_new_val
=\
$ac_env_${ac_var}_value
2342 case $ac_old_set,$ac_new_set in
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2345 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2346 ac_cache_corrupted
=: ;;
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2349 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2350 ac_cache_corrupted
=: ;;
2353 if test "x$ac_old_val" != "x$ac_new_val"; then
2354 # differences in whitespace do not lead to failure.
2355 ac_old_val_w
=`echo x $ac_old_val`
2356 ac_new_val_w
=`echo x $ac_new_val`
2357 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2359 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2360 ac_cache_corrupted
=:
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2363 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2364 eval $ac_var=\
$ac_old_val
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2367 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2369 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2372 # Pass precious variables to config.status.
2373 if test "$ac_new_set" = set; then
2375 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2376 *) ac_arg
=$ac_var=$ac_new_val ;;
2378 case " $ac_configure_args " in
2379 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2380 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2384 if $ac_cache_corrupted; then
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2386 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2388 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2389 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2391 ## -------------------- ##
2392 ## Main body of script. ##
2393 ## -------------------- ##
2396 ac_cpp
='$CPP $CPPFLAGS'
2397 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2398 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2399 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2402 # This file contains common code used by all simulators.
2404 # SIM_AC_COMMON invokes AC macros used by all simulators and by the common
2405 # directory. It is intended to be invoked before any target specific stuff.
2406 # SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate the Makefile.
2407 # It is intended to be invoked last.
2409 # See README-HACKING for more details.
2411 # Include global overrides and fixes for Autoconf.
2447 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
2449 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
2450 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
2451 # Written by Gordon Matzigkeit, 1996
2453 # This file is free software; the Free Software Foundation gives
2454 # unlimited permission to copy and/or distribute it, with or without
2455 # modifications, as long as this notice is preserved.
2462 # LT_PREREQ(VERSION)
2463 # ------------------
2464 # Complain and exit if this libtool version is less that VERSION.
2468 # _LT_CHECK_BUILDDIR
2469 # ------------------
2470 # Complain if the absolute build directory name contains unusual characters
2474 # LT_INIT([OPTIONS])
2475 # ------------------
2479 # This is what autoupdate's m4 run will expand. It fires
2480 # the warning (with _au_warn_XXX), outputs it into the
2481 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2482 # the replacement expansion.
2485 # This is an auxiliary macro that is also run when
2486 # autoupdate runs m4. It simply calls m4_warning, but
2487 # we need a wrapper so that each warning is emitted only
2488 # once. We break the quoting in m4_warning's argument in
2489 # order to expand this macro's arguments, not AU_DEFUN's.
2492 # Finally, this is the expansion that is picked up by
2493 # autoconf. It tells the user to run autoupdate, and
2494 # then outputs the replacement expansion. We do not care
2495 # about autoupdate's warning because that contains
2496 # information on what to do *after* running autoupdate.
2498 # This is what autoupdate's m4 run will expand. It fires
2499 # the warning (with _au_warn_XXX), outputs it into the
2500 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2501 # the replacement expansion.
2504 # This is an auxiliary macro that is also run when
2505 # autoupdate runs m4. It simply calls m4_warning, but
2506 # we need a wrapper so that each warning is emitted only
2507 # once. We break the quoting in m4_warning's argument in
2508 # order to expand this macro's arguments, not AU_DEFUN's.
2511 # Finally, this is the expansion that is picked up by
2512 # autoconf. It tells the user to run autoupdate, and
2513 # then outputs the replacement expansion. We do not care
2514 # about autoupdate's warning because that contains
2515 # information on what to do *after* running autoupdate.
2519 # _LT_CC_BASENAME(CC)
2520 # -------------------
2521 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
2525 # _LT_FILEUTILS_DEFAULTS
2526 # ----------------------
2527 # It is okay to use these file commands and assume they have been set
2528 # sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
2529 # _LT_FILEUTILS_DEFAULTS
2537 # _LT_PREPARE_SED_QUOTE_VARS
2538 # --------------------------
2539 # Define a few sed substitution that help us do robust quoting.
2544 # Note that this code is called both from `configure', and `config.status'
2545 # now that we use AC_CONFIG_COMMANDS to generate libtool. Notably,
2546 # `config.status' has no value for ac_aux_dir unless we are using Automake,
2547 # so we pass a copy along to make sure it has a sensible value anyway.
2551 ## ------------------------------------- ##
2552 ## Accumulate code for creating libtool. ##
2553 ## ------------------------------------- ##
2555 # So that we can recreate a full libtool script including additional
2556 # tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
2557 # in macros and then make a single call at the end using the `libtool'
2561 # _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
2562 # ----------------------------------------
2563 # Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
2570 # _LT_CONFIG_LIBTOOL([COMMANDS])
2571 # ------------------------------
2572 # Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
2579 # _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
2580 # -----------------------------------------------------
2584 # _LT_FORMAT_COMMENT([COMMENT])
2585 # -----------------------------
2586 # Add leading comment marks to the start of each line, and a trailing
2587 # full-stop to the whole comment if one is not present already.
2592 ## ------------------------ ##
2593 ## FIXME: Eliminate VARNAME ##
2594 ## ------------------------ ##
2597 # _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
2598 # -------------------------------------------------------------------
2599 # CONFIGNAME is the name given to the value in the libtool script.
2600 # VARNAME is the (base) name used in the configure script.
2601 # VALUE may be 0, 1 or 2 for a computed quote escaped value based on
2602 # VARNAME. Any other value will be used directly.
2606 # _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
2607 # --------------------------------------------------------
2611 # lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
2612 # ------------------------------------------------
2616 # _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
2617 # ---------------------------------------------------------
2621 # lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
2622 # --------------------------------------------------
2626 # lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
2627 # ---------------------------------------------------
2631 # lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
2632 # ---------------------------------------------------
2637 # lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
2638 # ------------------------------------------------
2643 # _LT_CONFIG_STATUS_DECLARE([VARNAME])
2644 # ------------------------------------
2645 # Quote a variable value, and forward it to `config.status' so that its
2646 # declaration there will have the same value as in `configure'. VARNAME
2647 # must have a single quote delimited value for this to work.
2651 # _LT_CONFIG_STATUS_DECLARATIONS
2652 # ------------------------------
2653 # We delimit libtool config variables with single quotes, so when
2654 # we write them to config.status, we have to be sure to quote all
2655 # embedded single quotes properly. In configure, this macro expands
2656 # each variable declared with _LT_DECL (and _LT_TAGDECL) into:
2658 # <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
2664 # Output comment and list of tags supported by the script
2668 # _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
2669 # -----------------------------------
2670 # Extract the dictionary values for VARNAME (optionally with TAG) and
2671 # expand to a commented shell variable setting:
2673 # # Some comment about what VAR is for.
2674 # visible_name=$lt_internal_name
2678 # _LT_LIBTOOL_CONFIG_VARS
2679 # -----------------------
2680 # Produce commented declarations of non-tagged libtool config variables
2681 # suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
2682 # script. Tagged libtool config variables (even for the LIBTOOL CONFIG
2683 # section) are produced by _LT_LIBTOOL_TAG_VARS.
2687 # _LT_LIBTOOL_TAG_VARS(TAG)
2688 # -------------------------
2692 # _LT_TAGVAR(VARNAME, [TAGNAME])
2693 # ------------------------------
2697 # _LT_CONFIG_COMMANDS
2698 # -------------------
2699 # Send accumulated output to $CONFIG_STATUS. Thanks to the lists of
2700 # variables for single and double quote escaping we saved from calls
2701 # to _LT_DECL, we can put quote escaped variables declarations
2702 # into `config.status', and then the shell code to quote escape them in
2703 # for loops in `config.status'. Finally, any additional code accumulated
2704 # from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
2705 #_LT_CONFIG_COMMANDS
2711 # _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
2712 # ------------------------------------
2713 # Generate a child script FILE with all initialization necessary to
2714 # reuse the environment learned by the parent script, and make the
2715 # file executable. If COMMENT is supplied, it is inserted after the
2716 # `#!' sequence but before initialization text begins. After this
2717 # macro, additional text can be appended to FILE to form the body of
2718 # the child script. The macro ends with non-zero status if the
2719 # file could not be fully written (such as if the disk is full).
2720 # _LT_GENERATED_FILE_INIT
2724 # This macro allows early generation of the libtool script (before
2725 # AC_OUTPUT is called), incase it is used in configure for compilation
2732 # If TAG is the built-in tag, create an initial libtool script with a
2733 # default configuration from the untagged config vars. Otherwise add code
2734 # to config.status for appending the configuration named by TAG from the
2735 # matching tagged config vars.
2739 # LT_SUPPORTED_TAG(TAG)
2740 # ---------------------
2741 # Trace this macro to discover what tags are supported by the libtool
2742 # --tag option, using:
2743 # autoconf --trace 'LT_SUPPORTED_TAG:$1'
2747 # C support is built-in for now
2754 # Enable libtool support for the given language if not already enabled.
2758 # _LT_LANG(LANGNAME)
2759 # ------------------
2763 # _LT_LANG_DEFAULT_CONFIG
2764 # -----------------------
2765 # _LT_LANG_DEFAULT_CONFIG
2768 # This is what autoupdate's m4 run will expand. It fires
2769 # the warning (with _au_warn_XXX), outputs it into the
2770 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2771 # the replacement expansion.
2774 # This is an auxiliary macro that is also run when
2775 # autoupdate runs m4. It simply calls m4_warning, but
2776 # we need a wrapper so that each warning is emitted only
2777 # once. We break the quoting in m4_warning's argument in
2778 # order to expand this macro's arguments, not AU_DEFUN's.
2781 # Finally, this is the expansion that is picked up by
2782 # autoconf. It tells the user to run autoupdate, and
2783 # then outputs the replacement expansion. We do not care
2784 # about autoupdate's warning because that contains
2785 # information on what to do *after* running autoupdate.
2787 # This is what autoupdate's m4 run will expand. It fires
2788 # the warning (with _au_warn_XXX), outputs it into the
2789 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2790 # the replacement expansion.
2793 # This is an auxiliary macro that is also run when
2794 # autoupdate runs m4. It simply calls m4_warning, but
2795 # we need a wrapper so that each warning is emitted only
2796 # once. We break the quoting in m4_warning's argument in
2797 # order to expand this macro's arguments, not AU_DEFUN's.
2800 # Finally, this is the expansion that is picked up by
2801 # autoconf. It tells the user to run autoupdate, and
2802 # then outputs the replacement expansion. We do not care
2803 # about autoupdate's warning because that contains
2804 # information on what to do *after* running autoupdate.
2806 # This is what autoupdate's m4 run will expand. It fires
2807 # the warning (with _au_warn_XXX), outputs it into the
2808 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2809 # the replacement expansion.
2812 # This is an auxiliary macro that is also run when
2813 # autoupdate runs m4. It simply calls m4_warning, but
2814 # we need a wrapper so that each warning is emitted only
2815 # once. We break the quoting in m4_warning's argument in
2816 # order to expand this macro's arguments, not AU_DEFUN's.
2819 # Finally, this is the expansion that is picked up by
2820 # autoconf. It tells the user to run autoupdate, and
2821 # then outputs the replacement expansion. We do not care
2822 # about autoupdate's warning because that contains
2823 # information on what to do *after* running autoupdate.
2825 # This is what autoupdate's m4 run will expand. It fires
2826 # the warning (with _au_warn_XXX), outputs it into the
2827 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2828 # the replacement expansion.
2831 # This is an auxiliary macro that is also run when
2832 # autoupdate runs m4. It simply calls m4_warning, but
2833 # we need a wrapper so that each warning is emitted only
2834 # once. We break the quoting in m4_warning's argument in
2835 # order to expand this macro's arguments, not AU_DEFUN's.
2838 # Finally, this is the expansion that is picked up by
2839 # autoconf. It tells the user to run autoupdate, and
2840 # then outputs the replacement expansion. We do not care
2841 # about autoupdate's warning because that contains
2842 # information on what to do *after* running autoupdate.
2844 # This is what autoupdate's m4 run will expand. It fires
2845 # the warning (with _au_warn_XXX), outputs it into the
2846 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2847 # the replacement expansion.
2850 # This is an auxiliary macro that is also run when
2851 # autoupdate runs m4. It simply calls m4_warning, but
2852 # we need a wrapper so that each warning is emitted only
2853 # once. We break the quoting in m4_warning's argument in
2854 # order to expand this macro's arguments, not AU_DEFUN's.
2857 # Finally, this is the expansion that is picked up by
2858 # autoconf. It tells the user to run autoupdate, and
2859 # then outputs the replacement expansion. We do not care
2860 # about autoupdate's warning because that contains
2861 # information on what to do *after* running autoupdate.
2870 # _LT_COMPILER_BOILERPLATE
2871 # ------------------------
2872 # Check for compiler boilerplate output or warnings with
2873 # the simple compiler test code.
2874 # _LT_COMPILER_BOILERPLATE
2877 # _LT_LINKER_BOILERPLATE
2878 # ----------------------
2879 # Check for linker boilerplate output or warnings with
2880 # the simple link test code.
2881 # _LT_LINKER_BOILERPLATE
2883 # _LT_REQUIRED_DARWIN_CHECKS
2884 # -------------------------
2888 # _LT_DARWIN_LINKER_FEATURES
2889 # --------------------------
2890 # Checks for linker and compiler features on darwin
2893 # _LT_SYS_MODULE_PATH_AIX
2894 # -----------------------
2895 # Links a minimal program and checks the executable
2896 # for the system default hardcoded library path. In most cases,
2897 # this is /usr/lib:/lib, but when the MPI compilers are used
2898 # the location of the communication and MPI libs are included too.
2899 # If we don't find anything, use the default library path according
2900 # to the aix ld manual.
2901 # _LT_SYS_MODULE_PATH_AIX
2904 # _LT_SHELL_INIT(ARG)
2905 # -------------------
2910 # _LT_PROG_ECHO_BACKSLASH
2911 # -----------------------
2912 # Find how we can fake an echo command that does not interpret backslash.
2913 # In particular, with Autoconf 2.60 or later we add some code to the start
2914 # of the generated configure script which will find a shell with a builtin
2915 # printf (which we can use as an echo command).
2916 # _LT_PROG_ECHO_BACKSLASH
2924 # _LT_CMD_OLD_ARCHIVE
2925 # -------------------
2926 # _LT_CMD_OLD_ARCHIVE
2929 # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
2930 # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
2931 # ----------------------------------------------------------------
2932 # Check whether the given compiler option works
2933 # _LT_COMPILER_OPTION
2936 # This is what autoupdate's m4 run will expand. It fires
2937 # the warning (with _au_warn_XXX), outputs it into the
2938 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2939 # the replacement expansion.
2942 # This is an auxiliary macro that is also run when
2943 # autoupdate runs m4. It simply calls m4_warning, but
2944 # we need a wrapper so that each warning is emitted only
2945 # once. We break the quoting in m4_warning's argument in
2946 # order to expand this macro's arguments, not AU_DEFUN's.
2949 # Finally, this is the expansion that is picked up by
2950 # autoconf. It tells the user to run autoupdate, and
2951 # then outputs the replacement expansion. We do not care
2952 # about autoupdate's warning because that contains
2953 # information on what to do *after* running autoupdate.
2957 # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
2958 # [ACTION-SUCCESS], [ACTION-FAILURE])
2959 # ----------------------------------------------------
2960 # Check whether the given linker option works
2964 # This is what autoupdate's m4 run will expand. It fires
2965 # the warning (with _au_warn_XXX), outputs it into the
2966 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2967 # the replacement expansion.
2970 # This is an auxiliary macro that is also run when
2971 # autoupdate runs m4. It simply calls m4_warning, but
2972 # we need a wrapper so that each warning is emitted only
2973 # once. We break the quoting in m4_warning's argument in
2974 # order to expand this macro's arguments, not AU_DEFUN's.
2977 # Finally, this is the expansion that is picked up by
2978 # autoconf. It tells the user to run autoupdate, and
2979 # then outputs the replacement expansion. We do not care
2980 # about autoupdate's warning because that contains
2981 # information on what to do *after* running autoupdate.
2990 # This is what autoupdate's m4 run will expand. It fires
2991 # the warning (with _au_warn_XXX), outputs it into the
2992 # updated configure.ac (with AC_DIAGNOSE), and then outputs
2993 # the replacement expansion.
2996 # This is an auxiliary macro that is also run when
2997 # autoupdate runs m4. It simply calls m4_warning, but
2998 # we need a wrapper so that each warning is emitted only
2999 # once. We break the quoting in m4_warning's argument in
3000 # order to expand this macro's arguments, not AU_DEFUN's.
3003 # Finally, this is the expansion that is picked up by
3004 # autoconf. It tells the user to run autoupdate, and
3005 # then outputs the replacement expansion. We do not care
3006 # about autoupdate's warning because that contains
3007 # information on what to do *after* running autoupdate.
3016 # _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
3017 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
3018 # ----------------------------------------------------------------
3019 # _LT_TRY_DLOPEN_SELF
3022 # LT_SYS_DLOPEN_SELF
3023 # ------------------
3024 # LT_SYS_DLOPEN_SELF
3027 # This is what autoupdate's m4 run will expand. It fires
3028 # the warning (with _au_warn_XXX), outputs it into the
3029 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3030 # the replacement expansion.
3033 # This is an auxiliary macro that is also run when
3034 # autoupdate runs m4. It simply calls m4_warning, but
3035 # we need a wrapper so that each warning is emitted only
3036 # once. We break the quoting in m4_warning's argument in
3037 # order to expand this macro's arguments, not AU_DEFUN's.
3040 # Finally, this is the expansion that is picked up by
3041 # autoconf. It tells the user to run autoupdate, and
3042 # then outputs the replacement expansion. We do not care
3043 # about autoupdate's warning because that contains
3044 # information on what to do *after* running autoupdate.
3048 # _LT_COMPILER_C_O([TAGNAME])
3049 # ---------------------------
3050 # Check to see if options -c and -o are simultaneously supported by compiler.
3051 # This macro does not hard code the compiler like AC_PROG_CC_C_O.
3055 # _LT_COMPILER_FILE_LOCKS([TAGNAME])
3056 # ----------------------------------
3057 # Check to see if we can do hard links to lock some files if needed
3058 # _LT_COMPILER_FILE_LOCKS
3066 # _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
3067 # --------------------------------------
3068 # Check hardcoding attributes.
3069 # _LT_LINKER_HARDCODE_LIBPATH
3077 # _LT_SYS_DYNAMIC_LINKER([TAG])
3078 # -----------------------------
3079 # PORTME Fill in your ld.so characteristics
3080 # _LT_SYS_DYNAMIC_LINKER
3083 # _LT_PATH_TOOL_PREFIX(TOOL)
3084 # --------------------------
3085 # find a file program which can recognize shared library
3086 # _LT_PATH_TOOL_PREFIX
3089 # This is what autoupdate's m4 run will expand. It fires
3090 # the warning (with _au_warn_XXX), outputs it into the
3091 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3092 # the replacement expansion.
3095 # This is an auxiliary macro that is also run when
3096 # autoupdate runs m4. It simply calls m4_warning, but
3097 # we need a wrapper so that each warning is emitted only
3098 # once. We break the quoting in m4_warning's argument in
3099 # order to expand this macro's arguments, not AU_DEFUN's.
3102 # Finally, this is the expansion that is picked up by
3103 # autoconf. It tells the user to run autoupdate, and
3104 # then outputs the replacement expansion. We do not care
3105 # about autoupdate's warning because that contains
3106 # information on what to do *after* running autoupdate.
3112 # find a file program which can recognize a shared library
3118 # find the pathname to the GNU or non-GNU linker
3122 # This is what autoupdate's m4 run will expand. It fires
3123 # the warning (with _au_warn_XXX), outputs it into the
3124 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3125 # the replacement expansion.
3128 # This is an auxiliary macro that is also run when
3129 # autoupdate runs m4. It simply calls m4_warning, but
3130 # we need a wrapper so that each warning is emitted only
3131 # once. We break the quoting in m4_warning's argument in
3132 # order to expand this macro's arguments, not AU_DEFUN's.
3135 # Finally, this is the expansion that is picked up by
3136 # autoconf. It tells the user to run autoupdate, and
3137 # then outputs the replacement expansion. We do not care
3138 # about autoupdate's warning because that contains
3139 # information on what to do *after* running autoupdate.
3141 # This is what autoupdate's m4 run will expand. It fires
3142 # the warning (with _au_warn_XXX), outputs it into the
3143 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3144 # the replacement expansion.
3147 # This is an auxiliary macro that is also run when
3148 # autoupdate runs m4. It simply calls m4_warning, but
3149 # we need a wrapper so that each warning is emitted only
3150 # once. We break the quoting in m4_warning's argument in
3151 # order to expand this macro's arguments, not AU_DEFUN's.
3154 # Finally, this is the expansion that is picked up by
3155 # autoconf. It tells the user to run autoupdate, and
3156 # then outputs the replacement expansion. We do not care
3157 # about autoupdate's warning because that contains
3158 # information on what to do *after* running autoupdate.
3169 # find reload flag for linker
3170 # -- PORTME Some linkers may need a different reload flag.
3174 # _LT_CHECK_MAGIC_METHOD
3175 # ----------------------
3176 # how to check for library dependencies
3177 # -- PORTME fill in with the dynamic library characteristics
3178 # _LT_CHECK_MAGIC_METHOD
3183 # find the pathname to a BSD- or MS-compatible name lister
3187 # This is what autoupdate's m4 run will expand. It fires
3188 # the warning (with _au_warn_XXX), outputs it into the
3189 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3190 # the replacement expansion.
3193 # This is an auxiliary macro that is also run when
3194 # autoupdate runs m4. It simply calls m4_warning, but
3195 # we need a wrapper so that each warning is emitted only
3196 # once. We break the quoting in m4_warning's argument in
3197 # order to expand this macro's arguments, not AU_DEFUN's.
3200 # Finally, this is the expansion that is picked up by
3201 # autoconf. It tells the user to run autoupdate, and
3202 # then outputs the replacement expansion. We do not care
3203 # about autoupdate's warning because that contains
3204 # information on what to do *after* running autoupdate.
3206 # This is what autoupdate's m4 run will expand. It fires
3207 # the warning (with _au_warn_XXX), outputs it into the
3208 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3209 # the replacement expansion.
3212 # This is an auxiliary macro that is also run when
3213 # autoupdate runs m4. It simply calls m4_warning, but
3214 # we need a wrapper so that each warning is emitted only
3215 # once. We break the quoting in m4_warning's argument in
3216 # order to expand this macro's arguments, not AU_DEFUN's.
3219 # Finally, this is the expansion that is picked up by
3220 # autoconf. It tells the user to run autoupdate, and
3221 # then outputs the replacement expansion. We do not care
3222 # about autoupdate's warning because that contains
3223 # information on what to do *after* running autoupdate.
3229 # check for math library
3233 # This is what autoupdate's m4 run will expand. It fires
3234 # the warning (with _au_warn_XXX), outputs it into the
3235 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3236 # the replacement expansion.
3239 # This is an auxiliary macro that is also run when
3240 # autoupdate runs m4. It simply calls m4_warning, but
3241 # we need a wrapper so that each warning is emitted only
3242 # once. We break the quoting in m4_warning's argument in
3243 # order to expand this macro's arguments, not AU_DEFUN's.
3246 # Finally, this is the expansion that is picked up by
3247 # autoconf. It tells the user to run autoupdate, and
3248 # then outputs the replacement expansion. We do not care
3249 # about autoupdate's warning because that contains
3250 # information on what to do *after* running autoupdate.
3254 # _LT_COMPILER_NO_RTTI([TAGNAME])
3255 # -------------------------------
3256 # _LT_COMPILER_NO_RTTI
3259 # _LT_CMD_GLOBAL_SYMBOLS
3260 # ----------------------
3261 # _LT_CMD_GLOBAL_SYMBOLS
3264 # _LT_COMPILER_PIC([TAGNAME])
3265 # ---------------------------
3269 # _LT_LINKER_SHLIBS([TAGNAME])
3270 # ----------------------------
3271 # See if the linker supports building shared libraries.
3275 # _LT_LANG_C_CONFIG([TAG])
3276 # ------------------------
3277 # Ensure that the configuration variables for a C compiler are suitably
3278 # defined. These variables are subsequently used by _LT_CONFIG to write
3279 # the compiler configuration to `libtool'.
3283 # _LT_LANG_CXX_CONFIG([TAG])
3284 # --------------------------
3285 # Ensure that the configuration variables for a C++ compiler are suitably
3286 # defined. These variables are subsequently used by _LT_CONFIG to write
3287 # the compiler configuration to `libtool'.
3288 # _LT_LANG_CXX_CONFIG
3291 # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
3292 # ---------------------------------
3293 # Figure out "hidden" library dependencies from verbose
3294 # compiler output when linking a shared library.
3295 # Parse the compiler output and extract the necessary
3296 # objects, libraries and library flags.
3297 # _LT_SYS_HIDDEN_LIBDEPS
3300 # _LT_LANG_F77_CONFIG([TAG])
3301 # --------------------------
3302 # Ensure that the configuration variables for a Fortran 77 compiler are
3303 # suitably defined. These variables are subsequently used by _LT_CONFIG
3304 # to write the compiler configuration to `libtool'.
3305 # _LT_LANG_F77_CONFIG
3308 # _LT_LANG_FC_CONFIG([TAG])
3309 # -------------------------
3310 # Ensure that the configuration variables for a Fortran compiler are
3311 # suitably defined. These variables are subsequently used by _LT_CONFIG
3312 # to write the compiler configuration to `libtool'.
3313 # _LT_LANG_FC_CONFIG
3316 # _LT_LANG_GCJ_CONFIG([TAG])
3317 # --------------------------
3318 # Ensure that the configuration variables for the GNU Java Compiler compiler
3319 # are suitably defined. These variables are subsequently used by _LT_CONFIG
3320 # to write the compiler configuration to `libtool'.
3321 # _LT_LANG_GCJ_CONFIG
3324 # _LT_LANG_RC_CONFIG([TAG])
3325 # -------------------------
3326 # Ensure that the configuration variables for the Windows resource compiler
3327 # are suitably defined. These variables are subsequently used by _LT_CONFIG
3328 # to write the compiler configuration to `libtool'.
3329 # _LT_LANG_RC_CONFIG
3337 # This is what autoupdate's m4 run will expand. It fires
3338 # the warning (with _au_warn_XXX), outputs it into the
3339 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3340 # the replacement expansion.
3343 # This is an auxiliary macro that is also run when
3344 # autoupdate runs m4. It simply calls m4_warning, but
3345 # we need a wrapper so that each warning is emitted only
3346 # once. We break the quoting in m4_warning's argument in
3347 # order to expand this macro's arguments, not AU_DEFUN's.
3350 # Finally, this is the expansion that is picked up by
3351 # autoconf. It tells the user to run autoupdate, and
3352 # then outputs the replacement expansion. We do not care
3353 # about autoupdate's warning because that contains
3354 # information on what to do *after* running autoupdate.
3363 # This is what autoupdate's m4 run will expand. It fires
3364 # the warning (with _au_warn_XXX), outputs it into the
3365 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3366 # the replacement expansion.
3369 # This is an auxiliary macro that is also run when
3370 # autoupdate runs m4. It simply calls m4_warning, but
3371 # we need a wrapper so that each warning is emitted only
3372 # once. We break the quoting in m4_warning's argument in
3373 # order to expand this macro's arguments, not AU_DEFUN's.
3376 # Finally, this is the expansion that is picked up by
3377 # autoconf. It tells the user to run autoupdate, and
3378 # then outputs the replacement expansion. We do not care
3379 # about autoupdate's warning because that contains
3380 # information on what to do *after* running autoupdate.
3386 # If we don't have a new enough Autoconf to choose the best grep
3387 # available, choose the one first in the user's PATH.
3393 # If we don't have a new enough Autoconf to choose the best objdump
3394 # available, choose the one first in the user's PATH.
3400 # Check for a fully-functional sed program, that truncates
3401 # as few characters as possible. Prefer GNU sed if found.
3407 # This is what autoupdate's m4 run will expand. It fires
3408 # the warning (with _au_warn_XXX), outputs it into the
3409 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3410 # the replacement expansion.
3413 # This is an auxiliary macro that is also run when
3414 # autoupdate runs m4. It simply calls m4_warning, but
3415 # we need a wrapper so that each warning is emitted only
3416 # once. We break the quoting in m4_warning's argument in
3417 # order to expand this macro's arguments, not AU_DEFUN's.
3420 # Finally, this is the expansion that is picked up by
3421 # autoconf. It tells the user to run autoupdate, and
3422 # then outputs the replacement expansion. We do not care
3423 # about autoupdate's warning because that contains
3424 # information on what to do *after* running autoupdate.
3428 # _LT_CHECK_SHELL_FEATURES
3429 # ------------------------
3430 # Find out whether the shell is Bourne or XSI compatible,
3431 # or has some other useful features.
3432 # _LT_CHECK_SHELL_FEATURES
3435 # _LT_PROG_XSI_SHELLFNS
3436 # ---------------------
3437 # Bourne and XSI compatible variants of some useful shell functions.
3440 # Helper functions for option handling. -*- Autoconf -*-
3442 # Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation,
3444 # Written by Gary V. Vaughan, 2004
3446 # This file is free software; the Free Software Foundation gives
3447 # unlimited permission to copy and/or distribute it, with or without
3448 # modifications, as long as this notice is preserved.
3450 # serial 6 ltoptions.m4
3452 # This is to help aclocal find these macros, as it can't see m4_define.
3456 # _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
3457 # ------------------------------------------
3461 # _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
3462 # ---------------------------------------
3463 # Set option OPTION-NAME for macro MACRO-NAME, and if there is a
3464 # matching handler defined, dispatch to it. Other OPTION-NAMEs are
3469 # _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
3470 # ------------------------------------------------------------
3471 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
3475 # _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
3476 # -------------------------------------------------------
3477 # Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
3482 # _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
3483 # ----------------------------------------
3484 # OPTION-LIST is a space-separated list of Libtool options associated
3485 # with MACRO-NAME. If any OPTION has a matching handler declared with
3486 # LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
3487 # the unknown option and exit.
3491 ## --------------------------------- ##
3492 ## Macros to handle LT_INIT options. ##
3493 ## --------------------------------- ##
3495 # _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
3496 # -----------------------------------------
3500 # LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
3501 # -----------------------------------------------
3509 # This is what autoupdate's m4 run will expand. It fires
3510 # the warning (with _au_warn_XXX), outputs it into the
3511 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3512 # the replacement expansion.
3515 # This is an auxiliary macro that is also run when
3516 # autoupdate runs m4. It simply calls m4_warning, but
3517 # we need a wrapper so that each warning is emitted only
3518 # once. We break the quoting in m4_warning's argument in
3519 # order to expand this macro's arguments, not AU_DEFUN's.
3522 # Finally, this is the expansion that is picked up by
3523 # autoconf. It tells the user to run autoupdate, and
3524 # then outputs the replacement expansion. We do not care
3525 # about autoupdate's warning because that contains
3526 # information on what to do *after* running autoupdate.
3533 # Declare package support for building win32 dll's.
3536 # This is what autoupdate's m4 run will expand. It fires
3537 # the warning (with _au_warn_XXX), outputs it into the
3538 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3539 # the replacement expansion.
3542 # This is an auxiliary macro that is also run when
3543 # autoupdate runs m4. It simply calls m4_warning, but
3544 # we need a wrapper so that each warning is emitted only
3545 # once. We break the quoting in m4_warning's argument in
3546 # order to expand this macro's arguments, not AU_DEFUN's.
3549 # Finally, this is the expansion that is picked up by
3550 # autoconf. It tells the user to run autoupdate, and
3551 # then outputs the replacement expansion. We do not care
3552 # about autoupdate's warning because that contains
3553 # information on what to do *after* running autoupdate.
3558 # _LT_ENABLE_SHARED([DEFAULT])
3559 # ----------------------------
3560 # implement the --enable-shared flag, and supports the `shared' and
3561 # `disable-shared' LT_INIT options.
3562 # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
3573 # This is what autoupdate's m4 run will expand. It fires
3574 # the warning (with _au_warn_XXX), outputs it into the
3575 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3576 # the replacement expansion.
3579 # This is an auxiliary macro that is also run when
3580 # autoupdate runs m4. It simply calls m4_warning, but
3581 # we need a wrapper so that each warning is emitted only
3582 # once. We break the quoting in m4_warning's argument in
3583 # order to expand this macro's arguments, not AU_DEFUN's.
3586 # Finally, this is the expansion that is picked up by
3587 # autoconf. It tells the user to run autoupdate, and
3588 # then outputs the replacement expansion. We do not care
3589 # about autoupdate's warning because that contains
3590 # information on what to do *after* running autoupdate.
3592 # This is what autoupdate's m4 run will expand. It fires
3593 # the warning (with _au_warn_XXX), outputs it into the
3594 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3595 # the replacement expansion.
3598 # This is an auxiliary macro that is also run when
3599 # autoupdate runs m4. It simply calls m4_warning, but
3600 # we need a wrapper so that each warning is emitted only
3601 # once. We break the quoting in m4_warning's argument in
3602 # order to expand this macro's arguments, not AU_DEFUN's.
3605 # Finally, this is the expansion that is picked up by
3606 # autoconf. It tells the user to run autoupdate, and
3607 # then outputs the replacement expansion. We do not care
3608 # about autoupdate's warning because that contains
3609 # information on what to do *after* running autoupdate.
3615 # _LT_ENABLE_STATIC([DEFAULT])
3616 # ----------------------------
3617 # implement the --enable-static flag, and support the `static' and
3618 # `disable-static' LT_INIT options.
3619 # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
3630 # This is what autoupdate's m4 run will expand. It fires
3631 # the warning (with _au_warn_XXX), outputs it into the
3632 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3633 # the replacement expansion.
3636 # This is an auxiliary macro that is also run when
3637 # autoupdate runs m4. It simply calls m4_warning, but
3638 # we need a wrapper so that each warning is emitted only
3639 # once. We break the quoting in m4_warning's argument in
3640 # order to expand this macro's arguments, not AU_DEFUN's.
3643 # Finally, this is the expansion that is picked up by
3644 # autoconf. It tells the user to run autoupdate, and
3645 # then outputs the replacement expansion. We do not care
3646 # about autoupdate's warning because that contains
3647 # information on what to do *after* running autoupdate.
3649 # This is what autoupdate's m4 run will expand. It fires
3650 # the warning (with _au_warn_XXX), outputs it into the
3651 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3652 # the replacement expansion.
3655 # This is an auxiliary macro that is also run when
3656 # autoupdate runs m4. It simply calls m4_warning, but
3657 # we need a wrapper so that each warning is emitted only
3658 # once. We break the quoting in m4_warning's argument in
3659 # order to expand this macro's arguments, not AU_DEFUN's.
3662 # Finally, this is the expansion that is picked up by
3663 # autoconf. It tells the user to run autoupdate, and
3664 # then outputs the replacement expansion. We do not care
3665 # about autoupdate's warning because that contains
3666 # information on what to do *after* running autoupdate.
3672 # _LT_ENABLE_FAST_INSTALL([DEFAULT])
3673 # ----------------------------------
3674 # implement the --enable-fast-install flag, and support the `fast-install'
3675 # and `disable-fast-install' LT_INIT options.
3676 # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
3677 # _LT_ENABLE_FAST_INSTALL
3683 # This is what autoupdate's m4 run will expand. It fires
3684 # the warning (with _au_warn_XXX), outputs it into the
3685 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3686 # the replacement expansion.
3689 # This is an auxiliary macro that is also run when
3690 # autoupdate runs m4. It simply calls m4_warning, but
3691 # we need a wrapper so that each warning is emitted only
3692 # once. We break the quoting in m4_warning's argument in
3693 # order to expand this macro's arguments, not AU_DEFUN's.
3696 # Finally, this is the expansion that is picked up by
3697 # autoconf. It tells the user to run autoupdate, and
3698 # then outputs the replacement expansion. We do not care
3699 # about autoupdate's warning because that contains
3700 # information on what to do *after* running autoupdate.
3703 # This is what autoupdate's m4 run will expand. It fires
3704 # the warning (with _au_warn_XXX), outputs it into the
3705 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3706 # the replacement expansion.
3709 # This is an auxiliary macro that is also run when
3710 # autoupdate runs m4. It simply calls m4_warning, but
3711 # we need a wrapper so that each warning is emitted only
3712 # once. We break the quoting in m4_warning's argument in
3713 # order to expand this macro's arguments, not AU_DEFUN's.
3716 # Finally, this is the expansion that is picked up by
3717 # autoconf. It tells the user to run autoupdate, and
3718 # then outputs the replacement expansion. We do not care
3719 # about autoupdate's warning because that contains
3720 # information on what to do *after* running autoupdate.
3725 # _LT_WITH_PIC([MODE])
3726 # --------------------
3727 # implement the --with-pic flag, and support the `pic-only' and `no-pic'
3729 # MODE is either `yes' or `no'. If omitted, it defaults to `both'.
3736 # This is what autoupdate's m4 run will expand. It fires
3737 # the warning (with _au_warn_XXX), outputs it into the
3738 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3739 # the replacement expansion.
3742 # This is an auxiliary macro that is also run when
3743 # autoupdate runs m4. It simply calls m4_warning, but
3744 # we need a wrapper so that each warning is emitted only
3745 # once. We break the quoting in m4_warning's argument in
3746 # order to expand this macro's arguments, not AU_DEFUN's.
3749 # Finally, this is the expansion that is picked up by
3750 # autoconf. It tells the user to run autoupdate, and
3751 # then outputs the replacement expansion. We do not care
3752 # about autoupdate's warning because that contains
3753 # information on what to do *after* running autoupdate.
3757 ## ----------------- ##
3758 ## LTDL_INIT Options ##
3759 ## ----------------- ##
3770 # ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
3772 # Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
3773 # Written by Gary V. Vaughan, 2004
3775 # This file is free software; the Free Software Foundation gives
3776 # unlimited permission to copy and/or distribute it, with or without
3777 # modifications, as long as this notice is preserved.
3779 # serial 6 ltsugar.m4
3781 # This is to help aclocal find these macros, as it can't see m4_define.
3785 # lt_join(SEP, ARG1, [ARG2...])
3786 # -----------------------------
3787 # Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
3788 # associated separator.
3789 # Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
3790 # versions in m4sugar had bugs.
3798 # Manipulate m4 lists.
3799 # These macros are necessary as long as will still need to support
3800 # Autoconf-2.59 which quotes differently.
3806 # lt_append(MACRO-NAME, STRING, [SEPARATOR])
3807 # ------------------------------------------
3808 # Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
3809 # Note that neither SEPARATOR nor STRING are expanded; they are appended
3810 # to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
3811 # No SEPARATOR is output if MACRO-NAME was previously undefined (different
3812 # than defined and empty).
3814 # This macro is needed until we can rely on Autoconf 2.62, since earlier
3815 # versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
3820 # lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
3821 # ----------------------------------------------------------
3822 # Produce a SEP delimited list of all paired combinations of elements of
3823 # PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
3824 # has the form PREFIXmINFIXSUFFIXn.
3825 # Needed until we can rely on m4_combine added in Autoconf 2.62.
3829 # lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
3830 # -----------------------------------------------------------------------
3831 # Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
3832 # by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
3836 # lt_dict_add(DICT, KEY, VALUE)
3837 # -----------------------------
3841 # lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
3842 # --------------------------------------------
3846 # lt_dict_fetch(DICT, KEY, [SUBKEY])
3847 # ----------------------------------
3851 # lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
3852 # -----------------------------------------------------------------
3856 # lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
3857 # --------------------------------------------------------------
3860 # ltversion.m4 -- version numbers -*- Autoconf -*-
3862 # Copyright (C) 2004 Free Software Foundation, Inc.
3863 # Written by Scott James Remnant, 2004
3865 # This file is free software; the Free Software Foundation gives
3866 # unlimited permission to copy and/or distribute it, with or without
3867 # modifications, as long as this notice is preserved.
3869 # Generated from ltversion.in.
3871 # serial 3134 ltversion.m4
3872 # This file is part of GNU Libtool
3879 # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
3881 # Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
3882 # Written by Scott James Remnant, 2004.
3884 # This file is free software; the Free Software Foundation gives
3885 # unlimited permission to copy and/or distribute it, with or without
3886 # modifications, as long as this notice is preserved.
3888 # serial 4 lt~obsolete.m4
3890 # These exist entirely to fool aclocal when bootstrapping libtool.
3892 # In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
3893 # which have later been changed to m4_define as they aren't part of the
3894 # exported API, or moved to Autoconf or Automake where they belong.
3896 # The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN
3897 # in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
3898 # using a macro with the same name in our local m4/libtool.m4 it'll
3899 # pull the old libtool.m4 in (it doesn't see our shiny new m4_define
3900 # and doesn't know about Autoconf macros at all.)
3902 # So we provide this file, which has a silly filename so it's always
3903 # included after everything else. This provides aclocal with the
3904 # AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
3905 # because those macros already exist, or will be overwritten later.
3906 # We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
3908 # Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
3909 # Yes, that means every name once taken will need to remain here until
3910 # we give up compatibility with versions before 1.7, at which point
3911 # we need to keep only those names which we still refer to.
3913 # This is to help aclocal find these macros, as it can't see m4_define.
3980 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007
3981 # Free Software Foundation, Inc.
3983 # This file is free software; the Free Software Foundation
3984 # gives unlimited permission to copy and/or distribute it,
3985 # with or without modifications, as long as this notice is preserved.
3989 # Based on depend.m4 from automake 1.9, modified for standalone use in
3990 # an environment where GNU make is required.
3992 # ZW_PROG_COMPILER_DEPENDENCIES
3993 # -----------------------------
3994 # Variant of _AM_DEPENDENCIES which just does the dependency probe and
3995 # sets fooDEPMODE accordingly. Cache-variable compatible with
3996 # original; not side-effect compatible. As the users of this macro
3997 # may require accurate dependencies for correct builds, it does *not*
3998 # honor --disable-dependency-checking, and failure to detect a usable
3999 # method is an error. depcomp is assumed to be located in
4002 # FIXME: Should use the Autoconf 2.5x language-selection mechanism.
4008 # Choose a directory name for dependency files.
4013 # As AM_SET_DEPDIR, but also create the directory at config.status time.
4080 # intl sister-directory configuration rules.
4083 # The idea behind this macro is that there's no need to repeat all the
4084 # autoconf probes done by the intl directory - it's already done them
4085 # for us. In fact, there's no need even to look at the cache for the
4086 # answers. All we need to do is nab a few pieces of information.
4087 # The intl directory is set up to make this easy, by generating a
4088 # small file which can be sourced as a shell script; then we produce
4089 # the necessary substitutions and definitions for this directory.
4093 # Autoconf M4 include file defining utility macros for complex Canadian
4105 # _NCN_TOOL_PREFIXES: Some stuff that oughtta be done in AC_CANONICAL_SYSTEM
4107 # These demand that AC_CANONICAL_SYSTEM be called beforehand.
4110 # NCN_STRICT_CHECK_TOOLS(variable, progs-to-check-for,[value-if-not-found],[path])
4111 # Like plain AC_CHECK_TOOLS, but require prefix if build!=host.
4115 # NCN_STRICT_CHECK_TARGET_TOOLS(variable, progs-to-check-for,[value-if-not-found],[path])
4116 # Like CVS Autoconf AC_CHECK_TARGET_TOOLS, but require prefix if build!=target.
4120 # Backported from Autoconf 2.5x; can go away when and if
4121 # we switch. Put the OS path separator in $PATH_SEPARATOR.
4130 # ACX_HAVE_GCC_FOR_TARGET
4131 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
4134 # ACX_CHECK_INSTALLED_TARGET_TOOL(VAR, PROG)
4135 # Searching for installed target binutils. We need to take extra care,
4136 # else we may find the wrong assembler, linker, etc., and lose.
4138 # First try --with-build-time-tools, if specified.
4140 # For build != host, we ask the installed GCC for the name of the tool it
4141 # uses, and accept it if it is an absolute path. This is because the
4142 # only good choice for a compiler is the same GCC version that is being
4143 # installed (or we couldn't make target libraries), and we assume that
4144 # on the host system we'll have not only the same GCC version, but also
4145 # the same binutils version.
4147 # For build == host, search the same directories that the installed
4148 # compiler will search. We used to do this for the assembler, linker,
4149 # and nm only; for simplicity of configuration, however, we extend this
4150 # criterion to tools (such as ar and ranlib) that are never invoked by
4151 # the compiler, to avoid mismatches.
4153 # Also note we have to check MD_EXEC_PREFIX before checking the user's path
4154 # if build == target. This makes the most sense only when bootstrapping,
4155 # but we also do so when build != host. In this case, we hope that the
4156 # build and host systems will have similar contents of MD_EXEC_PREFIX.
4158 # If we do not find a suitable binary, then try the user's path.
4162 # AC_PROG_CPP_WERROR
4163 # Used for autoconf 2.5x to force AC_PREPROC_IFELSE to reject code which
4164 # triggers warnings from the preprocessor. Will be in autoconf 2.58.
4165 # For now, using this also overrides header checks to use only the
4166 # preprocessor (matches 2.13 behavior; matching 2.58's behavior is a
4167 # bit harder from here).
4168 # Eventually autoconf will default to checking headers with the compiler
4169 # instead, and we'll have to do this differently.
4171 # AC_PROG_CPP_WERROR
4174 # We require the gnatbind & gnatmake programs, as well as a compiler driver
4175 # that understands Ada. We use the user's CC setting, already found, and
4176 # possibly add $1 to the command-line parameters.
4178 # Sets the shell variable have_gnat to yes or no as appropriate, and
4179 # substitutes GNATBIND and GNATMAKE.
4206 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
4207 if test -f "$ac_dir/install-sh"; then
4209 ac_install_sh
="$ac_aux_dir/install-sh -c"
4211 elif test -f "$ac_dir/install.sh"; then
4213 ac_install_sh
="$ac_aux_dir/install.sh -c"
4215 elif test -f "$ac_dir/shtool"; then
4217 ac_install_sh
="$ac_aux_dir/shtool install -c"
4221 if test -z "$ac_aux_dir"; then
4222 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
4225 # These three variables are undocumented and unsupported,
4226 # and are intended to be withdrawn in a future Autoconf release.
4227 # They can cause serious problems if a builder's source tree is in a directory
4228 # whose full name contains unusual characters.
4229 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
4230 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
4231 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
4234 # Find a good install program. We prefer a C program (faster),
4235 # so one script is as good as another. But avoid the broken or
4236 # incompatible versions:
4237 # SysV /etc/install, /usr/sbin/install
4238 # SunOS /usr/etc/install
4239 # IRIX /sbin/install
4241 # AmigaOS /C/install, which installs bootblocks on floppy discs
4242 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4243 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4244 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4245 # OS/2's system install, which has a completely different semantic
4246 # ./install, which can be erroneously created by make from ./install.sh.
4247 # Reject install programs that cannot install multiple files.
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4249 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4250 if test -z "$INSTALL"; then
4251 if ${ac_cv_path_install+:} false
; then :
4252 $as_echo_n "(cached) " >&6
4254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4258 test -z "$as_dir" && as_dir
=.
4259 # Account for people who put trailing slashes in PATH elements.
4260 case $as_dir/ in #((
4261 .
/ | .
// |
/[cC
]/* | \
4262 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4263 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4266 # OSF1 and SCO ODT 3.0 have their own names for install.
4267 # Don't use installbsd from OSF since it installs stuff as root
4269 for ac_prog
in ginstall scoinst
install; do
4270 for ac_exec_ext
in '' $ac_executable_extensions; do
4271 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4272 if test $ac_prog = install &&
4273 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4274 # AIX install. It has an incompatible calling convention.
4276 elif test $ac_prog = install &&
4277 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4278 # program-specific install script used by HP pwplus--don't use.
4281 rm -rf conftest.one conftest.two conftest.dir
4282 echo one
> conftest.one
4283 echo two
> conftest.two
4285 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4286 test -s conftest.one
&& test -s conftest.two
&&
4287 test -s conftest.dir
/conftest.one
&&
4288 test -s conftest.dir
/conftest.two
4290 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4303 rm -rf conftest.one conftest.two conftest.dir
4306 if test "${ac_cv_path_install+set}" = set; then
4307 INSTALL
=$ac_cv_path_install
4309 # As a last resort, use the slow shell script. Don't cache a
4310 # value for INSTALL within a source directory, because that will
4311 # break other packages using the cache if that directory is
4312 # removed, or if the value is a relative name.
4313 INSTALL
=$ac_install_sh
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4317 $as_echo "$INSTALL" >&6; }
4319 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4320 # It thinks the first close brace ends the variable substitution.
4321 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4323 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4325 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4328 ac_cpp
='$CPP $CPPFLAGS'
4329 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4330 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4331 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4332 if test -n "$ac_tool_prefix"; then
4333 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4334 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4336 $as_echo_n "checking for $ac_word... " >&6; }
4337 if ${ac_cv_prog_CC+:} false
; then :
4338 $as_echo_n "(cached) " >&6
4340 if test -n "$CC"; then
4341 ac_cv_prog_CC
="$CC" # Let the user override the test.
4343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4347 test -z "$as_dir" && as_dir
=.
4348 for ac_exec_ext
in '' $ac_executable_extensions; do
4349 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4350 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4361 if test -n "$CC"; then
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4363 $as_echo "$CC" >&6; }
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4366 $as_echo "no" >&6; }
4371 if test -z "$ac_cv_prog_CC"; then
4373 # Extract the first word of "gcc", so it can be a program name with args.
4374 set dummy gcc
; ac_word
=$2
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4376 $as_echo_n "checking for $ac_word... " >&6; }
4377 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4378 $as_echo_n "(cached) " >&6
4380 if test -n "$ac_ct_CC"; then
4381 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4387 test -z "$as_dir" && as_dir
=.
4388 for ac_exec_ext
in '' $ac_executable_extensions; do
4389 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4390 ac_cv_prog_ac_ct_CC
="gcc"
4391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4400 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4401 if test -n "$ac_ct_CC"; then
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4403 $as_echo "$ac_ct_CC" >&6; }
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4406 $as_echo "no" >&6; }
4409 if test "x$ac_ct_CC" = x
; then
4412 case $cross_compiling:$ac_tool_warned in
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4415 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4416 ac_tool_warned
=yes ;;
4424 if test -z "$CC"; then
4425 if test -n "$ac_tool_prefix"; then
4426 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4427 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4429 $as_echo_n "checking for $ac_word... " >&6; }
4430 if ${ac_cv_prog_CC+:} false
; then :
4431 $as_echo_n "(cached) " >&6
4433 if test -n "$CC"; then
4434 ac_cv_prog_CC
="$CC" # Let the user override the test.
4436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4440 test -z "$as_dir" && as_dir
=.
4441 for ac_exec_ext
in '' $ac_executable_extensions; do
4442 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4443 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4454 if test -n "$CC"; then
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4456 $as_echo "$CC" >&6; }
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4459 $as_echo "no" >&6; }
4465 if test -z "$CC"; then
4466 # Extract the first word of "cc", so it can be a program name with args.
4467 set dummy cc
; ac_word
=$2
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4469 $as_echo_n "checking for $ac_word... " >&6; }
4470 if ${ac_cv_prog_CC+:} false
; then :
4471 $as_echo_n "(cached) " >&6
4473 if test -n "$CC"; then
4474 ac_cv_prog_CC
="$CC" # Let the user override the test.
4477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4481 test -z "$as_dir" && as_dir
=.
4482 for ac_exec_ext
in '' $ac_executable_extensions; do
4483 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4484 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4485 ac_prog_rejected
=yes
4489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4496 if test $ac_prog_rejected = yes; then
4497 # We found a bogon in the path, so make sure we never use it.
4498 set dummy
$ac_cv_prog_CC
4500 if test $# != 0; then
4501 # We chose a different compiler from the bogus one.
4502 # However, it has the same basename, so the bogon will be chosen
4503 # first if we set CC to just the basename; use the full file name.
4505 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4511 if test -n "$CC"; then
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4513 $as_echo "$CC" >&6; }
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4516 $as_echo "no" >&6; }
4521 if test -z "$CC"; then
4522 if test -n "$ac_tool_prefix"; then
4523 for ac_prog
in cl.exe
4525 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4526 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4528 $as_echo_n "checking for $ac_word... " >&6; }
4529 if ${ac_cv_prog_CC+:} false
; then :
4530 $as_echo_n "(cached) " >&6
4532 if test -n "$CC"; then
4533 ac_cv_prog_CC
="$CC" # Let the user override the test.
4535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4539 test -z "$as_dir" && as_dir
=.
4540 for ac_exec_ext
in '' $ac_executable_extensions; do
4541 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4542 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4553 if test -n "$CC"; then
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4555 $as_echo "$CC" >&6; }
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4558 $as_echo "no" >&6; }
4562 test -n "$CC" && break
4565 if test -z "$CC"; then
4567 for ac_prog
in cl.exe
4569 # Extract the first word of "$ac_prog", so it can be a program name with args.
4570 set dummy
$ac_prog; ac_word
=$2
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4572 $as_echo_n "checking for $ac_word... " >&6; }
4573 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4574 $as_echo_n "(cached) " >&6
4576 if test -n "$ac_ct_CC"; then
4577 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4583 test -z "$as_dir" && as_dir
=.
4584 for ac_exec_ext
in '' $ac_executable_extensions; do
4585 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4586 ac_cv_prog_ac_ct_CC
="$ac_prog"
4587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4596 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4597 if test -n "$ac_ct_CC"; then
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4599 $as_echo "$ac_ct_CC" >&6; }
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4602 $as_echo "no" >&6; }
4606 test -n "$ac_ct_CC" && break
4609 if test "x$ac_ct_CC" = x
; then
4612 case $cross_compiling:$ac_tool_warned in
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4615 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4616 ac_tool_warned
=yes ;;
4625 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4626 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4627 as_fn_error $?
"no acceptable C compiler found in \$PATH
4628 See \`config.log' for more details" "$LINENO" 5; }
4630 # Provide some information about the compiler.
4631 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4634 for ac_option
in --version -v -V -qversion; do
4635 { { ac_try
="$ac_compiler $ac_option >&5"
4637 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4638 *) ac_try_echo=$ac_try;;
4640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4641 $as_echo "$ac_try_echo"; } >&5
4642 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4644 if test -s conftest.err; then
4646 ... rest of stderr output deleted ...
4647 10q' conftest.err >conftest.er1
4648 cat conftest.er1 >&5
4650 rm -f conftest.er1 conftest.err
4651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4652 test $ac_status = 0; }
4655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4656 /* end confdefs.h. */
4666 ac_clean_files_save=$ac_clean_files
4667 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4668 # Try to create an executable without -o first, disregard a.out.
4669 # It will help us diagnose broken compilers, and finding out an intuition
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4672 $as_echo_n "checking whether the C compiler works... " >&6; }
4673 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4675 # The possible output files:
4676 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4679 for ac_file in $ac_files
4682 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4683 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4688 if { { ac_try="$ac_link_default"
4690 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4691 *) ac_try_echo
=$ac_try;;
4693 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4694 $as_echo "$ac_try_echo"; } >&5
4695 (eval "$ac_link_default") 2>&5
4697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4698 test $ac_status = 0; }; then :
4699 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4700 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4701 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4702 # so that the user can short-circuit this test for compilers unknown to
4704 for ac_file
in $ac_files ''
4706 test -f "$ac_file" ||
continue
4708 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4711 # We found the default executable, but exeext='' is most
4715 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4717 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4719 # We set ac_cv_exeext here because the later test for it is not
4720 # safe: cross compilers may not add the suffix if given an `-o'
4721 # argument, so we may need to know it at that point already.
4722 # Even if this section looks crufty: it has the advantage of
4729 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4734 if test -z "$ac_file"; then :
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4736 $as_echo "no" >&6; }
4737 $as_echo "$as_me: failed program was:" >&5
4738 sed 's/^/| /' conftest.
$ac_ext >&5
4740 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4741 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4742 as_fn_error
77 "C compiler cannot create executables
4743 See \`config.log' for more details" "$LINENO" 5; }
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4746 $as_echo "yes" >&6; }
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4749 $as_echo_n "checking for C compiler default output file name... " >&6; }
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4751 $as_echo "$ac_file" >&6; }
4752 ac_exeext
=$ac_cv_exeext
4754 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4755 ac_clean_files
=$ac_clean_files_save
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4757 $as_echo_n "checking for suffix of executables... " >&6; }
4758 if { { ac_try
="$ac_link"
4760 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4761 *) ac_try_echo=$ac_try;;
4763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4764 $as_echo "$ac_try_echo"; } >&5
4765 (eval "$ac_link") 2>&5
4767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4768 test $ac_status = 0; }; then :
4769 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4770 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4771 # work properly (i.e., refer to `conftest.exe'), while it won't with
4773 for ac_file
in conftest.exe conftest conftest.
*; do
4774 test -f "$ac_file" ||
continue
4776 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4777 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4783 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4784 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4785 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4786 See \`config.log' for more details" "$LINENO" 5; }
4788 rm -f conftest conftest
$ac_cv_exeext
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4790 $as_echo "$ac_cv_exeext" >&6; }
4792 rm -f conftest.
$ac_ext
4793 EXEEXT
=$ac_cv_exeext
4795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4796 /* end confdefs.h. */
4801 FILE *f = fopen ("conftest.out", "w");
4802 return ferror (f) || fclose (f) != 0;
4808 ac_clean_files
="$ac_clean_files conftest.out"
4809 # Check that the compiler produces executables we can run. If not, either
4810 # the compiler is broken, or we cross compile.
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4812 $as_echo_n "checking whether we are cross compiling... " >&6; }
4813 if test "$cross_compiling" != yes; then
4814 { { ac_try
="$ac_link"
4816 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4817 *) ac_try_echo=$ac_try;;
4819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4820 $as_echo "$ac_try_echo"; } >&5
4821 (eval "$ac_link") 2>&5
4823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4824 test $ac_status = 0; }
4825 if { ac_try='./conftest$ac_cv_exeext'
4826 { { case "(($ac_try" in
4827 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4828 *) ac_try_echo
=$ac_try;;
4830 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4831 $as_echo "$ac_try_echo"; } >&5
4832 (eval "$ac_try") 2>&5
4834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4835 test $ac_status = 0; }; }; then
4838 if test "$cross_compiling" = maybe
; then
4841 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4842 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4843 as_fn_error $?
"cannot run C compiled programs.
4844 If you meant to cross compile, use \`--host'.
4845 See \`config.log' for more details" "$LINENO" 5; }
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4850 $as_echo "$cross_compiling" >&6; }
4852 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4853 ac_clean_files
=$ac_clean_files_save
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4855 $as_echo_n "checking for suffix of object files... " >&6; }
4856 if ${ac_cv_objext+:} false
; then :
4857 $as_echo_n "(cached) " >&6
4859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4860 /* end confdefs.h. */
4870 rm -f conftest.o conftest.obj
4871 if { { ac_try
="$ac_compile"
4873 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4874 *) ac_try_echo=$ac_try;;
4876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4877 $as_echo "$ac_try_echo"; } >&5
4878 (eval "$ac_compile") 2>&5
4880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4881 test $ac_status = 0; }; then :
4882 for ac_file in conftest.o conftest.obj conftest.*; do
4883 test -f "$ac_file" || continue;
4885 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4886 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4891 $as_echo "$as_me: failed program was:" >&5
4892 sed 's/^/| /' conftest.$ac_ext >&5
4894 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4895 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4896 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4897 See \
`config.log' for more details" "$LINENO" 5; }
4899 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4902 $as_echo "$ac_cv_objext" >&6; }
4903 OBJEXT=$ac_cv_objext
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4906 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4907 if ${ac_cv_c_compiler_gnu+:} false; then :
4908 $as_echo_n "(cached) " >&6
4910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4911 /* end confdefs.h. */
4924 if ac_fn_c_try_compile "$LINENO"; then :
4929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4930 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4934 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4935 if test $ac_compiler_gnu = yes; then
4940 ac_test_CFLAGS=${CFLAGS+set}
4941 ac_save_CFLAGS=$CFLAGS
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4943 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4944 if ${ac_cv_prog_cc_g+:} false; then :
4945 $as_echo_n "(cached) " >&6
4947 ac_save_c_werror_flag=$ac_c_werror_flag
4948 ac_c_werror_flag=yes
4951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4952 /* end confdefs.h. */
4962 if ac_fn_c_try_compile "$LINENO"; then :
4966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4967 /* end confdefs.h. */
4977 if ac_fn_c_try_compile "$LINENO"; then :
4980 ac_c_werror_flag=$ac_save_c_werror_flag
4982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4983 /* end confdefs.h. */
4993 if ac_fn_c_try_compile "$LINENO"; then :
4996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5001 ac_c_werror_flag=$ac_save_c_werror_flag
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5004 $as_echo "$ac_cv_prog_cc_g" >&6; }
5005 if test "$ac_test_CFLAGS" = set; then
5006 CFLAGS=$ac_save_CFLAGS
5007 elif test $ac_cv_prog_cc_g = yes; then
5008 if test "$GCC" = yes; then
5014 if test "$GCC" = yes; then
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5021 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5022 if ${ac_cv_prog_cc_c89+:} false; then :
5023 $as_echo_n "(cached) " >&6
5025 ac_cv_prog_cc_c89=no
5027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5028 /* end confdefs.h. */
5032 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5033 struct buf { int x; };
5034 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5035 static char *e (p, i)
5041 static char *f (char * (*g) (char **, int), char **p, ...)
5046 s = g (p, va_arg (v,int));
5051 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5052 function prototypes and stuff, but not '\xHH' hex character constants.
5053 These don't provoke an error unfortunately, instead are silently treated
5054 as 'x'. The following induces an error, until -std is added to get
5055 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5056 array size at least. It's necessary to write '\x00'==0 to get something
5057 that's true only with -std. */
5058 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5060 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5061 inside strings and character constants. */
5063 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5065 int test (int i, double x);
5066 struct s1 {int (*f) (int a);};
5067 struct s2 {int (*f) (double a);};
5068 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5074 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5079 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5080 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5082 CC="$ac_save_CC $ac_arg"
5083 if ac_fn_c_try_compile "$LINENO"; then :
5084 ac_cv_prog_cc_c89=$ac_arg
5086 rm -f core conftest.err conftest.$ac_objext
5087 test "x$ac_cv_prog_cc_c89" != "xno" && break
5089 rm -f conftest.$ac_ext
5094 case "x$ac_cv_prog_cc_c89" in
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5097 $as_echo "none needed" >&6; } ;;
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5100 $as_echo "unsupported" >&6; } ;;
5102 CC="$CC $ac_cv_prog_cc_c89"
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5104 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5106 if test "x$ac_cv_prog_cc_c89" != xno; then :
5111 ac_cpp='$CPP $CPPFLAGS'
5112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5117 # Put a plausible default for CC_FOR_BUILD in Makefile.
5118 if test "x$cross_compiling" = "xno"; then
5119 CC_FOR_BUILD='$(CC)'
5123 CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
5126 # If we haven't got the data from the intl directory,
5127 # assume NLS is disabled.
5136 if test -f ../../intl/config.intl; then
5137 . ../../intl/config.intl
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5140 $as_echo_n "checking whether NLS is requested... " >&6; }
5141 if test x"$USE_NLS" != xyes; then
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5143 $as_echo "no" >&6; }
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5146 $as_echo "yes" >&6; }
5148 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
5152 $as_echo_n "checking for catalogs to be installed... " >&6; }
5153 # Look for .po and .gmo files in the source directory.
5156 for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
5157 # If there aren't any .gmo files the shell will give us the
5158 # literal string "../path/to/srcdir/po/*.gmo" which has to be
5160 case "$cat" in *\**)
5163 # The quadruple backslash is collapsed to a double backslash
5164 # by the backticks, then collapsed again by the double quotes,
5165 # leaving us with one backslash in the sed expression (right
5166 # before the dot that mustn't act as a wildcard).
5167 cat=`echo $cat |
sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
5168 lang=`echo $cat |
sed -e "s!\\\\.gmo!!"`
5169 # The user is allowed to set LINGUAS to a list of languages to
5170 # install catalogs for. If it's empty that means "all of them."
5171 if test "x$LINGUAS" = x; then
5172 CATALOGS="$CATALOGS $cat"
5173 XLINGUAS="$XLINGUAS $lang"
5175 case "$LINGUAS" in *$lang*)
5176 CATALOGS="$CATALOGS $cat"
5177 XLINGUAS="$XLINGUAS $lang"
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
5184 $as_echo "$LINGUAS" >&6; }
5198 # Check whether --enable-sim-alignment was given.
5199 if test "${enable_sim_alignment+set}" = set; then :
5200 enableval=$enable_sim_alignment; case "${enableval}" in
5201 yes | strict | STRICT) sim_alignment="-DWITH_ALIGNMENT=STRICT_ALIGNMENT";;
5202 no | nonstrict | NONSTRICT) sim_alignment="-DWITH_ALIGNMENT=NONSTRICT_ALIGNMENT";;
5203 0 | default | DEFAULT) sim_alignment="-DWITH_ALIGNMENT=0";;
5204 *) as_fn_error $? "\"Unknown value $enableval passed to --enable-sim-alignment\"" "$LINENO" 5; sim_alignment="";;
5206 if test x"$silent" != x"yes" && test x"$sim_alignment" != x""; then
5207 echo "Setting alignment flags = $sim_alignment" 6>&1
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable sim asserts" >&5
5215 $as_echo_n "checking whether to enable sim asserts... " >&6; }
5217 # Check whether --enable-sim-assert was given.
5218 if test "${enable_sim_assert+set}" = set; then :
5219 enableval=$enable_sim_assert; case "${enableval}" in
5220 yes) sim_assert="1";;
5221 no) sim_assert="0";;
5222 *) as_fn_error $? "--enable-sim-assert does not take a value" "$LINENO" 5;;
5226 cat >>confdefs.h <<_ACEOF
5227 #define WITH_ASSERT $sim_assert
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_assert" >&5
5231 $as_echo "$sim_assert" >&6; }
5234 # Check whether --enable-sim-bitsize was given.
5235 if test "${enable_sim_bitsize+set}" = set; then :
5236 enableval=$enable_sim_bitsize; case "${enableval}" in
5237 32|64) sim_bitsize="-DWITH_TARGET_WORD_BITSIZE=$enableval";;
5238 *) as_fn_error $? "\"--enable-sim-bitsize was given $enableval. Expected 32 or 64\"" "$LINENO" 5; sim_bitsize="";;
5240 if test x"$silent" != x"yes" && test x"$sim_bitsize" != x""; then
5241 echo "Setting bitsize flags = $sim_bitsize" 6>&1
5248 # Check whether --enable-sim-config was given.
5249 if test "${enable_sim_config+set}" = set; then :
5250 enableval=$enable_sim_config; case "${enableval}" in
5251 yes|no) as_fn_error $? "\"No value supplied for --enable-sim-config=file\"" "$LINENO" 5;;
5252 *) if test -f "${srcdir}/${enableval}"; then
5253 sim_config="${enableval}";
5254 elif test -f "${srcdir}/${enableval}-config.h"; then
5255 sim_config="${enableval}-config.h"
5257 as_fn_error $? "\"Config file $enableval was not found\"" "$LINENO" 5;
5258 sim_config=std-config.h
5261 if test x"$silent" != x"yes" && test x"$sim_config" != x""; then
5262 echo "Setting config flags = $sim_config" 6>&1
5265 sim_config="std-config.h"
5266 if test x"$silent" != x"yes"; then
5267 echo "Setting config flags = $sim_config" 6>&1
5272 # Check whether --enable-sim-decode-mechanism was given.
5273 if test "${enable_sim_decode_mechanism+set}" = set; then :
5274 enableval=$enable_sim_decode_mechanism; case "${enableval}" in
5275 yes|no) as_fn_error $? "\"No value supplied for --enable-sim-decode-mechanism=file\"" "$LINENO" 5;;
5276 array|switch|padded-switch|goto-switch) sim_decode_mechanism="-T ${enableval}";;
5277 *) as_fn_error $? "\"File $enableval is not an opcode rules file\"" "$LINENO" 5;
5278 sim_decode_mechanism="switch";;
5280 if test x"$silent" != x"yes" && test x"$sim_decode_mechanism" != x""; then
5281 echo "Setting decode mechanism flags = $sim_decode_mechanism" 6>&1
5284 sim_decode_mechanism=""
5285 if test x"$silent" != x"yes"; then
5286 echo "Setting decode mechanism flags = $sim_decode_mechanism"
5291 # Check whether --enable-sim-default-model was given.
5292 if test "${enable_sim_default_model+set}" = set; then :
5293 enableval=$enable_sim_default_model; case "${enableval}" in
5294 yes|no) as_fn_error $? "\"No value supplied for --enable-sim-default-model=model\"" "$LINENO" 5;;
5295 *) sim_default_model="-DWITH_DEFAULT_MODEL=${enableval}";;
5297 if test x"$silent" != x"yes" && test x"$sim_default_model" != x""; then
5298 echo "Setting default-model flags = $sim_default_model" 6>&1
5301 sim_default_model=""
5305 # Check whether --enable-sim-duplicate was given.
5306 if test "${enable_sim_duplicate+set}" = set; then :
5307 enableval=$enable_sim_duplicate; case "${enableval}" in
5310 *) as_fn_error $? "\"--enable-sim-duplicate does not take a value\"" "$LINENO" 5; sim_dup="";;
5312 if test x"$silent" != x"yes" && test x"$sim_dup" != x""; then
5313 echo "Setting duplicate flags = $sim_dup" 6>&1
5317 if test x"$silent" != x"yes"; then
5318 echo "Setting duplicate flags = $sim_dup" 6>&1
5323 # Check whether --enable-sim-endian was given.
5324 if test "${enable_sim_endian+set}" = set; then :
5325 enableval=$enable_sim_endian; case "${enableval}" in
5326 yes) case "$target" in
5327 *powerpc-*) sim_endian="-DWITH_TARGET_BYTE_ORDER=BIG_ENDIAN";;
5328 *powerpcle-*) sim_endian="-DWITH_TARGET_BYTE_ORDER=LITTLE_ENDIAN";;
5329 *) echo "Unknown target $target" 1>&6; sim_endian="-DWITH_TARGET_BYTE_ORDER=0";;
5331 no) sim_endian="-DWITH_TARGET_BYTE_ORDER=0";;
5332 b*|B*) sim_endian="-DWITH_TARGET_BYTE_ORDER=BIG_ENDIAN";;
5333 l*|L*) sim_endian="-DWITH_TARGET_BYTE_ORDER=LITTLE_ENDIAN";;
5334 *) as_fn_error $? "\"Unknown value $enableval for --enable-sim-endian\"" "$LINENO" 5; sim_endian="";;
5336 if test x"$silent" != x"yes" && test x"$sim_endian" != x""; then
5337 echo "Setting endian flags = $sim_endian" 6>&1
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default sim environment setting" >&5
5345 $as_echo_n "checking default sim environment setting... " >&6; }
5347 # Check whether --enable-sim-env was given.
5348 if test "${enable_sim_env+set}" = set; then :
5349 enableval=$enable_sim_env; case "${enableval}" in
5350 operating | os | oea) sim_env="OPERATING_ENVIRONMENT";;
5351 virtual | vea) sim_env="VIRTUAL_ENVIRONMENT";;
5352 user | uea) sim_env="USER_ENVIRONMENT";;
5354 *) as_fn_error $? "Unknown value $enableval passed to --enable-sim-env" "$LINENO" 5;;
5358 cat >>confdefs.h <<_ACEOF
5359 #define WITH_ENVIRONMENT $sim_env
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_env" >&5
5363 $as_echo "$sim_env" >&6; }
5366 # Check whether --enable-sim-filter was given.
5367 if test "${enable_sim_filter+set}" = set; then :
5368 enableval=$enable_sim_filter; case "${enableval}" in
5369 yes) as_fn_error $? "\"--enable-sim-filter must be specified with a rule to filter or no\"" "$LINENO" 5; sim_filter="";;
5371 *) sim_filter="-F $enableval";;
5373 if test x"$silent" != x"yes" && test x"$sim_filter" != x""; then
5374 echo "Setting filter flags = $sim_filter" 6>&1
5377 sim_filter="-F 32,f,o"
5378 if test x"$silent" != x"yes"; then
5379 echo "Setting filter flags = $sim_filter" 6>&1
5384 # Check whether --enable-sim-float was given.
5385 if test "${enable_sim_float+set}" = set; then :
5386 enableval=$enable_sim_float; case "${enableval}" in
5387 yes | hard) sim_float="-DWITH_FLOATING_POINT=HARD_FLOATING_POINT";;
5388 no | soft) sim_float="-DWITH_FLOATING_POINT=SOFT_FLOATING_POINT";;
5389 altivec) sim_float="-DWITH_ALTIVEC" ; sim_filter="${sim_filter},av" ;;
5390 *spe*|*simd*) sim_float="-DWITH_E500" ; sim_filter="${sim_filter},e500" ;;
5391 *) as_fn_error $? "\"Unknown value $enableval passed to --enable-sim-float\"" "$LINENO" 5; sim_float="";;
5393 if test x"$silent" != x"yes" && test x"$sim_float" != x""; then
5394 echo "Setting float flags = $sim_float" 6>&1
5399 *altivec*) sim_float="-DWITH_ALTIVEC" ; sim_filter="${sim_filter},av" ;;
5400 *spe*|*simd*) sim_float="-DWITH_E500" ; sim_filter="${sim_filter},e500" ;;
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if union semun defined" >&5
5408 $as_echo_n "checking if union semun defined... " >&6; }
5409 if ${ac_cv_HAS_UNION_SEMUN+:} false; then :
5410 $as_echo_n "(cached) " >&6
5412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5413 /* end confdefs.h. */
5415 #include <sys/types.h>
5416 #include <sys/ipc.h>
5417 #include <sys/sem.h>
5426 if ac_fn_c_try_compile "$LINENO"; then :
5427 ac_cv_has_union_semun="yes"
5429 ac_cv_has_union_semun="no"
5431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_has_union_semun" >&5
5433 $as_echo "$ac_cv_has_union_semun" >&6; }
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_HAS_UNION_SEMUN" >&5
5437 $as_echo "$ac_cv_HAS_UNION_SEMUN" >&6; }
5440 if test "$ac_cv_has_union_semun" = "yes"; then
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether System V semaphores are supported" >&5
5442 $as_echo_n "checking whether System V semaphores are supported... " >&6; }
5443 if ${ac_cv_sysv_sem+:} false; then :
5444 $as_echo_n "(cached) " >&6
5447 if test "$cross_compiling" = yes; then :
5450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5451 /* end confdefs.h. */
5453 #include <sys/types.h>
5454 #include <sys/ipc.h>
5455 #include <sys/sem.h>
5459 int id=semget(IPC_PRIVATE,1,IPC_CREAT|0400);
5462 arg.val = 0; /* avoid implicit type cast to union */
5463 if (semctl(id, 0, IPC_RMID, arg) == -1)
5469 if ac_fn_c_try_run "$LINENO"; then :
5470 ac_cv_sysv_sem="yes"
5474 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5475 conftest.$ac_objext conftest.beam conftest.$ac_ext
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sysv_sem" >&5
5481 $as_echo "$ac_cv_sysv_sem" >&6; }
5482 else # semun is not defined
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether System V semaphores are supported" >&5
5484 $as_echo_n "checking whether System V semaphores are supported... " >&6; }
5485 if ${ac_cv_sysv_sem+:} false; then :
5486 $as_echo_n "(cached) " >&6
5489 if test "$cross_compiling" = yes; then :
5492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5493 /* end confdefs.h. */
5495 #include <sys/types.h>
5496 #include <sys/ipc.h>
5497 #include <sys/sem.h>
5500 struct semid_ds *buf;
5506 int id=semget(IPC_PRIVATE,1,IPC_CREAT|0400);
5509 arg.val = 0; /* avoid implicit type cast to union */
5510 if (semctl(id, 0, IPC_RMID, arg) == -1)
5516 if ac_fn_c_try_run "$LINENO"; then :
5517 ac_cv_sysv_sem="yes"
5521 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5522 conftest.$ac_objext conftest.beam conftest.$ac_ext
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sysv_sem" >&5
5528 $as_echo "$ac_cv_sysv_sem" >&6; }
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether System V shared memory is supported" >&5
5532 $as_echo_n "checking whether System V shared memory is supported... " >&6; }
5533 if ${ac_cv_sysv_shm+:} false; then :
5534 $as_echo_n "(cached) " >&6
5537 if test "$cross_compiling" = yes; then :
5540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5541 /* end confdefs.h. */
5543 #include <sys/types.h>
5544 #include <sys/ipc.h>
5545 #include <sys/shm.h>
5547 int id=shmget(IPC_PRIVATE,1,IPC_CREAT|0400);
5550 if (shmctl(id, IPC_RMID, 0) == -1)
5556 if ac_fn_c_try_run "$LINENO"; then :
5557 ac_cv_sysv_shm="yes"
5561 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5562 conftest.$ac_objext conftest.beam conftest.$ac_ext
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sysv_shm" >&5
5568 $as_echo "$ac_cv_sysv_shm" >&6; }
5570 if test x"$ac_cv_sysv_shm" = x"yes" -a x"$ac_cv_sysv_sem" = x"yes" ; then
5571 sim_sysv_ipc_hw=",sem,shm";
5576 if test x"$ac_cv_has_union_semun" = x"yes" -a x"$ac_cv_sysv_sem" = x"yes" ; then
5578 $as_echo "#define HAVE_UNION_SEMUN 1" >>confdefs.h
5583 # Check whether --enable-sim-hardware was given.
5584 if test "${enable_sim_hardware+set}" = set; then :
5585 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}"
5586 case "${enableval}" in
5588 no) as_fn_error $? "\"List of hardware must be specified for --enable-sim-hardware\"" "$LINENO" 5; hardware="";;
5589 ,*) hardware="${hardware}${enableval}";;
5590 *,) hardware="${enableval}${hardware}";;
5591 *) hardware="${enableval}"'';;
5593 sim_hw_src=`echo $hardware |
sed -e 's/,/.c hw_/g' -e 's/^/hw_/' -e s
'/$/.c/'`
5594 sim_hw_obj=`echo $sim_hw_src |
sed -e 's/\.c/.o/g'`
5595 if test x"$silent" != x"yes" && test x"$hardware" != x""; then
5596 echo "Setting hardware to $sim_hw_src, $sim_hw_obj"
5599 hardware="cpu,memory,nvram,iobus,htab,disk,trace,register,vm,init,core,pal,com,eeprom,opic,glue,phb,ide${sim_sysv_ipc_hw}"
5600 sim_hw_src=`echo $hardware |
sed -e 's/,/.c hw_/g' -e 's/^/hw_/' -e s
'/$/.c/'`
5601 sim_hw_obj=`echo $sim_hw_src |
sed -e 's/\.c/.o/g'`
5602 if test x"$silent" != x"yes"; then
5603 echo "Setting hardware to $sim_hw_src, $sim_hw_obj"
5607 # Check whether --enable-sim-hostbitsize was given.
5608 if test "${enable_sim_hostbitsize+set}" = set; then :
5609 enableval=$enable_sim_hostbitsize; case "${enableval}" in
5610 32|64) sim_hostbitsize="-DWITH_HOST_WORD_BITSIZE=$enableval";;
5611 *) as_fn_error $? "\"--enable-sim-hostbitsize was given $enableval. Expected 32 or 64\"" "$LINENO" 5; sim_hostbitsize="";;
5613 if test x"$silent" != x"yes" && test x"$sim_hostbitsize" != x""; then
5614 echo "Setting hostbitsize flags = $sim_hostbitsize" 6>&1
5622 ac_cpp='$CPP $CPPFLAGS'
5623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5627 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5628 # On Suns, sometimes $CPP names a directory.
5629 if test -n "$CPP" && test -d "$CPP"; then
5632 if test -z "$CPP"; then
5633 if ${ac_cv_prog_CPP+:} false; then :
5634 $as_echo_n "(cached) " >&6
5636 # Double quotes because CPP needs to be expanded
5637 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5640 for ac_c_preproc_warn_flag in '' yes
5642 # Use a header file that comes with gcc, so configuring glibc
5643 # with a fresh cross-compiler works.
5644 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5645 # <limits.h> exists even on freestanding compilers.
5646 # On the NeXT, cc -E runs the code through the compiler's parser,
5647 # not just through cpp. "Syntax error" is here to catch this case.
5648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5649 /* end confdefs.h. */
5651 # include <limits.h>
5653 # include <assert.h>
5657 if ac_fn_c_try_cpp "$LINENO"; then :
5660 # Broken: fails on valid input.
5663 rm -f conftest.err conftest.i conftest.$ac_ext
5665 # OK, works on sane cases. Now check whether nonexistent headers
5666 # can be detected and how.
5667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5668 /* end confdefs.h. */
5669 #include <ac_nonexistent.h>
5671 if ac_fn_c_try_cpp "$LINENO"; then :
5672 # Broken: success on invalid input.
5675 # Passes both tests.
5679 rm -f conftest.err conftest.i conftest.$ac_ext
5682 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5683 rm -f conftest.i conftest.err conftest.
$ac_ext
5684 if $ac_preproc_ok; then :
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5697 $as_echo "$CPP" >&6; }
5699 for ac_c_preproc_warn_flag
in '' yes
5701 # Use a header file that comes with gcc, so configuring glibc
5702 # with a fresh cross-compiler works.
5703 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5704 # <limits.h> exists even on freestanding compilers.
5705 # On the NeXT, cc -E runs the code through the compiler's parser,
5706 # not just through cpp. "Syntax error" is here to catch this case.
5707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5708 /* end confdefs.h. */
5710 # include <limits.h>
5712 # include <assert.h>
5716 if ac_fn_c_try_cpp
"$LINENO"; then :
5719 # Broken: fails on valid input.
5722 rm -f conftest.err conftest.i conftest.
$ac_ext
5724 # OK, works on sane cases. Now check whether nonexistent headers
5725 # can be detected and how.
5726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5727 /* end confdefs.h. */
5728 #include <ac_nonexistent.h>
5730 if ac_fn_c_try_cpp
"$LINENO"; then :
5731 # Broken: success on invalid input.
5734 # Passes both tests.
5738 rm -f conftest.err conftest.i conftest.
$ac_ext
5741 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5742 rm -f conftest.i conftest.err conftest.
$ac_ext
5743 if $ac_preproc_ok; then :
5746 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5747 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5748 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5749 See \`config.log' for more details" "$LINENO" 5; }
5753 ac_cpp
='$CPP $CPPFLAGS'
5754 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5755 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5756 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5760 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5761 if ${ac_cv_path_GREP+:} false
; then :
5762 $as_echo_n "(cached) " >&6
5764 if test -z "$GREP"; then
5765 ac_path_GREP_found
=false
5766 # Loop through the user's path and test for each of PROGNAME-LIST
5767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5768 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5771 test -z "$as_dir" && as_dir
=.
5772 for ac_prog
in grep ggrep
; do
5773 for ac_exec_ext
in '' $ac_executable_extensions; do
5774 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5775 as_fn_executable_p
"$ac_path_GREP" ||
continue
5776 # Check for GNU ac_path_GREP and select it if it is found.
5777 # Check for GNU $ac_path_GREP
5778 case `"$ac_path_GREP" --version 2>&1` in
5780 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5783 $as_echo_n 0123456789 >"conftest.in"
5786 cat "conftest.in" "conftest.in" >"conftest.tmp"
5787 mv "conftest.tmp" "conftest.in"
5788 cp "conftest.in" "conftest.nl"
5789 $as_echo 'GREP' >> "conftest.nl"
5790 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5791 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5792 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5793 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5794 # Best one so far, save it but keep looking for a better one
5795 ac_cv_path_GREP
="$ac_path_GREP"
5796 ac_path_GREP_max
=$ac_count
5798 # 10*(2^10) chars as input seems more than enough
5799 test $ac_count -gt 10 && break
5801 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5804 $ac_path_GREP_found && break 3
5809 if test -z "$ac_cv_path_GREP"; then
5810 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5813 ac_cv_path_GREP
=$GREP
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5818 $as_echo "$ac_cv_path_GREP" >&6; }
5819 GREP
="$ac_cv_path_GREP"
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5823 $as_echo_n "checking for egrep... " >&6; }
5824 if ${ac_cv_path_EGREP+:} false
; then :
5825 $as_echo_n "(cached) " >&6
5827 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5828 then ac_cv_path_EGREP
="$GREP -E"
5830 if test -z "$EGREP"; then
5831 ac_path_EGREP_found
=false
5832 # Loop through the user's path and test for each of PROGNAME-LIST
5833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5834 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5837 test -z "$as_dir" && as_dir
=.
5838 for ac_prog
in egrep; do
5839 for ac_exec_ext
in '' $ac_executable_extensions; do
5840 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5841 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5842 # Check for GNU ac_path_EGREP and select it if it is found.
5843 # Check for GNU $ac_path_EGREP
5844 case `"$ac_path_EGREP" --version 2>&1` in
5846 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5849 $as_echo_n 0123456789 >"conftest.in"
5852 cat "conftest.in" "conftest.in" >"conftest.tmp"
5853 mv "conftest.tmp" "conftest.in"
5854 cp "conftest.in" "conftest.nl"
5855 $as_echo 'EGREP' >> "conftest.nl"
5856 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5857 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5858 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5859 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5860 # Best one so far, save it but keep looking for a better one
5861 ac_cv_path_EGREP
="$ac_path_EGREP"
5862 ac_path_EGREP_max
=$ac_count
5864 # 10*(2^10) chars as input seems more than enough
5865 test $ac_count -gt 10 && break
5867 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5870 $ac_path_EGREP_found && break 3
5875 if test -z "$ac_cv_path_EGREP"; then
5876 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5879 ac_cv_path_EGREP
=$EGREP
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5885 $as_echo "$ac_cv_path_EGREP" >&6; }
5886 EGREP
="$ac_cv_path_EGREP"
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5890 $as_echo_n "checking for ANSI C header files... " >&6; }
5891 if ${ac_cv_header_stdc+:} false
; then :
5892 $as_echo_n "(cached) " >&6
5894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5895 /* end confdefs.h. */
5909 if ac_fn_c_try_compile
"$LINENO"; then :
5910 ac_cv_header_stdc
=yes
5912 ac_cv_header_stdc
=no
5914 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5916 if test $ac_cv_header_stdc = yes; then
5917 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5919 /* end confdefs.h. */
5923 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5924 $EGREP "memchr" >/dev
/null
2>&1; then :
5927 ac_cv_header_stdc
=no
5933 if test $ac_cv_header_stdc = yes; then
5934 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5936 /* end confdefs.h. */
5940 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5941 $EGREP "free" >/dev
/null
2>&1; then :
5944 ac_cv_header_stdc
=no
5950 if test $ac_cv_header_stdc = yes; then
5951 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5952 if test "$cross_compiling" = yes; then :
5955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5956 /* end confdefs.h. */
5959 #if ((' ' & 0x0FF) == 0x020)
5960 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5961 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5963 # define ISLOWER(c) \
5964 (('a' <= (c) && (c) <= 'i') \
5965 || ('j' <= (c) && (c) <= 'r') \
5966 || ('s' <= (c) && (c) <= 'z'))
5967 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5970 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5975 for (i = 0; i < 256; i++)
5976 if (XOR (islower (i), ISLOWER (i))
5977 || toupper (i) != TOUPPER (i))
5982 if ac_fn_c_try_run
"$LINENO"; then :
5985 ac_cv_header_stdc
=no
5987 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5988 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5994 $as_echo "$ac_cv_header_stdc" >&6; }
5995 if test $ac_cv_header_stdc = yes; then
5997 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6001 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6002 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6003 inttypes.h stdint.h unistd.h
6005 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6006 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6008 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6009 cat >>confdefs.h
<<_ACEOF
6010 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6018 # Check whether --enable-sim-hostendian was given.
6019 if test "${enable_sim_hostendian+set}" = set; then :
6020 enableval
=$enable_sim_hostendian; case "${enableval}" in
6021 no
) sim_hostendian
="-DWITH_HOST_BYTE_ORDER=0";;
6022 b
*|B
*) sim_hostendian
="-DWITH_HOST_BYTE_ORDER=BIG_ENDIAN";;
6023 l
*|L
*) sim_hostendian
="-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN";;
6024 *) as_fn_error $?
"\"Unknown value $enableval for --enable-sim-hostendian\"" "$LINENO" 5; sim_hostendian
="";;
6026 if test x
"$silent" != x
"yes" && test x
"$sim_hostendian" != x
""; then
6027 echo "Setting hostendian flags = $sim_hostendian" 6>&1
6031 if test "x$cross_compiling" = "xno"; then
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
6033 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
6034 if ${ac_cv_c_bigendian+:} false
; then :
6035 $as_echo_n "(cached) " >&6
6037 ac_cv_c_bigendian
=unknown
6038 # See if we're dealing with a universal compiler.
6039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6040 /* end confdefs.h. */
6041 #ifndef __APPLE_CC__
6042 not a universal capable compiler
6047 if ac_fn_c_try_compile
"$LINENO"; then :
6049 # Check for potential -arch flags. It is not universal unless
6050 # there are at least two -arch flags with different values.
6053 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
6054 if test -n "$ac_prev"; then
6056 i?
86 | x86_64 | ppc | ppc64
)
6057 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
6060 ac_cv_c_bigendian
=universal
6066 elif test "x$ac_word" = "x-arch"; then
6071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6072 if test $ac_cv_c_bigendian = unknown
; then
6073 # See if sys/param.h defines the BYTE_ORDER macro.
6074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6075 /* end confdefs.h. */
6076 #include <sys/types.h>
6077 #include <sys/param.h>
6082 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
6083 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
6092 if ac_fn_c_try_compile
"$LINENO"; then :
6093 # It does; now see whether it defined to BIG_ENDIAN or not.
6094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6095 /* end confdefs.h. */
6096 #include <sys/types.h>
6097 #include <sys/param.h>
6102 #if BYTE_ORDER != BIG_ENDIAN
6110 if ac_fn_c_try_compile
"$LINENO"; then :
6111 ac_cv_c_bigendian
=yes
6113 ac_cv_c_bigendian
=no
6115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6117 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6119 if test $ac_cv_c_bigendian = unknown
; then
6120 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
6121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6122 /* end confdefs.h. */
6128 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
6136 if ac_fn_c_try_compile
"$LINENO"; then :
6137 # It does; now see whether it defined to _BIG_ENDIAN or not.
6138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6139 /* end confdefs.h. */
6153 if ac_fn_c_try_compile
"$LINENO"; then :
6154 ac_cv_c_bigendian
=yes
6156 ac_cv_c_bigendian
=no
6158 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6162 if test $ac_cv_c_bigendian = unknown
; then
6163 # Compile a test program.
6164 if test "$cross_compiling" = yes; then :
6165 # Try to guess by grepping values from an object file.
6166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6167 /* end confdefs.h. */
6168 short int ascii_mm[] =
6169 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
6170 short int ascii_ii[] =
6171 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
6172 int use_ascii (int i) {
6173 return ascii_mm[i] + ascii_ii[i];
6175 short int ebcdic_ii[] =
6176 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
6177 short int ebcdic_mm[] =
6178 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
6179 int use_ebcdic (int i) {
6180 return ebcdic_mm[i] + ebcdic_ii[i];
6187 return use_ascii (foo) == use_ebcdic (foo);
6192 if ac_fn_c_try_compile
"$LINENO"; then :
6193 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
6194 ac_cv_c_bigendian
=yes
6196 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
6197 if test "$ac_cv_c_bigendian" = unknown
; then
6198 ac_cv_c_bigendian
=no
6200 # finding both strings is unlikely to happen, but who knows?
6201 ac_cv_c_bigendian
=unknown
6205 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6208 /* end confdefs.h. */
6209 $ac_includes_default
6214 /* Are we little or big endian? From Harbison&Steele. */
6218 char c[sizeof (long int)];
6221 return u.c[sizeof (long int) - 1] == 1;
6227 if ac_fn_c_try_run
"$LINENO"; then :
6228 ac_cv_c_bigendian
=no
6230 ac_cv_c_bigendian
=yes
6232 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6233 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
6239 $as_echo "$ac_cv_c_bigendian" >&6; }
6240 case $ac_cv_c_bigendian in #(
6242 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
6248 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
6252 as_fn_error $?
"unknown endianness
6253 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
6256 if test $ac_cv_c_bigendian = yes; then
6257 sim_hostendian
="-DWITH_HOST_BYTE_ORDER=BIG_ENDIAN"
6259 sim_hostendian
="-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN"
6262 sim_hostendian
="-DWITH_HOST_BYTE_ORDER=0"
6267 # Check whether --enable-sim-icache was given.
6268 if test "${enable_sim_icache+set}" = set; then :
6269 enableval
=$enable_sim_icache; icache
="-R"
6270 case "${enableval}" in
6271 yes) icache
="1024"; sim_icache
="-I $icache";;
6272 no
) sim_icache
="-R";;
6275 for x
in `echo "${enableval}" | sed -e "s/,/ /g"`; do
6277 define
) sim_icache
="${sim_icache}R";;
6278 semantic
) sim_icache
="${sim_icache}C";;
6279 insn
) sim_icache
="${sim_icache}S";;
6280 0*|
1*|
2*|
3*|
4*|
5*|
6*|
7*|
8*|
9*) icache
=$x;;
6281 *) as_fn_error $?
"\"Unknown value $x for --enable-sim-icache\"" "$LINENO" 5; sim_icache
="";;
6284 sim_icache
="${sim_icache}I $icache";;
6286 if test x
"$silent" != x
"yes" && test x
"$icache" != x
""; then
6287 echo "Setting instruction cache size to $icache ($sim_icache)"
6290 sim_icache
="-CSRI 1024"
6291 if test x
"$silent" != x
"yes"; then
6292 echo "Setting instruction cache size to 1024 ($sim_icache)"
6297 # Check whether --enable-sim-inline was given.
6298 if test "${enable_sim_inline+set}" = set; then :
6299 enableval
=$enable_sim_inline; sim_inline
=""
6300 case "$enableval" in
6301 no
) sim_inline
="-DDEFAULT_INLINE=0";;
6302 0) sim_inline
="-DDEFAULT_INLINE=0";;
6303 yes |
2) sim_inline
="-DDEFAULT_INLINE=ALL_INLINE";;
6304 1) sim_inline
="-DDEFAULT_INLINE=PSIM_INLINE_LOCALS";;
6305 *) for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
6308 *_INLINE
=*) new_flag
="-D$x";;
6309 *=*) new_flag
=`echo "$x" | sed -e "s/=/_INLINE=/" -e "s/^/-D/"`;;
6310 *_INLINE
) new_flag
="-D$x=ALL_INLINE";;
6311 *) new_flag
="-D$x""_INLINE=ALL_INLINE";;
6313 if test x
"$sim_inline" = x
""; then
6314 sim_inline
="$new_flag"
6316 sim_inline
="$sim_inline $new_flag"
6320 if test x
"$silent" != x
"yes" && test x
"$sim_inline" != x
""; then
6321 echo "Setting inline flags = $sim_inline" 6>&1
6324 if test x
"$GCC" != ""; then
6325 sim_inline
="-DDEFAULT_INLINE=PSIM_INLINE_LOCALS"
6326 if test x
"$silent" != x
"yes"; then
6327 echo "Setting inline flags = $sim_inline" 6>&1
6335 # Check whether --enable-sim-jump was given.
6336 if test "${enable_sim_jump+set}" = set; then :
6337 enableval
=$enable_sim_jump; case "${enableval}" in
6338 yes) sim_jump
="-J";;
6340 *) as_fn_error $?
"\"--enable-sim-jump does not take a value\"" "$LINENO" 5; sim_jump
="";;
6342 if test x
"$silent" != x
"yes" && test x
"$sim_jump" != x
""; then
6343 echo "Setting jump flag = $sim_jump" 6>&1
6347 if test x
"$silent" != x
"yes"; then
6348 echo "Setting jump flag = $sim_jump" 6>&1
6353 # Check whether --enable-sim-line-nr was given.
6354 if test "${enable_sim_line_nr+set}" = set; then :
6355 enableval
=$enable_sim_line_nr; case "${enableval}" in
6356 yes) sim_line_nr
="";;
6357 no
) sim_line_nr
="-L";;
6358 *) as_fn_error $?
"\"--enable-sim-line-nr does not take a value\"" "$LINENO" 5; sim_line_nr
="";;
6360 if test x
"$silent" != x
"yes" && test x
"$sim_line_nr" != x
""; then
6361 echo "Setting warning flags = $sim_line_nr" 6>&1
6368 # Check whether --enable-sim-model was given.
6369 if test "${enable_sim_model+set}" = set; then :
6370 enableval
=$enable_sim_model; case "${enableval}" in
6371 yes|no
) as_fn_error $?
"\"No value supplied for --enable-sim-model=model\"" "$LINENO" 5;;
6372 *) sim_model
="-DWITH_MODEL=${enableval}";;
6374 if test x
"$silent" != x
"yes" && test x
"$sim_model" != x
""; then
6375 echo "Setting model flags = $sim_model" 6>&1
6382 # Check whether --enable-sim-model-issue was given.
6383 if test "${enable_sim_model_issue+set}" = set; then :
6384 enableval
=$enable_sim_model_issue; case "${enableval}" in
6385 yes) sim_model_issue
="-DWITH_MODEL_ISSUE=MODEL_ISSUE_PROCESS";;
6386 no
) sim_model_issue
="-DWITH_MODEL_ISSUE=MODEL_ISSUE_IGNORE";;
6387 *) as_fn_error $?
"\"--enable-sim-model-issue does not take a value\"" "$LINENO" 5; sim_model_issue
="";;
6389 if test x
"$silent" != x
"yes"; then
6390 echo "Setting model-issue flags = $sim_model_issue" 6>&1
6397 # Check whether --enable-sim-monitor was given.
6398 if test "${enable_sim_monitor+set}" = set; then :
6399 enableval
=$enable_sim_monitor; case "${enableval}" in
6400 yes) sim_monitor
="-DWITH_MON='MONITOR_INSTRUCTION_ISSUE | MONITOR_LOAD_STORE_UNIT'";;
6401 no
) sim_monitor
="-DWITH_MON=0";;
6402 instruction
) sim_monitor
="-DWITH_MON=MONITOR_INSTRUCTION_ISSUE";;
6403 memory
) sim_monitor
="-DWITH_MON=MONITOR_LOAD_STORE_UNIT";;
6404 *) as_fn_error $?
"\"Unknown value $enableval passed to --enable-sim-mon\"" "$LINENO" 5; sim_env
="";;
6406 if test x
"$silent" != x
"yes" && test x
"$sim_monitor" != x
""; then
6407 echo "Setting monitor flags = $sim_monitor" 6>&1
6414 # Check whether --enable-sim-opcode was given.
6415 if test "${enable_sim_opcode+set}" = set; then :
6416 enableval
=$enable_sim_opcode; case "${enableval}" in
6417 yes|no
) as_fn_error $?
"\"No value supplied for --enable-sim-opcode=file\"" "$LINENO" 5;;
6418 *) if test -f "${srcdir}/${enableval}"; then
6419 sim_opcode
="${enableval}"
6420 elif test -f "${srcdir}/dc-${enableval}"; then
6421 sim_opcode
="dc-${enableval}"
6423 as_fn_error $?
"\"File $enableval is not an opcode rules file\"" "$LINENO" 5;
6424 sim_opcode
="dc-complex"
6427 if test x
"$silent" != x
"yes" && test x
"$sim_opcode" != x
""; then
6428 echo "Setting opcode flags = $sim_opcode" 6>&1
6431 sim_opcode
="dc-complex"
6432 if test x
"$silent" != x
"yes"; then
6433 echo "Setting opcode flags = $sim_opcode"
6438 # Check whether --enable-sim-packages was given.
6439 if test "${enable_sim_packages+set}" = set; then :
6440 enableval
=$enable_sim_packages; packages
=disklabel
6441 case "${enableval}" in
6443 no
) as_fn_error $?
"\"List of packages must be specified for --enable-sim-packages\"" "$LINENO" 5; packages
="";;
6444 ,*) packages
="${packages}${enableval}";;
6445 *,) packages
="${enableval}${packages}";;
6446 *) packages
="${enableval}"'';;
6448 sim_pk_src
=`echo $packages | sed -e 's/,/.c pk_/g' -e 's/^/pk_/' -e 's/$/.c/'`
6449 sim_pk_obj
=`echo $sim_pk_src | sed -e 's/\.c/.o/g'`
6450 if test x
"$silent" != x
"yes" && test x
"$packages" != x
""; then
6451 echo "Setting packages to $sim_pk_src, $sim_pk_obj"
6455 sim_pk_src
=`echo $packages | sed -e 's/,/.c pk_/g' -e 's/^/pk_/' -e 's/$/.c/'`
6456 sim_pk_obj
=`echo $sim_pk_src | sed -e 's/\.c/.o/g'`
6457 if test x
"$silent" != x
"yes"; then
6458 echo "Setting packages to $sim_pk_src, $sim_pk_obj"
6463 # Check whether --enable-sim-reserved-bits was given.
6464 if test "${enable_sim_reserved_bits+set}" = set; then :
6465 enableval
=$enable_sim_reserved_bits; case "${enableval}" in
6466 yes) sim_reserved
="-DWITH_RESERVED_BITS=1";;
6467 no
) sim_reserved
="-DWITH_RESERVED_BITS=0";;
6468 *) as_fn_error $?
"\"--enable-sim-reserved-bits does not take a value\"" "$LINENO" 5; sim_reserved
="";;
6470 if test x
"$silent" != x
"yes" && test x
"$sim_reserved" != x
""; then
6471 echo "Setting reserved flags = $sim_reserved" 6>&1
6478 # Check whether --enable-sim-smp was given.
6479 if test "${enable_sim_smp+set}" = set; then :
6480 enableval
=$enable_sim_smp; case "${enableval}" in
6481 yes) sim_smp
="-DWITH_SMP=5" ; sim_igen_smp
="-N 5";;
6482 no
) sim_smp
="-DWITH_SMP=0" ; sim_igen_smp
="-N 0";;
6483 *) sim_smp
="-DWITH_SMP=$enableval" ; sim_igen_smp
="-N $enableval";;
6485 if test x
"$silent" != x
"yes" && test x
"$sim_smp" != x
""; then
6486 echo "Setting smp flags = $sim_smp" 6>&1
6489 sim_smp
="-DWITH_SMP=5" ; sim_igen_smp
="-N 5"
6490 if test x
"$silent" != x
"yes"; then
6491 echo "Setting smp flags = $sim_smp" 6>&1
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim stdio debug behavior" >&5
6497 $as_echo_n "checking for sim stdio debug behavior... " >&6; }
6499 # Check whether --enable-sim-stdio was given.
6500 if test "${enable_sim_stdio+set}" = set; then :
6501 enableval
=$enable_sim_stdio; case "${enableval}" in
6502 yes) sim_stdio
="DO_USE_STDIO";;
6503 no
) sim_stdio
="DONT_USE_STDIO";;
6504 *) as_fn_error $?
"Unknown value $enableval passed to --enable-sim-stdio" "$LINENO" 5;;
6508 cat >>confdefs.h
<<_ACEOF
6509 #define WITH_STDIO $sim_stdio
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_stdio" >&5
6513 $as_echo "$sim_stdio" >&6; }
6516 # Check whether --enable-sim-switch was given.
6517 if test "${enable_sim_switch+set}" = set; then :
6518 enableval
=$enable_sim_switch; case "${enableval}" in
6519 yes) sim_switch
="-s";;
6521 *) as_fn_error $?
"\"--enable-sim-switch does not take a value\"" "$LINENO" 5; sim_switch
="";;
6523 if test x
"$silent" != x
"yes" && test x
"$sim_switch" != x
""; then
6524 echo "Setting switch flags = $sim_switch" 6>&1
6528 if test x
"$silent" != x
"yes"; then
6529 echo "Setting switch flags = $sim_switch" 6>&1
6534 # Check whether --enable-sim-timebase was given.
6535 if test "${enable_sim_timebase+set}" = set; then :
6536 enableval
=$enable_sim_timebase; case "${enableval}" in
6537 yes) sim_timebase
="-DWITH_TIME_BASE=1";;
6538 no
) sim_timebase
="-DWITH_TIME_BASE=0";;
6539 *) as_fn_error $?
"\"--enable-sim-timebase does not take a value\"" "$LINENO" 5; sim_timebase
="";;
6541 if test x
"$silent" != x
"yes" && test x
"$sim_timebase" != x
""; then
6542 echo "Setting timebase flags = $sim_timebase" 6>&1
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim trace settings" >&5
6550 $as_echo_n "checking for sim trace settings... " >&6; }
6552 # Check whether --enable-sim-trace was given.
6553 if test "${enable_sim_trace+set}" = set; then :
6554 enableval
=$enable_sim_trace; case "${enableval}" in
6555 yes) sim_trace
="1";;
6557 *) as_fn_error $?
"--enable-sim-trace does not take a value" "$LINENO" 5;;
6561 cat >>confdefs.h
<<_ACEOF
6562 #define WITH_TRACE $sim_trace
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_trace" >&5
6566 $as_echo "$sim_trace" >&6; }
6569 # Check whether --enable-sim-warnings was given.
6570 if test "${enable_sim_warnings+set}" = set; then :
6571 enableval
=$enable_sim_warnings; case "${enableval}" in
6572 yes) sim_warnings
="-Werror -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations ";;
6573 no
) sim_warnings
="-w";;
6574 *) sim_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
6576 if test x
"$silent" != x
"yes" && test x
"$sim_warnings" != x
""; then
6577 echo "Setting warning flags = $sim_warnings" 6>&1
6584 # Check whether --enable-sim-xor-endian was given.
6585 if test "${enable_sim_xor_endian+set}" = set; then :
6586 enableval
=$enable_sim_xor_endian; case "${enableval}" in
6587 yes) sim_xor_endian
="-DWITH_XOR_ENDIAN=8";;
6588 no
) sim_xor_endian
="-DWITH_XOR_ENDIAN=0";;
6589 *) sim_xor_endian
="-DWITH_XOR_ENDIAN=$enableval";;
6591 if test x
"$silent" != x
"yes" && test x
"$sim_xor_endian" != x
""; then
6592 echo "Setting xor-endian flag = $sim_xor_endian" 6>&1
6601 # Check whether --with-pkgversion was given.
6602 if test "${with_pkgversion+set}" = set; then :
6603 withval
=$with_pkgversion; case "$withval" in
6604 yes) as_fn_error $?
"package version not specified" "$LINENO" 5 ;;
6606 *) PKGVERSION
="($withval) " ;;
6617 # Check whether --with-bugurl was given.
6618 if test "${with_bugurl+set}" = set; then :
6619 withval
=$with_bugurl; case "$withval" in
6620 yes) as_fn_error $?
"bug URL not specified" "$LINENO" 5 ;;
6623 *) BUGURL
="$withval"
6627 BUGURL
="https://www.gnu.org/software/gdb/bugs/"
6637 REPORT_BUGS_TO
="<$BUGURL>"
6638 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
6645 cat >>confdefs.h
<<_ACEOF
6646 #define PKGVERSION "$PKGVERSION"
6650 cat >>confdefs.h
<<_ACEOF
6651 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
6655 # Make sure we can run config.sub.
6656 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
6657 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
6660 $as_echo_n "checking build system type... " >&6; }
6661 if ${ac_cv_build+:} false
; then :
6662 $as_echo_n "(cached) " >&6
6664 ac_build_alias
=$build_alias
6665 test "x$ac_build_alias" = x
&&
6666 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
6667 test "x$ac_build_alias" = x
&&
6668 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
6669 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6670 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
6674 $as_echo "$ac_cv_build" >&6; }
6675 case $ac_cv_build in
6677 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
6680 ac_save_IFS
=$IFS; IFS
='-'
6686 # Remember, the first character of IFS is used to create $*,
6687 # except with old shells:
6690 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
6694 $as_echo_n "checking host system type... " >&6; }
6695 if ${ac_cv_host+:} false
; then :
6696 $as_echo_n "(cached) " >&6
6698 if test "x$host_alias" = x
; then
6699 ac_cv_host
=$ac_cv_build
6701 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6702 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6707 $as_echo "$ac_cv_host" >&6; }
6710 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
6713 ac_save_IFS
=$IFS; IFS
='-'
6719 # Remember, the first character of IFS is used to create $*,
6720 # except with old shells:
6723 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
6727 $as_echo_n "checking target system type... " >&6; }
6728 if ${ac_cv_target+:} false
; then :
6729 $as_echo_n "(cached) " >&6
6731 if test "x$target_alias" = x
; then
6732 ac_cv_target
=$ac_cv_host
6734 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
6735 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
6740 $as_echo "$ac_cv_target" >&6; }
6741 case $ac_cv_target in
6743 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
6745 target
=$ac_cv_target
6746 ac_save_IFS
=$IFS; IFS
='-'
6752 # Remember, the first character of IFS is used to create $*,
6753 # except with old shells:
6756 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
6759 # The aliases save the names the user supplied, while $host etc.
6760 # will get canonicalized.
6761 test -n "$target_alias" &&
6762 test "$program_prefix$program_suffix$program_transform_name" = \
6764 program_prefix
=${target_alias}-
6766 test "$program_prefix" != NONE
&&
6767 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
6768 # Use a double $ so make ignores it.
6769 test "$program_suffix" != NONE
&&
6770 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
6771 # Double any \ or $.
6772 # By default was `s,x,x', remove it if useless.
6773 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
6774 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
6777 # BFD conditionally uses zlib, so we must link it in if libbfd does, by
6778 # using the same condition.
6780 # Use the system's zlib library.
6781 zlibdir
="-L\$(top_builddir)/../zlib"
6782 zlibinc
="-I\$(top_srcdir)/../zlib"
6784 # Check whether --with-system-zlib was given.
6785 if test "${with_system_zlib+set}" = set; then :
6786 withval
=$with_system_zlib; if test x
$with_system_zlib = xyes
; then
6797 # BFD uses libdl when when plugins enabled.
6800 for ac_header
in dlfcn.h
6802 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6804 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
6805 cat >>confdefs.h
<<_ACEOF
6806 #define HAVE_DLFCN_H 1
6813 for ac_header
in windows.h
6815 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
6817 if test "x$ac_cv_header_windows_h" = xyes
; then :
6818 cat >>confdefs.h
<<_ACEOF
6819 #define HAVE_WINDOWS_H 1
6827 # Check whether --enable-plugins was given.
6828 if test "${enable_plugins+set}" = set; then :
6829 enableval
=$enable_plugins; case "${enableval}" in
6832 if test "$maybe_plugins" != "yes" ; then
6833 as_fn_error $?
"Building with plugin support requires a host that supports dlopen." "$LINENO" 5
6837 plugins
=$maybe_plugins
6841 if test "$plugins" = "yes"; then
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
6843 $as_echo_n "checking for library containing dlsym... " >&6; }
6844 if ${ac_cv_search_dlsym+:} false
; then :
6845 $as_echo_n "(cached) " >&6
6847 ac_func_search_save_LIBS
=$LIBS
6848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6849 /* end confdefs.h. */
6851 /* Override any GCC internal prototype to avoid an error.
6852 Use char because int might match the return type of a GCC
6853 builtin and then its argument prototype would still apply. */
6866 for ac_lib
in '' dl
; do
6867 if test -z "$ac_lib"; then
6868 ac_res
="none required"
6871 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6873 if ac_fn_c_try_link
"$LINENO"; then :
6874 ac_cv_search_dlsym
=$ac_res
6876 rm -f core conftest.err conftest.
$ac_objext \
6878 if ${ac_cv_search_dlsym+:} false
; then :
6882 if ${ac_cv_search_dlsym+:} false
; then :
6885 ac_cv_search_dlsym
=no
6888 LIBS
=$ac_func_search_save_LIBS
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
6891 $as_echo "$ac_cv_search_dlsym" >&6; }
6892 ac_res
=$ac_cv_search_dlsym
6893 if test "$ac_res" != no
; then :
6894 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6904 $as_echo "#define USE_WIN32API 1" >>confdefs.h
6909 ac_config_headers
="$ac_config_headers config.h:config.in"
6912 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6913 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6915 cat >>confdefs.h
<<_ACEOF
6916 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6920 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6925 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6926 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6928 cat >>confdefs.h
<<_ACEOF
6929 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6933 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6936 case " $LIBOBJS " in
6937 *" fileblocks.$ac_objext "* ) ;;
6938 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6945 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6946 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6948 cat >>confdefs.h
<<_ACEOF
6949 #define HAVE_STRUCT_STAT_ST_RDEV 1
6953 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6959 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6960 if ${ac_cv_struct_tm+:} false
; then :
6961 $as_echo_n "(cached) " >&6
6963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6964 /* end confdefs.h. */
6965 #include <sys/types.h>
6972 int *p = &tm.tm_sec;
6978 if ac_fn_c_try_compile
"$LINENO"; then :
6979 ac_cv_struct_tm
=time.h
6981 ac_cv_struct_tm
=sys
/time.h
6983 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6986 $as_echo "$ac_cv_struct_tm" >&6; }
6987 if test $ac_cv_struct_tm = sys
/time.h
; then
6989 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6993 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6994 #include <$ac_cv_struct_tm>
6997 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
6999 cat >>confdefs.h
<<_ACEOF
7000 #define HAVE_STRUCT_TM_TM_ZONE 1
7006 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
7008 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
7011 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
7013 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
7019 cat >>confdefs.h
<<_ACEOF
7020 #define HAVE_DECL_TZNAME $ac_have_decl
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
7024 $as_echo_n "checking for tzname... " >&6; }
7025 if ${ac_cv_var_tzname+:} false
; then :
7026 $as_echo_n "(cached) " >&6
7028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7029 /* end confdefs.h. */
7031 #if !HAVE_DECL_TZNAME
7032 extern char *tzname[];
7038 return tzname[0][0];
7043 if ac_fn_c_try_link
"$LINENO"; then :
7044 ac_cv_var_tzname
=yes
7048 rm -f core conftest.err conftest.
$ac_objext \
7049 conftest
$ac_exeext conftest.
$ac_ext
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
7052 $as_echo "$ac_cv_var_tzname" >&6; }
7053 if test $ac_cv_var_tzname = yes; then
7055 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
7062 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
7063 if ${ac_cv_type_uid_t+:} false
; then :
7064 $as_echo_n "(cached) " >&6
7066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7067 /* end confdefs.h. */
7068 #include <sys/types.h>
7071 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7072 $EGREP "uid_t" >/dev
/null
2>&1; then :
7073 ac_cv_type_uid_t
=yes
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
7081 $as_echo "$ac_cv_type_uid_t" >&6; }
7082 if test $ac_cv_type_uid_t = no
; then
7084 $as_echo "#define uid_t int" >>confdefs.h
7087 $as_echo "#define gid_t int" >>confdefs.h
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking type of array argument to getgroups" >&5
7092 $as_echo_n "checking type of array argument to getgroups... " >&6; }
7093 if ${ac_cv_type_getgroups+:} false
; then :
7094 $as_echo_n "(cached) " >&6
7096 if test "$cross_compiling" = yes; then :
7097 ac_cv_type_getgroups
=cross
7099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7100 /* end confdefs.h. */
7101 /* Thanks to Mike Rendell for this test. */
7102 $ac_includes_default
7105 #define MAX(x, y) ((x) > (y) ? (x) : (y))
7112 union { gid_t gval; long int lval; } val;
7115 for (i = 0; i < NGID; i++)
7116 gidset[i] = val.gval;
7117 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
7119 /* Exit non-zero if getgroups seems to require an array of ints. This
7120 happens when gid_t is short int but getgroups modifies an array
7122 return n > 0 && gidset[n] != val.gval;
7125 if ac_fn_c_try_run
"$LINENO"; then :
7126 ac_cv_type_getgroups
=gid_t
7128 ac_cv_type_getgroups
=int
7130 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7131 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7134 if test $ac_cv_type_getgroups = cross
; then
7135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7136 /* end confdefs.h. */
7140 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7141 $EGREP "getgroups.*int.*gid_t" >/dev
/null
2>&1; then :
7142 ac_cv_type_getgroups
=gid_t
7144 ac_cv_type_getgroups
=int
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_getgroups" >&5
7151 $as_echo "$ac_cv_type_getgroups" >&6; }
7153 cat >>confdefs.h
<<_ACEOF
7154 #define GETGROUPS_T $ac_cv_type_getgroups
7158 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
7159 if test "x$ac_cv_type_mode_t" = xyes
; then :
7163 cat >>confdefs.h
<<_ACEOF
7169 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
7170 if test "x$ac_cv_type_off_t" = xyes
; then :
7174 cat >>confdefs.h
<<_ACEOF
7175 #define off_t long int
7180 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
7181 if test "x$ac_cv_type_pid_t" = xyes
; then :
7185 cat >>confdefs.h
<<_ACEOF
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
7192 $as_echo_n "checking return type of signal handlers... " >&6; }
7193 if ${ac_cv_type_signal+:} false
; then :
7194 $as_echo_n "(cached) " >&6
7196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7197 /* end confdefs.h. */
7198 #include <sys/types.h>
7204 return *(signal (0, 0)) (0) == 1;
7209 if ac_fn_c_try_compile
"$LINENO"; then :
7210 ac_cv_type_signal
=int
7212 ac_cv_type_signal
=void
7214 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
7217 $as_echo "$ac_cv_type_signal" >&6; }
7219 cat >>confdefs.h
<<_ACEOF
7220 #define RETSIGTYPE $ac_cv_type_signal
7224 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
7225 if test "x$ac_cv_type_size_t" = xyes
; then :
7229 cat >>confdefs.h
<<_ACEOF
7230 #define size_t unsigned int
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
7236 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
7237 if ${ac_cv_type_uid_t+:} false
; then :
7238 $as_echo_n "(cached) " >&6
7240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7241 /* end confdefs.h. */
7242 #include <sys/types.h>
7245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7246 $EGREP "uid_t" >/dev
/null
2>&1; then :
7247 ac_cv_type_uid_t
=yes
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
7255 $as_echo "$ac_cv_type_uid_t" >&6; }
7256 if test $ac_cv_type_uid_t = no
; then
7258 $as_echo "#define uid_t int" >>confdefs.h
7261 $as_echo "#define gid_t int" >>confdefs.h
7266 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
7268 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7269 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
7270 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7271 cat >>confdefs.h
<<_ACEOF
7272 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7279 for ac_header
in fcntl.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 unistd.h sys
/vfs.h sys
/statfs.h
7281 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7282 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7283 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7284 cat >>confdefs.h
<<_ACEOF
7285 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7293 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
7294 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
7296 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
7297 if eval \
${$as_ac_Header+:} false
; then :
7298 $as_echo_n "(cached) " >&6
7300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7301 /* end confdefs.h. */
7302 #include <sys/types.h>
7314 if ac_fn_c_try_compile
"$LINENO"; then :
7315 eval "$as_ac_Header=yes"
7317 eval "$as_ac_Header=no"
7319 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7321 eval ac_res
=\$
$as_ac_Header
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7323 $as_echo "$ac_res" >&6; }
7324 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7325 cat >>confdefs.h
<<_ACEOF
7326 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
7329 ac_header_dirent
=$ac_hdr; break
7333 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
7334 if test $ac_header_dirent = dirent.h
; then
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
7336 $as_echo_n "checking for library containing opendir... " >&6; }
7337 if ${ac_cv_search_opendir+:} false
; then :
7338 $as_echo_n "(cached) " >&6
7340 ac_func_search_save_LIBS
=$LIBS
7341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7342 /* end confdefs.h. */
7344 /* Override any GCC internal prototype to avoid an error.
7345 Use char because int might match the return type of a GCC
7346 builtin and then its argument prototype would still apply. */
7359 for ac_lib
in '' dir
; do
7360 if test -z "$ac_lib"; then
7361 ac_res
="none required"
7364 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7366 if ac_fn_c_try_link
"$LINENO"; then :
7367 ac_cv_search_opendir
=$ac_res
7369 rm -f core conftest.err conftest.
$ac_objext \
7371 if ${ac_cv_search_opendir+:} false
; then :
7375 if ${ac_cv_search_opendir+:} false
; then :
7378 ac_cv_search_opendir
=no
7381 LIBS
=$ac_func_search_save_LIBS
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
7384 $as_echo "$ac_cv_search_opendir" >&6; }
7385 ac_res
=$ac_cv_search_opendir
7386 if test "$ac_res" != no
; then :
7387 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
7393 $as_echo_n "checking for library containing opendir... " >&6; }
7394 if ${ac_cv_search_opendir+:} false
; then :
7395 $as_echo_n "(cached) " >&6
7397 ac_func_search_save_LIBS
=$LIBS
7398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7399 /* end confdefs.h. */
7401 /* Override any GCC internal prototype to avoid an error.
7402 Use char because int might match the return type of a GCC
7403 builtin and then its argument prototype would still apply. */
7416 for ac_lib
in '' x
; do
7417 if test -z "$ac_lib"; then
7418 ac_res
="none required"
7421 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7423 if ac_fn_c_try_link
"$LINENO"; then :
7424 ac_cv_search_opendir
=$ac_res
7426 rm -f core conftest.err conftest.
$ac_objext \
7428 if ${ac_cv_search_opendir+:} false
; then :
7432 if ${ac_cv_search_opendir+:} false
; then :
7435 ac_cv_search_opendir
=no
7438 LIBS
=$ac_func_search_save_LIBS
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
7441 $as_echo "$ac_cv_search_opendir" >&6; }
7442 ac_res
=$ac_cv_search_opendir
7443 if test "$ac_res" != no
; then :
7444 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct termios" >&5
7453 $as_echo_n "checking for struct termios... " >&6; }
7454 if ${ac_cv_termios_struct+:} false
; then :
7455 $as_echo_n "(cached) " >&6
7457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7458 /* end confdefs.h. */
7459 #include <sys/types.h>
7460 #include <sys/termios.h>
7464 static struct termios x;
7474 if ac_fn_c_try_compile
"$LINENO"; then :
7475 ac_cv_termios_struct
=yes
7477 ac_cv_termios_struct
=no
7479 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_termios_struct" >&5
7483 $as_echo "$ac_cv_termios_struct" >&6; }
7484 if test $ac_cv_termios_struct = yes; then
7485 sim_termio
="$sim_termio -DHAVE_TERMIOS_STRUCTURE"
7488 if test "$ac_cv_termios_struct" = "yes"; then
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c_line field in struct termios" >&5
7490 $as_echo_n "checking for c_line field in struct termios... " >&6; }
7491 if ${ac_cv_termios_cline+:} false
; then :
7492 $as_echo_n "(cached) " >&6
7494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7495 /* end confdefs.h. */
7496 #include <sys/types.h>
7497 #include <sys/termios.h>
7501 static struct termios x; x.c_line = 0;
7506 if ac_fn_c_try_compile
"$LINENO"; then :
7507 ac_cv_termios_cline
=yes
7509 ac_cv_termios_cline
=no
7511 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_termios_cline" >&5
7516 $as_echo "$ac_cv_termios_cline" >&6; }
7517 if test $ac_cv_termios_cline = yes; then
7518 sim_termio
="$sim_termio -DHAVE_TERMIOS_CLINE"
7521 ac_cv_termios_cline
=no
7524 if test "$ac_cv_termios_struct" != "yes"; then
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct termio" >&5
7526 $as_echo_n "checking for struct termio... " >&6; }
7527 if ${ac_cv_termio_struct+:} false
; then :
7528 $as_echo_n "(cached) " >&6
7530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7531 /* end confdefs.h. */
7532 #include <sys/types.h>
7533 #include <sys/termio.h>
7537 static struct termio x;
7547 if ac_fn_c_try_compile
"$LINENO"; then :
7548 ac_cv_termio_struct
=yes
7550 ac_cv_termio_struct
=no
7552 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_termio_struct" >&5
7556 $as_echo "$ac_cv_termio_struct" >&6; }
7557 if test $ac_cv_termio_struct = yes; then
7558 sim_termio
="$sim_termio -DHAVE_TERMIO_STRUCTURE"
7561 ac_cv_termio_struct
=no
7564 if test "$ac_cv_termio_struct" = "yes"; then
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c_line field in struct termio" >&5
7566 $as_echo_n "checking for c_line field in struct termio... " >&6; }
7567 if ${ac_cv_termio_cline+:} false
; then :
7568 $as_echo_n "(cached) " >&6
7570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7571 /* end confdefs.h. */
7572 #include <sys/types.h>
7573 #include <sys/termio.h>
7577 static struct termio x; x.c_line = 0;
7582 if ac_fn_c_try_compile
"$LINENO"; then :
7583 ac_cv_termio_cline
=yes
7585 ac_cv_termio_cline
=no
7587 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_termio_cline" >&5
7592 $as_echo "$ac_cv_termio_cline" >&6; }
7593 if test $ac_cv_termio_cline = yes; then
7594 sim_termio
="$sim_termio -DHAVE_TERMIO_CLINE"
7597 ac_cv_termio_cline
=no
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct statfs" >&5
7601 $as_echo_n "checking for struct statfs... " >&6; }
7602 if ${ac_cv_struct_statfs+:} false
; then :
7603 $as_echo_n "(cached) " >&6
7605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7606 /* end confdefs.h. */
7607 #include <sys/types.h>
7608 #ifdef HAVE_SYS_PARAM_H
7609 #include <sys/param.h>
7611 #ifdef HAVE_SYS_MOUNT_H
7612 #include <sys/mount.h>
7614 #ifdef HAVE_SYS_VFS_H
7615 #include <sys/vfs.h>
7617 #ifdef HAVE_SYS_STATFS_H
7618 #include <sys/statfs.h>
7623 static struct statfs s;
7628 if ac_fn_c_try_compile
"$LINENO"; then :
7629 ac_cv_struct_statfs
=yes
7631 ac_cv_struct_statfs
=no
7633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_statfs" >&5
7637 $as_echo "$ac_cv_struct_statfs" >&6; }
7638 if test $ac_cv_struct_statfs = yes; then
7640 $as_echo "#define HAVE_STRUCT_STATFS 1" >>confdefs.h
7644 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
7645 if test "x$ac_cv_type_long_long" = xyes
; then :
7647 cat >>confdefs.h
<<_ACEOF
7648 #define HAVE_LONG_LONG 1
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/zero" >&5
7657 $as_echo_n "checking for /dev/zero... " >&6; }
7658 if ${ac_cv_devzero+:} false
; then :
7659 $as_echo_n "(cached) " >&6
7661 if test "$cross_compiling" = yes; then :
7664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7665 /* end confdefs.h. */
7670 int fd = open ("/dev/zero", O_RDONLY);
7673 for (i = 0; i < sizeof (buf); i++)
7675 if (read (fd, buf, sizeof (buf)) != sizeof (buf))
7677 for (i = 0; i < sizeof (buf); i++)
7683 if ac_fn_c_try_run
"$LINENO"; then :
7688 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7689 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_devzero" >&5
7695 $as_echo "$ac_cv_devzero" >&6; }
7696 if test $ac_cv_devzero = yes; then
7697 sim_devzero
="-DHAVE_DEVZERO"
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for common simulator directory" >&5
7703 $as_echo_n "checking for common simulator directory... " >&6; }
7704 if test -f "${srcdir}/../common/callback.c"; then
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7706 $as_echo "yes" >&6; }
7707 sim_callback
="callback.o targ-map.o"
7708 sim_targ_vals
="targ-vals.h targ-map.c targ-vals.def"
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7711 $as_echo "no" >&6; }
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for common simulator directory fpu implementation" >&5
7717 $as_echo_n "checking for common simulator directory fpu implementation... " >&6; }
7718 if test -f "${srcdir}/../common/sim-fpu.c"; then
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7720 $as_echo "yes" >&6; }
7721 sim_fpu_cflags
="-DHAVE_COMMON_FPU -I../common -I${srcdir}/../common"
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7725 $as_echo "no" >&6; }
7730 # Since we run commands on the build system, we have to create a
7731 # separate config header for the build system if build != host.
7732 if test x
$host = x
$build; then
7733 ac_config_commands
="$ac_config_commands build-config.h"
7741 /* | A-Za-z
:\\/* ) realsrcdir
=${srcdir};;
7742 *) realsrcdir
=..
/${srcdir};;
7744 saved_CFLAGS
="${CFLAGS}"
7745 CC
="${CC_FOR_BUILD}" CFLAGS
="${CFLAGS_FOR_BUILD}" \
7746 LDFLAGS
="${LDFLAGS_FOR_BUILD}" \
7747 ${realsrcdir}/configure \
7748 --enable-languages=${enable_languages-all} \
7749 --target=$target_alias --host=$build_alias --build=$build_alias
7750 CFLAGS
="${saved_CFLAGS}"
7751 mv config.h ..
/build-config.h
7763 if test -n "$ac_tool_prefix"; then
7764 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7765 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7767 $as_echo_n "checking for $ac_word... " >&6; }
7768 if ${ac_cv_prog_RANLIB+:} false
; then :
7769 $as_echo_n "(cached) " >&6
7771 if test -n "$RANLIB"; then
7772 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7778 test -z "$as_dir" && as_dir
=.
7779 for ac_exec_ext
in '' $ac_executable_extensions; do
7780 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7781 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7791 RANLIB
=$ac_cv_prog_RANLIB
7792 if test -n "$RANLIB"; then
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7794 $as_echo "$RANLIB" >&6; }
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7797 $as_echo "no" >&6; }
7802 if test -z "$ac_cv_prog_RANLIB"; then
7803 ac_ct_RANLIB
=$RANLIB
7804 # Extract the first word of "ranlib", so it can be a program name with args.
7805 set dummy ranlib
; ac_word
=$2
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7807 $as_echo_n "checking for $ac_word... " >&6; }
7808 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
7809 $as_echo_n "(cached) " >&6
7811 if test -n "$ac_ct_RANLIB"; then
7812 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7818 test -z "$as_dir" && as_dir
=.
7819 for ac_exec_ext
in '' $ac_executable_extensions; do
7820 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7821 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7831 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7832 if test -n "$ac_ct_RANLIB"; then
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7834 $as_echo "$ac_ct_RANLIB" >&6; }
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7837 $as_echo "no" >&6; }
7840 if test "x$ac_ct_RANLIB" = x
; then
7843 case $cross_compiling:$ac_tool_warned in
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7847 ac_tool_warned
=yes ;;
7849 RANLIB
=$ac_ct_RANLIB
7852 RANLIB
="$ac_cv_prog_RANLIB"
7892 ac_config_files
="$ac_config_files Makefile"
7894 ac_config_commands
="$ac_config_commands default"
7896 cat >confcache
<<\_ACEOF
7897 # This file is a shell script that caches the results of configure
7898 # tests run on this system so they can be shared between configure
7899 # scripts and configure runs, see configure's option --config-cache.
7900 # It is not useful on other systems. If it contains results you don't
7901 # want to keep, you may remove or edit it.
7903 # config.status only pays attention to the cache file if you give it
7904 # the --recheck option to rerun configure.
7906 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7907 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7912 # The following way of writing the cache mishandles newlines in values,
7913 # but we know of no workaround that is simple, portable, and efficient.
7914 # So, we kill variables containing newlines.
7915 # Ultrix sh set writes to stderr and can't be redirected directly,
7916 # and sets the high bit in the cache file unless we assign to the vars.
7918 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7919 eval ac_val
=\$
$ac_var
7923 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7924 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7927 _ | IFS | as_nl
) ;; #(
7928 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
7929 *) { eval $ac_var=; unset $ac_var;} ;;
7935 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7936 *${as_nl}ac_space
=\
*)
7937 # `set' does not quote correctly, so add quotes: double-quote
7938 # substitution turns \\\\ into \\, and sed turns \\ into \.
7941 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7944 # `set' quotes correctly as required by POSIX, so do not add quotes.
7945 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7954 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7956 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7958 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7959 if test -w "$cache_file"; then
7960 if test "x$cache_file" != "x/dev/null"; then
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7962 $as_echo "$as_me: updating cache $cache_file" >&6;}
7963 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
7964 cat confcache
>"$cache_file"
7966 case $cache_file in #(
7968 mv -f confcache
"$cache_file"$$
&&
7969 mv -f "$cache_file"$$
"$cache_file" ;; #(
7971 mv -f confcache
"$cache_file" ;;
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7977 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7982 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7983 # Let make expand exec_prefix.
7984 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7986 DEFS
=-DHAVE_CONFIG_H
7991 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7992 # 1. Remove the extension, and $U if already installed.
7993 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7994 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
7995 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7996 # will be set to the directory where LIBOBJS objects are built.
7997 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7998 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
8002 LTLIBOBJS
=$ac_ltlibobjs
8007 : "${CONFIG_STATUS=./config.status}"
8009 ac_clean_files_save
=$ac_clean_files
8010 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8012 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8014 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8016 # Generated by $as_me.
8017 # Run this file to recreate the current configuration.
8018 # Compiler output produced by configure, useful for debugging
8019 # configure, is in config.log if it exists.
8025 SHELL=\${CONFIG_SHELL-$SHELL}
8028 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
8029 ## -------------------- ##
8030 ## M4sh Initialization. ##
8031 ## -------------------- ##
8033 # Be more Bourne compatible
8034 DUALCASE
=1; export DUALCASE
# for MKS sh
8035 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
8038 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8039 # is contrary to our usage. Disable this feature.
8040 alias -g '${1+"$@"}'='"$@"'
8041 setopt NO_GLOB_SUBST
8043 case `(set -o) 2>/dev/null` in #(
8055 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8056 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8057 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8058 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8059 # Prefer a ksh shell builtin over an external printf program on Solaris,
8060 # but without wasting forks for bash or zsh.
8061 if test -z "$BASH_VERSION$ZSH_VERSION" \
8062 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8063 as_echo='print
-r --'
8064 as_echo_n='print
-rn --'
8065 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8066 as_echo='printf %s
\n'
8067 as_echo_n='printf %s
'
8069 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8070 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
8071 as_echo_n='/usr
/ucb
/echo -n'
8073 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8074 as_echo_n_body='eval
8078 expr "X$arg" : "X\\(.*\\)$as_nl";
8079 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8081 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
8083 export as_echo_n_body
8084 as_echo_n='sh
-c $as_echo_n_body as_echo
'
8087 as_echo='sh
-c $as_echo_body as_echo
'
8090 # The user is always right.
8091 if test "${PATH_SEPARATOR+set}" != set; then
8093 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8094 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8101 # We need space, tab and new line, in precisely that order. Quoting is
8102 # there to prevent editors from complaining about space-tab.
8103 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8104 # splitting by setting IFS to empty value.)
8107 # Find who we are. Look in the path if we contain no directory separator.
8110 *[\\/]* ) as_myself=$0 ;;
8111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8115 test -z "$as_dir" && as_dir=.
8116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8122 # We did not find ourselves, most probably we were run as `sh COMMAND'
8123 # in which case we are not to be found in the path.
8124 if test "x$as_myself" = x
; then
8127 if test ! -f "$as_myself"; then
8128 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8132 # Unset variables that we do not need and which cause bugs (e.g. in
8133 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8134 # suppresses any "Segmentation fault" message there. '((' could
8135 # trigger a bug in pdksh 5.2.14.
8136 for as_var
in BASH_ENV ENV MAIL MAILPATH
8137 do eval test x\
${$as_var+set} = xset \
8138 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
8151 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
8154 # as_fn_error STATUS ERROR [LINENO LOG_FD]
8155 # ----------------------------------------
8156 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8157 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8158 # script with STATUS, using 1 if that was 0.
8161 as_status
=$1; test $as_status -eq 0 && as_status
=1
8163 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
8164 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8166 $as_echo "$as_me: error: $2" >&2
8167 as_fn_exit
$as_status
8171 # as_fn_set_status STATUS
8172 # -----------------------
8173 # Set $? to STATUS, without forking.
8177 } # as_fn_set_status
8181 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8191 # Portably unset VAR.
8194 { eval $1=; unset $1;}
8196 as_unset
=as_fn_unset
8197 # as_fn_append VAR VALUE
8198 # ----------------------
8199 # Append the text in VALUE to the end of the definition contained in VAR. Take
8200 # advantage of any shell optimizations that allow amortized linear growth over
8201 # repeated appends, instead of the typical quadratic growth present in naive
8203 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
8204 eval 'as_fn_append ()
8215 # as_fn_arith ARG...
8216 # ------------------
8217 # Perform arithmetic evaluation on the ARGs, and store the result in the
8218 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8219 # must be portable across $(()) and expr.
8220 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
8221 eval 'as_fn_arith ()
8228 as_val
=`expr "$@" || test $? -eq 1`
8233 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8234 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8240 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8241 as_basename
=basename
8246 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
8252 as_me
=`$as_basename -- "$0" ||
8253 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8254 X"$0" : 'X\(//\)$' \| \
8255 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8257 sed '/^.*\/\([^/][^/]*\)\/*$/{
8271 # Avoid depending upon Character Ranges.
8272 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8273 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8274 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8275 as_cr_digits
='0123456789'
8276 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8278 ECHO_C
= ECHO_N
= ECHO_T
=
8279 case `echo -n x` in #(((((
8281 case `echo 'xy\c'` in
8282 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
8284 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
8291 rm -f conf$$ conf$$.exe conf$$.
file
8292 if test -d conf$$.dir
; then
8293 rm -f conf$$.dir
/conf$$.
file
8296 mkdir conf$$.dir
2>/dev
/null
8298 if (echo >conf$$.
file) 2>/dev
/null
; then
8299 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8301 # ... but there are two gotchas:
8302 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8303 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8304 # In both cases, we have to default to `cp -pR'.
8305 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
8307 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8315 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
8316 rmdir conf$$.dir
2>/dev
/null
8321 # Create "$as_dir" as a directory, including parents if necessary.
8326 -*) as_dir
=.
/$as_dir;;
8328 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
8332 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8333 *) as_qdir
=$as_dir;;
8335 as_dirs
="'$as_qdir' $as_dirs"
8336 as_dir
=`$as_dirname -- "$as_dir" ||
8337 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8338 X"$as_dir" : 'X\(//\)[^/]' \| \
8339 X"$as_dir" : 'X\(//\)$' \| \
8340 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8341 $as_echo X"$as_dir" |
8342 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8359 test -d "$as_dir" && break
8361 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
8362 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
8366 if mkdir
-p .
2>/dev
/null
; then
8367 as_mkdir_p
='mkdir -p "$as_dir"'
8369 test -d .
/-p && rmdir .
/-p
8374 # as_fn_executable_p FILE
8375 # -----------------------
8376 # Test if FILE is an executable regular file.
8377 as_fn_executable_p
()
8379 test -f "$1" && test -x "$1"
8380 } # as_fn_executable_p
8382 as_executable_p
=as_fn_executable_p
8384 # Sed expression to map a string onto a valid CPP name.
8385 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8387 # Sed expression to map a string onto a valid variable name.
8388 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8392 ## ----------------------------------- ##
8393 ## Main body of $CONFIG_STATUS script. ##
8394 ## ----------------------------------- ##
8396 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
8398 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8399 # Save the log message, to keep $0 and so on meaningful, and to
8400 # report actual input values of CONFIG_FILES etc. instead of their
8401 # values after options handling.
8403 This file was extended by $as_me, which was
8404 generated by GNU Autoconf 2.69. Invocation command line was
8406 CONFIG_FILES = $CONFIG_FILES
8407 CONFIG_HEADERS = $CONFIG_HEADERS
8408 CONFIG_LINKS = $CONFIG_LINKS
8409 CONFIG_COMMANDS = $CONFIG_COMMANDS
8412 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8417 case $ac_config_files in *"
8418 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
8421 case $ac_config_headers in *"
8422 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
8426 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8427 # Files that config.status was made for.
8428 config_files="$ac_config_files"
8429 config_headers="$ac_config_headers"
8430 config_commands="$ac_config_commands"
8434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8436 \`$as_me' instantiates files and other configuration actions
8437 from templates according to the current configuration. Unless the files
8438 and actions are specified as TAGs, all are instantiated by default.
8440 Usage: $0 [OPTION]... [TAG]...
8442 -h, --help print this help, then exit
8443 -V, --version print version number and configuration settings, then exit
8444 --config print configuration, then exit
8445 -q, --quiet, --silent
8446 do not print progress messages
8447 -d, --debug don't remove temporary files
8448 --recheck update $as_me by reconfiguring in the same conditions
8449 --file=FILE[:TEMPLATE]
8450 instantiate the configuration file FILE
8451 --header=FILE[:TEMPLATE]
8452 instantiate the configuration header FILE
8454 Configuration files:
8457 Configuration headers:
8460 Configuration commands:
8463 Report bugs to the package provider."
8466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8467 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8470 configured by $0, generated by GNU Autoconf 2.69,
8471 with options \\"\$ac_cs_config\\"
8473 Copyright (C) 2012 Free Software Foundation, Inc.
8474 This config.status script is free software; the Free Software Foundation
8475 gives unlimited permission to copy, distribute and modify it."
8480 test -n "\$AWK" || AWK=awk
8483 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8484 # The default lists apply if the user does not specify any file.
8490 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8491 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
8495 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8507 # Handling of the options.
8508 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8510 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
8511 $as_echo "$ac_cs_version"; exit ;;
8512 --config |
--confi |
--conf |
--con |
--co |
--c )
8513 $as_echo "$ac_cs_config"; exit ;;
8514 --debug |
--debu |
--deb |
--de |
--d |
-d )
8516 --file |
--fil |
--fi |
--f )
8519 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8520 '') as_fn_error $?
"missing file argument" ;;
8522 as_fn_append CONFIG_FILES
" '$ac_optarg'"
8523 ac_need_defaults
=false
;;
8524 --header |
--heade |
--head |
--hea )
8527 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8529 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
8530 ac_need_defaults
=false
;;
8532 # Conflict between --help and --header
8533 as_fn_error $?
"ambiguous option: \`$1'
8534 Try \`$0 --help' for more information.";;
8535 --help |
--hel |
-h )
8536 $as_echo "$ac_cs_usage"; exit ;;
8537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8538 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8542 -*) as_fn_error $?
"unrecognized option: \`$1'
8543 Try \`$0 --help' for more information." ;;
8545 *) as_fn_append ac_config_targets
" $1"
8546 ac_need_defaults
=false
;;
8552 ac_configure_extra_args
=
8554 if $ac_cs_silent; then
8556 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8560 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8561 if \$ac_cs_recheck; then
8562 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8564 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8565 CONFIG_SHELL='$SHELL'
8571 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8575 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8576 ## Running $as_me. ##
8582 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8585 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8587 # Handling of arguments.
8588 for ac_config_target
in $ac_config_targets
8590 case $ac_config_target in
8591 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
8592 "build-config.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS build-config.h" ;;
8593 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8594 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
8596 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8601 # If the user did not use the arguments to specify the items to instantiate,
8602 # then the envvar interface is used. Set only those that are not.
8603 # We use the long form for the default assignment because of an extremely
8604 # bizarre bug on SunOS 4.1.3.
8605 if $ac_need_defaults; then
8606 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8607 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8608 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8611 # Have a temporary directory for convenience. Make it in the build tree
8612 # simply because there is no reason against having it here, and in addition,
8613 # creating and moving files from /tmp can sometimes cause problems.
8614 # Hook for its removal unless debugging.
8615 # Note that there is a small window in which the directory will not be cleaned:
8616 # after its creation but before its name has been assigned to `$tmp'.
8620 trap 'exit_status=$?
8622 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8624 trap 'as_fn_exit 1' 1 2 13 15
8626 # Create a (secure) tmp directory for tmp files.
8629 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8633 tmp
=.
/conf$$
-$RANDOM
8634 (umask 077 && mkdir
"$tmp")
8635 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
8638 # Set up the scripts for CONFIG_FILES section.
8639 # No need to generate them if there are no CONFIG_FILES.
8640 # This happens for instance with `./config.status config.h'.
8641 if test -n "$CONFIG_FILES"; then
8644 ac_cr
=`echo X | tr X '\015'`
8645 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8646 # But we know of no other shell where ac_cr would be empty at this
8647 # point, so we can use a bashism as a fallback.
8648 if test "x$ac_cr" = x
; then
8649 eval ac_cr
=\$
\'\\r
\'
8651 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8652 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8658 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8663 echo "cat >conf$$subs.awk <<_ACEOF" &&
8664 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8667 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8668 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8670 for ac_last_try in false false false false false :; do
8671 . ./conf$$subs.sh ||
8672 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8674 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
8675 if test $ac_delim_n = $ac_delim_num; then
8677 elif $ac_last_try; then
8678 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8680 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8686 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
8690 s/^/S["/; s
/!.
*/"]=/
8700 s/\(.\{148\}\)..*/\1/
8702 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
8707 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8714 s/\(.\{148\}\)..*/\1/
8716 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
8720 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8725 ' <conf$$subs.awk | sed '
8730 ' >>$CONFIG_STATUS || ac_write_fail=1
8731 rm -f conf$$subs.awk
8732 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8734 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
8735 for (key in S) S_is_set[key] = 1
8741 nfields = split(line, field, "@
")
8743 len = length(field[1])
8744 for (i = 2; i < nfields; i++) {
8746 keylen = length(key)
8747 if (S_is_set[key]) {
8749 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8750 len += length(value) + length(field[++i])
8761 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8762 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8763 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
8766 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
8767 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
8770 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8771 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
8772 # trailing colons and then remove the whole line if VPATH becomes empty
8773 # (actually we leave an empty line to preserve line numbers).
8774 if test "x
$srcdir" = x.; then
8775 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8794 fi # test -n "$CONFIG_FILES"
8796 # Set up the scripts for CONFIG_HEADERS section.
8797 # No need to generate them if there are no CONFIG_HEADERS.
8798 # This happens for instance with `./config.status Makefile'.
8799 if test -n "$CONFIG_HEADERS"; then
8800 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
8804 # Transform confdefs.h into an awk script `defines.awk', embedded as
8805 # here-document in config.status, that substitutes the proper values into
8806 # config.h.in to produce config.h.
8808 # Create a delimiter string that does not exist in confdefs.h, to ease
8809 # handling of long lines.
8811 for ac_last_try in false false :; do
8812 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
8813 if test -z "$ac_tt"; then
8815 elif $ac_last_try; then
8816 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
8818 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8822 # For the awk script, D is an array of macro values keyed by name,
8823 # likewise P contains macro parameters if any. Preserve backslash
8824 # newline sequences.
8826 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8828 s/.\{148\}/&'"$ac_delim"'/g
8831 s/^[ ]*#[ ]*define[ ][ ]*/ /
8838 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
8840 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
8844 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
8845 D["\
1"]=" \
3\\\\\\n
"\\/p
8847 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
8852 s/.\{148\}/&'"$ac_delim"'/g
8857 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
8860 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
8862 ' <confdefs.h | sed '
8863 s/'"$ac_delim"'/"\\\
8864 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8866 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8867 for (key in D) D_is_set[key] = 1
8870 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8872 split(line, arg, " ")
8873 if (arg[1] == "#") {
8877 defundef
= substr
(arg
[1], 2)
8880 split(mac1
, mac2
, "(") #)
8882 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
8883 if (D_is_set
[macro
]) {
8884 # Preserve the white space surrounding the "#".
8885 print prefix
"define", macro P
[macro
] D
[macro
]
8888 # Replace #undef with comments. This is necessary, for example,
8889 # in the case of _POSIX_SOURCE, which is predefined and required
8890 # on some systems where configure will not decide to define it.
8891 if (defundef
== "undef") {
8892 print
"/*", prefix defundef
, macro
, "*/"
8900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8901 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
8902 fi # test -n "$CONFIG_HEADERS"
8905 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8910 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8912 case $ac_mode$ac_tag in
8914 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
8915 :[FH
]-) ac_tag
=-:-;;
8916 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8933 -) ac_f
="$ac_tmp/stdin";;
8934 *) # Look for the file first in the build tree, then in the source tree
8935 # (if the path is not absolute). The absolute path cannot be DOS-style,
8936 # because $ac_f cannot contain `:'.
8940 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8942 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8944 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8945 as_fn_append ac_file_inputs
" '$ac_f'"
8948 # Let's still pretend it is `configure' which instantiates (i.e., don't
8949 # use $as_me), people would be surprised to read:
8950 # /* config.h. Generated by config.status. */
8951 configure_input
='Generated from '`
8952 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8954 if test x
"$ac_file" != x-
; then
8955 configure_input
="$ac_file. $configure_input"
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8957 $as_echo "$as_me: creating $ac_file" >&6;}
8959 # Neutralize special characters interpreted by sed in replacement strings.
8960 case $configure_input in #(
8961 *\
&* |
*\|
* |
*\\* )
8962 ac_sed_conf_input
=`$as_echo "$configure_input" |
8963 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8964 *) ac_sed_conf_input
=$configure_input;;
8968 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
8969 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
8974 ac_dir
=`$as_dirname -- "$ac_file" ||
8975 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8976 X"$ac_file" : 'X\(//\)[^/]' \| \
8977 X"$ac_file" : 'X\(//\)$' \| \
8978 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8979 $as_echo X"$ac_file" |
8980 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8997 as_dir
="$ac_dir"; as_fn_mkdir_p
9001 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9003 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9004 # A ".." for each directory in $ac_dir_suffix.
9005 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9006 case $ac_top_builddir_sub in
9007 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9008 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9011 ac_abs_top_builddir
=$ac_pwd
9012 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9013 # for backward compatibility:
9014 ac_top_builddir
=$ac_top_build_prefix
9017 .
) # We are building in place.
9019 ac_top_srcdir
=$ac_top_builddir_sub
9020 ac_abs_top_srcdir
=$ac_pwd ;;
9021 [\\/]* | ?
:[\\/]* ) # Absolute name.
9022 ac_srcdir
=$srcdir$ac_dir_suffix;
9023 ac_top_srcdir
=$srcdir
9024 ac_abs_top_srcdir
=$srcdir ;;
9026 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9027 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9028 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9030 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9040 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9041 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
9045 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9046 # If the template does not know about datarootdir, expand it.
9047 # FIXME: This hack should be removed a few years after 2.60.
9048 ac_datarootdir_hack
=; ac_datarootdir_seen
=
9059 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9060 *datarootdir
*) ac_datarootdir_seen
=yes;;
9061 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9063 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9065 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9066 ac_datarootdir_hack='
9067 s&@datadir@&$datadir&g
9068 s&@docdir@&$docdir&g
9069 s&@infodir@&$infodir&g
9070 s&@localedir@&$localedir&g
9071 s&@mandir@&$mandir&g
9072 s&\\\${datarootdir}&$datarootdir&g' ;;
9076 # Neutralize VPATH when `$srcdir' = `.'.
9077 # Shell code in configure.ac might set extrasub.
9078 # FIXME: do we really want to maintain this feature?
9079 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9080 ac_sed_extra="$ac_vpsub
9083 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9085 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9086 s|@configure_input@|
$ac_sed_conf_input|
;t t
9087 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
9088 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
9089 s
&@srcdir@
&$ac_srcdir&;t t
9090 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
9091 s
&@top_srcdir@
&$ac_top_srcdir&;t t
9092 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
9093 s
&@builddir@
&$ac_builddir&;t t
9094 s
&@abs_builddir@
&$ac_abs_builddir&;t t
9095 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
9096 s
&@INSTALL@
&$ac_INSTALL&;t t
9097 $ac_datarootdir_hack
9099 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
9100 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
9102 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9103 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
9104 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
9105 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
9107 which seems to be undefined. Please make sure it is defined" >&5
9108 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
9109 which seems to be undefined. Please make sure it is defined" >&2;}
9111 rm -f "$ac_tmp/stdin"
9113 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9114 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9116 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9122 if test x"$ac_file" != x-; then
9124 $as_echo "/* $configure_input */" \
9125 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9126 } >"$ac_tmp/config.h" \
9127 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9128 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9130 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9133 mv "$ac_tmp/config.h" "$ac_file" \
9134 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9137 $as_echo "/* $configure_input */" \
9138 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9139 || as_fn_error $? "could not create -" "$LINENO" 5
9143 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9144 $as_echo "$as_me: executing $ac_file commands" >&6;}
9149 case $ac_file$ac_mode in
9150 "build-config.h":C) cp config.h build-config.h ;;
9151 "default":C) case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac ;;
9159 ac_clean_files=$ac_clean_files_save
9161 test $ac_write_fail = 0 ||
9162 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
9165 # configure is writing to config.log, and then calls config.status.
9166 # config.status does its own redirection, appending to config.log.
9167 # Unfortunately, on DOS this fails, as config.log is still kept open
9168 # by configure, so config.status won't be able to
write to it
; its
9169 # output is simply discarded. So we exec the FD to /dev/null,
9170 # effectively closing config.log, so it can be properly (re)opened and
9171 # appended to by config.status. When coming back to configure, we
9172 # need to make the FD available again.
9173 if test "$no_create" != yes; then
9175 ac_config_status_args
=
9176 test "$silent" = yes &&
9177 ac_config_status_args
="$ac_config_status_args --quiet"
9179 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9181 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9182 # would make configure fail if this is the last instruction.
9183 $ac_cs_success || as_fn_exit
1
9185 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9187 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}