2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for sim 0.
5 # Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210 if (eval "$as_required") 2>/dev
/null
; then :
215 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
227 for as_base
in sh bash ksh sh5
; do
228 # Try only shells that exist, to save several forks.
229 as_shell
=$as_dir/$as_base
230 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$as_shell as_have_required
=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
241 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
243 CONFIG_SHELL
=$SHELL as_have_required
=yes
248 if test "x$CONFIG_SHELL" != x
; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
258 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x
$as_have_required = xno
; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x
${ZSH_VERSION+set} = xset
; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
288 SHELL
=${CONFIG_SHELL-/bin/sh}
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE
= GREP_OPTIONS
=
292 unset CLICOLOR_FORCE GREP_OPTIONS
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
299 # Portably unset VAR.
302 { eval $1=; unset $1;}
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir
=.
/$as_dir;;
333 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
337 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 as_dirs
="'$as_qdir' $as_dirs"
341 as_dir
=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
367 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p
()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
386 eval 'as_fn_append ()
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
410 as_val
=`expr "$@" || test $? -eq 1`
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
422 as_status
=$1; test $as_status -eq 0 && as_status
=1
424 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit
$as_status
431 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
438 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
450 as_me
=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
469 # Avoid depending upon Character Ranges.
470 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits
='0123456789'
474 as_cr_alnum
=$as_cr_Letters$as_cr_digits
477 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
478 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497 chmod +x
"$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec
=no
; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
508 # Exit status is that of the last command.
512 ECHO_C
= ECHO_N
= ECHO_T
=
513 case `echo -n x` in #(((((
515 case `echo 'xy\c'` in
516 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
525 rm -f conf$$ conf$$.exe conf$$.
file
526 if test -d conf$$.dir
; then
527 rm -f conf$$.dir
/conf$$.
file
530 mkdir conf$$.dir
2>/dev
/null
532 if (echo >conf$$.
file) 2>/dev
/null
; then
533 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
541 elif ln conf$$.
file conf$$
2>/dev
/null
; then
549 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
550 rmdir conf$$.dir
2>/dev
/null
552 if mkdir
-p .
2>/dev
/null
; then
553 as_mkdir_p
='mkdir -p "$as_dir"'
555 test -d .
/-p && rmdir .
/-p
560 as_executable_p
=as_fn_executable_p
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568 SHELL
=${CONFIG_SHELL-/bin/sh}
571 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
582 ac_default_prefix
=/usr
/local
584 ac_config_libobj_dir
=.
591 # Identity of this package.
593 PACKAGE_TARNAME
='sim'
595 PACKAGE_STRING
='sim 0'
596 PACKAGE_BUGREPORT
='https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim'
597 PACKAGE_URL
='https://sourceware.org/gdb/wiki/Sim/'
599 # Factoring default headers for most tests.
600 ac_includes_default
="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
637 enable_option_checking
=no
638 ac_subst_vars
='am__EXEEXT_FALSE
641 SIM_RX_CYCLE_ACCURATE_FLAGS
655 SIM_ENABLE_IGEN_FALSE
658 SIM_COMMON_BUILD_FALSE
659 SIM_COMMON_BUILD_TRUE
683 INSTALL_STRIP_PROGRAM
695 MAINTAINER_MODE_FALSE
795 program_transform_name
810 enable_option_checking
821 enable_maintainer_mode
822 enable_dependency_tracking
832 enable_sim_environment
839 enable_build_warnings
840 enable_sim_build_warnings
841 enable_sim_rx_cycle_accurate
843 ac_precious_vars
='build_alias
867 # Initialize some variables set by options.
869 ac_init_version
=false
870 ac_unrecognized_opts
=
872 # The variables have the same names as the options, with
873 # dashes changed to underlines.
881 program_transform_name
=s
,x
,x
,
889 # Installation directory options.
890 # These are left unexpanded so users can "make install exec_prefix=/foo"
891 # and all the variables that are supposed to be based on exec_prefix
892 # by default will actually change.
893 # Use braces instead of parens because sh, perl, etc. also accept them.
894 # (The list follows the same order as the GNU Coding Standards.)
895 bindir
='${exec_prefix}/bin'
896 sbindir
='${exec_prefix}/sbin'
897 libexecdir
='${exec_prefix}/libexec'
898 datarootdir
='${prefix}/share'
899 datadir
='${datarootdir}'
900 sysconfdir
='${prefix}/etc'
901 sharedstatedir
='${prefix}/com'
902 localstatedir
='${prefix}/var'
903 includedir
='${prefix}/include'
904 oldincludedir
='/usr/include'
905 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
906 infodir
='${datarootdir}/info'
911 libdir
='${exec_prefix}/lib'
912 localedir
='${datarootdir}/locale'
913 mandir
='${datarootdir}/man'
919 # If the previous option needs an argument, assign it.
920 if test -n "$ac_prev"; then
921 eval $ac_prev=\
$ac_option
927 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
932 # Accept the important Cygnus configure options, so we can diagnose typos.
934 case $ac_dashdash$ac_option in
938 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
940 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
943 -build |
--build |
--buil |
--bui |
--bu)
944 ac_prev
=build_alias
;;
945 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
946 build_alias
=$ac_optarg ;;
948 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
949 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
950 ac_prev
=cache_file
;;
951 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
952 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
953 cache_file
=$ac_optarg ;;
956 cache_file
=config.cache
;;
958 -datadir |
--datadir |
--datadi |
--datad)
960 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
961 datadir
=$ac_optarg ;;
963 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
964 |
--dataroo |
--dataro |
--datar)
965 ac_prev
=datarootdir
;;
966 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
967 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
968 datarootdir
=$ac_optarg ;;
970 -disable-* |
--disable-*)
971 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
972 # Reject names that are not valid shell variable names.
973 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
974 as_fn_error $?
"invalid feature name: $ac_useropt"
975 ac_useropt_orig
=$ac_useropt
976 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
977 case $ac_user_opts in
981 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
982 ac_unrecognized_sep
=', ';;
984 eval enable_
$ac_useropt=no
;;
986 -docdir |
--docdir |
--docdi |
--doc |
--do)
988 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
991 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
993 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
996 -enable-* |
--enable-*)
997 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
998 # Reject names that are not valid shell variable names.
999 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1000 as_fn_error $?
"invalid feature name: $ac_useropt"
1001 ac_useropt_orig
=$ac_useropt
1002 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1003 case $ac_user_opts in
1005 "enable_
$ac_useropt"
1007 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1008 ac_unrecognized_sep
=', ';;
1010 eval enable_
$ac_useropt=\
$ac_optarg ;;
1012 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1013 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1014 |
--exec |
--exe |
--ex)
1015 ac_prev
=exec_prefix
;;
1016 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1017 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1018 |
--exec=* |
--exe=* |
--ex=*)
1019 exec_prefix
=$ac_optarg ;;
1021 -gas |
--gas |
--ga |
--g)
1022 # Obsolete; use --with-gas.
1025 -help |
--help |
--hel |
--he |
-h)
1026 ac_init_help
=long
;;
1027 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1028 ac_init_help
=recursive
;;
1029 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1030 ac_init_help
=short
;;
1032 -host |
--host |
--hos |
--ho)
1033 ac_prev
=host_alias
;;
1034 -host=* |
--host=* |
--hos=* |
--ho=*)
1035 host_alias
=$ac_optarg ;;
1037 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1039 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1041 htmldir
=$ac_optarg ;;
1043 -includedir |
--includedir |
--includedi |
--included |
--include \
1044 |
--includ |
--inclu |
--incl |
--inc)
1045 ac_prev
=includedir
;;
1046 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1047 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1048 includedir
=$ac_optarg ;;
1050 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1052 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1053 infodir
=$ac_optarg ;;
1055 -libdir |
--libdir |
--libdi |
--libd)
1057 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1058 libdir
=$ac_optarg ;;
1060 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1061 |
--libexe |
--libex |
--libe)
1062 ac_prev
=libexecdir
;;
1063 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1064 |
--libexe=* |
--libex=* |
--libe=*)
1065 libexecdir
=$ac_optarg ;;
1067 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1068 ac_prev
=localedir
;;
1069 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1070 localedir
=$ac_optarg ;;
1072 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1073 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1074 ac_prev
=localstatedir
;;
1075 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1076 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1077 localstatedir
=$ac_optarg ;;
1079 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1081 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1082 mandir
=$ac_optarg ;;
1084 -nfp |
--nfp |
--nf)
1085 # Obsolete; use --without-fp.
1088 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1089 |
--no-cr |
--no-c |
-n)
1092 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1093 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1096 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1097 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1098 |
--oldin |
--oldi |
--old |
--ol |
--o)
1099 ac_prev
=oldincludedir
;;
1100 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1101 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1102 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1103 oldincludedir
=$ac_optarg ;;
1105 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1107 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1108 prefix
=$ac_optarg ;;
1110 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1111 |
--program-pre |
--program-pr |
--program-p)
1112 ac_prev
=program_prefix
;;
1113 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1114 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1115 program_prefix
=$ac_optarg ;;
1117 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1118 |
--program-suf |
--program-su |
--program-s)
1119 ac_prev
=program_suffix
;;
1120 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1121 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1122 program_suffix
=$ac_optarg ;;
1124 -program-transform-name |
--program-transform-name \
1125 |
--program-transform-nam |
--program-transform-na \
1126 |
--program-transform-n |
--program-transform- \
1127 |
--program-transform |
--program-transfor \
1128 |
--program-transfo |
--program-transf \
1129 |
--program-trans |
--program-tran \
1130 |
--progr-tra |
--program-tr |
--program-t)
1131 ac_prev
=program_transform_name
;;
1132 -program-transform-name=* |
--program-transform-name=* \
1133 |
--program-transform-nam=* |
--program-transform-na=* \
1134 |
--program-transform-n=* |
--program-transform-=* \
1135 |
--program-transform=* |
--program-transfor=* \
1136 |
--program-transfo=* |
--program-transf=* \
1137 |
--program-trans=* |
--program-tran=* \
1138 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1139 program_transform_name
=$ac_optarg ;;
1141 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1143 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1144 pdfdir
=$ac_optarg ;;
1146 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1148 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1151 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1152 |
-silent |
--silent |
--silen |
--sile |
--sil)
1155 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1157 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1159 sbindir
=$ac_optarg ;;
1161 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1162 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1163 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1165 ac_prev
=sharedstatedir
;;
1166 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1167 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1168 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1170 sharedstatedir
=$ac_optarg ;;
1172 -site |
--site |
--sit)
1174 -site=* |
--site=* |
--sit=*)
1177 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1179 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1180 srcdir
=$ac_optarg ;;
1182 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1183 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1184 ac_prev
=sysconfdir
;;
1185 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1186 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1187 sysconfdir
=$ac_optarg ;;
1189 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1190 ac_prev
=target_alias
;;
1191 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1192 target_alias
=$ac_optarg ;;
1194 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1197 -version |
--version |
--versio |
--versi |
--vers |
-V)
1198 ac_init_version
=: ;;
1201 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1202 # Reject names that are not valid shell variable names.
1203 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1204 as_fn_error $?
"invalid package name: $ac_useropt"
1205 ac_useropt_orig
=$ac_useropt
1206 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1207 case $ac_user_opts in
1211 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1212 ac_unrecognized_sep
=', ';;
1214 eval with_
$ac_useropt=\
$ac_optarg ;;
1216 -without-* |
--without-*)
1217 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1218 # Reject names that are not valid shell variable names.
1219 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1220 as_fn_error $?
"invalid package name: $ac_useropt"
1221 ac_useropt_orig
=$ac_useropt
1222 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1223 case $ac_user_opts in
1227 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1228 ac_unrecognized_sep
=', ';;
1230 eval with_
$ac_useropt=no
;;
1233 # Obsolete; use --with-x.
1236 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1237 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1238 ac_prev
=x_includes
;;
1239 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1240 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1241 x_includes
=$ac_optarg ;;
1243 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1244 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1245 ac_prev
=x_libraries
;;
1246 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1247 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1248 x_libraries
=$ac_optarg ;;
1250 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1251 Try \`$0 --help' for more information"
1255 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1256 # Reject names that are not valid shell variable names.
1257 case $ac_envvar in #(
1258 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1259 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1261 eval $ac_envvar=\
$ac_optarg
1262 export $ac_envvar ;;
1265 # FIXME: should be removed in autoconf 3.0.
1266 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1267 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1268 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1269 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1275 if test -n "$ac_prev"; then
1276 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1277 as_fn_error $?
"missing argument to $ac_option"
1280 if test -n "$ac_unrecognized_opts"; then
1281 case $enable_option_checking in
1283 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1284 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1288 # Check all directory arguments for consistency.
1289 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1290 datadir sysconfdir sharedstatedir localstatedir includedir \
1291 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1292 libdir localedir mandir
1294 eval ac_val
=\$
$ac_var
1295 # Remove trailing slashes.
1298 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1299 eval $ac_var=\
$ac_val;;
1301 # Be sure to have absolute directory names.
1303 [\\/$
]* | ?
:[\\/]* ) continue;;
1304 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1306 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1309 # There might be people who depend on the old broken behavior: `$host'
1310 # used to hold the argument of --host etc.
1311 # FIXME: To remove some day.
1314 target
=$target_alias
1316 # FIXME: To remove some day.
1317 if test "x$host_alias" != x
; then
1318 if test "x$build_alias" = x
; then
1319 cross_compiling
=maybe
1320 elif test "x$build_alias" != "x$host_alias"; then
1326 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1328 test "$silent" = yes && exec 6>/dev
/null
1331 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1332 ac_ls_di
=`ls -di .` &&
1333 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1334 as_fn_error $?
"working directory cannot be determined"
1335 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1336 as_fn_error $?
"pwd does not report name of working directory"
1339 # Find the source files, if location was not specified.
1340 if test -z "$srcdir"; then
1341 ac_srcdir_defaulted
=yes
1342 # Try the directory containing this script, then the parent directory.
1343 ac_confdir
=`$as_dirname -- "$as_myself" ||
1344 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1345 X"$as_myself" : 'X\(//\)[^/]' \| \
1346 X"$as_myself" : 'X\(//\)$' \| \
1347 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1348 $as_echo X"$as_myself" |
1349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1367 if test ! -r "$srcdir/$ac_unique_file"; then
1371 ac_srcdir_defaulted
=no
1373 if test ! -r "$srcdir/$ac_unique_file"; then
1374 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1375 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1377 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1379 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1381 # When building in place, set srcdir=.
1382 if test "$ac_abs_confdir" = "$ac_pwd"; then
1385 # Remove unnecessary trailing slashes from srcdir.
1386 # Double slashes in file names in object file debugging info
1387 # mess up M-x gdb in Emacs.
1389 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1391 for ac_var
in $ac_precious_vars; do
1392 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1393 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1394 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1395 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1399 # Report the --help message.
1401 if test "$ac_init_help" = "long"; then
1402 # Omit some internal or obsolete options to make the list less imposing.
1403 # This message is too long to be a string in the A/UX 3.1 sh.
1405 \`configure' configures sim 0 to adapt to many kinds of systems.
1407 Usage: $0 [OPTION]... [VAR=VALUE]...
1409 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1410 VAR=VALUE. See below for descriptions of some of the useful variables.
1412 Defaults for the options are specified in brackets.
1415 -h, --help display this help and exit
1416 --help=short display options specific to this package
1417 --help=recursive display the short help of all the included packages
1418 -V, --version display version information and exit
1419 -q, --quiet, --silent do not print \`checking ...' messages
1420 --cache-file=FILE cache test results in FILE [disabled]
1421 -C, --config-cache alias for \`--cache-file=config.cache'
1422 -n, --no-create do not create output files
1423 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1425 Installation directories:
1426 --prefix=PREFIX install architecture-independent files in PREFIX
1427 [$ac_default_prefix]
1428 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1431 By default, \`make install' will install all the files in
1432 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1433 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1434 for instance \`--prefix=\$HOME'.
1436 For better control, use the options below.
1438 Fine tuning of the installation directories:
1439 --bindir=DIR user executables [EPREFIX/bin]
1440 --sbindir=DIR system admin executables [EPREFIX/sbin]
1441 --libexecdir=DIR program executables [EPREFIX/libexec]
1442 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1443 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1444 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1445 --libdir=DIR object code libraries [EPREFIX/lib]
1446 --includedir=DIR C header files [PREFIX/include]
1447 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1448 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1449 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1450 --infodir=DIR info documentation [DATAROOTDIR/info]
1451 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1452 --mandir=DIR man documentation [DATAROOTDIR/man]
1453 --docdir=DIR documentation root [DATAROOTDIR/doc/sim]
1454 --htmldir=DIR html documentation [DOCDIR]
1455 --dvidir=DIR dvi documentation [DOCDIR]
1456 --pdfdir=DIR pdf documentation [DOCDIR]
1457 --psdir=DIR ps documentation [DOCDIR]
1463 --program-prefix=PREFIX prepend PREFIX to installed program names
1464 --program-suffix=SUFFIX append SUFFIX to installed program names
1465 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1468 --build=BUILD configure
for building on BUILD
[guessed
]
1469 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1470 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1474 if test -n "$ac_init_help"; then
1475 case $ac_init_help in
1476 short | recursive
) echo "Configuration of sim 0:";;
1481 --disable-option-checking ignore unrecognized
--enable/--with options
1482 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1483 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1484 --enable-plugins Enable support
for plugins
1485 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1486 --enable-static[=PKGS
] build static libraries
[default
=yes]
1487 --enable-fast-install[=PKGS
]
1488 optimize
for fast installation
[default
=yes]
1489 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1490 --enable-maintainer-mode
1491 enable make rules and dependencies not useful
(and
1492 sometimes confusing
) to the casual installer
1493 --enable-dependency-tracking
1494 do not reject slow dependency extractors
1495 --disable-dependency-tracking
1496 speeds up one-time build
1497 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1498 --disable-silent-rules verbose build output
(undo
: "make V=0")
1499 --enable-sim Enable the GNU simulator
1500 --enable-example-sims enable example GNU simulators
1501 --enable-targets alternative target configurations
1502 --enable-sim-alignment=align
1503 Specify strict
, nonstrict or forced alignment of
1505 --enable-sim-assert Specify whether to perform random assertions
1506 --enable-cgen-maint=DIR build cgen generated files
1507 --enable-sim-debug=opts Enable debugging flags
(for developers of the sim
1509 --enable-sim-endian=endian
1510 Specify target byte endian orientation
1511 --enable-sim-environment=environment
1512 Specify mixed
, user
, virtual or operating
1514 --enable-sim-hardware Whether to
enable hardware
/device simulation
1515 --enable-sim-inline=inlines
1516 Specify
which functions should be inlined
1517 --enable-sim-profile=opts
1518 Enable profiling flags
1519 --enable-sim-stdio Specify whether to use stdio
for console
1521 --enable-sim-trace=opts Enable tracing of simulated programs
1522 --enable-werror treat compile warnings as errors
1523 --enable-build-warnings enable build-time compiler warnings
if gcc is used
1524 --enable-sim-build-warnings
1525 enable SIM specific build-time compiler warnings
if
1527 --disable-sim-rx-cycle-accurate
1528 Disable cycle accurate simulation
(faster runtime
)
1531 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1532 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1533 --with-pkgversion=PKG Use PKG
in the version string
in place of
"SIM"
1534 --with-bugurl=URL Direct users to URL to report a bug
1535 --with-system-zlib use installed libz
1536 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1538 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1540 Some influential environment variables
:
1541 CC C compiler
command
1542 CFLAGS C compiler flags
1543 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1544 nonstandard directory
<lib dir
>
1545 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1546 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1547 you have headers
in a nonstandard directory
<include dir
>
1550 Use these variables to override the choices made by
`configure' or to help
1551 it to find libraries and programs with nonstandard names/locations.
1553 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
1554 sim home page: <https://sourceware.org/gdb/wiki/Sim/>.
1559 if test "$ac_init_help" = "recursive"; then
1560 # If there are subdirs, report their specific --help.
1561 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1562 test -d "$ac_dir" ||
1563 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1568 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1570 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1571 # A ".." for each directory in $ac_dir_suffix.
1572 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1573 case $ac_top_builddir_sub in
1574 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1575 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1578 ac_abs_top_builddir=$ac_pwd
1579 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1580 # for backward compatibility:
1581 ac_top_builddir=$ac_top_build_prefix
1584 .) # We are building in place.
1586 ac_top_srcdir=$ac_top_builddir_sub
1587 ac_abs_top_srcdir=$ac_pwd ;;
1588 [\\/]* | ?:[\\/]* ) # Absolute name.
1589 ac_srcdir=$srcdir$ac_dir_suffix;
1590 ac_top_srcdir=$srcdir
1591 ac_abs_top_srcdir=$srcdir ;;
1593 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1594 ac_top_srcdir=$ac_top_build_prefix$srcdir
1595 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1597 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1599 cd "$ac_dir" || { ac_status=$?; continue; }
1600 # Check for guested configure.
1601 if test -f "$ac_srcdir/configure.gnu"; then
1603 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1604 elif test -f "$ac_srcdir/configure"; then
1606 $SHELL "$ac_srcdir/configure" --help=recursive
1608 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1610 cd "$ac_pwd" || { ac_status=$?; break; }
1614 test -n "$ac_init_help" && exit $ac_status
1615 if $ac_init_version; then
1618 generated by GNU Autoconf 2.69
1620 Copyright (C) 2012 Free Software Foundation, Inc.
1621 This configure script is free software; the Free Software Foundation
1622 gives unlimited permission to copy, distribute and modify it.
1627 ## ------------------------ ##
1628 ## Autoconf initialization. ##
1629 ## ------------------------ ##
1631 # ac_fn_c_try_compile LINENO
1632 # --------------------------
1633 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1634 ac_fn_c_try_compile ()
1636 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1637 rm -f conftest.$ac_objext
1638 if { { ac_try="$ac_compile"
1640 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1641 *) ac_try_echo
=$ac_try;;
1643 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1644 $as_echo "$ac_try_echo"; } >&5
1645 (eval "$ac_compile") 2>conftest.err
1647 if test -s conftest.err
; then
1648 grep -v '^ *+' conftest.err
>conftest.er1
1649 cat conftest.er1
>&5
1650 mv -f conftest.er1 conftest.err
1652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1653 test $ac_status = 0; } && {
1654 test -z "$ac_c_werror_flag" ||
1655 test ! -s conftest.err
1656 } && test -s conftest.
$ac_objext; then :
1659 $as_echo "$as_me: failed program was:" >&5
1660 sed 's/^/| /' conftest.
$ac_ext >&5
1664 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1665 as_fn_set_status
$ac_retval
1667 } # ac_fn_c_try_compile
1669 # ac_fn_c_try_cpp LINENO
1670 # ----------------------
1671 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1674 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1675 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1677 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1678 *) ac_try_echo=$ac_try;;
1680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1681 $as_echo "$ac_try_echo"; } >&5
1682 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1684 if test -s conftest.err; then
1685 grep -v '^ *+' conftest.err >conftest.er1
1686 cat conftest.er1 >&5
1687 mv -f conftest.er1 conftest.err
1689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1690 test $ac_status = 0; } > conftest.i && {
1691 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1692 test ! -s conftest.err
1696 $as_echo "$as_me: failed program was:" >&5
1697 sed 's/^/| /' conftest.$ac_ext >&5
1701 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1702 as_fn_set_status $ac_retval
1706 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1707 # -------------------------------------------------------
1708 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1709 # the include files in INCLUDES and setting the cache variable VAR
1711 ac_fn_c_check_header_mongrel ()
1713 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714 if eval \${$3+:} false; then :
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1716 $as_echo_n "checking for $2... " >&6; }
1717 if eval \${$3+:} false; then :
1718 $as_echo_n "(cached) " >&6
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1722 $as_echo "$ac_res" >&6; }
1724 # Is the header compilable?
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1726 $as_echo_n "checking $2 usability... " >&6; }
1727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1728 /* end confdefs.h. */
1732 if ac_fn_c_try_compile "$LINENO"; then :
1733 ac_header_compiler=yes
1735 ac_header_compiler=no
1737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1739 $as_echo "$ac_header_compiler" >&6; }
1741 # Is the header present?
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1743 $as_echo_n "checking $2 presence... " >&6; }
1744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1745 /* end confdefs.h. */
1748 if ac_fn_c_try_cpp "$LINENO"; then :
1749 ac_header_preproc=yes
1751 ac_header_preproc=no
1753 rm -f conftest.err conftest.i conftest.$ac_ext
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1755 $as_echo "$ac_header_preproc" >&6; }
1757 # So? What about this header?
1758 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1761 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1763 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1767 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1769 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1771 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1773 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1775 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1776 ( $as_echo "## -------------------------------------------------------------------------------------- ##
1777 ## Report this to https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim ##
1778 ## -------------------------------------------------------------------------------------- ##"
1779 ) | sed "s/^/$as_me: WARNING: /" >&2
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1783 $as_echo_n "checking for $2... " >&6; }
1784 if eval \${$3+:} false; then :
1785 $as_echo_n "(cached) " >&6
1787 eval "$3=\$ac_header_compiler"
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1791 $as_echo "$ac_res" >&6; }
1793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1795 } # ac_fn_c_check_header_mongrel
1797 # ac_fn_c_try_run LINENO
1798 # ----------------------
1799 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1800 # that executables *can* be run.
1803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1804 if { { ac_try="$ac_link"
1806 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1807 *) ac_try_echo
=$ac_try;;
1809 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1810 $as_echo "$ac_try_echo"; } >&5
1811 (eval "$ac_link") 2>&5
1813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1814 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1815 { { case "(($ac_try" in
1816 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1817 *) ac_try_echo=$ac_try;;
1819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1820 $as_echo "$ac_try_echo"; } >&5
1821 (eval "$ac_try") 2>&5
1823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1824 test $ac_status = 0; }; }; then :
1827 $as_echo "$as_me: program exited with status $ac_status" >&5
1828 $as_echo "$as_me: failed program was:" >&5
1829 sed 's/^/| /' conftest.$ac_ext >&5
1831 ac_retval=$ac_status
1833 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1834 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1835 as_fn_set_status $ac_retval
1839 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1840 # -------------------------------------------------------
1841 # Tests whether HEADER exists and can be compiled using the include files in
1842 # INCLUDES, setting the cache variable VAR accordingly.
1843 ac_fn_c_check_header_compile ()
1845 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1847 $as_echo_n "checking for $2... " >&6; }
1848 if eval \${$3+:} false; then :
1849 $as_echo_n "(cached) " >&6
1851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1852 /* end confdefs.h. */
1856 if ac_fn_c_try_compile "$LINENO"; then :
1861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1865 $as_echo "$ac_res" >&6; }
1866 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1868 } # ac_fn_c_check_header_compile
1870 # ac_fn_c_try_link LINENO
1871 # -----------------------
1872 # Try to link conftest.$ac_ext, and return whether this succeeded.
1875 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1876 rm -f conftest.$ac_objext conftest$ac_exeext
1877 if { { ac_try="$ac_link"
1879 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1880 *) ac_try_echo
=$ac_try;;
1882 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1883 $as_echo "$ac_try_echo"; } >&5
1884 (eval "$ac_link") 2>conftest.err
1886 if test -s conftest.err
; then
1887 grep -v '^ *+' conftest.err
>conftest.er1
1888 cat conftest.er1
>&5
1889 mv -f conftest.er1 conftest.err
1891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1892 test $ac_status = 0; } && {
1893 test -z "$ac_c_werror_flag" ||
1894 test ! -s conftest.err
1895 } && test -s conftest
$ac_exeext && {
1896 test "$cross_compiling" = yes ||
1897 test -x conftest
$ac_exeext
1901 $as_echo "$as_me: failed program was:" >&5
1902 sed 's/^/| /' conftest.
$ac_ext >&5
1906 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1907 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1908 # interfere with the next link command; also delete a directory that is
1909 # left behind by Apple's compiler. We do this before executing the actions.
1910 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1911 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1912 as_fn_set_status
$ac_retval
1914 } # ac_fn_c_try_link
1916 # ac_fn_c_check_func LINENO FUNC VAR
1917 # ----------------------------------
1918 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1919 ac_fn_c_check_func
()
1921 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1923 $as_echo_n "checking for $2... " >&6; }
1924 if eval \
${$3+:} false
; then :
1925 $as_echo_n "(cached) " >&6
1927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1928 /* end confdefs.h. */
1929 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1931 #define $2 innocuous_$2
1933 /* System header to define __stub macros and hopefully few prototypes,
1934 which can conflict with char $2 (); below.
1935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1936 <limits.h> exists even on freestanding compilers. */
1939 # include <limits.h>
1941 # include <assert.h>
1946 /* Override any GCC internal prototype to avoid an error.
1947 Use char because int might match the return type of a GCC
1948 builtin and then its argument prototype would still apply. */
1953 /* The GNU C library defines this for functions which it implements
1954 to always fail with ENOSYS. Some functions are actually named
1955 something starting with __ and the normal name is an alias. */
1956 #if defined __stub_$2 || defined __stub___$2
1968 if ac_fn_c_try_link
"$LINENO"; then :
1973 rm -f core conftest.err conftest.
$ac_objext \
1974 conftest
$ac_exeext conftest.
$ac_ext
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1978 $as_echo "$ac_res" >&6; }
1979 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1981 } # ac_fn_c_check_func
1983 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1984 # ----------------------------------------------------
1985 # Tries to find if the field MEMBER exists in type AGGR, after including
1986 # INCLUDES, setting cache variable VAR accordingly.
1987 ac_fn_c_check_member
()
1989 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1991 $as_echo_n "checking for $2.$3... " >&6; }
1992 if eval \
${$4+:} false
; then :
1993 $as_echo_n "(cached) " >&6
1995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1996 /* end confdefs.h. */
2008 if ac_fn_c_try_compile
"$LINENO"; then :
2011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2012 /* end confdefs.h. */
2018 if (sizeof ac_aggr.$3)
2024 if ac_fn_c_try_compile
"$LINENO"; then :
2029 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2031 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2035 $as_echo "$ac_res" >&6; }
2036 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2038 } # ac_fn_c_check_member
2040 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2041 # ---------------------------------------------
2042 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2044 ac_fn_c_check_decl
()
2046 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2047 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2048 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2050 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2051 if eval \
${$3+:} false
; then :
2052 $as_echo_n "(cached) " >&6
2054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2055 /* end confdefs.h. */
2060 #ifndef $as_decl_name
2062 (void) $as_decl_use;
2064 (void) $as_decl_name;
2072 if ac_fn_c_try_compile
"$LINENO"; then :
2077 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2081 $as_echo "$ac_res" >&6; }
2082 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2084 } # ac_fn_c_check_decl
2086 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2087 # -------------------------------------------
2088 # Tests whether TYPE exists after having included INCLUDES, setting cache
2089 # variable VAR accordingly.
2090 ac_fn_c_check_type
()
2092 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2094 $as_echo_n "checking for $2... " >&6; }
2095 if eval \
${$3+:} false
; then :
2096 $as_echo_n "(cached) " >&6
2099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2100 /* end confdefs.h. */
2111 if ac_fn_c_try_compile
"$LINENO"; then :
2112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2113 /* end confdefs.h. */
2124 if ac_fn_c_try_compile
"$LINENO"; then :
2129 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2131 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2135 $as_echo "$ac_res" >&6; }
2136 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2138 } # ac_fn_c_check_type
2139 cat >config.log
<<_ACEOF
2140 This file contains any messages produced by compilers while
2141 running configure, to aid debugging if configure makes a mistake.
2143 It was created by sim $as_me 0, which was
2144 generated by GNU Autoconf 2.69. Invocation command line was
2156 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2157 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2158 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2159 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2160 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2162 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2163 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2165 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2166 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2167 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2168 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2169 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2170 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2171 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2179 test -z "$as_dir" && as_dir
=.
2180 $as_echo "PATH: $as_dir"
2196 # Keep a trace of the command line.
2197 # Strip out --no-create and --no-recursion so they do not pile up.
2198 # Strip out --silent because we don't want to record it for future runs.
2199 # Also quote any args containing shell meta-characters.
2200 # Make two passes to allow for proper duplicate-argument suppression.
2204 ac_must_keep_next
=false
2210 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2211 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2212 |
-silent |
--silent |
--silen |
--sile |
--sil)
2215 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2218 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2220 as_fn_append ac_configure_args1
" '$ac_arg'"
2221 if test $ac_must_keep_next = true
; then
2222 ac_must_keep_next
=false
# Got value, back to normal.
2225 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2226 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2227 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2228 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2229 case "$ac_configure_args0 " in
2230 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2233 -* ) ac_must_keep_next
=true
;;
2236 as_fn_append ac_configure_args
" '$ac_arg'"
2241 { ac_configure_args0
=; unset ac_configure_args0
;}
2242 { ac_configure_args1
=; unset ac_configure_args1
;}
2244 # When interrupted or exit'd, cleanup temporary files, and complete
2245 # config.log. We remove comments because anyway the quotes in there
2246 # would cause problems or look ugly.
2247 # WARNING: Use '\'' to represent an apostrophe within the trap.
2248 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2249 trap 'exit_status=$?
2250 # Save into config.log some information that might help in debugging.
2254 $as_echo "## ---------------- ##
2255 ## Cache variables. ##
2256 ## ---------------- ##"
2258 # The following way of writing the cache mishandles newlines in values,
2260 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2261 eval ac_val=\$$ac_var
2265 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2266 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2269 _ | IFS | as_nl) ;; #(
2270 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2271 *) { eval $ac_var=; unset $ac_var;} ;;
2276 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2277 *${as_nl}ac_space=\ *)
2279 "s/'\''/'\''\\\\'\'''\''/g;
2280 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2283 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2290 $as_echo "## ----------------- ##
2291 ## Output variables. ##
2292 ## ----------------- ##"
2294 for ac_var in $ac_subst_vars
2296 eval ac_val=\$$ac_var
2298 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2300 $as_echo "$ac_var='\''$ac_val'\''"
2304 if test -n "$ac_subst_files"; then
2305 $as_echo "## ------------------- ##
2306 ## File substitutions. ##
2307 ## ------------------- ##"
2309 for ac_var
in $ac_subst_files
2311 eval ac_val
=\$
$ac_var
2313 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2315 $as_echo "$ac_var='\''$ac_val'\''"
2320 if test -s confdefs.h; then
2321 $as_echo "## ----------- ##
2328 test "$ac_signal" != 0 &&
2329 $as_echo "$as_me: caught signal $ac_signal"
2330 $as_echo "$as_me: exit $exit_status"
2332 rm -f core *.core core.conftest.* &&
2333 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2336 for ac_signal
in 1 2 13 15; do
2337 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2341 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2342 rm -f -r conftest
* confdefs.h
2344 $as_echo "/* confdefs.h */" > confdefs.h
2346 # Predefined preprocessor variables.
2348 cat >>confdefs.h
<<_ACEOF
2349 #define PACKAGE_NAME "$PACKAGE_NAME"
2352 cat >>confdefs.h
<<_ACEOF
2353 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2356 cat >>confdefs.h
<<_ACEOF
2357 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2360 cat >>confdefs.h
<<_ACEOF
2361 #define PACKAGE_STRING "$PACKAGE_STRING"
2364 cat >>confdefs.h
<<_ACEOF
2365 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2368 cat >>confdefs.h
<<_ACEOF
2369 #define PACKAGE_URL "$PACKAGE_URL"
2373 # Let the site file select an alternate cache file if it wants to.
2374 # Prefer an explicitly selected file to automatically selected ones.
2377 if test -n "$CONFIG_SITE"; then
2378 # We do not want a PATH search for config.site.
2379 case $CONFIG_SITE in #((
2380 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2381 */*) ac_site_file1
=$CONFIG_SITE;;
2382 *) ac_site_file1
=.
/$CONFIG_SITE;;
2384 elif test "x$prefix" != xNONE
; then
2385 ac_site_file1
=$prefix/share
/config.site
2386 ac_site_file2
=$prefix/etc
/config.site
2388 ac_site_file1
=$ac_default_prefix/share
/config.site
2389 ac_site_file2
=$ac_default_prefix/etc
/config.site
2391 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2393 test "x$ac_site_file" = xNONE
&& continue
2394 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2396 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2397 sed 's/^/| /' "$ac_site_file" >&5
2399 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2401 as_fn_error $?
"failed to load site script $ac_site_file
2402 See \`config.log' for more details" "$LINENO" 5; }
2406 if test -r "$cache_file"; then
2407 # Some versions of bash will fail to source /dev/null (special files
2408 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2409 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2411 $as_echo "$as_me: loading cache $cache_file" >&6;}
2413 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2414 *) .
"./$cache_file";;
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2419 $as_echo "$as_me: creating cache $cache_file" >&6;}
2423 as_fn_append ac_header_list
" dlfcn.h"
2424 as_fn_append ac_header_list
" fcntl.h"
2425 as_fn_append ac_header_list
" fpu_control.h"
2426 as_fn_append ac_header_list
" termios.h"
2427 as_fn_append ac_header_list
" unistd.h"
2428 as_fn_append ac_header_list
" utime.h"
2429 as_fn_append ac_header_list
" linux/if_tun.h"
2430 as_fn_append ac_header_list
" linux/mii.h"
2431 as_fn_append ac_header_list
" linux/types.h"
2432 as_fn_append ac_header_list
" net/if.h"
2433 as_fn_append ac_header_list
" netinet/in.h"
2434 as_fn_append ac_header_list
" netinet/tcp.h"
2435 as_fn_append ac_header_list
" sys/ioctl.h"
2436 as_fn_append ac_header_list
" sys/mman.h"
2437 as_fn_append ac_header_list
" sys/mount.h"
2438 as_fn_append ac_header_list
" sys/param.h"
2439 as_fn_append ac_header_list
" sys/resource.h"
2440 as_fn_append ac_header_list
" sys/socket.h"
2441 as_fn_append ac_header_list
" sys/stat.h"
2442 as_fn_append ac_header_list
" sys/statfs.h"
2443 as_fn_append ac_header_list
" sys/termio.h"
2444 as_fn_append ac_header_list
" sys/termios.h"
2445 as_fn_append ac_header_list
" sys/types.h"
2446 as_fn_append ac_header_list
" sys/vfs.h"
2447 as_fn_append ac_func_list
" __setfpucw"
2448 as_fn_append ac_func_list
" access"
2449 as_fn_append ac_func_list
" aint"
2450 as_fn_append ac_func_list
" anint"
2451 as_fn_append ac_func_list
" cfgetispeed"
2452 as_fn_append ac_func_list
" cfgetospeed"
2453 as_fn_append ac_func_list
" cfsetispeed"
2454 as_fn_append ac_func_list
" cfsetospeed"
2455 as_fn_append ac_func_list
" chdir"
2456 as_fn_append ac_func_list
" chmod"
2457 as_fn_append ac_func_list
" dup"
2458 as_fn_append ac_func_list
" dup2"
2459 as_fn_append ac_func_list
" execv"
2460 as_fn_append ac_func_list
" execve"
2461 as_fn_append ac_func_list
" fcntl"
2462 as_fn_append ac_func_list
" fork"
2463 as_fn_append ac_func_list
" fstat"
2464 as_fn_append ac_func_list
" fstatfs"
2465 as_fn_append ac_func_list
" ftruncate"
2466 as_fn_append ac_func_list
" getdirentries"
2467 as_fn_append ac_func_list
" getegid"
2468 as_fn_append ac_func_list
" geteuid"
2469 as_fn_append ac_func_list
" getgid"
2470 as_fn_append ac_func_list
" getpid"
2471 as_fn_append ac_func_list
" getppid"
2472 as_fn_append ac_func_list
" getrusage"
2473 as_fn_append ac_func_list
" gettimeofday"
2474 as_fn_append ac_func_list
" getuid"
2475 as_fn_append ac_func_list
" ioctl"
2476 as_fn_append ac_func_list
" kill"
2477 as_fn_append ac_func_list
" link"
2478 as_fn_append ac_func_list
" lseek"
2479 as_fn_append ac_func_list
" mmap"
2480 as_fn_append ac_func_list
" munmap"
2481 as_fn_append ac_func_list
" pipe"
2482 as_fn_append ac_func_list
" posix_fallocate"
2483 as_fn_append ac_func_list
" pread"
2484 as_fn_append ac_func_list
" rmdir"
2485 as_fn_append ac_func_list
" setregid"
2486 as_fn_append ac_func_list
" setreuid"
2487 as_fn_append ac_func_list
" setgid"
2488 as_fn_append ac_func_list
" setuid"
2489 as_fn_append ac_func_list
" sigaction"
2490 as_fn_append ac_func_list
" sigprocmask"
2491 as_fn_append ac_func_list
" sqrt"
2492 as_fn_append ac_func_list
" stat"
2493 as_fn_append ac_func_list
" strsignal"
2494 as_fn_append ac_func_list
" symlink"
2495 as_fn_append ac_func_list
" tcdrain"
2496 as_fn_append ac_func_list
" tcflow"
2497 as_fn_append ac_func_list
" tcflush"
2498 as_fn_append ac_func_list
" tcgetattr"
2499 as_fn_append ac_func_list
" tcgetpgrp"
2500 as_fn_append ac_func_list
" tcsendbreak"
2501 as_fn_append ac_func_list
" tcsetattr"
2502 as_fn_append ac_func_list
" tcsetpgrp"
2503 as_fn_append ac_func_list
" time"
2504 as_fn_append ac_func_list
" truncate"
2505 as_fn_append ac_func_list
" umask"
2506 as_fn_append ac_func_list
" unlink"
2507 as_fn_append ac_func_list
" utime"
2508 # Check that the precious variables saved in the cache have kept the same
2510 ac_cache_corrupted
=false
2511 for ac_var
in $ac_precious_vars; do
2512 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2513 eval ac_new_set
=\
$ac_env_${ac_var}_set
2514 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2515 eval ac_new_val
=\
$ac_env_${ac_var}_value
2516 case $ac_old_set,$ac_new_set in
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2519 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2520 ac_cache_corrupted
=: ;;
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2523 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2524 ac_cache_corrupted
=: ;;
2527 if test "x$ac_old_val" != "x$ac_new_val"; then
2528 # differences in whitespace do not lead to failure.
2529 ac_old_val_w
=`echo x $ac_old_val`
2530 ac_new_val_w
=`echo x $ac_new_val`
2531 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2533 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2534 ac_cache_corrupted
=:
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2537 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2538 eval $ac_var=\
$ac_old_val
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2541 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2543 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2546 # Pass precious variables to config.status.
2547 if test "$ac_new_set" = set; then
2549 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2550 *) ac_arg
=$ac_var=$ac_new_val ;;
2552 case " $ac_configure_args " in
2553 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2554 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2558 if $ac_cache_corrupted; then
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2560 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2562 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2563 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2565 ## -------------------- ##
2566 ## Main body of script. ##
2567 ## -------------------- ##
2570 ac_cpp
='$CPP $CPPFLAGS'
2571 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2572 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2573 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2582 # Check whether --with-pkgversion was given.
2583 if test "${with_pkgversion+set}" = set; then :
2584 withval
=$with_pkgversion; case "$withval" in
2585 yes) as_fn_error $?
"package version not specified" "$LINENO" 5 ;;
2587 *) PKGVERSION
="($withval) " ;;
2597 cat >>confdefs.h
<<_ACEOF
2598 #define PKGVERSION "$PKGVERSION"
2603 # Check whether --with-bugurl was given.
2604 if test "${with_bugurl+set}" = set; then :
2605 withval
=$with_bugurl; case "$withval" in
2606 yes) as_fn_error $?
"bug URL not specified" "$LINENO" 5 ;;
2609 *) BUGURL
="$withval"
2613 BUGURL
="$PACKAGE_BUGREPORT"
2623 REPORT_BUGS_TO
="<$BUGURL>"
2624 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
2631 cat >>confdefs.h
<<_ACEOF
2632 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
2636 ac_config_headers
="$ac_config_headers config.h"
2640 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2641 if test -f "$ac_dir/install-sh"; then
2643 ac_install_sh
="$ac_aux_dir/install-sh -c"
2645 elif test -f "$ac_dir/install.sh"; then
2647 ac_install_sh
="$ac_aux_dir/install.sh -c"
2649 elif test -f "$ac_dir/shtool"; then
2651 ac_install_sh
="$ac_aux_dir/shtool install -c"
2655 if test -z "$ac_aux_dir"; then
2656 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2659 # These three variables are undocumented and unsupported,
2660 # and are intended to be withdrawn in a future Autoconf release.
2661 # They can cause serious problems if a builder's source tree is in a directory
2662 # whose full name contains unusual characters.
2663 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2664 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2665 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2668 # Make sure we can run config.sub.
2669 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2670 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2673 $as_echo_n "checking build system type... " >&6; }
2674 if ${ac_cv_build+:} false
; then :
2675 $as_echo_n "(cached) " >&6
2677 ac_build_alias
=$build_alias
2678 test "x$ac_build_alias" = x
&&
2679 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2680 test "x$ac_build_alias" = x
&&
2681 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2682 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2683 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2687 $as_echo "$ac_cv_build" >&6; }
2688 case $ac_cv_build in
2690 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2693 ac_save_IFS
=$IFS; IFS
='-'
2699 # Remember, the first character of IFS is used to create $*,
2700 # except with old shells:
2703 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2707 $as_echo_n "checking host system type... " >&6; }
2708 if ${ac_cv_host+:} false
; then :
2709 $as_echo_n "(cached) " >&6
2711 if test "x$host_alias" = x
; then
2712 ac_cv_host
=$ac_cv_build
2714 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2715 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2720 $as_echo "$ac_cv_host" >&6; }
2723 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2726 ac_save_IFS
=$IFS; IFS
='-'
2732 # Remember, the first character of IFS is used to create $*,
2733 # except with old shells:
2736 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2740 $as_echo_n "checking target system type... " >&6; }
2741 if ${ac_cv_target+:} false
; then :
2742 $as_echo_n "(cached) " >&6
2744 if test "x$target_alias" = x
; then
2745 ac_cv_target
=$ac_cv_host
2747 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2748 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2753 $as_echo "$ac_cv_target" >&6; }
2754 case $ac_cv_target in
2756 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2758 target
=$ac_cv_target
2759 ac_save_IFS
=$IFS; IFS
='-'
2765 # Remember, the first character of IFS is used to create $*,
2766 # except with old shells:
2769 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2772 # The aliases save the names the user supplied, while $host etc.
2773 # will get canonicalized.
2774 test -n "$target_alias" &&
2775 test "$program_prefix$program_suffix$program_transform_name" = \
2777 program_prefix
=${target_alias}-
2778 # Expand $ac_aux_dir to an absolute path.
2779 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2782 ac_cpp
='$CPP $CPPFLAGS'
2783 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2784 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2785 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2786 if test -n "$ac_tool_prefix"; then
2787 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2788 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2790 $as_echo_n "checking for $ac_word... " >&6; }
2791 if ${ac_cv_prog_CC+:} false
; then :
2792 $as_echo_n "(cached) " >&6
2794 if test -n "$CC"; then
2795 ac_cv_prog_CC
="$CC" # Let the user override the test.
2797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2801 test -z "$as_dir" && as_dir
=.
2802 for ac_exec_ext
in '' $ac_executable_extensions; do
2803 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2804 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2815 if test -n "$CC"; then
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2817 $as_echo "$CC" >&6; }
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2820 $as_echo "no" >&6; }
2825 if test -z "$ac_cv_prog_CC"; then
2827 # Extract the first word of "gcc", so it can be a program name with args.
2828 set dummy gcc
; ac_word
=$2
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2830 $as_echo_n "checking for $ac_word... " >&6; }
2831 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2832 $as_echo_n "(cached) " >&6
2834 if test -n "$ac_ct_CC"; then
2835 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2841 test -z "$as_dir" && as_dir
=.
2842 for ac_exec_ext
in '' $ac_executable_extensions; do
2843 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2844 ac_cv_prog_ac_ct_CC
="gcc"
2845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2854 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2855 if test -n "$ac_ct_CC"; then
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2857 $as_echo "$ac_ct_CC" >&6; }
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2860 $as_echo "no" >&6; }
2863 if test "x$ac_ct_CC" = x
; then
2866 case $cross_compiling:$ac_tool_warned in
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2869 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2870 ac_tool_warned
=yes ;;
2878 if test -z "$CC"; then
2879 if test -n "$ac_tool_prefix"; then
2880 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2881 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2883 $as_echo_n "checking for $ac_word... " >&6; }
2884 if ${ac_cv_prog_CC+:} false
; then :
2885 $as_echo_n "(cached) " >&6
2887 if test -n "$CC"; then
2888 ac_cv_prog_CC
="$CC" # Let the user override the test.
2890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2894 test -z "$as_dir" && as_dir
=.
2895 for ac_exec_ext
in '' $ac_executable_extensions; do
2896 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2897 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2908 if test -n "$CC"; then
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2910 $as_echo "$CC" >&6; }
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2913 $as_echo "no" >&6; }
2919 if test -z "$CC"; then
2920 # Extract the first word of "cc", so it can be a program name with args.
2921 set dummy cc
; ac_word
=$2
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2923 $as_echo_n "checking for $ac_word... " >&6; }
2924 if ${ac_cv_prog_CC+:} false
; then :
2925 $as_echo_n "(cached) " >&6
2927 if test -n "$CC"; then
2928 ac_cv_prog_CC
="$CC" # Let the user override the test.
2931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2935 test -z "$as_dir" && as_dir
=.
2936 for ac_exec_ext
in '' $ac_executable_extensions; do
2937 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2938 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2939 ac_prog_rejected
=yes
2943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2950 if test $ac_prog_rejected = yes; then
2951 # We found a bogon in the path, so make sure we never use it.
2952 set dummy
$ac_cv_prog_CC
2954 if test $# != 0; then
2955 # We chose a different compiler from the bogus one.
2956 # However, it has the same basename, so the bogon will be chosen
2957 # first if we set CC to just the basename; use the full file name.
2959 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2965 if test -n "$CC"; then
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2967 $as_echo "$CC" >&6; }
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2970 $as_echo "no" >&6; }
2975 if test -z "$CC"; then
2976 if test -n "$ac_tool_prefix"; then
2977 for ac_prog
in cl.exe
2979 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2980 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2982 $as_echo_n "checking for $ac_word... " >&6; }
2983 if ${ac_cv_prog_CC+:} false
; then :
2984 $as_echo_n "(cached) " >&6
2986 if test -n "$CC"; then
2987 ac_cv_prog_CC
="$CC" # Let the user override the test.
2989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2993 test -z "$as_dir" && as_dir
=.
2994 for ac_exec_ext
in '' $ac_executable_extensions; do
2995 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2996 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3007 if test -n "$CC"; then
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3009 $as_echo "$CC" >&6; }
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3012 $as_echo "no" >&6; }
3016 test -n "$CC" && break
3019 if test -z "$CC"; then
3021 for ac_prog
in cl.exe
3023 # Extract the first word of "$ac_prog", so it can be a program name with args.
3024 set dummy
$ac_prog; ac_word
=$2
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3026 $as_echo_n "checking for $ac_word... " >&6; }
3027 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3028 $as_echo_n "(cached) " >&6
3030 if test -n "$ac_ct_CC"; then
3031 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3037 test -z "$as_dir" && as_dir
=.
3038 for ac_exec_ext
in '' $ac_executable_extensions; do
3039 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3040 ac_cv_prog_ac_ct_CC
="$ac_prog"
3041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3050 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3051 if test -n "$ac_ct_CC"; then
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3053 $as_echo "$ac_ct_CC" >&6; }
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3056 $as_echo "no" >&6; }
3060 test -n "$ac_ct_CC" && break
3063 if test "x$ac_ct_CC" = x
; then
3066 case $cross_compiling:$ac_tool_warned in
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3070 ac_tool_warned
=yes ;;
3079 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3081 as_fn_error $?
"no acceptable C compiler found in \$PATH
3082 See \`config.log' for more details" "$LINENO" 5; }
3084 # Provide some information about the compiler.
3085 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3088 for ac_option
in --version -v -V -qversion; do
3089 { { ac_try
="$ac_compiler $ac_option >&5"
3091 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3092 *) ac_try_echo=$ac_try;;
3094 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3095 $as_echo "$ac_try_echo"; } >&5
3096 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3098 if test -s conftest.err; then
3100 ... rest of stderr output deleted ...
3101 10q' conftest.err >conftest.er1
3102 cat conftest.er1 >&5
3104 rm -f conftest.er1 conftest.err
3105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3106 test $ac_status = 0; }
3109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3110 /* end confdefs.h. */
3120 ac_clean_files_save=$ac_clean_files
3121 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3122 # Try to create an executable without -o first, disregard a.out.
3123 # It will help us diagnose broken compilers, and finding out an intuition
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3126 $as_echo_n "checking whether the C compiler works... " >&6; }
3127 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3129 # The possible output files:
3130 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3133 for ac_file in $ac_files
3136 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3137 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3142 if { { ac_try="$ac_link_default"
3144 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3145 *) ac_try_echo
=$ac_try;;
3147 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3148 $as_echo "$ac_try_echo"; } >&5
3149 (eval "$ac_link_default") 2>&5
3151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3152 test $ac_status = 0; }; then :
3153 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3154 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3155 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3156 # so that the user can short-circuit this test for compilers unknown to
3158 for ac_file
in $ac_files ''
3160 test -f "$ac_file" ||
continue
3162 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3165 # We found the default executable, but exeext='' is most
3169 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3171 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3173 # We set ac_cv_exeext here because the later test for it is not
3174 # safe: cross compilers may not add the suffix if given an `-o'
3175 # argument, so we may need to know it at that point already.
3176 # Even if this section looks crufty: it has the advantage of
3183 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3188 if test -z "$ac_file"; then :
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3190 $as_echo "no" >&6; }
3191 $as_echo "$as_me: failed program was:" >&5
3192 sed 's/^/| /' conftest.
$ac_ext >&5
3194 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3196 as_fn_error
77 "C compiler cannot create executables
3197 See \`config.log' for more details" "$LINENO" 5; }
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3200 $as_echo "yes" >&6; }
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3203 $as_echo_n "checking for C compiler default output file name... " >&6; }
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3205 $as_echo "$ac_file" >&6; }
3206 ac_exeext
=$ac_cv_exeext
3208 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3209 ac_clean_files
=$ac_clean_files_save
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3211 $as_echo_n "checking for suffix of executables... " >&6; }
3212 if { { ac_try
="$ac_link"
3214 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3215 *) ac_try_echo=$ac_try;;
3217 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3218 $as_echo "$ac_try_echo"; } >&5
3219 (eval "$ac_link") 2>&5
3221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3222 test $ac_status = 0; }; then :
3223 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3224 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3225 # work properly (i.e., refer to `conftest.exe'), while it won't with
3227 for ac_file
in conftest.exe conftest conftest.
*; do
3228 test -f "$ac_file" ||
continue
3230 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3231 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3237 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3239 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3240 See \`config.log' for more details" "$LINENO" 5; }
3242 rm -f conftest conftest
$ac_cv_exeext
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3244 $as_echo "$ac_cv_exeext" >&6; }
3246 rm -f conftest.
$ac_ext
3247 EXEEXT
=$ac_cv_exeext
3249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3250 /* end confdefs.h. */
3255 FILE *f = fopen ("conftest.out", "w");
3256 return ferror (f) || fclose (f) != 0;
3262 ac_clean_files
="$ac_clean_files conftest.out"
3263 # Check that the compiler produces executables we can run. If not, either
3264 # the compiler is broken, or we cross compile.
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3266 $as_echo_n "checking whether we are cross compiling... " >&6; }
3267 if test "$cross_compiling" != yes; then
3268 { { ac_try
="$ac_link"
3270 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3271 *) ac_try_echo=$ac_try;;
3273 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3274 $as_echo "$ac_try_echo"; } >&5
3275 (eval "$ac_link") 2>&5
3277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3278 test $ac_status = 0; }
3279 if { ac_try='./conftest$ac_cv_exeext'
3280 { { case "(($ac_try" in
3281 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3282 *) ac_try_echo
=$ac_try;;
3284 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3285 $as_echo "$ac_try_echo"; } >&5
3286 (eval "$ac_try") 2>&5
3288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3289 test $ac_status = 0; }; }; then
3292 if test "$cross_compiling" = maybe
; then
3295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3297 as_fn_error $?
"cannot run C compiled programs.
3298 If you meant to cross compile, use \`--host'.
3299 See \`config.log' for more details" "$LINENO" 5; }
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3304 $as_echo "$cross_compiling" >&6; }
3306 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3307 ac_clean_files
=$ac_clean_files_save
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3309 $as_echo_n "checking for suffix of object files... " >&6; }
3310 if ${ac_cv_objext+:} false
; then :
3311 $as_echo_n "(cached) " >&6
3313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3314 /* end confdefs.h. */
3324 rm -f conftest.o conftest.obj
3325 if { { ac_try
="$ac_compile"
3327 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3328 *) ac_try_echo=$ac_try;;
3330 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3331 $as_echo "$ac_try_echo"; } >&5
3332 (eval "$ac_compile") 2>&5
3334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3335 test $ac_status = 0; }; then :
3336 for ac_file in conftest.o conftest.obj conftest.*; do
3337 test -f "$ac_file" || continue;
3339 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3340 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3345 $as_echo "$as_me: failed program was:" >&5
3346 sed 's/^/| /' conftest.$ac_ext >&5
3348 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3350 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3351 See \
`config.log' for more details" "$LINENO" 5; }
3353 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3356 $as_echo "$ac_cv_objext" >&6; }
3357 OBJEXT=$ac_cv_objext
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3360 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3361 if ${ac_cv_c_compiler_gnu+:} false; then :
3362 $as_echo_n "(cached) " >&6
3364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3365 /* end confdefs.h. */
3378 if ac_fn_c_try_compile "$LINENO"; then :
3383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3384 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3388 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3389 if test $ac_compiler_gnu = yes; then
3394 ac_test_CFLAGS=${CFLAGS+set}
3395 ac_save_CFLAGS=$CFLAGS
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3397 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3398 if ${ac_cv_prog_cc_g+:} false; then :
3399 $as_echo_n "(cached) " >&6
3401 ac_save_c_werror_flag=$ac_c_werror_flag
3402 ac_c_werror_flag=yes
3405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3406 /* end confdefs.h. */
3416 if ac_fn_c_try_compile "$LINENO"; then :
3420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3421 /* end confdefs.h. */
3431 if ac_fn_c_try_compile "$LINENO"; then :
3434 ac_c_werror_flag=$ac_save_c_werror_flag
3436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3437 /* end confdefs.h. */
3447 if ac_fn_c_try_compile "$LINENO"; then :
3450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3455 ac_c_werror_flag=$ac_save_c_werror_flag
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3458 $as_echo "$ac_cv_prog_cc_g" >&6; }
3459 if test "$ac_test_CFLAGS" = set; then
3460 CFLAGS=$ac_save_CFLAGS
3461 elif test $ac_cv_prog_cc_g = yes; then
3462 if test "$GCC" = yes; then
3468 if test "$GCC" = yes; then
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3475 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3476 if ${ac_cv_prog_cc_c89+:} false; then :
3477 $as_echo_n "(cached) " >&6
3479 ac_cv_prog_cc_c89=no
3481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3482 /* end confdefs.h. */
3486 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3487 struct buf { int x; };
3488 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3489 static char *e (p, i)
3495 static char *f (char * (*g) (char **, int), char **p, ...)
3500 s = g (p, va_arg (v,int));
3505 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3506 function prototypes and stuff, but not '\xHH' hex character constants.
3507 These don't provoke an error unfortunately, instead are silently treated
3508 as 'x'. The following induces an error, until -std is added to get
3509 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3510 array size at least. It's necessary to write '\x00'==0 to get something
3511 that's true only with -std. */
3512 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3514 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3515 inside strings and character constants. */
3517 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3519 int test (int i, double x);
3520 struct s1 {int (*f) (int a);};
3521 struct s2 {int (*f) (double a);};
3522 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3528 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3533 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3534 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3536 CC="$ac_save_CC $ac_arg"
3537 if ac_fn_c_try_compile "$LINENO"; then :
3538 ac_cv_prog_cc_c89=$ac_arg
3540 rm -f core conftest.err conftest.$ac_objext
3541 test "x$ac_cv_prog_cc_c89" != "xno" && break
3543 rm -f conftest.$ac_ext
3548 case "x$ac_cv_prog_cc_c89" in
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3551 $as_echo "none needed" >&6; } ;;
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3554 $as_echo "unsupported" >&6; } ;;
3556 CC="$CC $ac_cv_prog_cc_c89"
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3558 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3560 if test "x$ac_cv_prog_cc_c89" != xno; then :
3565 ac_cpp='$CPP $CPPFLAGS'
3566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3571 ac_cpp='$CPP $CPPFLAGS'
3572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3576 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3577 if ${am_cv_prog_cc_c_o+:} false; then :
3578 $as_echo_n "(cached) " >&6
3580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3581 /* end confdefs.h. */
3591 # Make sure it works both with $CC and with simple cc.
3592 # Following AC_PROG_CC_C_O, we do the test twice because some
3593 # compilers refuse to overwrite an existing .o file with -o,
3594 # though they will create one.
3595 am_cv_prog_cc_c_o=yes
3597 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3598 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3601 (exit $ac_status); } \
3602 && test -f conftest2.$ac_objext; then
3605 am_cv_prog_cc_c_o=no
3609 rm -f core conftest*
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3613 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3614 if test "$am_cv_prog_cc_c_o" != yes; then
3615 # Losing compiler, so override with the script.
3616 # FIXME: It is wrong to rewrite CC.
3617 # But if we don't then we get into trouble of one sort or another.
3618 # A longer-term fix would be to have automake use am__CC in this case,
3619 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3620 CC="$am_aux_dir/compile $CC"
3623 ac_cpp='$CPP $CPPFLAGS'
3624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3631 ac_cpp='$CPP $CPPFLAGS'
3632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3636 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3637 # On Suns, sometimes $CPP names a directory.
3638 if test -n "$CPP" && test -d "$CPP"; then
3641 if test -z "$CPP"; then
3642 if ${ac_cv_prog_CPP+:} false; then :
3643 $as_echo_n "(cached) " >&6
3645 # Double quotes because CPP needs to be expanded
3646 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3649 for ac_c_preproc_warn_flag in '' yes
3651 # Use a header file that comes with gcc, so configuring glibc
3652 # with a fresh cross-compiler works.
3653 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3654 # <limits.h> exists even on freestanding compilers.
3655 # On the NeXT, cc -E runs the code through the compiler's parser,
3656 # not just through cpp. "Syntax error" is here to catch this case.
3657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3658 /* end confdefs.h. */
3660 # include <limits.h>
3662 # include <assert.h>
3666 if ac_fn_c_try_cpp "$LINENO"; then :
3669 # Broken: fails on valid input.
3672 rm -f conftest.err conftest.i conftest.$ac_ext
3674 # OK, works on sane cases. Now check whether nonexistent headers
3675 # can be detected and how.
3676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3677 /* end confdefs.h. */
3678 #include <ac_nonexistent.h>
3680 if ac_fn_c_try_cpp "$LINENO"; then :
3681 # Broken: success on invalid input.
3684 # Passes both tests.
3688 rm -f conftest.err conftest.i conftest.$ac_ext
3691 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3692 rm -f conftest.i conftest.err conftest.
$ac_ext
3693 if $ac_preproc_ok; then :
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3706 $as_echo "$CPP" >&6; }
3708 for ac_c_preproc_warn_flag
in '' yes
3710 # Use a header file that comes with gcc, so configuring glibc
3711 # with a fresh cross-compiler works.
3712 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3713 # <limits.h> exists even on freestanding compilers.
3714 # On the NeXT, cc -E runs the code through the compiler's parser,
3715 # not just through cpp. "Syntax error" is here to catch this case.
3716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3717 /* end confdefs.h. */
3719 # include <limits.h>
3721 # include <assert.h>
3725 if ac_fn_c_try_cpp
"$LINENO"; then :
3728 # Broken: fails on valid input.
3731 rm -f conftest.err conftest.i conftest.
$ac_ext
3733 # OK, works on sane cases. Now check whether nonexistent headers
3734 # can be detected and how.
3735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3736 /* end confdefs.h. */
3737 #include <ac_nonexistent.h>
3739 if ac_fn_c_try_cpp
"$LINENO"; then :
3740 # Broken: success on invalid input.
3743 # Passes both tests.
3747 rm -f conftest.err conftest.i conftest.
$ac_ext
3750 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3751 rm -f conftest.i conftest.err conftest.
$ac_ext
3752 if $ac_preproc_ok; then :
3755 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3756 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3757 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3758 See \`config.log' for more details" "$LINENO" 5; }
3762 ac_cpp
='$CPP $CPPFLAGS'
3763 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3764 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3765 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3769 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3770 if ${ac_cv_path_GREP+:} false
; then :
3771 $as_echo_n "(cached) " >&6
3773 if test -z "$GREP"; then
3774 ac_path_GREP_found
=false
3775 # Loop through the user's path and test for each of PROGNAME-LIST
3776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3777 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3780 test -z "$as_dir" && as_dir
=.
3781 for ac_prog
in grep ggrep
; do
3782 for ac_exec_ext
in '' $ac_executable_extensions; do
3783 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3784 as_fn_executable_p
"$ac_path_GREP" ||
continue
3785 # Check for GNU ac_path_GREP and select it if it is found.
3786 # Check for GNU $ac_path_GREP
3787 case `"$ac_path_GREP" --version 2>&1` in
3789 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3792 $as_echo_n 0123456789 >"conftest.in"
3795 cat "conftest.in" "conftest.in" >"conftest.tmp"
3796 mv "conftest.tmp" "conftest.in"
3797 cp "conftest.in" "conftest.nl"
3798 $as_echo 'GREP' >> "conftest.nl"
3799 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3800 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3801 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3802 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3803 # Best one so far, save it but keep looking for a better one
3804 ac_cv_path_GREP
="$ac_path_GREP"
3805 ac_path_GREP_max
=$ac_count
3807 # 10*(2^10) chars as input seems more than enough
3808 test $ac_count -gt 10 && break
3810 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3813 $ac_path_GREP_found && break 3
3818 if test -z "$ac_cv_path_GREP"; then
3819 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3822 ac_cv_path_GREP
=$GREP
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3827 $as_echo "$ac_cv_path_GREP" >&6; }
3828 GREP
="$ac_cv_path_GREP"
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3832 $as_echo_n "checking for egrep... " >&6; }
3833 if ${ac_cv_path_EGREP+:} false
; then :
3834 $as_echo_n "(cached) " >&6
3836 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3837 then ac_cv_path_EGREP
="$GREP -E"
3839 if test -z "$EGREP"; then
3840 ac_path_EGREP_found
=false
3841 # Loop through the user's path and test for each of PROGNAME-LIST
3842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3843 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3846 test -z "$as_dir" && as_dir
=.
3847 for ac_prog
in egrep; do
3848 for ac_exec_ext
in '' $ac_executable_extensions; do
3849 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3850 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3851 # Check for GNU ac_path_EGREP and select it if it is found.
3852 # Check for GNU $ac_path_EGREP
3853 case `"$ac_path_EGREP" --version 2>&1` in
3855 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3858 $as_echo_n 0123456789 >"conftest.in"
3861 cat "conftest.in" "conftest.in" >"conftest.tmp"
3862 mv "conftest.tmp" "conftest.in"
3863 cp "conftest.in" "conftest.nl"
3864 $as_echo 'EGREP' >> "conftest.nl"
3865 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3866 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3867 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3868 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3869 # Best one so far, save it but keep looking for a better one
3870 ac_cv_path_EGREP
="$ac_path_EGREP"
3871 ac_path_EGREP_max
=$ac_count
3873 # 10*(2^10) chars as input seems more than enough
3874 test $ac_count -gt 10 && break
3876 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3879 $ac_path_EGREP_found && break 3
3884 if test -z "$ac_cv_path_EGREP"; then
3885 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3888 ac_cv_path_EGREP
=$EGREP
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3894 $as_echo "$ac_cv_path_EGREP" >&6; }
3895 EGREP
="$ac_cv_path_EGREP"
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3899 $as_echo_n "checking for ANSI C header files... " >&6; }
3900 if ${ac_cv_header_stdc+:} false
; then :
3901 $as_echo_n "(cached) " >&6
3903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3904 /* end confdefs.h. */
3918 if ac_fn_c_try_compile
"$LINENO"; then :
3919 ac_cv_header_stdc
=yes
3921 ac_cv_header_stdc
=no
3923 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3925 if test $ac_cv_header_stdc = yes; then
3926 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3928 /* end confdefs.h. */
3932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3933 $EGREP "memchr" >/dev
/null
2>&1; then :
3936 ac_cv_header_stdc
=no
3942 if test $ac_cv_header_stdc = yes; then
3943 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3945 /* end confdefs.h. */
3949 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3950 $EGREP "free" >/dev
/null
2>&1; then :
3953 ac_cv_header_stdc
=no
3959 if test $ac_cv_header_stdc = yes; then
3960 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3961 if test "$cross_compiling" = yes; then :
3964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3965 /* end confdefs.h. */
3968 #if ((' ' & 0x0FF) == 0x020)
3969 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3970 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3972 # define ISLOWER(c) \
3973 (('a' <= (c) && (c) <= 'i') \
3974 || ('j' <= (c) && (c) <= 'r') \
3975 || ('s' <= (c) && (c) <= 'z'))
3976 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3979 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3984 for (i = 0; i < 256; i++)
3985 if (XOR (islower (i), ISLOWER (i))
3986 || toupper (i) != TOUPPER (i))
3991 if ac_fn_c_try_run
"$LINENO"; then :
3994 ac_cv_header_stdc
=no
3996 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3997 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4003 $as_echo "$ac_cv_header_stdc" >&6; }
4004 if test $ac_cv_header_stdc = yes; then
4006 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4010 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4011 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4012 inttypes.h stdint.h unistd.h
4014 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4015 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4017 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4018 cat >>confdefs.h
<<_ACEOF
4019 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4028 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4029 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4036 if test "$MINIX" = yes; then
4038 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4041 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4044 $as_echo "#define _MINIX 1" >>confdefs.h
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4050 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4051 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4052 $as_echo_n "(cached) " >&6
4054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4055 /* end confdefs.h. */
4057 # define __EXTENSIONS__ 1
4058 $ac_includes_default
4067 if ac_fn_c_try_compile
"$LINENO"; then :
4068 ac_cv_safe_to_define___extensions__
=yes
4070 ac_cv_safe_to_define___extensions__
=no
4072 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4075 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4076 test $ac_cv_safe_to_define___extensions__ = yes &&
4077 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4079 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4081 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4083 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4085 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4088 test "$program_prefix" != NONE
&&
4089 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4090 # Use a double $ so make ignores it.
4091 test "$program_suffix" != NONE
&&
4092 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4093 # Double any \ or $.
4094 # By default was `s,x,x', remove it if useless.
4095 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4096 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4098 # Find a good install program. We prefer a C program (faster),
4099 # so one script is as good as another. But avoid the broken or
4100 # incompatible versions:
4101 # SysV /etc/install, /usr/sbin/install
4102 # SunOS /usr/etc/install
4103 # IRIX /sbin/install
4105 # AmigaOS /C/install, which installs bootblocks on floppy discs
4106 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4107 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4108 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4109 # OS/2's system install, which has a completely different semantic
4110 # ./install, which can be erroneously created by make from ./install.sh.
4111 # Reject install programs that cannot install multiple files.
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4113 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4114 if test -z "$INSTALL"; then
4115 if ${ac_cv_path_install+:} false
; then :
4116 $as_echo_n "(cached) " >&6
4118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4122 test -z "$as_dir" && as_dir
=.
4123 # Account for people who put trailing slashes in PATH elements.
4124 case $as_dir/ in #((
4125 .
/ | .
// |
/[cC
]/* | \
4126 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4127 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4130 # OSF1 and SCO ODT 3.0 have their own names for install.
4131 # Don't use installbsd from OSF since it installs stuff as root
4133 for ac_prog
in ginstall scoinst
install; do
4134 for ac_exec_ext
in '' $ac_executable_extensions; do
4135 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4136 if test $ac_prog = install &&
4137 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4138 # AIX install. It has an incompatible calling convention.
4140 elif test $ac_prog = install &&
4141 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4142 # program-specific install script used by HP pwplus--don't use.
4145 rm -rf conftest.one conftest.two conftest.dir
4146 echo one
> conftest.one
4147 echo two
> conftest.two
4149 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4150 test -s conftest.one
&& test -s conftest.two
&&
4151 test -s conftest.dir
/conftest.one
&&
4152 test -s conftest.dir
/conftest.two
4154 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4167 rm -rf conftest.one conftest.two conftest.dir
4170 if test "${ac_cv_path_install+set}" = set; then
4171 INSTALL
=$ac_cv_path_install
4173 # As a last resort, use the slow shell script. Don't cache a
4174 # value for INSTALL within a source directory, because that will
4175 # break other packages using the cache if that directory is
4176 # removed, or if the value is a relative name.
4177 INSTALL
=$ac_install_sh
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4181 $as_echo "$INSTALL" >&6; }
4183 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4184 # It thinks the first close brace ends the variable substitution.
4185 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4187 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4189 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4196 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4197 if ${ac_cv_c_bigendian+:} false
; then :
4198 $as_echo_n "(cached) " >&6
4200 ac_cv_c_bigendian
=unknown
4201 # See if we're dealing with a universal compiler.
4202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4203 /* end confdefs.h. */
4204 #ifndef __APPLE_CC__
4205 not a universal capable compiler
4210 if ac_fn_c_try_compile
"$LINENO"; then :
4212 # Check for potential -arch flags. It is not universal unless
4213 # there are at least two -arch flags with different values.
4216 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4217 if test -n "$ac_prev"; then
4219 i?
86 | x86_64 | ppc | ppc64
)
4220 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
4223 ac_cv_c_bigendian
=universal
4229 elif test "x$ac_word" = "x-arch"; then
4234 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4235 if test $ac_cv_c_bigendian = unknown
; then
4236 # See if sys/param.h defines the BYTE_ORDER macro.
4237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4238 /* end confdefs.h. */
4239 #include <sys/types.h>
4240 #include <sys/param.h>
4245 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4246 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4255 if ac_fn_c_try_compile
"$LINENO"; then :
4256 # It does; now see whether it defined to BIG_ENDIAN or not.
4257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4258 /* end confdefs.h. */
4259 #include <sys/types.h>
4260 #include <sys/param.h>
4265 #if BYTE_ORDER != BIG_ENDIAN
4273 if ac_fn_c_try_compile
"$LINENO"; then :
4274 ac_cv_c_bigendian
=yes
4276 ac_cv_c_bigendian
=no
4278 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4280 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4282 if test $ac_cv_c_bigendian = unknown
; then
4283 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4285 /* end confdefs.h. */
4291 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4299 if ac_fn_c_try_compile
"$LINENO"; then :
4300 # It does; now see whether it defined to _BIG_ENDIAN or not.
4301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4302 /* end confdefs.h. */
4316 if ac_fn_c_try_compile
"$LINENO"; then :
4317 ac_cv_c_bigendian
=yes
4319 ac_cv_c_bigendian
=no
4321 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4323 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4325 if test $ac_cv_c_bigendian = unknown
; then
4326 # Compile a test program.
4327 if test "$cross_compiling" = yes; then :
4328 # Try to guess by grepping values from an object file.
4329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4330 /* end confdefs.h. */
4331 short int ascii_mm[] =
4332 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4333 short int ascii_ii[] =
4334 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4335 int use_ascii (int i) {
4336 return ascii_mm[i] + ascii_ii[i];
4338 short int ebcdic_ii[] =
4339 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4340 short int ebcdic_mm[] =
4341 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4342 int use_ebcdic (int i) {
4343 return ebcdic_mm[i] + ebcdic_ii[i];
4350 return use_ascii (foo) == use_ebcdic (foo);
4355 if ac_fn_c_try_compile
"$LINENO"; then :
4356 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
4357 ac_cv_c_bigendian
=yes
4359 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
4360 if test "$ac_cv_c_bigendian" = unknown
; then
4361 ac_cv_c_bigendian
=no
4363 # finding both strings is unlikely to happen, but who knows?
4364 ac_cv_c_bigendian
=unknown
4368 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4371 /* end confdefs.h. */
4372 $ac_includes_default
4377 /* Are we little or big endian? From Harbison&Steele. */
4381 char c[sizeof (long int)];
4384 return u.c[sizeof (long int) - 1] == 1;
4390 if ac_fn_c_try_run
"$LINENO"; then :
4391 ac_cv_c_bigendian
=no
4393 ac_cv_c_bigendian
=yes
4395 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4396 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4402 $as_echo "$ac_cv_c_bigendian" >&6; }
4403 case $ac_cv_c_bigendian in #(
4405 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
4411 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4415 as_fn_error $?
"unknown endianness
4416 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4422 if test -n "$ac_tool_prefix"; then
4423 # Extract the first word of "${ac_tool_prefix}dtc", so it can be a program name with args.
4424 set dummy
${ac_tool_prefix}dtc
; ac_word
=$2
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4426 $as_echo_n "checking for $ac_word... " >&6; }
4427 if ${ac_cv_prog_DTC+:} false
; then :
4428 $as_echo_n "(cached) " >&6
4430 if test -n "$DTC"; then
4431 ac_cv_prog_DTC
="$DTC" # Let the user override the test.
4433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4437 test -z "$as_dir" && as_dir
=.
4438 for ac_exec_ext
in '' $ac_executable_extensions; do
4439 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4440 ac_cv_prog_DTC
="${ac_tool_prefix}dtc"
4441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4451 if test -n "$DTC"; then
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DTC" >&5
4453 $as_echo "$DTC" >&6; }
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4456 $as_echo "no" >&6; }
4461 if test -z "$ac_cv_prog_DTC"; then
4463 # Extract the first word of "dtc", so it can be a program name with args.
4464 set dummy dtc
; ac_word
=$2
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4466 $as_echo_n "checking for $ac_word... " >&6; }
4467 if ${ac_cv_prog_ac_ct_DTC+:} false
; then :
4468 $as_echo_n "(cached) " >&6
4470 if test -n "$ac_ct_DTC"; then
4471 ac_cv_prog_ac_ct_DTC
="$ac_ct_DTC" # Let the user override the test.
4473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4477 test -z "$as_dir" && as_dir
=.
4478 for ac_exec_ext
in '' $ac_executable_extensions; do
4479 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4480 ac_cv_prog_ac_ct_DTC
="dtc"
4481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4490 ac_ct_DTC
=$ac_cv_prog_ac_ct_DTC
4491 if test -n "$ac_ct_DTC"; then
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DTC" >&5
4493 $as_echo "$ac_ct_DTC" >&6; }
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4496 $as_echo "no" >&6; }
4499 if test "x$ac_ct_DTC" = x
; then
4502 case $cross_compiling:$ac_tool_warned in
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4505 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4506 ac_tool_warned
=yes ;;
4511 DTC
="$ac_cv_prog_DTC"
4515 if test "x$cross_compiling" = "xno"; then
4516 : "${AR_FOR_BUILD:=\$(AR)}"
4517 : "${CC_FOR_BUILD:=\$(CC)}"
4518 : "${RANLIB_FOR_BUILD:=\$(RANLIB)}"
4519 : "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
4520 : "${LDFLAGS_FOR_BUILD:=\$(LDFLAGS)}"
4522 : "${AR_FOR_BUILD:=ar}"
4523 : "${CC_FOR_BUILD:=gcc}"
4524 : "${RANLIB_FOR_BUILD:=ranlib}"
4525 : "${CFLAGS_FOR_BUILD:=-g -O}"
4526 : "${LDLFAGS_FOR_BUILD:=}"
4535 if test -n "$ac_tool_prefix"; then
4536 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4537 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4539 $as_echo_n "checking for $ac_word... " >&6; }
4540 if ${ac_cv_prog_AR+:} false
; then :
4541 $as_echo_n "(cached) " >&6
4543 if test -n "$AR"; then
4544 ac_cv_prog_AR
="$AR" # Let the user override the test.
4546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4550 test -z "$as_dir" && as_dir
=.
4551 for ac_exec_ext
in '' $ac_executable_extensions; do
4552 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4553 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4564 if test -n "$AR"; then
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4566 $as_echo "$AR" >&6; }
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4569 $as_echo "no" >&6; }
4574 if test -z "$ac_cv_prog_AR"; then
4576 # Extract the first word of "ar", so it can be a program name with args.
4577 set dummy
ar; ac_word
=$2
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4579 $as_echo_n "checking for $ac_word... " >&6; }
4580 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4581 $as_echo_n "(cached) " >&6
4583 if test -n "$ac_ct_AR"; then
4584 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4590 test -z "$as_dir" && as_dir
=.
4591 for ac_exec_ext
in '' $ac_executable_extensions; do
4592 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4593 ac_cv_prog_ac_ct_AR
="ar"
4594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4603 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4604 if test -n "$ac_ct_AR"; then
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4606 $as_echo "$ac_ct_AR" >&6; }
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4609 $as_echo "no" >&6; }
4612 if test "x$ac_ct_AR" = x
; then
4615 case $cross_compiling:$ac_tool_warned in
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4618 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4619 ac_tool_warned
=yes ;;
4627 if test -n "$ac_tool_prefix"; then
4628 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4629 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4631 $as_echo_n "checking for $ac_word... " >&6; }
4632 if ${ac_cv_prog_RANLIB+:} false
; then :
4633 $as_echo_n "(cached) " >&6
4635 if test -n "$RANLIB"; then
4636 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4642 test -z "$as_dir" && as_dir
=.
4643 for ac_exec_ext
in '' $ac_executable_extensions; do
4644 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4645 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4655 RANLIB
=$ac_cv_prog_RANLIB
4656 if test -n "$RANLIB"; then
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4658 $as_echo "$RANLIB" >&6; }
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4661 $as_echo "no" >&6; }
4666 if test -z "$ac_cv_prog_RANLIB"; then
4667 ac_ct_RANLIB
=$RANLIB
4668 # Extract the first word of "ranlib", so it can be a program name with args.
4669 set dummy ranlib
; ac_word
=$2
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4671 $as_echo_n "checking for $ac_word... " >&6; }
4672 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4673 $as_echo_n "(cached) " >&6
4675 if test -n "$ac_ct_RANLIB"; then
4676 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4682 test -z "$as_dir" && as_dir
=.
4683 for ac_exec_ext
in '' $ac_executable_extensions; do
4684 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4685 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4695 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4696 if test -n "$ac_ct_RANLIB"; then
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4698 $as_echo "$ac_ct_RANLIB" >&6; }
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4701 $as_echo "no" >&6; }
4704 if test "x$ac_ct_RANLIB" = x
; then
4707 case $cross_compiling:$ac_tool_warned in
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4710 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4711 ac_tool_warned
=yes ;;
4713 RANLIB
=$ac_ct_RANLIB
4716 RANLIB
="$ac_cv_prog_RANLIB"
4720 # Require C11 or newer. Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
4721 # AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
4722 # is C99. So handle it ourselves.
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
4726 $as_echo_n "checking whether C11 is supported by default... " >&6; }
4727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4728 /* end confdefs.h. */
4730 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4731 # error "C11 support not found"
4735 if ac_fn_c_try_compile
"$LINENO"; then :
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4737 $as_echo "yes" >&6; }
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4741 $as_echo "no" >&6; }
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
4743 $as_echo_n "checking for -std=c11 support... " >&6; }
4746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4747 /* end confdefs.h. */
4749 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4750 # error "C11 support not found"
4754 if ac_fn_c_try_compile
"$LINENO"; then :
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4757 $as_echo "yes" >&6; }
4759 C_DIALECT
="-std=c11"
4762 as_fn_error $?
"C11 is required" "$LINENO" 5
4764 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4766 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4772 for ac_header
in $ac_header_list
4774 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4775 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4777 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4778 cat >>confdefs.h
<<_ACEOF
4779 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4837 for ac_func
in $ac_func_list
4839 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4840 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4841 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
4842 cat >>confdefs.h
<<_ACEOF
4843 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
4972 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
4973 if ${ac_cv_struct_tm+:} false
; then :
4974 $as_echo_n "(cached) " >&6
4976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4977 /* end confdefs.h. */
4978 #include <sys/types.h>
4985 int *p = &tm.tm_sec;
4991 if ac_fn_c_try_compile
"$LINENO"; then :
4992 ac_cv_struct_tm
=time.h
4994 ac_cv_struct_tm
=sys
/time.h
4996 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
4999 $as_echo "$ac_cv_struct_tm" >&6; }
5000 if test $ac_cv_struct_tm = sys
/time.h
; then
5002 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
5007 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
5008 if ${ac_cv_type_uid_t+:} false
; then :
5009 $as_echo_n "(cached) " >&6
5011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5012 /* end confdefs.h. */
5013 #include <sys/types.h>
5016 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5017 $EGREP "uid_t" >/dev
/null
2>&1; then :
5018 ac_cv_type_uid_t
=yes
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
5026 $as_echo "$ac_cv_type_uid_t" >&6; }
5027 if test $ac_cv_type_uid_t = no
; then
5029 $as_echo "#define uid_t int" >>confdefs.h
5032 $as_echo "#define gid_t int" >>confdefs.h
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5039 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5044 macro_version
='2.2.7a'
5045 macro_revision
='1.3134'
5059 ltmain
="$ac_aux_dir/ltmain.sh"
5061 # Backslashify metacharacters that are still active within
5062 # double-quoted strings.
5063 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5065 # Same as above, but do not quote variable references.
5066 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5068 # Sed substitution to delay expansion of an escaped shell variable in a
5069 # double_quote_subst'ed string.
5070 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5072 # Sed substitution to delay expansion of an escaped single quote.
5073 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5075 # Sed substitution to avoid accidental globbing in evaled expressions
5076 no_glob_subst
='s/\*/\\\*/g'
5078 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5079 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5080 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5083 $as_echo_n "checking how to print strings... " >&6; }
5084 # Test print first, because it will be a builtin if present.
5085 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5086 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5088 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5091 # Use this function as a fallback that always works.
5092 func_fallback_echo ()
5094 eval 'cat <<_LTECHO_EOF
5098 ECHO='func_fallback_echo
'
5101 # func_echo_all arg...
5102 # Invoke $ECHO with all args, space-separated.
5109 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5110 $as_echo "printf" >&6; } ;;
5111 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5112 $as_echo "print -r" >&6; } ;;
5113 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5114 $as_echo "cat" >&6; } ;;
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5131 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5132 if ${ac_cv_path_SED+:} false; then :
5133 $as_echo_n "(cached) " >&6
5135 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5136 for ac_i in 1 2 3 4 5 6 7; do
5137 ac_script="$ac_script$as_nl$ac_script"
5139 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5140 { ac_script=; unset ac_script;}
5141 if test -z "$SED"; then
5142 ac_path_SED_found=false
5143 # Loop through the user's path and
test for each of PROGNAME-LIST
5144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5148 test -z "$as_dir" && as_dir
=.
5149 for ac_prog
in sed gsed
; do
5150 for ac_exec_ext
in '' $ac_executable_extensions; do
5151 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5152 as_fn_executable_p
"$ac_path_SED" ||
continue
5153 # Check for GNU ac_path_SED and select it if it is found.
5154 # Check for GNU $ac_path_SED
5155 case `"$ac_path_SED" --version 2>&1` in
5157 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5160 $as_echo_n 0123456789 >"conftest.in"
5163 cat "conftest.in" "conftest.in" >"conftest.tmp"
5164 mv "conftest.tmp" "conftest.in"
5165 cp "conftest.in" "conftest.nl"
5166 $as_echo '' >> "conftest.nl"
5167 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5168 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5169 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5170 if test $ac_count -gt ${ac_path_SED_max-0}; then
5171 # Best one so far, save it but keep looking for a better one
5172 ac_cv_path_SED
="$ac_path_SED"
5173 ac_path_SED_max
=$ac_count
5175 # 10*(2^10) chars as input seems more than enough
5176 test $ac_count -gt 10 && break
5178 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5181 $ac_path_SED_found && break 3
5186 if test -z "$ac_cv_path_SED"; then
5187 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5195 $as_echo "$ac_cv_path_SED" >&6; }
5196 SED
="$ac_cv_path_SED"
5199 test -z "$SED" && SED
=sed
5200 Xsed
="$SED -e 1s/^X//"
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5213 $as_echo_n "checking for fgrep... " >&6; }
5214 if ${ac_cv_path_FGREP+:} false
; then :
5215 $as_echo_n "(cached) " >&6
5217 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5218 then ac_cv_path_FGREP
="$GREP -F"
5220 if test -z "$FGREP"; then
5221 ac_path_FGREP_found
=false
5222 # Loop through the user's path and test for each of PROGNAME-LIST
5223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5224 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5227 test -z "$as_dir" && as_dir
=.
5228 for ac_prog
in fgrep
; do
5229 for ac_exec_ext
in '' $ac_executable_extensions; do
5230 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5231 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5232 # Check for GNU ac_path_FGREP and select it if it is found.
5233 # Check for GNU $ac_path_FGREP
5234 case `"$ac_path_FGREP" --version 2>&1` in
5236 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5239 $as_echo_n 0123456789 >"conftest.in"
5242 cat "conftest.in" "conftest.in" >"conftest.tmp"
5243 mv "conftest.tmp" "conftest.in"
5244 cp "conftest.in" "conftest.nl"
5245 $as_echo 'FGREP' >> "conftest.nl"
5246 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5247 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5248 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5249 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5250 # Best one so far, save it but keep looking for a better one
5251 ac_cv_path_FGREP
="$ac_path_FGREP"
5252 ac_path_FGREP_max
=$ac_count
5254 # 10*(2^10) chars as input seems more than enough
5255 test $ac_count -gt 10 && break
5257 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5260 $ac_path_FGREP_found && break 3
5265 if test -z "$ac_cv_path_FGREP"; then
5266 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5269 ac_cv_path_FGREP
=$FGREP
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5275 $as_echo "$ac_cv_path_FGREP" >&6; }
5276 FGREP
="$ac_cv_path_FGREP"
5279 test -z "$GREP" && GREP
=grep
5299 # Check whether --with-gnu-ld was given.
5300 if test "${with_gnu_ld+set}" = set; then :
5301 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5307 if test "$GCC" = yes; then
5308 # Check if gcc -print-prog-name=ld gives a path.
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5310 $as_echo_n "checking for ld used by $CC... " >&6; }
5313 # gcc leaves a trailing carriage return which upsets mingw
5314 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5316 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5319 # Accept absolute paths.
5321 re_direlt
='/[^/][^/]*/\.\./'
5322 # Canonicalize the pathname of ld
5323 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5324 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5325 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5327 test -z "$LD" && LD
="$ac_prog"
5330 # If it fails, then pretend we aren't using GCC.
5334 # If it is relative, then search for the first ld in PATH.
5338 elif test "$with_gnu_ld" = yes; then
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5340 $as_echo_n "checking for GNU ld... " >&6; }
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5343 $as_echo_n "checking for non-GNU ld... " >&6; }
5345 if ${lt_cv_path_LD+:} false
; then :
5346 $as_echo_n "(cached) " >&6
5348 if test -z "$LD"; then
5349 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5350 for ac_dir
in $PATH; do
5352 test -z "$ac_dir" && ac_dir
=.
5353 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5354 lt_cv_path_LD
="$ac_dir/$ac_prog"
5355 # Check to see if the program is GNU ld. I'd rather use --version,
5356 # but apparently some variants of GNU ld only accept -v.
5357 # Break only if it was the GNU/non-GNU ld that we prefer.
5358 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5359 *GNU
* |
*'with BFD'*)
5360 test "$with_gnu_ld" != no
&& break
5363 test "$with_gnu_ld" != yes && break
5370 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5375 if test -n "$LD"; then
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5377 $as_echo "$LD" >&6; }
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5380 $as_echo "no" >&6; }
5382 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5384 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5385 if ${lt_cv_prog_gnu_ld+:} false
; then :
5386 $as_echo_n "(cached) " >&6
5388 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5389 case `$LD -v 2>&1 </dev/null` in
5390 *GNU
* |
*'with BFD'*)
5391 lt_cv_prog_gnu_ld
=yes
5394 lt_cv_prog_gnu_ld
=no
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5399 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5400 with_gnu_ld
=$lt_cv_prog_gnu_ld
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5411 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5412 if ${lt_cv_path_NM+:} false
; then :
5413 $as_echo_n "(cached) " >&6
5415 if test -n "$NM"; then
5416 # Let the user override the test.
5419 lt_nm_to_check
="${ac_tool_prefix}nm"
5420 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5421 lt_nm_to_check
="$lt_nm_to_check nm"
5423 for lt_tmp_nm
in $lt_nm_to_check; do
5424 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5425 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5427 test -z "$ac_dir" && ac_dir
=.
5428 tmp_nm
="$ac_dir/$lt_tmp_nm"
5429 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5430 # Check to see if the nm accepts a BSD-compat flag.
5431 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5432 # nm: unknown option "B" ignored
5433 # Tru64's nm complains that /dev/null is an invalid object file
5434 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5435 */dev
/null
* |
*'Invalid file or object type'*)
5436 lt_cv_path_NM
="$tmp_nm -B"
5440 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5442 lt_cv_path_NM
="$tmp_nm -p"
5446 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5447 continue # so that we can try to find one that supports BSD flags
5456 : ${lt_cv_path_NM=no}
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5460 $as_echo "$lt_cv_path_NM" >&6; }
5461 if test "$lt_cv_path_NM" != "no"; then
5464 # Didn't find any BSD compatible name lister, look for dumpbin.
5465 if test -n "$DUMPBIN"; then :
5466 # Let the user override the test.
5468 if test -n "$ac_tool_prefix"; then
5469 for ac_prog
in dumpbin
"link -dump"
5471 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5472 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5474 $as_echo_n "checking for $ac_word... " >&6; }
5475 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5476 $as_echo_n "(cached) " >&6
5478 if test -n "$DUMPBIN"; then
5479 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5485 test -z "$as_dir" && as_dir
=.
5486 for ac_exec_ext
in '' $ac_executable_extensions; do
5487 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5488 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5498 DUMPBIN
=$ac_cv_prog_DUMPBIN
5499 if test -n "$DUMPBIN"; then
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5501 $as_echo "$DUMPBIN" >&6; }
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5504 $as_echo "no" >&6; }
5508 test -n "$DUMPBIN" && break
5511 if test -z "$DUMPBIN"; then
5512 ac_ct_DUMPBIN
=$DUMPBIN
5513 for ac_prog
in dumpbin
"link -dump"
5515 # Extract the first word of "$ac_prog", so it can be a program name with args.
5516 set dummy
$ac_prog; ac_word
=$2
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5518 $as_echo_n "checking for $ac_word... " >&6; }
5519 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5520 $as_echo_n "(cached) " >&6
5522 if test -n "$ac_ct_DUMPBIN"; then
5523 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5529 test -z "$as_dir" && as_dir
=.
5530 for ac_exec_ext
in '' $ac_executable_extensions; do
5531 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5532 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5542 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5543 if test -n "$ac_ct_DUMPBIN"; then
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5545 $as_echo "$ac_ct_DUMPBIN" >&6; }
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5548 $as_echo "no" >&6; }
5552 test -n "$ac_ct_DUMPBIN" && break
5555 if test "x$ac_ct_DUMPBIN" = x
; then
5558 case $cross_compiling:$ac_tool_warned in
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5561 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5562 ac_tool_warned
=yes ;;
5564 DUMPBIN
=$ac_ct_DUMPBIN
5568 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5570 DUMPBIN
="$DUMPBIN -symbols"
5578 if test "$DUMPBIN" != ":"; then
5582 test -z "$NM" && NM
=nm
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5590 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5591 if ${lt_cv_nm_interface+:} false
; then :
5592 $as_echo_n "(cached) " >&6
5594 lt_cv_nm_interface
="BSD nm"
5595 echo "int some_variable = 0;" > conftest.
$ac_ext
5596 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5597 (eval "$ac_compile" 2>conftest.err
)
5598 cat conftest.err
>&5
5599 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5600 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5601 cat conftest.err
>&5
5602 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5603 cat conftest.out
>&5
5604 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5605 lt_cv_nm_interface
="MS dumpbin"
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5610 $as_echo "$lt_cv_nm_interface" >&6; }
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5613 $as_echo_n "checking whether ln -s works... " >&6; }
5615 if test "$LN_S" = "ln -s"; then
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5617 $as_echo "yes" >&6; }
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5620 $as_echo "no, using $LN_S" >&6; }
5623 # find the maximum length of command line arguments
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5625 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5626 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5627 $as_echo_n "(cached) " >&6
5634 # On DJGPP, this test can blow up pretty badly due to problems in libc
5635 # (any single argument exceeding 2000 bytes causes a buffer overrun
5636 # during glob expansion). Even if it were fixed, the result of this
5637 # check would be larger than it should be.
5638 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5642 # Under GNU Hurd, this test is not required because there is
5643 # no limit to the length of command line arguments.
5644 # Libtool will interpret -1 as no limit whatsoever
5645 lt_cv_sys_max_cmd_len
=-1;
5648 cygwin
* | mingw
* | cegcc
*)
5649 # On Win9x/ME, this test blows up -- it succeeds, but takes
5650 # about 5 minutes as the teststring grows exponentially.
5651 # Worse, since 9x/ME are not pre-emptively multitasking,
5652 # you end up with a "frozen" computer, even though with patience
5653 # the test eventually succeeds (with a max line length of 256k).
5654 # Instead, let's just punt: use the minimum linelength reported by
5655 # all of the supported platforms: 8192 (on NT/2K/XP).
5656 lt_cv_sys_max_cmd_len
=8192;
5660 # On MiNT this can take a long time and run out of memory.
5661 lt_cv_sys_max_cmd_len
=8192;
5665 # On AmigaOS with pdksh, this test takes hours, literally.
5666 # So we just punt and use a minimum line length of 8192.
5667 lt_cv_sys_max_cmd_len
=8192;
5670 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5671 # This has been around since 386BSD, at least. Likely further.
5672 if test -x /sbin
/sysctl
; then
5673 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5674 elif test -x /usr
/sbin
/sysctl
; then
5675 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5677 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5679 # And add a safety zone
5680 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5681 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5685 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5686 lt_cv_sys_max_cmd_len
=196608
5690 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5691 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5692 # nice to cause kernel panics so lets avoid the loop below.
5693 # First set a reasonable default.
5694 lt_cv_sys_max_cmd_len
=16384
5696 if test -x /sbin
/sysconfig
; then
5697 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5698 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5703 lt_cv_sys_max_cmd_len
=102400
5705 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5706 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5707 if test -n "$kargmax"; then
5708 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5710 lt_cv_sys_max_cmd_len
=32768
5714 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5715 if test -n "$lt_cv_sys_max_cmd_len"; then
5716 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5717 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5719 # Make teststring a little bigger before we do anything with it.
5720 # a 1K string should be a reasonable start.
5721 for i
in 1 2 3 4 5 6 7 8 ; do
5722 teststring
=$teststring$teststring
5724 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5725 # If test is not a shell built-in, we'll probably end up computing a
5726 # maximum length that is only half of the actual maximum length, but
5728 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5729 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5730 test $i != 17 # 1/2 MB should be enough
5733 teststring
=$teststring$teststring
5735 # Only check the string length outside the loop.
5736 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5738 # Add a significant safety factor because C++ compilers can tack on
5739 # massive amounts of additional arguments before passing them to the
5740 # linker. It appears as though 1/2 is a usable value.
5741 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5748 if test -n $lt_cv_sys_max_cmd_len ; then
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5750 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5753 $as_echo "none" >&6; }
5755 max_cmd_len
=$lt_cv_sys_max_cmd_len
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5767 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5768 # Try some XSI features
5771 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5773 && eval 'test $(( 1 + 1 )) -eq 2 \
5774 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5777 $as_echo "$xsi_shell" >&6; }
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5781 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5783 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5785 && lt_shell_append=yes
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5787 $as_echo "$lt_shell_append" >&6; }
5790 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5800 # test EBCDIC or ASCII
5801 case `echo X|tr X '\101'` in
5802 A) # ASCII based system
5803 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5804 lt_SP2NL='tr \040 \012'
5805 lt_NL2SP='tr \015\012 \040\040'
5807 *) # EBCDIC based system
5808 lt_SP2NL='tr \100 \n'
5809 lt_NL2SP='tr \r\n \100\100'
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5822 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5823 if ${lt_cv_ld_reload_flag+:} false; then :
5824 $as_echo_n "(cached
) " >&6
5826 lt_cv_ld_reload_flag='-r'
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5829 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5830 reload_flag=$lt_cv_ld_reload_flag
5831 case $reload_flag in
5833 *) reload_flag=" $reload_flag" ;;
5835 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5838 if test "$GCC" = yes; then
5839 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5841 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5854 if test -n "$ac_tool_prefix"; then
5855 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5856 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5858 $as_echo_n "checking
for $ac_word...
" >&6; }
5859 if ${ac_cv_prog_OBJDUMP+:} false; then :
5860 $as_echo_n "(cached
) " >&6
5862 if test -n "$OBJDUMP"; then
5863 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5869 test -z "$as_dir" && as_dir=.
5870 for ac_exec_ext in '' $ac_executable_extensions; do
5871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5872 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5873 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5882 OBJDUMP=$ac_cv_prog_OBJDUMP
5883 if test -n "$OBJDUMP"; then
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5885 $as_echo "$OBJDUMP" >&6; }
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5888 $as_echo "no
" >&6; }
5893 if test -z "$ac_cv_prog_OBJDUMP"; then
5894 ac_ct_OBJDUMP=$OBJDUMP
5895 # Extract the first word of "objdump
", so it can be a program name with args.
5896 set dummy objdump; ac_word=$2
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5898 $as_echo_n "checking
for $ac_word...
" >&6; }
5899 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5900 $as_echo_n "(cached
) " >&6
5902 if test -n "$ac_ct_OBJDUMP"; then
5903 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5909 test -z "$as_dir" && as_dir=.
5910 for ac_exec_ext in '' $ac_executable_extensions; do
5911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5912 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5913 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5922 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5923 if test -n "$ac_ct_OBJDUMP"; then
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5925 $as_echo "$ac_ct_OBJDUMP" >&6; }
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5928 $as_echo "no
" >&6; }
5931 if test "x
$ac_ct_OBJDUMP" = x; then
5934 case $cross_compiling:$ac_tool_warned in
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5937 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5938 ac_tool_warned=yes ;;
5940 OBJDUMP=$ac_ct_OBJDUMP
5943 OBJDUMP="$ac_cv_prog_OBJDUMP"
5946 test -z "$OBJDUMP" && OBJDUMP=objdump
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5957 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5958 if ${lt_cv_deplibs_check_method+:} false; then :
5959 $as_echo_n "(cached
) " >&6
5961 lt_cv_file_magic_cmd='$MAGIC_CMD'
5962 lt_cv_file_magic_test_file=
5963 lt_cv_deplibs_check_method='unknown'
5964 # Need to set the preceding variable on all platforms that support
5965 # interlibrary dependencies.
5966 # 'none' -- dependencies not supported.
5967 # `unknown' -- same as none, but documents that we really don't know.
5968 # 'pass_all' -- all dependencies passed with no checks.
5969 # 'test_compile' -- check by making test program.
5970 # 'file_magic [[regex]]' -- check by looking for files in library path
5971 # which responds to the $file_magic_cmd with a given extended regex.
5972 # If you have `file' or equivalent on your system and you're not sure
5973 # whether `pass_all' will *always* work, you probably want this one.
5977 lt_cv_deplibs_check_method=pass_all
5981 lt_cv_deplibs_check_method=pass_all
5985 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5986 lt_cv_file_magic_cmd='/usr/bin/file -L'
5987 lt_cv_file_magic_test_file=/shlib/libc.so
5991 # func_win32_libid is a shell function defined in ltmain.sh
5992 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5993 lt_cv_file_magic_cmd='func_win32_libid'
5997 # Base MSYS/MinGW do not provide the 'file' command needed by
5998 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5999 # unless we find 'file', for example because we are cross-compiling.
6000 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6001 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6002 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6003 lt_cv_file_magic_cmd='func_win32_libid'
6005 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6006 lt_cv_file_magic_cmd='$OBJDUMP -f'
6011 # use the weaker test based on 'objdump'. See mingw*.
6012 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6013 lt_cv_file_magic_cmd='$OBJDUMP -f'
6016 darwin* | rhapsody*)
6017 lt_cv_deplibs_check_method=pass_all
6020 freebsd* | dragonfly*)
6021 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6024 # Not sure whether the presence of OpenBSD here was a mistake.
6025 # Let's accept both of them until this is cleared up.
6026 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6027 lt_cv_file_magic_cmd=/usr/bin/file
6028 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6032 lt_cv_deplibs_check_method=pass_all
6037 lt_cv_deplibs_check_method=pass_all
6041 lt_cv_deplibs_check_method=pass_all
6044 hpux10.20* | hpux11*)
6045 lt_cv_file_magic_cmd=/usr/bin/file
6048 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6049 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6052 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6053 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6056 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6057 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6063 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6064 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6067 irix5* | irix6* | nonstopux*)
6069 *-32|*"-32 ") libmagic=32-bit;;
6070 *-n32|*"-n32 ") libmagic=N32;;
6071 *-64|*"-64 ") libmagic=64-bit;;
6072 *) libmagic=never-match;;
6074 lt_cv_deplibs_check_method=pass_all
6077 # This must be Linux ELF.
6078 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6079 lt_cv_deplibs_check_method=pass_all
6083 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6084 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6086 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6091 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6092 lt_cv_file_magic_cmd=/usr/bin/file
6093 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6097 lt_cv_deplibs_check_method=pass_all
6101 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6102 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6104 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6108 osf3* | osf4* | osf5*)
6109 lt_cv_deplibs_check_method=pass_all
6113 lt_cv_deplibs_check_method=pass_all
6117 lt_cv_deplibs_check_method=pass_all
6120 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6121 lt_cv_deplibs_check_method=pass_all
6125 case $host_vendor in
6127 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6128 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6131 lt_cv_deplibs_check_method=pass_all
6134 lt_cv_file_magic_cmd='/bin/file'
6135 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6138 lt_cv_file_magic_cmd='/bin/file'
6139 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6140 lt_cv_file_magic_test_file=/lib/libc.so
6143 lt_cv_deplibs_check_method=pass_all
6146 lt_cv_deplibs_check_method=pass_all
6152 lt_cv_deplibs_check_method=pass_all
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6158 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6159 file_magic_cmd=$lt_cv_file_magic_cmd
6160 deplibs_check_method=$lt_cv_deplibs_check_method
6161 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6175 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
6176 for plugin in $plugin_names; do
6177 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
6178 if test x$plugin_so = x$plugin; then
6179 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
6181 if test x$plugin_so != x$plugin; then
6182 plugin_option="--plugin $plugin_so"
6187 if test -n "$ac_tool_prefix"; then
6188 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6189 set dummy ${ac_tool_prefix}ar; ac_word=$2
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6191 $as_echo_n "checking
for $ac_word...
" >&6; }
6192 if ${ac_cv_prog_AR+:} false; then :
6193 $as_echo_n "(cached
) " >&6
6195 if test -n "$AR"; then
6196 ac_cv_prog_AR="$AR" # Let the user override the test.
6198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6202 test -z "$as_dir" && as_dir=.
6203 for ac_exec_ext in '' $ac_executable_extensions; do
6204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6205 ac_cv_prog_AR="${ac_tool_prefix}ar"
6206 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6216 if test -n "$AR"; then
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6218 $as_echo "$AR" >&6; }
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6221 $as_echo "no
" >&6; }
6226 if test -z "$ac_cv_prog_AR"; then
6228 # Extract the first word of "ar", so it can be a program name with args.
6229 set dummy ar; ac_word=$2
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6231 $as_echo_n "checking
for $ac_word...
" >&6; }
6232 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6233 $as_echo_n "(cached
) " >&6
6235 if test -n "$ac_ct_AR"; then
6236 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6242 test -z "$as_dir" && as_dir=.
6243 for ac_exec_ext in '' $ac_executable_extensions; do
6244 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6245 ac_cv_prog_ac_ct_AR="ar"
6246 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6255 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6256 if test -n "$ac_ct_AR"; then
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6258 $as_echo "$ac_ct_AR" >&6; }
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6261 $as_echo "no
" >&6; }
6264 if test "x
$ac_ct_AR" = x; then
6267 case $cross_compiling:$ac_tool_warned in
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6270 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6271 ac_tool_warned=yes ;;
6279 test -z "$AR" && AR=ar
6280 if test -n "$plugin_option"; then
6281 if $AR --help 2>&1 | grep -q "\
--plugin"; then
6283 $AR $plugin_option rc conftest.a conftest.c
6284 if test "$?
" != 0; then
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
6286 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
6288 AR="$AR $plugin_option"
6293 test -z "$AR_FLAGS" && AR_FLAGS=cru
6305 if test -n "$ac_tool_prefix"; then
6306 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6307 set dummy ${ac_tool_prefix}strip; ac_word=$2
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6309 $as_echo_n "checking
for $ac_word...
" >&6; }
6310 if ${ac_cv_prog_STRIP+:} false; then :
6311 $as_echo_n "(cached
) " >&6
6313 if test -n "$STRIP"; then
6314 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6320 test -z "$as_dir" && as_dir=.
6321 for ac_exec_ext in '' $ac_executable_extensions; do
6322 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6323 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6324 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6333 STRIP=$ac_cv_prog_STRIP
6334 if test -n "$STRIP"; then
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6336 $as_echo "$STRIP" >&6; }
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6339 $as_echo "no
" >&6; }
6344 if test -z "$ac_cv_prog_STRIP"; then
6346 # Extract the first word of "strip
", so it can be a program name with args.
6347 set dummy strip; ac_word=$2
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6349 $as_echo_n "checking
for $ac_word...
" >&6; }
6350 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6351 $as_echo_n "(cached
) " >&6
6353 if test -n "$ac_ct_STRIP"; then
6354 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6360 test -z "$as_dir" && as_dir=.
6361 for ac_exec_ext in '' $ac_executable_extensions; do
6362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6363 ac_cv_prog_ac_ct_STRIP="strip
"
6364 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6373 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6374 if test -n "$ac_ct_STRIP"; then
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6376 $as_echo "$ac_ct_STRIP" >&6; }
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6379 $as_echo "no
" >&6; }
6382 if test "x
$ac_ct_STRIP" = x; then
6385 case $cross_compiling:$ac_tool_warned in
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6388 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6389 ac_tool_warned=yes ;;
6394 STRIP="$ac_cv_prog_STRIP"
6397 test -z "$STRIP" && STRIP=:
6404 if test -n "$ac_tool_prefix"; then
6405 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6406 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6408 $as_echo_n "checking
for $ac_word...
" >&6; }
6409 if ${ac_cv_prog_RANLIB+:} false; then :
6410 $as_echo_n "(cached
) " >&6
6412 if test -n "$RANLIB"; then
6413 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6419 test -z "$as_dir" && as_dir=.
6420 for ac_exec_ext in '' $ac_executable_extensions; do
6421 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6422 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6423 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6432 RANLIB=$ac_cv_prog_RANLIB
6433 if test -n "$RANLIB"; then
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6435 $as_echo "$RANLIB" >&6; }
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6438 $as_echo "no
" >&6; }
6443 if test -z "$ac_cv_prog_RANLIB"; then
6444 ac_ct_RANLIB=$RANLIB
6445 # Extract the first word of "ranlib
", so it can be a program name with args.
6446 set dummy ranlib; ac_word=$2
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6448 $as_echo_n "checking
for $ac_word...
" >&6; }
6449 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6450 $as_echo_n "(cached
) " >&6
6452 if test -n "$ac_ct_RANLIB"; then
6453 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6459 test -z "$as_dir" && as_dir=.
6460 for ac_exec_ext in '' $ac_executable_extensions; do
6461 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6462 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6463 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6472 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6473 if test -n "$ac_ct_RANLIB"; then
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6475 $as_echo "$ac_ct_RANLIB" >&6; }
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6478 $as_echo "no
" >&6; }
6481 if test "x
$ac_ct_RANLIB" = x; then
6484 case $cross_compiling:$ac_tool_warned in
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6487 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6488 ac_tool_warned=yes ;;
6490 RANLIB=$ac_ct_RANLIB
6493 RANLIB="$ac_cv_prog_RANLIB"
6496 test -z "$RANLIB" && RANLIB=:
6497 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
6498 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
6499 RANLIB="$RANLIB $plugin_option"
6508 # Determine commands to create old-style static archives.
6509 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6510 old_postinstall_cmds='chmod 644 $oldlib'
6511 old_postuninstall_cmds=
6513 if test -n "$RANLIB"; then
6516 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6519 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6522 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6527 lock_old_archive_extraction=yes ;;
6529 lock_old_archive_extraction=no ;;
6552 for ac_prog in gawk mawk nawk awk
6554 # Extract the first word of "$ac_prog", so it can be a program name with args.
6555 set dummy $ac_prog; ac_word=$2
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6557 $as_echo_n "checking
for $ac_word...
" >&6; }
6558 if ${ac_cv_prog_AWK+:} false; then :
6559 $as_echo_n "(cached
) " >&6
6561 if test -n "$AWK"; then
6562 ac_cv_prog_AWK="$AWK" # Let the user override the test.
6564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6568 test -z "$as_dir" && as_dir=.
6569 for ac_exec_ext in '' $ac_executable_extensions; do
6570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6571 ac_cv_prog_AWK="$ac_prog"
6572 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6582 if test -n "$AWK"; then
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AWK" >&5
6584 $as_echo "$AWK" >&6; }
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6587 $as_echo "no
" >&6; }
6591 test -n "$AWK" && break
6612 # If no C compiler was specified, use CC.
6615 # If no C compiler flags were specified, use CFLAGS.
6616 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6618 # Allow CC to be a program name with arguments.
6622 # Check for command to grab the raw symbol name followed by C symbol from nm.
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6624 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6625 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6626 $as_echo_n "(cached
) " >&6
6629 # These are sane defaults that work on at least a few old systems.
6630 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6632 # Character class describing NM global symbol codes.
6633 symcode='[BCDEGRST]'
6635 # Regexp to match symbols that can be accessed directly from C.
6636 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6638 # Define system-specific variables.
6643 cygwin* | mingw* | pw32* | cegcc*)
6644 symcode='[ABCDGISTW]'
6647 if test "$host_cpu" = ia64; then
6648 symcode='[ABCDEGRST]'
6652 symcode='[BCDEGRST]'
6655 symcode='[BCDEGQRST]'
6666 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6674 # If we're using GNU nm, then use its standard symbol codes.
6675 case `$NM -V 2>&1` in
6676 *GNU* | *'with BFD'*)
6677 symcode='[ABCDGIRSTW]' ;;
6680 # Transform an extracted symbol line into a proper C declaration.
6681 # Some systems (esp. on ia64) link data and code symbols differently,
6682 # so use this general approach.
6683 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6685 # Transform an extracted symbol line into symbol name and symbol address
6686 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6687 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6689 # Handle CRLF in mingw tool chain
6693 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6697 # Try without a prefix underscore, then with it.
6698 for ac_symprfx in "" "_
"; do
6700 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6701 symxfrm="\\1 $ac_symprfx\\2 \\2"
6703 # Write the raw and C identifiers.
6704 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6705 # Fake it for dumpbin and say T for any non-static function
6706 # and D for any global variable.
6707 # Also find C++ and __fastcall symbols from MSVC++,
6708 # which start with @ or ?.
6709 lt_cv_sys_global_symbol_pipe="$AWK '"\
6710 " {last_section=section; section=\$ 3};"\
6711 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6712 " \$ 0!~/External *\|/{next};"\
6713 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6714 " {if(hide[section]) next};"\
6715 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6716 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6717 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6718 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6719 " ' prfx
=^
$ac_symprfx"
6721 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6724 # Check to see that the pipe works correctly.
6728 cat > conftest.$ac_ext <<_LT_EOF
6733 void nm_test_func(void);
6734 void nm_test_func(void){}
6738 int main(){nm_test_var='a';nm_test_func();return(0);}
6741 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6742 (eval $ac_compile) 2>&5
6744 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6745 test $ac_status = 0; }; then
6746 # Now try to grab the symbols.
6748 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6749 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6751 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6752 test $ac_status = 0; } && test -s "$nlist"; then
6753 # Try sorting and uniquifying the output.
6754 if sort "$nlist" | uniq > "$nlist"T; then
6755 mv -f "$nlist"T "$nlist"
6760 # Make sure that we snagged all the symbols we need.
6761 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6762 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6763 cat <<_LT_EOF > conftest.$ac_ext
6769 # Now generate the symbol file.
6770 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6772 cat <<_LT_EOF >> conftest.$ac_ext
6774 /* The mapping between symbol names and symbols. */
6779 lt__PROGRAM__LTX_preloaded_symbols[] =
6781 { "@PROGRAM@
", (void *) 0 },
6783 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6784 cat <<\_LT_EOF >> conftest.$ac_ext
6788 /* This works around a problem in FreeBSD linker */
6789 #ifdef FREEBSD_WORKAROUND
6790 static const void *lt_preloaded_setup() {
6791 return lt__PROGRAM__LTX_preloaded_symbols;
6799 # Now try linking the two files.
6800 mv conftest.$ac_objext conftstm.$ac_objext
6801 lt_save_LIBS="$LIBS"
6802 lt_save_CFLAGS="$CFLAGS"
6803 LIBS="conftstm.
$ac_objext"
6804 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6805 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6806 (eval $ac_link) 2>&5
6808 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6809 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6812 LIBS="$lt_save_LIBS"
6813 CFLAGS="$lt_save_CFLAGS"
6815 echo "cannot
find nm_test_func
in $nlist" >&5
6818 echo "cannot
find nm_test_var
in $nlist" >&5
6821 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6824 echo "$progname: failed program was
:" >&5
6825 cat conftest.$ac_ext >&5
6827 rm -rf conftest* conftst*
6829 # Do not use the global_symbol_pipe unless it works.
6830 if test "$pipe_works" = yes; then
6833 lt_cv_sys_global_symbol_pipe=
6839 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6840 lt_cv_sys_global_symbol_to_cdecl=
6842 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6844 $as_echo "failed
" >&6; }
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6847 $as_echo "ok
" >&6; }
6871 # Check whether --enable-libtool-lock was given.
6872 if test "${enable_libtool_lock+set}" = set; then :
6873 enableval=$enable_libtool_lock;
6876 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6878 # Some flags need to be propagated to the compiler or linker for good
6882 # Find out which ABI we are using.
6883 echo 'int i;' > conftest.$ac_ext
6884 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6885 (eval $ac_compile) 2>&5
6887 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6888 test $ac_status = 0; }; then
6889 case `/usr/bin/file conftest.$ac_objext` in
6901 # Find out which ABI we are using.
6902 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6903 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6904 (eval $ac_compile) 2>&5
6906 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6907 test $ac_status = 0; }; then
6908 if test "$lt_cv_prog_gnu_ld" = yes; then
6909 case `/usr/bin/file conftest.$ac_objext` in
6911 LD="${LD-ld} -melf32bsmip"
6914 LD="${LD-ld} -melf32bmipn32"
6917 LD="${LD-ld} -melf64bmip"
6921 case `/usr/bin/file conftest.$ac_objext` in
6937 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6938 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6939 # Find out which ABI we are using.
6940 echo 'int i;' > conftest.$ac_ext
6941 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6942 (eval $ac_compile) 2>&5
6944 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6945 test $ac_status = 0; }; then
6946 case `/usr/bin/file conftest.o` in
6949 x86_64-*kfreebsd*-gnu)
6950 LD="${LD-ld} -m elf_i386_fbsd
"
6953 case `/usr/bin/file conftest.o` in
6955 LD="${LD-ld} -m elf32_x86_64
"
6958 LD="${LD-ld} -m elf_i386
"
6962 powerpc64le-*linux*)
6963 LD="${LD-ld} -m elf32lppclinux
"
6966 LD="${LD-ld} -m elf32ppclinux
"
6969 LD="${LD-ld} -m elf_s390
"
6972 LD="${LD-ld} -m elf32_sparc
"
6978 x86_64-*kfreebsd*-gnu)
6979 LD="${LD-ld} -m elf_x86_64_fbsd
"
6982 LD="${LD-ld} -m elf_x86_64
"
6985 LD="${LD-ld} -m elf64lppc
"
6988 LD="${LD-ld} -m elf64ppc
"
6990 s390*-*linux*|s390*-*tpf*)
6991 LD="${LD-ld} -m elf64_s390
"
6994 LD="${LD-ld} -m elf64_sparc
"
7004 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7005 SAVE_CFLAGS="$CFLAGS"
7006 CFLAGS="$CFLAGS -belf"
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7008 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7009 if ${lt_cv_cc_needs_belf+:} false; then :
7010 $as_echo_n "(cached
) " >&6
7013 ac_cpp='$CPP $CPPFLAGS'
7014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7019 /* end confdefs.h. */
7029 if ac_fn_c_try_link "$LINENO"; then :
7030 lt_cv_cc_needs_belf=yes
7032 lt_cv_cc_needs_belf=no
7034 rm -f core conftest.err conftest.$ac_objext \
7035 conftest$ac_exeext conftest.$ac_ext
7037 ac_cpp='$CPP $CPPFLAGS'
7038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7044 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7045 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7046 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7047 CFLAGS="$SAVE_CFLAGS"
7051 # Find out which ABI we are using.
7052 echo 'int i;' > conftest.$ac_ext
7053 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7054 (eval $ac_compile) 2>&5
7056 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7057 test $ac_status = 0; }; then
7058 case `/usr/bin/file conftest.o` in
7060 case $lt_cv_prog_gnu_ld in
7061 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7063 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7075 need_locks="$enable_libtool_lock"
7079 rhapsody* | darwin*)
7080 if test -n "$ac_tool_prefix"; then
7081 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7082 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7084 $as_echo_n "checking
for $ac_word...
" >&6; }
7085 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7086 $as_echo_n "(cached
) " >&6
7088 if test -n "$DSYMUTIL"; then
7089 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7095 test -z "$as_dir" && as_dir=.
7096 for ac_exec_ext in '' $ac_executable_extensions; do
7097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7098 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7099 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7108 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7109 if test -n "$DSYMUTIL"; then
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7111 $as_echo "$DSYMUTIL" >&6; }
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7114 $as_echo "no
" >&6; }
7119 if test -z "$ac_cv_prog_DSYMUTIL"; then
7120 ac_ct_DSYMUTIL=$DSYMUTIL
7121 # Extract the first word of "dsymutil
", so it can be a program name with args.
7122 set dummy dsymutil; ac_word=$2
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7124 $as_echo_n "checking
for $ac_word...
" >&6; }
7125 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7126 $as_echo_n "(cached
) " >&6
7128 if test -n "$ac_ct_DSYMUTIL"; then
7129 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7135 test -z "$as_dir" && as_dir=.
7136 for ac_exec_ext in '' $ac_executable_extensions; do
7137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7138 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7139 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7148 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7149 if test -n "$ac_ct_DSYMUTIL"; then
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7151 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7154 $as_echo "no
" >&6; }
7157 if test "x
$ac_ct_DSYMUTIL" = x; then
7160 case $cross_compiling:$ac_tool_warned in
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7163 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7164 ac_tool_warned=yes ;;
7166 DSYMUTIL=$ac_ct_DSYMUTIL
7169 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7172 if test -n "$ac_tool_prefix"; then
7173 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7174 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7176 $as_echo_n "checking
for $ac_word...
" >&6; }
7177 if ${ac_cv_prog_NMEDIT+:} false; then :
7178 $as_echo_n "(cached
) " >&6
7180 if test -n "$NMEDIT"; then
7181 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7187 test -z "$as_dir" && as_dir=.
7188 for ac_exec_ext in '' $ac_executable_extensions; do
7189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7190 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7191 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7200 NMEDIT=$ac_cv_prog_NMEDIT
7201 if test -n "$NMEDIT"; then
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7203 $as_echo "$NMEDIT" >&6; }
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7206 $as_echo "no
" >&6; }
7211 if test -z "$ac_cv_prog_NMEDIT"; then
7212 ac_ct_NMEDIT=$NMEDIT
7213 # Extract the first word of "nmedit
", so it can be a program name with args.
7214 set dummy nmedit; ac_word=$2
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7216 $as_echo_n "checking
for $ac_word...
" >&6; }
7217 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7218 $as_echo_n "(cached
) " >&6
7220 if test -n "$ac_ct_NMEDIT"; then
7221 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7227 test -z "$as_dir" && as_dir=.
7228 for ac_exec_ext in '' $ac_executable_extensions; do
7229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7230 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7231 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7240 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7241 if test -n "$ac_ct_NMEDIT"; then
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7243 $as_echo "$ac_ct_NMEDIT" >&6; }
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7246 $as_echo "no
" >&6; }
7249 if test "x
$ac_ct_NMEDIT" = x; then
7252 case $cross_compiling:$ac_tool_warned in
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7255 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7256 ac_tool_warned=yes ;;
7258 NMEDIT=$ac_ct_NMEDIT
7261 NMEDIT="$ac_cv_prog_NMEDIT"
7264 if test -n "$ac_tool_prefix"; then
7265 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7266 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7268 $as_echo_n "checking
for $ac_word...
" >&6; }
7269 if ${ac_cv_prog_LIPO+:} false; then :
7270 $as_echo_n "(cached
) " >&6
7272 if test -n "$LIPO"; then
7273 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7279 test -z "$as_dir" && as_dir=.
7280 for ac_exec_ext in '' $ac_executable_extensions; do
7281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7282 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7283 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7292 LIPO=$ac_cv_prog_LIPO
7293 if test -n "$LIPO"; then
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7295 $as_echo "$LIPO" >&6; }
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7298 $as_echo "no
" >&6; }
7303 if test -z "$ac_cv_prog_LIPO"; then
7305 # Extract the first word of "lipo
", so it can be a program name with args.
7306 set dummy lipo; ac_word=$2
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7308 $as_echo_n "checking
for $ac_word...
" >&6; }
7309 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7310 $as_echo_n "(cached
) " >&6
7312 if test -n "$ac_ct_LIPO"; then
7313 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7319 test -z "$as_dir" && as_dir=.
7320 for ac_exec_ext in '' $ac_executable_extensions; do
7321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7322 ac_cv_prog_ac_ct_LIPO="lipo
"
7323 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7332 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7333 if test -n "$ac_ct_LIPO"; then
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7335 $as_echo "$ac_ct_LIPO" >&6; }
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7338 $as_echo "no
" >&6; }
7341 if test "x
$ac_ct_LIPO" = x; then
7344 case $cross_compiling:$ac_tool_warned in
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7347 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7348 ac_tool_warned=yes ;;
7353 LIPO="$ac_cv_prog_LIPO"
7356 if test -n "$ac_tool_prefix"; then
7357 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7358 set dummy ${ac_tool_prefix}otool; ac_word=$2
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7360 $as_echo_n "checking
for $ac_word...
" >&6; }
7361 if ${ac_cv_prog_OTOOL+:} false; then :
7362 $as_echo_n "(cached
) " >&6
7364 if test -n "$OTOOL"; then
7365 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7371 test -z "$as_dir" && as_dir=.
7372 for ac_exec_ext in '' $ac_executable_extensions; do
7373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7374 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7375 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7384 OTOOL=$ac_cv_prog_OTOOL
7385 if test -n "$OTOOL"; then
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7387 $as_echo "$OTOOL" >&6; }
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7390 $as_echo "no
" >&6; }
7395 if test -z "$ac_cv_prog_OTOOL"; then
7397 # Extract the first word of "otool
", so it can be a program name with args.
7398 set dummy otool; ac_word=$2
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7400 $as_echo_n "checking
for $ac_word...
" >&6; }
7401 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7402 $as_echo_n "(cached
) " >&6
7404 if test -n "$ac_ct_OTOOL"; then
7405 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7411 test -z "$as_dir" && as_dir=.
7412 for ac_exec_ext in '' $ac_executable_extensions; do
7413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7414 ac_cv_prog_ac_ct_OTOOL="otool
"
7415 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7424 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7425 if test -n "$ac_ct_OTOOL"; then
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7427 $as_echo "$ac_ct_OTOOL" >&6; }
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7430 $as_echo "no
" >&6; }
7433 if test "x
$ac_ct_OTOOL" = x; then
7436 case $cross_compiling:$ac_tool_warned in
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7439 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7440 ac_tool_warned=yes ;;
7445 OTOOL="$ac_cv_prog_OTOOL"
7448 if test -n "$ac_tool_prefix"; then
7449 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7450 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7452 $as_echo_n "checking
for $ac_word...
" >&6; }
7453 if ${ac_cv_prog_OTOOL64+:} false; then :
7454 $as_echo_n "(cached
) " >&6
7456 if test -n "$OTOOL64"; then
7457 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7463 test -z "$as_dir" && as_dir=.
7464 for ac_exec_ext in '' $ac_executable_extensions; do
7465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7466 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7467 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7476 OTOOL64=$ac_cv_prog_OTOOL64
7477 if test -n "$OTOOL64"; then
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7479 $as_echo "$OTOOL64" >&6; }
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7482 $as_echo "no
" >&6; }
7487 if test -z "$ac_cv_prog_OTOOL64"; then
7488 ac_ct_OTOOL64=$OTOOL64
7489 # Extract the first word of "otool64
", so it can be a program name with args.
7490 set dummy otool64; ac_word=$2
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7492 $as_echo_n "checking
for $ac_word...
" >&6; }
7493 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7494 $as_echo_n "(cached
) " >&6
7496 if test -n "$ac_ct_OTOOL64"; then
7497 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7503 test -z "$as_dir" && as_dir=.
7504 for ac_exec_ext in '' $ac_executable_extensions; do
7505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7506 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7507 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7516 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7517 if test -n "$ac_ct_OTOOL64"; then
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7519 $as_echo "$ac_ct_OTOOL64" >&6; }
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7522 $as_echo "no
" >&6; }
7525 if test "x
$ac_ct_OTOOL64" = x; then
7528 case $cross_compiling:$ac_tool_warned in
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7531 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7532 ac_tool_warned=yes ;;
7534 OTOOL64=$ac_ct_OTOOL64
7537 OTOOL64="$ac_cv_prog_OTOOL64"
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7567 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7568 if ${lt_cv_apple_cc_single_mod+:} false; then :
7569 $as_echo_n "(cached
) " >&6
7571 lt_cv_apple_cc_single_mod=no
7572 if test -z "${LT_MULTI_MODULE}"; then
7573 # By default we will add the -single_module flag. You can override
7574 # by either setting the environment variable LT_MULTI_MODULE
7575 # non-empty at configure time, or by adding -multi_module to the
7577 rm -rf libconftest.dylib*
7578 echo "int foo
(void
){return 1;}" > conftest.c
7579 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7580 -dynamiclib -Wl,-single_module conftest.c
" >&5
7581 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7582 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7584 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7585 lt_cv_apple_cc_single_mod=yes
7587 cat conftest.err >&5
7589 rm -rf libconftest.dylib*
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7594 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7596 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7597 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7598 $as_echo_n "(cached
) " >&6
7600 lt_cv_ld_exported_symbols_list=no
7601 save_LDFLAGS=$LDFLAGS
7602 echo "_main
" > conftest.sym
7603 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7605 /* end confdefs.h. */
7615 if ac_fn_c_try_link "$LINENO"; then :
7616 lt_cv_ld_exported_symbols_list=yes
7618 lt_cv_ld_exported_symbols_list=no
7620 rm -f core conftest.err conftest.$ac_objext \
7621 conftest$ac_exeext conftest.$ac_ext
7622 LDFLAGS="$save_LDFLAGS"
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7626 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7628 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7629 if ${lt_cv_ld_force_load+:} false; then :
7630 $as_echo_n "(cached
) " >&6
7632 lt_cv_ld_force_load=no
7633 cat > conftest.c << _LT_EOF
7634 int forced_loaded() { return 2;}
7636 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7637 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7638 echo "$AR cru libconftest.a conftest.o
" >&5
7639 $AR cru libconftest.a conftest.o 2>&5
7640 cat > conftest.c << _LT_EOF
7641 int main() { return 0;}
7643 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7644 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7646 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7647 lt_cv_ld_force_load=yes
7649 cat conftest.err >&5
7651 rm -f conftest.err libconftest.a conftest conftest.c
7652 rm -rf conftest.dSYM
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7656 $as_echo "$lt_cv_ld_force_load" >&6; }
7658 rhapsody* | darwin1.[012])
7659 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7661 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7662 darwin*) # darwin 5.x on
7663 # if running on 10.5 or later, the deployment target defaults
7664 # to the OS version, if on x86, and 10.4, the deployment
7665 # target defaults to 10.4. Don't you love it?
7666 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7667 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7668 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7670 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7672 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7676 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7677 _lt_dar_single_mod='$single_module'
7679 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7680 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7682 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7684 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7685 _lt_dsymutil='~$DSYMUTIL $lib || :'
7692 for ac_header in dlfcn.h
7694 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7696 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
7697 cat >>confdefs.h <<_ACEOF
7698 #define HAVE_DLFCN_H 1
7707 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
7708 as_ac_Header=`$as_echo "ac_cv_header_dirent_
$ac_hdr" | $as_tr_sh`
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_hdr that defines DIR
" >&5
7710 $as_echo_n "checking
for $ac_hdr that defines DIR...
" >&6; }
7711 if eval \${$as_ac_Header+:} false; then :
7712 $as_echo_n "(cached
) " >&6
7714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7715 /* end confdefs.h. */
7716 #include <sys/types.h>
7728 if ac_fn_c_try_compile "$LINENO"; then :
7729 eval "$as_ac_Header=yes"
7731 eval "$as_ac_Header=no
"
7733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7735 eval ac_res=\$$as_ac_Header
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_res" >&5
7737 $as_echo "$ac_res" >&6; }
7738 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7739 cat >>confdefs.h <<_ACEOF
7740 #define `$as_echo "HAVE_
$ac_hdr" | $as_tr_cpp` 1
7743 ac_header_dirent=$ac_hdr; break
7747 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
7748 if test $ac_header_dirent = dirent.h; then
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for library containing opendir
" >&5
7750 $as_echo_n "checking
for library containing opendir...
" >&6; }
7751 if ${ac_cv_search_opendir+:} false; then :
7752 $as_echo_n "(cached
) " >&6
7754 ac_func_search_save_LIBS=$LIBS
7755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7756 /* end confdefs.h. */
7758 /* Override any GCC internal prototype to avoid an error.
7759 Use char because int might match the return type of a GCC
7760 builtin and then its argument prototype would still apply. */
7773 for ac_lib in '' dir; do
7774 if test -z "$ac_lib"; then
7775 ac_res="none required
"
7778 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7780 if ac_fn_c_try_link "$LINENO"; then :
7781 ac_cv_search_opendir=$ac_res
7783 rm -f core conftest.err conftest.$ac_objext \
7785 if ${ac_cv_search_opendir+:} false; then :
7789 if ${ac_cv_search_opendir+:} false; then :
7792 ac_cv_search_opendir=no
7795 LIBS=$ac_func_search_save_LIBS
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_search_opendir" >&5
7798 $as_echo "$ac_cv_search_opendir" >&6; }
7799 ac_res=$ac_cv_search_opendir
7800 if test "$ac_res" != no; then :
7801 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for library containing opendir
" >&5
7807 $as_echo_n "checking
for library containing opendir...
" >&6; }
7808 if ${ac_cv_search_opendir+:} false; then :
7809 $as_echo_n "(cached
) " >&6
7811 ac_func_search_save_LIBS=$LIBS
7812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7813 /* end confdefs.h. */
7815 /* Override any GCC internal prototype to avoid an error.
7816 Use char because int might match the return type of a GCC
7817 builtin and then its argument prototype would still apply. */
7830 for ac_lib in '' x; do
7831 if test -z "$ac_lib"; then
7832 ac_res="none required
"
7835 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7837 if ac_fn_c_try_link "$LINENO"; then :
7838 ac_cv_search_opendir=$ac_res
7840 rm -f core conftest.err conftest.$ac_objext \
7842 if ${ac_cv_search_opendir+:} false; then :
7846 if ${ac_cv_search_opendir+:} false; then :
7849 ac_cv_search_opendir=no
7852 LIBS=$ac_func_search_save_LIBS
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_search_opendir" >&5
7855 $as_echo "$ac_cv_search_opendir" >&6; }
7856 ac_res=$ac_cv_search_opendir
7857 if test "$ac_res" != no; then :
7858 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
7867 ac_fn_c_check_member "$LINENO" "struct stat
" "st_blksize
" "ac_cv_member_struct_stat_st_blksize
" "$ac_includes_default"
7868 if test "x
$ac_cv_member_struct_stat_st_blksize" = xyes; then :
7870 cat >>confdefs.h <<_ACEOF
7871 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
7875 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
7880 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
7881 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
7883 cat >>confdefs.h
<<_ACEOF
7884 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
7888 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
7891 case " $LIBOBJS " in
7892 *" fileblocks.$ac_objext "* ) ;;
7893 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
7900 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
7901 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
7903 cat >>confdefs.h
<<_ACEOF
7904 #define HAVE_STRUCT_STAT_ST_RDEV 1
7908 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
7913 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
7914 #include <$ac_cv_struct_tm>
7917 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
7919 cat >>confdefs.h
<<_ACEOF
7920 #define HAVE_STRUCT_TM_TM_ZONE 1
7926 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
7928 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
7931 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
7933 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
7939 cat >>confdefs.h
<<_ACEOF
7940 #define HAVE_DECL_TZNAME $ac_have_decl
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
7944 $as_echo_n "checking for tzname... " >&6; }
7945 if ${ac_cv_var_tzname+:} false
; then :
7946 $as_echo_n "(cached) " >&6
7948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7949 /* end confdefs.h. */
7951 #if !HAVE_DECL_TZNAME
7952 extern char *tzname[];
7958 return tzname[0][0];
7963 if ac_fn_c_try_link
"$LINENO"; then :
7964 ac_cv_var_tzname
=yes
7968 rm -f core conftest.err conftest.
$ac_objext \
7969 conftest
$ac_exeext conftest.
$ac_ext
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
7972 $as_echo "$ac_cv_var_tzname" >&6; }
7973 if test $ac_cv_var_tzname = yes; then
7975 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
7981 ac_fn_c_check_member
"$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
7982 #include <sys/types.h>
7984 #ifdef HAVE_SYS_STAT_H
7985 #include <sys/stat.h>
7988 if test "x$ac_cv_member_struct_stat_st_dev" = xyes
; then :
7990 cat >>confdefs.h
<<_ACEOF
7991 #define HAVE_STRUCT_STAT_ST_DEV 1
7996 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ino" "ac_cv_member_struct_stat_st_ino" "#ifdef HAVE_SYS_TYPES_H
7997 #include <sys/types.h>
7999 #ifdef HAVE_SYS_STAT_H
8000 #include <sys/stat.h>
8003 if test "x$ac_cv_member_struct_stat_st_ino" = xyes
; then :
8005 cat >>confdefs.h
<<_ACEOF
8006 #define HAVE_STRUCT_STAT_ST_INO 1
8011 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mode" "ac_cv_member_struct_stat_st_mode" "#ifdef HAVE_SYS_TYPES_H
8012 #include <sys/types.h>
8014 #ifdef HAVE_SYS_STAT_H
8015 #include <sys/stat.h>
8018 if test "x$ac_cv_member_struct_stat_st_mode" = xyes
; then :
8020 cat >>confdefs.h
<<_ACEOF
8021 #define HAVE_STRUCT_STAT_ST_MODE 1
8026 ac_fn_c_check_member
"$LINENO" "struct stat" "st_nlink" "ac_cv_member_struct_stat_st_nlink" "#ifdef HAVE_SYS_TYPES_H
8027 #include <sys/types.h>
8029 #ifdef HAVE_SYS_STAT_H
8030 #include <sys/stat.h>
8033 if test "x$ac_cv_member_struct_stat_st_nlink" = xyes
; then :
8035 cat >>confdefs.h
<<_ACEOF
8036 #define HAVE_STRUCT_STAT_ST_NLINK 1
8041 ac_fn_c_check_member
"$LINENO" "struct stat" "st_uid" "ac_cv_member_struct_stat_st_uid" "#ifdef HAVE_SYS_TYPES_H
8042 #include <sys/types.h>
8044 #ifdef HAVE_SYS_STAT_H
8045 #include <sys/stat.h>
8048 if test "x$ac_cv_member_struct_stat_st_uid" = xyes
; then :
8050 cat >>confdefs.h
<<_ACEOF
8051 #define HAVE_STRUCT_STAT_ST_UID 1
8056 ac_fn_c_check_member
"$LINENO" "struct stat" "st_gid" "ac_cv_member_struct_stat_st_gid" "#ifdef HAVE_SYS_TYPES_H
8057 #include <sys/types.h>
8059 #ifdef HAVE_SYS_STAT_H
8060 #include <sys/stat.h>
8063 if test "x$ac_cv_member_struct_stat_st_gid" = xyes
; then :
8065 cat >>confdefs.h
<<_ACEOF
8066 #define HAVE_STRUCT_STAT_ST_GID 1
8071 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "#ifdef HAVE_SYS_TYPES_H
8072 #include <sys/types.h>
8074 #ifdef HAVE_SYS_STAT_H
8075 #include <sys/stat.h>
8078 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
8080 cat >>confdefs.h
<<_ACEOF
8081 #define HAVE_STRUCT_STAT_ST_RDEV 1
8086 ac_fn_c_check_member
"$LINENO" "struct stat" "st_size" "ac_cv_member_struct_stat_st_size" "#ifdef HAVE_SYS_TYPES_H
8087 #include <sys/types.h>
8089 #ifdef HAVE_SYS_STAT_H
8090 #include <sys/stat.h>
8093 if test "x$ac_cv_member_struct_stat_st_size" = xyes
; then :
8095 cat >>confdefs.h
<<_ACEOF
8096 #define HAVE_STRUCT_STAT_ST_SIZE 1
8101 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "#ifdef HAVE_SYS_TYPES_H
8102 #include <sys/types.h>
8104 #ifdef HAVE_SYS_STAT_H
8105 #include <sys/stat.h>
8108 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
8110 cat >>confdefs.h
<<_ACEOF
8111 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
8116 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "#ifdef HAVE_SYS_TYPES_H
8117 #include <sys/types.h>
8119 #ifdef HAVE_SYS_STAT_H
8120 #include <sys/stat.h>
8123 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
8125 cat >>confdefs.h
<<_ACEOF
8126 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
8131 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atime" "ac_cv_member_struct_stat_st_atime" "#ifdef HAVE_SYS_TYPES_H
8132 #include <sys/types.h>
8134 #ifdef HAVE_SYS_STAT_H
8135 #include <sys/stat.h>
8138 if test "x$ac_cv_member_struct_stat_st_atime" = xyes
; then :
8140 cat >>confdefs.h
<<_ACEOF
8141 #define HAVE_STRUCT_STAT_ST_ATIME 1
8146 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtime" "ac_cv_member_struct_stat_st_mtime" "#ifdef HAVE_SYS_TYPES_H
8147 #include <sys/types.h>
8149 #ifdef HAVE_SYS_STAT_H
8150 #include <sys/stat.h>
8153 if test "x$ac_cv_member_struct_stat_st_mtime" = xyes
; then :
8155 cat >>confdefs.h
<<_ACEOF
8156 #define HAVE_STRUCT_STAT_ST_MTIME 1
8161 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctime" "ac_cv_member_struct_stat_st_ctime" "#ifdef HAVE_SYS_TYPES_H
8162 #include <sys/types.h>
8164 #ifdef HAVE_SYS_STAT_H
8165 #include <sys/stat.h>
8168 if test "x$ac_cv_member_struct_stat_st_ctime" = xyes
; then :
8170 cat >>confdefs.h
<<_ACEOF
8171 #define HAVE_STRUCT_STAT_ST_CTIME 1
8178 ac_fn_c_check_type
"$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default"
8179 if test "x$ac_cv_type___int128" = xyes
; then :
8181 cat >>confdefs.h
<<_ACEOF
8182 #define HAVE___INT128 1
8188 ac_fn_c_check_type
"$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
8189 #include <sys/socket.h>
8192 if test "x$ac_cv_type_socklen_t" = xyes
; then :
8194 cat >>confdefs.h
<<_ACEOF
8195 #define HAVE_SOCKLEN_T 1
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking type of array argument to getgroups" >&5
8203 $as_echo_n "checking type of array argument to getgroups... " >&6; }
8204 if ${ac_cv_type_getgroups+:} false
; then :
8205 $as_echo_n "(cached) " >&6
8207 if test "$cross_compiling" = yes; then :
8208 ac_cv_type_getgroups
=cross
8210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8211 /* end confdefs.h. */
8212 /* Thanks to Mike Rendell for this test. */
8213 $ac_includes_default
8216 #define MAX(x, y) ((x) > (y) ? (x) : (y))
8223 union { gid_t gval; long int lval; } val;
8226 for (i = 0; i < NGID; i++)
8227 gidset[i] = val.gval;
8228 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
8230 /* Exit non-zero if getgroups seems to require an array of ints. This
8231 happens when gid_t is short int but getgroups modifies an array
8233 return n > 0 && gidset[n] != val.gval;
8236 if ac_fn_c_try_run
"$LINENO"; then :
8237 ac_cv_type_getgroups
=gid_t
8239 ac_cv_type_getgroups
=int
8241 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8242 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8245 if test $ac_cv_type_getgroups = cross
; then
8246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8247 /* end confdefs.h. */
8251 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8252 $EGREP "getgroups.*int.*gid_t" >/dev
/null
2>&1; then :
8253 ac_cv_type_getgroups
=gid_t
8255 ac_cv_type_getgroups
=int
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_getgroups" >&5
8262 $as_echo "$ac_cv_type_getgroups" >&6; }
8264 cat >>confdefs.h
<<_ACEOF
8265 #define GETGROUPS_T $ac_cv_type_getgroups
8269 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
8270 if test "x$ac_cv_type_mode_t" = xyes
; then :
8274 cat >>confdefs.h
<<_ACEOF
8280 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
8281 if test "x$ac_cv_type_off_t" = xyes
; then :
8285 cat >>confdefs.h
<<_ACEOF
8286 #define off_t long int
8291 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
8292 if test "x$ac_cv_type_pid_t" = xyes
; then :
8296 cat >>confdefs.h
<<_ACEOF
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
8303 $as_echo_n "checking return type of signal handlers... " >&6; }
8304 if ${ac_cv_type_signal+:} false
; then :
8305 $as_echo_n "(cached) " >&6
8307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8308 /* end confdefs.h. */
8309 #include <sys/types.h>
8315 return *(signal (0, 0)) (0) == 1;
8320 if ac_fn_c_try_compile
"$LINENO"; then :
8321 ac_cv_type_signal
=int
8323 ac_cv_type_signal
=void
8325 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
8328 $as_echo "$ac_cv_type_signal" >&6; }
8330 cat >>confdefs.h
<<_ACEOF
8331 #define RETSIGTYPE $ac_cv_type_signal
8335 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
8336 if test "x$ac_cv_type_size_t" = xyes
; then :
8340 cat >>confdefs.h
<<_ACEOF
8341 #define size_t unsigned int
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
8347 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
8348 if ${ac_cv_type_uid_t+:} false
; then :
8349 $as_echo_n "(cached) " >&6
8351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8352 /* end confdefs.h. */
8353 #include <sys/types.h>
8356 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8357 $EGREP "uid_t" >/dev
/null
2>&1; then :
8358 ac_cv_type_uid_t
=yes
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
8366 $as_echo "$ac_cv_type_uid_t" >&6; }
8367 if test $ac_cv_type_uid_t = no
; then
8369 $as_echo "#define uid_t int" >>confdefs.h
8372 $as_echo "#define gid_t int" >>confdefs.h
8378 # If we haven't got the data from the intl directory,
8379 # assume NLS is disabled.
8388 if test -f ..
/intl
/config.intl
; then
8389 . ..
/intl
/config.intl
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
8392 $as_echo_n "checking whether NLS is requested... " >&6; }
8393 if test x
"$USE_NLS" != xyes
; then
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8395 $as_echo "no" >&6; }
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8398 $as_echo "yes" >&6; }
8400 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
8404 $as_echo_n "checking for catalogs to be installed... " >&6; }
8405 # Look for .po and .gmo files in the source directory.
8408 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
8409 # If there aren't any .gmo files the shell will give us the
8410 # literal string "../path/to/srcdir/po/*.gmo" which has to be
8412 case "$cat" in *\
**)
8415 # The quadruple backslash is collapsed to a double backslash
8416 # by the backticks, then collapsed again by the double quotes,
8417 # leaving us with one backslash in the sed expression (right
8418 # before the dot that mustn't act as a wildcard).
8419 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
8420 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
8421 # The user is allowed to set LINGUAS to a list of languages to
8422 # install catalogs for. If it's empty that means "all of them."
8423 if test "x$LINGUAS" = x
; then
8424 CATALOGS
="$CATALOGS $cat"
8425 XLINGUAS
="$XLINGUAS $lang"
8427 case "$LINGUAS" in *$lang*)
8428 CATALOGS
="$CATALOGS $cat"
8429 XLINGUAS
="$XLINGUAS $lang"
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
8436 $as_echo "$LINGUAS" >&6; }
8450 # Use the system's zlib library.
8451 zlibdir
="-L\$(top_builddir)/../zlib"
8452 zlibinc
="-I\$(top_srcdir)/../zlib"
8454 # Check whether --with-system-zlib was given.
8455 if test "${with_system_zlib+set}" = set; then :
8456 withval
=$with_system_zlib; if test x
$with_system_zlib = xyes
; then
8469 for ac_header
in dlfcn.h
8471 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8473 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8474 cat >>confdefs.h
<<_ACEOF
8475 #define HAVE_DLFCN_H 1
8482 for ac_header
in windows.h
8484 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
8486 if test "x$ac_cv_header_windows_h" = xyes
; then :
8487 cat >>confdefs.h
<<_ACEOF
8488 #define HAVE_WINDOWS_H 1
8496 # Check whether --enable-plugins was given.
8497 if test "${enable_plugins+set}" = set; then :
8498 enableval
=$enable_plugins; case "${enableval}" in
8501 if test "$maybe_plugins" != "yes" ; then
8502 as_fn_error $?
"Building with plugin support requires a host that supports dlopen." "$LINENO" 5
8506 plugins
=$maybe_plugins
8510 if test "$plugins" = "yes"; then
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
8512 $as_echo_n "checking for library containing dlsym... " >&6; }
8513 if ${ac_cv_search_dlsym+:} false
; then :
8514 $as_echo_n "(cached) " >&6
8516 ac_func_search_save_LIBS
=$LIBS
8517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8518 /* end confdefs.h. */
8520 /* Override any GCC internal prototype to avoid an error.
8521 Use char because int might match the return type of a GCC
8522 builtin and then its argument prototype would still apply. */
8535 for ac_lib
in '' dl
; do
8536 if test -z "$ac_lib"; then
8537 ac_res
="none required"
8540 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8542 if ac_fn_c_try_link
"$LINENO"; then :
8543 ac_cv_search_dlsym
=$ac_res
8545 rm -f core conftest.err conftest.
$ac_objext \
8547 if ${ac_cv_search_dlsym+:} false
; then :
8551 if ${ac_cv_search_dlsym+:} false
; then :
8554 ac_cv_search_dlsym
=no
8557 LIBS
=$ac_func_search_save_LIBS
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
8560 $as_echo "$ac_cv_search_dlsym" >&6; }
8561 ac_res
=$ac_cv_search_dlsym
8562 if test "$ac_res" != no
; then :
8563 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
8569 if test "$plugins" = yes; then
8590 # Check whether --enable-shared was given.
8591 if test "${enable_shared+set}" = set; then :
8592 enableval
=$enable_shared; p
=${PACKAGE-default}
8594 yes) enable_shared
=yes ;;
8595 no
) enable_shared
=no
;;
8598 # Look at the argument we got. We use all the common list separators.
8599 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8600 for pkg
in $enableval; do
8602 if test "X$pkg" = "X$p"; then
8621 # Check whether --enable-static was given.
8622 if test "${enable_static+set}" = set; then :
8623 enableval
=$enable_static; p
=${PACKAGE-default}
8625 yes) enable_static
=yes ;;
8626 no
) enable_static
=no
;;
8629 # Look at the argument we got. We use all the common list separators.
8630 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8631 for pkg
in $enableval; do
8633 if test "X$pkg" = "X$p"; then
8653 # Check whether --with-pic was given.
8654 if test "${with_pic+set}" = set; then :
8655 withval
=$with_pic; pic_mode
="$withval"
8661 test -z "$pic_mode" && pic_mode
=default
8669 # Check whether --enable-fast-install was given.
8670 if test "${enable_fast_install+set}" = set; then :
8671 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8673 yes) enable_fast_install
=yes ;;
8674 no
) enable_fast_install
=no
;;
8676 enable_fast_install
=no
8677 # Look at the argument we got. We use all the common list separators.
8678 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8679 for pkg
in $enableval; do
8681 if test "X$pkg" = "X$p"; then
8682 enable_fast_install
=yes
8689 enable_fast_install
=yes
8702 # This can be used to rebuild libtool when needed
8703 LIBTOOL_DEPS
="$ltmain"
8705 # Always use our own libtool.
8706 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8733 test -z "$LN_S" && LN_S
="ln -s"
8748 if test -n "${ZSH_VERSION+set}" ; then
8749 setopt NO_GLOB_SUBST
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8753 $as_echo_n "checking for objdir... " >&6; }
8754 if ${lt_cv_objdir+:} false
; then :
8755 $as_echo_n "(cached) " >&6
8757 rm -f .libs
2>/dev
/null
8758 mkdir .libs
2>/dev
/null
8759 if test -d .libs
; then
8762 # MS-DOS does not allow filenames that begin with a dot.
8765 rmdir .libs
2>/dev
/null
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8768 $as_echo "$lt_cv_objdir" >&6; }
8769 objdir
=$lt_cv_objdir
8775 cat >>confdefs.h
<<_ACEOF
8776 #define LT_OBJDIR "$lt_cv_objdir/"
8784 # AIX sometimes has problems with the GCC collect2 program. For some
8785 # reason, if we set the COLLECT_NAMES environment variable, the problems
8786 # vanish in a puff of smoke.
8787 if test "X${COLLECT_NAMES+set}" != Xset
; then
8789 export COLLECT_NAMES
8796 can_build_shared
=yes
8798 # All known linkers require a `.a' archive for static linking (except MSVC,
8799 # which needs '.lib').
8802 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8805 old_CFLAGS
="$CFLAGS"
8807 # Set sane defaults for various variables
8808 test -z "$CC" && CC
=cc
8809 test -z "$LTCC" && LTCC
=$CC
8810 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8811 test -z "$LD" && LD
=ld
8812 test -z "$ac_objext" && ac_objext
=o
8814 for cc_temp
in $compiler""; do
8816 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8817 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8822 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8825 # Only perform the check for file, if the check method requires it
8826 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8827 case $deplibs_check_method in
8829 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8831 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8832 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8833 $as_echo_n "(cached) " >&6
8837 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8840 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8841 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8842 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8843 for ac_dir
in $ac_dummy; do
8845 test -z "$ac_dir" && ac_dir
=.
8846 if test -f $ac_dir/${ac_tool_prefix}file; then
8847 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8848 if test -n "$file_magic_test_file"; then
8849 case $deplibs_check_method in
8851 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8852 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8853 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8854 $EGREP "$file_magic_regex" > /dev
/null
; then
8859 *** Warning: the command libtool uses to detect shared libraries,
8860 *** $file_magic_cmd, produces output that libtool cannot recognize.
8861 *** The result is that libtool may fail to recognize shared libraries
8862 *** as such. This will affect the creation of libtool libraries that
8863 *** depend on shared libraries, but programs linked with such libtool
8864 *** libraries will work regardless of this problem. Nevertheless, you
8865 *** may want to report the problem to your system manager and/or to
8866 *** bug-libtool@gnu.org
8876 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8881 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8882 if test -n "$MAGIC_CMD"; then
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8884 $as_echo "$MAGIC_CMD" >&6; }
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8887 $as_echo "no" >&6; }
8894 if test -z "$lt_cv_path_MAGIC_CMD"; then
8895 if test -n "$ac_tool_prefix"; then
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8897 $as_echo_n "checking for file... " >&6; }
8898 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8899 $as_echo_n "(cached) " >&6
8903 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8906 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8907 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8908 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8909 for ac_dir
in $ac_dummy; do
8911 test -z "$ac_dir" && ac_dir
=.
8912 if test -f $ac_dir/file; then
8913 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8914 if test -n "$file_magic_test_file"; then
8915 case $deplibs_check_method in
8917 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8918 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8919 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8920 $EGREP "$file_magic_regex" > /dev
/null
; then
8925 *** Warning: the command libtool uses to detect shared libraries,
8926 *** $file_magic_cmd, produces output that libtool cannot recognize.
8927 *** The result is that libtool may fail to recognize shared libraries
8928 *** as such. This will affect the creation of libtool libraries that
8929 *** depend on shared libraries, but programs linked with such libtool
8930 *** libraries will work regardless of this problem. Nevertheless, you
8931 *** may want to report the problem to your system manager and/or to
8932 *** bug-libtool@gnu.org
8942 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8947 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8948 if test -n "$MAGIC_CMD"; then
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8950 $as_echo "$MAGIC_CMD" >&6; }
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8953 $as_echo "no" >&6; }
8966 # Use C for the default configuration in the libtool script
8970 ac_cpp
='$CPP $CPPFLAGS'
8971 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8972 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8973 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8976 # Source file extension for C test sources.
8979 # Object file extension for compiled C test sources.
8983 # Code to be used in simple compile tests
8984 lt_simple_compile_test_code
="int some_variable = 0;"
8986 # Code to be used in simple link tests
8987 lt_simple_link_test_code
='int main(){return(0);}'
8995 # If no C compiler was specified, use CC.
8998 # If no C compiler flags were specified, use CFLAGS.
8999 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9001 # Allow CC to be a program name with arguments.
9004 # Save the default compiler, since it gets overwritten when the other
9005 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9006 compiler_DEFAULT
=$CC
9008 # save warnings/boilerplate of simple test code
9009 ac_outfile
=conftest.
$ac_objext
9010 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9011 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9012 _lt_compiler_boilerplate
=`cat conftest.err`
9015 ac_outfile
=conftest.
$ac_objext
9016 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9017 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9018 _lt_linker_boilerplate
=`cat conftest.err`
9023 ## There is no encapsulation within the following macros, do not change
9024 ## the running order or otherwise move them around unless you know exactly
9025 ## what you are doing...
9026 if test -n "$compiler"; then
9028 lt_prog_compiler_no_builtin_flag
=
9030 if test "$GCC" = yes; then
9031 case $cc_basename in
9033 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9035 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9039 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9040 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9041 $as_echo_n "(cached) " >&6
9043 lt_cv_prog_compiler_rtti_exceptions
=no
9044 ac_outfile
=conftest.
$ac_objext
9045 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9046 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9047 # Insert the option either (1) after the last *FLAGS variable, or
9048 # (2) before a word containing "conftest.", or (3) at the end.
9049 # Note that $ac_compile itself does not contain backslashes and begins
9050 # with a dollar sign (not a hyphen), so the echo should work correctly.
9051 # The option is referenced via a variable to avoid confusing sed.
9052 lt_compile
=`echo "$ac_compile" | $SED \
9053 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9054 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9055 -e 's:$: $lt_compiler_flag:'`
9056 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9057 (eval "$lt_compile" 2>conftest.err
)
9059 cat conftest.err
>&5
9060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9061 if (exit $ac_status) && test -s "$ac_outfile"; then
9062 # The compiler can only warn and ignore the option if not recognized
9063 # So say no if there are warnings other than the usual output.
9064 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9065 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9066 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9067 lt_cv_prog_compiler_rtti_exceptions
=yes
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9074 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9076 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9077 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9089 lt_prog_compiler_wl
=
9090 lt_prog_compiler_pic
=
9091 lt_prog_compiler_static
=
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9094 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9096 if test "$GCC" = yes; then
9097 lt_prog_compiler_wl
='-Wl,'
9098 lt_prog_compiler_static
='-static'
9102 # All AIX code is PIC.
9103 if test "$host_cpu" = ia64
; then
9104 # AIX 5 now supports IA64 processor
9105 lt_prog_compiler_static
='-Bstatic'
9107 lt_prog_compiler_pic
='-fPIC'
9113 # see comment about AmigaOS4 .so support
9114 lt_prog_compiler_pic
='-fPIC'
9117 # FIXME: we need at least 68020 code to build shared libraries, but
9118 # adding the `-m68020' flag to GCC prevents building anything better,
9120 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9125 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9126 # PIC is the default for these OSes.
9129 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9130 # This hack is so that the source file can tell whether it is being
9131 # built for inclusion in a dll (and should export symbols for example).
9132 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9133 # (--disable-auto-import) libraries
9134 lt_prog_compiler_pic
='-DDLL_EXPORT'
9137 darwin
* | rhapsody
*)
9138 # PIC is the default on this platform
9139 # Common symbols not allowed in MH_DYLIB files
9140 lt_prog_compiler_pic
='-fno-common'
9144 # PIC is the default for Haiku.
9145 # The "-static" flag exists, but is broken.
9146 lt_prog_compiler_static
=
9150 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9151 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9152 # sets the default TLS model and affects inlining.
9158 lt_prog_compiler_pic
='-fPIC'
9164 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9165 # Instead, we relocate shared libraries at runtime.
9169 # Just because we use GCC doesn't mean we suddenly get shared libraries
9170 # on systems that don't support them.
9171 lt_prog_compiler_can_build_shared
=no
9176 # QNX uses GNU C++, but need to define -shared option too, otherwise
9178 lt_prog_compiler_pic
='-fPIC -shared'
9182 if test -d /usr
/nec
; then
9183 lt_prog_compiler_pic
=-Kconform_pic
9188 lt_prog_compiler_pic
='-fPIC'
9192 case $cc_basename in
9193 nvcc
*) # Cuda Compiler Driver 2.2
9194 lt_prog_compiler_wl
='-Xlinker '
9195 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9199 # PORTME Check for flag to pass linker flags through the system compiler.
9202 lt_prog_compiler_wl
='-Wl,'
9203 if test "$host_cpu" = ia64
; then
9204 # AIX 5 now supports IA64 processor
9205 lt_prog_compiler_static
='-Bstatic'
9207 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9211 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9212 # This hack is so that the source file can tell whether it is being
9213 # built for inclusion in a dll (and should export symbols for example).
9214 lt_prog_compiler_pic
='-DDLL_EXPORT'
9217 hpux9
* | hpux10
* | hpux11
*)
9218 lt_prog_compiler_wl
='-Wl,'
9219 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9226 lt_prog_compiler_pic
='+Z'
9229 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9230 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9233 irix5
* | irix6
* | nonstopux
*)
9234 lt_prog_compiler_wl
='-Wl,'
9235 # PIC (with -KPIC) is the default.
9236 lt_prog_compiler_static
='-non_shared'
9239 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9240 case $cc_basename in
9241 # old Intel for x86_64 which still supported -KPIC.
9243 lt_prog_compiler_wl
='-Wl,'
9244 lt_prog_compiler_pic
='-KPIC'
9245 lt_prog_compiler_static
='-static'
9247 # icc used to be incompatible with GCC.
9248 # ICC 10 doesn't accept -KPIC any more.
9250 lt_prog_compiler_wl
='-Wl,'
9251 lt_prog_compiler_pic
='-fPIC'
9252 lt_prog_compiler_static
='-static'
9254 # Lahey Fortran 8.1.
9256 lt_prog_compiler_wl
='-Wl,'
9257 lt_prog_compiler_pic
='--shared'
9258 lt_prog_compiler_static
='--static'
9260 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9261 # Portland Group compilers (*not* the Pentium gcc compiler,
9262 # which looks to be a dead project)
9263 lt_prog_compiler_wl
='-Wl,'
9264 lt_prog_compiler_pic
='-fpic'
9265 lt_prog_compiler_static
='-Bstatic'
9268 lt_prog_compiler_wl
='-Wl,'
9269 # All Alpha code is PIC.
9270 lt_prog_compiler_static
='-non_shared'
9272 xl
* | bgxl
* | bgf
* | mpixl
*)
9273 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9274 lt_prog_compiler_wl
='-Wl,'
9275 lt_prog_compiler_pic
='-qpic'
9276 lt_prog_compiler_static
='-qstaticlink'
9279 case `$CC -V 2>&1 | sed 5q` in
9280 *Sun\ F
* |
*Sun
*Fortran
*)
9281 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9282 lt_prog_compiler_pic
='-KPIC'
9283 lt_prog_compiler_static
='-Bstatic'
9284 lt_prog_compiler_wl
=''
9288 lt_prog_compiler_pic
='-KPIC'
9289 lt_prog_compiler_static
='-Bstatic'
9290 lt_prog_compiler_wl
='-Wl,'
9298 lt_prog_compiler_pic
='-KPIC'
9299 lt_prog_compiler_static
='-Bstatic'
9303 # QNX uses GNU C++, but need to define -shared option too, otherwise
9305 lt_prog_compiler_pic
='-fPIC -shared'
9308 osf3
* | osf4
* | osf5
*)
9309 lt_prog_compiler_wl
='-Wl,'
9310 # All OSF/1 code is PIC.
9311 lt_prog_compiler_static
='-non_shared'
9315 lt_prog_compiler_static
='-non_shared'
9319 lt_prog_compiler_pic
='-KPIC'
9320 lt_prog_compiler_static
='-Bstatic'
9321 case $cc_basename in
9323 lt_prog_compiler_wl
='-Qoption ld ';;
9325 lt_prog_compiler_wl
='-Wl,';;
9330 lt_prog_compiler_wl
='-Qoption ld '
9331 lt_prog_compiler_pic
='-PIC'
9332 lt_prog_compiler_static
='-Bstatic'
9335 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9336 lt_prog_compiler_wl
='-Wl,'
9337 lt_prog_compiler_pic
='-KPIC'
9338 lt_prog_compiler_static
='-Bstatic'
9342 if test -d /usr
/nec
;then
9343 lt_prog_compiler_pic
='-Kconform_pic'
9344 lt_prog_compiler_static
='-Bstatic'
9348 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9349 lt_prog_compiler_wl
='-Wl,'
9350 lt_prog_compiler_pic
='-KPIC'
9351 lt_prog_compiler_static
='-Bstatic'
9355 lt_prog_compiler_wl
='-Wl,'
9356 lt_prog_compiler_can_build_shared
=no
9360 lt_prog_compiler_pic
='-pic'
9361 lt_prog_compiler_static
='-Bstatic'
9365 lt_prog_compiler_can_build_shared
=no
9371 # For platforms which do not support PIC, -DPIC is meaningless:
9373 lt_prog_compiler_pic
=
9376 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9380 $as_echo "$lt_prog_compiler_pic" >&6; }
9388 # Check to make sure the PIC flag actually works.
9390 if test -n "$lt_prog_compiler_pic"; then
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9392 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9393 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9394 $as_echo_n "(cached) " >&6
9396 lt_cv_prog_compiler_pic_works
=no
9397 ac_outfile
=conftest.
$ac_objext
9398 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9399 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9400 # Insert the option either (1) after the last *FLAGS variable, or
9401 # (2) before a word containing "conftest.", or (3) at the end.
9402 # Note that $ac_compile itself does not contain backslashes and begins
9403 # with a dollar sign (not a hyphen), so the echo should work correctly.
9404 # The option is referenced via a variable to avoid confusing sed.
9405 lt_compile
=`echo "$ac_compile" | $SED \
9406 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9407 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9408 -e 's:$: $lt_compiler_flag:'`
9409 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9410 (eval "$lt_compile" 2>conftest.err
)
9412 cat conftest.err
>&5
9413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9414 if (exit $ac_status) && test -s "$ac_outfile"; then
9415 # The compiler can only warn and ignore the option if not recognized
9416 # So say no if there are warnings other than the usual output.
9417 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9418 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9419 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9420 lt_cv_prog_compiler_pic_works
=yes
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9427 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9429 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9430 case $lt_prog_compiler_pic in
9432 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9435 lt_prog_compiler_pic
=
9436 lt_prog_compiler_can_build_shared
=no
9447 # Check to make sure the static flag actually works.
9449 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9451 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9452 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9453 $as_echo_n "(cached) " >&6
9455 lt_cv_prog_compiler_static_works
=no
9456 save_LDFLAGS
="$LDFLAGS"
9457 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9458 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9459 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9460 # The linker can only warn and ignore the option if not recognized
9461 # So say no if there are warnings
9462 if test -s conftest.err
; then
9463 # Append any errors to the config.log.
9464 cat conftest.err
1>&5
9465 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9466 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9467 if diff conftest.exp conftest.er2
>/dev
/null
; then
9468 lt_cv_prog_compiler_static_works
=yes
9471 lt_cv_prog_compiler_static_works
=yes
9475 LDFLAGS
="$save_LDFLAGS"
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9479 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9481 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9484 lt_prog_compiler_static
=
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9494 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9495 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9496 $as_echo_n "(cached) " >&6
9498 lt_cv_prog_compiler_c_o
=no
9499 $RM -r conftest
2>/dev
/null
9503 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9505 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9506 # Insert the option either (1) after the last *FLAGS variable, or
9507 # (2) before a word containing "conftest.", or (3) at the end.
9508 # Note that $ac_compile itself does not contain backslashes and begins
9509 # with a dollar sign (not a hyphen), so the echo should work correctly.
9510 lt_compile
=`echo "$ac_compile" | $SED \
9511 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9512 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9513 -e 's:$: $lt_compiler_flag:'`
9514 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9515 (eval "$lt_compile" 2>out
/conftest.err
)
9517 cat out
/conftest.err
>&5
9518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9519 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9521 # The compiler can only warn and ignore the option if not recognized
9522 # So say no if there are warnings
9523 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9524 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9525 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9526 lt_cv_prog_compiler_c_o
=yes
9531 # SGI C++ compiler will create directory out/ii_files/ for
9532 # template instantiation
9533 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9534 $RM out
/* && rmdir out
9540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9541 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9549 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9550 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9551 $as_echo_n "(cached) " >&6
9553 lt_cv_prog_compiler_c_o
=no
9554 $RM -r conftest
2>/dev
/null
9558 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9560 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9561 # Insert the option either (1) after the last *FLAGS variable, or
9562 # (2) before a word containing "conftest.", or (3) at the end.
9563 # Note that $ac_compile itself does not contain backslashes and begins
9564 # with a dollar sign (not a hyphen), so the echo should work correctly.
9565 lt_compile
=`echo "$ac_compile" | $SED \
9566 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9567 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9568 -e 's:$: $lt_compiler_flag:'`
9569 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9570 (eval "$lt_compile" 2>out
/conftest.err
)
9572 cat out
/conftest.err
>&5
9573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9574 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9576 # The compiler can only warn and ignore the option if not recognized
9577 # So say no if there are warnings
9578 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9579 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9580 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9581 lt_cv_prog_compiler_c_o
=yes
9586 # SGI C++ compiler will create directory out/ii_files/ for
9587 # template instantiation
9588 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9589 $RM out
/* && rmdir out
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9596 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9601 hard_links
="nottested"
9602 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9603 # do not overwrite the value of need_locks provided by the user
9604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9605 $as_echo_n "checking if we can lock with hard links... " >&6; }
9608 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9610 ln conftest.a conftest.b
2>&5 || hard_links
=no
9611 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9613 $as_echo "$hard_links" >&6; }
9614 if test "$hard_links" = no
; then
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9616 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9629 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9632 allow_undefined_flag
=
9633 always_export_symbols
=no
9635 archive_expsym_cmds
=
9636 compiler_needs_object
=no
9637 enable_shared_with_static_runtimes
=no
9638 export_dynamic_flag_spec
=
9639 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9640 hardcode_automatic
=no
9642 hardcode_direct_absolute
=no
9643 hardcode_libdir_flag_spec
=
9644 hardcode_libdir_flag_spec_ld
=
9645 hardcode_libdir_separator
=
9647 hardcode_shlibpath_var
=unsupported
9649 link_all_deplibs
=unknown
9652 old_archive_from_new_cmds
=
9653 old_archive_from_expsyms_cmds
=
9654 thread_safe_flag_spec
=
9655 whole_archive_flag_spec
=
9656 # include_expsyms should be a list of space-separated symbols to be *always*
9657 # included in the symbol list
9659 # exclude_expsyms can be an extended regexp of symbols to exclude
9660 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9661 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9662 # as well as any symbol that contains `d'.
9663 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9664 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9665 # platforms (ab)use it in PIC code, but their linkers get confused if
9666 # the symbol is explicitly referenced. Since portable code cannot
9667 # rely on this symbol name, it's probably fine to never include it in
9668 # preloaded symbol tables.
9669 # Exclude shared library initialization/finalization symbols.
9670 extract_expsyms_cmds
=
9673 cygwin
* | mingw
* | pw32
* | cegcc
*)
9674 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9675 # When not using gcc, we currently assume that we are using
9676 # Microsoft Visual C++.
9677 if test "$GCC" != yes; then
9682 # we just hope/assume this is gcc and not c89 (= MSVC++)
9692 # On some targets, GNU ld is compatible enough with the native linker
9693 # that we're better off using the native interface for both.
9694 lt_use_gnu_ld_interface
=no
9695 if test "$with_gnu_ld" = yes; then
9698 # The AIX port of GNU ld has always aspired to compatibility
9699 # with the native linker. However, as the warning in the GNU ld
9700 # block says, versions before 2.19.5* couldn't really create working
9701 # shared libraries, regardless of the interface used.
9702 case `$LD -v 2>&1` in
9703 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9704 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9705 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9707 lt_use_gnu_ld_interface
=yes
9712 lt_use_gnu_ld_interface
=yes
9717 if test "$lt_use_gnu_ld_interface" = yes; then
9718 # If archive_cmds runs LD, not CC, wlarc should be empty
9721 # Set some defaults for GNU ld with shared library support. These
9722 # are reset later if shared libraries are not supported. Putting them
9723 # here allows them to be overridden if necessary.
9724 runpath_var
=LD_RUN_PATH
9725 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9726 export_dynamic_flag_spec
='${wl}--export-dynamic'
9727 # ancient GNU ld didn't support --whole-archive et. al.
9728 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9729 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9731 whole_archive_flag_spec
=
9733 supports_anon_versioning
=no
9734 case `$LD -v 2>&1` in
9735 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9736 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9737 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9738 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9739 *\
2.11.
*) ;; # other 2.11 versions
9740 *) supports_anon_versioning
=yes ;;
9743 # See if GNU ld supports shared libraries.
9746 # On AIX/PPC, the GNU linker is very broken
9747 if test "$host_cpu" != ia64
; then
9751 *** Warning: the GNU linker, at least up to release 2.19, is reported
9752 *** to be unable to reliably create shared libraries on AIX.
9753 *** Therefore, libtool is disabling shared libraries support. If you
9754 *** really care for shared libraries, you may want to install binutils
9755 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9756 *** You will then need to restart the configuration process.
9765 # see comment about AmigaOS4 .so support
9766 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9767 archive_expsym_cmds
=''
9770 archive_cmds
='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9771 hardcode_libdir_flag_spec
='-L$libdir'
9772 hardcode_minus_L
=yes
9778 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9779 allow_undefined_flag
=unsupported
9780 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9781 # support --undefined. This deserves some investigation. FIXME
9782 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9788 cygwin
* | mingw
* | pw32
* | cegcc
*)
9789 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9790 # as there is no search path for DLLs.
9791 hardcode_libdir_flag_spec
='-L$libdir'
9792 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9793 allow_undefined_flag
=unsupported
9794 always_export_symbols
=no
9795 enable_shared_with_static_runtimes
=yes
9796 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9798 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9799 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9800 # If the export-symbols file already is a .def file (1st line
9801 # is EXPORTS), use it as is; otherwise, prepend...
9802 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9803 cp $export_symbols $output_objdir/$soname.def;
9805 echo EXPORTS > $output_objdir/$soname.def;
9806 cat $export_symbols >> $output_objdir/$soname.def;
9808 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9815 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9816 link_all_deplibs
=yes
9821 hardcode_shlibpath_var
=no
9822 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9823 export_dynamic_flag_spec
='${wl}-E'
9824 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9825 # Instead, shared libraries are loaded at an image base (0x10000000 by
9826 # default) and relocated if they conflict, which is a slow very memory
9827 # consuming and fragmenting process. To avoid this, we pick a random,
9828 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9829 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9830 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9831 archive_expsym_cmds
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9834 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9836 if test "$host_os" = linux-dietlibc
; then
9837 case $cc_basename in
9838 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9841 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9842 && test "$tmp_diet" = no
9844 tmp_addflag
=' $pic_flag'
9845 tmp_sharedflag
='-shared'
9846 case $cc_basename,$host_cpu in
9847 pgcc
*) # Portland Group C compiler
9848 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9849 tmp_addflag
=' $pic_flag'
9851 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9852 # Portland Group f77 and f90 compilers
9853 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9854 tmp_addflag
=' $pic_flag -Mnomain' ;;
9855 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9856 tmp_addflag
=' -i_dynamic' ;;
9857 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9858 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9859 ifc
* | ifort
*) # Intel Fortran compiler
9860 tmp_addflag
=' -nofor_main' ;;
9861 lf95
*) # Lahey Fortran 8.1
9862 whole_archive_flag_spec
=
9863 tmp_sharedflag
='--shared' ;;
9864 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9865 tmp_sharedflag
='-qmkshrobj'
9867 nvcc
*) # Cuda Compiler Driver 2.2
9868 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9869 compiler_needs_object
=yes
9872 case `$CC -V 2>&1 | sed 5q` in
9873 *Sun\ C
*) # Sun C 5.9
9874 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9875 compiler_needs_object
=yes
9876 tmp_sharedflag
='-G' ;;
9877 *Sun\ F
*) # Sun Fortran 8.3
9878 tmp_sharedflag
='-G' ;;
9880 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9882 if test "x$supports_anon_versioning" = xyes
; then
9883 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9884 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9885 echo "local: *; };" >> $output_objdir/$libname.ver~
9886 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9889 case $cc_basename in
9890 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9891 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9892 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9893 hardcode_libdir_flag_spec
=
9894 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9895 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9896 if test "x$supports_anon_versioning" = xyes
; then
9897 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9898 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9899 echo "local: *; };" >> $output_objdir/$libname.ver~
9900 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9910 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9911 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9914 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9915 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9920 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9924 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9925 *** create shared libraries on Solaris systems. Therefore, libtool
9926 *** is disabling shared libraries support. We urge you to upgrade GNU
9927 *** binutils to release 2.9.1 or newer. Another option is to modify
9928 *** your PATH or compiler configuration so that the native linker is
9929 *** used, and then restart.
9932 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9933 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9934 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9940 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9941 case `$LD -v 2>&1` in
9942 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9946 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9947 *** reliably create shared libraries on SCO systems. Therefore, libtool
9948 *** is disabling shared libraries support. We urge you to upgrade GNU
9949 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9950 *** your PATH or compiler configuration so that the native linker is
9951 *** used, and then restart.
9956 # For security reasons, it is highly recommended that you always
9957 # use absolute paths for naming shared libraries, and exclude the
9958 # DT_RUNPATH tag from executables and libraries. But doing so
9959 # requires that you compile everything twice, which is a pain.
9960 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9961 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9962 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9963 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9972 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9975 hardcode_shlibpath_var
=no
9979 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9980 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9981 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9988 if test "$ld_shlibs" = no
; then
9990 hardcode_libdir_flag_spec
=
9991 export_dynamic_flag_spec
=
9992 whole_archive_flag_spec
=
9995 # PORTME fill in a description of your system's linker (not GNU ld)
9998 allow_undefined_flag
=unsupported
9999 always_export_symbols
=yes
10000 archive_expsym_cmds
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
10001 # Note: this linker hardcodes the directories in LIBPATH if there
10002 # are no directories specified by -L.
10003 hardcode_minus_L
=yes
10004 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10005 # Neither direct hardcoding nor static linking is supported with a
10007 hardcode_direct
=unsupported
10012 if test "$host_cpu" = ia64
; then
10013 # On IA64, the linker does run time linking by default, so we don't
10014 # have to do anything special.
10015 aix_use_runtimelinking
=no
10016 exp_sym_flag
='-Bexport'
10019 # If we're using GNU nm, then we don't want the "-C" option.
10020 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10021 # Also, AIX nm treats weak defined symbols like other global
10022 # defined symbols, whereas GNU nm marks them as "W".
10023 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10024 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10026 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10028 aix_use_runtimelinking
=no
10030 # Test if we are trying to use run time linking or normal
10031 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10032 # need to do runtime linking.
10033 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10034 for ld_flag
in $LDFLAGS; do
10035 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10036 aix_use_runtimelinking
=yes
10043 exp_sym_flag
='-bexport'
10044 no_entry_flag
='-bnoentry'
10047 # When large executables or shared objects are built, AIX ld can
10048 # have problems creating the table of contents. If linking a library
10049 # or program results in "error TOC overflow" add -mminimal-toc to
10050 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10051 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10054 hardcode_direct
=yes
10055 hardcode_direct_absolute
=yes
10056 hardcode_libdir_separator
=':'
10057 link_all_deplibs
=yes
10058 file_list_spec
='${wl}-f,'
10060 if test "$GCC" = yes; then
10061 case $host_os in aix4.
[012]|aix4.
[012].
*)
10062 # We only want to do this on AIX 4.2 and lower, the check
10063 # below for broken collect2 doesn't work under 4.3+
10064 collect2name
=`${CC} -print-prog-name=collect2`
10065 if test -f "$collect2name" &&
10066 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10068 # We have reworked collect2
10071 # We have old collect2
10072 hardcode_direct
=unsupported
10073 # It fails to find uninstalled libraries when the uninstalled
10074 # path is not listed in the libpath. Setting hardcode_minus_L
10075 # to unsupported forces relinking
10076 hardcode_minus_L
=yes
10077 hardcode_libdir_flag_spec
='-L$libdir'
10078 hardcode_libdir_separator
=
10082 shared_flag
='-shared'
10083 if test "$aix_use_runtimelinking" = yes; then
10084 shared_flag
="$shared_flag "'${wl}-G'
10088 if test "$host_cpu" = ia64
; then
10089 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10090 # chokes on -Wl,-G. The following line is correct:
10093 if test "$aix_use_runtimelinking" = yes; then
10094 shared_flag
='${wl}-G'
10096 shared_flag
='${wl}-bM:SRE'
10101 export_dynamic_flag_spec
='${wl}-bexpall'
10102 # It seems that -bexpall does not export symbols beginning with
10103 # underscore (_), so it is better to generate a list of symbols to export.
10104 always_export_symbols
=yes
10105 if test "$aix_use_runtimelinking" = yes; then
10106 # Warning - without using the other runtime loading flags (-brtl),
10107 # -berok will link without error, but may produce a broken library.
10108 allow_undefined_flag
='-berok'
10109 # Determine the default libpath from the value encoded in an
10110 # empty executable.
10111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10112 /* end confdefs.h. */
10122 if ac_fn_c_try_link
"$LINENO"; then :
10124 lt_aix_libpath_sed
='
10125 /Import File Strings/,/^$/ {
10131 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10132 # Check for a 64-bit object if we didn't find anything.
10133 if test -z "$aix_libpath"; then
10134 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10137 rm -f core conftest.err conftest.
$ac_objext \
10138 conftest
$ac_exeext conftest.
$ac_ext
10139 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10141 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10142 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10144 if test "$host_cpu" = ia64
; then
10145 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10146 allow_undefined_flag
="-z nodefs"
10147 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
10149 # Determine the default libpath from the value encoded in an
10150 # empty executable.
10151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10152 /* end confdefs.h. */
10162 if ac_fn_c_try_link
"$LINENO"; then :
10164 lt_aix_libpath_sed
='
10165 /Import File Strings/,/^$/ {
10171 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10172 # Check for a 64-bit object if we didn't find anything.
10173 if test -z "$aix_libpath"; then
10174 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10177 rm -f core conftest.err conftest.
$ac_objext \
10178 conftest
$ac_exeext conftest.
$ac_ext
10179 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10181 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10182 # Warning - without using the other run time loading flags,
10183 # -berok will link without error, but may produce a broken library.
10184 no_undefined_flag
=' ${wl}-bernotok'
10185 allow_undefined_flag
=' ${wl}-berok'
10186 if test "$with_gnu_ld" = yes; then
10187 # We only use this code for GNU lds that support --whole-archive.
10188 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10190 # Exported symbols can be pulled into shared objects from archives
10191 whole_archive_flag_spec
='$convenience'
10193 archive_cmds_need_lc
=yes
10194 # This is similar to how AIX traditionally builds its shared libraries.
10195 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10203 # see comment about AmigaOS4 .so support
10204 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10205 archive_expsym_cmds
=''
10208 archive_cmds
='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10209 hardcode_libdir_flag_spec
='-L$libdir'
10210 hardcode_minus_L
=yes
10216 export_dynamic_flag_spec
=-rdynamic
10219 cygwin
* | mingw
* | pw32
* | cegcc
*)
10220 # When not using gcc, we currently assume that we are using
10221 # Microsoft Visual C++.
10222 # hardcode_libdir_flag_spec is actually meaningless, as there is
10223 # no search path for DLLs.
10224 hardcode_libdir_flag_spec
=' '
10225 allow_undefined_flag
=unsupported
10226 # Tell ltmain to make .lib files, not .a files.
10228 # Tell ltmain to make .dll files, not .so files.
10230 # FIXME: Setting linknames here is a bad hack.
10231 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10232 # The linker will automatically build a .lib file if we build a DLL.
10233 old_archive_from_new_cmds
='true'
10234 # FIXME: Should let the user specify the lib program.
10235 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10236 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10237 enable_shared_with_static_runtimes
=yes
10240 darwin
* | rhapsody
*)
10243 archive_cmds_need_lc
=no
10245 hardcode_automatic
=yes
10246 hardcode_shlibpath_var
=unsupported
10247 if test "$lt_cv_ld_force_load" = "yes"; then
10248 whole_archive_flag_spec
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10250 whole_archive_flag_spec
=''
10252 link_all_deplibs
=yes
10253 allow_undefined_flag
="$_lt_dar_allow_undefined"
10254 case $cc_basename in
10255 ifort
*) _lt_dar_can_shared
=yes ;;
10256 *) _lt_dar_can_shared
=$GCC ;;
10258 if test "$_lt_dar_can_shared" = "yes"; then
10259 output_verbose_link_cmd
=func_echo_all
10260 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10261 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10262 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10263 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
10272 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10273 hardcode_libdir_flag_spec
='-L$libdir'
10274 hardcode_shlibpath_var
=no
10277 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10278 # support. Future versions do this automatically, but an explicit c++rt0.o
10279 # does not break anything, and helps significantly (at the cost of a little
10282 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10283 hardcode_libdir_flag_spec
='-R$libdir'
10284 hardcode_direct
=yes
10285 hardcode_shlibpath_var
=no
10288 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10290 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10291 hardcode_direct
=yes
10292 hardcode_minus_L
=yes
10293 hardcode_shlibpath_var
=no
10296 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10297 freebsd
* | dragonfly
*)
10298 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10299 hardcode_libdir_flag_spec
='-R$libdir'
10300 hardcode_direct
=yes
10301 hardcode_shlibpath_var
=no
10305 if test "$GCC" = yes; then
10306 archive_cmds
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10308 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10310 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10311 hardcode_libdir_separator
=:
10312 hardcode_direct
=yes
10314 # hardcode_minus_L: Not really in the search PATH,
10315 # but as the default location of the library.
10316 hardcode_minus_L
=yes
10317 export_dynamic_flag_spec
='${wl}-E'
10321 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10322 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10324 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10326 if test "$with_gnu_ld" = no
; then
10327 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10328 hardcode_libdir_flag_spec_ld
='+b $libdir'
10329 hardcode_libdir_separator
=:
10330 hardcode_direct
=yes
10331 hardcode_direct_absolute
=yes
10332 export_dynamic_flag_spec
='${wl}-E'
10333 # hardcode_minus_L: Not really in the search PATH,
10334 # but as the default location of the library.
10335 hardcode_minus_L
=yes
10340 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10343 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10346 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10349 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10355 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10358 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10362 # Older versions of the 11.00 compiler do not understand -b yet
10363 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10365 $as_echo_n "checking if $CC understands -b... " >&6; }
10366 if ${lt_cv_prog_compiler__b+:} false
; then :
10367 $as_echo_n "(cached) " >&6
10369 lt_cv_prog_compiler__b
=no
10370 save_LDFLAGS
="$LDFLAGS"
10371 LDFLAGS
="$LDFLAGS -b"
10372 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10373 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10374 # The linker can only warn and ignore the option if not recognized
10375 # So say no if there are warnings
10376 if test -s conftest.err
; then
10377 # Append any errors to the config.log.
10378 cat conftest.err
1>&5
10379 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10380 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10381 if diff conftest.exp conftest.er2
>/dev
/null
; then
10382 lt_cv_prog_compiler__b
=yes
10385 lt_cv_prog_compiler__b
=yes
10389 LDFLAGS
="$save_LDFLAGS"
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10393 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10395 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10396 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10398 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10404 if test "$with_gnu_ld" = no
; then
10405 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10406 hardcode_libdir_separator
=:
10411 hardcode_shlibpath_var
=no
10414 hardcode_direct
=yes
10415 hardcode_direct_absolute
=yes
10416 export_dynamic_flag_spec
='${wl}-E'
10418 # hardcode_minus_L: Not really in the search PATH,
10419 # but as the default location of the library.
10420 hardcode_minus_L
=yes
10426 irix5
* | irix6
* | nonstopux
*)
10427 if test "$GCC" = yes; then
10428 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10429 # Try to use the -exported_symbol ld option, if it does not
10430 # work, assume that -exports_file does not work either and
10431 # implicitly export all symbols.
10432 save_LDFLAGS
="$LDFLAGS"
10433 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10435 /* end confdefs.h. */
10438 if ac_fn_c_try_link
"$LINENO"; then :
10439 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10442 rm -f core conftest.err conftest.
$ac_objext \
10443 conftest
$ac_exeext conftest.
$ac_ext
10444 LDFLAGS
="$save_LDFLAGS"
10446 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10447 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10449 archive_cmds_need_lc
='no'
10450 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10451 hardcode_libdir_separator
=:
10453 link_all_deplibs
=yes
10457 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10458 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10460 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10462 hardcode_libdir_flag_spec
='-R$libdir'
10463 hardcode_direct
=yes
10464 hardcode_shlibpath_var
=no
10468 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10469 hardcode_direct
=yes
10470 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10471 hardcode_libdir_separator
=:
10472 hardcode_shlibpath_var
=no
10479 if test -f /usr
/libexec
/ld.so
; then
10480 hardcode_direct
=yes
10481 hardcode_shlibpath_var
=no
10482 hardcode_direct_absolute
=yes
10483 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10484 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10485 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10486 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10487 export_dynamic_flag_spec
='${wl}-E'
10490 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10491 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10492 hardcode_libdir_flag_spec
='-R$libdir'
10495 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10496 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10506 hardcode_libdir_flag_spec
='-L$libdir'
10507 hardcode_minus_L
=yes
10508 allow_undefined_flag
=unsupported
10509 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10510 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10514 if test "$GCC" = yes; then
10515 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10516 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10518 allow_undefined_flag
=' -expect_unresolved \*'
10519 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10521 archive_cmds_need_lc
='no'
10522 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10523 hardcode_libdir_separator
=:
10526 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10527 if test "$GCC" = yes; then
10528 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10529 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10530 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10532 allow_undefined_flag
=' -expect_unresolved \*'
10533 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10534 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10535 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10537 # Both c and cxx compiler support -rpath directly
10538 hardcode_libdir_flag_spec
='-rpath $libdir'
10540 archive_cmds_need_lc
='no'
10541 hardcode_libdir_separator
=:
10545 no_undefined_flag
=' -z defs'
10546 if test "$GCC" = yes; then
10548 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10549 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10550 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10552 case `$CC -V 2>&1` in
10555 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10556 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10557 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10561 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10562 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10563 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10567 hardcode_libdir_flag_spec
='-R$libdir'
10568 hardcode_shlibpath_var
=no
10570 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10572 # The compiler driver will combine and reorder linker options,
10573 # but understands `-z linker_flag'. GCC discards it without `$wl',
10574 # but is careful enough not to reorder.
10575 # Supported since Solaris 2.6 (maybe 2.5.1?)
10576 if test "$GCC" = yes; then
10577 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10579 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10583 link_all_deplibs
=yes
10587 if test "x$host_vendor" = xsequent
; then
10588 # Use $CC to link under sequent, because it throws in some extra .o
10589 # files that make .init and .fini sections work.
10590 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10592 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10594 hardcode_libdir_flag_spec
='-L$libdir'
10595 hardcode_direct
=yes
10596 hardcode_minus_L
=yes
10597 hardcode_shlibpath_var
=no
10601 case $host_vendor in
10603 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10604 hardcode_direct
=yes # is this really true???
10607 ## LD is ld it makes a PLAMLIB
10608 ## CC just makes a GrossModule.
10609 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10610 reload_cmds
='$CC -r -o $output$reload_objs'
10614 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10615 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10618 runpath_var
='LD_RUN_PATH'
10619 hardcode_shlibpath_var
=no
10623 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10624 hardcode_shlibpath_var
=no
10625 export_dynamic_flag_spec
='-Bexport'
10629 if test -d /usr
/nec
; then
10630 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10631 hardcode_shlibpath_var
=no
10632 runpath_var
=LD_RUN_PATH
10633 hardcode_runpath_var
=yes
10638 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10639 no_undefined_flag
='${wl}-z,text'
10640 archive_cmds_need_lc
=no
10641 hardcode_shlibpath_var
=no
10642 runpath_var
='LD_RUN_PATH'
10644 if test "$GCC" = yes; then
10645 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10646 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10648 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10649 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10653 sysv5
* | sco3.2v5
* | sco5v6
*)
10654 # Note: We can NOT use -z defs as we might desire, because we do not
10655 # link with -lc, and that would cause any symbols used from libc to
10656 # always be unresolved, which means just about no library would
10657 # ever link correctly. If we're not using GNU ld we use -z text
10658 # though, which does catch some bad symbols but isn't as heavy-handed
10660 no_undefined_flag
='${wl}-z,text'
10661 allow_undefined_flag
='${wl}-z,nodefs'
10662 archive_cmds_need_lc
=no
10663 hardcode_shlibpath_var
=no
10664 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10665 hardcode_libdir_separator
=':'
10666 link_all_deplibs
=yes
10667 export_dynamic_flag_spec
='${wl}-Bexport'
10668 runpath_var
='LD_RUN_PATH'
10670 if test "$GCC" = yes; then
10671 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10672 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10674 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10675 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10680 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10681 hardcode_libdir_flag_spec
='-L$libdir'
10682 hardcode_shlibpath_var
=no
10690 if test x
$host_vendor = xsni
; then
10692 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10693 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10700 $as_echo "$ld_shlibs" >&6; }
10701 test "$ld_shlibs" = no
&& can_build_shared
=no
10703 with_gnu_ld
=$with_gnu_ld
10720 # Do we need to explicitly link libc?
10722 case "x$archive_cmds_need_lc" in
10724 # Assume -lc should be added
10725 archive_cmds_need_lc
=yes
10727 if test "$enable_shared" = yes && test "$GCC" = yes; then
10728 case $archive_cmds in
10730 # FIXME: we may have to deal with multi-command sequences.
10733 # Test whether the compiler implicitly links with -lc since on some
10734 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10735 # to ld, don't add -lc before -lgcc.
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10737 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10738 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10739 $as_echo_n "(cached) " >&6
10742 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10744 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10745 (eval $ac_compile) 2>&5
10747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10748 test $ac_status = 0; } 2>conftest.err
; then
10751 libobjs
=conftest.
$ac_objext
10753 wl
=$lt_prog_compiler_wl
10754 pic_flag
=$lt_prog_compiler_pic
10760 lt_save_allow_undefined_flag
=$allow_undefined_flag
10761 allow_undefined_flag
=
10762 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10763 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10766 test $ac_status = 0; }
10768 lt_cv_archive_cmds_need_lc
=no
10770 lt_cv_archive_cmds_need_lc
=yes
10772 allow_undefined_flag
=$lt_save_allow_undefined_flag
10774 cat conftest.err
1>&5
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10780 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10781 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10945 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10947 if test "$GCC" = yes; then
10949 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10950 *) lt_awk_arg
="/^libraries:/" ;;
10953 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10954 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10956 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10957 case $lt_search_path_spec in
10959 # if the path contains ";" then we assume it to be the separator
10960 # otherwise default to the standard path separator (i.e. ":") - it is
10961 # assumed that no part of a normal pathname contains ";" but that should
10962 # okay in the real world where ";" in dirpaths is itself problematic.
10963 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10966 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10969 # Ok, now we have the path, separated by spaces, we can step through it
10970 # and add multilib dir if necessary.
10971 lt_tmp_lt_search_path_spec
=
10972 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10973 for lt_sys_path
in $lt_search_path_spec; do
10974 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10975 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10977 test -d "$lt_sys_path" && \
10978 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10981 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10982 BEGIN {RS=" "; FS="/|\n";} {
10985 for (lt_i = NF; lt_i > 0; lt_i--) {
10986 if ($lt_i != "" && $lt_i != ".") {
10987 if ($lt_i == "..") {
10990 if (lt_count == 0) {
10991 lt_foo="/" $lt_i lt_foo;
10998 if (lt_foo != "") { lt_freq[lt_foo]++; }
10999 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11001 # AWK program above erroneously prepends '/' to C:/dos/paths
11004 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11005 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11007 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11009 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11011 library_names_spec
=
11012 libname_spec
='lib$name'
11016 postuninstall_cmds
=
11020 shlibpath_overrides_runpath
=unknown
11022 dynamic_linker
="$host_os ld.so"
11023 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11024 need_lib_prefix
=unknown
11025 hardcode_into_libs
=no
11027 # when you set need_version to no, make sure it does not cause -set_version
11028 # flags to be left without arguments
11029 need_version
=unknown
11034 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11035 shlibpath_var
=LIBPATH
11037 # AIX 3 has no versioning support, so we append a major version to the name.
11038 soname_spec
='${libname}${release}${shared_ext}$major'
11045 hardcode_into_libs
=yes
11046 if test "$host_cpu" = ia64
; then
11047 # AIX 5 supports IA64
11048 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11049 shlibpath_var
=LD_LIBRARY_PATH
11051 # With GCC up to 2.95.x, collect2 would create an import file
11052 # for dependence libraries. The import file would start with
11053 # the line `#! .'. This would cause the generated library to
11054 # depend on `.', always an invalid library. This was fixed in
11055 # development snapshots of GCC prior to 3.0.
11057 aix4 | aix4.
[01] | aix4.
[01].
*)
11058 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11060 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11063 can_build_shared
=no
11067 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11068 # soname into executable. Probably we can add versioning support to
11069 # collect2, so additional links can be useful in future.
11070 if test "$aix_use_runtimelinking" = yes; then
11071 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11072 # instead of lib<name>.a to let people know that these are not
11073 # typical AIX shared libraries.
11074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11076 # We preserve .a as extension for shared libraries through AIX4.2
11077 # and later when we are not doing run time linking.
11078 library_names_spec
='${libname}${release}.a $libname.a'
11079 soname_spec
='${libname}${release}${shared_ext}$major'
11081 shlibpath_var
=LIBPATH
11088 # Since July 2007 AmigaOS4 officially supports .so libraries.
11089 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11090 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11093 library_names_spec
='$libname.ixlibrary $libname.a'
11094 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11095 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11101 library_names_spec
='${libname}${shared_ext}'
11102 dynamic_linker
="$host_os ld.so"
11103 shlibpath_var
=LIBRARY_PATH
11109 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11110 soname_spec
='${libname}${release}${shared_ext}$major'
11111 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11112 shlibpath_var
=LD_LIBRARY_PATH
11113 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11114 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11115 # the default ld.so.conf also contains /usr/contrib/lib and
11116 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11117 # libtool to hard-code these into programs
11120 cygwin
* | mingw
* | pw32
* | cegcc
*)
11121 version_type
=windows
11126 case $GCC,$host_os in
11127 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11128 library_names_spec
='$libname.dll.a'
11129 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11130 postinstall_cmds
='base_file=`basename \${file}`~
11131 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11132 dldir=$destdir/`dirname \$dlpath`~
11133 test -d \$dldir || mkdir -p \$dldir~
11134 $install_prog $dir/$dlname \$dldir/$dlname~
11135 chmod a+x \$dldir/$dlname~
11136 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11137 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11139 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11140 dlpath=$dir/\$dldll~
11142 shlibpath_overrides_runpath
=yes
11146 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11147 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11149 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11152 # MinGW DLLs use traditional 'lib' prefix
11153 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11156 # pw32 DLLs use 'pw' prefix rather than 'lib'
11157 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11163 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11166 dynamic_linker
='Win32 ld.exe'
11167 # FIXME: first we should search . and the directory the executable is in
11171 darwin
* | rhapsody
*)
11172 dynamic_linker
="$host_os dyld"
11173 version_type
=darwin
11176 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11177 soname_spec
='${libname}${release}${major}$shared_ext'
11178 shlibpath_overrides_runpath
=yes
11179 shlibpath_var
=DYLD_LIBRARY_PATH
11180 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11182 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11183 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11190 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11191 soname_spec
='${libname}${release}${shared_ext}$major'
11192 shlibpath_var
=LD_LIBRARY_PATH
11195 freebsd
* | dragonfly
*)
11196 # DragonFly does not have aout. When/if they implement a new
11197 # versioning mechanism, adjust this.
11198 if test -x /usr
/bin
/objformat
; then
11199 objformat
=`/usr/bin/objformat`
11202 freebsd
[23].
*) objformat
=aout
;;
11203 *) objformat
=elf
;;
11206 version_type
=freebsd-
$objformat
11207 case $version_type in
11209 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11214 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11218 shlibpath_var
=LD_LIBRARY_PATH
11221 shlibpath_overrides_runpath
=yes
11223 freebsd3.
[01]* | freebsdelf3.
[01]*)
11224 shlibpath_overrides_runpath
=yes
11225 hardcode_into_libs
=yes
11227 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11228 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11229 shlibpath_overrides_runpath
=no
11230 hardcode_into_libs
=yes
11232 *) # from 4.6 on, and DragonFly
11233 shlibpath_overrides_runpath
=yes
11234 hardcode_into_libs
=yes
11243 dynamic_linker
="$host_os runtime_loader"
11244 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11245 soname_spec
='${libname}${release}${shared_ext}$major'
11246 shlibpath_var
=LIBRARY_PATH
11247 shlibpath_overrides_runpath
=yes
11248 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11249 hardcode_into_libs
=yes
11252 hpux9
* | hpux10
* | hpux11
*)
11253 # Give a soname corresponding to the major version so that dld.sl refuses to
11254 # link against other versions.
11261 hardcode_into_libs
=yes
11262 dynamic_linker
="$host_os dld.so"
11263 shlibpath_var
=LD_LIBRARY_PATH
11264 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11265 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11266 soname_spec
='${libname}${release}${shared_ext}$major'
11267 if test "X$HPUX_IA64_MODE" = X32
; then
11268 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11270 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11272 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11276 hardcode_into_libs
=yes
11277 dynamic_linker
="$host_os dld.sl"
11278 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11279 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11280 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11281 soname_spec
='${libname}${release}${shared_ext}$major'
11282 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11283 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11287 dynamic_linker
="$host_os dld.sl"
11288 shlibpath_var
=SHLIB_PATH
11289 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11290 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11291 soname_spec
='${libname}${release}${shared_ext}$major'
11294 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11295 postinstall_cmds
='chmod 555 $lib'
11296 # or fails outright, so override atomically:
11297 install_override_mode
=555
11304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11305 soname_spec
='${libname}${release}${shared_ext}$major'
11306 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11307 shlibpath_var
=LD_LIBRARY_PATH
11308 shlibpath_overrides_runpath
=no
11309 hardcode_into_libs
=yes
11312 irix5
* | irix6
* | nonstopux
*)
11314 nonstopux
*) version_type
=nonstopux
;;
11316 if test "$lt_cv_prog_gnu_ld" = yes; then
11324 soname_spec
='${libname}${release}${shared_ext}$major'
11325 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11327 irix5
* | nonstopux
*)
11328 libsuff
= shlibsuff
=
11331 case $LD in # libtool.m4 will add one of these switches to LD
11332 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11333 libsuff
= shlibsuff
= libmagic
=32-bit;;
11334 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11335 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11336 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11337 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11338 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11342 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11343 shlibpath_overrides_runpath
=no
11344 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11345 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11346 hardcode_into_libs
=yes
11349 # No shared lib support for Linux oldld, aout, or coff.
11350 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11354 # This must be Linux ELF.
11355 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11359 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11360 soname_spec
='${libname}${release}${shared_ext}$major'
11361 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11362 shlibpath_var
=LD_LIBRARY_PATH
11363 shlibpath_overrides_runpath
=no
11365 # Some binutils ld are patched to set DT_RUNPATH
11366 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11367 $as_echo_n "(cached) " >&6
11369 lt_cv_shlibpath_overrides_runpath
=no
11370 save_LDFLAGS
=$LDFLAGS
11371 save_libdir
=$libdir
11372 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11373 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11375 /* end confdefs.h. */
11385 if ac_fn_c_try_link
"$LINENO"; then :
11386 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11387 lt_cv_shlibpath_overrides_runpath
=yes
11390 rm -f core conftest.err conftest.
$ac_objext \
11391 conftest
$ac_exeext conftest.
$ac_ext
11392 LDFLAGS
=$save_LDFLAGS
11393 libdir
=$save_libdir
11397 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11399 # This implies no fast_install, which is unacceptable.
11400 # Some rework will be needed to allow for fast_install
11401 # before this can be enabled.
11402 hardcode_into_libs
=yes
11404 # Append ld.so.conf contents to the search path
11405 if test -f /etc
/ld.so.conf
; then
11406 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11407 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11410 # We used to test for /lib/ld.so.1 and disable shared libraries on
11411 # powerpc, because MkLinux only supported shared libraries with the
11412 # GNU dynamic linker. Since this was broken with cross compilers,
11413 # most powerpc-linux boxes support dynamic linking these days and
11414 # people can always --disable-shared, the test was removed, and we
11415 # assume the GNU/Linux dynamic linker is in use.
11416 dynamic_linker
='GNU/Linux ld.so'
11423 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11424 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11425 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11426 dynamic_linker
='NetBSD (a.out) ld.so'
11428 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11429 soname_spec
='${libname}${release}${shared_ext}$major'
11430 dynamic_linker
='NetBSD ld.elf_so'
11432 shlibpath_var
=LD_LIBRARY_PATH
11433 shlibpath_overrides_runpath
=yes
11434 hardcode_into_libs
=yes
11439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11440 shlibpath_var
=LD_LIBRARY_PATH
11441 shlibpath_overrides_runpath
=yes
11448 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11449 soname_spec
='${libname}${release}${shared_ext}$major'
11450 shlibpath_var
=LD_LIBRARY_PATH
11451 shlibpath_overrides_runpath
=no
11452 hardcode_into_libs
=yes
11453 dynamic_linker
='ldqnx.so'
11458 sys_lib_dlsearch_path_spec
="/usr/lib"
11460 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11462 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11463 *) need_version
=no
;;
11465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11466 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11467 shlibpath_var
=LD_LIBRARY_PATH
11468 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11470 openbsd2.
[89] | openbsd2.
[89].
*)
11471 shlibpath_overrides_runpath
=no
11474 shlibpath_overrides_runpath
=yes
11478 shlibpath_overrides_runpath
=yes
11483 libname_spec
='$name'
11486 library_names_spec
='$libname${shared_ext} $libname.a'
11487 dynamic_linker
='OS/2 ld.exe'
11488 shlibpath_var
=LIBPATH
11491 osf3
* | osf4
* | osf5
*)
11495 soname_spec
='${libname}${release}${shared_ext}$major'
11496 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11497 shlibpath_var
=LD_LIBRARY_PATH
11498 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11499 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11510 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11511 soname_spec
='${libname}${release}${shared_ext}$major'
11512 shlibpath_var
=LD_LIBRARY_PATH
11513 shlibpath_overrides_runpath
=yes
11514 hardcode_into_libs
=yes
11515 # ldd complains unless libraries are executable
11516 postinstall_cmds
='chmod +x $lib'
11521 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11522 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11523 shlibpath_var
=LD_LIBRARY_PATH
11524 shlibpath_overrides_runpath
=yes
11525 if test "$with_gnu_ld" = yes; then
11533 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11534 soname_spec
='${libname}${release}${shared_ext}$major'
11535 shlibpath_var
=LD_LIBRARY_PATH
11536 case $host_vendor in
11538 shlibpath_overrides_runpath
=no
11540 runpath_var
=LD_RUN_PATH
11548 shlibpath_overrides_runpath
=no
11549 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11555 if test -d /usr
/nec
;then
11557 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11558 soname_spec
='$libname${shared_ext}.$major'
11559 shlibpath_var
=LD_LIBRARY_PATH
11563 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11564 version_type
=freebsd-elf
11567 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11568 soname_spec
='${libname}${release}${shared_ext}$major'
11569 shlibpath_var
=LD_LIBRARY_PATH
11570 shlibpath_overrides_runpath
=yes
11571 hardcode_into_libs
=yes
11572 if test "$with_gnu_ld" = yes; then
11573 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11575 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11578 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11582 sys_lib_dlsearch_path_spec
='/usr/lib'
11586 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11590 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11591 shlibpath_var
=LD_LIBRARY_PATH
11592 shlibpath_overrides_runpath
=no
11593 hardcode_into_libs
=yes
11598 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11599 soname_spec
='${libname}${release}${shared_ext}$major'
11600 shlibpath_var
=LD_LIBRARY_PATH
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11608 $as_echo "$dynamic_linker" >&6; }
11609 test "$dynamic_linker" = no
&& can_build_shared
=no
11611 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11612 if test "$GCC" = yes; then
11613 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11616 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11617 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11619 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11620 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11715 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11717 if test -n "$hardcode_libdir_flag_spec" ||
11718 test -n "$runpath_var" ||
11719 test "X$hardcode_automatic" = "Xyes" ; then
11721 # We can hardcode non-existent directories.
11722 if test "$hardcode_direct" != no
&&
11723 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11724 # have to relink, otherwise we might link with an installed library
11725 # when we should be linking with a yet-to-be-installed one
11726 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11727 test "$hardcode_minus_L" != no
; then
11728 # Linking always hardcodes the temporary library directory.
11729 hardcode_action
=relink
11731 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11732 hardcode_action
=immediate
11735 # We cannot hardcode anything, or else we can only hardcode existing
11737 hardcode_action
=unsupported
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11740 $as_echo "$hardcode_action" >&6; }
11742 if test "$hardcode_action" = relink ||
11743 test "$inherit_rpath" = yes; then
11744 # Fast installation is not supported
11745 enable_fast_install
=no
11746 elif test "$shlibpath_overrides_runpath" = yes ||
11747 test "$enable_shared" = no
; then
11748 # Fast installation is not necessary
11749 enable_fast_install
=needless
11757 if test "x$enable_dlopen" != xyes
; then
11758 enable_dlopen
=unknown
11759 enable_dlopen_self
=unknown
11760 enable_dlopen_self_static
=unknown
11767 lt_cv_dlopen
="load_add_on"
11769 lt_cv_dlopen_self
=yes
11772 mingw
* | pw32
* | cegcc
*)
11773 lt_cv_dlopen
="LoadLibrary"
11778 lt_cv_dlopen
="dlopen"
11783 # if libdl is installed we need to link against it
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11785 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11786 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11787 $as_echo_n "(cached) " >&6
11789 ac_check_lib_save_LIBS
=$LIBS
11791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11792 /* end confdefs.h. */
11794 /* Override any GCC internal prototype to avoid an error.
11795 Use char because int might match the return type of a GCC
11796 builtin and then its argument prototype would still apply. */
11809 if ac_fn_c_try_link
"$LINENO"; then :
11810 ac_cv_lib_dl_dlopen
=yes
11812 ac_cv_lib_dl_dlopen
=no
11814 rm -f core conftest.err conftest.
$ac_objext \
11815 conftest
$ac_exeext conftest.
$ac_ext
11816 LIBS
=$ac_check_lib_save_LIBS
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11819 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11820 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11821 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11824 lt_cv_dlopen
="dyld"
11826 lt_cv_dlopen_self
=yes
11833 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11834 if test "x$ac_cv_func_shl_load" = xyes
; then :
11835 lt_cv_dlopen
="shl_load"
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11838 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11839 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11840 $as_echo_n "(cached) " >&6
11842 ac_check_lib_save_LIBS
=$LIBS
11844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11845 /* end confdefs.h. */
11847 /* Override any GCC internal prototype to avoid an error.
11848 Use char because int might match the return type of a GCC
11849 builtin and then its argument prototype would still apply. */
11857 return shl_load ();
11862 if ac_fn_c_try_link
"$LINENO"; then :
11863 ac_cv_lib_dld_shl_load
=yes
11865 ac_cv_lib_dld_shl_load
=no
11867 rm -f core conftest.err conftest.
$ac_objext \
11868 conftest
$ac_exeext conftest.
$ac_ext
11869 LIBS
=$ac_check_lib_save_LIBS
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11872 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11873 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11874 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11876 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11877 if test "x$ac_cv_func_dlopen" = xyes
; then :
11878 lt_cv_dlopen
="dlopen"
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11881 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11882 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11883 $as_echo_n "(cached) " >&6
11885 ac_check_lib_save_LIBS
=$LIBS
11887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11888 /* end confdefs.h. */
11890 /* Override any GCC internal prototype to avoid an error.
11891 Use char because int might match the return type of a GCC
11892 builtin and then its argument prototype would still apply. */
11905 if ac_fn_c_try_link
"$LINENO"; then :
11906 ac_cv_lib_dl_dlopen
=yes
11908 ac_cv_lib_dl_dlopen
=no
11910 rm -f core conftest.err conftest.
$ac_objext \
11911 conftest
$ac_exeext conftest.
$ac_ext
11912 LIBS
=$ac_check_lib_save_LIBS
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11915 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11916 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11917 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11920 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11921 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11922 $as_echo_n "(cached) " >&6
11924 ac_check_lib_save_LIBS
=$LIBS
11925 LIBS
="-lsvld $LIBS"
11926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11927 /* end confdefs.h. */
11929 /* Override any GCC internal prototype to avoid an error.
11930 Use char because int might match the return type of a GCC
11931 builtin and then its argument prototype would still apply. */
11944 if ac_fn_c_try_link
"$LINENO"; then :
11945 ac_cv_lib_svld_dlopen
=yes
11947 ac_cv_lib_svld_dlopen
=no
11949 rm -f core conftest.err conftest.
$ac_objext \
11950 conftest
$ac_exeext conftest.
$ac_ext
11951 LIBS
=$ac_check_lib_save_LIBS
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11954 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11955 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11956 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11959 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11960 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11961 $as_echo_n "(cached) " >&6
11963 ac_check_lib_save_LIBS
=$LIBS
11965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11966 /* end confdefs.h. */
11968 /* Override any GCC internal prototype to avoid an error.
11969 Use char because int might match the return type of a GCC
11970 builtin and then its argument prototype would still apply. */
11978 return dld_link ();
11983 if ac_fn_c_try_link
"$LINENO"; then :
11984 ac_cv_lib_dld_dld_link
=yes
11986 ac_cv_lib_dld_dld_link
=no
11988 rm -f core conftest.err conftest.
$ac_objext \
11989 conftest
$ac_exeext conftest.
$ac_ext
11990 LIBS
=$ac_check_lib_save_LIBS
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11993 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11994 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11995 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12016 if test "x$lt_cv_dlopen" != xno
; then
12022 case $lt_cv_dlopen in
12024 save_CPPFLAGS
="$CPPFLAGS"
12025 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12027 save_LDFLAGS
="$LDFLAGS"
12028 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12031 LIBS
="$lt_cv_dlopen_libs $LIBS"
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12034 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12035 if ${lt_cv_dlopen_self+:} false
; then :
12036 $as_echo_n "(cached) " >&6
12038 if test "$cross_compiling" = yes; then :
12039 lt_cv_dlopen_self
=cross
12041 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12042 lt_status
=$lt_dlunknown
12043 cat > conftest.
$ac_ext <<_LT_EOF
12044 #line 12044 "configure"
12045 #include "confdefs.h"
12054 # define LT_DLGLOBAL RTLD_GLOBAL
12057 # define LT_DLGLOBAL DL_GLOBAL
12059 # define LT_DLGLOBAL 0
12063 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12064 find out it does not work in some platform. */
12065 #ifndef LT_DLLAZY_OR_NOW
12067 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12070 # define LT_DLLAZY_OR_NOW DL_LAZY
12073 # define LT_DLLAZY_OR_NOW RTLD_NOW
12076 # define LT_DLLAZY_OR_NOW DL_NOW
12078 # define LT_DLLAZY_OR_NOW 0
12085 /* When -fvisbility=hidden is used, assume the code has been annotated
12086 correspondingly for the symbols needed. */
12087 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12088 void fnord () __attribute__((visibility("default")));
12091 void fnord () { int i=42; }
12094 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12095 int status = $lt_dlunknown;
12099 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12102 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12103 else puts (dlerror ());
12105 /* dlclose (self); */
12113 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12114 (eval $ac_link) 2>&5
12116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12117 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12118 (.
/conftest
; exit; ) >&5 2>/dev
/null
12120 case x
$lt_status in
12121 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12122 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12123 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12126 # compilation failed
12127 lt_cv_dlopen_self
=no
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12135 $as_echo "$lt_cv_dlopen_self" >&6; }
12137 if test "x$lt_cv_dlopen_self" = xyes
; then
12138 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12140 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12141 if ${lt_cv_dlopen_self_static+:} false
; then :
12142 $as_echo_n "(cached) " >&6
12144 if test "$cross_compiling" = yes; then :
12145 lt_cv_dlopen_self_static
=cross
12147 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12148 lt_status
=$lt_dlunknown
12149 cat > conftest.
$ac_ext <<_LT_EOF
12150 #line 12150 "configure"
12151 #include "confdefs.h"
12160 # define LT_DLGLOBAL RTLD_GLOBAL
12163 # define LT_DLGLOBAL DL_GLOBAL
12165 # define LT_DLGLOBAL 0
12169 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12170 find out it does not work in some platform. */
12171 #ifndef LT_DLLAZY_OR_NOW
12173 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12176 # define LT_DLLAZY_OR_NOW DL_LAZY
12179 # define LT_DLLAZY_OR_NOW RTLD_NOW
12182 # define LT_DLLAZY_OR_NOW DL_NOW
12184 # define LT_DLLAZY_OR_NOW 0
12191 /* When -fvisbility=hidden is used, assume the code has been annotated
12192 correspondingly for the symbols needed. */
12193 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12194 void fnord () __attribute__((visibility("default")));
12197 void fnord () { int i=42; }
12200 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12201 int status = $lt_dlunknown;
12205 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12208 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12209 else puts (dlerror ());
12211 /* dlclose (self); */
12219 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12220 (eval $ac_link) 2>&5
12222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12223 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12224 (.
/conftest
; exit; ) >&5 2>/dev
/null
12226 case x
$lt_status in
12227 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12228 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12229 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12232 # compilation failed
12233 lt_cv_dlopen_self_static
=no
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12241 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12244 CPPFLAGS
="$save_CPPFLAGS"
12245 LDFLAGS
="$save_LDFLAGS"
12250 case $lt_cv_dlopen_self in
12251 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12252 *) enable_dlopen_self
=unknown
;;
12255 case $lt_cv_dlopen_self_static in
12256 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12257 *) enable_dlopen_self_static
=unknown
;;
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12280 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12281 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12282 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12283 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12285 $as_echo "yes" >&6; }
12287 # FIXME - insert some real tests, host_os isn't really good enough
12290 if test -n "$STRIP" ; then
12291 striplib
="$STRIP -x"
12292 old_striplib
="$STRIP -S"
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12294 $as_echo "yes" >&6; }
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12297 $as_echo "no" >&6; }
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12302 $as_echo "no" >&6; }
12318 # Report which library types will actually be built
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12320 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12322 $as_echo "$can_build_shared" >&6; }
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12325 $as_echo_n "checking whether to build shared libraries... " >&6; }
12326 test "$can_build_shared" = "no" && enable_shared
=no
12328 # On AIX, shared libraries and static libraries use the same namespace, and
12329 # are all built from PIC.
12332 test "$enable_shared" = yes && enable_static
=no
12333 if test -n "$RANLIB"; then
12334 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12335 postinstall_cmds
='$RANLIB $lib'
12340 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12341 test "$enable_shared" = yes && enable_static
=no
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12346 $as_echo "$enable_shared" >&6; }
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12349 $as_echo_n "checking whether to build static libraries... " >&6; }
12350 # Make sure either enable_shared or enable_static is yes.
12351 test "$enable_shared" = yes || enable_static
=yes
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12353 $as_echo "$enable_static" >&6; }
12360 ac_cpp
='$CPP $CPPFLAGS'
12361 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12362 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12363 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12379 ac_config_commands
="$ac_config_commands libtool"
12384 # Only expand once:
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5
12390 $as_echo_n "checking for bind in -lsocket... " >&6; }
12391 if ${ac_cv_lib_socket_bind+:} false
; then :
12392 $as_echo_n "(cached) " >&6
12394 ac_check_lib_save_LIBS
=$LIBS
12395 LIBS
="-lsocket $LIBS"
12396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12397 /* end confdefs.h. */
12399 /* Override any GCC internal prototype to avoid an error.
12400 Use char because int might match the return type of a GCC
12401 builtin and then its argument prototype would still apply. */
12414 if ac_fn_c_try_link
"$LINENO"; then :
12415 ac_cv_lib_socket_bind
=yes
12417 ac_cv_lib_socket_bind
=no
12419 rm -f core conftest.err conftest.
$ac_objext \
12420 conftest
$ac_exeext conftest.
$ac_ext
12421 LIBS
=$ac_check_lib_save_LIBS
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5
12424 $as_echo "$ac_cv_lib_socket_bind" >&6; }
12425 if test "x$ac_cv_lib_socket_bind" = xyes
; then :
12426 cat >>confdefs.h
<<_ACEOF
12427 #define HAVE_LIBSOCKET 1
12430 LIBS
="-lsocket $LIBS"
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
12435 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
12436 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
12437 $as_echo_n "(cached) " >&6
12439 ac_check_lib_save_LIBS
=$LIBS
12441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12442 /* end confdefs.h. */
12444 /* Override any GCC internal prototype to avoid an error.
12445 Use char because int might match the return type of a GCC
12446 builtin and then its argument prototype would still apply. */
12450 char gethostbyname ();
12454 return gethostbyname ();
12459 if ac_fn_c_try_link
"$LINENO"; then :
12460 ac_cv_lib_nsl_gethostbyname
=yes
12462 ac_cv_lib_nsl_gethostbyname
=no
12464 rm -f core conftest.err conftest.
$ac_objext \
12465 conftest
$ac_exeext conftest.
$ac_ext
12466 LIBS
=$ac_check_lib_save_LIBS
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
12469 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
12470 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
12471 cat >>confdefs.h
<<_ACEOF
12472 #define HAVE_LIBNSL 1
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs in -lm" >&5
12480 $as_echo_n "checking for fabs in -lm... " >&6; }
12481 if ${ac_cv_lib_m_fabs+:} false
; then :
12482 $as_echo_n "(cached) " >&6
12484 ac_check_lib_save_LIBS
=$LIBS
12486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12487 /* end confdefs.h. */
12489 /* Override any GCC internal prototype to avoid an error.
12490 Use char because int might match the return type of a GCC
12491 builtin and then its argument prototype would still apply. */
12504 if ac_fn_c_try_link
"$LINENO"; then :
12505 ac_cv_lib_m_fabs
=yes
12507 ac_cv_lib_m_fabs
=no
12509 rm -f core conftest.err conftest.
$ac_objext \
12510 conftest
$ac_exeext conftest.
$ac_ext
12511 LIBS
=$ac_check_lib_save_LIBS
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabs" >&5
12514 $as_echo "$ac_cv_lib_m_fabs" >&6; }
12515 if test "x$ac_cv_lib_m_fabs" = xyes
; then :
12516 cat >>confdefs.h
<<_ACEOF
12517 #define HAVE_LIBM 1
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log2 in -lm" >&5
12525 $as_echo_n "checking for log2 in -lm... " >&6; }
12526 if ${ac_cv_lib_m_log2+:} false
; then :
12527 $as_echo_n "(cached) " >&6
12529 ac_check_lib_save_LIBS
=$LIBS
12531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12532 /* end confdefs.h. */
12534 /* Override any GCC internal prototype to avoid an error.
12535 Use char because int might match the return type of a GCC
12536 builtin and then its argument prototype would still apply. */
12549 if ac_fn_c_try_link
"$LINENO"; then :
12550 ac_cv_lib_m_log2
=yes
12552 ac_cv_lib_m_log2
=no
12554 rm -f core conftest.err conftest.
$ac_objext \
12555 conftest
$ac_exeext conftest.
$ac_ext
12556 LIBS
=$ac_check_lib_save_LIBS
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log2" >&5
12559 $as_echo "$ac_cv_lib_m_log2" >&6; }
12560 if test "x$ac_cv_lib_m_log2" = xyes
; then :
12561 cat >>confdefs.h
<<_ACEOF
12562 #define HAVE_LIBM 1
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
12573 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
12574 # Check whether --enable-maintainer-mode was given.
12575 if test "${enable_maintainer_mode+set}" = set; then :
12576 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
12578 USE_MAINTAINER_MODE
=no
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
12582 $as_echo "$USE_MAINTAINER_MODE" >&6; }
12583 if test $USE_MAINTAINER_MODE = yes; then
12584 MAINTAINER_MODE_TRUE
=
12585 MAINTAINER_MODE_FALSE
='#'
12587 MAINTAINER_MODE_TRUE
='#'
12588 MAINTAINER_MODE_FALSE
=
12591 MAINT
=$MAINTAINER_MODE_TRUE
12594 am__api_version
='1.15'
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
12597 $as_echo_n "checking whether build environment is sane... " >&6; }
12598 # Reject unsafe characters in $srcdir or the absolute working directory
12599 # name. Accept space and tab only in the latter.
12603 *[\\\"\
#\$\&\'\`$am_lf]*)
12604 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
12607 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
12608 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
12611 # Do 'set' in a subshell so we don't clobber the current shell's
12612 # arguments. Must try -L first in case configure is actually a
12613 # symlink; some systems play weird games with the mod time of symlinks
12614 # (eg FreeBSD returns the mod time of the symlink's containing
12618 for am_try
in 1 2; do
12619 echo "timestamp, slept: $am_has_slept" > conftest.
file
12620 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
12621 if test "$*" = "X"; then
12623 set X
`ls -t "$srcdir/configure" conftest.file`
12625 if test "$*" != "X $srcdir/configure conftest.file" \
12626 && test "$*" != "X conftest.file $srcdir/configure"; then
12628 # If neither matched, then we have a broken ls. This can happen
12629 # if, for instance, CONFIG_SHELL is bash and it inherits a
12630 # broken ls alias from the environment. This has actually
12631 # happened. Such a system could not be considered "sane".
12632 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
12633 alias in your environment" "$LINENO" 5
12635 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
12642 test "$2" = conftest.
file
12648 as_fn_error $?
"newly created file is older than distributed files!
12649 Check your system clock" "$LINENO" 5
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12652 $as_echo "yes" >&6; }
12653 # If we didn't sleep, we still need to ensure time stamps of config.status and
12654 # generated files are strictly newer.
12656 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
12661 rm -f conftest.
file
12663 if test x
"${MISSING+set}" != xset
; then
12664 case $am_aux_dir in
12666 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
12668 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
12671 # Use eval to expand $SHELL
12672 if eval "$MISSING --is-lightweight"; then
12673 am_missing_run
="$MISSING "
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
12677 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
12680 if test x
"${install_sh+set}" != xset
; then
12681 case $am_aux_dir in
12683 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
12685 install_sh
="\${SHELL} $am_aux_dir/install-sh"
12689 # Installed binaries are usually stripped using 'strip' when the user
12690 # run "make install-strip". However 'strip' might not be the right
12691 # tool to use in cross-compilation environments, therefore Automake
12692 # will honor the 'STRIP' environment variable to overrule this program.
12693 if test "$cross_compiling" != no
; then
12694 if test -n "$ac_tool_prefix"; then
12695 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
12696 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12698 $as_echo_n "checking for $ac_word... " >&6; }
12699 if ${ac_cv_prog_STRIP+:} false
; then :
12700 $as_echo_n "(cached) " >&6
12702 if test -n "$STRIP"; then
12703 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12706 for as_dir
in $PATH
12709 test -z "$as_dir" && as_dir
=.
12710 for ac_exec_ext
in '' $ac_executable_extensions; do
12711 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12712 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
12713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12722 STRIP
=$ac_cv_prog_STRIP
12723 if test -n "$STRIP"; then
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
12725 $as_echo "$STRIP" >&6; }
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12728 $as_echo "no" >&6; }
12733 if test -z "$ac_cv_prog_STRIP"; then
12735 # Extract the first word of "strip", so it can be a program name with args.
12736 set dummy strip
; ac_word
=$2
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12738 $as_echo_n "checking for $ac_word... " >&6; }
12739 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
12740 $as_echo_n "(cached) " >&6
12742 if test -n "$ac_ct_STRIP"; then
12743 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
12745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12746 for as_dir
in $PATH
12749 test -z "$as_dir" && as_dir
=.
12750 for ac_exec_ext
in '' $ac_executable_extensions; do
12751 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12752 ac_cv_prog_ac_ct_STRIP
="strip"
12753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12762 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
12763 if test -n "$ac_ct_STRIP"; then
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
12765 $as_echo "$ac_ct_STRIP" >&6; }
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12768 $as_echo "no" >&6; }
12771 if test "x$ac_ct_STRIP" = x
; then
12774 case $cross_compiling:$ac_tool_warned in
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12777 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12778 ac_tool_warned
=yes ;;
12783 STRIP
="$ac_cv_prog_STRIP"
12787 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
12790 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
12791 if test -z "$MKDIR_P"; then
12792 if ${ac_cv_path_mkdir+:} false
; then :
12793 $as_echo_n "(cached) " >&6
12795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12796 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
12799 test -z "$as_dir" && as_dir
=.
12800 for ac_prog
in mkdir gmkdir
; do
12801 for ac_exec_ext
in '' $ac_executable_extensions; do
12802 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
12803 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
12804 'mkdir (GNU coreutils) '* | \
12805 'mkdir (coreutils) '* | \
12806 'mkdir (fileutils) '4.1*)
12807 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
12817 test -d .
/--version && rmdir .
/--version
12818 if test "${ac_cv_path_mkdir+set}" = set; then
12819 MKDIR_P
="$ac_cv_path_mkdir -p"
12821 # As a last resort, use the slow shell script. Don't cache a
12822 # value for MKDIR_P within a source directory, because that will
12823 # break other packages using the cache if that directory is
12824 # removed, or if the value is a relative name.
12825 MKDIR_P
="$ac_install_sh -d"
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
12829 $as_echo "$MKDIR_P" >&6; }
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
12832 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
12834 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
12835 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
12836 $as_echo_n "(cached) " >&6
12838 cat >conftest.
make <<\_ACEOF
12841 @
echo '@@@%%%=$(MAKE)=@@@%%%'
12843 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
12844 case `${MAKE-make} -f conftest.make 2>/dev/null` in
12845 *@@@
%%%=?
*=@@@
%%%*)
12846 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
12848 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
12850 rm -f conftest.
make
12852 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
12853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12854 $as_echo "yes" >&6; }
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12858 $as_echo "no" >&6; }
12859 SET_MAKE
="MAKE=${MAKE-make}"
12862 rm -rf .tst
2>/dev
/null
12863 mkdir .tst
2>/dev
/null
12864 if test -d .tst
; then
12869 rmdir .tst
2>/dev
/null
12871 DEPDIR
="${am__leading_dot}deps"
12873 ac_config_commands
="$ac_config_commands depfiles"
12876 am_make
=${MAKE-make}
12877 cat > confinc
<< 'END'
12879 @
echo this is the am__doit target
12882 # If we don't find an include directive, just comment out the code.
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
12884 $as_echo_n "checking for style of include used by $am_make... " >&6; }
12888 # First try GNU make style include.
12889 echo "include confinc" > confmf
12890 # Ignore all kinds of additional output from 'make'.
12891 case `$am_make -s -f confmf 2> /dev/null` in #(
12892 *the\ am__doit\ target
*)
12893 am__include
=include
12898 # Now try BSD make style include.
12899 if test "$am__include" = "#"; then
12900 echo '.include "confinc"' > confmf
12901 case `$am_make -s -f confmf 2> /dev/null` in #(
12902 *the\ am__doit\ target
*)
12903 am__include
=.include
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
12912 $as_echo "$_am_result" >&6; }
12913 rm -f confinc confmf
12915 # Check whether --enable-dependency-tracking was given.
12916 if test "${enable_dependency_tracking+set}" = set; then :
12917 enableval
=$enable_dependency_tracking;
12920 if test "x$enable_dependency_tracking" != xno
; then
12921 am_depcomp
="$ac_aux_dir/depcomp"
12925 if test "x$enable_dependency_tracking" != xno; then
12934 # Check whether --enable-silent-rules was given.
12935 if test "${enable_silent_rules+set}" = set; then :
12936 enableval
=$enable_silent_rules;
12939 case $enable_silent_rules in # (((
12940 yes) AM_DEFAULT_VERBOSITY
=0;;
12941 no
) AM_DEFAULT_VERBOSITY
=1;;
12942 *) AM_DEFAULT_VERBOSITY
=1;;
12944 am_make
=${MAKE-make}
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
12946 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
12947 if ${am_cv_make_support_nested_variables+:} false
; then :
12948 $as_echo_n "(cached) " >&6
12950 if $as_echo 'TRUE=$(BAR$(V))
12956 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
12957 am_cv_make_support_nested_variables
=yes
12959 am_cv_make_support_nested_variables
=no
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
12963 $as_echo "$am_cv_make_support_nested_variables" >&6; }
12964 if test $am_cv_make_support_nested_variables = yes; then
12966 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
12968 AM_V
=$AM_DEFAULT_VERBOSITY
12969 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
12973 if test "`cd $srcdir && pwd`" != "`pwd`"; then
12974 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
12975 # is not polluted with repeated "-I."
12976 am__isrc
=' -I$(srcdir)'
12977 # test to see if srcdir already configured
12978 if test -f $srcdir/config.status
; then
12979 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
12983 # test whether we have cygpath
12984 if test -z "$CYGPATH_W"; then
12985 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
12986 CYGPATH_W
='cygpath -w'
12993 # Define the identity of the package.
12998 cat >>confdefs.h
<<_ACEOF
12999 #define PACKAGE "$PACKAGE"
13003 cat >>confdefs.h
<<_ACEOF
13004 #define VERSION "$VERSION"
13007 # Some tools Automake needs.
13009 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
13012 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
13015 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
13018 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
13021 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
13023 # For better backward compatibility. To be removed once Automake 1.9.x
13024 # dies out for good. For more background, see:
13025 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
13026 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
13027 mkdir_p
='$(MKDIR_P)'
13029 # We need awk for the "check" target (and possibly the TAP driver). The
13030 # system "awk" is bad on some platforms.
13031 # Always define AMTAR for backward compatibility. Yes, it's still used
13032 # in the wild :-( We should find a proper way to deprecate it ...
13033 AMTAR
='$${TAR-tar}'
13036 # We'll loop over all known methods to create a tar archive until one works.
13037 _am_tools
='gnutar pax cpio none'
13039 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
13045 depcc
="$CC" am_compiler_list
=
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13048 $as_echo_n "checking dependency style of $depcc... " >&6; }
13049 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
13050 $as_echo_n "(cached) " >&6
13052 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13053 # We make a subdir and do the tests there. Otherwise we can end up
13054 # making bogus files that we don't know about and never remove. For
13055 # instance it was reported that on HP-UX the gcc test will end up
13056 # making a dummy file named 'D' -- because '-MD' means "put the output
13058 rm -rf conftest.dir
13060 # Copy depcomp to subdir because otherwise we won't find it if we're
13061 # using a relative directory.
13062 cp "$am_depcomp" conftest.dir
13064 # We will build objects and dependencies in a subdirectory because
13065 # it helps to detect inapplicable dependency modes. For instance
13066 # both Tru64's cc and ICC support -MD to output dependencies as a
13067 # side effect of compilation, but ICC will put the dependencies in
13068 # the current directory while Tru64 will put them in the object
13072 am_cv_CC_dependencies_compiler_type
=none
13073 if test "$am_compiler_list" = ""; then
13074 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13076 am__universal
=false
13077 case " $depcc " in #(
13078 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
13081 for depmode
in $am_compiler_list; do
13082 # Setup a source with many dependencies, because some compilers
13083 # like to wrap large dependency lists on column 80 (with \), and
13084 # we should not choose a depcomp mode which is confused by this.
13086 # We need to recreate these files for each test, as the compiler may
13087 # overwrite some of them when testing with obscure command lines.
13088 # This happens at least with the AIX C compiler.
13090 for i
in 1 2 3 4 5 6; do
13091 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
13092 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13093 # Solaris 10 /bin/sh.
13094 echo '/* dummy */' > sub
/conftst
$i.h
13096 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13098 # We check with '-c' and '-o' for the sake of the "dashmstdout"
13099 # mode. It turns out that the SunPro C++ compiler does not properly
13100 # handle '-M -o', and we need to detect this. Also, some Intel
13101 # versions had trouble with output in subdirs.
13102 am__obj
=sub
/conftest.
${OBJEXT-o}
13103 am__minus_obj
="-o $am__obj"
13106 # This depmode causes a compiler race in universal mode.
13107 test "$am__universal" = false ||
continue
13110 # After this tag, mechanisms are not by side-effect, so they'll
13111 # only be used when explicitly requested.
13112 if test "x$enable_dependency_tracking" = xyes
; then
13118 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
13119 # This compiler won't grok '-c -o', but also, the minuso test has
13120 # not run yet. These depmodes are late enough in the game, and
13121 # so weak that their functioning should not be impacted.
13122 am__obj
=conftest.
${OBJEXT-o}
13127 if depmode
=$depmode \
13128 source=sub
/conftest.c object
=$am__obj \
13129 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
13130 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
13131 >/dev
/null
2>conftest.err
&&
13132 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
13133 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
13134 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
13135 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
13136 # icc doesn't choke on unknown options, it will just issue warnings
13137 # or remarks (even with -Werror). So we grep stderr for any message
13138 # that says an option was ignored or not supported.
13139 # When given -MP, icc 7.0 and 7.1 complain thusly:
13140 # icc: Command line warning: ignoring option '-M'; no argument required
13141 # The diagnosis changed in icc 8.0:
13142 # icc: Command line remark: option '-MP' not supported
13143 if (grep 'ignoring option' conftest.err ||
13144 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
13145 am_cv_CC_dependencies_compiler_type
=$depmode
13152 rm -rf conftest.dir
13154 am_cv_CC_dependencies_compiler_type
=none
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13159 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13160 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
13163 test "x$enable_dependency_tracking" != xno \
13164 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
13165 am__fastdepCC_TRUE
=
13166 am__fastdepCC_FALSE
='#'
13168 am__fastdepCC_TRUE
='#'
13169 am__fastdepCC_FALSE
=
13174 # POSIX will say in a future version that running "rm -f" with no argument
13175 # is OK; and we want to be able to make that assumption in our Makefile
13176 # recipes. So use an aggressive probe to check that the usage we want is
13177 # actually supported "in the wild" to an acceptable degree.
13178 # See automake bug#10828.
13179 # To make any issue more visible, cause the running configure to be aborted
13180 # by default if the 'rm' program in use doesn't match our expectations; the
13181 # user can still override this though.
13182 if rm -f && rm -fr && rm -rf; then : OK
; else
13186 Your 'rm' program seems unable to run without file operands specified
13187 on the command line, even when the '-f' option is present. This is contrary
13188 to the behaviour of most rm programs out there, and not conforming with
13189 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
13191 Please tell bug-automake@gnu.org about your system, including the value
13192 of your $PATH and any error possibly output before this message. This
13193 can help us improve future automake versions.
13196 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
13197 echo 'Configuration will proceed anyway, since you have set the' >&2
13198 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
13202 Aborting the configuration process, to ensure you take notice of the issue.
13204 You can download and install GNU coreutils to get an 'rm' implementation
13205 that behaves properly: <http://www.gnu.org/software/coreutils/>.
13207 If you want to complete the configuration process using your problematic
13208 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
13209 to "yes", and re-run configure.
13212 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
13216 # Check whether --enable-silent-rules was given.
13217 if test "${enable_silent_rules+set}" = set; then :
13218 enableval
=$enable_silent_rules;
13221 case $enable_silent_rules in # (((
13222 yes) AM_DEFAULT_VERBOSITY
=0;;
13223 no
) AM_DEFAULT_VERBOSITY
=1;;
13224 *) AM_DEFAULT_VERBOSITY
=0;;
13226 am_make
=${MAKE-make}
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
13228 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
13229 if ${am_cv_make_support_nested_variables+:} false
; then :
13230 $as_echo_n "(cached) " >&6
13232 if $as_echo 'TRUE=$(BAR$(V))
13238 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
13239 am_cv_make_support_nested_variables
=yes
13241 am_cv_make_support_nested_variables
=no
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
13245 $as_echo "$am_cv_make_support_nested_variables" >&6; }
13246 if test $am_cv_make_support_nested_variables = yes; then
13248 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
13250 AM_V
=$AM_DEFAULT_VERBOSITY
13251 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
13256 # If a cpu ever has more than one simulator to choose from, use
13257 # --enable-sim=... to choose.
13258 # Check whether --enable-sim was given.
13259 if test "${enable_sim+set}" = set; then :
13260 enableval=$enable_sim; case "${enableval}" in
13262 *) as_fn_error $? "bad value ${enableval} given for --enable-sim option" "$LINENO" 5 ;;
13267 # Check whether --enable-example-sims was given.
13268 if test "${enable_example_sims+set}" = set; then :
13269 enableval=$enable_example_sims;
13273 # Check whether --enable-targets was given.
13274 if test "${enable_targets+set}" = set; then :
13275 enableval=$enable_targets; case "${enableval}" in
13276 yes | "") as_fn_error $? "enable-targets option must specify target names or 'all
'" "$LINENO" 5
13278 no) enable_targets= ;;
13279 *) enable_targets=$enableval ;;
13284 SIM_PRIMARY_TARGET=
13290 SIM_COMMON_BUILD_TRUE=
13291 SIM_COMMON_BUILD_FALSE='#'
13295 ac_config_files
="$ac_config_files Make-common.sim:common/Make-common.in"
13300 if test "${enable_sim}" != no
; then
13302 for targ
in `echo $target $enable_targets | sed 's/,/ /g'`
13306 if test "${targ}" = "${target}"; then
13307 SIM_PRIMARY_TARGET
=aarch64
13309 ac_config_files
="$ac_config_files aarch64/Makefile.sim:aarch64/Makefile.in"
13311 ac_config_commands
="$ac_config_commands aarch64/Makefile"
13313 as_fn_append SIM_SUBDIRS
" aarch64"
13315 ac_config_commands
="$ac_config_commands depdir-aarch64"
13324 if test "${targ}" = "${target}"; then
13325 SIM_PRIMARY_TARGET
=arm
13327 ac_config_files
="$ac_config_files arm/Makefile.sim:arm/Makefile.in"
13329 ac_config_commands
="$ac_config_commands arm/Makefile"
13331 as_fn_append SIM_SUBDIRS
" arm"
13333 ac_config_commands
="$ac_config_commands depdir-arm"
13342 if test "${targ}" = "${target}"; then
13343 SIM_PRIMARY_TARGET
=avr
13345 ac_config_files
="$ac_config_files avr/Makefile.sim:avr/Makefile.in"
13347 ac_config_commands
="$ac_config_commands avr/Makefile"
13349 as_fn_append SIM_SUBDIRS
" avr"
13351 ac_config_commands
="$ac_config_commands depdir-avr"
13360 if test "${targ}" = "${target}"; then
13361 SIM_PRIMARY_TARGET
=bfin
13365 subdirs
="$subdirs bfin"
13368 ac_config_commands
="$ac_config_commands depdir-bfin"
13377 if test "${targ}" = "${target}"; then
13378 SIM_PRIMARY_TARGET
=bpf
13380 subdirs
="$subdirs bpf"
13383 ac_config_commands
="$ac_config_commands depdir-bpf"
13392 if test "${targ}" = "${target}"; then
13393 SIM_PRIMARY_TARGET
=cr16
13395 ac_config_files
="$ac_config_files cr16/Makefile.sim:cr16/Makefile.in"
13397 ac_config_commands
="$ac_config_commands cr16/Makefile"
13399 as_fn_append SIM_SUBDIRS
" cr16"
13401 ac_config_commands
="$ac_config_commands depdir-cr16"
13409 all|cris-
*-* | crisv32-
*-*)
13410 if test "${targ}" = "${target}"; then
13411 SIM_PRIMARY_TARGET
=cris
13413 subdirs
="$subdirs cris"
13416 ac_config_commands
="$ac_config_commands depdir-cris"
13425 if test "${targ}" = "${target}"; then
13426 SIM_PRIMARY_TARGET
=d10v
13428 ac_config_files
="$ac_config_files d10v/Makefile.sim:d10v/Makefile.in"
13430 ac_config_commands
="$ac_config_commands d10v/Makefile"
13432 as_fn_append SIM_SUBDIRS
" d10v"
13434 ac_config_commands
="$ac_config_commands depdir-d10v"
13443 if test "${targ}" = "${target}"; then
13444 SIM_PRIMARY_TARGET
=frv
13446 subdirs
="$subdirs frv"
13449 ac_config_commands
="$ac_config_commands depdir-frv"
13458 if test "${targ}" = "${target}"; then
13459 SIM_PRIMARY_TARGET
=ft32
13461 ac_config_files
="$ac_config_files ft32/Makefile.sim:ft32/Makefile.in"
13463 ac_config_commands
="$ac_config_commands ft32/Makefile"
13465 as_fn_append SIM_SUBDIRS
" ft32"
13467 ac_config_commands
="$ac_config_commands depdir-ft32"
13476 if test "${targ}" = "${target}"; then
13477 SIM_PRIMARY_TARGET
=h8300
13479 ac_config_files
="$ac_config_files h8300/Makefile.sim:h8300/Makefile.in"
13481 ac_config_commands
="$ac_config_commands h8300/Makefile"
13483 as_fn_append SIM_SUBDIRS
" h8300"
13485 ac_config_commands
="$ac_config_commands depdir-h8300"
13494 if test "${targ}" = "${target}"; then
13495 SIM_PRIMARY_TARGET
=iq2000
13497 subdirs
="$subdirs iq2000"
13500 ac_config_commands
="$ac_config_commands depdir-iq2000"
13509 if test "${targ}" = "${target}"; then
13510 SIM_PRIMARY_TARGET
=lm32
13512 subdirs
="$subdirs lm32"
13515 ac_config_commands
="$ac_config_commands depdir-lm32"
13524 if test "${targ}" = "${target}"; then
13525 SIM_PRIMARY_TARGET
=m32c
13527 ac_config_files
="$ac_config_files m32c/Makefile.sim:m32c/Makefile.in"
13529 ac_config_commands
="$ac_config_commands m32c/Makefile"
13531 as_fn_append SIM_SUBDIRS
" m32c"
13533 ac_config_commands
="$ac_config_commands depdir-m32c"
13542 if test "${targ}" = "${target}"; then
13543 SIM_PRIMARY_TARGET
=m32r
13545 subdirs
="$subdirs m32r"
13548 ac_config_commands
="$ac_config_commands depdir-m32r"
13556 all|m68hc11-
*-*|m6811-
*-*)
13557 if test "${targ}" = "${target}"; then
13558 SIM_PRIMARY_TARGET
=m68hc11
13560 ac_config_files
="$ac_config_files m68hc11/Makefile.sim:m68hc11/Makefile.in"
13562 ac_config_commands
="$ac_config_commands m68hc11/Makefile"
13564 as_fn_append SIM_SUBDIRS
" m68hc11"
13566 ac_config_commands
="$ac_config_commands depdir-m68hc11"
13575 if test "${targ}" = "${target}"; then
13576 SIM_PRIMARY_TARGET
=mcore
13578 ac_config_files
="$ac_config_files mcore/Makefile.sim:mcore/Makefile.in"
13580 ac_config_commands
="$ac_config_commands mcore/Makefile"
13582 as_fn_append SIM_SUBDIRS
" mcore"
13584 ac_config_commands
="$ac_config_commands depdir-mcore"
13592 all|microblaze-
*-*)
13593 if test "${targ}" = "${target}"; then
13594 SIM_PRIMARY_TARGET
=microblaze
13596 ac_config_files
="$ac_config_files microblaze/Makefile.sim:microblaze/Makefile.in"
13598 ac_config_commands
="$ac_config_commands microblaze/Makefile"
13600 as_fn_append SIM_SUBDIRS
" microblaze"
13602 ac_config_commands
="$ac_config_commands depdir-microblaze"
13611 if test "${targ}" = "${target}"; then
13612 SIM_PRIMARY_TARGET
=mips
13614 subdirs
="$subdirs mips"
13617 ac_config_commands
="$ac_config_commands depdir-mips"
13626 if test "${targ}" = "${target}"; then
13627 SIM_PRIMARY_TARGET
=mn10300
13629 subdirs
="$subdirs mn10300"
13632 ac_config_commands
="$ac_config_commands depdir-mn10300"
13641 if test "${targ}" = "${target}"; then
13642 SIM_PRIMARY_TARGET
=moxie
13644 ac_config_files
="$ac_config_files moxie/Makefile.sim:moxie/Makefile.in"
13646 ac_config_commands
="$ac_config_commands moxie/Makefile"
13648 as_fn_append SIM_SUBDIRS
" moxie"
13650 ac_config_commands
="$ac_config_commands depdir-moxie"
13659 if test "${targ}" = "${target}"; then
13660 SIM_PRIMARY_TARGET
=msp430
13662 ac_config_files
="$ac_config_files msp430/Makefile.sim:msp430/Makefile.in"
13664 ac_config_commands
="$ac_config_commands msp430/Makefile"
13666 as_fn_append SIM_SUBDIRS
" msp430"
13668 ac_config_commands
="$ac_config_commands depdir-msp430"
13676 all|or1k-
*-* | or1knd-
*-*)
13677 if test "${targ}" = "${target}"; then
13678 SIM_PRIMARY_TARGET
=or1k
13680 subdirs
="$subdirs or1k"
13683 ac_config_commands
="$ac_config_commands depdir-or1k"
13692 if test "${targ}" = "${target}"; then
13693 SIM_PRIMARY_TARGET
=pru
13695 ac_config_files
="$ac_config_files pru/Makefile.sim:pru/Makefile.in"
13697 ac_config_commands
="$ac_config_commands pru/Makefile"
13699 as_fn_append SIM_SUBDIRS
" pru"
13701 ac_config_commands
="$ac_config_commands depdir-pru"
13710 if test "${targ}" = "${target}"; then
13711 SIM_PRIMARY_TARGET
=riscv
13713 subdirs
="$subdirs riscv"
13716 ac_config_commands
="$ac_config_commands depdir-riscv"
13725 if test "${targ}" = "${target}"; then
13726 SIM_PRIMARY_TARGET
=rl78
13728 ac_config_files
="$ac_config_files rl78/Makefile.sim:rl78/Makefile.in"
13730 ac_config_commands
="$ac_config_commands rl78/Makefile"
13732 as_fn_append SIM_SUBDIRS
" rl78"
13734 ac_config_commands
="$ac_config_commands depdir-rl78"
13743 if test "${targ}" = "${target}"; then
13744 SIM_PRIMARY_TARGET
=rx
13746 ac_config_files
="$ac_config_files rx/Makefile.sim:rx/Makefile.in"
13748 ac_config_commands
="$ac_config_commands rx/Makefile"
13750 as_fn_append SIM_SUBDIRS
" rx"
13752 ac_config_commands
="$ac_config_commands depdir-rx"
13761 if test "${targ}" = "${target}"; then
13762 SIM_PRIMARY_TARGET
=sh
13764 ac_config_files
="$ac_config_files sh/Makefile.sim:sh/Makefile.in"
13766 ac_config_commands
="$ac_config_commands sh/Makefile"
13768 as_fn_append SIM_SUBDIRS
" sh"
13770 ac_config_commands
="$ac_config_commands depdir-sh"
13778 all|sparc-
*-rtems*|sparc-
*-elf*)
13779 if test "${targ}" = "${target}"; then
13780 SIM_PRIMARY_TARGET
=erc32
13782 subdirs
="$subdirs erc32"
13785 ac_config_commands
="$ac_config_commands depdir-erc32"
13794 if test "${targ}" = "${target}"; then
13795 SIM_PRIMARY_TARGET
=ppc
13797 subdirs
="$subdirs ppc"
13800 ac_config_commands
="$ac_config_commands depdir-ppc"
13809 if test "${targ}" = "${target}"; then
13810 SIM_PRIMARY_TARGET
=v850
13812 subdirs
="$subdirs v850"
13815 ac_config_commands
="$ac_config_commands depdir-v850"
13824 if test "x${enable_example_sims}" = xyes
; then
13825 ac_config_files
="$ac_config_files example-synacor/Makefile.sim:example-synacor/Makefile.in"
13827 ac_config_commands
="$ac_config_commands example-synacor/Makefile"
13829 as_fn_append SIM_SUBDIRS
" example-synacor"
13831 ac_config_commands
="$ac_config_commands depdir-example-synacor"
13836 if test "$sim_igen" = "yes"; then
13837 SIM_ENABLE_IGEN_TRUE
=
13838 SIM_ENABLE_IGEN_FALSE
='#'
13840 SIM_ENABLE_IGEN_TRUE
='#'
13841 SIM_ENABLE_IGEN_FALSE
=
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to force sim alignment" >&5
13846 $as_echo_n "checking whether to force sim alignment... " >&6; }
13848 # Check whether --enable-sim-alignment was given.
13849 if test "${enable_sim_alignment+set}" = set; then :
13850 enableval
=$enable_sim_alignment; case "${enableval}" in
13851 yes | strict | STRICT
) sim_alignment
="STRICT_ALIGNMENT";;
13852 no | nonstrict | NONSTRICT
) sim_alignment
="NONSTRICT_ALIGNMENT";;
13853 forced | FORCED
) sim_alignment
="FORCED_ALIGNMENT";;
13854 *) as_fn_error $?
"\"Unknown value $enableval passed to --enable-sim-alignment\"" "$LINENO" 5;;
13858 cat >>confdefs.h
<<_ACEOF
13859 #define WITH_ALIGNMENT ${sim_alignment:-0}
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sim_alignment:-no}" >&5
13863 $as_echo "${sim_alignment:-no}" >&6; }
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable sim asserts" >&5
13867 $as_echo_n "checking whether to enable sim asserts... " >&6; }
13869 # Check whether --enable-sim-assert was given.
13870 if test "${enable_sim_assert+set}" = set; then :
13871 enableval
=$enable_sim_assert; case "${enableval}" in
13872 yes) sim_assert
="1";;
13873 no
) sim_assert
="0";;
13874 *) as_fn_error $?
"--enable-sim-assert does not take a value" "$LINENO" 5;;
13878 cat >>confdefs.h
<<_ACEOF
13879 #define WITH_ASSERT $sim_assert
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_assert" >&5
13883 $as_echo "$sim_assert" >&6; }
13888 cgendir
='$(srcdir)/../../cgen'
13889 # Check whether --enable-cgen-maint was given.
13890 if test "${enable_cgen_maint+set}" = set; then :
13891 enableval
=$enable_cgen_maint; case "${enableval}" in
13892 yes) cgen_maint
=yes ;;
13893 no
) cgen_maint
=no
;;
13895 # Argument is a directory where cgen can be found. In some
13896 # future world cgen could be installable, but right now this
13897 # is not the case. Instead we assume the directory is a path
13898 # to the cgen source tree.
13900 if test -r ${enableval}/iformat.scm
; then
13901 # This looks like a cgen source tree.
13902 cgendir
=${enableval}
13904 as_fn_error $?
"${enableval} doesn't look like a cgen source tree" "$LINENO" 5
13909 if test x
${cgen_maint} != xno
; then
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim debug setting" >&5
13919 $as_echo_n "checking for sim debug setting... " >&6; }
13921 # Check whether --enable-sim-debug was given.
13922 if test "${enable_sim_debug+set}" = set; then :
13923 enableval
=$enable_sim_debug; case "${enableval}" in
13924 yes) sim_debug
="7";;
13925 no
) sim_debug
="0";;
13926 *) sim_debug
="($enableval)";;
13929 if test "$sim_debug" != "0"; then
13931 cat >>confdefs.h
<<_ACEOF
13932 #define DEBUG $sim_debug
13937 cat >>confdefs.h
<<_ACEOF
13938 #define WITH_DEBUG $sim_debug
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_debug" >&5
13942 $as_echo "$sim_debug" >&6; }
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to force sim endianness" >&5
13945 $as_echo_n "checking whether to force sim endianness... " >&6; }
13947 # Check whether --enable-sim-endian was given.
13948 if test "${enable_sim_endian+set}" = set; then :
13949 enableval
=$enable_sim_endian; case "${enableval}" in
13950 b
*|B
*) sim_endian
="BFD_ENDIAN_BIG";;
13951 l
*|L
*) sim_endian
="BFD_ENDIAN_LITTLE";;
13953 *) as_fn_error $?
"\"Unknown value $enableval for --enable-sim-endian\"" "$LINENO" 5;;
13957 cat >>confdefs.h
<<_ACEOF
13958 #define WITH_TARGET_BYTE_ORDER ${sim_endian:-BFD_ENDIAN_UNKNOWN}
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sim_alignment:-no}" >&5
13962 $as_echo "${sim_alignment:-no}" >&6; }
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default sim environment setting" >&5
13966 $as_echo_n "checking default sim environment setting... " >&6; }
13967 sim_environment
="ALL_ENVIRONMENT"
13968 # Check whether --enable-sim-environment was given.
13969 if test "${enable_sim_environment+set}" = set; then :
13970 enableval
=$enable_sim_environment; case "${enableval}" in
13971 all | ALL
) sim_environment
="ALL_ENVIRONMENT";;
13972 user | USER
) sim_environment
="USER_ENVIRONMENT";;
13973 virtual | VIRTUAL
) sim_environment
="VIRTUAL_ENVIRONMENT";;
13974 operating | OPERATING
) sim_environment
="OPERATING_ENVIRONMENT";;
13975 *) as_fn_error $?
"Unknown value $enableval passed to --enable-sim-environment" "$LINENO" 5;;
13979 cat >>confdefs.h
<<_ACEOF
13980 #define WITH_ENVIRONMENT $sim_environment
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_environment" >&5
13984 $as_echo "$sim_environment" >&6; }
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim hardware settings" >&5
13987 $as_echo_n "checking for sim hardware settings... " >&6; }
13988 # Check whether --enable-sim-hardware was given.
13989 if test "${enable_sim_hardware+set}" = set; then :
13990 enableval
=$enable_sim_hardware;
13992 enable_sim_hardware
="yes"
13996 if test "$enable_sim_hardware" = no
; then
13997 sim_hw_cflags
="-DWITH_HW=0"
13998 elif test "$enable_sim_hardware" = yes; then
13999 sim_hw_cflags
="-DWITH_HW=1"
14000 # mingw does not support sockser
14003 *) # TODO: We don't add dv-sockser to sim_hw as it is not a "real" device
14004 # that you instatiate. Instead, other code will call into it directly.
14005 # At some point, we should convert it over.
14006 sim_hw_sockser
="dv-sockser.o"
14007 sim_hw_cflags
="$sim_hw_cflags -DHAVE_DV_SOCKSER"
14011 as_fn_error $?
"unknown argument \"$enable_sim_hardware\"" "$LINENO" 5
14013 if test "$enable_sim_hardware" = "yes"; then
14014 SIM_ENABLE_HW_TRUE
=
14015 SIM_ENABLE_HW_FALSE
='#'
14017 SIM_ENABLE_HW_TRUE
='#'
14018 SIM_ENABLE_HW_FALSE
=
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_sim_hardware}" >&5
14022 $as_echo "${enable_sim_hardware}" >&6; }
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sim inline settings" >&5
14027 $as_echo_n "checking sim inline settings... " >&6; }
14028 sim_inline
="-DDEFAULT_INLINE=0"
14029 # Check whether --enable-sim-inline was given.
14030 if test "${enable_sim_inline+set}" = set; then :
14031 enableval
=$enable_sim_inline; sim_inline
=""
14032 case "$enableval" in
14033 no
) sim_inline
="-DDEFAULT_INLINE=0";;
14034 0) sim_inline
="-DDEFAULT_INLINE=0";;
14035 yes |
2) sim_inline
="-DDEFAULT_INLINE=ALL_C_INLINE";;
14036 1) sim_inline
="-DDEFAULT_INLINE=INLINE_LOCALS";;
14037 *) for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
14040 *_INLINE
=*) new_flag
="-D$x";;
14041 *=*) new_flag
=`echo "$x" | sed -e "s/=/_INLINE=/" -e "s/^/-D/"`;;
14042 *_INLINE
) new_flag
="-D$x=ALL_C_INLINE";;
14043 *) new_flag
="-D$x""_INLINE=ALL_C_INLINE";;
14045 if test x
"$sim_inline" = x
""; then
14046 sim_inline
="$new_flag"
14048 sim_inline
="$sim_inline $new_flag"
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_inline" >&5
14055 $as_echo "$sim_inline" >&6; }
14056 SIM_INLINE
=$sim_inline
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim profile settings" >&5
14060 $as_echo_n "checking for sim profile settings... " >&6; }
14063 # Check whether --enable-sim-profile was given.
14064 if test "${enable_sim_profile+set}" = set; then :
14065 enableval
=$enable_sim_profile; case "${enableval}" in
14066 yes) profile
="1" sim_profile
="-1";;
14067 no
) profile
="0" sim_profile
="0";;
14069 profile
="(${enableval})" sim_profile
="(${enableval})";;
14073 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
14074 if test x
"$sim_profile" = x
; then
14075 sim_profile
="(PROFILE_$x"
14077 sim_profile
="${sim_profile}|PROFILE_$x"
14080 sim_profile
="$sim_profile)" ;;
14084 cat >>confdefs.h
<<_ACEOF
14085 #define PROFILE $profile
14089 cat >>confdefs.h
<<_ACEOF
14090 #define WITH_PROFILE $sim_profile
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_profile" >&5
14094 $as_echo "$sim_profile" >&6; }
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim stdio debug behavior" >&5
14097 $as_echo_n "checking for sim stdio debug behavior... " >&6; }
14099 # Check whether --enable-sim-stdio was given.
14100 if test "${enable_sim_stdio+set}" = set; then :
14101 enableval
=$enable_sim_stdio; case "${enableval}" in
14102 yes) sim_stdio
="DO_USE_STDIO";;
14103 no
) sim_stdio
="DONT_USE_STDIO";;
14104 *) as_fn_error $?
"Unknown value $enableval passed to --enable-sim-stdio" "$LINENO" 5;;
14108 cat >>confdefs.h
<<_ACEOF
14109 #define WITH_STDIO $sim_stdio
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_stdio" >&5
14113 $as_echo "$sim_stdio" >&6; }
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim trace settings" >&5
14116 $as_echo_n "checking for sim trace settings... " >&6; }
14117 sim_trace
="~TRACE_debug"
14118 # Check whether --enable-sim-trace was given.
14119 if test "${enable_sim_trace+set}" = set; then :
14120 enableval
=$enable_sim_trace; case "${enableval}" in
14121 yes) sim_trace
="-1";;
14122 no
) sim_trace
="0";;
14124 sim_trace
="'(${enableval})'";;
14127 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
14128 if test x
"$sim_trace" = x
; then
14129 sim_trace
="(TRACE_$x"
14131 sim_trace
="${sim_trace}|TRACE_$x"
14134 sim_trace
="$sim_trace)" ;;
14138 cat >>confdefs.h
<<_ACEOF
14139 #define WITH_TRACE $sim_trace
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_trace" >&5
14143 $as_echo "$sim_trace" >&6; }
14146 # Check whether --enable-werror was given.
14147 if test "${enable_werror+set}" = set; then :
14148 enableval
=$enable_werror; case "${enableval}" in
14149 yes | y
) ERROR_ON_WARNING
="yes" ;;
14150 no | n
) ERROR_ON_WARNING
="no" ;;
14151 *) as_fn_error $?
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
14156 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
14157 ERROR_ON_WARNING
=yes
14161 if test "${ERROR_ON_WARNING}" = yes ; then
14162 WERROR_CFLAGS
="-Werror"
14165 build_warnings
="-Wall -Wdeclaration-after-statement -Wpointer-arith \
14167 -Wno-unused -Wunused-value -Wunused-function \
14168 -Wno-switch -Wno-char-subscripts -Wmissing-prototypes
14169 -Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type \
14170 -Wold-style-declaration -Wold-style-definition"
14172 # Enable -Wno-format by default when using gcc on mingw since many
14173 # GCC versions complain about %I64.
14175 *-*-mingw32*) build_warnings
="$build_warnings -Wno-format" ;;
14176 *) build_warnings
="$build_warnings -Wformat-nonliteral" ;;
14179 # Check whether --enable-build-warnings was given.
14180 if test "${enable_build_warnings+set}" = set; then :
14181 enableval
=$enable_build_warnings; case "${enableval}" in
14183 no
) build_warnings
="-w";;
14184 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
14185 build_warnings
="${build_warnings} ${t}";;
14186 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
14187 build_warnings
="${t} ${build_warnings}";;
14188 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
14190 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
14191 echo "Setting compiler warning flags = $build_warnings" 6>&1
14194 # Check whether --enable-sim-build-warnings was given.
14195 if test "${enable_sim_build_warnings+set}" = set; then :
14196 enableval
=$enable_sim_build_warnings; case "${enableval}" in
14198 no
) build_warnings
="-w";;
14199 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
14200 build_warnings
="${build_warnings} ${t}";;
14201 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
14202 build_warnings
="${t} ${build_warnings}";;
14203 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
14205 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
14206 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
14210 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler warning flags" >&5
14213 $as_echo_n "checking compiler warning flags... " >&6; }
14214 # Separate out the -Werror flag as some files just cannot be
14215 # compiled with it enabled.
14216 for w
in ${build_warnings}; do
14218 -Werr*) WERROR_CFLAGS
=-Werror ;;
14219 *) # Check that GCC accepts it
14220 saved_CFLAGS
="$CFLAGS"
14221 CFLAGS
="$CFLAGS -Werror $w"
14222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14223 /* end confdefs.h. */
14233 if ac_fn_c_try_compile
"$LINENO"; then :
14234 WARN_CFLAGS
="${WARN_CFLAGS} $w"
14236 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14237 CFLAGS
="$saved_CFLAGS"
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS} ${WERROR_CFLAGS}" >&5
14241 $as_echo "${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6; }
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sim rx should be cycle accurate
" >&5
14252 $as_echo_n "checking whether sim rx should be cycle accurate...
" >&6; }
14253 # Check whether --enable-sim-rx-cycle-accurate was given.
14254 if test "${enable_sim_rx_cycle_accurate+set}" = set; then :
14255 enableval=$enable_sim_rx_cycle_accurate; case "${enableval}" in
14257 *) as_fn_error $? "bad value
${enableval} given
for --enable-sim-rx-cycle-accurate option
" "$LINENO" 5 ;;
14261 if test "x
${enable_sim_rx_cycle_accurate}" != xno; then
14262 SIM_RX_CYCLE_ACCURATE_FLAGS="-DCYCLE_ACCURATE"
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14264 $as_echo "yes" >&6; }
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14267 $as_echo "no
" >&6; }
14272 ac_config_files="$ac_config_files arch-subdir.mk Makefile
"
14274 cat >confcache <<\_ACEOF
14275 # This file is a shell script that caches the results of configure
14276 # tests run on this system so they can be shared between configure
14277 # scripts and configure runs, see configure's option --config-cache.
14278 # It is not useful on other systems. If it contains results you don't
14279 # want to keep, you may remove or edit it.
14281 # config.status only pays attention to the cache file if you give it
14282 # the --recheck option to rerun configure.
14284 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14285 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14286 # following values.
14290 # The following way of writing the cache mishandles newlines in values,
14291 # but we know of no workaround that is simple, portable, and efficient.
14292 # So, we kill variables containing newlines.
14293 # Ultrix sh set writes to stderr and can't be redirected directly,
14294 # and sets the high bit in the cache file unless we assign to the vars.
14296 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14297 eval ac_val=\$$ac_var
14301 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14302 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14305 _ | IFS | as_nl) ;; #(
14306 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14307 *) { eval $ac_var=; unset $ac_var;} ;;
14313 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14314 *${as_nl}ac_space=\ *)
14315 # `set' does not quote correctly, so add quotes: double-quote
14316 # substitution turns \\\\ into \\, and sed turns \\ into \.
14319 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14322 # `set' quotes correctly as required by POSIX, so do not add quotes.
14323 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14332 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14334 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14336 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14337 if test -w "$cache_file"; then
14338 if test "x
$cache_file" != "x
/dev
/null
"; then
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14340 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14341 if test ! -f "$cache_file" || test -h "$cache_file"; then
14342 cat confcache >"$cache_file"
14344 case $cache_file in #(
14346 mv -f confcache "$cache_file"$$ &&
14347 mv -f "$cache_file"$$ "$cache_file" ;; #(
14349 mv -f confcache "$cache_file" ;;
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14355 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14360 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14361 # Let make expand exec_prefix.
14362 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14364 DEFS=-DHAVE_CONFIG_H
14369 for ac_i in : $LIBOBJS; do test "x
$ac_i" = x: && continue
14370 # 1. Remove the extension, and $U if already installed.
14371 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14372 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14373 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14374 # will be set to the directory where LIBOBJS objects are built.
14375 as_fn_append ac_libobjs " \
${LIBOBJDIR}$ac_i\
$U.
$ac_objext"
14376 as_fn_append ac_ltlibobjs " \
${LIBOBJDIR}$ac_i"'$U.lo'
14378 LIBOBJS=$ac_libobjs
14380 LTLIBOBJS=$ac_ltlibobjs
14384 if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
14385 as_fn_error $? "conditional
\"PLUGINS
\" was never defined.
14386 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
14388 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14389 as_fn_error $? "conditional
\"MAINTAINER_MODE
\" was never defined.
14390 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure
" >&5
14393 $as_echo_n "checking that generated files are newer than configure...
" >&6; }
14394 if test -n "$am_sleep_pid"; then
14395 # Hide warnings about reused PIDs.
14396 wait $am_sleep_pid 2>/dev/null
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: done" >&5
14399 $as_echo "done" >&6; }
14400 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14401 as_fn_error $? "conditional
\"AMDEP
\" was never defined.
14402 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
14404 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14405 as_fn_error $? "conditional
\"am__fastdepCC
\" was never defined.
14406 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
14408 if test -n "$EXEEXT"; then
14410 am__EXEEXT_FALSE='#'
14412 am__EXEEXT_TRUE='#'
14416 if test -z "${SIM_ENABLE_IGEN_TRUE}" && test -z "${SIM_ENABLE_IGEN_FALSE}"; then
14417 as_fn_error $? "conditional
\"SIM_ENABLE_IGEN
\" was never defined.
14418 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
14420 if test -z "${SIM_ENABLE_HW_TRUE}" && test -z "${SIM_ENABLE_HW_FALSE}"; then
14421 as_fn_error $? "conditional
\"SIM_ENABLE_HW
\" was never defined.
14422 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
14425 : "${CONFIG_STATUS=./config.status}"
14427 ac_clean_files_save=$ac_clean_files
14428 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$CONFIG_STATUS" >&5
14430 $as_echo "$as_me: creating
$CONFIG_STATUS" >&6;}
14432 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14434 # Generated by $as_me.
14435 # Run this file to recreate the current configuration.
14436 # Compiler output produced by configure, useful for debugging
14437 # configure, is in config.log if it exists.
14440 ac_cs_recheck=false
14443 SHELL=\${CONFIG_SHELL-$SHELL}
14446 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14447 ## -------------------- ##
14448 ## M4sh Initialization. ##
14449 ## -------------------- ##
14451 # Be more Bourne compatible
14452 DUALCASE=1; export DUALCASE # for MKS sh
14453 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14456 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14457 # is contrary to our usage. Disable this feature.
14458 alias -g '${1+"$@"}'='"$@
"'
14459 setopt NO_GLOB_SUBST
14461 case `(set -o) 2>/dev/null` in #(
14473 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14474 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14475 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14476 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14477 # Prefer a ksh shell builtin over an external printf program on Solaris,
14478 # but without wasting forks for bash or zsh.
14479 if test -z "$BASH_VERSION$ZSH_VERSION" \
14480 && (test "X
`print -r -- $as_echo`" = "X
$as_echo") 2>/dev/null; then
14481 as_echo='print -r --'
14482 as_echo_n='print -rn --'
14483 elif (test "X
`printf %s $as_echo`" = "X
$as_echo") 2>/dev/null; then
14484 as_echo='printf %s\n'
14485 as_echo_n='printf %s'
14487 if test "X
`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n
$as_echo"; then
14488 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14489 as_echo_n='/usr/ucb/echo -n'
14491 as_echo_body='eval expr "X
$1" : "X
\\(.
*\\)"'
14492 as_echo_n_body='eval
14496 expr "X
$arg" : "X
\\(.
*\\)$as_nl";
14497 arg=`expr "X
$arg" : ".
*$as_nl\\(.
*\\)"`;;
14499 expr "X
$arg" : "X
\\(.
*\\)" | tr -d "$as_nl"
14501 export as_echo_n_body
14502 as_echo_n='sh -c $as_echo_n_body as_echo'
14504 export as_echo_body
14505 as_echo='sh -c $as_echo_body as_echo'
14508 # The user is always right.
14509 if test "${PATH_SEPARATOR+set}" != set; then
14511 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14512 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14519 # We need space, tab and new line, in precisely that order. Quoting is
14520 # there to prevent editors from complaining about space-tab.
14521 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14522 # splitting by setting IFS to empty value.)
14525 # Find who we are. Look in the path if we contain no directory separator.
14528 *[\\/]* ) as_myself=$0 ;;
14529 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14530 for as_dir in $PATH
14533 test -z "$as_dir" && as_dir=.
14534 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14540 # We did not find ourselves, most probably we were run as `sh COMMAND'
14541 # in which case we are not to be found in the path.
14542 if test "x
$as_myself" = x; then
14545 if test ! -f "$as_myself"; then
14546 $as_echo "$as_myself: error
: cannot
find myself
; rerun with an absolute
file name
" >&2
14550 # Unset variables that we do not need and which cause bugs (e.g. in
14551 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "||
exit 1"
14552 # suppresses any "Segmentation fault
" message there. '((' could
14553 # trigger a bug in pdksh 5.2.14.
14554 for as_var in BASH_ENV ENV MAIL MAILPATH
14555 do eval test x\${$as_var+set} = xset \
14556 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14569 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14572 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14573 # ----------------------------------------
14574 # Output "`basename $0`: error
: ERROR
" to stderr. If LINENO and LOG_FD are
14575 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14576 # script with STATUS, using 1 if that was 0.
14579 as_status=$1; test $as_status -eq 0 && as_status=1
14581 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14582 $as_echo "$as_me:${as_lineno-$LINENO}: error
: $2" >&$4
14584 $as_echo "$as_me: error
: $2" >&2
14585 as_fn_exit $as_status
14589 # as_fn_set_status STATUS
14590 # -----------------------
14591 # Set $? to STATUS, without forking.
14592 as_fn_set_status ()
14595 } # as_fn_set_status
14597 # as_fn_exit STATUS
14598 # -----------------
14599 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14603 as_fn_set_status $1
14609 # Portably unset VAR.
14612 { eval $1=; unset $1;}
14614 as_unset=as_fn_unset
14615 # as_fn_append VAR VALUE
14616 # ----------------------
14617 # Append the text in VALUE to the end of the definition contained in VAR. Take
14618 # advantage of any shell optimizations that allow amortized linear growth over
14619 # repeated appends, instead of the typical quadratic growth present in naive
14621 if (eval "as_var
=1; as_var
+=2; test x\
$as_var = x12
") 2>/dev/null; then :
14622 eval 'as_fn_append ()
14633 # as_fn_arith ARG...
14634 # ------------------
14635 # Perform arithmetic evaluation on the ARGs, and store the result in the
14636 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14637 # must be portable across $(()) and expr.
14638 if (eval "test \$
(( 1 + 1 )) = 2") 2>/dev/null; then :
14639 eval 'as_fn_arith ()
14646 as_val=`expr "$@
" || test $? -eq 1`
14651 if expr a : '\(a\)' >/dev/null 2>&1 &&
14652 test "X
`expr 00001 : '.*\(...\)'`" = X001; then
14658 if (basename -- /) >/dev/null 2>&1 && test "X
`basename -- / 2>&1`" = "X
/"; then
14659 as_basename=basename
14664 if (as_dir=`dirname -- /` && test "X
$as_dir" = X/) >/dev/null 2>&1; then
14670 as_me=`$as_basename -- "$0" ||
14671 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14672 X"$0" : 'X\(//\)$' \| \
14673 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14675 sed '/^.*\/\([^/][^/]*\)\/*$/{
14689 # Avoid depending upon Character Ranges.
14690 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14691 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14692 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14693 as_cr_digits='0123456789'
14694 as_cr_alnum=$as_cr_Letters$as_cr_digits
14696 ECHO_C= ECHO_N= ECHO_T=
14697 case `echo -n x` in #(((((
14699 case `echo 'xy\c'` in
14700 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14702 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14709 rm -f conf$$ conf$$.exe conf$$.file
14710 if test -d conf$$.dir; then
14711 rm -f conf$$.dir/conf$$.file
14714 mkdir conf$$.dir 2>/dev/null
14716 if (echo >conf$$.file) 2>/dev/null; then
14717 if ln -s conf$$.file conf$$ 2>/dev/null; then
14719 # ... but there are two gotchas:
14720 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14721 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14722 # In both cases, we have to default to `cp -pR'.
14723 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14725 elif ln conf$$.file conf$$ 2>/dev/null; then
14733 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14734 rmdir conf$$.dir 2>/dev/null
14739 # Create "$as_dir" as a directory, including parents if necessary.
14744 -*) as_dir=./$as_dir;;
14746 test -d "$as_dir" || eval $as_mkdir_p || {
14750 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s
/'/'\\\\\\\\''/g
"`;; #'(
14751 *) as_qdir=$as_dir;;
14753 as_dirs="'$as_qdir' $as_dirs"
14754 as_dir=`$as_dirname -- "$as_dir" ||
14755 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14756 X"$as_dir" : 'X\(//\)[^/]' \| \
14757 X"$as_dir" : 'X\(//\)$' \| \
14758 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14759 $as_echo X"$as_dir" |
14760 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14764 /^X\(\/\/\)[^/].*/{
14777 test -d "$as_dir" && break
14779 test -z "$as_dirs" || eval "mkdir
$as_dirs"
14780 } || test -d "$as_dir" || as_fn_error $? "cannot create directory
$as_dir"
14784 if mkdir -p . 2>/dev/null; then
14785 as_mkdir_p='mkdir -p "$as_dir"'
14787 test -d ./-p && rmdir ./-p
14792 # as_fn_executable_p FILE
14793 # -----------------------
14794 # Test if FILE is an executable regular file.
14795 as_fn_executable_p ()
14797 test -f "$1" && test -x "$1"
14798 } # as_fn_executable_p
14799 as_test_x='test -x'
14800 as_executable_p=as_fn_executable_p
14802 # Sed expression to map a string onto a valid CPP name.
14803 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14805 # Sed expression to map a string onto a valid variable name.
14806 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14810 ## ----------------------------------- ##
14811 ## Main body of $CONFIG_STATUS script. ##
14812 ## ----------------------------------- ##
14814 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14817 # Save the log message, to keep $0 and so on meaningful, and to
14818 # report actual input values of CONFIG_FILES etc. instead of their
14819 # values after options handling.
14821 This
file was extended by sim
$as_me 0, which was
14822 generated by GNU Autoconf
2.69. Invocation
command line was
14824 CONFIG_FILES
= $CONFIG_FILES
14825 CONFIG_HEADERS
= $CONFIG_HEADERS
14826 CONFIG_LINKS
= $CONFIG_LINKS
14827 CONFIG_COMMANDS
= $CONFIG_COMMANDS
14830 on
`(hostname || uname -n) 2>/dev/null | sed 1q`
14835 case $ac_config_files in *"
14836 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14839 case $ac_config_headers in *"
14840 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14844 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14845 # Files that config.status was made for.
14846 config_files="$ac_config_files"
14847 config_headers="$ac_config_headers"
14848 config_commands="$ac_config_commands"
14852 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14854 \
`$as_me' instantiates files and other configuration actions
14855 from templates according to the current configuration. Unless the files
14856 and actions are specified as TAGs, all are instantiated by default.
14858 Usage: $0 [OPTION]... [TAG]...
14860 -h, --help print this help, then exit
14861 -V, --version print version number and configuration settings, then exit
14862 --config print configuration, then exit
14863 -q, --quiet, --silent
14864 do not print progress messages
14865 -d, --debug don't remove temporary files
14866 --recheck update $as_me by reconfiguring in the same conditions
14867 --file=FILE[:TEMPLATE]
14868 instantiate the configuration file FILE
14869 --header=FILE[:TEMPLATE]
14870 instantiate the configuration header FILE
14872 Configuration files:
14875 Configuration headers:
14878 Configuration commands:
14881 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
14882 sim home page: <https://sourceware.org/gdb/wiki/Sim/>."
14885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14886 ac_cs_config="`$as_echo "$ac_configure_args" |
sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14888 sim config.status 0
14889 configured by $0, generated by GNU Autoconf 2.69,
14890 with options \\"\$ac_cs_config\\"
14892 Copyright (C) 2012 Free Software Foundation, Inc.
14893 This config.status script is free software; the Free Software Foundation
14894 gives unlimited permission to copy, distribute and modify it."
14901 test -n "\$AWK" || AWK=awk
14904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14905 # The default lists apply if the user does not specify any file.
14911 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14912 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14916 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14928 # Handling of the options.
14929 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14931 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14932 $as_echo "$ac_cs_version"; exit ;;
14933 --config | --confi | --conf | --con | --co | --c )
14934 $as_echo "$ac_cs_config"; exit ;;
14935 --debug | --debu | --deb | --de | --d | -d )
14937 --file | --fil | --fi | --f )
14940 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
14941 '') as_fn_error $? "missing file argument" ;;
14943 as_fn_append CONFIG_FILES " '$ac_optarg'"
14944 ac_need_defaults=false;;
14945 --header | --heade | --head | --hea )
14948 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
14950 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14951 ac_need_defaults=false;;
14953 # Conflict between --help and --header
14954 as_fn_error $? "ambiguous option: \`$1'
14955 Try \`$0 --help' for more information.
";;
14956 --help | --hel | -h )
14957 $as_echo "$ac_cs_usage"; exit ;;
14958 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14959 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14962 # This is an error.
14963 -*) as_fn_error $? "unrecognized option
: \
`$1'
14964 Try \`$0 --help' for more information." ;;
14966 *) as_fn_append ac_config_targets " $1"
14967 ac_need_defaults=false ;;
14973 ac_configure_extra_args=
14975 if $ac_cs_silent; then
14977 ac_configure_extra_args="$ac_configure_extra_args --silent"
14981 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14982 if \$ac_cs_recheck; then
14983 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14985 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14986 CONFIG_SHELL='$SHELL'
14987 export CONFIG_SHELL
14992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14996 sed 'h
;s
/.
/-/g
;s
/^...
/## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14997 ## Running $as_me. ##
15003 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15009 # The HP-UX ksh and POSIX shell print the target directory to stdout
15010 # if CDPATH is set.
15011 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15013 sed_quote_subst='$sed_quote_subst'
15014 double_quote_subst='$double_quote_subst'
15015 delay_variable_subst='$delay_variable_subst'
15016 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15017 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15018 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15019 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15020 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15021 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15022 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15023 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15024 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15025 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15026 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15027 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15028 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15029 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15030 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15031 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15032 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15033 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15034 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15035 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15036 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15037 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15038 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15039 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15040 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15041 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15042 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15043 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15044 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15045 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15046 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15047 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15048 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15049 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15050 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15051 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15052 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15053 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15054 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15055 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15056 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15057 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15058 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15059 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15060 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15061 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15062 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15063 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15064 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
15065 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15066 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15067 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15068 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15069 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15070 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15071 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15072 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15073 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15074 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15075 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15076 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15077 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15078 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15079 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15080 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15081 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15082 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15083 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15084 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15085 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15086 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15087 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15088 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15089 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15090 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15091 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15092 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15093 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15094 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15095 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15096 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15097 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15098 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15099 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15100 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15101 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15102 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15103 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15104 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15105 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15106 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15107 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15108 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15109 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15110 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15111 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15112 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15113 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15114 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15115 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15116 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15117 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15118 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15119 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15120 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15121 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15122 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15123 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15124 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15125 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15126 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15127 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15128 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15129 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15130 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15131 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15132 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15133 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15134 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15135 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15138 LTCFLAGS='$LTCFLAGS'
15139 compiler='$compiler_DEFAULT'
15141 # A function that is used when there is no print builtin or printf.
15142 func_fallback_echo ()
15144 eval 'cat <<_LTECHO_EOF
15149 # Quote evaled strings.
15163 deplibs_check_method \
15172 lt_cv_sys_global_symbol_pipe \
15173 lt_cv_sys_global_symbol_to_cdecl \
15174 lt_cv_sys_global_symbol_to_c_name_address \
15175 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15176 lt_prog_compiler_no_builtin_flag \
15177 lt_prog_compiler_wl \
15178 lt_prog_compiler_pic \
15179 lt_prog_compiler_static \
15180 lt_cv_prog_compiler_c_o \
15188 export_dynamic_flag_spec \
15189 whole_archive_flag_spec \
15190 compiler_needs_object \
15192 allow_undefined_flag \
15193 no_undefined_flag \
15194 hardcode_libdir_flag_spec \
15195 hardcode_libdir_flag_spec_ld \
15196 hardcode_libdir_separator \
15201 variables_saved_for_relink \
15203 library_names_spec \
15205 install_override_mode \
15209 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15210 *[\\\\\\\`\\"\\\$]*)
15211 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15214 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15219 # Double-quote double-evaled strings.
15220 for var in reload_cmds \
15221 old_postinstall_cmds \
15222 old_postuninstall_cmds \
15224 extract_expsyms_cmds \
15225 old_archive_from_new_cmds \
15226 old_archive_from_expsyms_cmds \
15228 archive_expsym_cmds \
15230 module_expsym_cmds \
15231 export_symbols_cmds \
15234 postuninstall_cmds \
15236 sys_lib_search_path_spec \
15237 sys_lib_dlsearch_path_spec; do
15238 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15239 *[\\\\\\\`\\"\\\$]*)
15240 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15243 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15248 ac_aux_dir='$ac_aux_dir'
15249 xsi_shell='$xsi_shell'
15250 lt_shell_append='$lt_shell_append'
15252 # See if we are running on zsh, and set the options which allow our
15253 # commands through without removal of \ escapes INIT.
15254 if test -n "\${ZSH_VERSION+set}" ; then
15255 setopt NO_GLOB_SUBST
15261 TIMESTAMP='$TIMESTAMP'
15267 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15268 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15269 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15270 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15271 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15272 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15273 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15274 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15275 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15276 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15277 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15278 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15279 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15280 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15281 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15282 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15283 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15284 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15285 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15286 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15287 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15288 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15289 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15290 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15291 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15292 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15293 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15294 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15295 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15296 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15297 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15298 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15299 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
15303 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15305 # Handling of arguments.
15306 for ac_config_target
in $ac_config_targets
15308 case $ac_config_target in
15309 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
15310 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15311 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15312 "Make-common.sim") CONFIG_FILES
="$CONFIG_FILES Make-common.sim:common/Make-common.in" ;;
15313 "aarch64/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES aarch64/Makefile.sim:aarch64/Makefile.in" ;;
15314 "aarch64/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS aarch64/Makefile" ;;
15315 "depdir-aarch64") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-aarch64" ;;
15316 "arm/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES arm/Makefile.sim:arm/Makefile.in" ;;
15317 "arm/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS arm/Makefile" ;;
15318 "depdir-arm") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-arm" ;;
15319 "avr/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES avr/Makefile.sim:avr/Makefile.in" ;;
15320 "avr/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS avr/Makefile" ;;
15321 "depdir-avr") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-avr" ;;
15322 "depdir-bfin") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-bfin" ;;
15323 "depdir-bpf") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-bpf" ;;
15324 "cr16/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES cr16/Makefile.sim:cr16/Makefile.in" ;;
15325 "cr16/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS cr16/Makefile" ;;
15326 "depdir-cr16") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-cr16" ;;
15327 "depdir-cris") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-cris" ;;
15328 "d10v/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES d10v/Makefile.sim:d10v/Makefile.in" ;;
15329 "d10v/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS d10v/Makefile" ;;
15330 "depdir-d10v") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-d10v" ;;
15331 "depdir-frv") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-frv" ;;
15332 "ft32/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES ft32/Makefile.sim:ft32/Makefile.in" ;;
15333 "ft32/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS ft32/Makefile" ;;
15334 "depdir-ft32") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-ft32" ;;
15335 "h8300/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES h8300/Makefile.sim:h8300/Makefile.in" ;;
15336 "h8300/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS h8300/Makefile" ;;
15337 "depdir-h8300") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-h8300" ;;
15338 "depdir-iq2000") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-iq2000" ;;
15339 "depdir-lm32") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-lm32" ;;
15340 "m32c/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES m32c/Makefile.sim:m32c/Makefile.in" ;;
15341 "m32c/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS m32c/Makefile" ;;
15342 "depdir-m32c") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-m32c" ;;
15343 "depdir-m32r") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-m32r" ;;
15344 "m68hc11/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES m68hc11/Makefile.sim:m68hc11/Makefile.in" ;;
15345 "m68hc11/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS m68hc11/Makefile" ;;
15346 "depdir-m68hc11") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-m68hc11" ;;
15347 "mcore/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES mcore/Makefile.sim:mcore/Makefile.in" ;;
15348 "mcore/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS mcore/Makefile" ;;
15349 "depdir-mcore") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-mcore" ;;
15350 "microblaze/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES microblaze/Makefile.sim:microblaze/Makefile.in" ;;
15351 "microblaze/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS microblaze/Makefile" ;;
15352 "depdir-microblaze") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-microblaze" ;;
15353 "depdir-mips") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-mips" ;;
15354 "depdir-mn10300") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-mn10300" ;;
15355 "moxie/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES moxie/Makefile.sim:moxie/Makefile.in" ;;
15356 "moxie/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS moxie/Makefile" ;;
15357 "depdir-moxie") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-moxie" ;;
15358 "msp430/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES msp430/Makefile.sim:msp430/Makefile.in" ;;
15359 "msp430/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS msp430/Makefile" ;;
15360 "depdir-msp430") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-msp430" ;;
15361 "depdir-or1k") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-or1k" ;;
15362 "pru/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES pru/Makefile.sim:pru/Makefile.in" ;;
15363 "pru/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS pru/Makefile" ;;
15364 "depdir-pru") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-pru" ;;
15365 "depdir-riscv") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-riscv" ;;
15366 "rl78/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES rl78/Makefile.sim:rl78/Makefile.in" ;;
15367 "rl78/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS rl78/Makefile" ;;
15368 "depdir-rl78") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-rl78" ;;
15369 "rx/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES rx/Makefile.sim:rx/Makefile.in" ;;
15370 "rx/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS rx/Makefile" ;;
15371 "depdir-rx") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-rx" ;;
15372 "sh/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES sh/Makefile.sim:sh/Makefile.in" ;;
15373 "sh/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS sh/Makefile" ;;
15374 "depdir-sh") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-sh" ;;
15375 "depdir-erc32") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-erc32" ;;
15376 "depdir-ppc") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-ppc" ;;
15377 "depdir-v850") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-v850" ;;
15378 "example-synacor/Makefile.sim") CONFIG_FILES
="$CONFIG_FILES example-synacor/Makefile.sim:example-synacor/Makefile.in" ;;
15379 "example-synacor/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS example-synacor/Makefile" ;;
15380 "depdir-example-synacor") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir-example-synacor" ;;
15381 "arch-subdir.mk") CONFIG_FILES
="$CONFIG_FILES arch-subdir.mk" ;;
15382 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15384 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15389 # If the user did not use the arguments to specify the items to instantiate,
15390 # then the envvar interface is used. Set only those that are not.
15391 # We use the long form for the default assignment because of an extremely
15392 # bizarre bug on SunOS 4.1.3.
15393 if $ac_need_defaults; then
15394 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15395 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15396 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15399 # Have a temporary directory for convenience. Make it in the build tree
15400 # simply because there is no reason against having it here, and in addition,
15401 # creating and moving files from /tmp can sometimes cause problems.
15402 # Hook for its removal unless debugging.
15403 # Note that there is a small window in which the directory will not be cleaned:
15404 # after its creation but before its name has been assigned to `$tmp'.
15408 trap 'exit_status=$?
15409 : "${ac_tmp:=$tmp}"
15410 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15412 trap 'as_fn_exit 1' 1 2 13 15
15414 # Create a (secure) tmp directory for tmp files.
15417 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15421 tmp
=.
/conf$$
-$RANDOM
15422 (umask 077 && mkdir
"$tmp")
15423 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15426 # Set up the scripts for CONFIG_FILES section.
15427 # No need to generate them if there are no CONFIG_FILES.
15428 # This happens for instance with `./config.status config.h'.
15429 if test -n "$CONFIG_FILES"; then
15432 ac_cr
=`echo X | tr X '\015'`
15433 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15434 # But we know of no other shell where ac_cr would be empty at this
15435 # point, so we can use a bashism as a fallback.
15436 if test "x$ac_cr" = x
; then
15437 eval ac_cr
=\$
\'\\r
\'
15439 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15440 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15443 ac_cs_awk_cr
=$ac_cr
15446 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15451 echo "cat >conf$$subs.awk <<_ACEOF" &&
15452 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15454 } >conf$$subs.sh ||
15455 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15456 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15458 for ac_last_try in false false false false false :; do
15459 . ./conf$$subs.sh ||
15460 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15462 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15463 if test $ac_delim_n = $ac_delim_num; then
15465 elif $ac_last_try; then
15466 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15468 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15471 rm -f conf$$subs.sh
15473 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15474 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15478 s/^/S["/; s
/!.
*/"]=/
15488 s/\(.\{148\}\)..*/\1/
15490 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15495 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15502 s/\(.\{148\}\)..*/\1/
15504 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15508 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15513 ' <conf$$subs.awk | sed '
15518 ' >>$CONFIG_STATUS || ac_write_fail=1
15519 rm -f conf$$subs.awk
15520 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15522 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15523 for (key in S) S_is_set[key] = 1
15529 nfields = split(line, field, "@
")
15531 len = length(field[1])
15532 for (i = 2; i < nfields; i++) {
15534 keylen = length(key)
15535 if (S_is_set[key]) {
15537 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15538 len += length(value) + length(field[++i])
15549 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15550 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15551 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15554 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15555 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15558 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15559 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15560 # trailing colons and then remove the whole line if VPATH becomes empty
15561 # (actually we leave an empty line to preserve line numbers).
15562 if test "x
$srcdir" = x.; then
15563 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15581 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15582 fi # test -n "$CONFIG_FILES"
15584 # Set up the scripts for CONFIG_HEADERS section.
15585 # No need to generate them if there are no CONFIG_HEADERS.
15586 # This happens for instance with `./config.status Makefile'.
15587 if test -n "$CONFIG_HEADERS"; then
15588 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15592 # Transform confdefs.h into an awk script `defines.awk', embedded as
15593 # here-document in config.status, that substitutes the proper values into
15594 # config.h.in to produce config.h.
15596 # Create a delimiter string that does not exist in confdefs.h, to ease
15597 # handling of long lines.
15599 for ac_last_try in false false :; do
15600 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15601 if test -z "$ac_tt"; then
15603 elif $ac_last_try; then
15604 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15606 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15610 # For the awk script, D is an array of macro values keyed by name,
15611 # likewise P contains macro parameters if any. Preserve backslash
15612 # newline sequences.
15614 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15616 s/.\{148\}/&'"$ac_delim"'/g
15619 s/^[ ]*#[ ]*define[ ][ ]*/ /
15626 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15628 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15632 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15633 D["\
1"]=" \
3\\\\\\n
"\\/p
15635 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15640 s/.\{148\}/&'"$ac_delim"'/g
15645 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15648 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15650 ' <confdefs.h | sed '
15651 s/'"$ac_delim"'/"\\\
15652 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15655 for (key in D) D_is_set[key] = 1
15658 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15660 split(line, arg, " ")
15661 if (arg[1] == "#") {
15665 defundef
= substr
(arg
[1], 2)
15668 split(mac1
, mac2
, "(") #)
15670 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15671 if (D_is_set
[macro
]) {
15672 # Preserve the white space surrounding the "#".
15673 print prefix
"define", macro P
[macro
] D
[macro
]
15676 # Replace #undef with comments. This is necessary, for example,
15677 # in the case of _POSIX_SOURCE, which is predefined and required
15678 # on some systems where configure will not decide to define it.
15679 if (defundef
== "undef") {
15680 print
"/*", prefix defundef
, macro
, "*/"
15688 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15689 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15690 fi # test -n "$CONFIG_HEADERS"
15693 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15698 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15700 case $ac_mode$ac_tag in
15702 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15703 :[FH
]-) ac_tag
=-:-;;
15704 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15721 -) ac_f
="$ac_tmp/stdin";;
15722 *) # Look for the file first in the build tree, then in the source tree
15723 # (if the path is not absolute). The absolute path cannot be DOS-style,
15724 # because $ac_f cannot contain `:'.
15728 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15730 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15732 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15733 as_fn_append ac_file_inputs
" '$ac_f'"
15736 # Let's still pretend it is `configure' which instantiates (i.e., don't
15737 # use $as_me), people would be surprised to read:
15738 # /* config.h. Generated by config.status. */
15739 configure_input
='Generated from '`
15740 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15742 if test x
"$ac_file" != x-
; then
15743 configure_input
="$ac_file. $configure_input"
15744 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15745 $as_echo "$as_me: creating $ac_file" >&6;}
15747 # Neutralize special characters interpreted by sed in replacement strings.
15748 case $configure_input in #(
15749 *\
&* |
*\|
* |
*\\* )
15750 ac_sed_conf_input
=`$as_echo "$configure_input" |
15751 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15752 *) ac_sed_conf_input
=$configure_input;;
15756 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15757 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15762 ac_dir
=`$as_dirname -- "$ac_file" ||
15763 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15764 X"$ac_file" : 'X\(//\)[^/]' \| \
15765 X"$ac_file" : 'X\(//\)$' \| \
15766 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15767 $as_echo X"$ac_file" |
15768 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15772 /^X\(\/\/\)[^/].*/{
15785 as_dir
="$ac_dir"; as_fn_mkdir_p
15789 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15791 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15792 # A ".." for each directory in $ac_dir_suffix.
15793 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15794 case $ac_top_builddir_sub in
15795 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15796 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15799 ac_abs_top_builddir
=$ac_pwd
15800 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15801 # for backward compatibility:
15802 ac_top_builddir
=$ac_top_build_prefix
15805 .
) # We are building in place.
15807 ac_top_srcdir
=$ac_top_builddir_sub
15808 ac_abs_top_srcdir
=$ac_pwd ;;
15809 [\\/]* | ?
:[\\/]* ) # Absolute name.
15810 ac_srcdir
=$srcdir$ac_dir_suffix;
15811 ac_top_srcdir
=$srcdir
15812 ac_abs_top_srcdir
=$srcdir ;;
15813 *) # Relative name.
15814 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15815 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15816 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15818 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15828 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15829 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15831 ac_MKDIR_P
=$MKDIR_P
15833 [\\/$
]* | ?
:[\\/]* ) ;;
15834 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15838 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15839 # If the template does not know about datarootdir, expand it.
15840 # FIXME: This hack should be removed a few years after 2.60.
15841 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15852 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15853 *datarootdir
*) ac_datarootdir_seen
=yes;;
15854 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15856 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15858 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15859 ac_datarootdir_hack='
15860 s&@datadir@&$datadir&g
15861 s&@docdir@&$docdir&g
15862 s&@infodir@&$infodir&g
15863 s&@localedir@&$localedir&g
15864 s&@mandir@&$mandir&g
15865 s&\\\${datarootdir}&$datarootdir&g' ;;
15869 # Neutralize VPATH when `$srcdir' = `.'.
15870 # Shell code in configure.ac might set extrasub.
15871 # FIXME: do we really want to maintain this feature?
15872 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15873 ac_sed_extra="$ac_vpsub
15876 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15878 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15879 s|@configure_input@|
$ac_sed_conf_input|
;t t
15880 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15881 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15882 s
&@srcdir@
&$ac_srcdir&;t t
15883 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15884 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15885 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15886 s
&@builddir@
&$ac_builddir&;t t
15887 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15888 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15889 s
&@INSTALL@
&$ac_INSTALL&;t t
15890 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15891 $ac_datarootdir_hack
15893 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15894 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15896 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15897 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15898 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15899 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15901 which seems to be undefined. Please make sure it is defined" >&5
15902 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15903 which seems to be undefined. Please make sure it is defined" >&2;}
15905 rm -f "$ac_tmp/stdin"
15907 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15908 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15910 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15916 if test x"$ac_file" != x-; then
15918 $as_echo "/* $configure_input */" \
15919 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15920 } >"$ac_tmp/config.h" \
15921 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15922 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15923 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15924 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15927 mv "$ac_tmp/config.h" "$ac_file" \
15928 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15931 $as_echo "/* $configure_input */" \
15932 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15933 || as_fn_error $? "could not create -" "$LINENO" 5
15935 # Compute "$ac_file"'s index
in $config_headers.
15938 for _am_header
in $config_headers :; do
15939 case $_am_header in
15940 $_am_arg |
$_am_arg:* )
15943 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15946 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15947 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15948 X"$_am_arg" : 'X\(//\)[^/]' \| \
15949 X"$_am_arg" : 'X\(//\)$' \| \
15950 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15951 $as_echo X"$_am_arg" |
15952 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15956 /^X\(\/\/\)[^/].*/{
15968 s/.*/./; q'`/stamp-h
$_am_stamp_count
15971 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15972 $as_echo "$as_me: executing $ac_file commands" >&6;}
15977 case $ac_file$ac_mode in
15980 # See if we are running on zsh, and set the options which allow our
15981 # commands through without removal of \ escapes.
15982 if test -n "${ZSH_VERSION+set}" ; then
15983 setopt NO_GLOB_SUBST
15986 cfgfile
="${ofile}T"
15987 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15990 cat <<_LT_EOF >> "$cfgfile"
15993 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15994 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15995 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15996 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15998 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15999 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16000 # Written by Gordon Matzigkeit, 1996
16002 # This file is part of GNU Libtool.
16004 # GNU Libtool is free software; you can redistribute it and/or
16005 # modify it under the terms of the GNU General Public License as
16006 # published by the Free Software Foundation; either version 2 of
16007 # the License, or (at your option) any later version.
16009 # As a special exception to the GNU General Public License,
16010 # if you distribute this file as part of a program or library that
16011 # is built using GNU Libtool, you may include this file under the
16012 # same distribution terms that you use for the rest of that program.
16014 # GNU Libtool is distributed in the hope that it will be useful,
16015 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16016 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16017 # GNU General Public License for more details.
16019 # You should have received a copy of the GNU General Public License
16020 # along with GNU Libtool; see the file COPYING. If not, a copy
16021 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16022 # obtained by writing to the Free Software Foundation, Inc.,
16023 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16026 # The names of the tagged configurations supported by this script.
16029 # ### BEGIN LIBTOOL CONFIG
16031 # Which release of libtool.m4 was used?
16032 macro_version=$macro_version
16033 macro_revision=$macro_revision
16035 # Whether or not to build shared libraries.
16036 build_libtool_libs=$enable_shared
16038 # Whether or not to build static libraries.
16039 build_old_libs=$enable_static
16041 # What type of objects to build.
16044 # Whether or not to optimize for fast installation.
16045 fast_install=$enable_fast_install
16047 # Shell to use when invoking shell scripts.
16050 # An echo program that protects backslashes.
16054 host_alias=$host_alias
16058 # The build system.
16059 build_alias=$build_alias
16063 # A sed program that does not truncate output.
16066 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16067 Xsed="\$SED -e 1s/^X//"
16069 # A grep program that handles long lines.
16075 # A literal string matcher.
16078 # A BSD- or MS-compatible name lister.
16081 # Whether we need soft or hard links.
16084 # What is the maximum length of a command?
16085 max_cmd_len=$max_cmd_len
16087 # Object file suffix (normally "o").
16090 # Executable file suffix (normally "").
16093 # whether the shell understands "unset".
16096 # turn spaces into newlines.
16099 # turn newlines into spaces.
16102 # An object symbol dumper.
16103 OBJDUMP=$lt_OBJDUMP
16105 # Method to check whether dependent libraries are shared objects.
16106 deplibs_check_method=$lt_deplibs_check_method
16108 # Command to use when deplibs_check_method == "file_magic".
16109 file_magic_cmd=$lt_file_magic_cmd
16113 AR_FLAGS=$lt_AR_FLAGS
16115 # A symbol stripping program.
16118 # Commands used to install an old-style archive.
16120 old_postinstall_cmds=$lt_old_postinstall_cmds
16121 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16123 # Whether to use a lock for old archive extraction.
16124 lock_old_archive_extraction=$lock_old_archive_extraction
16129 # LTCC compiler flags.
16130 LTCFLAGS=$lt_CFLAGS
16132 # Take the output of nm and produce a listing of raw symbols and C names.
16133 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16135 # Transform the output of nm in a proper C declaration.
16136 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16138 # Transform the output of nm in a C name address pair.
16139 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16141 # Transform the output of nm in a C name address pair when lib prefix is needed.
16142 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16144 # The name of the directory that contains temporary libtool files.
16147 # Used to examine libraries when file_magic_cmd begins with "file".
16148 MAGIC_CMD=$MAGIC_CMD
16150 # Must we lock files when doing compilation?
16151 need_locks=$lt_need_locks
16153 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16154 DSYMUTIL=$lt_DSYMUTIL
16156 # Tool to change global to local symbols on Mac OS X.
16159 # Tool to manipulate fat objects and archives on Mac OS X.
16162 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16165 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16166 OTOOL64=$lt_OTOOL64
16168 # Old archive suffix (normally "a").
16171 # Shared library suffix (normally ".so").
16172 shrext_cmds=$lt_shrext_cmds
16174 # The commands to extract the exported symbol list from a shared archive.
16175 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16177 # Variables whose values should be saved in libtool wrapper scripts and
16178 # restored at link time.
16179 variables_saved_for_relink=$lt_variables_saved_for_relink
16181 # Do we need the "lib" prefix for modules?
16182 need_lib_prefix=$need_lib_prefix
16184 # Do we need a version for libraries?
16185 need_version=$need_version
16187 # Library versioning type.
16188 version_type=$version_type
16190 # Shared library runtime path variable.
16191 runpath_var=$runpath_var
16193 # Shared library path variable.
16194 shlibpath_var=$shlibpath_var
16196 # Is shlibpath searched before the hard-coded library search path?
16197 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16199 # Format of library name prefix.
16200 libname_spec=$lt_libname_spec
16202 # List of archive names. First name is the real one, the rest are links.
16203 # The last name is the one that the linker finds with -lNAME
16204 library_names_spec=$lt_library_names_spec
16206 # The coded name of the library, if different from the real name.
16207 soname_spec=$lt_soname_spec
16209 # Permission mode override for installation of shared libraries.
16210 install_override_mode=$lt_install_override_mode
16212 # Command to use after installation of a shared archive.
16213 postinstall_cmds=$lt_postinstall_cmds
16215 # Command to use after uninstallation of a shared archive.
16216 postuninstall_cmds=$lt_postuninstall_cmds
16218 # Commands used to finish a libtool library installation in a directory.
16219 finish_cmds=$lt_finish_cmds
16221 # As "finish_cmds", except a single script fragment to be evaled but
16223 finish_eval=$lt_finish_eval
16225 # Whether we should hardcode library paths into libraries.
16226 hardcode_into_libs=$hardcode_into_libs
16228 # Compile-time system search path for libraries.
16229 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16231 # Run-time system search path for libraries.
16232 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16234 # Whether dlopen is supported.
16235 dlopen_support=$enable_dlopen
16237 # Whether dlopen of programs is supported.
16238 dlopen_self=$enable_dlopen_self
16240 # Whether dlopen of statically linked programs is supported.
16241 dlopen_self_static=$enable_dlopen_self_static
16243 # Commands to strip libraries.
16244 old_striplib=$lt_old_striplib
16245 striplib=$lt_striplib
16248 # The linker used to build libraries.
16251 # How to create reloadable object files.
16252 reload_flag=$lt_reload_flag
16253 reload_cmds=$lt_reload_cmds
16255 # Commands used to build an old-style archive.
16256 old_archive_cmds=$lt_old_archive_cmds
16258 # A language specific compiler.
16261 # Is the compiler the GNU compiler?
16264 # Compiler flag to turn off builtin functions.
16265 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16267 # How to pass a linker flag through the compiler.
16268 wl=$lt_lt_prog_compiler_wl
16270 # Additional compiler flags for building library objects.
16271 pic_flag=$lt_lt_prog_compiler_pic
16273 # Compiler flag to prevent dynamic linking.
16274 link_static_flag=$lt_lt_prog_compiler_static
16276 # Does compiler simultaneously support -c and -o options?
16277 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16279 # Whether or not to add -lc for building shared libraries.
16280 build_libtool_need_lc=$archive_cmds_need_lc
16282 # Whether or not to disallow shared libs when runtime libs are static.
16283 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16285 # Compiler flag to allow reflexive dlopens.
16286 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16288 # Compiler flag to generate shared objects directly from archives.
16289 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16291 # Whether the compiler copes with passing no objects directly.
16292 compiler_needs_object=$lt_compiler_needs_object
16294 # Create an old-style archive from a shared archive.
16295 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16297 # Create a temporary old-style archive to link instead of a shared archive.
16298 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16300 # Commands used to build a shared archive.
16301 archive_cmds=$lt_archive_cmds
16302 archive_expsym_cmds=$lt_archive_expsym_cmds
16304 # Commands used to build a loadable module if different from building
16305 # a shared archive.
16306 module_cmds=$lt_module_cmds
16307 module_expsym_cmds=$lt_module_expsym_cmds
16309 # Whether we are building with GNU ld or not.
16310 with_gnu_ld=$lt_with_gnu_ld
16312 # Flag that allows shared libraries with undefined symbols to be built.
16313 allow_undefined_flag=$lt_allow_undefined_flag
16315 # Flag that enforces no undefined symbols.
16316 no_undefined_flag=$lt_no_undefined_flag
16318 # Flag to hardcode \$libdir into a binary during linking.
16319 # This must work even if \$libdir does not exist
16320 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16322 # If ld is used when linking, flag to hardcode \$libdir into a binary
16323 # during linking. This must work even if \$libdir does not exist.
16324 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16326 # Whether we need a single "-rpath" flag with a separated argument.
16327 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16329 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16330 # DIR into the resulting binary.
16331 hardcode_direct=$hardcode_direct
16333 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16334 # DIR into the resulting binary and the resulting library dependency is
16335 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16336 # library is relocated.
16337 hardcode_direct_absolute=$hardcode_direct_absolute
16339 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16340 # into the resulting binary.
16341 hardcode_minus_L=$hardcode_minus_L
16343 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16344 # into the resulting binary.
16345 hardcode_shlibpath_var=$hardcode_shlibpath_var
16347 # Set to "yes" if building a shared library automatically hardcodes DIR
16348 # into the library and all subsequent libraries and executables linked
16350 hardcode_automatic=$hardcode_automatic
16352 # Set to yes if linker adds runtime paths of dependent libraries
16353 # to runtime path list.
16354 inherit_rpath=$inherit_rpath
16356 # Whether libtool must link a program against all its dependency libraries.
16357 link_all_deplibs=$link_all_deplibs
16359 # Fix the shell variable \$srcfile for the compiler.
16360 fix_srcfile_path=$lt_fix_srcfile_path
16362 # Set to "yes" if exported symbols are required.
16363 always_export_symbols=$always_export_symbols
16365 # The commands to list exported symbols.
16366 export_symbols_cmds=$lt_export_symbols_cmds
16368 # Symbols that should not be listed in the preloaded symbols.
16369 exclude_expsyms=$lt_exclude_expsyms
16371 # Symbols that must always be exported.
16372 include_expsyms=$lt_include_expsyms
16374 # Commands necessary for linking programs (against libraries) with templates.
16375 prelink_cmds=$lt_prelink_cmds
16377 # Specify filename containing input files.
16378 file_list_spec=$lt_file_list_spec
16380 # How to hardcode a shared library path into an executable.
16381 hardcode_action=$hardcode_action
16383 # ### END LIBTOOL CONFIG
16389 cat <<\_LT_EOF
>> "$cfgfile"
16390 # AIX sometimes has problems with the GCC collect2 program. For some
16391 # reason, if we set the COLLECT_NAMES environment variable, the problems
16392 # vanish in a puff of smoke.
16393 if test "X${COLLECT_NAMES+set}" != Xset
; then
16395 export COLLECT_NAMES
16402 ltmain
="$ac_aux_dir/ltmain.sh"
16405 # We use sed instead of cat because bash on DJGPP gets confused if
16406 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16407 # text mode, it properly converts lines to CR/LF. This bash problem
16408 # is reportedly fixed, but why not run on old versions too?
16409 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16410 ||
(rm -f "$cfgfile"; exit 1)
16414 cat << \_LT_EOF
>> "$cfgfile"
16416 # func_dirname file append nondir_replacement
16417 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16418 # otherwise set result to NONDIR_REPLACEMENT.
16422 */*) func_dirname_result
="${1%/*}${2}" ;;
16423 * ) func_dirname_result
="${3}" ;;
16427 # func_basename file
16430 func_basename_result
="${1##*/}"
16433 # func_dirname_and_basename file append nondir_replacement
16434 # perform func_basename and func_dirname in a single function
16436 # dirname: Compute the dirname of FILE. If nonempty,
16437 # add APPEND to the result, otherwise set result
16438 # to NONDIR_REPLACEMENT.
16439 # value returned in "$func_dirname_result"
16440 # basename: Compute filename of FILE.
16441 # value retuned in "$func_basename_result"
16442 # Implementation must be kept synchronized with func_dirname
16443 # and func_basename. For efficiency, we do not delegate to
16444 # those functions but instead duplicate the functionality here.
16445 func_dirname_and_basename
()
16448 */*) func_dirname_result
="${1%/*}${2}" ;;
16449 * ) func_dirname_result
="${3}" ;;
16451 func_basename_result
="${1##*/}"
16454 # func_stripname prefix suffix name
16455 # strip PREFIX and SUFFIX off of NAME.
16456 # PREFIX and SUFFIX must not contain globbing or regex special
16457 # characters, hashes, percent signs, but SUFFIX may contain a leading
16458 # dot (in which case that matches only a dot).
16461 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16462 # positional parameters, so assign one to ordinary parameter first.
16463 func_stripname_result
=${3}
16464 func_stripname_result
=${func_stripname_result#"${1}"}
16465 func_stripname_result
=${func_stripname_result%"${2}"}
16471 func_opt_split_opt
=${1%%=*}
16472 func_opt_split_arg
=${1#*=}
16479 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16480 *) func_lo2o_result
=${1} ;;
16484 # func_xform libobj-or-source
16487 func_xform_result
=${1%.*}.lo
16490 # func_arith arithmetic-term...
16493 func_arith_result
=$
(( $
* ))
16497 # STRING may not start with a hyphen.
16500 func_len_result
=${#1}
16505 *) # Bourne compatible functions.
16506 cat << \_LT_EOF
>> "$cfgfile"
16508 # func_dirname file append nondir_replacement
16509 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16510 # otherwise set result to NONDIR_REPLACEMENT.
16513 # Extract subdirectory from the argument.
16514 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
16515 if test "X$func_dirname_result" = "X${1}"; then
16516 func_dirname_result
="${3}"
16518 func_dirname_result
="$func_dirname_result${2}"
16522 # func_basename file
16525 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
16529 # func_stripname prefix suffix name
16530 # strip PREFIX and SUFFIX off of NAME.
16531 # PREFIX and SUFFIX must not contain globbing or regex special
16532 # characters, hashes, percent signs, but SUFFIX may contain a leading
16533 # dot (in which case that matches only a dot).
16534 # func_strip_suffix prefix name
16538 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16539 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16544 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16545 my_sed_long_arg
='1s/^-[^=]*=//'
16550 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16551 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16557 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
16560 # func_xform libobj-or-source
16563 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16566 # func_arith arithmetic-term...
16569 func_arith_result
=`expr "$@"`
16573 # STRING may not start with a hyphen.
16576 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16582 case $lt_shell_append in
16584 cat << \_LT_EOF
>> "$cfgfile"
16586 # func_append var value
16587 # Append VALUE to the end of shell variable VAR.
16595 cat << \_LT_EOF
>> "$cfgfile"
16597 # func_append var value
16598 # Append VALUE to the end of shell variable VAR.
16609 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16610 ||
(rm -f "$cfgfile"; exit 1)
16612 mv -f "$cfgfile" "$ofile" ||
16613 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16617 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
16618 # Older Autoconf quotes --file arguments for eval, but not when files
16619 # are listed without --file. Let's play safe and only enable the eval
16620 # if we detect the quoting.
16621 case $CONFIG_FILES in
16622 *\'*) eval set x
"$CONFIG_FILES" ;;
16623 *) set x
$CONFIG_FILES ;;
16628 # Strip MF so we end up with the name of the file.
16629 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16630 # Check whether this is an Automake generated Makefile or not.
16631 # We used to match only the files named 'Makefile.in', but
16632 # some people rename them; so instead we look at the file content.
16633 # Grep'ing the first line is not enough: some people post-process
16634 # each Makefile.in and add a new line on top of each file to say so.
16635 # Grep'ing the whole file is not good either: AIX grep has a line
16636 # limit of 2048, but all sed's we know have understand at least 4000.
16637 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16638 dirpart
=`$as_dirname -- "$mf" ||
16639 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16640 X"$mf" : 'X\(//\)[^/]' \| \
16641 X"$mf" : 'X\(//\)$' \| \
16642 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16644 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16648 /^X\(\/\/\)[^/].*/{
16664 # Extract the definition of DEPDIR, am__include, and am__quote
16665 # from the Makefile without running 'make'.
16666 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16667 test -z "$DEPDIR" && continue
16668 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16669 test -z "$am__include" && continue
16670 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16671 # Find all dependency output files, they are included files with
16672 # $(DEPDIR) in their names. We invoke sed twice because it is the
16673 # simplest approach to changing $(DEPDIR) to its actual value in the
16675 for file in `sed -n "
16676 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16677 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16678 # Make sure the directory exists.
16679 test -f "$dirpart/$file" && continue
16680 fdir
=`$as_dirname -- "$file" ||
16681 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16682 X"$file" : 'X\(//\)[^/]' \| \
16683 X"$file" : 'X\(//\)$' \| \
16684 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16685 $as_echo X"$file" |
16686 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16690 /^X\(\/\/\)[^/].*/{
16703 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16704 # echo "creating $dirpart/$file"
16705 echo '# dummy' > "$dirpart/$file"
16710 "aarch64/Makefile":C
) sed -n \
16711 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
16712 /^srcdir = / s:$:/aarch64:
16715 <Make-common.sim
>aarch64
/Makesim1.tmp
16716 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>aarch64
/Makesim2.tmp
16717 sed -e '/^## COMMON_PRE_/ r aarch64/Makesim1.tmp' \
16718 -e '/^## COMMON_POST_/ r aarch64/Makesim2.tmp' \
16719 <aarch64
/Makefile.sim
>aarch64
/Makefile
16720 rm -f aarch64
/Makesim1.tmp aarch64
/Makesim2.tmp
16722 "depdir-aarch64":C
) $SHELL $ac_aux_dir/mkinstalldirs aarch64
/$DEPDIR ;;
16723 "arm/Makefile":C
) sed -n \
16724 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
16725 /^srcdir = / s:$:/arm:
16728 <Make-common.sim
>arm
/Makesim1.tmp
16729 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>arm
/Makesim2.tmp
16730 sed -e '/^## COMMON_PRE_/ r arm/Makesim1.tmp' \
16731 -e '/^## COMMON_POST_/ r arm/Makesim2.tmp' \
16732 <arm
/Makefile.sim
>arm
/Makefile
16733 rm -f arm
/Makesim1.tmp
arm
/Makesim2.tmp
16735 "depdir-arm":C
) $SHELL $ac_aux_dir/mkinstalldirs
arm
/$DEPDIR ;;
16736 "avr/Makefile":C
) sed -n \
16737 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
16738 /^srcdir = / s:$:/avr:
16741 <Make-common.sim
>avr
/Makesim1.tmp
16742 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>avr
/Makesim2.tmp
16743 sed -e '/^## COMMON_PRE_/ r avr/Makesim1.tmp' \
16744 -e '/^## COMMON_POST_/ r avr/Makesim2.tmp' \
16745 <avr
/Makefile.sim
>avr
/Makefile
16746 rm -f avr
/Makesim1.tmp avr
/Makesim2.tmp
16748 "depdir-avr":C
) $SHELL $ac_aux_dir/mkinstalldirs avr
/$DEPDIR ;;
16749 "depdir-bfin":C
) $SHELL $ac_aux_dir/mkinstalldirs bfin
/$DEPDIR ;;
16750 "depdir-bpf":C
) $SHELL $ac_aux_dir/mkinstalldirs bpf
/$DEPDIR ;;
16751 "cr16/Makefile":C
) sed -n \
16752 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
16753 /^srcdir = / s:$:/cr16:
16756 <Make-common.sim
>cr16
/Makesim1.tmp
16757 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>cr16
/Makesim2.tmp
16758 sed -e '/^## COMMON_PRE_/ r cr16/Makesim1.tmp' \
16759 -e '/^## COMMON_POST_/ r cr16/Makesim2.tmp' \
16760 <cr16
/Makefile.sim
>cr16
/Makefile
16761 rm -f cr16
/Makesim1.tmp cr16
/Makesim2.tmp
16763 "depdir-cr16":C
) $SHELL $ac_aux_dir/mkinstalldirs cr16
/$DEPDIR ;;
16764 "depdir-cris":C
) $SHELL $ac_aux_dir/mkinstalldirs cris
/$DEPDIR ;;
16765 "d10v/Makefile":C
) sed -n \
16766 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
16767 /^srcdir = / s:$:/d10v:
16770 <Make-common.sim
>d10v
/Makesim1.tmp
16771 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>d10v
/Makesim2.tmp
16772 sed -e '/^## COMMON_PRE_/ r d10v/Makesim1.tmp' \
16773 -e '/^## COMMON_POST_/ r d10v/Makesim2.tmp' \
16774 <d10v
/Makefile.sim
>d10v
/Makefile
16775 rm -f d10v
/Makesim1.tmp d10v
/Makesim2.tmp
16777 "depdir-d10v":C
) $SHELL $ac_aux_dir/mkinstalldirs d10v
/$DEPDIR ;;
16778 "depdir-frv":C
) $SHELL $ac_aux_dir/mkinstalldirs frv
/$DEPDIR ;;
16779 "ft32/Makefile":C
) sed -n \
16780 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
16781 /^srcdir = / s:$:/ft32:
16784 <Make-common.sim
>ft32
/Makesim1.tmp
16785 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>ft32
/Makesim2.tmp
16786 sed -e '/^## COMMON_PRE_/ r ft32/Makesim1.tmp' \
16787 -e '/^## COMMON_POST_/ r ft32/Makesim2.tmp' \
16788 <ft32
/Makefile.sim
>ft32
/Makefile
16789 rm -f ft32
/Makesim1.tmp ft32
/Makesim2.tmp
16791 "depdir-ft32":C
) $SHELL $ac_aux_dir/mkinstalldirs ft32
/$DEPDIR ;;
16792 "h8300/Makefile":C
) sed -n \
16793 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
16794 /^srcdir = / s:$:/h8300:
16797 <Make-common.sim
>h8300
/Makesim1.tmp
16798 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>h8300
/Makesim2.tmp
16799 sed -e '/^## COMMON_PRE_/ r h8300/Makesim1.tmp' \
16800 -e '/^## COMMON_POST_/ r h8300/Makesim2.tmp' \
16801 <h8300
/Makefile.sim
>h8300
/Makefile
16802 rm -f h8300
/Makesim1.tmp h8300
/Makesim2.tmp
16804 "depdir-h8300":C
) $SHELL $ac_aux_dir/mkinstalldirs h8300
/$DEPDIR ;;
16805 "depdir-iq2000":C
) $SHELL $ac_aux_dir/mkinstalldirs iq2000
/$DEPDIR ;;
16806 "depdir-lm32":C
) $SHELL $ac_aux_dir/mkinstalldirs lm32
/$DEPDIR ;;
16807 "m32c/Makefile":C
) sed -n \
16808 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
16809 /^srcdir = / s:$:/m32c:
16812 <Make-common.sim
>m32c
/Makesim1.tmp
16813 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>m32c
/Makesim2.tmp
16814 sed -e '/^## COMMON_PRE_/ r m32c/Makesim1.tmp' \
16815 -e '/^## COMMON_POST_/ r m32c/Makesim2.tmp' \
16816 <m32c
/Makefile.sim
>m32c
/Makefile
16817 rm -f m32c
/Makesim1.tmp m32c
/Makesim2.tmp
16819 "depdir-m32c":C
) $SHELL $ac_aux_dir/mkinstalldirs m32c
/$DEPDIR ;;
16820 "depdir-m32r":C
) $SHELL $ac_aux_dir/mkinstalldirs m32r
/$DEPDIR ;;
16821 "m68hc11/Makefile":C
) sed -n \
16822 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
16823 /^srcdir = / s:$:/m68hc11:
16826 <Make-common.sim
>m68hc11
/Makesim1.tmp
16827 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>m68hc11
/Makesim2.tmp
16828 sed -e '/^## COMMON_PRE_/ r m68hc11/Makesim1.tmp' \
16829 -e '/^## COMMON_POST_/ r m68hc11/Makesim2.tmp' \
16830 <m68hc11
/Makefile.sim
>m68hc11
/Makefile
16831 rm -f m68hc11
/Makesim1.tmp m68hc11
/Makesim2.tmp
16833 "depdir-m68hc11":C
) $SHELL $ac_aux_dir/mkinstalldirs m68hc11
/$DEPDIR ;;
16834 "mcore/Makefile":C
) sed -n \
16835 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
16836 /^srcdir = / s:$:/mcore:
16839 <Make-common.sim
>mcore
/Makesim1.tmp
16840 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>mcore
/Makesim2.tmp
16841 sed -e '/^## COMMON_PRE_/ r mcore/Makesim1.tmp' \
16842 -e '/^## COMMON_POST_/ r mcore/Makesim2.tmp' \
16843 <mcore
/Makefile.sim
>mcore
/Makefile
16844 rm -f mcore
/Makesim1.tmp mcore
/Makesim2.tmp
16846 "depdir-mcore":C
) $SHELL $ac_aux_dir/mkinstalldirs mcore
/$DEPDIR ;;
16847 "microblaze/Makefile":C
) sed -n \
16848 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
16849 /^srcdir = / s:$:/microblaze:
16852 <Make-common.sim
>microblaze
/Makesim1.tmp
16853 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>microblaze
/Makesim2.tmp
16854 sed -e '/^## COMMON_PRE_/ r microblaze/Makesim1.tmp' \
16855 -e '/^## COMMON_POST_/ r microblaze/Makesim2.tmp' \
16856 <microblaze
/Makefile.sim
>microblaze
/Makefile
16857 rm -f microblaze
/Makesim1.tmp microblaze
/Makesim2.tmp
16859 "depdir-microblaze":C
) $SHELL $ac_aux_dir/mkinstalldirs microblaze
/$DEPDIR ;;
16860 "depdir-mips":C
) $SHELL $ac_aux_dir/mkinstalldirs mips
/$DEPDIR ;;
16861 "depdir-mn10300":C
) $SHELL $ac_aux_dir/mkinstalldirs mn10300
/$DEPDIR ;;
16862 "moxie/Makefile":C
) sed -n \
16863 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
16864 /^srcdir = / s:$:/moxie:
16867 <Make-common.sim
>moxie
/Makesim1.tmp
16868 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>moxie
/Makesim2.tmp
16869 sed -e '/^## COMMON_PRE_/ r moxie/Makesim1.tmp' \
16870 -e '/^## COMMON_POST_/ r moxie/Makesim2.tmp' \
16871 <moxie
/Makefile.sim
>moxie
/Makefile
16872 rm -f moxie
/Makesim1.tmp moxie
/Makesim2.tmp
16874 "depdir-moxie":C
) $SHELL $ac_aux_dir/mkinstalldirs moxie
/$DEPDIR ;;
16875 "msp430/Makefile":C
) sed -n \
16876 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
16877 /^srcdir = / s:$:/msp430:
16880 <Make-common.sim
>msp430
/Makesim1.tmp
16881 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>msp430
/Makesim2.tmp
16882 sed -e '/^## COMMON_PRE_/ r msp430/Makesim1.tmp' \
16883 -e '/^## COMMON_POST_/ r msp430/Makesim2.tmp' \
16884 <msp430
/Makefile.sim
>msp430
/Makefile
16885 rm -f msp430
/Makesim1.tmp msp430
/Makesim2.tmp
16887 "depdir-msp430":C
) $SHELL $ac_aux_dir/mkinstalldirs msp430
/$DEPDIR ;;
16888 "depdir-or1k":C
) $SHELL $ac_aux_dir/mkinstalldirs or1k
/$DEPDIR ;;
16889 "pru/Makefile":C
) sed -n \
16890 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
16891 /^srcdir = / s:$:/pru:
16894 <Make-common.sim
>pru
/Makesim1.tmp
16895 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>pru
/Makesim2.tmp
16896 sed -e '/^## COMMON_PRE_/ r pru/Makesim1.tmp' \
16897 -e '/^## COMMON_POST_/ r pru/Makesim2.tmp' \
16898 <pru
/Makefile.sim
>pru
/Makefile
16899 rm -f pru
/Makesim1.tmp
pru
/Makesim2.tmp
16901 "depdir-pru":C
) $SHELL $ac_aux_dir/mkinstalldirs
pru
/$DEPDIR ;;
16902 "depdir-riscv":C
) $SHELL $ac_aux_dir/mkinstalldirs riscv
/$DEPDIR ;;
16903 "rl78/Makefile":C
) sed -n \
16904 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
16905 /^srcdir = / s:$:/rl78:
16908 <Make-common.sim
>rl78
/Makesim1.tmp
16909 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>rl78
/Makesim2.tmp
16910 sed -e '/^## COMMON_PRE_/ r rl78/Makesim1.tmp' \
16911 -e '/^## COMMON_POST_/ r rl78/Makesim2.tmp' \
16912 <rl78
/Makefile.sim
>rl78
/Makefile
16913 rm -f rl78
/Makesim1.tmp rl78
/Makesim2.tmp
16915 "depdir-rl78":C
) $SHELL $ac_aux_dir/mkinstalldirs rl78
/$DEPDIR ;;
16916 "rx/Makefile":C
) sed -n \
16917 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
16918 /^srcdir = / s:$:/rx:
16921 <Make-common.sim
>rx
/Makesim1.tmp
16922 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>rx
/Makesim2.tmp
16923 sed -e '/^## COMMON_PRE_/ r rx/Makesim1.tmp' \
16924 -e '/^## COMMON_POST_/ r rx/Makesim2.tmp' \
16925 <rx
/Makefile.sim
>rx
/Makefile
16926 rm -f rx
/Makesim1.tmp rx
/Makesim2.tmp
16928 "depdir-rx":C
) $SHELL $ac_aux_dir/mkinstalldirs rx
/$DEPDIR ;;
16929 "sh/Makefile":C
) sed -n \
16930 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
16931 /^srcdir = / s:$:/sh:
16934 <Make-common.sim
>sh
/Makesim1.tmp
16935 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>sh
/Makesim2.tmp
16936 sed -e '/^## COMMON_PRE_/ r sh/Makesim1.tmp' \
16937 -e '/^## COMMON_POST_/ r sh/Makesim2.tmp' \
16938 <sh
/Makefile.sim
>sh
/Makefile
16939 rm -f sh
/Makesim1.tmp sh
/Makesim2.tmp
16941 "depdir-sh":C
) $SHELL $ac_aux_dir/mkinstalldirs sh
/$DEPDIR ;;
16942 "depdir-erc32":C
) $SHELL $ac_aux_dir/mkinstalldirs erc32
/$DEPDIR ;;
16943 "depdir-ppc":C
) $SHELL $ac_aux_dir/mkinstalldirs ppc
/$DEPDIR ;;
16944 "depdir-v850":C
) $SHELL $ac_aux_dir/mkinstalldirs v850
/$DEPDIR ;;
16945 "example-synacor/Makefile":C
) sed -n \
16946 -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
16947 /^srcdir = / s:$:/example-synacor:
16950 <Make-common.sim
>example-synacor
/Makesim1.tmp
16951 sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim
>example-synacor
/Makesim2.tmp
16952 sed -e '/^## COMMON_PRE_/ r example-synacor/Makesim1.tmp' \
16953 -e '/^## COMMON_POST_/ r example-synacor/Makesim2.tmp' \
16954 <example-synacor
/Makefile.sim
>example-synacor
/Makefile
16955 rm -f example-synacor
/Makesim1.tmp example-synacor
/Makesim2.tmp
16957 "depdir-example-synacor":C
) $SHELL $ac_aux_dir/mkinstalldirs example-synacor
/$DEPDIR ;;
16965 ac_clean_files
=$ac_clean_files_save
16967 test $ac_write_fail = 0 ||
16968 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16971 # configure is writing to config.log, and then calls config.status.
16972 # config.status does its own redirection, appending to config.log.
16973 # Unfortunately, on DOS this fails, as config.log is still kept open
16974 # by configure, so config.status won't be able to write to it; its
16975 # output is simply discarded. So we exec the FD to /dev/null,
16976 # effectively closing config.log, so it can be properly (re)opened and
16977 # appended to by config.status. When coming back to configure, we
16978 # need to make the FD available again.
16979 if test "$no_create" != yes; then
16981 ac_config_status_args
=
16982 test "$silent" = yes &&
16983 ac_config_status_args
="$ac_config_status_args --quiet"
16985 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16987 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16988 # would make configure fail if this is the last instruction.
16989 $ac_cs_success || as_fn_exit
1
16993 # CONFIG_SUBDIRS section.
16995 if test "$no_recursion" != yes; then
16997 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
16998 # so they do not pile up.
16999 ac_sub_configure_args
=
17001 eval "set x $ac_configure_args"
17005 if test -n "$ac_prev"; then
17010 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
17011 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
17012 ac_prev
=cache_file
;;
17013 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
17014 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
17017 --config-cache |
-C)
17019 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
17021 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
17023 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
17025 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
17027 --disable-option-checking)
17031 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
17033 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
17037 # Always prepend --prefix to ensure using the same prefix
17038 # in subdir configurations.
17039 ac_arg
="--prefix=$prefix"
17041 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
17043 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
17046 if test "$silent" = yes; then
17047 ac_sub_configure_args
="--silent $ac_sub_configure_args"
17050 # Always prepend --disable-option-checking to silence warnings, since
17051 # different subdirs can have different --enable and --with options.
17052 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
17055 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
17057 # Do not complain, so a configure script can configure whichever
17058 # parts of a large source tree are present.
17059 test -d "$srcdir/$ac_dir" ||
continue
17061 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
17062 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
17063 $as_echo "$ac_msg" >&6
17064 as_dir
="$ac_dir"; as_fn_mkdir_p
17068 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17070 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17071 # A ".." for each directory in $ac_dir_suffix.
17072 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17073 case $ac_top_builddir_sub in
17074 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17075 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17078 ac_abs_top_builddir
=$ac_pwd
17079 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17080 # for backward compatibility:
17081 ac_top_builddir
=$ac_top_build_prefix
17084 .
) # We are building in place.
17086 ac_top_srcdir
=$ac_top_builddir_sub
17087 ac_abs_top_srcdir
=$ac_pwd ;;
17088 [\\/]* | ?
:[\\/]* ) # Absolute name.
17089 ac_srcdir
=$srcdir$ac_dir_suffix;
17090 ac_top_srcdir
=$srcdir
17091 ac_abs_top_srcdir
=$srcdir ;;
17092 *) # Relative name.
17093 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17094 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17095 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17097 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17102 # Check for guested configure; otherwise get Cygnus style configure.
17103 if test -f "$ac_srcdir/configure.gnu"; then
17104 ac_sub_configure
=$ac_srcdir/configure.gnu
17105 elif test -f "$ac_srcdir/configure"; then
17106 ac_sub_configure
=$ac_srcdir/configure
17107 elif test -f "$ac_srcdir/configure.in"; then
17108 # This should be Cygnus configure.
17109 ac_sub_configure
=$ac_aux_dir/configure
17111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
17112 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
17116 # The recursion is here.
17117 if test -n "$ac_sub_configure"; then
17118 # Make the cache file name correct relative to the subdirectory.
17119 case $cache_file in
17120 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
17121 *) # Relative name.
17122 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
17126 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
17127 # The eval makes quoting arguments work.
17128 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
17129 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
17130 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
17136 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17138 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}