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_ENABLE_IGEN_FALSE
666 INSTALL_STRIP_PROGRAM
678 MAINTAINER_MODE_FALSE
765 program_transform_name
780 enable_option_checking
791 enable_maintainer_mode
792 enable_dependency_tracking
801 enable_sim_environment
806 enable_build_warnings
807 enable_sim_build_warnings
809 ac_precious_vars
='build_alias
818 ac_subdirs_all
='aarch64
851 # Initialize some variables set by options.
853 ac_init_version
=false
854 ac_unrecognized_opts
=
856 # The variables have the same names as the options, with
857 # dashes changed to underlines.
865 program_transform_name
=s
,x
,x
,
873 # Installation directory options.
874 # These are left unexpanded so users can "make install exec_prefix=/foo"
875 # and all the variables that are supposed to be based on exec_prefix
876 # by default will actually change.
877 # Use braces instead of parens because sh, perl, etc. also accept them.
878 # (The list follows the same order as the GNU Coding Standards.)
879 bindir
='${exec_prefix}/bin'
880 sbindir
='${exec_prefix}/sbin'
881 libexecdir
='${exec_prefix}/libexec'
882 datarootdir
='${prefix}/share'
883 datadir
='${datarootdir}'
884 sysconfdir
='${prefix}/etc'
885 sharedstatedir
='${prefix}/com'
886 localstatedir
='${prefix}/var'
887 includedir
='${prefix}/include'
888 oldincludedir
='/usr/include'
889 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
890 infodir
='${datarootdir}/info'
895 libdir
='${exec_prefix}/lib'
896 localedir
='${datarootdir}/locale'
897 mandir
='${datarootdir}/man'
903 # If the previous option needs an argument, assign it.
904 if test -n "$ac_prev"; then
905 eval $ac_prev=\
$ac_option
911 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
916 # Accept the important Cygnus configure options, so we can diagnose typos.
918 case $ac_dashdash$ac_option in
922 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
924 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
927 -build |
--build |
--buil |
--bui |
--bu)
928 ac_prev
=build_alias
;;
929 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
930 build_alias
=$ac_optarg ;;
932 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
933 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
934 ac_prev
=cache_file
;;
935 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
936 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
937 cache_file
=$ac_optarg ;;
940 cache_file
=config.cache
;;
942 -datadir |
--datadir |
--datadi |
--datad)
944 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
945 datadir
=$ac_optarg ;;
947 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
948 |
--dataroo |
--dataro |
--datar)
949 ac_prev
=datarootdir
;;
950 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
951 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
952 datarootdir
=$ac_optarg ;;
954 -disable-* |
--disable-*)
955 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
956 # Reject names that are not valid shell variable names.
957 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
958 as_fn_error $?
"invalid feature name: $ac_useropt"
959 ac_useropt_orig
=$ac_useropt
960 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
961 case $ac_user_opts in
965 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
966 ac_unrecognized_sep
=', ';;
968 eval enable_
$ac_useropt=no
;;
970 -docdir |
--docdir |
--docdi |
--doc |
--do)
972 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
975 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
977 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
980 -enable-* |
--enable-*)
981 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
982 # Reject names that are not valid shell variable names.
983 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
984 as_fn_error $?
"invalid feature name: $ac_useropt"
985 ac_useropt_orig
=$ac_useropt
986 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
987 case $ac_user_opts in
991 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
992 ac_unrecognized_sep
=', ';;
994 eval enable_
$ac_useropt=\
$ac_optarg ;;
996 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
997 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
998 |
--exec |
--exe |
--ex)
999 ac_prev
=exec_prefix
;;
1000 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1001 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1002 |
--exec=* |
--exe=* |
--ex=*)
1003 exec_prefix
=$ac_optarg ;;
1005 -gas |
--gas |
--ga |
--g)
1006 # Obsolete; use --with-gas.
1009 -help |
--help |
--hel |
--he |
-h)
1010 ac_init_help
=long
;;
1011 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1012 ac_init_help
=recursive
;;
1013 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1014 ac_init_help
=short
;;
1016 -host |
--host |
--hos |
--ho)
1017 ac_prev
=host_alias
;;
1018 -host=* |
--host=* |
--hos=* |
--ho=*)
1019 host_alias
=$ac_optarg ;;
1021 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1023 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1025 htmldir
=$ac_optarg ;;
1027 -includedir |
--includedir |
--includedi |
--included |
--include \
1028 |
--includ |
--inclu |
--incl |
--inc)
1029 ac_prev
=includedir
;;
1030 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1031 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1032 includedir
=$ac_optarg ;;
1034 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1036 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1037 infodir
=$ac_optarg ;;
1039 -libdir |
--libdir |
--libdi |
--libd)
1041 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1042 libdir
=$ac_optarg ;;
1044 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1045 |
--libexe |
--libex |
--libe)
1046 ac_prev
=libexecdir
;;
1047 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1048 |
--libexe=* |
--libex=* |
--libe=*)
1049 libexecdir
=$ac_optarg ;;
1051 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1052 ac_prev
=localedir
;;
1053 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1054 localedir
=$ac_optarg ;;
1056 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1057 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1058 ac_prev
=localstatedir
;;
1059 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1060 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1061 localstatedir
=$ac_optarg ;;
1063 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1065 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1066 mandir
=$ac_optarg ;;
1068 -nfp |
--nfp |
--nf)
1069 # Obsolete; use --without-fp.
1072 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1073 |
--no-cr |
--no-c |
-n)
1076 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1077 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1080 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1081 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1082 |
--oldin |
--oldi |
--old |
--ol |
--o)
1083 ac_prev
=oldincludedir
;;
1084 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1085 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1086 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1087 oldincludedir
=$ac_optarg ;;
1089 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1091 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1092 prefix
=$ac_optarg ;;
1094 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1095 |
--program-pre |
--program-pr |
--program-p)
1096 ac_prev
=program_prefix
;;
1097 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1098 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1099 program_prefix
=$ac_optarg ;;
1101 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1102 |
--program-suf |
--program-su |
--program-s)
1103 ac_prev
=program_suffix
;;
1104 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1105 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1106 program_suffix
=$ac_optarg ;;
1108 -program-transform-name |
--program-transform-name \
1109 |
--program-transform-nam |
--program-transform-na \
1110 |
--program-transform-n |
--program-transform- \
1111 |
--program-transform |
--program-transfor \
1112 |
--program-transfo |
--program-transf \
1113 |
--program-trans |
--program-tran \
1114 |
--progr-tra |
--program-tr |
--program-t)
1115 ac_prev
=program_transform_name
;;
1116 -program-transform-name=* |
--program-transform-name=* \
1117 |
--program-transform-nam=* |
--program-transform-na=* \
1118 |
--program-transform-n=* |
--program-transform-=* \
1119 |
--program-transform=* |
--program-transfor=* \
1120 |
--program-transfo=* |
--program-transf=* \
1121 |
--program-trans=* |
--program-tran=* \
1122 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1123 program_transform_name
=$ac_optarg ;;
1125 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1127 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1128 pdfdir
=$ac_optarg ;;
1130 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1132 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1135 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1136 |
-silent |
--silent |
--silen |
--sile |
--sil)
1139 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1141 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1143 sbindir
=$ac_optarg ;;
1145 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1146 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1147 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1149 ac_prev
=sharedstatedir
;;
1150 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1151 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1152 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1154 sharedstatedir
=$ac_optarg ;;
1156 -site |
--site |
--sit)
1158 -site=* |
--site=* |
--sit=*)
1161 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1163 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1164 srcdir
=$ac_optarg ;;
1166 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1167 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1168 ac_prev
=sysconfdir
;;
1169 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1170 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1171 sysconfdir
=$ac_optarg ;;
1173 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1174 ac_prev
=target_alias
;;
1175 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1176 target_alias
=$ac_optarg ;;
1178 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1181 -version |
--version |
--versio |
--versi |
--vers |
-V)
1182 ac_init_version
=: ;;
1185 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1186 # Reject names that are not valid shell variable names.
1187 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1188 as_fn_error $?
"invalid package name: $ac_useropt"
1189 ac_useropt_orig
=$ac_useropt
1190 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1191 case $ac_user_opts in
1195 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1196 ac_unrecognized_sep
=', ';;
1198 eval with_
$ac_useropt=\
$ac_optarg ;;
1200 -without-* |
--without-*)
1201 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
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--without-$ac_useropt_orig"
1212 ac_unrecognized_sep
=', ';;
1214 eval with_
$ac_useropt=no
;;
1217 # Obsolete; use --with-x.
1220 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1221 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1222 ac_prev
=x_includes
;;
1223 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1224 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1225 x_includes
=$ac_optarg ;;
1227 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1228 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1229 ac_prev
=x_libraries
;;
1230 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1231 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1232 x_libraries
=$ac_optarg ;;
1234 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1235 Try \`$0 --help' for more information"
1239 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1240 # Reject names that are not valid shell variable names.
1241 case $ac_envvar in #(
1242 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1243 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1245 eval $ac_envvar=\
$ac_optarg
1246 export $ac_envvar ;;
1249 # FIXME: should be removed in autoconf 3.0.
1250 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1251 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1252 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1253 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1259 if test -n "$ac_prev"; then
1260 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1261 as_fn_error $?
"missing argument to $ac_option"
1264 if test -n "$ac_unrecognized_opts"; then
1265 case $enable_option_checking in
1267 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1268 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1272 # Check all directory arguments for consistency.
1273 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1274 datadir sysconfdir sharedstatedir localstatedir includedir \
1275 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1276 libdir localedir mandir
1278 eval ac_val
=\$
$ac_var
1279 # Remove trailing slashes.
1282 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1283 eval $ac_var=\
$ac_val;;
1285 # Be sure to have absolute directory names.
1287 [\\/$
]* | ?
:[\\/]* ) continue;;
1288 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1290 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1293 # There might be people who depend on the old broken behavior: `$host'
1294 # used to hold the argument of --host etc.
1295 # FIXME: To remove some day.
1298 target
=$target_alias
1300 # FIXME: To remove some day.
1301 if test "x$host_alias" != x
; then
1302 if test "x$build_alias" = x
; then
1303 cross_compiling
=maybe
1304 elif test "x$build_alias" != "x$host_alias"; then
1310 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1312 test "$silent" = yes && exec 6>/dev
/null
1315 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1316 ac_ls_di
=`ls -di .` &&
1317 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1318 as_fn_error $?
"working directory cannot be determined"
1319 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1320 as_fn_error $?
"pwd does not report name of working directory"
1323 # Find the source files, if location was not specified.
1324 if test -z "$srcdir"; then
1325 ac_srcdir_defaulted
=yes
1326 # Try the directory containing this script, then the parent directory.
1327 ac_confdir
=`$as_dirname -- "$as_myself" ||
1328 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1329 X"$as_myself" : 'X\(//\)[^/]' \| \
1330 X"$as_myself" : 'X\(//\)$' \| \
1331 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1332 $as_echo X"$as_myself" |
1333 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1351 if test ! -r "$srcdir/$ac_unique_file"; then
1355 ac_srcdir_defaulted
=no
1357 if test ! -r "$srcdir/$ac_unique_file"; then
1358 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1359 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1361 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1363 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1365 # When building in place, set srcdir=.
1366 if test "$ac_abs_confdir" = "$ac_pwd"; then
1369 # Remove unnecessary trailing slashes from srcdir.
1370 # Double slashes in file names in object file debugging info
1371 # mess up M-x gdb in Emacs.
1373 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1375 for ac_var
in $ac_precious_vars; do
1376 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1377 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1378 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1379 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1383 # Report the --help message.
1385 if test "$ac_init_help" = "long"; then
1386 # Omit some internal or obsolete options to make the list less imposing.
1387 # This message is too long to be a string in the A/UX 3.1 sh.
1389 \`configure' configures sim 0 to adapt to many kinds of systems.
1391 Usage: $0 [OPTION]... [VAR=VALUE]...
1393 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1394 VAR=VALUE. See below for descriptions of some of the useful variables.
1396 Defaults for the options are specified in brackets.
1399 -h, --help display this help and exit
1400 --help=short display options specific to this package
1401 --help=recursive display the short help of all the included packages
1402 -V, --version display version information and exit
1403 -q, --quiet, --silent do not print \`checking ...' messages
1404 --cache-file=FILE cache test results in FILE [disabled]
1405 -C, --config-cache alias for \`--cache-file=config.cache'
1406 -n, --no-create do not create output files
1407 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1409 Installation directories:
1410 --prefix=PREFIX install architecture-independent files in PREFIX
1411 [$ac_default_prefix]
1412 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1415 By default, \`make install' will install all the files in
1416 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1417 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1418 for instance \`--prefix=\$HOME'.
1420 For better control, use the options below.
1422 Fine tuning of the installation directories:
1423 --bindir=DIR user executables [EPREFIX/bin]
1424 --sbindir=DIR system admin executables [EPREFIX/sbin]
1425 --libexecdir=DIR program executables [EPREFIX/libexec]
1426 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1427 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1428 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1429 --libdir=DIR object code libraries [EPREFIX/lib]
1430 --includedir=DIR C header files [PREFIX/include]
1431 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1432 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1433 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1434 --infodir=DIR info documentation [DATAROOTDIR/info]
1435 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1436 --mandir=DIR man documentation [DATAROOTDIR/man]
1437 --docdir=DIR documentation root [DATAROOTDIR/doc/sim]
1438 --htmldir=DIR html documentation [DOCDIR]
1439 --dvidir=DIR dvi documentation [DOCDIR]
1440 --pdfdir=DIR pdf documentation [DOCDIR]
1441 --psdir=DIR ps documentation [DOCDIR]
1447 --program-prefix=PREFIX prepend PREFIX to installed program names
1448 --program-suffix=SUFFIX append SUFFIX to installed program names
1449 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1452 --build=BUILD configure
for building on BUILD
[guessed
]
1453 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1454 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1458 if test -n "$ac_init_help"; then
1459 case $ac_init_help in
1460 short | recursive
) echo "Configuration of sim 0:";;
1465 --disable-option-checking ignore unrecognized
--enable/--with options
1466 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1467 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1468 --enable-plugins Enable support
for plugins
1469 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1470 --enable-static[=PKGS
] build static libraries
[default
=yes]
1471 --enable-fast-install[=PKGS
]
1472 optimize
for fast installation
[default
=yes]
1473 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1474 --enable-maintainer-mode
1475 enable make rules and dependencies not useful
(and
1476 sometimes confusing
) to the casual installer
1477 --enable-dependency-tracking
1478 do not reject slow dependency extractors
1479 --disable-dependency-tracking
1480 speeds up one-time build
1481 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1482 --disable-silent-rules verbose build output
(undo
: "make V=0")
1483 --enable-sim Enable the GNU simulator
1484 --enable-example-sims enable example GNU simulators
1485 --enable-targets alternative target configurations
1486 --enable-sim-alignment=align
1487 Specify strict
, nonstrict or forced alignment of
1489 --enable-sim-assert Specify whether to perform random assertions
1490 --enable-sim-debug=opts Enable debugging flags
(for developers of the sim
1492 --enable-sim-endian=endian
1493 Specify target byte endian orientation
1494 --enable-sim-environment=environment
1495 Specify mixed
, user
, virtual or operating
1497 --enable-sim-profile=opts
1498 Enable profiling flags
1499 --enable-sim-stdio Specify whether to use stdio
for console
1501 --enable-sim-trace=opts Enable tracing of simulated programs
1502 --enable-werror treat compile warnings as errors
1503 --enable-build-warnings enable build-time compiler warnings
if gcc is used
1504 --enable-sim-build-warnings
1505 enable SIM specific build-time compiler warnings
if
1509 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1510 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1511 --with-pkgversion=PKG Use PKG
in the version string
in place of
"SIM"
1512 --with-bugurl=URL Direct users to URL to report a bug
1513 --with-system-zlib use installed libz
1514 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1516 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1518 Some influential environment variables
:
1519 CC C compiler
command
1520 CFLAGS C compiler flags
1521 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1522 nonstandard directory
<lib dir
>
1523 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1524 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1525 you have headers
in a nonstandard directory
<include dir
>
1528 Use these variables to override the choices made by
`configure' or to help
1529 it to find libraries and programs with nonstandard names/locations.
1531 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
1532 sim home page: <https://sourceware.org/gdb/wiki/Sim/>.
1537 if test "$ac_init_help" = "recursive"; then
1538 # If there are subdirs, report their specific --help.
1539 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1540 test -d "$ac_dir" ||
1541 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1546 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1548 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1549 # A ".." for each directory in $ac_dir_suffix.
1550 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1551 case $ac_top_builddir_sub in
1552 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1553 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1556 ac_abs_top_builddir=$ac_pwd
1557 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1558 # for backward compatibility:
1559 ac_top_builddir=$ac_top_build_prefix
1562 .) # We are building in place.
1564 ac_top_srcdir=$ac_top_builddir_sub
1565 ac_abs_top_srcdir=$ac_pwd ;;
1566 [\\/]* | ?:[\\/]* ) # Absolute name.
1567 ac_srcdir=$srcdir$ac_dir_suffix;
1568 ac_top_srcdir=$srcdir
1569 ac_abs_top_srcdir=$srcdir ;;
1571 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1572 ac_top_srcdir=$ac_top_build_prefix$srcdir
1573 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1575 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1577 cd "$ac_dir" || { ac_status=$?; continue; }
1578 # Check for guested configure.
1579 if test -f "$ac_srcdir/configure.gnu"; then
1581 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1582 elif test -f "$ac_srcdir/configure"; then
1584 $SHELL "$ac_srcdir/configure" --help=recursive
1586 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1588 cd "$ac_pwd" || { ac_status=$?; break; }
1592 test -n "$ac_init_help" && exit $ac_status
1593 if $ac_init_version; then
1596 generated by GNU Autoconf 2.69
1598 Copyright (C) 2012 Free Software Foundation, Inc.
1599 This configure script is free software; the Free Software Foundation
1600 gives unlimited permission to copy, distribute and modify it.
1605 ## ------------------------ ##
1606 ## Autoconf initialization. ##
1607 ## ------------------------ ##
1609 # ac_fn_c_try_compile LINENO
1610 # --------------------------
1611 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1612 ac_fn_c_try_compile ()
1614 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1615 rm -f conftest.$ac_objext
1616 if { { ac_try="$ac_compile"
1618 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1619 *) ac_try_echo
=$ac_try;;
1621 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1622 $as_echo "$ac_try_echo"; } >&5
1623 (eval "$ac_compile") 2>conftest.err
1625 if test -s conftest.err
; then
1626 grep -v '^ *+' conftest.err
>conftest.er1
1627 cat conftest.er1
>&5
1628 mv -f conftest.er1 conftest.err
1630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1631 test $ac_status = 0; } && {
1632 test -z "$ac_c_werror_flag" ||
1633 test ! -s conftest.err
1634 } && test -s conftest.
$ac_objext; then :
1637 $as_echo "$as_me: failed program was:" >&5
1638 sed 's/^/| /' conftest.
$ac_ext >&5
1642 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1643 as_fn_set_status
$ac_retval
1645 } # ac_fn_c_try_compile
1647 # ac_fn_c_try_cpp LINENO
1648 # ----------------------
1649 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1652 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1653 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1655 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1656 *) ac_try_echo=$ac_try;;
1658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1659 $as_echo "$ac_try_echo"; } >&5
1660 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1662 if test -s conftest.err; then
1663 grep -v '^ *+' conftest.err >conftest.er1
1664 cat conftest.er1 >&5
1665 mv -f conftest.er1 conftest.err
1667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1668 test $ac_status = 0; } > conftest.i && {
1669 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1670 test ! -s conftest.err
1674 $as_echo "$as_me: failed program was:" >&5
1675 sed 's/^/| /' conftest.$ac_ext >&5
1679 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1680 as_fn_set_status $ac_retval
1684 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1685 # -------------------------------------------------------
1686 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1687 # the include files in INCLUDES and setting the cache variable VAR
1689 ac_fn_c_check_header_mongrel ()
1691 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1692 if eval \${$3+:} false; then :
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1694 $as_echo_n "checking for $2... " >&6; }
1695 if eval \${$3+:} false; then :
1696 $as_echo_n "(cached) " >&6
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1700 $as_echo "$ac_res" >&6; }
1702 # Is the header compilable?
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1704 $as_echo_n "checking $2 usability... " >&6; }
1705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1706 /* end confdefs.h. */
1710 if ac_fn_c_try_compile "$LINENO"; then :
1711 ac_header_compiler=yes
1713 ac_header_compiler=no
1715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1717 $as_echo "$ac_header_compiler" >&6; }
1719 # Is the header present?
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1721 $as_echo_n "checking $2 presence... " >&6; }
1722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1723 /* end confdefs.h. */
1726 if ac_fn_c_try_cpp "$LINENO"; then :
1727 ac_header_preproc=yes
1729 ac_header_preproc=no
1731 rm -f conftest.err conftest.i conftest.$ac_ext
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1733 $as_echo "$ac_header_preproc" >&6; }
1735 # So? What about this header?
1736 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1739 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1741 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1745 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1747 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1749 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1751 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1753 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1754 ( $as_echo "## -------------------------------------------------------------------------------------- ##
1755 ## Report this to https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim ##
1756 ## -------------------------------------------------------------------------------------- ##"
1757 ) | sed "s/^/$as_me: WARNING: /" >&2
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1761 $as_echo_n "checking for $2... " >&6; }
1762 if eval \${$3+:} false; then :
1763 $as_echo_n "(cached) " >&6
1765 eval "$3=\$ac_header_compiler"
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1769 $as_echo "$ac_res" >&6; }
1771 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1773 } # ac_fn_c_check_header_mongrel
1775 # ac_fn_c_try_run LINENO
1776 # ----------------------
1777 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1778 # that executables *can* be run.
1781 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782 if { { ac_try="$ac_link"
1784 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1785 *) ac_try_echo
=$ac_try;;
1787 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1788 $as_echo "$ac_try_echo"; } >&5
1789 (eval "$ac_link") 2>&5
1791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1792 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1793 { { case "(($ac_try" in
1794 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1795 *) ac_try_echo=$ac_try;;
1797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1798 $as_echo "$ac_try_echo"; } >&5
1799 (eval "$ac_try") 2>&5
1801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1802 test $ac_status = 0; }; }; then :
1805 $as_echo "$as_me: program exited with status $ac_status" >&5
1806 $as_echo "$as_me: failed program was:" >&5
1807 sed 's/^/| /' conftest.$ac_ext >&5
1809 ac_retval=$ac_status
1811 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1812 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1813 as_fn_set_status $ac_retval
1817 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1818 # -------------------------------------------------------
1819 # Tests whether HEADER exists and can be compiled using the include files in
1820 # INCLUDES, setting the cache variable VAR accordingly.
1821 ac_fn_c_check_header_compile ()
1823 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1825 $as_echo_n "checking for $2... " >&6; }
1826 if eval \${$3+:} false; then :
1827 $as_echo_n "(cached) " >&6
1829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1830 /* end confdefs.h. */
1834 if ac_fn_c_try_compile "$LINENO"; then :
1839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1843 $as_echo "$ac_res" >&6; }
1844 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1846 } # ac_fn_c_check_header_compile
1848 # ac_fn_c_try_link LINENO
1849 # -----------------------
1850 # Try to link conftest.$ac_ext, and return whether this succeeded.
1853 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1854 rm -f conftest.$ac_objext conftest$ac_exeext
1855 if { { ac_try="$ac_link"
1857 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1858 *) ac_try_echo
=$ac_try;;
1860 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1861 $as_echo "$ac_try_echo"; } >&5
1862 (eval "$ac_link") 2>conftest.err
1864 if test -s conftest.err
; then
1865 grep -v '^ *+' conftest.err
>conftest.er1
1866 cat conftest.er1
>&5
1867 mv -f conftest.er1 conftest.err
1869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1870 test $ac_status = 0; } && {
1871 test -z "$ac_c_werror_flag" ||
1872 test ! -s conftest.err
1873 } && test -s conftest
$ac_exeext && {
1874 test "$cross_compiling" = yes ||
1875 test -x conftest
$ac_exeext
1879 $as_echo "$as_me: failed program was:" >&5
1880 sed 's/^/| /' conftest.
$ac_ext >&5
1884 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1885 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1886 # interfere with the next link command; also delete a directory that is
1887 # left behind by Apple's compiler. We do this before executing the actions.
1888 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1889 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1890 as_fn_set_status
$ac_retval
1892 } # ac_fn_c_try_link
1894 # ac_fn_c_check_func LINENO FUNC VAR
1895 # ----------------------------------
1896 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1897 ac_fn_c_check_func
()
1899 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1901 $as_echo_n "checking for $2... " >&6; }
1902 if eval \
${$3+:} false
; then :
1903 $as_echo_n "(cached) " >&6
1905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1906 /* end confdefs.h. */
1907 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1909 #define $2 innocuous_$2
1911 /* System header to define __stub macros and hopefully few prototypes,
1912 which can conflict with char $2 (); below.
1913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1914 <limits.h> exists even on freestanding compilers. */
1917 # include <limits.h>
1919 # include <assert.h>
1924 /* Override any GCC internal prototype to avoid an error.
1925 Use char because int might match the return type of a GCC
1926 builtin and then its argument prototype would still apply. */
1931 /* The GNU C library defines this for functions which it implements
1932 to always fail with ENOSYS. Some functions are actually named
1933 something starting with __ and the normal name is an alias. */
1934 #if defined __stub_$2 || defined __stub___$2
1946 if ac_fn_c_try_link
"$LINENO"; then :
1951 rm -f core conftest.err conftest.
$ac_objext \
1952 conftest
$ac_exeext conftest.
$ac_ext
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1956 $as_echo "$ac_res" >&6; }
1957 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1959 } # ac_fn_c_check_func
1961 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1962 # ----------------------------------------------------
1963 # Tries to find if the field MEMBER exists in type AGGR, after including
1964 # INCLUDES, setting cache variable VAR accordingly.
1965 ac_fn_c_check_member
()
1967 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1969 $as_echo_n "checking for $2.$3... " >&6; }
1970 if eval \
${$4+:} false
; then :
1971 $as_echo_n "(cached) " >&6
1973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1974 /* end confdefs.h. */
1986 if ac_fn_c_try_compile
"$LINENO"; then :
1989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1990 /* end confdefs.h. */
1996 if (sizeof ac_aggr.$3)
2002 if ac_fn_c_try_compile
"$LINENO"; then :
2007 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2013 $as_echo "$ac_res" >&6; }
2014 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2016 } # ac_fn_c_check_member
2018 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2019 # ---------------------------------------------
2020 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2022 ac_fn_c_check_decl
()
2024 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2025 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2026 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2028 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2029 if eval \
${$3+:} false
; then :
2030 $as_echo_n "(cached) " >&6
2032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2033 /* end confdefs.h. */
2038 #ifndef $as_decl_name
2040 (void) $as_decl_use;
2042 (void) $as_decl_name;
2050 if ac_fn_c_try_compile
"$LINENO"; then :
2055 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2059 $as_echo "$ac_res" >&6; }
2060 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2062 } # ac_fn_c_check_decl
2064 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2065 # -------------------------------------------
2066 # Tests whether TYPE exists after having included INCLUDES, setting cache
2067 # variable VAR accordingly.
2068 ac_fn_c_check_type
()
2070 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2072 $as_echo_n "checking for $2... " >&6; }
2073 if eval \
${$3+:} false
; then :
2074 $as_echo_n "(cached) " >&6
2077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2078 /* end confdefs.h. */
2089 if ac_fn_c_try_compile
"$LINENO"; then :
2090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2091 /* end confdefs.h. */
2102 if ac_fn_c_try_compile
"$LINENO"; then :
2107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2113 $as_echo "$ac_res" >&6; }
2114 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2116 } # ac_fn_c_check_type
2117 cat >config.log
<<_ACEOF
2118 This file contains any messages produced by compilers while
2119 running configure, to aid debugging if configure makes a mistake.
2121 It was created by sim $as_me 0, which was
2122 generated by GNU Autoconf 2.69. Invocation command line was
2134 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2135 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2136 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2137 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2138 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2140 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2141 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2143 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2144 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2145 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2146 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2147 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2148 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2149 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2157 test -z "$as_dir" && as_dir
=.
2158 $as_echo "PATH: $as_dir"
2174 # Keep a trace of the command line.
2175 # Strip out --no-create and --no-recursion so they do not pile up.
2176 # Strip out --silent because we don't want to record it for future runs.
2177 # Also quote any args containing shell meta-characters.
2178 # Make two passes to allow for proper duplicate-argument suppression.
2182 ac_must_keep_next
=false
2188 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2189 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2190 |
-silent |
--silent |
--silen |
--sile |
--sil)
2193 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2196 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2198 as_fn_append ac_configure_args1
" '$ac_arg'"
2199 if test $ac_must_keep_next = true
; then
2200 ac_must_keep_next
=false
# Got value, back to normal.
2203 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2204 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2205 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2206 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2207 case "$ac_configure_args0 " in
2208 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2211 -* ) ac_must_keep_next
=true
;;
2214 as_fn_append ac_configure_args
" '$ac_arg'"
2219 { ac_configure_args0
=; unset ac_configure_args0
;}
2220 { ac_configure_args1
=; unset ac_configure_args1
;}
2222 # When interrupted or exit'd, cleanup temporary files, and complete
2223 # config.log. We remove comments because anyway the quotes in there
2224 # would cause problems or look ugly.
2225 # WARNING: Use '\'' to represent an apostrophe within the trap.
2226 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2227 trap 'exit_status=$?
2228 # Save into config.log some information that might help in debugging.
2232 $as_echo "## ---------------- ##
2233 ## Cache variables. ##
2234 ## ---------------- ##"
2236 # The following way of writing the cache mishandles newlines in values,
2238 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2239 eval ac_val=\$$ac_var
2243 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2244 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2247 _ | IFS | as_nl) ;; #(
2248 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2249 *) { eval $ac_var=; unset $ac_var;} ;;
2254 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2255 *${as_nl}ac_space=\ *)
2257 "s/'\''/'\''\\\\'\'''\''/g;
2258 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2261 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2268 $as_echo "## ----------------- ##
2269 ## Output variables. ##
2270 ## ----------------- ##"
2272 for ac_var in $ac_subst_vars
2274 eval ac_val=\$$ac_var
2276 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2278 $as_echo "$ac_var='\''$ac_val'\''"
2282 if test -n "$ac_subst_files"; then
2283 $as_echo "## ------------------- ##
2284 ## File substitutions. ##
2285 ## ------------------- ##"
2287 for ac_var
in $ac_subst_files
2289 eval ac_val
=\$
$ac_var
2291 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2293 $as_echo "$ac_var='\''$ac_val'\''"
2298 if test -s confdefs.h; then
2299 $as_echo "## ----------- ##
2306 test "$ac_signal" != 0 &&
2307 $as_echo "$as_me: caught signal $ac_signal"
2308 $as_echo "$as_me: exit $exit_status"
2310 rm -f core *.core core.conftest.* &&
2311 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2314 for ac_signal
in 1 2 13 15; do
2315 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2319 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2320 rm -f -r conftest
* confdefs.h
2322 $as_echo "/* confdefs.h */" > confdefs.h
2324 # Predefined preprocessor variables.
2326 cat >>confdefs.h
<<_ACEOF
2327 #define PACKAGE_NAME "$PACKAGE_NAME"
2330 cat >>confdefs.h
<<_ACEOF
2331 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2334 cat >>confdefs.h
<<_ACEOF
2335 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2338 cat >>confdefs.h
<<_ACEOF
2339 #define PACKAGE_STRING "$PACKAGE_STRING"
2342 cat >>confdefs.h
<<_ACEOF
2343 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2346 cat >>confdefs.h
<<_ACEOF
2347 #define PACKAGE_URL "$PACKAGE_URL"
2351 # Let the site file select an alternate cache file if it wants to.
2352 # Prefer an explicitly selected file to automatically selected ones.
2355 if test -n "$CONFIG_SITE"; then
2356 # We do not want a PATH search for config.site.
2357 case $CONFIG_SITE in #((
2358 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2359 */*) ac_site_file1
=$CONFIG_SITE;;
2360 *) ac_site_file1
=.
/$CONFIG_SITE;;
2362 elif test "x$prefix" != xNONE
; then
2363 ac_site_file1
=$prefix/share
/config.site
2364 ac_site_file2
=$prefix/etc
/config.site
2366 ac_site_file1
=$ac_default_prefix/share
/config.site
2367 ac_site_file2
=$ac_default_prefix/etc
/config.site
2369 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2371 test "x$ac_site_file" = xNONE
&& continue
2372 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2374 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2375 sed 's/^/| /' "$ac_site_file" >&5
2377 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2378 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2379 as_fn_error $?
"failed to load site script $ac_site_file
2380 See \`config.log' for more details" "$LINENO" 5; }
2384 if test -r "$cache_file"; then
2385 # Some versions of bash will fail to source /dev/null (special files
2386 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2387 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2389 $as_echo "$as_me: loading cache $cache_file" >&6;}
2391 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2392 *) .
"./$cache_file";;
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2397 $as_echo "$as_me: creating cache $cache_file" >&6;}
2401 as_fn_append ac_header_list
" dlfcn.h"
2402 as_fn_append ac_header_list
" fcntl.h"
2403 as_fn_append ac_header_list
" fpu_control.h"
2404 as_fn_append ac_header_list
" termios.h"
2405 as_fn_append ac_header_list
" unistd.h"
2406 as_fn_append ac_header_list
" utime.h"
2407 as_fn_append ac_header_list
" linux/if_tun.h"
2408 as_fn_append ac_header_list
" linux/mii.h"
2409 as_fn_append ac_header_list
" linux/types.h"
2410 as_fn_append ac_header_list
" net/if.h"
2411 as_fn_append ac_header_list
" netinet/in.h"
2412 as_fn_append ac_header_list
" netinet/tcp.h"
2413 as_fn_append ac_header_list
" sys/ioctl.h"
2414 as_fn_append ac_header_list
" sys/mman.h"
2415 as_fn_append ac_header_list
" sys/mount.h"
2416 as_fn_append ac_header_list
" sys/param.h"
2417 as_fn_append ac_header_list
" sys/resource.h"
2418 as_fn_append ac_header_list
" sys/socket.h"
2419 as_fn_append ac_header_list
" sys/stat.h"
2420 as_fn_append ac_header_list
" sys/statfs.h"
2421 as_fn_append ac_header_list
" sys/termio.h"
2422 as_fn_append ac_header_list
" sys/termios.h"
2423 as_fn_append ac_header_list
" sys/types.h"
2424 as_fn_append ac_header_list
" sys/vfs.h"
2425 as_fn_append ac_func_list
" __setfpucw"
2426 as_fn_append ac_func_list
" access"
2427 as_fn_append ac_func_list
" aint"
2428 as_fn_append ac_func_list
" anint"
2429 as_fn_append ac_func_list
" cfgetispeed"
2430 as_fn_append ac_func_list
" cfgetospeed"
2431 as_fn_append ac_func_list
" cfsetispeed"
2432 as_fn_append ac_func_list
" cfsetospeed"
2433 as_fn_append ac_func_list
" chdir"
2434 as_fn_append ac_func_list
" chmod"
2435 as_fn_append ac_func_list
" dup"
2436 as_fn_append ac_func_list
" dup2"
2437 as_fn_append ac_func_list
" execv"
2438 as_fn_append ac_func_list
" execve"
2439 as_fn_append ac_func_list
" fcntl"
2440 as_fn_append ac_func_list
" fork"
2441 as_fn_append ac_func_list
" fstat"
2442 as_fn_append ac_func_list
" fstatfs"
2443 as_fn_append ac_func_list
" ftruncate"
2444 as_fn_append ac_func_list
" getdirentries"
2445 as_fn_append ac_func_list
" getegid"
2446 as_fn_append ac_func_list
" geteuid"
2447 as_fn_append ac_func_list
" getgid"
2448 as_fn_append ac_func_list
" getpid"
2449 as_fn_append ac_func_list
" getppid"
2450 as_fn_append ac_func_list
" getrusage"
2451 as_fn_append ac_func_list
" gettimeofday"
2452 as_fn_append ac_func_list
" getuid"
2453 as_fn_append ac_func_list
" ioctl"
2454 as_fn_append ac_func_list
" kill"
2455 as_fn_append ac_func_list
" link"
2456 as_fn_append ac_func_list
" lseek"
2457 as_fn_append ac_func_list
" mmap"
2458 as_fn_append ac_func_list
" munmap"
2459 as_fn_append ac_func_list
" pipe"
2460 as_fn_append ac_func_list
" posix_fallocate"
2461 as_fn_append ac_func_list
" pread"
2462 as_fn_append ac_func_list
" rmdir"
2463 as_fn_append ac_func_list
" setregid"
2464 as_fn_append ac_func_list
" setreuid"
2465 as_fn_append ac_func_list
" setgid"
2466 as_fn_append ac_func_list
" setuid"
2467 as_fn_append ac_func_list
" sigaction"
2468 as_fn_append ac_func_list
" sigprocmask"
2469 as_fn_append ac_func_list
" sqrt"
2470 as_fn_append ac_func_list
" stat"
2471 as_fn_append ac_func_list
" strsignal"
2472 as_fn_append ac_func_list
" symlink"
2473 as_fn_append ac_func_list
" tcdrain"
2474 as_fn_append ac_func_list
" tcflow"
2475 as_fn_append ac_func_list
" tcflush"
2476 as_fn_append ac_func_list
" tcgetattr"
2477 as_fn_append ac_func_list
" tcgetpgrp"
2478 as_fn_append ac_func_list
" tcsendbreak"
2479 as_fn_append ac_func_list
" tcsetattr"
2480 as_fn_append ac_func_list
" tcsetpgrp"
2481 as_fn_append ac_func_list
" time"
2482 as_fn_append ac_func_list
" truncate"
2483 as_fn_append ac_func_list
" umask"
2484 as_fn_append ac_func_list
" unlink"
2485 as_fn_append ac_func_list
" utime"
2486 # Check that the precious variables saved in the cache have kept the same
2488 ac_cache_corrupted
=false
2489 for ac_var
in $ac_precious_vars; do
2490 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2491 eval ac_new_set
=\
$ac_env_${ac_var}_set
2492 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2493 eval ac_new_val
=\
$ac_env_${ac_var}_value
2494 case $ac_old_set,$ac_new_set in
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2497 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2498 ac_cache_corrupted
=: ;;
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2501 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2502 ac_cache_corrupted
=: ;;
2505 if test "x$ac_old_val" != "x$ac_new_val"; then
2506 # differences in whitespace do not lead to failure.
2507 ac_old_val_w
=`echo x $ac_old_val`
2508 ac_new_val_w
=`echo x $ac_new_val`
2509 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2511 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2512 ac_cache_corrupted
=:
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2515 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2516 eval $ac_var=\
$ac_old_val
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2519 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2521 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2524 # Pass precious variables to config.status.
2525 if test "$ac_new_set" = set; then
2527 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2528 *) ac_arg
=$ac_var=$ac_new_val ;;
2530 case " $ac_configure_args " in
2531 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2532 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2536 if $ac_cache_corrupted; then
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2538 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2540 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2541 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2543 ## -------------------- ##
2544 ## Main body of script. ##
2545 ## -------------------- ##
2548 ac_cpp
='$CPP $CPPFLAGS'
2549 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2550 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2551 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2560 # Check whether --with-pkgversion was given.
2561 if test "${with_pkgversion+set}" = set; then :
2562 withval
=$with_pkgversion; case "$withval" in
2563 yes) as_fn_error $?
"package version not specified" "$LINENO" 5 ;;
2565 *) PKGVERSION
="($withval) " ;;
2575 cat >>confdefs.h
<<_ACEOF
2576 #define PKGVERSION "$PKGVERSION"
2581 # Check whether --with-bugurl was given.
2582 if test "${with_bugurl+set}" = set; then :
2583 withval
=$with_bugurl; case "$withval" in
2584 yes) as_fn_error $?
"bug URL not specified" "$LINENO" 5 ;;
2587 *) BUGURL
="$withval"
2591 BUGURL
="$PACKAGE_BUGREPORT"
2601 REPORT_BUGS_TO
="<$BUGURL>"
2602 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
2609 cat >>confdefs.h
<<_ACEOF
2610 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
2614 ac_config_headers
="$ac_config_headers config.h"
2618 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2619 if test -f "$ac_dir/install-sh"; then
2621 ac_install_sh
="$ac_aux_dir/install-sh -c"
2623 elif test -f "$ac_dir/install.sh"; then
2625 ac_install_sh
="$ac_aux_dir/install.sh -c"
2627 elif test -f "$ac_dir/shtool"; then
2629 ac_install_sh
="$ac_aux_dir/shtool install -c"
2633 if test -z "$ac_aux_dir"; then
2634 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2637 # These three variables are undocumented and unsupported,
2638 # and are intended to be withdrawn in a future Autoconf release.
2639 # They can cause serious problems if a builder's source tree is in a directory
2640 # whose full name contains unusual characters.
2641 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2642 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2643 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2646 # Make sure we can run config.sub.
2647 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2648 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2651 $as_echo_n "checking build system type... " >&6; }
2652 if ${ac_cv_build+:} false
; then :
2653 $as_echo_n "(cached) " >&6
2655 ac_build_alias
=$build_alias
2656 test "x$ac_build_alias" = x
&&
2657 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2658 test "x$ac_build_alias" = x
&&
2659 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2660 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2661 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2665 $as_echo "$ac_cv_build" >&6; }
2666 case $ac_cv_build in
2668 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2671 ac_save_IFS
=$IFS; IFS
='-'
2677 # Remember, the first character of IFS is used to create $*,
2678 # except with old shells:
2681 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2685 $as_echo_n "checking host system type... " >&6; }
2686 if ${ac_cv_host+:} false
; then :
2687 $as_echo_n "(cached) " >&6
2689 if test "x$host_alias" = x
; then
2690 ac_cv_host
=$ac_cv_build
2692 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2693 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2698 $as_echo "$ac_cv_host" >&6; }
2701 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2704 ac_save_IFS
=$IFS; IFS
='-'
2710 # Remember, the first character of IFS is used to create $*,
2711 # except with old shells:
2714 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2718 $as_echo_n "checking target system type... " >&6; }
2719 if ${ac_cv_target+:} false
; then :
2720 $as_echo_n "(cached) " >&6
2722 if test "x$target_alias" = x
; then
2723 ac_cv_target
=$ac_cv_host
2725 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2726 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2731 $as_echo "$ac_cv_target" >&6; }
2732 case $ac_cv_target in
2734 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2736 target
=$ac_cv_target
2737 ac_save_IFS
=$IFS; IFS
='-'
2743 # Remember, the first character of IFS is used to create $*,
2744 # except with old shells:
2747 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2750 # The aliases save the names the user supplied, while $host etc.
2751 # will get canonicalized.
2752 test -n "$target_alias" &&
2753 test "$program_prefix$program_suffix$program_transform_name" = \
2755 program_prefix
=${target_alias}-
2756 # Expand $ac_aux_dir to an absolute path.
2757 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2760 ac_cpp
='$CPP $CPPFLAGS'
2761 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2762 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2763 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2764 if test -n "$ac_tool_prefix"; then
2765 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2766 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2768 $as_echo_n "checking for $ac_word... " >&6; }
2769 if ${ac_cv_prog_CC+:} false
; then :
2770 $as_echo_n "(cached) " >&6
2772 if test -n "$CC"; then
2773 ac_cv_prog_CC
="$CC" # Let the user override the test.
2775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2779 test -z "$as_dir" && as_dir
=.
2780 for ac_exec_ext
in '' $ac_executable_extensions; do
2781 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2782 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2793 if test -n "$CC"; then
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2795 $as_echo "$CC" >&6; }
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2798 $as_echo "no" >&6; }
2803 if test -z "$ac_cv_prog_CC"; then
2805 # Extract the first word of "gcc", so it can be a program name with args.
2806 set dummy gcc
; ac_word
=$2
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2808 $as_echo_n "checking for $ac_word... " >&6; }
2809 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2810 $as_echo_n "(cached) " >&6
2812 if test -n "$ac_ct_CC"; then
2813 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2819 test -z "$as_dir" && as_dir
=.
2820 for ac_exec_ext
in '' $ac_executable_extensions; do
2821 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2822 ac_cv_prog_ac_ct_CC
="gcc"
2823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2832 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2833 if test -n "$ac_ct_CC"; then
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2835 $as_echo "$ac_ct_CC" >&6; }
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2838 $as_echo "no" >&6; }
2841 if test "x$ac_ct_CC" = x
; then
2844 case $cross_compiling:$ac_tool_warned in
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2847 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2848 ac_tool_warned
=yes ;;
2856 if test -z "$CC"; then
2857 if test -n "$ac_tool_prefix"; then
2858 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2859 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2861 $as_echo_n "checking for $ac_word... " >&6; }
2862 if ${ac_cv_prog_CC+:} false
; then :
2863 $as_echo_n "(cached) " >&6
2865 if test -n "$CC"; then
2866 ac_cv_prog_CC
="$CC" # Let the user override the test.
2868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2872 test -z "$as_dir" && as_dir
=.
2873 for ac_exec_ext
in '' $ac_executable_extensions; do
2874 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2875 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2886 if test -n "$CC"; then
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2888 $as_echo "$CC" >&6; }
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2891 $as_echo "no" >&6; }
2897 if test -z "$CC"; then
2898 # Extract the first word of "cc", so it can be a program name with args.
2899 set dummy cc
; ac_word
=$2
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2901 $as_echo_n "checking for $ac_word... " >&6; }
2902 if ${ac_cv_prog_CC+:} false
; then :
2903 $as_echo_n "(cached) " >&6
2905 if test -n "$CC"; then
2906 ac_cv_prog_CC
="$CC" # Let the user override the test.
2909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2913 test -z "$as_dir" && as_dir
=.
2914 for ac_exec_ext
in '' $ac_executable_extensions; do
2915 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2916 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2917 ac_prog_rejected
=yes
2921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2928 if test $ac_prog_rejected = yes; then
2929 # We found a bogon in the path, so make sure we never use it.
2930 set dummy
$ac_cv_prog_CC
2932 if test $# != 0; then
2933 # We chose a different compiler from the bogus one.
2934 # However, it has the same basename, so the bogon will be chosen
2935 # first if we set CC to just the basename; use the full file name.
2937 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2943 if test -n "$CC"; then
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2945 $as_echo "$CC" >&6; }
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2948 $as_echo "no" >&6; }
2953 if test -z "$CC"; then
2954 if test -n "$ac_tool_prefix"; then
2955 for ac_prog
in cl.exe
2957 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2958 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2960 $as_echo_n "checking for $ac_word... " >&6; }
2961 if ${ac_cv_prog_CC+:} false
; then :
2962 $as_echo_n "(cached) " >&6
2964 if test -n "$CC"; then
2965 ac_cv_prog_CC
="$CC" # Let the user override the test.
2967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2971 test -z "$as_dir" && as_dir
=.
2972 for ac_exec_ext
in '' $ac_executable_extensions; do
2973 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2974 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2985 if test -n "$CC"; then
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2987 $as_echo "$CC" >&6; }
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2990 $as_echo "no" >&6; }
2994 test -n "$CC" && break
2997 if test -z "$CC"; then
2999 for ac_prog
in cl.exe
3001 # Extract the first word of "$ac_prog", so it can be a program name with args.
3002 set dummy
$ac_prog; ac_word
=$2
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3004 $as_echo_n "checking for $ac_word... " >&6; }
3005 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3006 $as_echo_n "(cached) " >&6
3008 if test -n "$ac_ct_CC"; then
3009 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3015 test -z "$as_dir" && as_dir
=.
3016 for ac_exec_ext
in '' $ac_executable_extensions; do
3017 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3018 ac_cv_prog_ac_ct_CC
="$ac_prog"
3019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3028 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3029 if test -n "$ac_ct_CC"; then
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3031 $as_echo "$ac_ct_CC" >&6; }
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3034 $as_echo "no" >&6; }
3038 test -n "$ac_ct_CC" && break
3041 if test "x$ac_ct_CC" = x
; then
3044 case $cross_compiling:$ac_tool_warned in
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3047 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3048 ac_tool_warned
=yes ;;
3057 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3059 as_fn_error $?
"no acceptable C compiler found in \$PATH
3060 See \`config.log' for more details" "$LINENO" 5; }
3062 # Provide some information about the compiler.
3063 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3066 for ac_option
in --version -v -V -qversion; do
3067 { { ac_try
="$ac_compiler $ac_option >&5"
3069 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3070 *) ac_try_echo=$ac_try;;
3072 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3073 $as_echo "$ac_try_echo"; } >&5
3074 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3076 if test -s conftest.err; then
3078 ... rest of stderr output deleted ...
3079 10q' conftest.err >conftest.er1
3080 cat conftest.er1 >&5
3082 rm -f conftest.er1 conftest.err
3083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3084 test $ac_status = 0; }
3087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3088 /* end confdefs.h. */
3098 ac_clean_files_save=$ac_clean_files
3099 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3100 # Try to create an executable without -o first, disregard a.out.
3101 # It will help us diagnose broken compilers, and finding out an intuition
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3104 $as_echo_n "checking whether the C compiler works... " >&6; }
3105 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3107 # The possible output files:
3108 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3111 for ac_file in $ac_files
3114 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3115 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3120 if { { ac_try="$ac_link_default"
3122 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3123 *) ac_try_echo
=$ac_try;;
3125 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3126 $as_echo "$ac_try_echo"; } >&5
3127 (eval "$ac_link_default") 2>&5
3129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3130 test $ac_status = 0; }; then :
3131 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3132 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3133 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3134 # so that the user can short-circuit this test for compilers unknown to
3136 for ac_file
in $ac_files ''
3138 test -f "$ac_file" ||
continue
3140 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3143 # We found the default executable, but exeext='' is most
3147 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3149 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3151 # We set ac_cv_exeext here because the later test for it is not
3152 # safe: cross compilers may not add the suffix if given an `-o'
3153 # argument, so we may need to know it at that point already.
3154 # Even if this section looks crufty: it has the advantage of
3161 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3166 if test -z "$ac_file"; then :
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3168 $as_echo "no" >&6; }
3169 $as_echo "$as_me: failed program was:" >&5
3170 sed 's/^/| /' conftest.
$ac_ext >&5
3172 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3173 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3174 as_fn_error
77 "C compiler cannot create executables
3175 See \`config.log' for more details" "$LINENO" 5; }
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3178 $as_echo "yes" >&6; }
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3181 $as_echo_n "checking for C compiler default output file name... " >&6; }
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3183 $as_echo "$ac_file" >&6; }
3184 ac_exeext
=$ac_cv_exeext
3186 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3187 ac_clean_files
=$ac_clean_files_save
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3189 $as_echo_n "checking for suffix of executables... " >&6; }
3190 if { { ac_try
="$ac_link"
3192 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3193 *) ac_try_echo=$ac_try;;
3195 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3196 $as_echo "$ac_try_echo"; } >&5
3197 (eval "$ac_link") 2>&5
3199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3200 test $ac_status = 0; }; then :
3201 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3202 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3203 # work properly (i.e., refer to `conftest.exe'), while it won't with
3205 for ac_file
in conftest.exe conftest conftest.
*; do
3206 test -f "$ac_file" ||
continue
3208 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3209 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3215 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3216 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3217 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3218 See \`config.log' for more details" "$LINENO" 5; }
3220 rm -f conftest conftest
$ac_cv_exeext
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3222 $as_echo "$ac_cv_exeext" >&6; }
3224 rm -f conftest.
$ac_ext
3225 EXEEXT
=$ac_cv_exeext
3227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3228 /* end confdefs.h. */
3233 FILE *f = fopen ("conftest.out", "w");
3234 return ferror (f) || fclose (f) != 0;
3240 ac_clean_files
="$ac_clean_files conftest.out"
3241 # Check that the compiler produces executables we can run. If not, either
3242 # the compiler is broken, or we cross compile.
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3244 $as_echo_n "checking whether we are cross compiling... " >&6; }
3245 if test "$cross_compiling" != yes; then
3246 { { ac_try
="$ac_link"
3248 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3249 *) ac_try_echo=$ac_try;;
3251 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3252 $as_echo "$ac_try_echo"; } >&5
3253 (eval "$ac_link") 2>&5
3255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3256 test $ac_status = 0; }
3257 if { ac_try='./conftest$ac_cv_exeext'
3258 { { case "(($ac_try" in
3259 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3260 *) ac_try_echo
=$ac_try;;
3262 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3263 $as_echo "$ac_try_echo"; } >&5
3264 (eval "$ac_try") 2>&5
3266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3267 test $ac_status = 0; }; }; then
3270 if test "$cross_compiling" = maybe
; then
3273 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3274 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3275 as_fn_error $?
"cannot run C compiled programs.
3276 If you meant to cross compile, use \`--host'.
3277 See \`config.log' for more details" "$LINENO" 5; }
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3282 $as_echo "$cross_compiling" >&6; }
3284 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3285 ac_clean_files
=$ac_clean_files_save
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3287 $as_echo_n "checking for suffix of object files... " >&6; }
3288 if ${ac_cv_objext+:} false
; then :
3289 $as_echo_n "(cached) " >&6
3291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3292 /* end confdefs.h. */
3302 rm -f conftest.o conftest.obj
3303 if { { ac_try
="$ac_compile"
3305 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3306 *) ac_try_echo=$ac_try;;
3308 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3309 $as_echo "$ac_try_echo"; } >&5
3310 (eval "$ac_compile") 2>&5
3312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3313 test $ac_status = 0; }; then :
3314 for ac_file in conftest.o conftest.obj conftest.*; do
3315 test -f "$ac_file" || continue;
3317 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3318 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3323 $as_echo "$as_me: failed program was:" >&5
3324 sed 's/^/| /' conftest.$ac_ext >&5
3326 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3328 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3329 See \
`config.log' for more details" "$LINENO" 5; }
3331 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3334 $as_echo "$ac_cv_objext" >&6; }
3335 OBJEXT=$ac_cv_objext
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3338 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3339 if ${ac_cv_c_compiler_gnu+:} false; then :
3340 $as_echo_n "(cached) " >&6
3342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3343 /* end confdefs.h. */
3356 if ac_fn_c_try_compile "$LINENO"; then :
3361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3362 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3366 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3367 if test $ac_compiler_gnu = yes; then
3372 ac_test_CFLAGS=${CFLAGS+set}
3373 ac_save_CFLAGS=$CFLAGS
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3375 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3376 if ${ac_cv_prog_cc_g+:} false; then :
3377 $as_echo_n "(cached) " >&6
3379 ac_save_c_werror_flag=$ac_c_werror_flag
3380 ac_c_werror_flag=yes
3383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3384 /* end confdefs.h. */
3394 if ac_fn_c_try_compile "$LINENO"; then :
3398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3399 /* end confdefs.h. */
3409 if ac_fn_c_try_compile "$LINENO"; then :
3412 ac_c_werror_flag=$ac_save_c_werror_flag
3414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3415 /* end confdefs.h. */
3425 if ac_fn_c_try_compile "$LINENO"; then :
3428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3433 ac_c_werror_flag=$ac_save_c_werror_flag
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3436 $as_echo "$ac_cv_prog_cc_g" >&6; }
3437 if test "$ac_test_CFLAGS" = set; then
3438 CFLAGS=$ac_save_CFLAGS
3439 elif test $ac_cv_prog_cc_g = yes; then
3440 if test "$GCC" = yes; then
3446 if test "$GCC" = yes; then
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3453 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3454 if ${ac_cv_prog_cc_c89+:} false; then :
3455 $as_echo_n "(cached) " >&6
3457 ac_cv_prog_cc_c89=no
3459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3460 /* end confdefs.h. */
3464 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3465 struct buf { int x; };
3466 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3467 static char *e (p, i)
3473 static char *f (char * (*g) (char **, int), char **p, ...)
3478 s = g (p, va_arg (v,int));
3483 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3484 function prototypes and stuff, but not '\xHH' hex character constants.
3485 These don't provoke an error unfortunately, instead are silently treated
3486 as 'x'. The following induces an error, until -std is added to get
3487 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3488 array size at least. It's necessary to write '\x00'==0 to get something
3489 that's true only with -std. */
3490 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3492 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3493 inside strings and character constants. */
3495 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3497 int test (int i, double x);
3498 struct s1 {int (*f) (int a);};
3499 struct s2 {int (*f) (double a);};
3500 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3506 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3511 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3512 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3514 CC="$ac_save_CC $ac_arg"
3515 if ac_fn_c_try_compile "$LINENO"; then :
3516 ac_cv_prog_cc_c89=$ac_arg
3518 rm -f core conftest.err conftest.$ac_objext
3519 test "x$ac_cv_prog_cc_c89" != "xno" && break
3521 rm -f conftest.$ac_ext
3526 case "x$ac_cv_prog_cc_c89" in
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3529 $as_echo "none needed" >&6; } ;;
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3532 $as_echo "unsupported" >&6; } ;;
3534 CC="$CC $ac_cv_prog_cc_c89"
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3536 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3538 if test "x$ac_cv_prog_cc_c89" != xno; then :
3543 ac_cpp='$CPP $CPPFLAGS'
3544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3549 ac_cpp='$CPP $CPPFLAGS'
3550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3554 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3555 if ${am_cv_prog_cc_c_o+:} false; then :
3556 $as_echo_n "(cached) " >&6
3558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3559 /* end confdefs.h. */
3569 # Make sure it works both with $CC and with simple cc.
3570 # Following AC_PROG_CC_C_O, we do the test twice because some
3571 # compilers refuse to overwrite an existing .o file with -o,
3572 # though they will create one.
3573 am_cv_prog_cc_c_o=yes
3575 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3576 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3579 (exit $ac_status); } \
3580 && test -f conftest2.$ac_objext; then
3583 am_cv_prog_cc_c_o=no
3587 rm -f core conftest*
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3591 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3592 if test "$am_cv_prog_cc_c_o" != yes; then
3593 # Losing compiler, so override with the script.
3594 # FIXME: It is wrong to rewrite CC.
3595 # But if we don't then we get into trouble of one sort or another.
3596 # A longer-term fix would be to have automake use am__CC in this case,
3597 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3598 CC="$am_aux_dir/compile $CC"
3601 ac_cpp='$CPP $CPPFLAGS'
3602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3609 ac_cpp='$CPP $CPPFLAGS'
3610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3614 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3615 # On Suns, sometimes $CPP names a directory.
3616 if test -n "$CPP" && test -d "$CPP"; then
3619 if test -z "$CPP"; then
3620 if ${ac_cv_prog_CPP+:} false; then :
3621 $as_echo_n "(cached) " >&6
3623 # Double quotes because CPP needs to be expanded
3624 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3627 for ac_c_preproc_warn_flag in '' yes
3629 # Use a header file that comes with gcc, so configuring glibc
3630 # with a fresh cross-compiler works.
3631 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3632 # <limits.h> exists even on freestanding compilers.
3633 # On the NeXT, cc -E runs the code through the compiler's parser,
3634 # not just through cpp. "Syntax error" is here to catch this case.
3635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3636 /* end confdefs.h. */
3638 # include <limits.h>
3640 # include <assert.h>
3644 if ac_fn_c_try_cpp "$LINENO"; then :
3647 # Broken: fails on valid input.
3650 rm -f conftest.err conftest.i conftest.$ac_ext
3652 # OK, works on sane cases. Now check whether nonexistent headers
3653 # can be detected and how.
3654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3655 /* end confdefs.h. */
3656 #include <ac_nonexistent.h>
3658 if ac_fn_c_try_cpp "$LINENO"; then :
3659 # Broken: success on invalid input.
3662 # Passes both tests.
3666 rm -f conftest.err conftest.i conftest.$ac_ext
3669 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3670 rm -f conftest.i conftest.err conftest.
$ac_ext
3671 if $ac_preproc_ok; then :
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3684 $as_echo "$CPP" >&6; }
3686 for ac_c_preproc_warn_flag
in '' yes
3688 # Use a header file that comes with gcc, so configuring glibc
3689 # with a fresh cross-compiler works.
3690 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3691 # <limits.h> exists even on freestanding compilers.
3692 # On the NeXT, cc -E runs the code through the compiler's parser,
3693 # not just through cpp. "Syntax error" is here to catch this case.
3694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3695 /* end confdefs.h. */
3697 # include <limits.h>
3699 # include <assert.h>
3703 if ac_fn_c_try_cpp
"$LINENO"; then :
3706 # Broken: fails on valid input.
3709 rm -f conftest.err conftest.i conftest.
$ac_ext
3711 # OK, works on sane cases. Now check whether nonexistent headers
3712 # can be detected and how.
3713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3714 /* end confdefs.h. */
3715 #include <ac_nonexistent.h>
3717 if ac_fn_c_try_cpp
"$LINENO"; then :
3718 # Broken: success on invalid input.
3721 # Passes both tests.
3725 rm -f conftest.err conftest.i conftest.
$ac_ext
3728 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3729 rm -f conftest.i conftest.err conftest.
$ac_ext
3730 if $ac_preproc_ok; then :
3733 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3734 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3735 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3736 See \`config.log' for more details" "$LINENO" 5; }
3740 ac_cpp
='$CPP $CPPFLAGS'
3741 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3742 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3743 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3747 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3748 if ${ac_cv_path_GREP+:} false
; then :
3749 $as_echo_n "(cached) " >&6
3751 if test -z "$GREP"; then
3752 ac_path_GREP_found
=false
3753 # Loop through the user's path and test for each of PROGNAME-LIST
3754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3755 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3758 test -z "$as_dir" && as_dir
=.
3759 for ac_prog
in grep ggrep
; do
3760 for ac_exec_ext
in '' $ac_executable_extensions; do
3761 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3762 as_fn_executable_p
"$ac_path_GREP" ||
continue
3763 # Check for GNU ac_path_GREP and select it if it is found.
3764 # Check for GNU $ac_path_GREP
3765 case `"$ac_path_GREP" --version 2>&1` in
3767 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3770 $as_echo_n 0123456789 >"conftest.in"
3773 cat "conftest.in" "conftest.in" >"conftest.tmp"
3774 mv "conftest.tmp" "conftest.in"
3775 cp "conftest.in" "conftest.nl"
3776 $as_echo 'GREP' >> "conftest.nl"
3777 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3778 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3779 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3780 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3781 # Best one so far, save it but keep looking for a better one
3782 ac_cv_path_GREP
="$ac_path_GREP"
3783 ac_path_GREP_max
=$ac_count
3785 # 10*(2^10) chars as input seems more than enough
3786 test $ac_count -gt 10 && break
3788 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3791 $ac_path_GREP_found && break 3
3796 if test -z "$ac_cv_path_GREP"; then
3797 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3800 ac_cv_path_GREP
=$GREP
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3805 $as_echo "$ac_cv_path_GREP" >&6; }
3806 GREP
="$ac_cv_path_GREP"
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3810 $as_echo_n "checking for egrep... " >&6; }
3811 if ${ac_cv_path_EGREP+:} false
; then :
3812 $as_echo_n "(cached) " >&6
3814 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3815 then ac_cv_path_EGREP
="$GREP -E"
3817 if test -z "$EGREP"; then
3818 ac_path_EGREP_found
=false
3819 # Loop through the user's path and test for each of PROGNAME-LIST
3820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3821 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3824 test -z "$as_dir" && as_dir
=.
3825 for ac_prog
in egrep; do
3826 for ac_exec_ext
in '' $ac_executable_extensions; do
3827 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3828 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3829 # Check for GNU ac_path_EGREP and select it if it is found.
3830 # Check for GNU $ac_path_EGREP
3831 case `"$ac_path_EGREP" --version 2>&1` in
3833 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3836 $as_echo_n 0123456789 >"conftest.in"
3839 cat "conftest.in" "conftest.in" >"conftest.tmp"
3840 mv "conftest.tmp" "conftest.in"
3841 cp "conftest.in" "conftest.nl"
3842 $as_echo 'EGREP' >> "conftest.nl"
3843 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3844 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3845 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3846 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3847 # Best one so far, save it but keep looking for a better one
3848 ac_cv_path_EGREP
="$ac_path_EGREP"
3849 ac_path_EGREP_max
=$ac_count
3851 # 10*(2^10) chars as input seems more than enough
3852 test $ac_count -gt 10 && break
3854 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3857 $ac_path_EGREP_found && break 3
3862 if test -z "$ac_cv_path_EGREP"; then
3863 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3866 ac_cv_path_EGREP
=$EGREP
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3872 $as_echo "$ac_cv_path_EGREP" >&6; }
3873 EGREP
="$ac_cv_path_EGREP"
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3877 $as_echo_n "checking for ANSI C header files... " >&6; }
3878 if ${ac_cv_header_stdc+:} false
; then :
3879 $as_echo_n "(cached) " >&6
3881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3882 /* end confdefs.h. */
3896 if ac_fn_c_try_compile
"$LINENO"; then :
3897 ac_cv_header_stdc
=yes
3899 ac_cv_header_stdc
=no
3901 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3903 if test $ac_cv_header_stdc = yes; then
3904 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3906 /* end confdefs.h. */
3910 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3911 $EGREP "memchr" >/dev
/null
2>&1; then :
3914 ac_cv_header_stdc
=no
3920 if test $ac_cv_header_stdc = yes; then
3921 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3923 /* end confdefs.h. */
3927 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3928 $EGREP "free" >/dev
/null
2>&1; then :
3931 ac_cv_header_stdc
=no
3937 if test $ac_cv_header_stdc = yes; then
3938 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3939 if test "$cross_compiling" = yes; then :
3942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3943 /* end confdefs.h. */
3946 #if ((' ' & 0x0FF) == 0x020)
3947 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3948 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3950 # define ISLOWER(c) \
3951 (('a' <= (c) && (c) <= 'i') \
3952 || ('j' <= (c) && (c) <= 'r') \
3953 || ('s' <= (c) && (c) <= 'z'))
3954 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3957 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3962 for (i = 0; i < 256; i++)
3963 if (XOR (islower (i), ISLOWER (i))
3964 || toupper (i) != TOUPPER (i))
3969 if ac_fn_c_try_run
"$LINENO"; then :
3972 ac_cv_header_stdc
=no
3974 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3975 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3981 $as_echo "$ac_cv_header_stdc" >&6; }
3982 if test $ac_cv_header_stdc = yes; then
3984 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3988 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3989 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3990 inttypes.h stdint.h unistd.h
3992 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3993 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3995 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3996 cat >>confdefs.h
<<_ACEOF
3997 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4006 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4007 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4014 if test "$MINIX" = yes; then
4016 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4019 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4022 $as_echo "#define _MINIX 1" >>confdefs.h
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4028 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4029 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4030 $as_echo_n "(cached) " >&6
4032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4033 /* end confdefs.h. */
4035 # define __EXTENSIONS__ 1
4036 $ac_includes_default
4045 if ac_fn_c_try_compile
"$LINENO"; then :
4046 ac_cv_safe_to_define___extensions__
=yes
4048 ac_cv_safe_to_define___extensions__
=no
4050 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4053 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4054 test $ac_cv_safe_to_define___extensions__ = yes &&
4055 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4057 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4059 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4061 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4063 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4066 test "$program_prefix" != NONE
&&
4067 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4068 # Use a double $ so make ignores it.
4069 test "$program_suffix" != NONE
&&
4070 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4071 # Double any \ or $.
4072 # By default was `s,x,x', remove it if useless.
4073 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4074 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4076 # Find a good install program. We prefer a C program (faster),
4077 # so one script is as good as another. But avoid the broken or
4078 # incompatible versions:
4079 # SysV /etc/install, /usr/sbin/install
4080 # SunOS /usr/etc/install
4081 # IRIX /sbin/install
4083 # AmigaOS /C/install, which installs bootblocks on floppy discs
4084 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4085 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4086 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4087 # OS/2's system install, which has a completely different semantic
4088 # ./install, which can be erroneously created by make from ./install.sh.
4089 # Reject install programs that cannot install multiple files.
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4091 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4092 if test -z "$INSTALL"; then
4093 if ${ac_cv_path_install+:} false
; then :
4094 $as_echo_n "(cached) " >&6
4096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4100 test -z "$as_dir" && as_dir
=.
4101 # Account for people who put trailing slashes in PATH elements.
4102 case $as_dir/ in #((
4103 .
/ | .
// |
/[cC
]/* | \
4104 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4105 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4108 # OSF1 and SCO ODT 3.0 have their own names for install.
4109 # Don't use installbsd from OSF since it installs stuff as root
4111 for ac_prog
in ginstall scoinst
install; do
4112 for ac_exec_ext
in '' $ac_executable_extensions; do
4113 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4114 if test $ac_prog = install &&
4115 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4116 # AIX install. It has an incompatible calling convention.
4118 elif test $ac_prog = install &&
4119 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4120 # program-specific install script used by HP pwplus--don't use.
4123 rm -rf conftest.one conftest.two conftest.dir
4124 echo one
> conftest.one
4125 echo two
> conftest.two
4127 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4128 test -s conftest.one
&& test -s conftest.two
&&
4129 test -s conftest.dir
/conftest.one
&&
4130 test -s conftest.dir
/conftest.two
4132 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4145 rm -rf conftest.one conftest.two conftest.dir
4148 if test "${ac_cv_path_install+set}" = set; then
4149 INSTALL
=$ac_cv_path_install
4151 # As a last resort, use the slow shell script. Don't cache a
4152 # value for INSTALL within a source directory, because that will
4153 # break other packages using the cache if that directory is
4154 # removed, or if the value is a relative name.
4155 INSTALL
=$ac_install_sh
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4159 $as_echo "$INSTALL" >&6; }
4161 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4162 # It thinks the first close brace ends the variable substitution.
4163 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4165 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4167 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4174 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4175 if ${ac_cv_c_bigendian+:} false
; then :
4176 $as_echo_n "(cached) " >&6
4178 ac_cv_c_bigendian
=unknown
4179 # See if we're dealing with a universal compiler.
4180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4181 /* end confdefs.h. */
4182 #ifndef __APPLE_CC__
4183 not a universal capable compiler
4188 if ac_fn_c_try_compile
"$LINENO"; then :
4190 # Check for potential -arch flags. It is not universal unless
4191 # there are at least two -arch flags with different values.
4194 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4195 if test -n "$ac_prev"; then
4197 i?
86 | x86_64 | ppc | ppc64
)
4198 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
4201 ac_cv_c_bigendian
=universal
4207 elif test "x$ac_word" = "x-arch"; then
4212 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4213 if test $ac_cv_c_bigendian = unknown
; then
4214 # See if sys/param.h defines the BYTE_ORDER macro.
4215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4216 /* end confdefs.h. */
4217 #include <sys/types.h>
4218 #include <sys/param.h>
4223 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4224 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4233 if ac_fn_c_try_compile
"$LINENO"; then :
4234 # It does; now see whether it defined to BIG_ENDIAN or not.
4235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4236 /* end confdefs.h. */
4237 #include <sys/types.h>
4238 #include <sys/param.h>
4243 #if BYTE_ORDER != BIG_ENDIAN
4251 if ac_fn_c_try_compile
"$LINENO"; then :
4252 ac_cv_c_bigendian
=yes
4254 ac_cv_c_bigendian
=no
4256 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4258 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4260 if test $ac_cv_c_bigendian = unknown
; then
4261 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4263 /* end confdefs.h. */
4269 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4277 if ac_fn_c_try_compile
"$LINENO"; then :
4278 # It does; now see whether it defined to _BIG_ENDIAN or not.
4279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4280 /* end confdefs.h. */
4294 if ac_fn_c_try_compile
"$LINENO"; then :
4295 ac_cv_c_bigendian
=yes
4297 ac_cv_c_bigendian
=no
4299 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4301 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4303 if test $ac_cv_c_bigendian = unknown
; then
4304 # Compile a test program.
4305 if test "$cross_compiling" = yes; then :
4306 # Try to guess by grepping values from an object file.
4307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4308 /* end confdefs.h. */
4309 short int ascii_mm[] =
4310 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4311 short int ascii_ii[] =
4312 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4313 int use_ascii (int i) {
4314 return ascii_mm[i] + ascii_ii[i];
4316 short int ebcdic_ii[] =
4317 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4318 short int ebcdic_mm[] =
4319 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4320 int use_ebcdic (int i) {
4321 return ebcdic_mm[i] + ebcdic_ii[i];
4328 return use_ascii (foo) == use_ebcdic (foo);
4333 if ac_fn_c_try_compile
"$LINENO"; then :
4334 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
4335 ac_cv_c_bigendian
=yes
4337 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
4338 if test "$ac_cv_c_bigendian" = unknown
; then
4339 ac_cv_c_bigendian
=no
4341 # finding both strings is unlikely to happen, but who knows?
4342 ac_cv_c_bigendian
=unknown
4346 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4349 /* end confdefs.h. */
4350 $ac_includes_default
4355 /* Are we little or big endian? From Harbison&Steele. */
4359 char c[sizeof (long int)];
4362 return u.c[sizeof (long int) - 1] == 1;
4368 if ac_fn_c_try_run
"$LINENO"; then :
4369 ac_cv_c_bigendian
=no
4371 ac_cv_c_bigendian
=yes
4373 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4374 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4380 $as_echo "$ac_cv_c_bigendian" >&6; }
4381 case $ac_cv_c_bigendian in #(
4383 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
4389 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4393 as_fn_error $?
"unknown endianness
4394 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4400 if test "x$cross_compiling" = "xno"; then
4401 : "${AR_FOR_BUILD:=\$(AR)}"
4402 : "${CC_FOR_BUILD:=\$(CC)}"
4403 : "${RANLIB_FOR_BUILD:=\$(RANLIB)}"
4404 : "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
4405 : "${LDFLAGS_FOR_BUILD:=\$(LDFLAGS)}"
4407 : "${AR_FOR_BUILD:=ar}"
4408 : "${CC_FOR_BUILD:=gcc}"
4409 : "${RANLIB_FOR_BUILD:=ranlib}"
4410 : "${CFLAGS_FOR_BUILD:=-g -O}"
4411 : "${LDLFAGS_FOR_BUILD:=}"
4420 if test -n "$ac_tool_prefix"; then
4421 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4422 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4424 $as_echo_n "checking for $ac_word... " >&6; }
4425 if ${ac_cv_prog_AR+:} false
; then :
4426 $as_echo_n "(cached) " >&6
4428 if test -n "$AR"; then
4429 ac_cv_prog_AR
="$AR" # Let the user override the test.
4431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4435 test -z "$as_dir" && as_dir
=.
4436 for ac_exec_ext
in '' $ac_executable_extensions; do
4437 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4438 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4449 if test -n "$AR"; then
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4451 $as_echo "$AR" >&6; }
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4454 $as_echo "no" >&6; }
4459 if test -z "$ac_cv_prog_AR"; then
4461 # Extract the first word of "ar", so it can be a program name with args.
4462 set dummy
ar; ac_word
=$2
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4464 $as_echo_n "checking for $ac_word... " >&6; }
4465 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4466 $as_echo_n "(cached) " >&6
4468 if test -n "$ac_ct_AR"; then
4469 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4475 test -z "$as_dir" && as_dir
=.
4476 for ac_exec_ext
in '' $ac_executable_extensions; do
4477 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4478 ac_cv_prog_ac_ct_AR
="ar"
4479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4488 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4489 if test -n "$ac_ct_AR"; then
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4491 $as_echo "$ac_ct_AR" >&6; }
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4494 $as_echo "no" >&6; }
4497 if test "x$ac_ct_AR" = x
; then
4500 case $cross_compiling:$ac_tool_warned in
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4503 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4504 ac_tool_warned
=yes ;;
4512 if test -n "$ac_tool_prefix"; then
4513 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4514 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4516 $as_echo_n "checking for $ac_word... " >&6; }
4517 if ${ac_cv_prog_RANLIB+:} false
; then :
4518 $as_echo_n "(cached) " >&6
4520 if test -n "$RANLIB"; then
4521 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4527 test -z "$as_dir" && as_dir
=.
4528 for ac_exec_ext
in '' $ac_executable_extensions; do
4529 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4530 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4540 RANLIB
=$ac_cv_prog_RANLIB
4541 if test -n "$RANLIB"; then
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4543 $as_echo "$RANLIB" >&6; }
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4546 $as_echo "no" >&6; }
4551 if test -z "$ac_cv_prog_RANLIB"; then
4552 ac_ct_RANLIB
=$RANLIB
4553 # Extract the first word of "ranlib", so it can be a program name with args.
4554 set dummy ranlib
; ac_word
=$2
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4556 $as_echo_n "checking for $ac_word... " >&6; }
4557 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4558 $as_echo_n "(cached) " >&6
4560 if test -n "$ac_ct_RANLIB"; then
4561 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4567 test -z "$as_dir" && as_dir
=.
4568 for ac_exec_ext
in '' $ac_executable_extensions; do
4569 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4570 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4580 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4581 if test -n "$ac_ct_RANLIB"; then
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4583 $as_echo "$ac_ct_RANLIB" >&6; }
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4586 $as_echo "no" >&6; }
4589 if test "x$ac_ct_RANLIB" = x
; then
4592 case $cross_compiling:$ac_tool_warned in
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4596 ac_tool_warned
=yes ;;
4598 RANLIB
=$ac_ct_RANLIB
4601 RANLIB
="$ac_cv_prog_RANLIB"
4605 # Require C11 or newer. Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
4606 # AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
4607 # is C99. So handle it ourselves.
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
4611 $as_echo_n "checking whether C11 is supported by default... " >&6; }
4612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4613 /* end confdefs.h. */
4615 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4616 # error "C11 support not found"
4620 if ac_fn_c_try_compile
"$LINENO"; then :
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4622 $as_echo "yes" >&6; }
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4626 $as_echo "no" >&6; }
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
4628 $as_echo_n "checking for -std=c11 support... " >&6; }
4631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4632 /* end confdefs.h. */
4634 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
4635 # error "C11 support not found"
4639 if ac_fn_c_try_compile
"$LINENO"; then :
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4642 $as_echo "yes" >&6; }
4644 C_DIALECT
="-std=c11"
4647 as_fn_error $?
"C11 is required" "$LINENO" 5
4649 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4651 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4657 for ac_header
in $ac_header_list
4659 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4660 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4662 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4663 cat >>confdefs.h
<<_ACEOF
4664 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4722 for ac_func
in $ac_func_list
4724 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4725 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4726 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
4727 cat >>confdefs.h
<<_ACEOF
4728 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
4857 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
4858 if ${ac_cv_struct_tm+:} false
; then :
4859 $as_echo_n "(cached) " >&6
4861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4862 /* end confdefs.h. */
4863 #include <sys/types.h>
4870 int *p = &tm.tm_sec;
4876 if ac_fn_c_try_compile
"$LINENO"; then :
4877 ac_cv_struct_tm
=time.h
4879 ac_cv_struct_tm
=sys
/time.h
4881 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
4884 $as_echo "$ac_cv_struct_tm" >&6; }
4885 if test $ac_cv_struct_tm = sys
/time.h
; then
4887 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
4892 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
4893 if ${ac_cv_type_uid_t+:} false
; then :
4894 $as_echo_n "(cached) " >&6
4896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4897 /* end confdefs.h. */
4898 #include <sys/types.h>
4901 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4902 $EGREP "uid_t" >/dev
/null
2>&1; then :
4903 ac_cv_type_uid_t
=yes
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
4911 $as_echo "$ac_cv_type_uid_t" >&6; }
4912 if test $ac_cv_type_uid_t = no
; then
4914 $as_echo "#define uid_t int" >>confdefs.h
4917 $as_echo "#define gid_t int" >>confdefs.h
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4924 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4929 macro_version
='2.2.7a'
4930 macro_revision
='1.3134'
4944 ltmain
="$ac_aux_dir/ltmain.sh"
4946 # Backslashify metacharacters that are still active within
4947 # double-quoted strings.
4948 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4950 # Same as above, but do not quote variable references.
4951 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4953 # Sed substitution to delay expansion of an escaped shell variable in a
4954 # double_quote_subst'ed string.
4955 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4957 # Sed substitution to delay expansion of an escaped single quote.
4958 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4960 # Sed substitution to avoid accidental globbing in evaled expressions
4961 no_glob_subst
='s/\*/\\\*/g'
4963 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4964 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4965 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4968 $as_echo_n "checking how to print strings... " >&6; }
4969 # Test print first, because it will be a builtin if present.
4970 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4971 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4973 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4976 # Use this function as a fallback that always works.
4977 func_fallback_echo ()
4979 eval 'cat <<_LTECHO_EOF
4983 ECHO='func_fallback_echo
'
4986 # func_echo_all arg...
4987 # Invoke $ECHO with all args, space-separated.
4994 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4995 $as_echo "printf" >&6; } ;;
4996 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4997 $as_echo "print -r" >&6; } ;;
4998 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4999 $as_echo "cat" >&6; } ;;
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5016 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5017 if ${ac_cv_path_SED+:} false; then :
5018 $as_echo_n "(cached) " >&6
5020 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5021 for ac_i in 1 2 3 4 5 6 7; do
5022 ac_script="$ac_script$as_nl$ac_script"
5024 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5025 { ac_script=; unset ac_script;}
5026 if test -z "$SED"; then
5027 ac_path_SED_found=false
5028 # Loop through the user's path and
test for each of PROGNAME-LIST
5029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5033 test -z "$as_dir" && as_dir
=.
5034 for ac_prog
in sed gsed
; do
5035 for ac_exec_ext
in '' $ac_executable_extensions; do
5036 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5037 as_fn_executable_p
"$ac_path_SED" ||
continue
5038 # Check for GNU ac_path_SED and select it if it is found.
5039 # Check for GNU $ac_path_SED
5040 case `"$ac_path_SED" --version 2>&1` in
5042 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5045 $as_echo_n 0123456789 >"conftest.in"
5048 cat "conftest.in" "conftest.in" >"conftest.tmp"
5049 mv "conftest.tmp" "conftest.in"
5050 cp "conftest.in" "conftest.nl"
5051 $as_echo '' >> "conftest.nl"
5052 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5053 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5054 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5055 if test $ac_count -gt ${ac_path_SED_max-0}; then
5056 # Best one so far, save it but keep looking for a better one
5057 ac_cv_path_SED
="$ac_path_SED"
5058 ac_path_SED_max
=$ac_count
5060 # 10*(2^10) chars as input seems more than enough
5061 test $ac_count -gt 10 && break
5063 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5066 $ac_path_SED_found && break 3
5071 if test -z "$ac_cv_path_SED"; then
5072 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5080 $as_echo "$ac_cv_path_SED" >&6; }
5081 SED
="$ac_cv_path_SED"
5084 test -z "$SED" && SED
=sed
5085 Xsed
="$SED -e 1s/^X//"
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5098 $as_echo_n "checking for fgrep... " >&6; }
5099 if ${ac_cv_path_FGREP+:} false
; then :
5100 $as_echo_n "(cached) " >&6
5102 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5103 then ac_cv_path_FGREP
="$GREP -F"
5105 if test -z "$FGREP"; then
5106 ac_path_FGREP_found
=false
5107 # Loop through the user's path and test for each of PROGNAME-LIST
5108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5109 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5112 test -z "$as_dir" && as_dir
=.
5113 for ac_prog
in fgrep
; do
5114 for ac_exec_ext
in '' $ac_executable_extensions; do
5115 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5116 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5117 # Check for GNU ac_path_FGREP and select it if it is found.
5118 # Check for GNU $ac_path_FGREP
5119 case `"$ac_path_FGREP" --version 2>&1` in
5121 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5124 $as_echo_n 0123456789 >"conftest.in"
5127 cat "conftest.in" "conftest.in" >"conftest.tmp"
5128 mv "conftest.tmp" "conftest.in"
5129 cp "conftest.in" "conftest.nl"
5130 $as_echo 'FGREP' >> "conftest.nl"
5131 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5132 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5133 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5134 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5135 # Best one so far, save it but keep looking for a better one
5136 ac_cv_path_FGREP
="$ac_path_FGREP"
5137 ac_path_FGREP_max
=$ac_count
5139 # 10*(2^10) chars as input seems more than enough
5140 test $ac_count -gt 10 && break
5142 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5145 $ac_path_FGREP_found && break 3
5150 if test -z "$ac_cv_path_FGREP"; then
5151 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5154 ac_cv_path_FGREP
=$FGREP
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5160 $as_echo "$ac_cv_path_FGREP" >&6; }
5161 FGREP
="$ac_cv_path_FGREP"
5164 test -z "$GREP" && GREP
=grep
5184 # Check whether --with-gnu-ld was given.
5185 if test "${with_gnu_ld+set}" = set; then :
5186 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5192 if test "$GCC" = yes; then
5193 # Check if gcc -print-prog-name=ld gives a path.
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5195 $as_echo_n "checking for ld used by $CC... " >&6; }
5198 # gcc leaves a trailing carriage return which upsets mingw
5199 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5201 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5204 # Accept absolute paths.
5206 re_direlt
='/[^/][^/]*/\.\./'
5207 # Canonicalize the pathname of ld
5208 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5209 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5210 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5212 test -z "$LD" && LD
="$ac_prog"
5215 # If it fails, then pretend we aren't using GCC.
5219 # If it is relative, then search for the first ld in PATH.
5223 elif test "$with_gnu_ld" = yes; then
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5225 $as_echo_n "checking for GNU ld... " >&6; }
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5228 $as_echo_n "checking for non-GNU ld... " >&6; }
5230 if ${lt_cv_path_LD+:} false
; then :
5231 $as_echo_n "(cached) " >&6
5233 if test -z "$LD"; then
5234 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5235 for ac_dir
in $PATH; do
5237 test -z "$ac_dir" && ac_dir
=.
5238 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5239 lt_cv_path_LD
="$ac_dir/$ac_prog"
5240 # Check to see if the program is GNU ld. I'd rather use --version,
5241 # but apparently some variants of GNU ld only accept -v.
5242 # Break only if it was the GNU/non-GNU ld that we prefer.
5243 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5244 *GNU
* |
*'with BFD'*)
5245 test "$with_gnu_ld" != no
&& break
5248 test "$with_gnu_ld" != yes && break
5255 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5260 if test -n "$LD"; then
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5262 $as_echo "$LD" >&6; }
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5265 $as_echo "no" >&6; }
5267 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5269 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5270 if ${lt_cv_prog_gnu_ld+:} false
; then :
5271 $as_echo_n "(cached) " >&6
5273 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5274 case `$LD -v 2>&1 </dev/null` in
5275 *GNU
* |
*'with BFD'*)
5276 lt_cv_prog_gnu_ld
=yes
5279 lt_cv_prog_gnu_ld
=no
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5284 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5285 with_gnu_ld
=$lt_cv_prog_gnu_ld
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5296 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5297 if ${lt_cv_path_NM+:} false
; then :
5298 $as_echo_n "(cached) " >&6
5300 if test -n "$NM"; then
5301 # Let the user override the test.
5304 lt_nm_to_check
="${ac_tool_prefix}nm"
5305 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5306 lt_nm_to_check
="$lt_nm_to_check nm"
5308 for lt_tmp_nm
in $lt_nm_to_check; do
5309 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5310 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5312 test -z "$ac_dir" && ac_dir
=.
5313 tmp_nm
="$ac_dir/$lt_tmp_nm"
5314 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5315 # Check to see if the nm accepts a BSD-compat flag.
5316 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5317 # nm: unknown option "B" ignored
5318 # Tru64's nm complains that /dev/null is an invalid object file
5319 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5320 */dev
/null
* |
*'Invalid file or object type'*)
5321 lt_cv_path_NM
="$tmp_nm -B"
5325 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5327 lt_cv_path_NM
="$tmp_nm -p"
5331 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5332 continue # so that we can try to find one that supports BSD flags
5341 : ${lt_cv_path_NM=no}
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5345 $as_echo "$lt_cv_path_NM" >&6; }
5346 if test "$lt_cv_path_NM" != "no"; then
5349 # Didn't find any BSD compatible name lister, look for dumpbin.
5350 if test -n "$DUMPBIN"; then :
5351 # Let the user override the test.
5353 if test -n "$ac_tool_prefix"; then
5354 for ac_prog
in dumpbin
"link -dump"
5356 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5357 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5359 $as_echo_n "checking for $ac_word... " >&6; }
5360 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5361 $as_echo_n "(cached) " >&6
5363 if test -n "$DUMPBIN"; then
5364 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5370 test -z "$as_dir" && as_dir
=.
5371 for ac_exec_ext
in '' $ac_executable_extensions; do
5372 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5373 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5383 DUMPBIN
=$ac_cv_prog_DUMPBIN
5384 if test -n "$DUMPBIN"; then
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5386 $as_echo "$DUMPBIN" >&6; }
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5389 $as_echo "no" >&6; }
5393 test -n "$DUMPBIN" && break
5396 if test -z "$DUMPBIN"; then
5397 ac_ct_DUMPBIN
=$DUMPBIN
5398 for ac_prog
in dumpbin
"link -dump"
5400 # Extract the first word of "$ac_prog", so it can be a program name with args.
5401 set dummy
$ac_prog; ac_word
=$2
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5403 $as_echo_n "checking for $ac_word... " >&6; }
5404 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5405 $as_echo_n "(cached) " >&6
5407 if test -n "$ac_ct_DUMPBIN"; then
5408 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5414 test -z "$as_dir" && as_dir
=.
5415 for ac_exec_ext
in '' $ac_executable_extensions; do
5416 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5417 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5427 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5428 if test -n "$ac_ct_DUMPBIN"; then
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5430 $as_echo "$ac_ct_DUMPBIN" >&6; }
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5433 $as_echo "no" >&6; }
5437 test -n "$ac_ct_DUMPBIN" && break
5440 if test "x$ac_ct_DUMPBIN" = x
; then
5443 case $cross_compiling:$ac_tool_warned in
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5446 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5447 ac_tool_warned
=yes ;;
5449 DUMPBIN
=$ac_ct_DUMPBIN
5453 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5455 DUMPBIN
="$DUMPBIN -symbols"
5463 if test "$DUMPBIN" != ":"; then
5467 test -z "$NM" && NM
=nm
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5475 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5476 if ${lt_cv_nm_interface+:} false
; then :
5477 $as_echo_n "(cached) " >&6
5479 lt_cv_nm_interface
="BSD nm"
5480 echo "int some_variable = 0;" > conftest.
$ac_ext
5481 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5482 (eval "$ac_compile" 2>conftest.err
)
5483 cat conftest.err
>&5
5484 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5485 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5486 cat conftest.err
>&5
5487 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5488 cat conftest.out
>&5
5489 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5490 lt_cv_nm_interface
="MS dumpbin"
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5495 $as_echo "$lt_cv_nm_interface" >&6; }
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5498 $as_echo_n "checking whether ln -s works... " >&6; }
5500 if test "$LN_S" = "ln -s"; then
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5502 $as_echo "yes" >&6; }
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5505 $as_echo "no, using $LN_S" >&6; }
5508 # find the maximum length of command line arguments
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5510 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5511 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5512 $as_echo_n "(cached) " >&6
5519 # On DJGPP, this test can blow up pretty badly due to problems in libc
5520 # (any single argument exceeding 2000 bytes causes a buffer overrun
5521 # during glob expansion). Even if it were fixed, the result of this
5522 # check would be larger than it should be.
5523 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5527 # Under GNU Hurd, this test is not required because there is
5528 # no limit to the length of command line arguments.
5529 # Libtool will interpret -1 as no limit whatsoever
5530 lt_cv_sys_max_cmd_len
=-1;
5533 cygwin
* | mingw
* | cegcc
*)
5534 # On Win9x/ME, this test blows up -- it succeeds, but takes
5535 # about 5 minutes as the teststring grows exponentially.
5536 # Worse, since 9x/ME are not pre-emptively multitasking,
5537 # you end up with a "frozen" computer, even though with patience
5538 # the test eventually succeeds (with a max line length of 256k).
5539 # Instead, let's just punt: use the minimum linelength reported by
5540 # all of the supported platforms: 8192 (on NT/2K/XP).
5541 lt_cv_sys_max_cmd_len
=8192;
5545 # On MiNT this can take a long time and run out of memory.
5546 lt_cv_sys_max_cmd_len
=8192;
5550 # On AmigaOS with pdksh, this test takes hours, literally.
5551 # So we just punt and use a minimum line length of 8192.
5552 lt_cv_sys_max_cmd_len
=8192;
5555 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5556 # This has been around since 386BSD, at least. Likely further.
5557 if test -x /sbin
/sysctl
; then
5558 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5559 elif test -x /usr
/sbin
/sysctl
; then
5560 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5562 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5564 # And add a safety zone
5565 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5566 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5570 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5571 lt_cv_sys_max_cmd_len
=196608
5575 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5576 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5577 # nice to cause kernel panics so lets avoid the loop below.
5578 # First set a reasonable default.
5579 lt_cv_sys_max_cmd_len
=16384
5581 if test -x /sbin
/sysconfig
; then
5582 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5583 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5588 lt_cv_sys_max_cmd_len
=102400
5590 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5591 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5592 if test -n "$kargmax"; then
5593 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5595 lt_cv_sys_max_cmd_len
=32768
5599 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5600 if test -n "$lt_cv_sys_max_cmd_len"; then
5601 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5602 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5604 # Make teststring a little bigger before we do anything with it.
5605 # a 1K string should be a reasonable start.
5606 for i
in 1 2 3 4 5 6 7 8 ; do
5607 teststring
=$teststring$teststring
5609 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5610 # If test is not a shell built-in, we'll probably end up computing a
5611 # maximum length that is only half of the actual maximum length, but
5613 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5614 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5615 test $i != 17 # 1/2 MB should be enough
5618 teststring
=$teststring$teststring
5620 # Only check the string length outside the loop.
5621 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5623 # Add a significant safety factor because C++ compilers can tack on
5624 # massive amounts of additional arguments before passing them to the
5625 # linker. It appears as though 1/2 is a usable value.
5626 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5633 if test -n $lt_cv_sys_max_cmd_len ; then
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5635 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5638 $as_echo "none" >&6; }
5640 max_cmd_len
=$lt_cv_sys_max_cmd_len
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5652 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5653 # Try some XSI features
5656 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5658 && eval 'test $(( 1 + 1 )) -eq 2 \
5659 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5662 $as_echo "$xsi_shell" >&6; }
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5666 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5668 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5670 && lt_shell_append=yes
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5672 $as_echo "$lt_shell_append" >&6; }
5675 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5685 # test EBCDIC or ASCII
5686 case `echo X|tr X '\101'` in
5687 A) # ASCII based system
5688 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5689 lt_SP2NL='tr \040 \012'
5690 lt_NL2SP='tr \015\012 \040\040'
5692 *) # EBCDIC based system
5693 lt_SP2NL='tr \100 \n'
5694 lt_NL2SP='tr \r\n \100\100'
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5707 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5708 if ${lt_cv_ld_reload_flag+:} false; then :
5709 $as_echo_n "(cached
) " >&6
5711 lt_cv_ld_reload_flag='-r'
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5714 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5715 reload_flag=$lt_cv_ld_reload_flag
5716 case $reload_flag in
5718 *) reload_flag=" $reload_flag" ;;
5720 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5723 if test "$GCC" = yes; then
5724 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5726 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5739 if test -n "$ac_tool_prefix"; then
5740 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5741 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5743 $as_echo_n "checking
for $ac_word...
" >&6; }
5744 if ${ac_cv_prog_OBJDUMP+:} false; then :
5745 $as_echo_n "(cached
) " >&6
5747 if test -n "$OBJDUMP"; then
5748 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5754 test -z "$as_dir" && as_dir=.
5755 for ac_exec_ext in '' $ac_executable_extensions; do
5756 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5757 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5758 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5767 OBJDUMP=$ac_cv_prog_OBJDUMP
5768 if test -n "$OBJDUMP"; then
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5770 $as_echo "$OBJDUMP" >&6; }
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5773 $as_echo "no
" >&6; }
5778 if test -z "$ac_cv_prog_OBJDUMP"; then
5779 ac_ct_OBJDUMP=$OBJDUMP
5780 # Extract the first word of "objdump
", so it can be a program name with args.
5781 set dummy objdump; ac_word=$2
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5783 $as_echo_n "checking
for $ac_word...
" >&6; }
5784 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5785 $as_echo_n "(cached
) " >&6
5787 if test -n "$ac_ct_OBJDUMP"; then
5788 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5794 test -z "$as_dir" && as_dir=.
5795 for ac_exec_ext in '' $ac_executable_extensions; do
5796 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5797 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5798 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5807 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5808 if test -n "$ac_ct_OBJDUMP"; then
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5810 $as_echo "$ac_ct_OBJDUMP" >&6; }
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5813 $as_echo "no
" >&6; }
5816 if test "x
$ac_ct_OBJDUMP" = x; then
5819 case $cross_compiling:$ac_tool_warned in
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5822 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5823 ac_tool_warned=yes ;;
5825 OBJDUMP=$ac_ct_OBJDUMP
5828 OBJDUMP="$ac_cv_prog_OBJDUMP"
5831 test -z "$OBJDUMP" && OBJDUMP=objdump
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5842 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5843 if ${lt_cv_deplibs_check_method+:} false; then :
5844 $as_echo_n "(cached
) " >&6
5846 lt_cv_file_magic_cmd='$MAGIC_CMD'
5847 lt_cv_file_magic_test_file=
5848 lt_cv_deplibs_check_method='unknown'
5849 # Need to set the preceding variable on all platforms that support
5850 # interlibrary dependencies.
5851 # 'none' -- dependencies not supported.
5852 # `unknown' -- same as none, but documents that we really don't know.
5853 # 'pass_all' -- all dependencies passed with no checks.
5854 # 'test_compile' -- check by making test program.
5855 # 'file_magic [[regex]]' -- check by looking for files in library path
5856 # which responds to the $file_magic_cmd with a given extended regex.
5857 # If you have `file' or equivalent on your system and you're not sure
5858 # whether `pass_all' will *always* work, you probably want this one.
5862 lt_cv_deplibs_check_method=pass_all
5866 lt_cv_deplibs_check_method=pass_all
5870 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5871 lt_cv_file_magic_cmd='/usr/bin/file -L'
5872 lt_cv_file_magic_test_file=/shlib/libc.so
5876 # func_win32_libid is a shell function defined in ltmain.sh
5877 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5878 lt_cv_file_magic_cmd='func_win32_libid'
5882 # Base MSYS/MinGW do not provide the 'file' command needed by
5883 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5884 # unless we find 'file', for example because we are cross-compiling.
5885 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5886 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5887 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5888 lt_cv_file_magic_cmd='func_win32_libid'
5890 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5891 lt_cv_file_magic_cmd='$OBJDUMP -f'
5896 # use the weaker test based on 'objdump'. See mingw*.
5897 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5898 lt_cv_file_magic_cmd='$OBJDUMP -f'
5901 darwin* | rhapsody*)
5902 lt_cv_deplibs_check_method=pass_all
5905 freebsd* | dragonfly*)
5906 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5909 # Not sure whether the presence of OpenBSD here was a mistake.
5910 # Let's accept both of them until this is cleared up.
5911 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5912 lt_cv_file_magic_cmd=/usr/bin/file
5913 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5917 lt_cv_deplibs_check_method=pass_all
5922 lt_cv_deplibs_check_method=pass_all
5926 lt_cv_deplibs_check_method=pass_all
5929 hpux10.20* | hpux11*)
5930 lt_cv_file_magic_cmd=/usr/bin/file
5933 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5934 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5937 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]'
5938 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5941 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5942 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5948 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5949 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5952 irix5* | irix6* | nonstopux*)
5954 *-32|*"-32 ") libmagic=32-bit;;
5955 *-n32|*"-n32 ") libmagic=N32;;
5956 *-64|*"-64 ") libmagic=64-bit;;
5957 *) libmagic=never-match;;
5959 lt_cv_deplibs_check_method=pass_all
5962 # This must be Linux ELF.
5963 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5964 lt_cv_deplibs_check_method=pass_all
5968 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5969 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5971 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5976 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5977 lt_cv_file_magic_cmd=/usr/bin/file
5978 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5982 lt_cv_deplibs_check_method=pass_all
5986 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5987 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5989 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5993 osf3* | osf4* | osf5*)
5994 lt_cv_deplibs_check_method=pass_all
5998 lt_cv_deplibs_check_method=pass_all
6002 lt_cv_deplibs_check_method=pass_all
6005 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6006 lt_cv_deplibs_check_method=pass_all
6010 case $host_vendor in
6012 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]'
6013 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6016 lt_cv_deplibs_check_method=pass_all
6019 lt_cv_file_magic_cmd='/bin/file'
6020 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6023 lt_cv_file_magic_cmd='/bin/file'
6024 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6025 lt_cv_file_magic_test_file=/lib/libc.so
6028 lt_cv_deplibs_check_method=pass_all
6031 lt_cv_deplibs_check_method=pass_all
6037 lt_cv_deplibs_check_method=pass_all
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6043 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6044 file_magic_cmd=$lt_cv_file_magic_cmd
6045 deplibs_check_method=$lt_cv_deplibs_check_method
6046 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6060 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
6061 for plugin in $plugin_names; do
6062 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
6063 if test x$plugin_so = x$plugin; then
6064 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
6066 if test x$plugin_so != x$plugin; then
6067 plugin_option="--plugin $plugin_so"
6072 if test -n "$ac_tool_prefix"; then
6073 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6074 set dummy ${ac_tool_prefix}ar; ac_word=$2
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6076 $as_echo_n "checking
for $ac_word...
" >&6; }
6077 if ${ac_cv_prog_AR+:} false; then :
6078 $as_echo_n "(cached
) " >&6
6080 if test -n "$AR"; then
6081 ac_cv_prog_AR="$AR" # Let the user override the test.
6083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6087 test -z "$as_dir" && as_dir=.
6088 for ac_exec_ext in '' $ac_executable_extensions; do
6089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6090 ac_cv_prog_AR="${ac_tool_prefix}ar"
6091 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6101 if test -n "$AR"; then
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6103 $as_echo "$AR" >&6; }
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6106 $as_echo "no
" >&6; }
6111 if test -z "$ac_cv_prog_AR"; then
6113 # Extract the first word of "ar", so it can be a program name with args.
6114 set dummy ar; ac_word=$2
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6116 $as_echo_n "checking
for $ac_word...
" >&6; }
6117 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6118 $as_echo_n "(cached
) " >&6
6120 if test -n "$ac_ct_AR"; then
6121 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6127 test -z "$as_dir" && as_dir=.
6128 for ac_exec_ext in '' $ac_executable_extensions; do
6129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6130 ac_cv_prog_ac_ct_AR="ar"
6131 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6140 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6141 if test -n "$ac_ct_AR"; then
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6143 $as_echo "$ac_ct_AR" >&6; }
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6146 $as_echo "no
" >&6; }
6149 if test "x
$ac_ct_AR" = x; then
6152 case $cross_compiling:$ac_tool_warned in
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6155 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6156 ac_tool_warned=yes ;;
6164 test -z "$AR" && AR=ar
6165 if test -n "$plugin_option"; then
6166 if $AR --help 2>&1 | grep -q "\
--plugin"; then
6168 $AR $plugin_option rc conftest.a conftest.c
6169 if test "$?
" != 0; then
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
6171 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
6173 AR="$AR $plugin_option"
6178 test -z "$AR_FLAGS" && AR_FLAGS=cru
6190 if test -n "$ac_tool_prefix"; then
6191 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6192 set dummy ${ac_tool_prefix}strip; ac_word=$2
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6194 $as_echo_n "checking
for $ac_word...
" >&6; }
6195 if ${ac_cv_prog_STRIP+:} false; then :
6196 $as_echo_n "(cached
) " >&6
6198 if test -n "$STRIP"; then
6199 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6205 test -z "$as_dir" && as_dir=.
6206 for ac_exec_ext in '' $ac_executable_extensions; do
6207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6208 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6209 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6218 STRIP=$ac_cv_prog_STRIP
6219 if test -n "$STRIP"; then
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6221 $as_echo "$STRIP" >&6; }
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6224 $as_echo "no
" >&6; }
6229 if test -z "$ac_cv_prog_STRIP"; then
6231 # Extract the first word of "strip
", so it can be a program name with args.
6232 set dummy strip; ac_word=$2
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6234 $as_echo_n "checking
for $ac_word...
" >&6; }
6235 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6236 $as_echo_n "(cached
) " >&6
6238 if test -n "$ac_ct_STRIP"; then
6239 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6245 test -z "$as_dir" && as_dir=.
6246 for ac_exec_ext in '' $ac_executable_extensions; do
6247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6248 ac_cv_prog_ac_ct_STRIP="strip
"
6249 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6258 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6259 if test -n "$ac_ct_STRIP"; then
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6261 $as_echo "$ac_ct_STRIP" >&6; }
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6264 $as_echo "no
" >&6; }
6267 if test "x
$ac_ct_STRIP" = x; then
6270 case $cross_compiling:$ac_tool_warned in
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6273 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6274 ac_tool_warned=yes ;;
6279 STRIP="$ac_cv_prog_STRIP"
6282 test -z "$STRIP" && STRIP=:
6289 if test -n "$ac_tool_prefix"; then
6290 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6291 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6293 $as_echo_n "checking
for $ac_word...
" >&6; }
6294 if ${ac_cv_prog_RANLIB+:} false; then :
6295 $as_echo_n "(cached
) " >&6
6297 if test -n "$RANLIB"; then
6298 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6304 test -z "$as_dir" && as_dir=.
6305 for ac_exec_ext in '' $ac_executable_extensions; do
6306 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6307 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6308 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6317 RANLIB=$ac_cv_prog_RANLIB
6318 if test -n "$RANLIB"; then
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6320 $as_echo "$RANLIB" >&6; }
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6323 $as_echo "no
" >&6; }
6328 if test -z "$ac_cv_prog_RANLIB"; then
6329 ac_ct_RANLIB=$RANLIB
6330 # Extract the first word of "ranlib
", so it can be a program name with args.
6331 set dummy ranlib; ac_word=$2
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6333 $as_echo_n "checking
for $ac_word...
" >&6; }
6334 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6335 $as_echo_n "(cached
) " >&6
6337 if test -n "$ac_ct_RANLIB"; then
6338 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6344 test -z "$as_dir" && as_dir=.
6345 for ac_exec_ext in '' $ac_executable_extensions; do
6346 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6347 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6348 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6357 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6358 if test -n "$ac_ct_RANLIB"; then
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6360 $as_echo "$ac_ct_RANLIB" >&6; }
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6363 $as_echo "no
" >&6; }
6366 if test "x
$ac_ct_RANLIB" = x; then
6369 case $cross_compiling:$ac_tool_warned in
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6372 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6373 ac_tool_warned=yes ;;
6375 RANLIB=$ac_ct_RANLIB
6378 RANLIB="$ac_cv_prog_RANLIB"
6381 test -z "$RANLIB" && RANLIB=:
6382 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
6383 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
6384 RANLIB="$RANLIB $plugin_option"
6393 # Determine commands to create old-style static archives.
6394 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6395 old_postinstall_cmds='chmod 644 $oldlib'
6396 old_postuninstall_cmds=
6398 if test -n "$RANLIB"; then
6401 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6404 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6407 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6412 lock_old_archive_extraction=yes ;;
6414 lock_old_archive_extraction=no ;;
6437 for ac_prog in gawk mawk nawk awk
6439 # Extract the first word of "$ac_prog", so it can be a program name with args.
6440 set dummy $ac_prog; ac_word=$2
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6442 $as_echo_n "checking
for $ac_word...
" >&6; }
6443 if ${ac_cv_prog_AWK+:} false; then :
6444 $as_echo_n "(cached
) " >&6
6446 if test -n "$AWK"; then
6447 ac_cv_prog_AWK="$AWK" # Let the user override the test.
6449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6453 test -z "$as_dir" && as_dir=.
6454 for ac_exec_ext in '' $ac_executable_extensions; do
6455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6456 ac_cv_prog_AWK="$ac_prog"
6457 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6467 if test -n "$AWK"; then
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AWK" >&5
6469 $as_echo "$AWK" >&6; }
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6472 $as_echo "no
" >&6; }
6476 test -n "$AWK" && break
6497 # If no C compiler was specified, use CC.
6500 # If no C compiler flags were specified, use CFLAGS.
6501 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6503 # Allow CC to be a program name with arguments.
6507 # Check for command to grab the raw symbol name followed by C symbol from nm.
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6509 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6510 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6511 $as_echo_n "(cached
) " >&6
6514 # These are sane defaults that work on at least a few old systems.
6515 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6517 # Character class describing NM global symbol codes.
6518 symcode='[BCDEGRST]'
6520 # Regexp to match symbols that can be accessed directly from C.
6521 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6523 # Define system-specific variables.
6528 cygwin* | mingw* | pw32* | cegcc*)
6529 symcode='[ABCDGISTW]'
6532 if test "$host_cpu" = ia64; then
6533 symcode='[ABCDEGRST]'
6537 symcode='[BCDEGRST]'
6540 symcode='[BCDEGQRST]'
6551 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6559 # If we're using GNU nm, then use its standard symbol codes.
6560 case `$NM -V 2>&1` in
6561 *GNU* | *'with BFD'*)
6562 symcode='[ABCDGIRSTW]' ;;
6565 # Transform an extracted symbol line into a proper C declaration.
6566 # Some systems (esp. on ia64) link data and code symbols differently,
6567 # so use this general approach.
6568 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6570 # Transform an extracted symbol line into symbol name and symbol address
6571 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6572 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'"
6574 # Handle CRLF in mingw tool chain
6578 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6582 # Try without a prefix underscore, then with it.
6583 for ac_symprfx in "" "_
"; do
6585 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6586 symxfrm="\\1 $ac_symprfx\\2 \\2"
6588 # Write the raw and C identifiers.
6589 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6590 # Fake it for dumpbin and say T for any non-static function
6591 # and D for any global variable.
6592 # Also find C++ and __fastcall symbols from MSVC++,
6593 # which start with @ or ?.
6594 lt_cv_sys_global_symbol_pipe="$AWK '"\
6595 " {last_section=section; section=\$ 3};"\
6596 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6597 " \$ 0!~/External *\|/{next};"\
6598 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6599 " {if(hide[section]) next};"\
6600 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6601 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6602 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6603 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6604 " ' prfx
=^
$ac_symprfx"
6606 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6609 # Check to see that the pipe works correctly.
6613 cat > conftest.$ac_ext <<_LT_EOF
6618 void nm_test_func(void);
6619 void nm_test_func(void){}
6623 int main(){nm_test_var='a';nm_test_func();return(0);}
6626 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6627 (eval $ac_compile) 2>&5
6629 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6630 test $ac_status = 0; }; then
6631 # Now try to grab the symbols.
6633 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6634 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6636 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6637 test $ac_status = 0; } && test -s "$nlist"; then
6638 # Try sorting and uniquifying the output.
6639 if sort "$nlist" | uniq > "$nlist"T; then
6640 mv -f "$nlist"T "$nlist"
6645 # Make sure that we snagged all the symbols we need.
6646 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6647 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6648 cat <<_LT_EOF > conftest.$ac_ext
6654 # Now generate the symbol file.
6655 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6657 cat <<_LT_EOF >> conftest.$ac_ext
6659 /* The mapping between symbol names and symbols. */
6664 lt__PROGRAM__LTX_preloaded_symbols[] =
6666 { "@PROGRAM@
", (void *) 0 },
6668 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6669 cat <<\_LT_EOF >> conftest.$ac_ext
6673 /* This works around a problem in FreeBSD linker */
6674 #ifdef FREEBSD_WORKAROUND
6675 static const void *lt_preloaded_setup() {
6676 return lt__PROGRAM__LTX_preloaded_symbols;
6684 # Now try linking the two files.
6685 mv conftest.$ac_objext conftstm.$ac_objext
6686 lt_save_LIBS="$LIBS"
6687 lt_save_CFLAGS="$CFLAGS"
6688 LIBS="conftstm.
$ac_objext"
6689 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6690 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6691 (eval $ac_link) 2>&5
6693 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6694 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6697 LIBS="$lt_save_LIBS"
6698 CFLAGS="$lt_save_CFLAGS"
6700 echo "cannot
find nm_test_func
in $nlist" >&5
6703 echo "cannot
find nm_test_var
in $nlist" >&5
6706 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6709 echo "$progname: failed program was
:" >&5
6710 cat conftest.$ac_ext >&5
6712 rm -rf conftest* conftst*
6714 # Do not use the global_symbol_pipe unless it works.
6715 if test "$pipe_works" = yes; then
6718 lt_cv_sys_global_symbol_pipe=
6724 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6725 lt_cv_sys_global_symbol_to_cdecl=
6727 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6729 $as_echo "failed
" >&6; }
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6732 $as_echo "ok
" >&6; }
6756 # Check whether --enable-libtool-lock was given.
6757 if test "${enable_libtool_lock+set}" = set; then :
6758 enableval=$enable_libtool_lock;
6761 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6763 # Some flags need to be propagated to the compiler or linker for good
6767 # Find out which ABI we are using.
6768 echo 'int i;' > conftest.$ac_ext
6769 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6770 (eval $ac_compile) 2>&5
6772 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6773 test $ac_status = 0; }; then
6774 case `/usr/bin/file conftest.$ac_objext` in
6786 # Find out which ABI we are using.
6787 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6788 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6789 (eval $ac_compile) 2>&5
6791 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6792 test $ac_status = 0; }; then
6793 if test "$lt_cv_prog_gnu_ld" = yes; then
6794 case `/usr/bin/file conftest.$ac_objext` in
6796 LD="${LD-ld} -melf32bsmip"
6799 LD="${LD-ld} -melf32bmipn32"
6802 LD="${LD-ld} -melf64bmip"
6806 case `/usr/bin/file conftest.$ac_objext` in
6822 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6823 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6824 # Find out which ABI we are using.
6825 echo 'int i;' > conftest.$ac_ext
6826 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6827 (eval $ac_compile) 2>&5
6829 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6830 test $ac_status = 0; }; then
6831 case `/usr/bin/file conftest.o` in
6834 x86_64-*kfreebsd*-gnu)
6835 LD="${LD-ld} -m elf_i386_fbsd
"
6838 case `/usr/bin/file conftest.o` in
6840 LD="${LD-ld} -m elf32_x86_64
"
6843 LD="${LD-ld} -m elf_i386
"
6847 powerpc64le-*linux*)
6848 LD="${LD-ld} -m elf32lppclinux
"
6851 LD="${LD-ld} -m elf32ppclinux
"
6854 LD="${LD-ld} -m elf_s390
"
6857 LD="${LD-ld} -m elf32_sparc
"
6863 x86_64-*kfreebsd*-gnu)
6864 LD="${LD-ld} -m elf_x86_64_fbsd
"
6867 LD="${LD-ld} -m elf_x86_64
"
6870 LD="${LD-ld} -m elf64lppc
"
6873 LD="${LD-ld} -m elf64ppc
"
6875 s390*-*linux*|s390*-*tpf*)
6876 LD="${LD-ld} -m elf64_s390
"
6879 LD="${LD-ld} -m elf64_sparc
"
6889 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6890 SAVE_CFLAGS="$CFLAGS"
6891 CFLAGS="$CFLAGS -belf"
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6893 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6894 if ${lt_cv_cc_needs_belf+:} false; then :
6895 $as_echo_n "(cached
) " >&6
6898 ac_cpp='$CPP $CPPFLAGS'
6899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6904 /* end confdefs.h. */
6914 if ac_fn_c_try_link "$LINENO"; then :
6915 lt_cv_cc_needs_belf=yes
6917 lt_cv_cc_needs_belf=no
6919 rm -f core conftest.err conftest.$ac_objext \
6920 conftest$ac_exeext conftest.$ac_ext
6922 ac_cpp='$CPP $CPPFLAGS'
6923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6929 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6930 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6931 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6932 CFLAGS="$SAVE_CFLAGS"
6936 # Find out which ABI we are using.
6937 echo 'int i;' > conftest.$ac_ext
6938 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6939 (eval $ac_compile) 2>&5
6941 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6942 test $ac_status = 0; }; then
6943 case `/usr/bin/file conftest.o` in
6945 case $lt_cv_prog_gnu_ld in
6946 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6948 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6960 need_locks="$enable_libtool_lock"
6964 rhapsody* | darwin*)
6965 if test -n "$ac_tool_prefix"; then
6966 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6967 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6969 $as_echo_n "checking
for $ac_word...
" >&6; }
6970 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6971 $as_echo_n "(cached
) " >&6
6973 if test -n "$DSYMUTIL"; then
6974 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6980 test -z "$as_dir" && as_dir=.
6981 for ac_exec_ext in '' $ac_executable_extensions; do
6982 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6983 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6984 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6993 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6994 if test -n "$DSYMUTIL"; then
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6996 $as_echo "$DSYMUTIL" >&6; }
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6999 $as_echo "no
" >&6; }
7004 if test -z "$ac_cv_prog_DSYMUTIL"; then
7005 ac_ct_DSYMUTIL=$DSYMUTIL
7006 # Extract the first word of "dsymutil
", so it can be a program name with args.
7007 set dummy dsymutil; ac_word=$2
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7009 $as_echo_n "checking
for $ac_word...
" >&6; }
7010 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7011 $as_echo_n "(cached
) " >&6
7013 if test -n "$ac_ct_DSYMUTIL"; then
7014 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7020 test -z "$as_dir" && as_dir=.
7021 for ac_exec_ext in '' $ac_executable_extensions; do
7022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7023 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7024 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7033 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7034 if test -n "$ac_ct_DSYMUTIL"; then
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7036 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7039 $as_echo "no
" >&6; }
7042 if test "x
$ac_ct_DSYMUTIL" = x; then
7045 case $cross_compiling:$ac_tool_warned in
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7048 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7049 ac_tool_warned=yes ;;
7051 DSYMUTIL=$ac_ct_DSYMUTIL
7054 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7057 if test -n "$ac_tool_prefix"; then
7058 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7059 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7061 $as_echo_n "checking
for $ac_word...
" >&6; }
7062 if ${ac_cv_prog_NMEDIT+:} false; then :
7063 $as_echo_n "(cached
) " >&6
7065 if test -n "$NMEDIT"; then
7066 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7072 test -z "$as_dir" && as_dir=.
7073 for ac_exec_ext in '' $ac_executable_extensions; do
7074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7075 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7076 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7085 NMEDIT=$ac_cv_prog_NMEDIT
7086 if test -n "$NMEDIT"; then
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7088 $as_echo "$NMEDIT" >&6; }
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7091 $as_echo "no
" >&6; }
7096 if test -z "$ac_cv_prog_NMEDIT"; then
7097 ac_ct_NMEDIT=$NMEDIT
7098 # Extract the first word of "nmedit
", so it can be a program name with args.
7099 set dummy nmedit; ac_word=$2
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7101 $as_echo_n "checking
for $ac_word...
" >&6; }
7102 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7103 $as_echo_n "(cached
) " >&6
7105 if test -n "$ac_ct_NMEDIT"; then
7106 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7112 test -z "$as_dir" && as_dir=.
7113 for ac_exec_ext in '' $ac_executable_extensions; do
7114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7115 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7116 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7125 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7126 if test -n "$ac_ct_NMEDIT"; then
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7128 $as_echo "$ac_ct_NMEDIT" >&6; }
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7131 $as_echo "no
" >&6; }
7134 if test "x
$ac_ct_NMEDIT" = x; then
7137 case $cross_compiling:$ac_tool_warned in
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7140 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7141 ac_tool_warned=yes ;;
7143 NMEDIT=$ac_ct_NMEDIT
7146 NMEDIT="$ac_cv_prog_NMEDIT"
7149 if test -n "$ac_tool_prefix"; then
7150 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7151 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7153 $as_echo_n "checking
for $ac_word...
" >&6; }
7154 if ${ac_cv_prog_LIPO+:} false; then :
7155 $as_echo_n "(cached
) " >&6
7157 if test -n "$LIPO"; then
7158 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7164 test -z "$as_dir" && as_dir=.
7165 for ac_exec_ext in '' $ac_executable_extensions; do
7166 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7167 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7168 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7177 LIPO=$ac_cv_prog_LIPO
7178 if test -n "$LIPO"; then
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7180 $as_echo "$LIPO" >&6; }
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7183 $as_echo "no
" >&6; }
7188 if test -z "$ac_cv_prog_LIPO"; then
7190 # Extract the first word of "lipo
", so it can be a program name with args.
7191 set dummy lipo; ac_word=$2
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7193 $as_echo_n "checking
for $ac_word...
" >&6; }
7194 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7195 $as_echo_n "(cached
) " >&6
7197 if test -n "$ac_ct_LIPO"; then
7198 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7204 test -z "$as_dir" && as_dir=.
7205 for ac_exec_ext in '' $ac_executable_extensions; do
7206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7207 ac_cv_prog_ac_ct_LIPO="lipo
"
7208 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7217 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7218 if test -n "$ac_ct_LIPO"; then
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7220 $as_echo "$ac_ct_LIPO" >&6; }
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7223 $as_echo "no
" >&6; }
7226 if test "x
$ac_ct_LIPO" = x; then
7229 case $cross_compiling:$ac_tool_warned in
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7232 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7233 ac_tool_warned=yes ;;
7238 LIPO="$ac_cv_prog_LIPO"
7241 if test -n "$ac_tool_prefix"; then
7242 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7243 set dummy ${ac_tool_prefix}otool; ac_word=$2
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7245 $as_echo_n "checking
for $ac_word...
" >&6; }
7246 if ${ac_cv_prog_OTOOL+:} false; then :
7247 $as_echo_n "(cached
) " >&6
7249 if test -n "$OTOOL"; then
7250 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7256 test -z "$as_dir" && as_dir=.
7257 for ac_exec_ext in '' $ac_executable_extensions; do
7258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7259 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7260 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7269 OTOOL=$ac_cv_prog_OTOOL
7270 if test -n "$OTOOL"; then
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7272 $as_echo "$OTOOL" >&6; }
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7275 $as_echo "no
" >&6; }
7280 if test -z "$ac_cv_prog_OTOOL"; then
7282 # Extract the first word of "otool
", so it can be a program name with args.
7283 set dummy otool; ac_word=$2
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7285 $as_echo_n "checking
for $ac_word...
" >&6; }
7286 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7287 $as_echo_n "(cached
) " >&6
7289 if test -n "$ac_ct_OTOOL"; then
7290 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7296 test -z "$as_dir" && as_dir=.
7297 for ac_exec_ext in '' $ac_executable_extensions; do
7298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7299 ac_cv_prog_ac_ct_OTOOL="otool
"
7300 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7309 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7310 if test -n "$ac_ct_OTOOL"; then
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7312 $as_echo "$ac_ct_OTOOL" >&6; }
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7315 $as_echo "no
" >&6; }
7318 if test "x
$ac_ct_OTOOL" = x; then
7321 case $cross_compiling:$ac_tool_warned in
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7324 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7325 ac_tool_warned=yes ;;
7330 OTOOL="$ac_cv_prog_OTOOL"
7333 if test -n "$ac_tool_prefix"; then
7334 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7335 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7337 $as_echo_n "checking
for $ac_word...
" >&6; }
7338 if ${ac_cv_prog_OTOOL64+:} false; then :
7339 $as_echo_n "(cached
) " >&6
7341 if test -n "$OTOOL64"; then
7342 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7348 test -z "$as_dir" && as_dir=.
7349 for ac_exec_ext in '' $ac_executable_extensions; do
7350 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7351 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7352 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7361 OTOOL64=$ac_cv_prog_OTOOL64
7362 if test -n "$OTOOL64"; then
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7364 $as_echo "$OTOOL64" >&6; }
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7367 $as_echo "no
" >&6; }
7372 if test -z "$ac_cv_prog_OTOOL64"; then
7373 ac_ct_OTOOL64=$OTOOL64
7374 # Extract the first word of "otool64
", so it can be a program name with args.
7375 set dummy otool64; ac_word=$2
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7377 $as_echo_n "checking
for $ac_word...
" >&6; }
7378 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7379 $as_echo_n "(cached
) " >&6
7381 if test -n "$ac_ct_OTOOL64"; then
7382 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7388 test -z "$as_dir" && as_dir=.
7389 for ac_exec_ext in '' $ac_executable_extensions; do
7390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7391 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7392 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7401 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7402 if test -n "$ac_ct_OTOOL64"; then
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7404 $as_echo "$ac_ct_OTOOL64" >&6; }
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7407 $as_echo "no
" >&6; }
7410 if test "x
$ac_ct_OTOOL64" = x; then
7413 case $cross_compiling:$ac_tool_warned in
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7416 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7417 ac_tool_warned=yes ;;
7419 OTOOL64=$ac_ct_OTOOL64
7422 OTOOL64="$ac_cv_prog_OTOOL64"
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7452 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7453 if ${lt_cv_apple_cc_single_mod+:} false; then :
7454 $as_echo_n "(cached
) " >&6
7456 lt_cv_apple_cc_single_mod=no
7457 if test -z "${LT_MULTI_MODULE}"; then
7458 # By default we will add the -single_module flag. You can override
7459 # by either setting the environment variable LT_MULTI_MODULE
7460 # non-empty at configure time, or by adding -multi_module to the
7462 rm -rf libconftest.dylib*
7463 echo "int foo
(void
){return 1;}" > conftest.c
7464 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7465 -dynamiclib -Wl,-single_module conftest.c
" >&5
7466 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7467 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7469 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7470 lt_cv_apple_cc_single_mod=yes
7472 cat conftest.err >&5
7474 rm -rf libconftest.dylib*
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7479 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7481 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7482 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7483 $as_echo_n "(cached
) " >&6
7485 lt_cv_ld_exported_symbols_list=no
7486 save_LDFLAGS=$LDFLAGS
7487 echo "_main
" > conftest.sym
7488 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7490 /* end confdefs.h. */
7500 if ac_fn_c_try_link "$LINENO"; then :
7501 lt_cv_ld_exported_symbols_list=yes
7503 lt_cv_ld_exported_symbols_list=no
7505 rm -f core conftest.err conftest.$ac_objext \
7506 conftest$ac_exeext conftest.$ac_ext
7507 LDFLAGS="$save_LDFLAGS"
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7511 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7513 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7514 if ${lt_cv_ld_force_load+:} false; then :
7515 $as_echo_n "(cached
) " >&6
7517 lt_cv_ld_force_load=no
7518 cat > conftest.c << _LT_EOF
7519 int forced_loaded() { return 2;}
7521 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7522 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7523 echo "$AR cru libconftest.a conftest.o
" >&5
7524 $AR cru libconftest.a conftest.o 2>&5
7525 cat > conftest.c << _LT_EOF
7526 int main() { return 0;}
7528 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7529 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7531 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7532 lt_cv_ld_force_load=yes
7534 cat conftest.err >&5
7536 rm -f conftest.err libconftest.a conftest conftest.c
7537 rm -rf conftest.dSYM
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7541 $as_echo "$lt_cv_ld_force_load" >&6; }
7543 rhapsody* | darwin1.[012])
7544 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7546 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7547 darwin*) # darwin 5.x on
7548 # if running on 10.5 or later, the deployment target defaults
7549 # to the OS version, if on x86, and 10.4, the deployment
7550 # target defaults to 10.4. Don't you love it?
7551 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7552 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7553 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7555 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7557 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7561 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7562 _lt_dar_single_mod='$single_module'
7564 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7565 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7567 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7569 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7570 _lt_dsymutil='~$DSYMUTIL $lib || :'
7577 for ac_header in dlfcn.h
7579 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7581 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
7582 cat >>confdefs.h <<_ACEOF
7583 #define HAVE_DLFCN_H 1
7592 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
7593 as_ac_Header=`$as_echo "ac_cv_header_dirent_
$ac_hdr" | $as_tr_sh`
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_hdr that defines DIR
" >&5
7595 $as_echo_n "checking
for $ac_hdr that defines DIR...
" >&6; }
7596 if eval \${$as_ac_Header+:} false; then :
7597 $as_echo_n "(cached
) " >&6
7599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7600 /* end confdefs.h. */
7601 #include <sys/types.h>
7613 if ac_fn_c_try_compile "$LINENO"; then :
7614 eval "$as_ac_Header=yes"
7616 eval "$as_ac_Header=no
"
7618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7620 eval ac_res=\$$as_ac_Header
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_res" >&5
7622 $as_echo "$ac_res" >&6; }
7623 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7624 cat >>confdefs.h <<_ACEOF
7625 #define `$as_echo "HAVE_
$ac_hdr" | $as_tr_cpp` 1
7628 ac_header_dirent=$ac_hdr; break
7632 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
7633 if test $ac_header_dirent = dirent.h; then
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for library containing opendir
" >&5
7635 $as_echo_n "checking
for library containing opendir...
" >&6; }
7636 if ${ac_cv_search_opendir+:} false; then :
7637 $as_echo_n "(cached
) " >&6
7639 ac_func_search_save_LIBS=$LIBS
7640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7641 /* end confdefs.h. */
7643 /* Override any GCC internal prototype to avoid an error.
7644 Use char because int might match the return type of a GCC
7645 builtin and then its argument prototype would still apply. */
7658 for ac_lib in '' dir; do
7659 if test -z "$ac_lib"; then
7660 ac_res="none required
"
7663 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7665 if ac_fn_c_try_link "$LINENO"; then :
7666 ac_cv_search_opendir=$ac_res
7668 rm -f core conftest.err conftest.$ac_objext \
7670 if ${ac_cv_search_opendir+:} false; then :
7674 if ${ac_cv_search_opendir+:} false; then :
7677 ac_cv_search_opendir=no
7680 LIBS=$ac_func_search_save_LIBS
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_search_opendir" >&5
7683 $as_echo "$ac_cv_search_opendir" >&6; }
7684 ac_res=$ac_cv_search_opendir
7685 if test "$ac_res" != no; then :
7686 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for library containing opendir
" >&5
7692 $as_echo_n "checking
for library containing opendir...
" >&6; }
7693 if ${ac_cv_search_opendir+:} false; then :
7694 $as_echo_n "(cached
) " >&6
7696 ac_func_search_save_LIBS=$LIBS
7697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7698 /* end confdefs.h. */
7700 /* Override any GCC internal prototype to avoid an error.
7701 Use char because int might match the return type of a GCC
7702 builtin and then its argument prototype would still apply. */
7715 for ac_lib in '' x; do
7716 if test -z "$ac_lib"; then
7717 ac_res="none required
"
7720 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7722 if ac_fn_c_try_link "$LINENO"; then :
7723 ac_cv_search_opendir=$ac_res
7725 rm -f core conftest.err conftest.$ac_objext \
7727 if ${ac_cv_search_opendir+:} false; then :
7731 if ${ac_cv_search_opendir+:} false; then :
7734 ac_cv_search_opendir=no
7737 LIBS=$ac_func_search_save_LIBS
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_search_opendir" >&5
7740 $as_echo "$ac_cv_search_opendir" >&6; }
7741 ac_res=$ac_cv_search_opendir
7742 if test "$ac_res" != no; then :
7743 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
7752 ac_fn_c_check_member "$LINENO" "struct stat
" "st_blksize
" "ac_cv_member_struct_stat_st_blksize
" "$ac_includes_default"
7753 if test "x
$ac_cv_member_struct_stat_st_blksize" = xyes; then :
7755 cat >>confdefs.h <<_ACEOF
7756 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
7760 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
7765 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
7766 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
7768 cat >>confdefs.h
<<_ACEOF
7769 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
7773 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
7776 case " $LIBOBJS " in
7777 *" fileblocks.$ac_objext "* ) ;;
7778 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
7785 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
7786 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
7788 cat >>confdefs.h
<<_ACEOF
7789 #define HAVE_STRUCT_STAT_ST_RDEV 1
7793 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
7798 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
7799 #include <$ac_cv_struct_tm>
7802 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
7804 cat >>confdefs.h
<<_ACEOF
7805 #define HAVE_STRUCT_TM_TM_ZONE 1
7811 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
7813 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
7816 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
7818 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
7824 cat >>confdefs.h
<<_ACEOF
7825 #define HAVE_DECL_TZNAME $ac_have_decl
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
7829 $as_echo_n "checking for tzname... " >&6; }
7830 if ${ac_cv_var_tzname+:} false
; then :
7831 $as_echo_n "(cached) " >&6
7833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7834 /* end confdefs.h. */
7836 #if !HAVE_DECL_TZNAME
7837 extern char *tzname[];
7843 return tzname[0][0];
7848 if ac_fn_c_try_link
"$LINENO"; then :
7849 ac_cv_var_tzname
=yes
7853 rm -f core conftest.err conftest.
$ac_objext \
7854 conftest
$ac_exeext conftest.
$ac_ext
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
7857 $as_echo "$ac_cv_var_tzname" >&6; }
7858 if test $ac_cv_var_tzname = yes; then
7860 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
7866 ac_fn_c_check_member
"$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
7867 #include <sys/types.h>
7869 #ifdef HAVE_SYS_STAT_H
7870 #include <sys/stat.h>
7873 if test "x$ac_cv_member_struct_stat_st_dev" = xyes
; then :
7875 cat >>confdefs.h
<<_ACEOF
7876 #define HAVE_STRUCT_STAT_ST_DEV 1
7881 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ino" "ac_cv_member_struct_stat_st_ino" "#ifdef HAVE_SYS_TYPES_H
7882 #include <sys/types.h>
7884 #ifdef HAVE_SYS_STAT_H
7885 #include <sys/stat.h>
7888 if test "x$ac_cv_member_struct_stat_st_ino" = xyes
; then :
7890 cat >>confdefs.h
<<_ACEOF
7891 #define HAVE_STRUCT_STAT_ST_INO 1
7896 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mode" "ac_cv_member_struct_stat_st_mode" "#ifdef HAVE_SYS_TYPES_H
7897 #include <sys/types.h>
7899 #ifdef HAVE_SYS_STAT_H
7900 #include <sys/stat.h>
7903 if test "x$ac_cv_member_struct_stat_st_mode" = xyes
; then :
7905 cat >>confdefs.h
<<_ACEOF
7906 #define HAVE_STRUCT_STAT_ST_MODE 1
7911 ac_fn_c_check_member
"$LINENO" "struct stat" "st_nlink" "ac_cv_member_struct_stat_st_nlink" "#ifdef HAVE_SYS_TYPES_H
7912 #include <sys/types.h>
7914 #ifdef HAVE_SYS_STAT_H
7915 #include <sys/stat.h>
7918 if test "x$ac_cv_member_struct_stat_st_nlink" = xyes
; then :
7920 cat >>confdefs.h
<<_ACEOF
7921 #define HAVE_STRUCT_STAT_ST_NLINK 1
7926 ac_fn_c_check_member
"$LINENO" "struct stat" "st_uid" "ac_cv_member_struct_stat_st_uid" "#ifdef HAVE_SYS_TYPES_H
7927 #include <sys/types.h>
7929 #ifdef HAVE_SYS_STAT_H
7930 #include <sys/stat.h>
7933 if test "x$ac_cv_member_struct_stat_st_uid" = xyes
; then :
7935 cat >>confdefs.h
<<_ACEOF
7936 #define HAVE_STRUCT_STAT_ST_UID 1
7941 ac_fn_c_check_member
"$LINENO" "struct stat" "st_gid" "ac_cv_member_struct_stat_st_gid" "#ifdef HAVE_SYS_TYPES_H
7942 #include <sys/types.h>
7944 #ifdef HAVE_SYS_STAT_H
7945 #include <sys/stat.h>
7948 if test "x$ac_cv_member_struct_stat_st_gid" = xyes
; then :
7950 cat >>confdefs.h
<<_ACEOF
7951 #define HAVE_STRUCT_STAT_ST_GID 1
7956 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "#ifdef HAVE_SYS_TYPES_H
7957 #include <sys/types.h>
7959 #ifdef HAVE_SYS_STAT_H
7960 #include <sys/stat.h>
7963 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
7965 cat >>confdefs.h
<<_ACEOF
7966 #define HAVE_STRUCT_STAT_ST_RDEV 1
7971 ac_fn_c_check_member
"$LINENO" "struct stat" "st_size" "ac_cv_member_struct_stat_st_size" "#ifdef HAVE_SYS_TYPES_H
7972 #include <sys/types.h>
7974 #ifdef HAVE_SYS_STAT_H
7975 #include <sys/stat.h>
7978 if test "x$ac_cv_member_struct_stat_st_size" = xyes
; then :
7980 cat >>confdefs.h
<<_ACEOF
7981 #define HAVE_STRUCT_STAT_ST_SIZE 1
7986 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "#ifdef HAVE_SYS_TYPES_H
7987 #include <sys/types.h>
7989 #ifdef HAVE_SYS_STAT_H
7990 #include <sys/stat.h>
7993 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
7995 cat >>confdefs.h
<<_ACEOF
7996 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
8001 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "#ifdef HAVE_SYS_TYPES_H
8002 #include <sys/types.h>
8004 #ifdef HAVE_SYS_STAT_H
8005 #include <sys/stat.h>
8008 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
8010 cat >>confdefs.h
<<_ACEOF
8011 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
8016 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atime" "ac_cv_member_struct_stat_st_atime" "#ifdef HAVE_SYS_TYPES_H
8017 #include <sys/types.h>
8019 #ifdef HAVE_SYS_STAT_H
8020 #include <sys/stat.h>
8023 if test "x$ac_cv_member_struct_stat_st_atime" = xyes
; then :
8025 cat >>confdefs.h
<<_ACEOF
8026 #define HAVE_STRUCT_STAT_ST_ATIME 1
8031 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtime" "ac_cv_member_struct_stat_st_mtime" "#ifdef HAVE_SYS_TYPES_H
8032 #include <sys/types.h>
8034 #ifdef HAVE_SYS_STAT_H
8035 #include <sys/stat.h>
8038 if test "x$ac_cv_member_struct_stat_st_mtime" = xyes
; then :
8040 cat >>confdefs.h
<<_ACEOF
8041 #define HAVE_STRUCT_STAT_ST_MTIME 1
8046 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctime" "ac_cv_member_struct_stat_st_ctime" "#ifdef HAVE_SYS_TYPES_H
8047 #include <sys/types.h>
8049 #ifdef HAVE_SYS_STAT_H
8050 #include <sys/stat.h>
8053 if test "x$ac_cv_member_struct_stat_st_ctime" = xyes
; then :
8055 cat >>confdefs.h
<<_ACEOF
8056 #define HAVE_STRUCT_STAT_ST_CTIME 1
8063 ac_fn_c_check_type
"$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default"
8064 if test "x$ac_cv_type___int128" = xyes
; then :
8066 cat >>confdefs.h
<<_ACEOF
8067 #define HAVE___INT128 1
8073 ac_fn_c_check_type
"$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
8074 #include <sys/socket.h>
8077 if test "x$ac_cv_type_socklen_t" = xyes
; then :
8079 cat >>confdefs.h
<<_ACEOF
8080 #define HAVE_SOCKLEN_T 1
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking type of array argument to getgroups" >&5
8088 $as_echo_n "checking type of array argument to getgroups... " >&6; }
8089 if ${ac_cv_type_getgroups+:} false
; then :
8090 $as_echo_n "(cached) " >&6
8092 if test "$cross_compiling" = yes; then :
8093 ac_cv_type_getgroups
=cross
8095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8096 /* end confdefs.h. */
8097 /* Thanks to Mike Rendell for this test. */
8098 $ac_includes_default
8101 #define MAX(x, y) ((x) > (y) ? (x) : (y))
8108 union { gid_t gval; long int lval; } val;
8111 for (i = 0; i < NGID; i++)
8112 gidset[i] = val.gval;
8113 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
8115 /* Exit non-zero if getgroups seems to require an array of ints. This
8116 happens when gid_t is short int but getgroups modifies an array
8118 return n > 0 && gidset[n] != val.gval;
8121 if ac_fn_c_try_run
"$LINENO"; then :
8122 ac_cv_type_getgroups
=gid_t
8124 ac_cv_type_getgroups
=int
8126 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8127 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8130 if test $ac_cv_type_getgroups = cross
; then
8131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8132 /* end confdefs.h. */
8136 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8137 $EGREP "getgroups.*int.*gid_t" >/dev
/null
2>&1; then :
8138 ac_cv_type_getgroups
=gid_t
8140 ac_cv_type_getgroups
=int
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_getgroups" >&5
8147 $as_echo "$ac_cv_type_getgroups" >&6; }
8149 cat >>confdefs.h
<<_ACEOF
8150 #define GETGROUPS_T $ac_cv_type_getgroups
8154 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
8155 if test "x$ac_cv_type_mode_t" = xyes
; then :
8159 cat >>confdefs.h
<<_ACEOF
8165 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
8166 if test "x$ac_cv_type_off_t" = xyes
; then :
8170 cat >>confdefs.h
<<_ACEOF
8171 #define off_t long int
8176 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
8177 if test "x$ac_cv_type_pid_t" = xyes
; then :
8181 cat >>confdefs.h
<<_ACEOF
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
8188 $as_echo_n "checking return type of signal handlers... " >&6; }
8189 if ${ac_cv_type_signal+:} false
; then :
8190 $as_echo_n "(cached) " >&6
8192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8193 /* end confdefs.h. */
8194 #include <sys/types.h>
8200 return *(signal (0, 0)) (0) == 1;
8205 if ac_fn_c_try_compile
"$LINENO"; then :
8206 ac_cv_type_signal
=int
8208 ac_cv_type_signal
=void
8210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
8213 $as_echo "$ac_cv_type_signal" >&6; }
8215 cat >>confdefs.h
<<_ACEOF
8216 #define RETSIGTYPE $ac_cv_type_signal
8220 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
8221 if test "x$ac_cv_type_size_t" = xyes
; then :
8225 cat >>confdefs.h
<<_ACEOF
8226 #define size_t unsigned int
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
8232 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
8233 if ${ac_cv_type_uid_t+:} false
; then :
8234 $as_echo_n "(cached) " >&6
8236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8237 /* end confdefs.h. */
8238 #include <sys/types.h>
8241 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8242 $EGREP "uid_t" >/dev
/null
2>&1; then :
8243 ac_cv_type_uid_t
=yes
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
8251 $as_echo "$ac_cv_type_uid_t" >&6; }
8252 if test $ac_cv_type_uid_t = no
; then
8254 $as_echo "#define uid_t int" >>confdefs.h
8257 $as_echo "#define gid_t int" >>confdefs.h
8263 # Use the system's zlib library.
8264 zlibdir
="-L\$(top_builddir)/../zlib"
8265 zlibinc
="-I\$(top_srcdir)/../zlib"
8267 # Check whether --with-system-zlib was given.
8268 if test "${with_system_zlib+set}" = set; then :
8269 withval
=$with_system_zlib; if test x
$with_system_zlib = xyes
; then
8282 for ac_header
in dlfcn.h
8284 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8286 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8287 cat >>confdefs.h
<<_ACEOF
8288 #define HAVE_DLFCN_H 1
8295 for ac_header
in windows.h
8297 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
8299 if test "x$ac_cv_header_windows_h" = xyes
; then :
8300 cat >>confdefs.h
<<_ACEOF
8301 #define HAVE_WINDOWS_H 1
8309 # Check whether --enable-plugins was given.
8310 if test "${enable_plugins+set}" = set; then :
8311 enableval
=$enable_plugins; case "${enableval}" in
8314 if test "$maybe_plugins" != "yes" ; then
8315 as_fn_error $?
"Building with plugin support requires a host that supports dlopen." "$LINENO" 5
8319 plugins
=$maybe_plugins
8323 if test "$plugins" = "yes"; then
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
8325 $as_echo_n "checking for library containing dlsym... " >&6; }
8326 if ${ac_cv_search_dlsym+:} false
; then :
8327 $as_echo_n "(cached) " >&6
8329 ac_func_search_save_LIBS
=$LIBS
8330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8331 /* end confdefs.h. */
8333 /* Override any GCC internal prototype to avoid an error.
8334 Use char because int might match the return type of a GCC
8335 builtin and then its argument prototype would still apply. */
8348 for ac_lib
in '' dl
; do
8349 if test -z "$ac_lib"; then
8350 ac_res
="none required"
8353 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8355 if ac_fn_c_try_link
"$LINENO"; then :
8356 ac_cv_search_dlsym
=$ac_res
8358 rm -f core conftest.err conftest.
$ac_objext \
8360 if ${ac_cv_search_dlsym+:} false
; then :
8364 if ${ac_cv_search_dlsym+:} false
; then :
8367 ac_cv_search_dlsym
=no
8370 LIBS
=$ac_func_search_save_LIBS
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
8373 $as_echo "$ac_cv_search_dlsym" >&6; }
8374 ac_res
=$ac_cv_search_dlsym
8375 if test "$ac_res" != no
; then :
8376 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
8382 if test "$plugins" = yes; then
8403 # Check whether --enable-shared was given.
8404 if test "${enable_shared+set}" = set; then :
8405 enableval
=$enable_shared; p
=${PACKAGE-default}
8407 yes) enable_shared
=yes ;;
8408 no
) enable_shared
=no
;;
8411 # Look at the argument we got. We use all the common list separators.
8412 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8413 for pkg
in $enableval; do
8415 if test "X$pkg" = "X$p"; then
8434 # Check whether --enable-static was given.
8435 if test "${enable_static+set}" = set; then :
8436 enableval
=$enable_static; p
=${PACKAGE-default}
8438 yes) enable_static
=yes ;;
8439 no
) enable_static
=no
;;
8442 # Look at the argument we got. We use all the common list separators.
8443 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8444 for pkg
in $enableval; do
8446 if test "X$pkg" = "X$p"; then
8466 # Check whether --with-pic was given.
8467 if test "${with_pic+set}" = set; then :
8468 withval
=$with_pic; pic_mode
="$withval"
8474 test -z "$pic_mode" && pic_mode
=default
8482 # Check whether --enable-fast-install was given.
8483 if test "${enable_fast_install+set}" = set; then :
8484 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8486 yes) enable_fast_install
=yes ;;
8487 no
) enable_fast_install
=no
;;
8489 enable_fast_install
=no
8490 # Look at the argument we got. We use all the common list separators.
8491 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8492 for pkg
in $enableval; do
8494 if test "X$pkg" = "X$p"; then
8495 enable_fast_install
=yes
8502 enable_fast_install
=yes
8515 # This can be used to rebuild libtool when needed
8516 LIBTOOL_DEPS
="$ltmain"
8518 # Always use our own libtool.
8519 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8546 test -z "$LN_S" && LN_S
="ln -s"
8561 if test -n "${ZSH_VERSION+set}" ; then
8562 setopt NO_GLOB_SUBST
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8566 $as_echo_n "checking for objdir... " >&6; }
8567 if ${lt_cv_objdir+:} false
; then :
8568 $as_echo_n "(cached) " >&6
8570 rm -f .libs
2>/dev
/null
8571 mkdir .libs
2>/dev
/null
8572 if test -d .libs
; then
8575 # MS-DOS does not allow filenames that begin with a dot.
8578 rmdir .libs
2>/dev
/null
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8581 $as_echo "$lt_cv_objdir" >&6; }
8582 objdir
=$lt_cv_objdir
8588 cat >>confdefs.h
<<_ACEOF
8589 #define LT_OBJDIR "$lt_cv_objdir/"
8597 # AIX sometimes has problems with the GCC collect2 program. For some
8598 # reason, if we set the COLLECT_NAMES environment variable, the problems
8599 # vanish in a puff of smoke.
8600 if test "X${COLLECT_NAMES+set}" != Xset
; then
8602 export COLLECT_NAMES
8609 can_build_shared
=yes
8611 # All known linkers require a `.a' archive for static linking (except MSVC,
8612 # which needs '.lib').
8615 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8618 old_CFLAGS
="$CFLAGS"
8620 # Set sane defaults for various variables
8621 test -z "$CC" && CC
=cc
8622 test -z "$LTCC" && LTCC
=$CC
8623 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8624 test -z "$LD" && LD
=ld
8625 test -z "$ac_objext" && ac_objext
=o
8627 for cc_temp
in $compiler""; do
8629 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8630 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8635 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8638 # Only perform the check for file, if the check method requires it
8639 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8640 case $deplibs_check_method in
8642 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8644 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8645 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8646 $as_echo_n "(cached) " >&6
8650 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8653 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8654 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8655 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8656 for ac_dir
in $ac_dummy; do
8658 test -z "$ac_dir" && ac_dir
=.
8659 if test -f $ac_dir/${ac_tool_prefix}file; then
8660 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8661 if test -n "$file_magic_test_file"; then
8662 case $deplibs_check_method in
8664 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8665 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8666 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8667 $EGREP "$file_magic_regex" > /dev
/null
; then
8672 *** Warning: the command libtool uses to detect shared libraries,
8673 *** $file_magic_cmd, produces output that libtool cannot recognize.
8674 *** The result is that libtool may fail to recognize shared libraries
8675 *** as such. This will affect the creation of libtool libraries that
8676 *** depend on shared libraries, but programs linked with such libtool
8677 *** libraries will work regardless of this problem. Nevertheless, you
8678 *** may want to report the problem to your system manager and/or to
8679 *** bug-libtool@gnu.org
8689 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8694 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8695 if test -n "$MAGIC_CMD"; then
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8697 $as_echo "$MAGIC_CMD" >&6; }
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8700 $as_echo "no" >&6; }
8707 if test -z "$lt_cv_path_MAGIC_CMD"; then
8708 if test -n "$ac_tool_prefix"; then
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8710 $as_echo_n "checking for file... " >&6; }
8711 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8712 $as_echo_n "(cached) " >&6
8716 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8719 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8720 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8721 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8722 for ac_dir
in $ac_dummy; do
8724 test -z "$ac_dir" && ac_dir
=.
8725 if test -f $ac_dir/file; then
8726 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8727 if test -n "$file_magic_test_file"; then
8728 case $deplibs_check_method in
8730 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8731 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8732 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8733 $EGREP "$file_magic_regex" > /dev
/null
; then
8738 *** Warning: the command libtool uses to detect shared libraries,
8739 *** $file_magic_cmd, produces output that libtool cannot recognize.
8740 *** The result is that libtool may fail to recognize shared libraries
8741 *** as such. This will affect the creation of libtool libraries that
8742 *** depend on shared libraries, but programs linked with such libtool
8743 *** libraries will work regardless of this problem. Nevertheless, you
8744 *** may want to report the problem to your system manager and/or to
8745 *** bug-libtool@gnu.org
8755 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8760 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8761 if test -n "$MAGIC_CMD"; then
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8763 $as_echo "$MAGIC_CMD" >&6; }
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8766 $as_echo "no" >&6; }
8779 # Use C for the default configuration in the libtool script
8783 ac_cpp
='$CPP $CPPFLAGS'
8784 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8785 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8786 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8789 # Source file extension for C test sources.
8792 # Object file extension for compiled C test sources.
8796 # Code to be used in simple compile tests
8797 lt_simple_compile_test_code
="int some_variable = 0;"
8799 # Code to be used in simple link tests
8800 lt_simple_link_test_code
='int main(){return(0);}'
8808 # If no C compiler was specified, use CC.
8811 # If no C compiler flags were specified, use CFLAGS.
8812 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8814 # Allow CC to be a program name with arguments.
8817 # Save the default compiler, since it gets overwritten when the other
8818 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8819 compiler_DEFAULT
=$CC
8821 # save warnings/boilerplate of simple test code
8822 ac_outfile
=conftest.
$ac_objext
8823 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8824 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8825 _lt_compiler_boilerplate
=`cat conftest.err`
8828 ac_outfile
=conftest.
$ac_objext
8829 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8830 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8831 _lt_linker_boilerplate
=`cat conftest.err`
8836 ## There is no encapsulation within the following macros, do not change
8837 ## the running order or otherwise move them around unless you know exactly
8838 ## what you are doing...
8839 if test -n "$compiler"; then
8841 lt_prog_compiler_no_builtin_flag
=
8843 if test "$GCC" = yes; then
8844 case $cc_basename in
8846 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8848 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8852 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8853 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8854 $as_echo_n "(cached) " >&6
8856 lt_cv_prog_compiler_rtti_exceptions
=no
8857 ac_outfile
=conftest.
$ac_objext
8858 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8859 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8860 # Insert the option either (1) after the last *FLAGS variable, or
8861 # (2) before a word containing "conftest.", or (3) at the end.
8862 # Note that $ac_compile itself does not contain backslashes and begins
8863 # with a dollar sign (not a hyphen), so the echo should work correctly.
8864 # The option is referenced via a variable to avoid confusing sed.
8865 lt_compile
=`echo "$ac_compile" | $SED \
8866 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8867 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8868 -e 's:$: $lt_compiler_flag:'`
8869 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8870 (eval "$lt_compile" 2>conftest.err
)
8872 cat conftest.err
>&5
8873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8874 if (exit $ac_status) && test -s "$ac_outfile"; then
8875 # The compiler can only warn and ignore the option if not recognized
8876 # So say no if there are warnings other than the usual output.
8877 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8878 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8879 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8880 lt_cv_prog_compiler_rtti_exceptions
=yes
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8887 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8889 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8890 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8902 lt_prog_compiler_wl
=
8903 lt_prog_compiler_pic
=
8904 lt_prog_compiler_static
=
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8907 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8909 if test "$GCC" = yes; then
8910 lt_prog_compiler_wl
='-Wl,'
8911 lt_prog_compiler_static
='-static'
8915 # All AIX code is PIC.
8916 if test "$host_cpu" = ia64
; then
8917 # AIX 5 now supports IA64 processor
8918 lt_prog_compiler_static
='-Bstatic'
8920 lt_prog_compiler_pic
='-fPIC'
8926 # see comment about AmigaOS4 .so support
8927 lt_prog_compiler_pic
='-fPIC'
8930 # FIXME: we need at least 68020 code to build shared libraries, but
8931 # adding the `-m68020' flag to GCC prevents building anything better,
8933 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8938 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8939 # PIC is the default for these OSes.
8942 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8943 # This hack is so that the source file can tell whether it is being
8944 # built for inclusion in a dll (and should export symbols for example).
8945 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8946 # (--disable-auto-import) libraries
8947 lt_prog_compiler_pic
='-DDLL_EXPORT'
8950 darwin
* | rhapsody
*)
8951 # PIC is the default on this platform
8952 # Common symbols not allowed in MH_DYLIB files
8953 lt_prog_compiler_pic
='-fno-common'
8957 # PIC is the default for Haiku.
8958 # The "-static" flag exists, but is broken.
8959 lt_prog_compiler_static
=
8963 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8964 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8965 # sets the default TLS model and affects inlining.
8971 lt_prog_compiler_pic
='-fPIC'
8977 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8978 # Instead, we relocate shared libraries at runtime.
8982 # Just because we use GCC doesn't mean we suddenly get shared libraries
8983 # on systems that don't support them.
8984 lt_prog_compiler_can_build_shared
=no
8989 # QNX uses GNU C++, but need to define -shared option too, otherwise
8991 lt_prog_compiler_pic
='-fPIC -shared'
8995 if test -d /usr
/nec
; then
8996 lt_prog_compiler_pic
=-Kconform_pic
9001 lt_prog_compiler_pic
='-fPIC'
9005 case $cc_basename in
9006 nvcc
*) # Cuda Compiler Driver 2.2
9007 lt_prog_compiler_wl
='-Xlinker '
9008 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9012 # PORTME Check for flag to pass linker flags through the system compiler.
9015 lt_prog_compiler_wl
='-Wl,'
9016 if test "$host_cpu" = ia64
; then
9017 # AIX 5 now supports IA64 processor
9018 lt_prog_compiler_static
='-Bstatic'
9020 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9024 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9025 # This hack is so that the source file can tell whether it is being
9026 # built for inclusion in a dll (and should export symbols for example).
9027 lt_prog_compiler_pic
='-DDLL_EXPORT'
9030 hpux9
* | hpux10
* | hpux11
*)
9031 lt_prog_compiler_wl
='-Wl,'
9032 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9039 lt_prog_compiler_pic
='+Z'
9042 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9043 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9046 irix5
* | irix6
* | nonstopux
*)
9047 lt_prog_compiler_wl
='-Wl,'
9048 # PIC (with -KPIC) is the default.
9049 lt_prog_compiler_static
='-non_shared'
9052 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9053 case $cc_basename in
9054 # old Intel for x86_64 which still supported -KPIC.
9056 lt_prog_compiler_wl
='-Wl,'
9057 lt_prog_compiler_pic
='-KPIC'
9058 lt_prog_compiler_static
='-static'
9060 # icc used to be incompatible with GCC.
9061 # ICC 10 doesn't accept -KPIC any more.
9063 lt_prog_compiler_wl
='-Wl,'
9064 lt_prog_compiler_pic
='-fPIC'
9065 lt_prog_compiler_static
='-static'
9067 # Lahey Fortran 8.1.
9069 lt_prog_compiler_wl
='-Wl,'
9070 lt_prog_compiler_pic
='--shared'
9071 lt_prog_compiler_static
='--static'
9073 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9074 # Portland Group compilers (*not* the Pentium gcc compiler,
9075 # which looks to be a dead project)
9076 lt_prog_compiler_wl
='-Wl,'
9077 lt_prog_compiler_pic
='-fpic'
9078 lt_prog_compiler_static
='-Bstatic'
9081 lt_prog_compiler_wl
='-Wl,'
9082 # All Alpha code is PIC.
9083 lt_prog_compiler_static
='-non_shared'
9085 xl
* | bgxl
* | bgf
* | mpixl
*)
9086 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9087 lt_prog_compiler_wl
='-Wl,'
9088 lt_prog_compiler_pic
='-qpic'
9089 lt_prog_compiler_static
='-qstaticlink'
9092 case `$CC -V 2>&1 | sed 5q` in
9093 *Sun\ F
* |
*Sun
*Fortran
*)
9094 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9095 lt_prog_compiler_pic
='-KPIC'
9096 lt_prog_compiler_static
='-Bstatic'
9097 lt_prog_compiler_wl
=''
9101 lt_prog_compiler_pic
='-KPIC'
9102 lt_prog_compiler_static
='-Bstatic'
9103 lt_prog_compiler_wl
='-Wl,'
9111 lt_prog_compiler_pic
='-KPIC'
9112 lt_prog_compiler_static
='-Bstatic'
9116 # QNX uses GNU C++, but need to define -shared option too, otherwise
9118 lt_prog_compiler_pic
='-fPIC -shared'
9121 osf3
* | osf4
* | osf5
*)
9122 lt_prog_compiler_wl
='-Wl,'
9123 # All OSF/1 code is PIC.
9124 lt_prog_compiler_static
='-non_shared'
9128 lt_prog_compiler_static
='-non_shared'
9132 lt_prog_compiler_pic
='-KPIC'
9133 lt_prog_compiler_static
='-Bstatic'
9134 case $cc_basename in
9136 lt_prog_compiler_wl
='-Qoption ld ';;
9138 lt_prog_compiler_wl
='-Wl,';;
9143 lt_prog_compiler_wl
='-Qoption ld '
9144 lt_prog_compiler_pic
='-PIC'
9145 lt_prog_compiler_static
='-Bstatic'
9148 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9149 lt_prog_compiler_wl
='-Wl,'
9150 lt_prog_compiler_pic
='-KPIC'
9151 lt_prog_compiler_static
='-Bstatic'
9155 if test -d /usr
/nec
;then
9156 lt_prog_compiler_pic
='-Kconform_pic'
9157 lt_prog_compiler_static
='-Bstatic'
9161 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9162 lt_prog_compiler_wl
='-Wl,'
9163 lt_prog_compiler_pic
='-KPIC'
9164 lt_prog_compiler_static
='-Bstatic'
9168 lt_prog_compiler_wl
='-Wl,'
9169 lt_prog_compiler_can_build_shared
=no
9173 lt_prog_compiler_pic
='-pic'
9174 lt_prog_compiler_static
='-Bstatic'
9178 lt_prog_compiler_can_build_shared
=no
9184 # For platforms which do not support PIC, -DPIC is meaningless:
9186 lt_prog_compiler_pic
=
9189 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9193 $as_echo "$lt_prog_compiler_pic" >&6; }
9201 # Check to make sure the PIC flag actually works.
9203 if test -n "$lt_prog_compiler_pic"; then
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9205 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9206 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9207 $as_echo_n "(cached) " >&6
9209 lt_cv_prog_compiler_pic_works
=no
9210 ac_outfile
=conftest.
$ac_objext
9211 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9212 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9213 # Insert the option either (1) after the last *FLAGS variable, or
9214 # (2) before a word containing "conftest.", or (3) at the end.
9215 # Note that $ac_compile itself does not contain backslashes and begins
9216 # with a dollar sign (not a hyphen), so the echo should work correctly.
9217 # The option is referenced via a variable to avoid confusing sed.
9218 lt_compile
=`echo "$ac_compile" | $SED \
9219 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9220 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9221 -e 's:$: $lt_compiler_flag:'`
9222 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9223 (eval "$lt_compile" 2>conftest.err
)
9225 cat conftest.err
>&5
9226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9227 if (exit $ac_status) && test -s "$ac_outfile"; then
9228 # The compiler can only warn and ignore the option if not recognized
9229 # So say no if there are warnings other than the usual output.
9230 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9231 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9232 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9233 lt_cv_prog_compiler_pic_works
=yes
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9240 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9242 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9243 case $lt_prog_compiler_pic in
9245 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9248 lt_prog_compiler_pic
=
9249 lt_prog_compiler_can_build_shared
=no
9260 # Check to make sure the static flag actually works.
9262 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9264 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9265 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9266 $as_echo_n "(cached) " >&6
9268 lt_cv_prog_compiler_static_works
=no
9269 save_LDFLAGS
="$LDFLAGS"
9270 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9271 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9272 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9273 # The linker can only warn and ignore the option if not recognized
9274 # So say no if there are warnings
9275 if test -s conftest.err
; then
9276 # Append any errors to the config.log.
9277 cat conftest.err
1>&5
9278 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9279 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9280 if diff conftest.exp conftest.er2
>/dev
/null
; then
9281 lt_cv_prog_compiler_static_works
=yes
9284 lt_cv_prog_compiler_static_works
=yes
9288 LDFLAGS
="$save_LDFLAGS"
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9292 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9294 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9297 lt_prog_compiler_static
=
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9307 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9308 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9309 $as_echo_n "(cached) " >&6
9311 lt_cv_prog_compiler_c_o
=no
9312 $RM -r conftest
2>/dev
/null
9316 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9318 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9319 # Insert the option either (1) after the last *FLAGS variable, or
9320 # (2) before a word containing "conftest.", or (3) at the end.
9321 # Note that $ac_compile itself does not contain backslashes and begins
9322 # with a dollar sign (not a hyphen), so the echo should work correctly.
9323 lt_compile
=`echo "$ac_compile" | $SED \
9324 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9325 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9326 -e 's:$: $lt_compiler_flag:'`
9327 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9328 (eval "$lt_compile" 2>out
/conftest.err
)
9330 cat out
/conftest.err
>&5
9331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9332 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9334 # The compiler can only warn and ignore the option if not recognized
9335 # So say no if there are warnings
9336 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9337 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9338 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9339 lt_cv_prog_compiler_c_o
=yes
9344 # SGI C++ compiler will create directory out/ii_files/ for
9345 # template instantiation
9346 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9347 $RM out
/* && rmdir out
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9354 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9362 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9363 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9364 $as_echo_n "(cached) " >&6
9366 lt_cv_prog_compiler_c_o
=no
9367 $RM -r conftest
2>/dev
/null
9371 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9373 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9374 # Insert the option either (1) after the last *FLAGS variable, or
9375 # (2) before a word containing "conftest.", or (3) at the end.
9376 # Note that $ac_compile itself does not contain backslashes and begins
9377 # with a dollar sign (not a hyphen), so the echo should work correctly.
9378 lt_compile
=`echo "$ac_compile" | $SED \
9379 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9380 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9381 -e 's:$: $lt_compiler_flag:'`
9382 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9383 (eval "$lt_compile" 2>out
/conftest.err
)
9385 cat out
/conftest.err
>&5
9386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9387 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9389 # The compiler can only warn and ignore the option if not recognized
9390 # So say no if there are warnings
9391 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9392 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9393 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9394 lt_cv_prog_compiler_c_o
=yes
9399 # SGI C++ compiler will create directory out/ii_files/ for
9400 # template instantiation
9401 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9402 $RM out
/* && rmdir out
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9409 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9414 hard_links
="nottested"
9415 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9416 # do not overwrite the value of need_locks provided by the user
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9418 $as_echo_n "checking if we can lock with hard links... " >&6; }
9421 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9423 ln conftest.a conftest.b
2>&5 || hard_links
=no
9424 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9426 $as_echo "$hard_links" >&6; }
9427 if test "$hard_links" = no
; then
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9429 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9442 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9445 allow_undefined_flag
=
9446 always_export_symbols
=no
9448 archive_expsym_cmds
=
9449 compiler_needs_object
=no
9450 enable_shared_with_static_runtimes
=no
9451 export_dynamic_flag_spec
=
9452 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9453 hardcode_automatic
=no
9455 hardcode_direct_absolute
=no
9456 hardcode_libdir_flag_spec
=
9457 hardcode_libdir_flag_spec_ld
=
9458 hardcode_libdir_separator
=
9460 hardcode_shlibpath_var
=unsupported
9462 link_all_deplibs
=unknown
9465 old_archive_from_new_cmds
=
9466 old_archive_from_expsyms_cmds
=
9467 thread_safe_flag_spec
=
9468 whole_archive_flag_spec
=
9469 # include_expsyms should be a list of space-separated symbols to be *always*
9470 # included in the symbol list
9472 # exclude_expsyms can be an extended regexp of symbols to exclude
9473 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9474 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9475 # as well as any symbol that contains `d'.
9476 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9477 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9478 # platforms (ab)use it in PIC code, but their linkers get confused if
9479 # the symbol is explicitly referenced. Since portable code cannot
9480 # rely on this symbol name, it's probably fine to never include it in
9481 # preloaded symbol tables.
9482 # Exclude shared library initialization/finalization symbols.
9483 extract_expsyms_cmds
=
9486 cygwin
* | mingw
* | pw32
* | cegcc
*)
9487 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9488 # When not using gcc, we currently assume that we are using
9489 # Microsoft Visual C++.
9490 if test "$GCC" != yes; then
9495 # we just hope/assume this is gcc and not c89 (= MSVC++)
9505 # On some targets, GNU ld is compatible enough with the native linker
9506 # that we're better off using the native interface for both.
9507 lt_use_gnu_ld_interface
=no
9508 if test "$with_gnu_ld" = yes; then
9511 # The AIX port of GNU ld has always aspired to compatibility
9512 # with the native linker. However, as the warning in the GNU ld
9513 # block says, versions before 2.19.5* couldn't really create working
9514 # shared libraries, regardless of the interface used.
9515 case `$LD -v 2>&1` in
9516 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9517 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9518 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9520 lt_use_gnu_ld_interface
=yes
9525 lt_use_gnu_ld_interface
=yes
9530 if test "$lt_use_gnu_ld_interface" = yes; then
9531 # If archive_cmds runs LD, not CC, wlarc should be empty
9534 # Set some defaults for GNU ld with shared library support. These
9535 # are reset later if shared libraries are not supported. Putting them
9536 # here allows them to be overridden if necessary.
9537 runpath_var
=LD_RUN_PATH
9538 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9539 export_dynamic_flag_spec
='${wl}--export-dynamic'
9540 # ancient GNU ld didn't support --whole-archive et. al.
9541 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9542 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9544 whole_archive_flag_spec
=
9546 supports_anon_versioning
=no
9547 case `$LD -v 2>&1` in
9548 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9549 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9550 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9551 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9552 *\
2.11.
*) ;; # other 2.11 versions
9553 *) supports_anon_versioning
=yes ;;
9556 # See if GNU ld supports shared libraries.
9559 # On AIX/PPC, the GNU linker is very broken
9560 if test "$host_cpu" != ia64
; then
9564 *** Warning: the GNU linker, at least up to release 2.19, is reported
9565 *** to be unable to reliably create shared libraries on AIX.
9566 *** Therefore, libtool is disabling shared libraries support. If you
9567 *** really care for shared libraries, you may want to install binutils
9568 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9569 *** You will then need to restart the configuration process.
9578 # see comment about AmigaOS4 .so support
9579 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9580 archive_expsym_cmds
=''
9583 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)'
9584 hardcode_libdir_flag_spec
='-L$libdir'
9585 hardcode_minus_L
=yes
9591 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9592 allow_undefined_flag
=unsupported
9593 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9594 # support --undefined. This deserves some investigation. FIXME
9595 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9601 cygwin
* | mingw
* | pw32
* | cegcc
*)
9602 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9603 # as there is no search path for DLLs.
9604 hardcode_libdir_flag_spec
='-L$libdir'
9605 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9606 allow_undefined_flag
=unsupported
9607 always_export_symbols
=no
9608 enable_shared_with_static_runtimes
=yes
9609 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9611 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9612 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9613 # If the export-symbols file already is a .def file (1st line
9614 # is EXPORTS), use it as is; otherwise, prepend...
9615 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9616 cp $export_symbols $output_objdir/$soname.def;
9618 echo EXPORTS > $output_objdir/$soname.def;
9619 cat $export_symbols >> $output_objdir/$soname.def;
9621 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9628 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9629 link_all_deplibs
=yes
9634 hardcode_shlibpath_var
=no
9635 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9636 export_dynamic_flag_spec
='${wl}-E'
9637 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9638 # Instead, shared libraries are loaded at an image base (0x10000000 by
9639 # default) and relocated if they conflict, which is a slow very memory
9640 # consuming and fragmenting process. To avoid this, we pick a random,
9641 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9642 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9643 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9644 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'
9647 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9649 if test "$host_os" = linux-dietlibc
; then
9650 case $cc_basename in
9651 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9654 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9655 && test "$tmp_diet" = no
9657 tmp_addflag
=' $pic_flag'
9658 tmp_sharedflag
='-shared'
9659 case $cc_basename,$host_cpu in
9660 pgcc
*) # Portland Group C compiler
9661 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'
9662 tmp_addflag
=' $pic_flag'
9664 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9665 # Portland Group f77 and f90 compilers
9666 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'
9667 tmp_addflag
=' $pic_flag -Mnomain' ;;
9668 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9669 tmp_addflag
=' -i_dynamic' ;;
9670 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9671 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9672 ifc
* | ifort
*) # Intel Fortran compiler
9673 tmp_addflag
=' -nofor_main' ;;
9674 lf95
*) # Lahey Fortran 8.1
9675 whole_archive_flag_spec
=
9676 tmp_sharedflag
='--shared' ;;
9677 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9678 tmp_sharedflag
='-qmkshrobj'
9680 nvcc
*) # Cuda Compiler Driver 2.2
9681 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'
9682 compiler_needs_object
=yes
9685 case `$CC -V 2>&1 | sed 5q` in
9686 *Sun\ C
*) # Sun C 5.9
9687 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'
9688 compiler_needs_object
=yes
9689 tmp_sharedflag
='-G' ;;
9690 *Sun\ F
*) # Sun Fortran 8.3
9691 tmp_sharedflag
='-G' ;;
9693 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9695 if test "x$supports_anon_versioning" = xyes
; then
9696 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9697 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9698 echo "local: *; };" >> $output_objdir/$libname.ver~
9699 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9702 case $cc_basename in
9703 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9704 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9705 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9706 hardcode_libdir_flag_spec
=
9707 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9708 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9709 if test "x$supports_anon_versioning" = xyes
; then
9710 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9711 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9712 echo "local: *; };" >> $output_objdir/$libname.ver~
9713 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9723 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9724 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9727 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9728 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9733 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9737 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9738 *** create shared libraries on Solaris systems. Therefore, libtool
9739 *** is disabling shared libraries support. We urge you to upgrade GNU
9740 *** binutils to release 2.9.1 or newer. Another option is to modify
9741 *** your PATH or compiler configuration so that the native linker is
9742 *** used, and then restart.
9745 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9746 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9747 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9753 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9754 case `$LD -v 2>&1` in
9755 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9759 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9760 *** reliably create shared libraries on SCO systems. Therefore, libtool
9761 *** is disabling shared libraries support. We urge you to upgrade GNU
9762 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9763 *** your PATH or compiler configuration so that the native linker is
9764 *** used, and then restart.
9769 # For security reasons, it is highly recommended that you always
9770 # use absolute paths for naming shared libraries, and exclude the
9771 # DT_RUNPATH tag from executables and libraries. But doing so
9772 # requires that you compile everything twice, which is a pain.
9773 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9774 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9775 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9776 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9785 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9788 hardcode_shlibpath_var
=no
9792 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9793 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9794 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9801 if test "$ld_shlibs" = no
; then
9803 hardcode_libdir_flag_spec
=
9804 export_dynamic_flag_spec
=
9805 whole_archive_flag_spec
=
9808 # PORTME fill in a description of your system's linker (not GNU ld)
9811 allow_undefined_flag
=unsupported
9812 always_export_symbols
=yes
9813 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'
9814 # Note: this linker hardcodes the directories in LIBPATH if there
9815 # are no directories specified by -L.
9816 hardcode_minus_L
=yes
9817 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9818 # Neither direct hardcoding nor static linking is supported with a
9820 hardcode_direct
=unsupported
9825 if test "$host_cpu" = ia64
; then
9826 # On IA64, the linker does run time linking by default, so we don't
9827 # have to do anything special.
9828 aix_use_runtimelinking
=no
9829 exp_sym_flag
='-Bexport'
9832 # If we're using GNU nm, then we don't want the "-C" option.
9833 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9834 # Also, AIX nm treats weak defined symbols like other global
9835 # defined symbols, whereas GNU nm marks them as "W".
9836 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9837 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'
9839 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'
9841 aix_use_runtimelinking
=no
9843 # Test if we are trying to use run time linking or normal
9844 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9845 # need to do runtime linking.
9846 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9847 for ld_flag
in $LDFLAGS; do
9848 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9849 aix_use_runtimelinking
=yes
9856 exp_sym_flag
='-bexport'
9857 no_entry_flag
='-bnoentry'
9860 # When large executables or shared objects are built, AIX ld can
9861 # have problems creating the table of contents. If linking a library
9862 # or program results in "error TOC overflow" add -mminimal-toc to
9863 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9864 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9868 hardcode_direct_absolute
=yes
9869 hardcode_libdir_separator
=':'
9870 link_all_deplibs
=yes
9871 file_list_spec
='${wl}-f,'
9873 if test "$GCC" = yes; then
9874 case $host_os in aix4.
[012]|aix4.
[012].
*)
9875 # We only want to do this on AIX 4.2 and lower, the check
9876 # below for broken collect2 doesn't work under 4.3+
9877 collect2name
=`${CC} -print-prog-name=collect2`
9878 if test -f "$collect2name" &&
9879 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9881 # We have reworked collect2
9884 # We have old collect2
9885 hardcode_direct
=unsupported
9886 # It fails to find uninstalled libraries when the uninstalled
9887 # path is not listed in the libpath. Setting hardcode_minus_L
9888 # to unsupported forces relinking
9889 hardcode_minus_L
=yes
9890 hardcode_libdir_flag_spec
='-L$libdir'
9891 hardcode_libdir_separator
=
9895 shared_flag
='-shared'
9896 if test "$aix_use_runtimelinking" = yes; then
9897 shared_flag
="$shared_flag "'${wl}-G'
9901 if test "$host_cpu" = ia64
; then
9902 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9903 # chokes on -Wl,-G. The following line is correct:
9906 if test "$aix_use_runtimelinking" = yes; then
9907 shared_flag
='${wl}-G'
9909 shared_flag
='${wl}-bM:SRE'
9914 export_dynamic_flag_spec
='${wl}-bexpall'
9915 # It seems that -bexpall does not export symbols beginning with
9916 # underscore (_), so it is better to generate a list of symbols to export.
9917 always_export_symbols
=yes
9918 if test "$aix_use_runtimelinking" = yes; then
9919 # Warning - without using the other runtime loading flags (-brtl),
9920 # -berok will link without error, but may produce a broken library.
9921 allow_undefined_flag
='-berok'
9922 # Determine the default libpath from the value encoded in an
9924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9925 /* end confdefs.h. */
9935 if ac_fn_c_try_link
"$LINENO"; then :
9937 lt_aix_libpath_sed
='
9938 /Import File Strings/,/^$/ {
9944 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9945 # Check for a 64-bit object if we didn't find anything.
9946 if test -z "$aix_libpath"; then
9947 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9950 rm -f core conftest.err conftest.
$ac_objext \
9951 conftest
$ac_exeext conftest.
$ac_ext
9952 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9954 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9955 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"
9957 if test "$host_cpu" = ia64
; then
9958 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9959 allow_undefined_flag
="-z nodefs"
9960 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"
9962 # Determine the default libpath from the value encoded in an
9964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9965 /* end confdefs.h. */
9975 if ac_fn_c_try_link
"$LINENO"; then :
9977 lt_aix_libpath_sed
='
9978 /Import File Strings/,/^$/ {
9984 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9985 # Check for a 64-bit object if we didn't find anything.
9986 if test -z "$aix_libpath"; then
9987 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9990 rm -f core conftest.err conftest.
$ac_objext \
9991 conftest
$ac_exeext conftest.
$ac_ext
9992 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9994 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9995 # Warning - without using the other run time loading flags,
9996 # -berok will link without error, but may produce a broken library.
9997 no_undefined_flag
=' ${wl}-bernotok'
9998 allow_undefined_flag
=' ${wl}-berok'
9999 if test "$with_gnu_ld" = yes; then
10000 # We only use this code for GNU lds that support --whole-archive.
10001 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10003 # Exported symbols can be pulled into shared objects from archives
10004 whole_archive_flag_spec
='$convenience'
10006 archive_cmds_need_lc
=yes
10007 # This is similar to how AIX traditionally builds its shared libraries.
10008 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'
10016 # see comment about AmigaOS4 .so support
10017 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10018 archive_expsym_cmds
=''
10021 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)'
10022 hardcode_libdir_flag_spec
='-L$libdir'
10023 hardcode_minus_L
=yes
10029 export_dynamic_flag_spec
=-rdynamic
10032 cygwin
* | mingw
* | pw32
* | cegcc
*)
10033 # When not using gcc, we currently assume that we are using
10034 # Microsoft Visual C++.
10035 # hardcode_libdir_flag_spec is actually meaningless, as there is
10036 # no search path for DLLs.
10037 hardcode_libdir_flag_spec
=' '
10038 allow_undefined_flag
=unsupported
10039 # Tell ltmain to make .lib files, not .a files.
10041 # Tell ltmain to make .dll files, not .so files.
10043 # FIXME: Setting linknames here is a bad hack.
10044 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10045 # The linker will automatically build a .lib file if we build a DLL.
10046 old_archive_from_new_cmds
='true'
10047 # FIXME: Should let the user specify the lib program.
10048 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10049 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10050 enable_shared_with_static_runtimes
=yes
10053 darwin
* | rhapsody
*)
10056 archive_cmds_need_lc
=no
10058 hardcode_automatic
=yes
10059 hardcode_shlibpath_var
=unsupported
10060 if test "$lt_cv_ld_force_load" = "yes"; then
10061 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\"`'
10063 whole_archive_flag_spec
=''
10065 link_all_deplibs
=yes
10066 allow_undefined_flag
="$_lt_dar_allow_undefined"
10067 case $cc_basename in
10068 ifort
*) _lt_dar_can_shared
=yes ;;
10069 *) _lt_dar_can_shared
=$GCC ;;
10071 if test "$_lt_dar_can_shared" = "yes"; then
10072 output_verbose_link_cmd
=func_echo_all
10073 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10074 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10075 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}"
10076 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}"
10085 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10086 hardcode_libdir_flag_spec
='-L$libdir'
10087 hardcode_shlibpath_var
=no
10090 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10091 # support. Future versions do this automatically, but an explicit c++rt0.o
10092 # does not break anything, and helps significantly (at the cost of a little
10095 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10096 hardcode_libdir_flag_spec
='-R$libdir'
10097 hardcode_direct
=yes
10098 hardcode_shlibpath_var
=no
10101 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10103 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10104 hardcode_direct
=yes
10105 hardcode_minus_L
=yes
10106 hardcode_shlibpath_var
=no
10109 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10110 freebsd
* | dragonfly
*)
10111 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10112 hardcode_libdir_flag_spec
='-R$libdir'
10113 hardcode_direct
=yes
10114 hardcode_shlibpath_var
=no
10118 if test "$GCC" = yes; then
10119 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'
10121 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'
10123 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10124 hardcode_libdir_separator
=:
10125 hardcode_direct
=yes
10127 # hardcode_minus_L: Not really in the search PATH,
10128 # but as the default location of the library.
10129 hardcode_minus_L
=yes
10130 export_dynamic_flag_spec
='${wl}-E'
10134 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10135 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10137 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10139 if test "$with_gnu_ld" = no
; then
10140 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10141 hardcode_libdir_flag_spec_ld
='+b $libdir'
10142 hardcode_libdir_separator
=:
10143 hardcode_direct
=yes
10144 hardcode_direct_absolute
=yes
10145 export_dynamic_flag_spec
='${wl}-E'
10146 # hardcode_minus_L: Not really in the search PATH,
10147 # but as the default location of the library.
10148 hardcode_minus_L
=yes
10153 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10156 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10159 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10162 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10168 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10171 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10175 # Older versions of the 11.00 compiler do not understand -b yet
10176 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10178 $as_echo_n "checking if $CC understands -b... " >&6; }
10179 if ${lt_cv_prog_compiler__b+:} false
; then :
10180 $as_echo_n "(cached) " >&6
10182 lt_cv_prog_compiler__b
=no
10183 save_LDFLAGS
="$LDFLAGS"
10184 LDFLAGS
="$LDFLAGS -b"
10185 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10186 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10187 # The linker can only warn and ignore the option if not recognized
10188 # So say no if there are warnings
10189 if test -s conftest.err
; then
10190 # Append any errors to the config.log.
10191 cat conftest.err
1>&5
10192 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10193 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10194 if diff conftest.exp conftest.er2
>/dev
/null
; then
10195 lt_cv_prog_compiler__b
=yes
10198 lt_cv_prog_compiler__b
=yes
10202 LDFLAGS
="$save_LDFLAGS"
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10206 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10208 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10209 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10211 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10217 if test "$with_gnu_ld" = no
; then
10218 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10219 hardcode_libdir_separator
=:
10224 hardcode_shlibpath_var
=no
10227 hardcode_direct
=yes
10228 hardcode_direct_absolute
=yes
10229 export_dynamic_flag_spec
='${wl}-E'
10231 # hardcode_minus_L: Not really in the search PATH,
10232 # but as the default location of the library.
10233 hardcode_minus_L
=yes
10239 irix5
* | irix6
* | nonstopux
*)
10240 if test "$GCC" = yes; then
10241 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'
10242 # Try to use the -exported_symbol ld option, if it does not
10243 # work, assume that -exports_file does not work either and
10244 # implicitly export all symbols.
10245 save_LDFLAGS
="$LDFLAGS"
10246 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10248 /* end confdefs.h. */
10251 if ac_fn_c_try_link
"$LINENO"; then :
10252 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'
10255 rm -f core conftest.err conftest.
$ac_objext \
10256 conftest
$ac_exeext conftest.
$ac_ext
10257 LDFLAGS
="$save_LDFLAGS"
10259 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'
10260 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'
10262 archive_cmds_need_lc
='no'
10263 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10264 hardcode_libdir_separator
=:
10266 link_all_deplibs
=yes
10270 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10271 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10273 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10275 hardcode_libdir_flag_spec
='-R$libdir'
10276 hardcode_direct
=yes
10277 hardcode_shlibpath_var
=no
10281 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10282 hardcode_direct
=yes
10283 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10284 hardcode_libdir_separator
=:
10285 hardcode_shlibpath_var
=no
10292 if test -f /usr
/libexec
/ld.so
; then
10293 hardcode_direct
=yes
10294 hardcode_shlibpath_var
=no
10295 hardcode_direct_absolute
=yes
10296 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10297 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10298 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10299 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10300 export_dynamic_flag_spec
='${wl}-E'
10303 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10304 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10305 hardcode_libdir_flag_spec
='-R$libdir'
10308 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10309 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10319 hardcode_libdir_flag_spec
='-L$libdir'
10320 hardcode_minus_L
=yes
10321 allow_undefined_flag
=unsupported
10322 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'
10323 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10327 if test "$GCC" = yes; then
10328 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10329 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'
10331 allow_undefined_flag
=' -expect_unresolved \*'
10332 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'
10334 archive_cmds_need_lc
='no'
10335 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10336 hardcode_libdir_separator
=:
10339 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10340 if test "$GCC" = yes; then
10341 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10342 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'
10343 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10345 allow_undefined_flag
=' -expect_unresolved \*'
10346 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'
10347 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~
10348 $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'
10350 # Both c and cxx compiler support -rpath directly
10351 hardcode_libdir_flag_spec
='-rpath $libdir'
10353 archive_cmds_need_lc
='no'
10354 hardcode_libdir_separator
=:
10358 no_undefined_flag
=' -z defs'
10359 if test "$GCC" = yes; then
10361 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10362 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10363 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10365 case `$CC -V 2>&1` in
10368 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10369 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10370 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10374 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10375 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10376 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10380 hardcode_libdir_flag_spec
='-R$libdir'
10381 hardcode_shlibpath_var
=no
10383 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10385 # The compiler driver will combine and reorder linker options,
10386 # but understands `-z linker_flag'. GCC discards it without `$wl',
10387 # but is careful enough not to reorder.
10388 # Supported since Solaris 2.6 (maybe 2.5.1?)
10389 if test "$GCC" = yes; then
10390 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10392 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10396 link_all_deplibs
=yes
10400 if test "x$host_vendor" = xsequent
; then
10401 # Use $CC to link under sequent, because it throws in some extra .o
10402 # files that make .init and .fini sections work.
10403 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10405 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10407 hardcode_libdir_flag_spec
='-L$libdir'
10408 hardcode_direct
=yes
10409 hardcode_minus_L
=yes
10410 hardcode_shlibpath_var
=no
10414 case $host_vendor in
10416 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10417 hardcode_direct
=yes # is this really true???
10420 ## LD is ld it makes a PLAMLIB
10421 ## CC just makes a GrossModule.
10422 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10423 reload_cmds
='$CC -r -o $output$reload_objs'
10427 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10428 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10431 runpath_var
='LD_RUN_PATH'
10432 hardcode_shlibpath_var
=no
10436 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10437 hardcode_shlibpath_var
=no
10438 export_dynamic_flag_spec
='-Bexport'
10442 if test -d /usr
/nec
; then
10443 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10444 hardcode_shlibpath_var
=no
10445 runpath_var
=LD_RUN_PATH
10446 hardcode_runpath_var
=yes
10451 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10452 no_undefined_flag
='${wl}-z,text'
10453 archive_cmds_need_lc
=no
10454 hardcode_shlibpath_var
=no
10455 runpath_var
='LD_RUN_PATH'
10457 if test "$GCC" = yes; then
10458 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10459 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10461 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10462 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10466 sysv5
* | sco3.2v5
* | sco5v6
*)
10467 # Note: We can NOT use -z defs as we might desire, because we do not
10468 # link with -lc, and that would cause any symbols used from libc to
10469 # always be unresolved, which means just about no library would
10470 # ever link correctly. If we're not using GNU ld we use -z text
10471 # though, which does catch some bad symbols but isn't as heavy-handed
10473 no_undefined_flag
='${wl}-z,text'
10474 allow_undefined_flag
='${wl}-z,nodefs'
10475 archive_cmds_need_lc
=no
10476 hardcode_shlibpath_var
=no
10477 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10478 hardcode_libdir_separator
=':'
10479 link_all_deplibs
=yes
10480 export_dynamic_flag_spec
='${wl}-Bexport'
10481 runpath_var
='LD_RUN_PATH'
10483 if test "$GCC" = yes; then
10484 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10485 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10487 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10488 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10493 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10494 hardcode_libdir_flag_spec
='-L$libdir'
10495 hardcode_shlibpath_var
=no
10503 if test x
$host_vendor = xsni
; then
10505 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10506 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10513 $as_echo "$ld_shlibs" >&6; }
10514 test "$ld_shlibs" = no
&& can_build_shared
=no
10516 with_gnu_ld
=$with_gnu_ld
10533 # Do we need to explicitly link libc?
10535 case "x$archive_cmds_need_lc" in
10537 # Assume -lc should be added
10538 archive_cmds_need_lc
=yes
10540 if test "$enable_shared" = yes && test "$GCC" = yes; then
10541 case $archive_cmds in
10543 # FIXME: we may have to deal with multi-command sequences.
10546 # Test whether the compiler implicitly links with -lc since on some
10547 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10548 # to ld, don't add -lc before -lgcc.
10549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10550 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10551 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10552 $as_echo_n "(cached) " >&6
10555 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10557 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10558 (eval $ac_compile) 2>&5
10560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10561 test $ac_status = 0; } 2>conftest.err
; then
10564 libobjs
=conftest.
$ac_objext
10566 wl
=$lt_prog_compiler_wl
10567 pic_flag
=$lt_prog_compiler_pic
10573 lt_save_allow_undefined_flag
=$allow_undefined_flag
10574 allow_undefined_flag
=
10575 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10576 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10579 test $ac_status = 0; }
10581 lt_cv_archive_cmds_need_lc
=no
10583 lt_cv_archive_cmds_need_lc
=yes
10585 allow_undefined_flag
=$lt_save_allow_undefined_flag
10587 cat conftest.err
1>&5
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10593 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10594 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10758 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10760 if test "$GCC" = yes; then
10762 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10763 *) lt_awk_arg
="/^libraries:/" ;;
10766 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10767 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10769 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10770 case $lt_search_path_spec in
10772 # if the path contains ";" then we assume it to be the separator
10773 # otherwise default to the standard path separator (i.e. ":") - it is
10774 # assumed that no part of a normal pathname contains ";" but that should
10775 # okay in the real world where ";" in dirpaths is itself problematic.
10776 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10779 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10782 # Ok, now we have the path, separated by spaces, we can step through it
10783 # and add multilib dir if necessary.
10784 lt_tmp_lt_search_path_spec
=
10785 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10786 for lt_sys_path
in $lt_search_path_spec; do
10787 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10788 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10790 test -d "$lt_sys_path" && \
10791 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10794 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10795 BEGIN {RS=" "; FS="/|\n";} {
10798 for (lt_i = NF; lt_i > 0; lt_i--) {
10799 if ($lt_i != "" && $lt_i != ".") {
10800 if ($lt_i == "..") {
10803 if (lt_count == 0) {
10804 lt_foo="/" $lt_i lt_foo;
10811 if (lt_foo != "") { lt_freq[lt_foo]++; }
10812 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10814 # AWK program above erroneously prepends '/' to C:/dos/paths
10817 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10818 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10820 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10822 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10824 library_names_spec
=
10825 libname_spec
='lib$name'
10829 postuninstall_cmds
=
10833 shlibpath_overrides_runpath
=unknown
10835 dynamic_linker
="$host_os ld.so"
10836 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10837 need_lib_prefix
=unknown
10838 hardcode_into_libs
=no
10840 # when you set need_version to no, make sure it does not cause -set_version
10841 # flags to be left without arguments
10842 need_version
=unknown
10847 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10848 shlibpath_var
=LIBPATH
10850 # AIX 3 has no versioning support, so we append a major version to the name.
10851 soname_spec
='${libname}${release}${shared_ext}$major'
10858 hardcode_into_libs
=yes
10859 if test "$host_cpu" = ia64
; then
10860 # AIX 5 supports IA64
10861 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10862 shlibpath_var
=LD_LIBRARY_PATH
10864 # With GCC up to 2.95.x, collect2 would create an import file
10865 # for dependence libraries. The import file would start with
10866 # the line `#! .'. This would cause the generated library to
10867 # depend on `.', always an invalid library. This was fixed in
10868 # development snapshots of GCC prior to 3.0.
10870 aix4 | aix4.
[01] | aix4.
[01].
*)
10871 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10873 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10876 can_build_shared
=no
10880 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10881 # soname into executable. Probably we can add versioning support to
10882 # collect2, so additional links can be useful in future.
10883 if test "$aix_use_runtimelinking" = yes; then
10884 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10885 # instead of lib<name>.a to let people know that these are not
10886 # typical AIX shared libraries.
10887 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10889 # We preserve .a as extension for shared libraries through AIX4.2
10890 # and later when we are not doing run time linking.
10891 library_names_spec
='${libname}${release}.a $libname.a'
10892 soname_spec
='${libname}${release}${shared_ext}$major'
10894 shlibpath_var
=LIBPATH
10901 # Since July 2007 AmigaOS4 officially supports .so libraries.
10902 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10903 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10906 library_names_spec
='$libname.ixlibrary $libname.a'
10907 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10908 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'
10914 library_names_spec
='${libname}${shared_ext}'
10915 dynamic_linker
="$host_os ld.so"
10916 shlibpath_var
=LIBRARY_PATH
10922 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10923 soname_spec
='${libname}${release}${shared_ext}$major'
10924 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10925 shlibpath_var
=LD_LIBRARY_PATH
10926 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10927 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10928 # the default ld.so.conf also contains /usr/contrib/lib and
10929 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10930 # libtool to hard-code these into programs
10933 cygwin
* | mingw
* | pw32
* | cegcc
*)
10934 version_type
=windows
10939 case $GCC,$host_os in
10940 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10941 library_names_spec
='$libname.dll.a'
10942 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10943 postinstall_cmds
='base_file=`basename \${file}`~
10944 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10945 dldir=$destdir/`dirname \$dlpath`~
10946 test -d \$dldir || mkdir -p \$dldir~
10947 $install_prog $dir/$dlname \$dldir/$dlname~
10948 chmod a+x \$dldir/$dlname~
10949 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10950 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10952 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10953 dlpath=$dir/\$dldll~
10955 shlibpath_overrides_runpath
=yes
10959 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10960 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10962 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10965 # MinGW DLLs use traditional 'lib' prefix
10966 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10969 # pw32 DLLs use 'pw' prefix rather than 'lib'
10970 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10976 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10979 dynamic_linker
='Win32 ld.exe'
10980 # FIXME: first we should search . and the directory the executable is in
10984 darwin
* | rhapsody
*)
10985 dynamic_linker
="$host_os dyld"
10986 version_type
=darwin
10989 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10990 soname_spec
='${libname}${release}${major}$shared_ext'
10991 shlibpath_overrides_runpath
=yes
10992 shlibpath_var
=DYLD_LIBRARY_PATH
10993 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10995 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10996 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11003 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11004 soname_spec
='${libname}${release}${shared_ext}$major'
11005 shlibpath_var
=LD_LIBRARY_PATH
11008 freebsd
* | dragonfly
*)
11009 # DragonFly does not have aout. When/if they implement a new
11010 # versioning mechanism, adjust this.
11011 if test -x /usr
/bin
/objformat
; then
11012 objformat
=`/usr/bin/objformat`
11015 freebsd
[23].
*) objformat
=aout
;;
11016 *) objformat
=elf
;;
11019 version_type
=freebsd-
$objformat
11020 case $version_type in
11022 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11027 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11031 shlibpath_var
=LD_LIBRARY_PATH
11034 shlibpath_overrides_runpath
=yes
11036 freebsd3.
[01]* | freebsdelf3.
[01]*)
11037 shlibpath_overrides_runpath
=yes
11038 hardcode_into_libs
=yes
11040 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11041 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11042 shlibpath_overrides_runpath
=no
11043 hardcode_into_libs
=yes
11045 *) # from 4.6 on, and DragonFly
11046 shlibpath_overrides_runpath
=yes
11047 hardcode_into_libs
=yes
11056 dynamic_linker
="$host_os runtime_loader"
11057 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11058 soname_spec
='${libname}${release}${shared_ext}$major'
11059 shlibpath_var
=LIBRARY_PATH
11060 shlibpath_overrides_runpath
=yes
11061 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11062 hardcode_into_libs
=yes
11065 hpux9
* | hpux10
* | hpux11
*)
11066 # Give a soname corresponding to the major version so that dld.sl refuses to
11067 # link against other versions.
11074 hardcode_into_libs
=yes
11075 dynamic_linker
="$host_os dld.so"
11076 shlibpath_var
=LD_LIBRARY_PATH
11077 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11079 soname_spec
='${libname}${release}${shared_ext}$major'
11080 if test "X$HPUX_IA64_MODE" = X32
; then
11081 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11083 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11085 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11089 hardcode_into_libs
=yes
11090 dynamic_linker
="$host_os dld.sl"
11091 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11092 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11094 soname_spec
='${libname}${release}${shared_ext}$major'
11095 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11096 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11100 dynamic_linker
="$host_os dld.sl"
11101 shlibpath_var
=SHLIB_PATH
11102 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11103 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11104 soname_spec
='${libname}${release}${shared_ext}$major'
11107 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11108 postinstall_cmds
='chmod 555 $lib'
11109 # or fails outright, so override atomically:
11110 install_override_mode
=555
11117 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11118 soname_spec
='${libname}${release}${shared_ext}$major'
11119 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11120 shlibpath_var
=LD_LIBRARY_PATH
11121 shlibpath_overrides_runpath
=no
11122 hardcode_into_libs
=yes
11125 irix5
* | irix6
* | nonstopux
*)
11127 nonstopux
*) version_type
=nonstopux
;;
11129 if test "$lt_cv_prog_gnu_ld" = yes; then
11137 soname_spec
='${libname}${release}${shared_ext}$major'
11138 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11140 irix5
* | nonstopux
*)
11141 libsuff
= shlibsuff
=
11144 case $LD in # libtool.m4 will add one of these switches to LD
11145 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11146 libsuff
= shlibsuff
= libmagic
=32-bit;;
11147 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11148 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11149 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11150 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11151 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11155 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11156 shlibpath_overrides_runpath
=no
11157 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11158 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11159 hardcode_into_libs
=yes
11162 # No shared lib support for Linux oldld, aout, or coff.
11163 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11167 # This must be Linux ELF.
11168 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11172 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11173 soname_spec
='${libname}${release}${shared_ext}$major'
11174 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11175 shlibpath_var
=LD_LIBRARY_PATH
11176 shlibpath_overrides_runpath
=no
11178 # Some binutils ld are patched to set DT_RUNPATH
11179 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11180 $as_echo_n "(cached) " >&6
11182 lt_cv_shlibpath_overrides_runpath
=no
11183 save_LDFLAGS
=$LDFLAGS
11184 save_libdir
=$libdir
11185 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11186 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11188 /* end confdefs.h. */
11198 if ac_fn_c_try_link
"$LINENO"; then :
11199 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11200 lt_cv_shlibpath_overrides_runpath
=yes
11203 rm -f core conftest.err conftest.
$ac_objext \
11204 conftest
$ac_exeext conftest.
$ac_ext
11205 LDFLAGS
=$save_LDFLAGS
11206 libdir
=$save_libdir
11210 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11212 # This implies no fast_install, which is unacceptable.
11213 # Some rework will be needed to allow for fast_install
11214 # before this can be enabled.
11215 hardcode_into_libs
=yes
11217 # Append ld.so.conf contents to the search path
11218 if test -f /etc
/ld.so.conf
; then
11219 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' ' '`
11220 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11223 # We used to test for /lib/ld.so.1 and disable shared libraries on
11224 # powerpc, because MkLinux only supported shared libraries with the
11225 # GNU dynamic linker. Since this was broken with cross compilers,
11226 # most powerpc-linux boxes support dynamic linking these days and
11227 # people can always --disable-shared, the test was removed, and we
11228 # assume the GNU/Linux dynamic linker is in use.
11229 dynamic_linker
='GNU/Linux ld.so'
11236 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11237 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11238 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11239 dynamic_linker
='NetBSD (a.out) ld.so'
11241 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11242 soname_spec
='${libname}${release}${shared_ext}$major'
11243 dynamic_linker
='NetBSD ld.elf_so'
11245 shlibpath_var
=LD_LIBRARY_PATH
11246 shlibpath_overrides_runpath
=yes
11247 hardcode_into_libs
=yes
11252 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11253 shlibpath_var
=LD_LIBRARY_PATH
11254 shlibpath_overrides_runpath
=yes
11261 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11262 soname_spec
='${libname}${release}${shared_ext}$major'
11263 shlibpath_var
=LD_LIBRARY_PATH
11264 shlibpath_overrides_runpath
=no
11265 hardcode_into_libs
=yes
11266 dynamic_linker
='ldqnx.so'
11271 sys_lib_dlsearch_path_spec
="/usr/lib"
11273 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11275 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11276 *) need_version
=no
;;
11278 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11279 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11280 shlibpath_var
=LD_LIBRARY_PATH
11281 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11283 openbsd2.
[89] | openbsd2.
[89].
*)
11284 shlibpath_overrides_runpath
=no
11287 shlibpath_overrides_runpath
=yes
11291 shlibpath_overrides_runpath
=yes
11296 libname_spec
='$name'
11299 library_names_spec
='$libname${shared_ext} $libname.a'
11300 dynamic_linker
='OS/2 ld.exe'
11301 shlibpath_var
=LIBPATH
11304 osf3
* | osf4
* | osf5
*)
11308 soname_spec
='${libname}${release}${shared_ext}$major'
11309 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11310 shlibpath_var
=LD_LIBRARY_PATH
11311 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11312 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11323 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11324 soname_spec
='${libname}${release}${shared_ext}$major'
11325 shlibpath_var
=LD_LIBRARY_PATH
11326 shlibpath_overrides_runpath
=yes
11327 hardcode_into_libs
=yes
11328 # ldd complains unless libraries are executable
11329 postinstall_cmds
='chmod +x $lib'
11334 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11335 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11336 shlibpath_var
=LD_LIBRARY_PATH
11337 shlibpath_overrides_runpath
=yes
11338 if test "$with_gnu_ld" = yes; then
11346 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11347 soname_spec
='${libname}${release}${shared_ext}$major'
11348 shlibpath_var
=LD_LIBRARY_PATH
11349 case $host_vendor in
11351 shlibpath_overrides_runpath
=no
11353 runpath_var
=LD_RUN_PATH
11361 shlibpath_overrides_runpath
=no
11362 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11368 if test -d /usr
/nec
;then
11370 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11371 soname_spec
='$libname${shared_ext}.$major'
11372 shlibpath_var
=LD_LIBRARY_PATH
11376 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11377 version_type
=freebsd-elf
11380 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11381 soname_spec
='${libname}${release}${shared_ext}$major'
11382 shlibpath_var
=LD_LIBRARY_PATH
11383 shlibpath_overrides_runpath
=yes
11384 hardcode_into_libs
=yes
11385 if test "$with_gnu_ld" = yes; then
11386 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11388 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11391 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11395 sys_lib_dlsearch_path_spec
='/usr/lib'
11399 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11403 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11404 shlibpath_var
=LD_LIBRARY_PATH
11405 shlibpath_overrides_runpath
=no
11406 hardcode_into_libs
=yes
11411 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11412 soname_spec
='${libname}${release}${shared_ext}$major'
11413 shlibpath_var
=LD_LIBRARY_PATH
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11421 $as_echo "$dynamic_linker" >&6; }
11422 test "$dynamic_linker" = no
&& can_build_shared
=no
11424 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11425 if test "$GCC" = yes; then
11426 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11429 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11430 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11432 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11433 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11528 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11530 if test -n "$hardcode_libdir_flag_spec" ||
11531 test -n "$runpath_var" ||
11532 test "X$hardcode_automatic" = "Xyes" ; then
11534 # We can hardcode non-existent directories.
11535 if test "$hardcode_direct" != no
&&
11536 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11537 # have to relink, otherwise we might link with an installed library
11538 # when we should be linking with a yet-to-be-installed one
11539 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11540 test "$hardcode_minus_L" != no
; then
11541 # Linking always hardcodes the temporary library directory.
11542 hardcode_action
=relink
11544 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11545 hardcode_action
=immediate
11548 # We cannot hardcode anything, or else we can only hardcode existing
11550 hardcode_action
=unsupported
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11553 $as_echo "$hardcode_action" >&6; }
11555 if test "$hardcode_action" = relink ||
11556 test "$inherit_rpath" = yes; then
11557 # Fast installation is not supported
11558 enable_fast_install
=no
11559 elif test "$shlibpath_overrides_runpath" = yes ||
11560 test "$enable_shared" = no
; then
11561 # Fast installation is not necessary
11562 enable_fast_install
=needless
11570 if test "x$enable_dlopen" != xyes
; then
11571 enable_dlopen
=unknown
11572 enable_dlopen_self
=unknown
11573 enable_dlopen_self_static
=unknown
11580 lt_cv_dlopen
="load_add_on"
11582 lt_cv_dlopen_self
=yes
11585 mingw
* | pw32
* | cegcc
*)
11586 lt_cv_dlopen
="LoadLibrary"
11591 lt_cv_dlopen
="dlopen"
11596 # if libdl is installed we need to link against it
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11598 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11599 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11600 $as_echo_n "(cached) " >&6
11602 ac_check_lib_save_LIBS
=$LIBS
11604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11605 /* end confdefs.h. */
11607 /* Override any GCC internal prototype to avoid an error.
11608 Use char because int might match the return type of a GCC
11609 builtin and then its argument prototype would still apply. */
11622 if ac_fn_c_try_link
"$LINENO"; then :
11623 ac_cv_lib_dl_dlopen
=yes
11625 ac_cv_lib_dl_dlopen
=no
11627 rm -f core conftest.err conftest.
$ac_objext \
11628 conftest
$ac_exeext conftest.
$ac_ext
11629 LIBS
=$ac_check_lib_save_LIBS
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11632 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11633 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11634 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11637 lt_cv_dlopen
="dyld"
11639 lt_cv_dlopen_self
=yes
11646 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11647 if test "x$ac_cv_func_shl_load" = xyes
; then :
11648 lt_cv_dlopen
="shl_load"
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11651 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11652 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11653 $as_echo_n "(cached) " >&6
11655 ac_check_lib_save_LIBS
=$LIBS
11657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11658 /* end confdefs.h. */
11660 /* Override any GCC internal prototype to avoid an error.
11661 Use char because int might match the return type of a GCC
11662 builtin and then its argument prototype would still apply. */
11670 return shl_load ();
11675 if ac_fn_c_try_link
"$LINENO"; then :
11676 ac_cv_lib_dld_shl_load
=yes
11678 ac_cv_lib_dld_shl_load
=no
11680 rm -f core conftest.err conftest.
$ac_objext \
11681 conftest
$ac_exeext conftest.
$ac_ext
11682 LIBS
=$ac_check_lib_save_LIBS
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11685 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11686 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11687 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11689 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11690 if test "x$ac_cv_func_dlopen" = xyes
; then :
11691 lt_cv_dlopen
="dlopen"
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11694 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11695 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11696 $as_echo_n "(cached) " >&6
11698 ac_check_lib_save_LIBS
=$LIBS
11700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11701 /* end confdefs.h. */
11703 /* Override any GCC internal prototype to avoid an error.
11704 Use char because int might match the return type of a GCC
11705 builtin and then its argument prototype would still apply. */
11718 if ac_fn_c_try_link
"$LINENO"; then :
11719 ac_cv_lib_dl_dlopen
=yes
11721 ac_cv_lib_dl_dlopen
=no
11723 rm -f core conftest.err conftest.
$ac_objext \
11724 conftest
$ac_exeext conftest.
$ac_ext
11725 LIBS
=$ac_check_lib_save_LIBS
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11728 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11729 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11730 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11733 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11734 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11735 $as_echo_n "(cached) " >&6
11737 ac_check_lib_save_LIBS
=$LIBS
11738 LIBS
="-lsvld $LIBS"
11739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11740 /* end confdefs.h. */
11742 /* Override any GCC internal prototype to avoid an error.
11743 Use char because int might match the return type of a GCC
11744 builtin and then its argument prototype would still apply. */
11757 if ac_fn_c_try_link
"$LINENO"; then :
11758 ac_cv_lib_svld_dlopen
=yes
11760 ac_cv_lib_svld_dlopen
=no
11762 rm -f core conftest.err conftest.
$ac_objext \
11763 conftest
$ac_exeext conftest.
$ac_ext
11764 LIBS
=$ac_check_lib_save_LIBS
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11767 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11768 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11769 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11772 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11773 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11774 $as_echo_n "(cached) " >&6
11776 ac_check_lib_save_LIBS
=$LIBS
11778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11779 /* end confdefs.h. */
11781 /* Override any GCC internal prototype to avoid an error.
11782 Use char because int might match the return type of a GCC
11783 builtin and then its argument prototype would still apply. */
11791 return dld_link ();
11796 if ac_fn_c_try_link
"$LINENO"; then :
11797 ac_cv_lib_dld_dld_link
=yes
11799 ac_cv_lib_dld_dld_link
=no
11801 rm -f core conftest.err conftest.
$ac_objext \
11802 conftest
$ac_exeext conftest.
$ac_ext
11803 LIBS
=$ac_check_lib_save_LIBS
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11806 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11807 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11808 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11829 if test "x$lt_cv_dlopen" != xno
; then
11835 case $lt_cv_dlopen in
11837 save_CPPFLAGS
="$CPPFLAGS"
11838 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11840 save_LDFLAGS
="$LDFLAGS"
11841 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11844 LIBS
="$lt_cv_dlopen_libs $LIBS"
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11847 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11848 if ${lt_cv_dlopen_self+:} false
; then :
11849 $as_echo_n "(cached) " >&6
11851 if test "$cross_compiling" = yes; then :
11852 lt_cv_dlopen_self
=cross
11854 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11855 lt_status
=$lt_dlunknown
11856 cat > conftest.
$ac_ext <<_LT_EOF
11857 #line 11857 "configure"
11858 #include "confdefs.h"
11867 # define LT_DLGLOBAL RTLD_GLOBAL
11870 # define LT_DLGLOBAL DL_GLOBAL
11872 # define LT_DLGLOBAL 0
11876 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11877 find out it does not work in some platform. */
11878 #ifndef LT_DLLAZY_OR_NOW
11880 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11883 # define LT_DLLAZY_OR_NOW DL_LAZY
11886 # define LT_DLLAZY_OR_NOW RTLD_NOW
11889 # define LT_DLLAZY_OR_NOW DL_NOW
11891 # define LT_DLLAZY_OR_NOW 0
11898 /* When -fvisbility=hidden is used, assume the code has been annotated
11899 correspondingly for the symbols needed. */
11900 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11901 void fnord () __attribute__((visibility("default")));
11904 void fnord () { int i=42; }
11907 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11908 int status = $lt_dlunknown;
11912 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11915 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11916 else puts (dlerror ());
11918 /* dlclose (self); */
11926 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11927 (eval $ac_link) 2>&5
11929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11930 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11931 (.
/conftest
; exit; ) >&5 2>/dev
/null
11933 case x
$lt_status in
11934 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11935 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11936 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11939 # compilation failed
11940 lt_cv_dlopen_self
=no
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11948 $as_echo "$lt_cv_dlopen_self" >&6; }
11950 if test "x$lt_cv_dlopen_self" = xyes
; then
11951 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11953 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11954 if ${lt_cv_dlopen_self_static+:} false
; then :
11955 $as_echo_n "(cached) " >&6
11957 if test "$cross_compiling" = yes; then :
11958 lt_cv_dlopen_self_static
=cross
11960 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11961 lt_status
=$lt_dlunknown
11962 cat > conftest.
$ac_ext <<_LT_EOF
11963 #line 11963 "configure"
11964 #include "confdefs.h"
11973 # define LT_DLGLOBAL RTLD_GLOBAL
11976 # define LT_DLGLOBAL DL_GLOBAL
11978 # define LT_DLGLOBAL 0
11982 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11983 find out it does not work in some platform. */
11984 #ifndef LT_DLLAZY_OR_NOW
11986 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11989 # define LT_DLLAZY_OR_NOW DL_LAZY
11992 # define LT_DLLAZY_OR_NOW RTLD_NOW
11995 # define LT_DLLAZY_OR_NOW DL_NOW
11997 # define LT_DLLAZY_OR_NOW 0
12004 /* When -fvisbility=hidden is used, assume the code has been annotated
12005 correspondingly for the symbols needed. */
12006 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12007 void fnord () __attribute__((visibility("default")));
12010 void fnord () { int i=42; }
12013 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12014 int status = $lt_dlunknown;
12018 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12021 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12022 else puts (dlerror ());
12024 /* dlclose (self); */
12032 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12033 (eval $ac_link) 2>&5
12035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12036 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12037 (.
/conftest
; exit; ) >&5 2>/dev
/null
12039 case x
$lt_status in
12040 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12041 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12042 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12045 # compilation failed
12046 lt_cv_dlopen_self_static
=no
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12054 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12057 CPPFLAGS
="$save_CPPFLAGS"
12058 LDFLAGS
="$save_LDFLAGS"
12063 case $lt_cv_dlopen_self in
12064 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12065 *) enable_dlopen_self
=unknown
;;
12068 case $lt_cv_dlopen_self_static in
12069 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12070 *) enable_dlopen_self_static
=unknown
;;
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12093 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12094 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12095 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12096 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12098 $as_echo "yes" >&6; }
12100 # FIXME - insert some real tests, host_os isn't really good enough
12103 if test -n "$STRIP" ; then
12104 striplib
="$STRIP -x"
12105 old_striplib
="$STRIP -S"
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12107 $as_echo "yes" >&6; }
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12110 $as_echo "no" >&6; }
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12115 $as_echo "no" >&6; }
12131 # Report which library types will actually be built
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12133 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12135 $as_echo "$can_build_shared" >&6; }
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12138 $as_echo_n "checking whether to build shared libraries... " >&6; }
12139 test "$can_build_shared" = "no" && enable_shared
=no
12141 # On AIX, shared libraries and static libraries use the same namespace, and
12142 # are all built from PIC.
12145 test "$enable_shared" = yes && enable_static
=no
12146 if test -n "$RANLIB"; then
12147 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12148 postinstall_cmds
='$RANLIB $lib'
12153 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12154 test "$enable_shared" = yes && enable_static
=no
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12159 $as_echo "$enable_shared" >&6; }
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12162 $as_echo_n "checking whether to build static libraries... " >&6; }
12163 # Make sure either enable_shared or enable_static is yes.
12164 test "$enable_shared" = yes || enable_static
=yes
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12166 $as_echo "$enable_static" >&6; }
12173 ac_cpp
='$CPP $CPPFLAGS'
12174 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12175 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12176 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12192 ac_config_commands
="$ac_config_commands libtool"
12197 # Only expand once:
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5
12203 $as_echo_n "checking for bind in -lsocket... " >&6; }
12204 if ${ac_cv_lib_socket_bind+:} false
; then :
12205 $as_echo_n "(cached) " >&6
12207 ac_check_lib_save_LIBS
=$LIBS
12208 LIBS
="-lsocket $LIBS"
12209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12210 /* end confdefs.h. */
12212 /* Override any GCC internal prototype to avoid an error.
12213 Use char because int might match the return type of a GCC
12214 builtin and then its argument prototype would still apply. */
12227 if ac_fn_c_try_link
"$LINENO"; then :
12228 ac_cv_lib_socket_bind
=yes
12230 ac_cv_lib_socket_bind
=no
12232 rm -f core conftest.err conftest.
$ac_objext \
12233 conftest
$ac_exeext conftest.
$ac_ext
12234 LIBS
=$ac_check_lib_save_LIBS
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5
12237 $as_echo "$ac_cv_lib_socket_bind" >&6; }
12238 if test "x$ac_cv_lib_socket_bind" = xyes
; then :
12239 cat >>confdefs.h
<<_ACEOF
12240 #define HAVE_LIBSOCKET 1
12243 LIBS
="-lsocket $LIBS"
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
12248 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
12249 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
12250 $as_echo_n "(cached) " >&6
12252 ac_check_lib_save_LIBS
=$LIBS
12254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12255 /* end confdefs.h. */
12257 /* Override any GCC internal prototype to avoid an error.
12258 Use char because int might match the return type of a GCC
12259 builtin and then its argument prototype would still apply. */
12263 char gethostbyname ();
12267 return gethostbyname ();
12272 if ac_fn_c_try_link
"$LINENO"; then :
12273 ac_cv_lib_nsl_gethostbyname
=yes
12275 ac_cv_lib_nsl_gethostbyname
=no
12277 rm -f core conftest.err conftest.
$ac_objext \
12278 conftest
$ac_exeext conftest.
$ac_ext
12279 LIBS
=$ac_check_lib_save_LIBS
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
12282 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
12283 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
12284 cat >>confdefs.h
<<_ACEOF
12285 #define HAVE_LIBNSL 1
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs in -lm" >&5
12293 $as_echo_n "checking for fabs in -lm... " >&6; }
12294 if ${ac_cv_lib_m_fabs+:} false
; then :
12295 $as_echo_n "(cached) " >&6
12297 ac_check_lib_save_LIBS
=$LIBS
12299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12300 /* end confdefs.h. */
12302 /* Override any GCC internal prototype to avoid an error.
12303 Use char because int might match the return type of a GCC
12304 builtin and then its argument prototype would still apply. */
12317 if ac_fn_c_try_link
"$LINENO"; then :
12318 ac_cv_lib_m_fabs
=yes
12320 ac_cv_lib_m_fabs
=no
12322 rm -f core conftest.err conftest.
$ac_objext \
12323 conftest
$ac_exeext conftest.
$ac_ext
12324 LIBS
=$ac_check_lib_save_LIBS
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabs" >&5
12327 $as_echo "$ac_cv_lib_m_fabs" >&6; }
12328 if test "x$ac_cv_lib_m_fabs" = xyes
; then :
12329 cat >>confdefs.h
<<_ACEOF
12330 #define HAVE_LIBM 1
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log2 in -lm" >&5
12338 $as_echo_n "checking for log2 in -lm... " >&6; }
12339 if ${ac_cv_lib_m_log2+:} false
; then :
12340 $as_echo_n "(cached) " >&6
12342 ac_check_lib_save_LIBS
=$LIBS
12344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12345 /* end confdefs.h. */
12347 /* Override any GCC internal prototype to avoid an error.
12348 Use char because int might match the return type of a GCC
12349 builtin and then its argument prototype would still apply. */
12362 if ac_fn_c_try_link
"$LINENO"; then :
12363 ac_cv_lib_m_log2
=yes
12365 ac_cv_lib_m_log2
=no
12367 rm -f core conftest.err conftest.
$ac_objext \
12368 conftest
$ac_exeext conftest.
$ac_ext
12369 LIBS
=$ac_check_lib_save_LIBS
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log2" >&5
12372 $as_echo "$ac_cv_lib_m_log2" >&6; }
12373 if test "x$ac_cv_lib_m_log2" = xyes
; then :
12374 cat >>confdefs.h
<<_ACEOF
12375 #define HAVE_LIBM 1
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
12386 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
12387 # Check whether --enable-maintainer-mode was given.
12388 if test "${enable_maintainer_mode+set}" = set; then :
12389 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
12391 USE_MAINTAINER_MODE
=no
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
12395 $as_echo "$USE_MAINTAINER_MODE" >&6; }
12396 if test $USE_MAINTAINER_MODE = yes; then
12397 MAINTAINER_MODE_TRUE
=
12398 MAINTAINER_MODE_FALSE
='#'
12400 MAINTAINER_MODE_TRUE
='#'
12401 MAINTAINER_MODE_FALSE
=
12404 MAINT
=$MAINTAINER_MODE_TRUE
12407 am__api_version
='1.15'
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
12410 $as_echo_n "checking whether build environment is sane... " >&6; }
12411 # Reject unsafe characters in $srcdir or the absolute working directory
12412 # name. Accept space and tab only in the latter.
12416 *[\\\"\
#\$\&\'\`$am_lf]*)
12417 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
12420 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
12421 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
12424 # Do 'set' in a subshell so we don't clobber the current shell's
12425 # arguments. Must try -L first in case configure is actually a
12426 # symlink; some systems play weird games with the mod time of symlinks
12427 # (eg FreeBSD returns the mod time of the symlink's containing
12431 for am_try
in 1 2; do
12432 echo "timestamp, slept: $am_has_slept" > conftest.
file
12433 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
12434 if test "$*" = "X"; then
12436 set X
`ls -t "$srcdir/configure" conftest.file`
12438 if test "$*" != "X $srcdir/configure conftest.file" \
12439 && test "$*" != "X conftest.file $srcdir/configure"; then
12441 # If neither matched, then we have a broken ls. This can happen
12442 # if, for instance, CONFIG_SHELL is bash and it inherits a
12443 # broken ls alias from the environment. This has actually
12444 # happened. Such a system could not be considered "sane".
12445 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
12446 alias in your environment" "$LINENO" 5
12448 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
12455 test "$2" = conftest.
file
12461 as_fn_error $?
"newly created file is older than distributed files!
12462 Check your system clock" "$LINENO" 5
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12465 $as_echo "yes" >&6; }
12466 # If we didn't sleep, we still need to ensure time stamps of config.status and
12467 # generated files are strictly newer.
12469 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
12474 rm -f conftest.
file
12476 if test x
"${MISSING+set}" != xset
; then
12477 case $am_aux_dir in
12479 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
12481 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
12484 # Use eval to expand $SHELL
12485 if eval "$MISSING --is-lightweight"; then
12486 am_missing_run
="$MISSING "
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
12490 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
12493 if test x
"${install_sh+set}" != xset
; then
12494 case $am_aux_dir in
12496 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
12498 install_sh
="\${SHELL} $am_aux_dir/install-sh"
12502 # Installed binaries are usually stripped using 'strip' when the user
12503 # run "make install-strip". However 'strip' might not be the right
12504 # tool to use in cross-compilation environments, therefore Automake
12505 # will honor the 'STRIP' environment variable to overrule this program.
12506 if test "$cross_compiling" != no
; then
12507 if test -n "$ac_tool_prefix"; then
12508 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
12509 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12511 $as_echo_n "checking for $ac_word... " >&6; }
12512 if ${ac_cv_prog_STRIP+:} false
; then :
12513 $as_echo_n "(cached) " >&6
12515 if test -n "$STRIP"; then
12516 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12519 for as_dir
in $PATH
12522 test -z "$as_dir" && as_dir
=.
12523 for ac_exec_ext
in '' $ac_executable_extensions; do
12524 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12525 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
12526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12535 STRIP
=$ac_cv_prog_STRIP
12536 if test -n "$STRIP"; then
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
12538 $as_echo "$STRIP" >&6; }
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12541 $as_echo "no" >&6; }
12546 if test -z "$ac_cv_prog_STRIP"; then
12548 # Extract the first word of "strip", so it can be a program name with args.
12549 set dummy strip
; ac_word
=$2
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12551 $as_echo_n "checking for $ac_word... " >&6; }
12552 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
12553 $as_echo_n "(cached) " >&6
12555 if test -n "$ac_ct_STRIP"; then
12556 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
12558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12559 for as_dir
in $PATH
12562 test -z "$as_dir" && as_dir
=.
12563 for ac_exec_ext
in '' $ac_executable_extensions; do
12564 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12565 ac_cv_prog_ac_ct_STRIP
="strip"
12566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12575 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
12576 if test -n "$ac_ct_STRIP"; then
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
12578 $as_echo "$ac_ct_STRIP" >&6; }
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12581 $as_echo "no" >&6; }
12584 if test "x$ac_ct_STRIP" = x
; then
12587 case $cross_compiling:$ac_tool_warned in
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12590 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12591 ac_tool_warned
=yes ;;
12596 STRIP
="$ac_cv_prog_STRIP"
12600 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
12603 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
12604 if test -z "$MKDIR_P"; then
12605 if ${ac_cv_path_mkdir+:} false
; then :
12606 $as_echo_n "(cached) " >&6
12608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12609 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
12612 test -z "$as_dir" && as_dir
=.
12613 for ac_prog
in mkdir gmkdir
; do
12614 for ac_exec_ext
in '' $ac_executable_extensions; do
12615 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
12616 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
12617 'mkdir (GNU coreutils) '* | \
12618 'mkdir (coreutils) '* | \
12619 'mkdir (fileutils) '4.1*)
12620 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
12630 test -d .
/--version && rmdir .
/--version
12631 if test "${ac_cv_path_mkdir+set}" = set; then
12632 MKDIR_P
="$ac_cv_path_mkdir -p"
12634 # As a last resort, use the slow shell script. Don't cache a
12635 # value for MKDIR_P within a source directory, because that will
12636 # break other packages using the cache if that directory is
12637 # removed, or if the value is a relative name.
12638 MKDIR_P
="$ac_install_sh -d"
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
12642 $as_echo "$MKDIR_P" >&6; }
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
12645 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
12647 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
12648 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
12649 $as_echo_n "(cached) " >&6
12651 cat >conftest.
make <<\_ACEOF
12654 @
echo '@@@%%%=$(MAKE)=@@@%%%'
12656 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
12657 case `${MAKE-make} -f conftest.make 2>/dev/null` in
12658 *@@@
%%%=?
*=@@@
%%%*)
12659 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
12661 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
12663 rm -f conftest.
make
12665 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12667 $as_echo "yes" >&6; }
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12671 $as_echo "no" >&6; }
12672 SET_MAKE
="MAKE=${MAKE-make}"
12675 rm -rf .tst
2>/dev
/null
12676 mkdir .tst
2>/dev
/null
12677 if test -d .tst
; then
12682 rmdir .tst
2>/dev
/null
12684 DEPDIR
="${am__leading_dot}deps"
12686 ac_config_commands
="$ac_config_commands depfiles"
12689 am_make
=${MAKE-make}
12690 cat > confinc
<< 'END'
12692 @
echo this is the am__doit target
12695 # If we don't find an include directive, just comment out the code.
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
12697 $as_echo_n "checking for style of include used by $am_make... " >&6; }
12701 # First try GNU make style include.
12702 echo "include confinc" > confmf
12703 # Ignore all kinds of additional output from 'make'.
12704 case `$am_make -s -f confmf 2> /dev/null` in #(
12705 *the\ am__doit\ target
*)
12706 am__include
=include
12711 # Now try BSD make style include.
12712 if test "$am__include" = "#"; then
12713 echo '.include "confinc"' > confmf
12714 case `$am_make -s -f confmf 2> /dev/null` in #(
12715 *the\ am__doit\ target
*)
12716 am__include
=.include
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
12725 $as_echo "$_am_result" >&6; }
12726 rm -f confinc confmf
12728 # Check whether --enable-dependency-tracking was given.
12729 if test "${enable_dependency_tracking+set}" = set; then :
12730 enableval
=$enable_dependency_tracking;
12733 if test "x$enable_dependency_tracking" != xno
; then
12734 am_depcomp
="$ac_aux_dir/depcomp"
12738 if test "x$enable_dependency_tracking" != xno; then
12747 # Check whether --enable-silent-rules was given.
12748 if test "${enable_silent_rules+set}" = set; then :
12749 enableval
=$enable_silent_rules;
12752 case $enable_silent_rules in # (((
12753 yes) AM_DEFAULT_VERBOSITY
=0;;
12754 no
) AM_DEFAULT_VERBOSITY
=1;;
12755 *) AM_DEFAULT_VERBOSITY
=1;;
12757 am_make
=${MAKE-make}
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
12759 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
12760 if ${am_cv_make_support_nested_variables+:} false
; then :
12761 $as_echo_n "(cached) " >&6
12763 if $as_echo 'TRUE=$(BAR$(V))
12769 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
12770 am_cv_make_support_nested_variables
=yes
12772 am_cv_make_support_nested_variables
=no
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
12776 $as_echo "$am_cv_make_support_nested_variables" >&6; }
12777 if test $am_cv_make_support_nested_variables = yes; then
12779 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
12781 AM_V
=$AM_DEFAULT_VERBOSITY
12782 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
12786 if test "`cd $srcdir && pwd`" != "`pwd`"; then
12787 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
12788 # is not polluted with repeated "-I."
12789 am__isrc
=' -I$(srcdir)'
12790 # test to see if srcdir already configured
12791 if test -f $srcdir/config.status
; then
12792 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
12796 # test whether we have cygpath
12797 if test -z "$CYGPATH_W"; then
12798 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
12799 CYGPATH_W
='cygpath -w'
12806 # Define the identity of the package.
12811 cat >>confdefs.h
<<_ACEOF
12812 #define PACKAGE "$PACKAGE"
12816 cat >>confdefs.h
<<_ACEOF
12817 #define VERSION "$VERSION"
12820 # Some tools Automake needs.
12822 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
12825 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
12828 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
12831 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
12834 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
12836 # For better backward compatibility. To be removed once Automake 1.9.x
12837 # dies out for good. For more background, see:
12838 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
12839 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
12840 mkdir_p
='$(MKDIR_P)'
12842 # We need awk for the "check" target (and possibly the TAP driver). The
12843 # system "awk" is bad on some platforms.
12844 # Always define AMTAR for backward compatibility. Yes, it's still used
12845 # in the wild :-( We should find a proper way to deprecate it ...
12846 AMTAR
='$${TAR-tar}'
12849 # We'll loop over all known methods to create a tar archive until one works.
12850 _am_tools
='gnutar pax cpio none'
12852 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
12858 depcc
="$CC" am_compiler_list
=
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12861 $as_echo_n "checking dependency style of $depcc... " >&6; }
12862 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
12863 $as_echo_n "(cached) " >&6
12865 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12866 # We make a subdir and do the tests there. Otherwise we can end up
12867 # making bogus files that we don't know about and never remove. For
12868 # instance it was reported that on HP-UX the gcc test will end up
12869 # making a dummy file named 'D' -- because '-MD' means "put the output
12871 rm -rf conftest.dir
12873 # Copy depcomp to subdir because otherwise we won't find it if we're
12874 # using a relative directory.
12875 cp "$am_depcomp" conftest.dir
12877 # We will build objects and dependencies in a subdirectory because
12878 # it helps to detect inapplicable dependency modes. For instance
12879 # both Tru64's cc and ICC support -MD to output dependencies as a
12880 # side effect of compilation, but ICC will put the dependencies in
12881 # the current directory while Tru64 will put them in the object
12885 am_cv_CC_dependencies_compiler_type
=none
12886 if test "$am_compiler_list" = ""; then
12887 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12889 am__universal
=false
12890 case " $depcc " in #(
12891 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
12894 for depmode
in $am_compiler_list; do
12895 # Setup a source with many dependencies, because some compilers
12896 # like to wrap large dependency lists on column 80 (with \), and
12897 # we should not choose a depcomp mode which is confused by this.
12899 # We need to recreate these files for each test, as the compiler may
12900 # overwrite some of them when testing with obscure command lines.
12901 # This happens at least with the AIX C compiler.
12903 for i
in 1 2 3 4 5 6; do
12904 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
12905 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12906 # Solaris 10 /bin/sh.
12907 echo '/* dummy */' > sub
/conftst
$i.h
12909 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12911 # We check with '-c' and '-o' for the sake of the "dashmstdout"
12912 # mode. It turns out that the SunPro C++ compiler does not properly
12913 # handle '-M -o', and we need to detect this. Also, some Intel
12914 # versions had trouble with output in subdirs.
12915 am__obj
=sub
/conftest.
${OBJEXT-o}
12916 am__minus_obj
="-o $am__obj"
12919 # This depmode causes a compiler race in universal mode.
12920 test "$am__universal" = false ||
continue
12923 # After this tag, mechanisms are not by side-effect, so they'll
12924 # only be used when explicitly requested.
12925 if test "x$enable_dependency_tracking" = xyes
; then
12931 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
12932 # This compiler won't grok '-c -o', but also, the minuso test has
12933 # not run yet. These depmodes are late enough in the game, and
12934 # so weak that their functioning should not be impacted.
12935 am__obj
=conftest.
${OBJEXT-o}
12940 if depmode
=$depmode \
12941 source=sub
/conftest.c object
=$am__obj \
12942 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
12943 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
12944 >/dev
/null
2>conftest.err
&&
12945 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12946 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12947 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
12948 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
12949 # icc doesn't choke on unknown options, it will just issue warnings
12950 # or remarks (even with -Werror). So we grep stderr for any message
12951 # that says an option was ignored or not supported.
12952 # When given -MP, icc 7.0 and 7.1 complain thusly:
12953 # icc: Command line warning: ignoring option '-M'; no argument required
12954 # The diagnosis changed in icc 8.0:
12955 # icc: Command line remark: option '-MP' not supported
12956 if (grep 'ignoring option' conftest.err ||
12957 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
12958 am_cv_CC_dependencies_compiler_type
=$depmode
12965 rm -rf conftest.dir
12967 am_cv_CC_dependencies_compiler_type
=none
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12972 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12973 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
12976 test "x$enable_dependency_tracking" != xno \
12977 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
12978 am__fastdepCC_TRUE
=
12979 am__fastdepCC_FALSE
='#'
12981 am__fastdepCC_TRUE
='#'
12982 am__fastdepCC_FALSE
=
12987 # POSIX will say in a future version that running "rm -f" with no argument
12988 # is OK; and we want to be able to make that assumption in our Makefile
12989 # recipes. So use an aggressive probe to check that the usage we want is
12990 # actually supported "in the wild" to an acceptable degree.
12991 # See automake bug#10828.
12992 # To make any issue more visible, cause the running configure to be aborted
12993 # by default if the 'rm' program in use doesn't match our expectations; the
12994 # user can still override this though.
12995 if rm -f && rm -fr && rm -rf; then : OK
; else
12999 Your 'rm' program seems unable to run without file operands specified
13000 on the command line, even when the '-f' option is present. This is contrary
13001 to the behaviour of most rm programs out there, and not conforming with
13002 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
13004 Please tell bug-automake@gnu.org about your system, including the value
13005 of your $PATH and any error possibly output before this message. This
13006 can help us improve future automake versions.
13009 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
13010 echo 'Configuration will proceed anyway, since you have set the' >&2
13011 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
13015 Aborting the configuration process, to ensure you take notice of the issue.
13017 You can download and install GNU coreutils to get an 'rm' implementation
13018 that behaves properly: <http://www.gnu.org/software/coreutils/>.
13020 If you want to complete the configuration process using your problematic
13021 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
13022 to "yes", and re-run configure.
13025 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
13029 # Check whether --enable-silent-rules was given.
13030 if test "${enable_silent_rules+set}" = set; then :
13031 enableval
=$enable_silent_rules;
13034 case $enable_silent_rules in # (((
13035 yes) AM_DEFAULT_VERBOSITY
=0;;
13036 no
) AM_DEFAULT_VERBOSITY
=1;;
13037 *) AM_DEFAULT_VERBOSITY
=0;;
13039 am_make
=${MAKE-make}
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
13041 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
13042 if ${am_cv_make_support_nested_variables+:} false
; then :
13043 $as_echo_n "(cached) " >&6
13045 if $as_echo 'TRUE=$(BAR$(V))
13051 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
13052 am_cv_make_support_nested_variables
=yes
13054 am_cv_make_support_nested_variables
=no
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
13058 $as_echo "$am_cv_make_support_nested_variables" >&6; }
13059 if test $am_cv_make_support_nested_variables = yes; then
13061 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
13063 AM_V
=$AM_DEFAULT_VERBOSITY
13064 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
13069 # If a cpu ever has more than one simulator to choose from, use
13070 # --enable-sim=... to choose.
13071 # Check whether --enable-sim was given.
13072 if test "${enable_sim+set}" = set; then :
13073 enableval=$enable_sim; case "${enableval}" in
13075 *) as_fn_error $? "bad value ${enableval} given for --enable-sim option" "$LINENO" 5 ;;
13080 # Check whether --enable-example-sims was given.
13081 if test "${enable_example_sims+set}" = set; then :
13082 enableval=$enable_example_sims;
13086 # Check whether --enable-targets was given.
13087 if test "${enable_targets+set}" = set; then :
13088 enableval=$enable_targets; case "${enableval}" in
13089 yes | "") as_fn_error $? "enable-targets option must specify target names or 'all
'" "$LINENO" 5
13091 no) enable_targets= ;;
13092 *) enable_targets=$enableval ;;
13097 SIM_PRIMARY_TARGET=
13102 if test "${enable_sim}" != no; then
13104 for targ in `echo $target $enable_targets | sed 's
/,/ /g
'`
13109 if test "${targ}" = "${target}"; then
13110 SIM_PRIMARY_TARGET=aarch64
13114 subdirs="$subdirs aarch64"
13123 if test "${targ}" = "${target}"; then
13124 SIM_PRIMARY_TARGET=arm
13126 subdirs="$subdirs arm"
13135 if test "${targ}" = "${target}"; then
13136 SIM_PRIMARY_TARGET=avr
13138 subdirs="$subdirs avr"
13147 if test "${targ}" = "${target}"; then
13148 SIM_PRIMARY_TARGET=bfin
13150 subdirs="$subdirs bfin"
13159 if test "${targ}" = "${target}"; then
13160 SIM_PRIMARY_TARGET=bpf
13162 subdirs="$subdirs bpf"
13171 if test "${targ}" = "${target}"; then
13172 SIM_PRIMARY_TARGET=cr16
13174 subdirs="$subdirs cr16"
13182 all|cris-*-* | crisv32-*-*)
13183 if test "${targ}" = "${target}"; then
13184 SIM_PRIMARY_TARGET=cris
13186 subdirs="$subdirs cris"
13195 if test "${targ}" = "${target}"; then
13196 SIM_PRIMARY_TARGET=d10v
13198 subdirs="$subdirs d10v"
13207 if test "${targ}" = "${target}"; then
13208 SIM_PRIMARY_TARGET=frv
13210 subdirs="$subdirs frv"
13219 if test "${targ}" = "${target}"; then
13220 SIM_PRIMARY_TARGET=h8300
13222 subdirs="$subdirs h8300"
13231 if test "${targ}" = "${target}"; then
13232 SIM_PRIMARY_TARGET=iq2000
13234 subdirs="$subdirs iq2000"
13243 if test "${targ}" = "${target}"; then
13244 SIM_PRIMARY_TARGET=lm32
13246 subdirs="$subdirs lm32"
13255 if test "${targ}" = "${target}"; then
13256 SIM_PRIMARY_TARGET=m32c
13258 subdirs="$subdirs m32c"
13267 if test "${targ}" = "${target}"; then
13268 SIM_PRIMARY_TARGET=m32r
13270 subdirs="$subdirs m32r"
13278 all|m68hc11-*-*|m6811-*-*)
13279 if test "${targ}" = "${target}"; then
13280 SIM_PRIMARY_TARGET=m68hc11
13282 subdirs="$subdirs m68hc11"
13291 if test "${targ}" = "${target}"; then
13292 SIM_PRIMARY_TARGET=mcore
13294 subdirs="$subdirs mcore"
13302 all|microblaze-*-*)
13303 if test "${targ}" = "${target}"; then
13304 SIM_PRIMARY_TARGET=microblaze
13306 subdirs="$subdirs microblaze"
13315 if test "${targ}" = "${target}"; then
13316 SIM_PRIMARY_TARGET=mips
13318 subdirs="$subdirs mips"
13327 if test "${targ}" = "${target}"; then
13328 SIM_PRIMARY_TARGET=mn10300
13330 subdirs="$subdirs mn10300"
13339 if test "${targ}" = "${target}"; then
13340 SIM_PRIMARY_TARGET=moxie
13342 subdirs="$subdirs moxie"
13351 if test "${targ}" = "${target}"; then
13352 SIM_PRIMARY_TARGET=msp430
13354 subdirs="$subdirs msp430"
13362 all|or1k-*-* | or1knd-*-*)
13363 if test "${targ}" = "${target}"; then
13364 SIM_PRIMARY_TARGET=or1k
13366 subdirs="$subdirs or1k"
13375 if test "${targ}" = "${target}"; then
13376 SIM_PRIMARY_TARGET=pru
13378 subdirs="$subdirs pru"
13387 if test "${targ}" = "${target}"; then
13388 SIM_PRIMARY_TARGET=riscv
13390 subdirs="$subdirs riscv"
13399 if test "${targ}" = "${target}"; then
13400 SIM_PRIMARY_TARGET=rl78
13402 subdirs="$subdirs rl78"
13411 if test "${targ}" = "${target}"; then
13412 SIM_PRIMARY_TARGET=rx
13414 subdirs="$subdirs rx"
13423 if test "${targ}" = "${target}"; then
13424 SIM_PRIMARY_TARGET=sh
13426 subdirs="$subdirs sh"
13434 all|sparc-*-rtems*|sparc-*-elf*)
13435 if test "${targ}" = "${target}"; then
13436 SIM_PRIMARY_TARGET=erc32
13438 subdirs="$subdirs erc32"
13447 if test "${targ}" = "${target}"; then
13448 SIM_PRIMARY_TARGET=ppc
13450 subdirs="$subdirs ppc"
13459 if test "${targ}" = "${target}"; then
13460 SIM_PRIMARY_TARGET=ft32
13462 subdirs="$subdirs ft32"
13471 if test "${targ}" = "${target}"; then
13472 SIM_PRIMARY_TARGET=v850
13474 subdirs="$subdirs v850"
13482 if test "x${enable_example_sims}" = xyes; then
13483 subdirs="$subdirs example-synacor"
13487 if test "$sim_igen" = "yes"; then
13488 SIM_ENABLE_IGEN_TRUE=
13489 SIM_ENABLE_IGEN_FALSE='#'
13491 SIM_ENABLE_IGEN_TRUE
='#'
13492 SIM_ENABLE_IGEN_FALSE
=
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to force sim alignment" >&5
13497 $as_echo_n "checking whether to force sim alignment... " >&6; }
13499 # Check whether --enable-sim-alignment was given.
13500 if test "${enable_sim_alignment+set}" = set; then :
13501 enableval
=$enable_sim_alignment; case "${enableval}" in
13502 yes | strict | STRICT
) sim_alignment
="STRICT_ALIGNMENT";;
13503 no | nonstrict | NONSTRICT
) sim_alignment
="NONSTRICT_ALIGNMENT";;
13504 forced | FORCED
) sim_alignment
="FORCED_ALIGNMENT";;
13505 *) as_fn_error $?
"\"Unknown value $enableval passed to --enable-sim-alignment\"" "$LINENO" 5;;
13509 cat >>confdefs.h
<<_ACEOF
13510 #define WITH_ALIGNMENT ${sim_alignment:-0}
13513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sim_alignment:-no}" >&5
13514 $as_echo "${sim_alignment:-no}" >&6; }
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable sim asserts" >&5
13518 $as_echo_n "checking whether to enable sim asserts... " >&6; }
13520 # Check whether --enable-sim-assert was given.
13521 if test "${enable_sim_assert+set}" = set; then :
13522 enableval
=$enable_sim_assert; case "${enableval}" in
13523 yes) sim_assert
="1";;
13524 no
) sim_assert
="0";;
13525 *) as_fn_error $?
"--enable-sim-assert does not take a value" "$LINENO" 5;;
13529 cat >>confdefs.h
<<_ACEOF
13530 #define WITH_ASSERT $sim_assert
13533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_assert" >&5
13534 $as_echo "$sim_assert" >&6; }
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim debug setting" >&5
13537 $as_echo_n "checking for sim debug setting... " >&6; }
13539 # Check whether --enable-sim-debug was given.
13540 if test "${enable_sim_debug+set}" = set; then :
13541 enableval
=$enable_sim_debug; case "${enableval}" in
13542 yes) sim_debug
="7";;
13543 no
) sim_debug
="0";;
13544 *) sim_debug
="($enableval)";;
13547 if test "$sim_debug" != "0"; then
13549 cat >>confdefs.h
<<_ACEOF
13550 #define DEBUG $sim_debug
13555 cat >>confdefs.h
<<_ACEOF
13556 #define WITH_DEBUG $sim_debug
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_debug" >&5
13560 $as_echo "$sim_debug" >&6; }
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to force sim endianness" >&5
13563 $as_echo_n "checking whether to force sim endianness... " >&6; }
13565 # Check whether --enable-sim-endian was given.
13566 if test "${enable_sim_endian+set}" = set; then :
13567 enableval
=$enable_sim_endian; case "${enableval}" in
13568 b
*|B
*) sim_endian
="BFD_ENDIAN_BIG";;
13569 l
*|L
*) sim_endian
="BFD_ENDIAN_LITTLE";;
13571 *) as_fn_error $?
"\"Unknown value $enableval for --enable-sim-endian\"" "$LINENO" 5;;
13575 cat >>confdefs.h
<<_ACEOF
13576 #define WITH_TARGET_BYTE_ORDER ${sim_endian:-BFD_ENDIAN_UNKNOWN}
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sim_alignment:-no}" >&5
13580 $as_echo "${sim_alignment:-no}" >&6; }
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default sim environment setting" >&5
13584 $as_echo_n "checking default sim environment setting... " >&6; }
13585 sim_environment
="ALL_ENVIRONMENT"
13586 # Check whether --enable-sim-environment was given.
13587 if test "${enable_sim_environment+set}" = set; then :
13588 enableval
=$enable_sim_environment; case "${enableval}" in
13589 all | ALL
) sim_environment
="ALL_ENVIRONMENT";;
13590 user | USER
) sim_environment
="USER_ENVIRONMENT";;
13591 virtual | VIRTUAL
) sim_environment
="VIRTUAL_ENVIRONMENT";;
13592 operating | OPERATING
) sim_environment
="OPERATING_ENVIRONMENT";;
13593 *) as_fn_error $?
"Unknown value $enableval passed to --enable-sim-environment" "$LINENO" 5;;
13597 cat >>confdefs.h
<<_ACEOF
13598 #define WITH_ENVIRONMENT $sim_environment
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_environment" >&5
13602 $as_echo "$sim_environment" >&6; }
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim profile settings" >&5
13605 $as_echo_n "checking for sim profile settings... " >&6; }
13608 # Check whether --enable-sim-profile was given.
13609 if test "${enable_sim_profile+set}" = set; then :
13610 enableval
=$enable_sim_profile; case "${enableval}" in
13611 yes) profile
="1" sim_profile
="-1";;
13612 no
) profile
="0" sim_profile
="0";;
13614 profile
="(${enableval})" sim_profile
="(${enableval})";;
13618 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
13619 if test x
"$sim_profile" = x
; then
13620 sim_profile
="(PROFILE_$x"
13622 sim_profile
="${sim_profile}|PROFILE_$x"
13625 sim_profile
="$sim_profile)" ;;
13629 cat >>confdefs.h
<<_ACEOF
13630 #define PROFILE $profile
13634 cat >>confdefs.h
<<_ACEOF
13635 #define WITH_PROFILE $sim_profile
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_profile" >&5
13639 $as_echo "$sim_profile" >&6; }
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim stdio debug behavior" >&5
13642 $as_echo_n "checking for sim stdio debug behavior... " >&6; }
13644 # Check whether --enable-sim-stdio was given.
13645 if test "${enable_sim_stdio+set}" = set; then :
13646 enableval
=$enable_sim_stdio; case "${enableval}" in
13647 yes) sim_stdio
="DO_USE_STDIO";;
13648 no
) sim_stdio
="DONT_USE_STDIO";;
13649 *) as_fn_error $?
"Unknown value $enableval passed to --enable-sim-stdio" "$LINENO" 5;;
13653 cat >>confdefs.h
<<_ACEOF
13654 #define WITH_STDIO $sim_stdio
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_stdio" >&5
13658 $as_echo "$sim_stdio" >&6; }
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim trace settings" >&5
13661 $as_echo_n "checking for sim trace settings... " >&6; }
13662 sim_trace
="~TRACE_debug"
13663 # Check whether --enable-sim-trace was given.
13664 if test "${enable_sim_trace+set}" = set; then :
13665 enableval
=$enable_sim_trace; case "${enableval}" in
13666 yes) sim_trace
="-1";;
13667 no
) sim_trace
="0";;
13669 sim_trace
="'(${enableval})'";;
13672 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
13673 if test x
"$sim_trace" = x
; then
13674 sim_trace
="(TRACE_$x"
13676 sim_trace
="${sim_trace}|TRACE_$x"
13679 sim_trace
="$sim_trace)" ;;
13683 cat >>confdefs.h
<<_ACEOF
13684 #define WITH_TRACE $sim_trace
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_trace" >&5
13688 $as_echo "$sim_trace" >&6; }
13691 # Check whether --enable-werror was given.
13692 if test "${enable_werror+set}" = set; then :
13693 enableval
=$enable_werror; case "${enableval}" in
13694 yes | y
) ERROR_ON_WARNING
="yes" ;;
13695 no | n
) ERROR_ON_WARNING
="no" ;;
13696 *) as_fn_error $?
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
13701 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
13702 ERROR_ON_WARNING
=yes
13706 if test "${ERROR_ON_WARNING}" = yes ; then
13707 WERROR_CFLAGS
="-Werror"
13710 build_warnings
="-Wall -Wdeclaration-after-statement -Wpointer-arith \
13712 -Wno-unused -Wunused-value -Wunused-function \
13713 -Wno-switch -Wno-char-subscripts -Wmissing-prototypes
13714 -Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type \
13715 -Wold-style-declaration -Wold-style-definition"
13717 # Enable -Wno-format by default when using gcc on mingw since many
13718 # GCC versions complain about %I64.
13720 *-*-mingw32*) build_warnings
="$build_warnings -Wno-format" ;;
13721 *) build_warnings
="$build_warnings -Wformat-nonliteral" ;;
13724 # Check whether --enable-build-warnings was given.
13725 if test "${enable_build_warnings+set}" = set; then :
13726 enableval
=$enable_build_warnings; case "${enableval}" in
13728 no
) build_warnings
="-w";;
13729 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
13730 build_warnings
="${build_warnings} ${t}";;
13731 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
13732 build_warnings
="${t} ${build_warnings}";;
13733 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
13735 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
13736 echo "Setting compiler warning flags = $build_warnings" 6>&1
13739 # Check whether --enable-sim-build-warnings was given.
13740 if test "${enable_sim_build_warnings+set}" = set; then :
13741 enableval
=$enable_sim_build_warnings; case "${enableval}" in
13743 no
) build_warnings
="-w";;
13744 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
13745 build_warnings
="${build_warnings} ${t}";;
13746 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
13747 build_warnings
="${t} ${build_warnings}";;
13748 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
13750 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
13751 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
13755 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler warning flags" >&5
13758 $as_echo_n "checking compiler warning flags... " >&6; }
13759 # Separate out the -Werror flag as some files just cannot be
13760 # compiled with it enabled.
13761 for w
in ${build_warnings}; do
13763 -Werr*) WERROR_CFLAGS
=-Werror ;;
13764 *) # Check that GCC accepts it
13765 saved_CFLAGS
="$CFLAGS"
13766 CFLAGS
="$CFLAGS -Werror $w"
13767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13768 /* end confdefs.h. */
13778 if ac_fn_c_try_compile
"$LINENO"; then :
13779 WARN_CFLAGS
="${WARN_CFLAGS} $w"
13781 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13782 CFLAGS
="$saved_CFLAGS"
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS} ${WERROR_CFLAGS}" >&5
13786 $as_echo "${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6; }
13790 ac_config_files="$ac_config_files arch-subdir.mk Makefile
"
13792 cat >confcache <<\_ACEOF
13793 # This file is a shell script that caches the results of configure
13794 # tests run on this system so they can be shared between configure
13795 # scripts and configure runs, see configure's option --config-cache.
13796 # It is not useful on other systems. If it contains results you don't
13797 # want to keep, you may remove or edit it.
13799 # config.status only pays attention to the cache file if you give it
13800 # the --recheck option to rerun configure.
13802 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13803 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13804 # following values.
13808 # The following way of writing the cache mishandles newlines in values,
13809 # but we know of no workaround that is simple, portable, and efficient.
13810 # So, we kill variables containing newlines.
13811 # Ultrix sh set writes to stderr and can't be redirected directly,
13812 # and sets the high bit in the cache file unless we assign to the vars.
13814 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13815 eval ac_val=\$$ac_var
13819 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
13820 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
13823 _ | IFS | as_nl) ;; #(
13824 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13825 *) { eval $ac_var=; unset $ac_var;} ;;
13831 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13832 *${as_nl}ac_space=\ *)
13833 # `set' does not quote correctly, so add quotes: double-quote
13834 # substitution turns \\\\ into \\, and sed turns \\ into \.
13837 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
13840 # `set' quotes correctly as required by POSIX, so do not add quotes.
13841 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
13850 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13852 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13854 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13855 if test -w "$cache_file"; then
13856 if test "x
$cache_file" != "x
/dev
/null
"; then
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
13858 $as_echo "$as_me: updating cache
$cache_file" >&6;}
13859 if test ! -f "$cache_file" || test -h "$cache_file"; then
13860 cat confcache >"$cache_file"
13862 case $cache_file in #(
13864 mv -f confcache "$cache_file"$$ &&
13865 mv -f "$cache_file"$$ "$cache_file" ;; #(
13867 mv -f confcache "$cache_file" ;;
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
13873 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
13878 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
13879 # Let make expand exec_prefix.
13880 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
13882 DEFS=-DHAVE_CONFIG_H
13887 for ac_i in : $LIBOBJS; do test "x
$ac_i" = x: && continue
13888 # 1. Remove the extension, and $U if already installed.
13889 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13890 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13891 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13892 # will be set to the directory where LIBOBJS objects are built.
13893 as_fn_append ac_libobjs " \
${LIBOBJDIR}$ac_i\
$U.
$ac_objext"
13894 as_fn_append ac_ltlibobjs " \
${LIBOBJDIR}$ac_i"'$U.lo'
13896 LIBOBJS=$ac_libobjs
13898 LTLIBOBJS=$ac_ltlibobjs
13902 if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
13903 as_fn_error $? "conditional
\"PLUGINS
\" was never defined.
13904 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
13906 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13907 as_fn_error $? "conditional
\"MAINTAINER_MODE
\" was never defined.
13908 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure
" >&5
13911 $as_echo_n "checking that generated files are newer than configure...
" >&6; }
13912 if test -n "$am_sleep_pid"; then
13913 # Hide warnings about reused PIDs.
13914 wait $am_sleep_pid 2>/dev/null
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: done" >&5
13917 $as_echo "done" >&6; }
13918 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13919 as_fn_error $? "conditional
\"AMDEP
\" was never defined.
13920 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
13922 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13923 as_fn_error $? "conditional
\"am__fastdepCC
\" was never defined.
13924 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
13926 if test -n "$EXEEXT"; then
13928 am__EXEEXT_FALSE='#'
13930 am__EXEEXT_TRUE='#'
13934 if test -z "${SIM_ENABLE_IGEN_TRUE}" && test -z "${SIM_ENABLE_IGEN_FALSE}"; then
13935 as_fn_error $? "conditional
\"SIM_ENABLE_IGEN
\" was never defined.
13936 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
13939 : "${CONFIG_STATUS=./config.status}"
13941 ac_clean_files_save=$ac_clean_files
13942 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$CONFIG_STATUS" >&5
13944 $as_echo "$as_me: creating
$CONFIG_STATUS" >&6;}
13946 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13948 # Generated by $as_me.
13949 # Run this file to recreate the current configuration.
13950 # Compiler output produced by configure, useful for debugging
13951 # configure, is in config.log if it exists.
13954 ac_cs_recheck=false
13957 SHELL=\${CONFIG_SHELL-$SHELL}
13960 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13961 ## -------------------- ##
13962 ## M4sh Initialization. ##
13963 ## -------------------- ##
13965 # Be more Bourne compatible
13966 DUALCASE=1; export DUALCASE # for MKS sh
13967 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13970 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13971 # is contrary to our usage. Disable this feature.
13972 alias -g '${1+"$@"}'='"$@
"'
13973 setopt NO_GLOB_SUBST
13975 case `(set -o) 2>/dev/null` in #(
13987 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13988 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13989 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13990 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13991 # Prefer a ksh shell builtin over an external printf program on Solaris,
13992 # but without wasting forks for bash or zsh.
13993 if test -z "$BASH_VERSION$ZSH_VERSION" \
13994 && (test "X
`print -r -- $as_echo`" = "X
$as_echo") 2>/dev/null; then
13995 as_echo='print -r --'
13996 as_echo_n='print -rn --'
13997 elif (test "X
`printf %s $as_echo`" = "X
$as_echo") 2>/dev/null; then
13998 as_echo='printf %s\n'
13999 as_echo_n='printf %s'
14001 if test "X
`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n
$as_echo"; then
14002 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14003 as_echo_n='/usr/ucb/echo -n'
14005 as_echo_body='eval expr "X
$1" : "X
\\(.
*\\)"'
14006 as_echo_n_body='eval
14010 expr "X
$arg" : "X
\\(.
*\\)$as_nl";
14011 arg=`expr "X
$arg" : ".
*$as_nl\\(.
*\\)"`;;
14013 expr "X
$arg" : "X
\\(.
*\\)" | tr -d "$as_nl"
14015 export as_echo_n_body
14016 as_echo_n='sh -c $as_echo_n_body as_echo'
14018 export as_echo_body
14019 as_echo='sh -c $as_echo_body as_echo'
14022 # The user is always right.
14023 if test "${PATH_SEPARATOR+set}" != set; then
14025 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14026 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14033 # We need space, tab and new line, in precisely that order. Quoting is
14034 # there to prevent editors from complaining about space-tab.
14035 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14036 # splitting by setting IFS to empty value.)
14039 # Find who we are. Look in the path if we contain no directory separator.
14042 *[\\/]* ) as_myself=$0 ;;
14043 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14044 for as_dir in $PATH
14047 test -z "$as_dir" && as_dir=.
14048 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14054 # We did not find ourselves, most probably we were run as `sh COMMAND'
14055 # in which case we are not to be found in the path.
14056 if test "x
$as_myself" = x; then
14059 if test ! -f "$as_myself"; then
14060 $as_echo "$as_myself: error
: cannot
find myself
; rerun with an absolute
file name
" >&2
14064 # Unset variables that we do not need and which cause bugs (e.g. in
14065 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "||
exit 1"
14066 # suppresses any "Segmentation fault
" message there. '((' could
14067 # trigger a bug in pdksh 5.2.14.
14068 for as_var in BASH_ENV ENV MAIL MAILPATH
14069 do eval test x\${$as_var+set} = xset \
14070 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14083 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14086 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14087 # ----------------------------------------
14088 # Output "`basename $0`: error
: ERROR
" to stderr. If LINENO and LOG_FD are
14089 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14090 # script with STATUS, using 1 if that was 0.
14093 as_status=$1; test $as_status -eq 0 && as_status=1
14095 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14096 $as_echo "$as_me:${as_lineno-$LINENO}: error
: $2" >&$4
14098 $as_echo "$as_me: error
: $2" >&2
14099 as_fn_exit $as_status
14103 # as_fn_set_status STATUS
14104 # -----------------------
14105 # Set $? to STATUS, without forking.
14106 as_fn_set_status ()
14109 } # as_fn_set_status
14111 # as_fn_exit STATUS
14112 # -----------------
14113 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14117 as_fn_set_status $1
14123 # Portably unset VAR.
14126 { eval $1=; unset $1;}
14128 as_unset=as_fn_unset
14129 # as_fn_append VAR VALUE
14130 # ----------------------
14131 # Append the text in VALUE to the end of the definition contained in VAR. Take
14132 # advantage of any shell optimizations that allow amortized linear growth over
14133 # repeated appends, instead of the typical quadratic growth present in naive
14135 if (eval "as_var
=1; as_var
+=2; test x\
$as_var = x12
") 2>/dev/null; then :
14136 eval 'as_fn_append ()
14147 # as_fn_arith ARG...
14148 # ------------------
14149 # Perform arithmetic evaluation on the ARGs, and store the result in the
14150 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14151 # must be portable across $(()) and expr.
14152 if (eval "test \$
(( 1 + 1 )) = 2") 2>/dev/null; then :
14153 eval 'as_fn_arith ()
14160 as_val=`expr "$@
" || test $? -eq 1`
14165 if expr a : '\(a\)' >/dev/null 2>&1 &&
14166 test "X
`expr 00001 : '.*\(...\)'`" = X001; then
14172 if (basename -- /) >/dev/null 2>&1 && test "X
`basename -- / 2>&1`" = "X
/"; then
14173 as_basename=basename
14178 if (as_dir=`dirname -- /` && test "X
$as_dir" = X/) >/dev/null 2>&1; then
14184 as_me=`$as_basename -- "$0" ||
14185 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14186 X"$0" : 'X\(//\)$' \| \
14187 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14189 sed '/^.*\/\([^/][^/]*\)\/*$/{
14203 # Avoid depending upon Character Ranges.
14204 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14205 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14206 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14207 as_cr_digits='0123456789'
14208 as_cr_alnum=$as_cr_Letters$as_cr_digits
14210 ECHO_C= ECHO_N= ECHO_T=
14211 case `echo -n x` in #(((((
14213 case `echo 'xy\c'` in
14214 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14216 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14223 rm -f conf$$ conf$$.exe conf$$.file
14224 if test -d conf$$.dir; then
14225 rm -f conf$$.dir/conf$$.file
14228 mkdir conf$$.dir 2>/dev/null
14230 if (echo >conf$$.file) 2>/dev/null; then
14231 if ln -s conf$$.file conf$$ 2>/dev/null; then
14233 # ... but there are two gotchas:
14234 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14235 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14236 # In both cases, we have to default to `cp -pR'.
14237 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14239 elif ln conf$$.file conf$$ 2>/dev/null; then
14247 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14248 rmdir conf$$.dir 2>/dev/null
14253 # Create "$as_dir" as a directory, including parents if necessary.
14258 -*) as_dir=./$as_dir;;
14260 test -d "$as_dir" || eval $as_mkdir_p || {
14264 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s
/'/'\\\\\\\\''/g
"`;; #'(
14265 *) as_qdir=$as_dir;;
14267 as_dirs="'$as_qdir' $as_dirs"
14268 as_dir=`$as_dirname -- "$as_dir" ||
14269 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14270 X"$as_dir" : 'X\(//\)[^/]' \| \
14271 X"$as_dir" : 'X\(//\)$' \| \
14272 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14273 $as_echo X"$as_dir" |
14274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14278 /^X\(\/\/\)[^/].*/{
14291 test -d "$as_dir" && break
14293 test -z "$as_dirs" || eval "mkdir
$as_dirs"
14294 } || test -d "$as_dir" || as_fn_error $? "cannot create directory
$as_dir"
14298 if mkdir -p . 2>/dev/null; then
14299 as_mkdir_p='mkdir -p "$as_dir"'
14301 test -d ./-p && rmdir ./-p
14306 # as_fn_executable_p FILE
14307 # -----------------------
14308 # Test if FILE is an executable regular file.
14309 as_fn_executable_p ()
14311 test -f "$1" && test -x "$1"
14312 } # as_fn_executable_p
14313 as_test_x='test -x'
14314 as_executable_p=as_fn_executable_p
14316 # Sed expression to map a string onto a valid CPP name.
14317 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14319 # Sed expression to map a string onto a valid variable name.
14320 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14324 ## ----------------------------------- ##
14325 ## Main body of $CONFIG_STATUS script. ##
14326 ## ----------------------------------- ##
14328 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14330 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14331 # Save the log message, to keep $0 and so on meaningful, and to
14332 # report actual input values of CONFIG_FILES etc. instead of their
14333 # values after options handling.
14335 This
file was extended by sim
$as_me 0, which was
14336 generated by GNU Autoconf
2.69. Invocation
command line was
14338 CONFIG_FILES
= $CONFIG_FILES
14339 CONFIG_HEADERS
= $CONFIG_HEADERS
14340 CONFIG_LINKS
= $CONFIG_LINKS
14341 CONFIG_COMMANDS
= $CONFIG_COMMANDS
14344 on
`(hostname || uname -n) 2>/dev/null | sed 1q`
14349 case $ac_config_files in *"
14350 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14353 case $ac_config_headers in *"
14354 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14358 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14359 # Files that config.status was made for.
14360 config_files="$ac_config_files"
14361 config_headers="$ac_config_headers"
14362 config_commands="$ac_config_commands"
14366 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14368 \
`$as_me' instantiates files and other configuration actions
14369 from templates according to the current configuration. Unless the files
14370 and actions are specified as TAGs, all are instantiated by default.
14372 Usage: $0 [OPTION]... [TAG]...
14374 -h, --help print this help, then exit
14375 -V, --version print version number and configuration settings, then exit
14376 --config print configuration, then exit
14377 -q, --quiet, --silent
14378 do not print progress messages
14379 -d, --debug don't remove temporary files
14380 --recheck update $as_me by reconfiguring in the same conditions
14381 --file=FILE[:TEMPLATE]
14382 instantiate the configuration file FILE
14383 --header=FILE[:TEMPLATE]
14384 instantiate the configuration header FILE
14386 Configuration files:
14389 Configuration headers:
14392 Configuration commands:
14395 Report bugs to <https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim>.
14396 sim home page: <https://sourceware.org/gdb/wiki/Sim/>."
14399 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14400 ac_cs_config="`$as_echo "$ac_configure_args" |
sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14402 sim config.status 0
14403 configured by $0, generated by GNU Autoconf 2.69,
14404 with options \\"\$ac_cs_config\\"
14406 Copyright (C) 2012 Free Software Foundation, Inc.
14407 This config.status script is free software; the Free Software Foundation
14408 gives unlimited permission to copy, distribute and modify it."
14415 test -n "\$AWK" || AWK=awk
14418 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14419 # The default lists apply if the user does not specify any file.
14425 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14426 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14430 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14442 # Handling of the options.
14443 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14445 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14446 $as_echo "$ac_cs_version"; exit ;;
14447 --config | --confi | --conf | --con | --co | --c )
14448 $as_echo "$ac_cs_config"; exit ;;
14449 --debug | --debu | --deb | --de | --d | -d )
14451 --file | --fil | --fi | --f )
14454 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
14455 '') as_fn_error $? "missing file argument" ;;
14457 as_fn_append CONFIG_FILES " '$ac_optarg'"
14458 ac_need_defaults=false;;
14459 --header | --heade | --head | --hea )
14462 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
14464 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14465 ac_need_defaults=false;;
14467 # Conflict between --help and --header
14468 as_fn_error $? "ambiguous option: \`$1'
14469 Try \`$0 --help' for more information.
";;
14470 --help | --hel | -h )
14471 $as_echo "$ac_cs_usage"; exit ;;
14472 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14473 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14476 # This is an error.
14477 -*) as_fn_error $? "unrecognized option
: \
`$1'
14478 Try \`$0 --help' for more information." ;;
14480 *) as_fn_append ac_config_targets " $1"
14481 ac_need_defaults=false ;;
14487 ac_configure_extra_args=
14489 if $ac_cs_silent; then
14491 ac_configure_extra_args="$ac_configure_extra_args --silent"
14495 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14496 if \$ac_cs_recheck; then
14497 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14499 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14500 CONFIG_SHELL='$SHELL'
14501 export CONFIG_SHELL
14506 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14510 sed 'h
;s
/.
/-/g
;s
/^...
/## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14511 ## Running $as_me. ##
14517 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14523 # The HP-UX ksh and POSIX shell print the target directory to stdout
14524 # if CDPATH is set.
14525 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14527 sed_quote_subst='$sed_quote_subst'
14528 double_quote_subst='$double_quote_subst'
14529 delay_variable_subst='$delay_variable_subst'
14530 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14531 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14532 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14533 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14534 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14535 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14536 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14537 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14538 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14539 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14540 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14541 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14542 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14543 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14544 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14545 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14546 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14547 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14548 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14549 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14550 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14551 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14552 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14553 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14554 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14555 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14556 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14557 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14558 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14559 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14560 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14561 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14562 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14563 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14564 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14565 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14566 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14567 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14568 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14569 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14570 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14571 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14572 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14573 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14574 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14575 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14576 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14577 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14578 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"`'
14579 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14580 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14581 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14582 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14583 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14584 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14585 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14586 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14587 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14588 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14589 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14590 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14591 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14592 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14593 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14594 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14595 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14596 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14597 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14598 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14599 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14600 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14601 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14602 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14603 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14604 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14605 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14606 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14607 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14608 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14609 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14610 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
14611 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14612 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14613 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14614 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14615 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14616 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14617 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14618 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14619 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
14620 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14621 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14622 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14623 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14624 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14625 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14626 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14627 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14628 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14629 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14630 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14631 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14632 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14633 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14634 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14635 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14636 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14637 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14638 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14639 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14640 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14641 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14642 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14643 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14644 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14645 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14646 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14647 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14648 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14649 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14652 LTCFLAGS='$LTCFLAGS'
14653 compiler='$compiler_DEFAULT'
14655 # A function that is used when there is no print builtin or printf.
14656 func_fallback_echo ()
14658 eval 'cat <<_LTECHO_EOF
14663 # Quote evaled strings.
14677 deplibs_check_method \
14686 lt_cv_sys_global_symbol_pipe \
14687 lt_cv_sys_global_symbol_to_cdecl \
14688 lt_cv_sys_global_symbol_to_c_name_address \
14689 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14690 lt_prog_compiler_no_builtin_flag \
14691 lt_prog_compiler_wl \
14692 lt_prog_compiler_pic \
14693 lt_prog_compiler_static \
14694 lt_cv_prog_compiler_c_o \
14702 export_dynamic_flag_spec \
14703 whole_archive_flag_spec \
14704 compiler_needs_object \
14706 allow_undefined_flag \
14707 no_undefined_flag \
14708 hardcode_libdir_flag_spec \
14709 hardcode_libdir_flag_spec_ld \
14710 hardcode_libdir_separator \
14715 variables_saved_for_relink \
14717 library_names_spec \
14719 install_override_mode \
14723 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14724 *[\\\\\\\`\\"\\\$]*)
14725 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14728 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14733 # Double-quote double-evaled strings.
14734 for var in reload_cmds \
14735 old_postinstall_cmds \
14736 old_postuninstall_cmds \
14738 extract_expsyms_cmds \
14739 old_archive_from_new_cmds \
14740 old_archive_from_expsyms_cmds \
14742 archive_expsym_cmds \
14744 module_expsym_cmds \
14745 export_symbols_cmds \
14748 postuninstall_cmds \
14750 sys_lib_search_path_spec \
14751 sys_lib_dlsearch_path_spec; do
14752 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14753 *[\\\\\\\`\\"\\\$]*)
14754 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14757 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14762 ac_aux_dir='$ac_aux_dir'
14763 xsi_shell='$xsi_shell'
14764 lt_shell_append='$lt_shell_append'
14766 # See if we are running on zsh, and set the options which allow our
14767 # commands through without removal of \ escapes INIT.
14768 if test -n "\${ZSH_VERSION+set}" ; then
14769 setopt NO_GLOB_SUBST
14775 TIMESTAMP='$TIMESTAMP'
14781 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14785 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14787 # Handling of arguments.
14788 for ac_config_target
in $ac_config_targets
14790 case $ac_config_target in
14791 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
14792 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14793 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
14794 "arch-subdir.mk") CONFIG_FILES
="$CONFIG_FILES arch-subdir.mk" ;;
14795 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14797 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14802 # If the user did not use the arguments to specify the items to instantiate,
14803 # then the envvar interface is used. Set only those that are not.
14804 # We use the long form for the default assignment because of an extremely
14805 # bizarre bug on SunOS 4.1.3.
14806 if $ac_need_defaults; then
14807 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14808 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14809 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14812 # Have a temporary directory for convenience. Make it in the build tree
14813 # simply because there is no reason against having it here, and in addition,
14814 # creating and moving files from /tmp can sometimes cause problems.
14815 # Hook for its removal unless debugging.
14816 # Note that there is a small window in which the directory will not be cleaned:
14817 # after its creation but before its name has been assigned to `$tmp'.
14821 trap 'exit_status=$?
14822 : "${ac_tmp:=$tmp}"
14823 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14825 trap 'as_fn_exit 1' 1 2 13 15
14827 # Create a (secure) tmp directory for tmp files.
14830 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14834 tmp
=.
/conf$$
-$RANDOM
14835 (umask 077 && mkdir
"$tmp")
14836 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
14839 # Set up the scripts for CONFIG_FILES section.
14840 # No need to generate them if there are no CONFIG_FILES.
14841 # This happens for instance with `./config.status config.h'.
14842 if test -n "$CONFIG_FILES"; then
14845 ac_cr
=`echo X | tr X '\015'`
14846 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14847 # But we know of no other shell where ac_cr would be empty at this
14848 # point, so we can use a bashism as a fallback.
14849 if test "x$ac_cr" = x
; then
14850 eval ac_cr
=\$
\'\\r
\'
14852 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14853 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14856 ac_cs_awk_cr
=$ac_cr
14859 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14864 echo "cat >conf$$subs.awk <<_ACEOF" &&
14865 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14867 } >conf$$subs.sh ||
14868 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14869 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14871 for ac_last_try in false false false false false :; do
14872 . ./conf$$subs.sh ||
14873 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14875 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14876 if test $ac_delim_n = $ac_delim_num; then
14878 elif $ac_last_try; then
14879 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14881 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14884 rm -f conf$$subs.sh
14886 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14887 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
14891 s/^/S["/; s
/!.
*/"]=/
14901 s/\(.\{148\}\)..*/\1/
14903 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14908 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14915 s/\(.\{148\}\)..*/\1/
14917 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14921 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14926 ' <conf$$subs.awk | sed '
14931 ' >>$CONFIG_STATUS || ac_write_fail=1
14932 rm -f conf$$subs.awk
14933 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14935 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
14936 for (key in S) S_is_set[key] = 1
14942 nfields = split(line, field, "@
")
14944 len = length(field[1])
14945 for (i = 2; i < nfields; i++) {
14947 keylen = length(key)
14948 if (S_is_set[key]) {
14950 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14951 len += length(value) + length(field[++i])
14962 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14963 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14964 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14967 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
14968 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
14971 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14972 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
14973 # trailing colons and then remove the whole line if VPATH becomes empty
14974 # (actually we leave an empty line to preserve line numbers).
14975 if test "x
$srcdir" = x.; then
14976 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14995 fi # test -n "$CONFIG_FILES"
14997 # Set up the scripts for CONFIG_HEADERS section.
14998 # No need to generate them if there are no CONFIG_HEADERS.
14999 # This happens for instance with `./config.status Makefile'.
15000 if test -n "$CONFIG_HEADERS"; then
15001 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15005 # Transform confdefs.h into an awk script `defines.awk', embedded as
15006 # here-document in config.status, that substitutes the proper values into
15007 # config.h.in to produce config.h.
15009 # Create a delimiter string that does not exist in confdefs.h, to ease
15010 # handling of long lines.
15012 for ac_last_try in false false :; do
15013 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15014 if test -z "$ac_tt"; then
15016 elif $ac_last_try; then
15017 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15019 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15023 # For the awk script, D is an array of macro values keyed by name,
15024 # likewise P contains macro parameters if any. Preserve backslash
15025 # newline sequences.
15027 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15029 s/.\{148\}/&'"$ac_delim"'/g
15032 s/^[ ]*#[ ]*define[ ][ ]*/ /
15039 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15041 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15045 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15046 D["\
1"]=" \
3\\\\\\n
"\\/p
15048 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15053 s/.\{148\}/&'"$ac_delim"'/g
15058 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15061 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15063 ' <confdefs.h | sed '
15064 s/'"$ac_delim"'/"\\\
15065 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15067 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15068 for (key in D) D_is_set[key] = 1
15071 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15073 split(line, arg, " ")
15074 if (arg[1] == "#") {
15078 defundef
= substr
(arg
[1], 2)
15081 split(mac1
, mac2
, "(") #)
15083 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15084 if (D_is_set
[macro
]) {
15085 # Preserve the white space surrounding the "#".
15086 print prefix
"define", macro P
[macro
] D
[macro
]
15089 # Replace #undef with comments. This is necessary, for example,
15090 # in the case of _POSIX_SOURCE, which is predefined and required
15091 # on some systems where configure will not decide to define it.
15092 if (defundef
== "undef") {
15093 print
"/*", prefix defundef
, macro
, "*/"
15101 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15102 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15103 fi # test -n "$CONFIG_HEADERS"
15106 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15111 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15113 case $ac_mode$ac_tag in
15115 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15116 :[FH
]-) ac_tag
=-:-;;
15117 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15134 -) ac_f
="$ac_tmp/stdin";;
15135 *) # Look for the file first in the build tree, then in the source tree
15136 # (if the path is not absolute). The absolute path cannot be DOS-style,
15137 # because $ac_f cannot contain `:'.
15141 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15143 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15145 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15146 as_fn_append ac_file_inputs
" '$ac_f'"
15149 # Let's still pretend it is `configure' which instantiates (i.e., don't
15150 # use $as_me), people would be surprised to read:
15151 # /* config.h. Generated by config.status. */
15152 configure_input
='Generated from '`
15153 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15155 if test x
"$ac_file" != x-
; then
15156 configure_input
="$ac_file. $configure_input"
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15158 $as_echo "$as_me: creating $ac_file" >&6;}
15160 # Neutralize special characters interpreted by sed in replacement strings.
15161 case $configure_input in #(
15162 *\
&* |
*\|
* |
*\\* )
15163 ac_sed_conf_input
=`$as_echo "$configure_input" |
15164 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15165 *) ac_sed_conf_input
=$configure_input;;
15169 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15170 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15175 ac_dir
=`$as_dirname -- "$ac_file" ||
15176 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15177 X"$ac_file" : 'X\(//\)[^/]' \| \
15178 X"$ac_file" : 'X\(//\)$' \| \
15179 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15180 $as_echo X"$ac_file" |
15181 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15185 /^X\(\/\/\)[^/].*/{
15198 as_dir
="$ac_dir"; as_fn_mkdir_p
15202 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15204 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15205 # A ".." for each directory in $ac_dir_suffix.
15206 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15207 case $ac_top_builddir_sub in
15208 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15209 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15212 ac_abs_top_builddir
=$ac_pwd
15213 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15214 # for backward compatibility:
15215 ac_top_builddir
=$ac_top_build_prefix
15218 .
) # We are building in place.
15220 ac_top_srcdir
=$ac_top_builddir_sub
15221 ac_abs_top_srcdir
=$ac_pwd ;;
15222 [\\/]* | ?
:[\\/]* ) # Absolute name.
15223 ac_srcdir
=$srcdir$ac_dir_suffix;
15224 ac_top_srcdir
=$srcdir
15225 ac_abs_top_srcdir
=$srcdir ;;
15226 *) # Relative name.
15227 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15228 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15229 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15231 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15241 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15242 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15244 ac_MKDIR_P
=$MKDIR_P
15246 [\\/$
]* | ?
:[\\/]* ) ;;
15247 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15251 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15252 # If the template does not know about datarootdir, expand it.
15253 # FIXME: This hack should be removed a few years after 2.60.
15254 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15265 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15266 *datarootdir
*) ac_datarootdir_seen
=yes;;
15267 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15269 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15271 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15272 ac_datarootdir_hack='
15273 s&@datadir@&$datadir&g
15274 s&@docdir@&$docdir&g
15275 s&@infodir@&$infodir&g
15276 s&@localedir@&$localedir&g
15277 s&@mandir@&$mandir&g
15278 s&\\\${datarootdir}&$datarootdir&g' ;;
15282 # Neutralize VPATH when `$srcdir' = `.'.
15283 # Shell code in configure.ac might set extrasub.
15284 # FIXME: do we really want to maintain this feature?
15285 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15286 ac_sed_extra="$ac_vpsub
15289 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15291 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15292 s|@configure_input@|
$ac_sed_conf_input|
;t t
15293 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15294 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15295 s
&@srcdir@
&$ac_srcdir&;t t
15296 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15297 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15298 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15299 s
&@builddir@
&$ac_builddir&;t t
15300 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15301 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15302 s
&@INSTALL@
&$ac_INSTALL&;t t
15303 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15304 $ac_datarootdir_hack
15306 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15307 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15309 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15310 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15311 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15312 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15314 which seems to be undefined. Please make sure it is defined" >&5
15315 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15316 which seems to be undefined. Please make sure it is defined" >&2;}
15318 rm -f "$ac_tmp/stdin"
15320 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15321 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15323 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15329 if test x"$ac_file" != x-; then
15331 $as_echo "/* $configure_input */" \
15332 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15333 } >"$ac_tmp/config.h" \
15334 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15335 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15337 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15340 mv "$ac_tmp/config.h" "$ac_file" \
15341 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15344 $as_echo "/* $configure_input */" \
15345 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15346 || as_fn_error $? "could not create -" "$LINENO" 5
15348 # Compute "$ac_file"'s index
in $config_headers.
15351 for _am_header
in $config_headers :; do
15352 case $_am_header in
15353 $_am_arg |
$_am_arg:* )
15356 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15359 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15360 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15361 X"$_am_arg" : 'X\(//\)[^/]' \| \
15362 X"$_am_arg" : 'X\(//\)$' \| \
15363 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15364 $as_echo X"$_am_arg" |
15365 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15369 /^X\(\/\/\)[^/].*/{
15381 s/.*/./; q'`/stamp-h
$_am_stamp_count
15384 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15385 $as_echo "$as_me: executing $ac_file commands" >&6;}
15390 case $ac_file$ac_mode in
15393 # See if we are running on zsh, and set the options which allow our
15394 # commands through without removal of \ escapes.
15395 if test -n "${ZSH_VERSION+set}" ; then
15396 setopt NO_GLOB_SUBST
15399 cfgfile
="${ofile}T"
15400 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15403 cat <<_LT_EOF >> "$cfgfile"
15406 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15407 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15408 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15409 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15411 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15412 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
15413 # Written by Gordon Matzigkeit, 1996
15415 # This file is part of GNU Libtool.
15417 # GNU Libtool is free software; you can redistribute it and/or
15418 # modify it under the terms of the GNU General Public License as
15419 # published by the Free Software Foundation; either version 2 of
15420 # the License, or (at your option) any later version.
15422 # As a special exception to the GNU General Public License,
15423 # if you distribute this file as part of a program or library that
15424 # is built using GNU Libtool, you may include this file under the
15425 # same distribution terms that you use for the rest of that program.
15427 # GNU Libtool is distributed in the hope that it will be useful,
15428 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15429 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15430 # GNU General Public License for more details.
15432 # You should have received a copy of the GNU General Public License
15433 # along with GNU Libtool; see the file COPYING. If not, a copy
15434 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15435 # obtained by writing to the Free Software Foundation, Inc.,
15436 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15439 # The names of the tagged configurations supported by this script.
15442 # ### BEGIN LIBTOOL CONFIG
15444 # Which release of libtool.m4 was used?
15445 macro_version=$macro_version
15446 macro_revision=$macro_revision
15448 # Whether or not to build shared libraries.
15449 build_libtool_libs=$enable_shared
15451 # Whether or not to build static libraries.
15452 build_old_libs=$enable_static
15454 # What type of objects to build.
15457 # Whether or not to optimize for fast installation.
15458 fast_install=$enable_fast_install
15460 # Shell to use when invoking shell scripts.
15463 # An echo program that protects backslashes.
15467 host_alias=$host_alias
15471 # The build system.
15472 build_alias=$build_alias
15476 # A sed program that does not truncate output.
15479 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15480 Xsed="\$SED -e 1s/^X//"
15482 # A grep program that handles long lines.
15488 # A literal string matcher.
15491 # A BSD- or MS-compatible name lister.
15494 # Whether we need soft or hard links.
15497 # What is the maximum length of a command?
15498 max_cmd_len=$max_cmd_len
15500 # Object file suffix (normally "o").
15503 # Executable file suffix (normally "").
15506 # whether the shell understands "unset".
15509 # turn spaces into newlines.
15512 # turn newlines into spaces.
15515 # An object symbol dumper.
15516 OBJDUMP=$lt_OBJDUMP
15518 # Method to check whether dependent libraries are shared objects.
15519 deplibs_check_method=$lt_deplibs_check_method
15521 # Command to use when deplibs_check_method == "file_magic".
15522 file_magic_cmd=$lt_file_magic_cmd
15526 AR_FLAGS=$lt_AR_FLAGS
15528 # A symbol stripping program.
15531 # Commands used to install an old-style archive.
15533 old_postinstall_cmds=$lt_old_postinstall_cmds
15534 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15536 # Whether to use a lock for old archive extraction.
15537 lock_old_archive_extraction=$lock_old_archive_extraction
15542 # LTCC compiler flags.
15543 LTCFLAGS=$lt_CFLAGS
15545 # Take the output of nm and produce a listing of raw symbols and C names.
15546 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15548 # Transform the output of nm in a proper C declaration.
15549 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15551 # Transform the output of nm in a C name address pair.
15552 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15554 # Transform the output of nm in a C name address pair when lib prefix is needed.
15555 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15557 # The name of the directory that contains temporary libtool files.
15560 # Used to examine libraries when file_magic_cmd begins with "file".
15561 MAGIC_CMD=$MAGIC_CMD
15563 # Must we lock files when doing compilation?
15564 need_locks=$lt_need_locks
15566 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15567 DSYMUTIL=$lt_DSYMUTIL
15569 # Tool to change global to local symbols on Mac OS X.
15572 # Tool to manipulate fat objects and archives on Mac OS X.
15575 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15578 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15579 OTOOL64=$lt_OTOOL64
15581 # Old archive suffix (normally "a").
15584 # Shared library suffix (normally ".so").
15585 shrext_cmds=$lt_shrext_cmds
15587 # The commands to extract the exported symbol list from a shared archive.
15588 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15590 # Variables whose values should be saved in libtool wrapper scripts and
15591 # restored at link time.
15592 variables_saved_for_relink=$lt_variables_saved_for_relink
15594 # Do we need the "lib" prefix for modules?
15595 need_lib_prefix=$need_lib_prefix
15597 # Do we need a version for libraries?
15598 need_version=$need_version
15600 # Library versioning type.
15601 version_type=$version_type
15603 # Shared library runtime path variable.
15604 runpath_var=$runpath_var
15606 # Shared library path variable.
15607 shlibpath_var=$shlibpath_var
15609 # Is shlibpath searched before the hard-coded library search path?
15610 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15612 # Format of library name prefix.
15613 libname_spec=$lt_libname_spec
15615 # List of archive names. First name is the real one, the rest are links.
15616 # The last name is the one that the linker finds with -lNAME
15617 library_names_spec=$lt_library_names_spec
15619 # The coded name of the library, if different from the real name.
15620 soname_spec=$lt_soname_spec
15622 # Permission mode override for installation of shared libraries.
15623 install_override_mode=$lt_install_override_mode
15625 # Command to use after installation of a shared archive.
15626 postinstall_cmds=$lt_postinstall_cmds
15628 # Command to use after uninstallation of a shared archive.
15629 postuninstall_cmds=$lt_postuninstall_cmds
15631 # Commands used to finish a libtool library installation in a directory.
15632 finish_cmds=$lt_finish_cmds
15634 # As "finish_cmds", except a single script fragment to be evaled but
15636 finish_eval=$lt_finish_eval
15638 # Whether we should hardcode library paths into libraries.
15639 hardcode_into_libs=$hardcode_into_libs
15641 # Compile-time system search path for libraries.
15642 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15644 # Run-time system search path for libraries.
15645 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15647 # Whether dlopen is supported.
15648 dlopen_support=$enable_dlopen
15650 # Whether dlopen of programs is supported.
15651 dlopen_self=$enable_dlopen_self
15653 # Whether dlopen of statically linked programs is supported.
15654 dlopen_self_static=$enable_dlopen_self_static
15656 # Commands to strip libraries.
15657 old_striplib=$lt_old_striplib
15658 striplib=$lt_striplib
15661 # The linker used to build libraries.
15664 # How to create reloadable object files.
15665 reload_flag=$lt_reload_flag
15666 reload_cmds=$lt_reload_cmds
15668 # Commands used to build an old-style archive.
15669 old_archive_cmds=$lt_old_archive_cmds
15671 # A language specific compiler.
15674 # Is the compiler the GNU compiler?
15677 # Compiler flag to turn off builtin functions.
15678 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15680 # How to pass a linker flag through the compiler.
15681 wl=$lt_lt_prog_compiler_wl
15683 # Additional compiler flags for building library objects.
15684 pic_flag=$lt_lt_prog_compiler_pic
15686 # Compiler flag to prevent dynamic linking.
15687 link_static_flag=$lt_lt_prog_compiler_static
15689 # Does compiler simultaneously support -c and -o options?
15690 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15692 # Whether or not to add -lc for building shared libraries.
15693 build_libtool_need_lc=$archive_cmds_need_lc
15695 # Whether or not to disallow shared libs when runtime libs are static.
15696 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15698 # Compiler flag to allow reflexive dlopens.
15699 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15701 # Compiler flag to generate shared objects directly from archives.
15702 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15704 # Whether the compiler copes with passing no objects directly.
15705 compiler_needs_object=$lt_compiler_needs_object
15707 # Create an old-style archive from a shared archive.
15708 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15710 # Create a temporary old-style archive to link instead of a shared archive.
15711 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15713 # Commands used to build a shared archive.
15714 archive_cmds=$lt_archive_cmds
15715 archive_expsym_cmds=$lt_archive_expsym_cmds
15717 # Commands used to build a loadable module if different from building
15718 # a shared archive.
15719 module_cmds=$lt_module_cmds
15720 module_expsym_cmds=$lt_module_expsym_cmds
15722 # Whether we are building with GNU ld or not.
15723 with_gnu_ld=$lt_with_gnu_ld
15725 # Flag that allows shared libraries with undefined symbols to be built.
15726 allow_undefined_flag=$lt_allow_undefined_flag
15728 # Flag that enforces no undefined symbols.
15729 no_undefined_flag=$lt_no_undefined_flag
15731 # Flag to hardcode \$libdir into a binary during linking.
15732 # This must work even if \$libdir does not exist
15733 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15735 # If ld is used when linking, flag to hardcode \$libdir into a binary
15736 # during linking. This must work even if \$libdir does not exist.
15737 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15739 # Whether we need a single "-rpath" flag with a separated argument.
15740 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15742 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15743 # DIR into the resulting binary.
15744 hardcode_direct=$hardcode_direct
15746 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15747 # DIR into the resulting binary and the resulting library dependency is
15748 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15749 # library is relocated.
15750 hardcode_direct_absolute=$hardcode_direct_absolute
15752 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15753 # into the resulting binary.
15754 hardcode_minus_L=$hardcode_minus_L
15756 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15757 # into the resulting binary.
15758 hardcode_shlibpath_var=$hardcode_shlibpath_var
15760 # Set to "yes" if building a shared library automatically hardcodes DIR
15761 # into the library and all subsequent libraries and executables linked
15763 hardcode_automatic=$hardcode_automatic
15765 # Set to yes if linker adds runtime paths of dependent libraries
15766 # to runtime path list.
15767 inherit_rpath=$inherit_rpath
15769 # Whether libtool must link a program against all its dependency libraries.
15770 link_all_deplibs=$link_all_deplibs
15772 # Fix the shell variable \$srcfile for the compiler.
15773 fix_srcfile_path=$lt_fix_srcfile_path
15775 # Set to "yes" if exported symbols are required.
15776 always_export_symbols=$always_export_symbols
15778 # The commands to list exported symbols.
15779 export_symbols_cmds=$lt_export_symbols_cmds
15781 # Symbols that should not be listed in the preloaded symbols.
15782 exclude_expsyms=$lt_exclude_expsyms
15784 # Symbols that must always be exported.
15785 include_expsyms=$lt_include_expsyms
15787 # Commands necessary for linking programs (against libraries) with templates.
15788 prelink_cmds=$lt_prelink_cmds
15790 # Specify filename containing input files.
15791 file_list_spec=$lt_file_list_spec
15793 # How to hardcode a shared library path into an executable.
15794 hardcode_action=$hardcode_action
15796 # ### END LIBTOOL CONFIG
15802 cat <<\_LT_EOF
>> "$cfgfile"
15803 # AIX sometimes has problems with the GCC collect2 program. For some
15804 # reason, if we set the COLLECT_NAMES environment variable, the problems
15805 # vanish in a puff of smoke.
15806 if test "X${COLLECT_NAMES+set}" != Xset
; then
15808 export COLLECT_NAMES
15815 ltmain
="$ac_aux_dir/ltmain.sh"
15818 # We use sed instead of cat because bash on DJGPP gets confused if
15819 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15820 # text mode, it properly converts lines to CR/LF. This bash problem
15821 # is reportedly fixed, but why not run on old versions too?
15822 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15823 ||
(rm -f "$cfgfile"; exit 1)
15827 cat << \_LT_EOF
>> "$cfgfile"
15829 # func_dirname file append nondir_replacement
15830 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15831 # otherwise set result to NONDIR_REPLACEMENT.
15835 */*) func_dirname_result
="${1%/*}${2}" ;;
15836 * ) func_dirname_result
="${3}" ;;
15840 # func_basename file
15843 func_basename_result
="${1##*/}"
15846 # func_dirname_and_basename file append nondir_replacement
15847 # perform func_basename and func_dirname in a single function
15849 # dirname: Compute the dirname of FILE. If nonempty,
15850 # add APPEND to the result, otherwise set result
15851 # to NONDIR_REPLACEMENT.
15852 # value returned in "$func_dirname_result"
15853 # basename: Compute filename of FILE.
15854 # value retuned in "$func_basename_result"
15855 # Implementation must be kept synchronized with func_dirname
15856 # and func_basename. For efficiency, we do not delegate to
15857 # those functions but instead duplicate the functionality here.
15858 func_dirname_and_basename
()
15861 */*) func_dirname_result
="${1%/*}${2}" ;;
15862 * ) func_dirname_result
="${3}" ;;
15864 func_basename_result
="${1##*/}"
15867 # func_stripname prefix suffix name
15868 # strip PREFIX and SUFFIX off of NAME.
15869 # PREFIX and SUFFIX must not contain globbing or regex special
15870 # characters, hashes, percent signs, but SUFFIX may contain a leading
15871 # dot (in which case that matches only a dot).
15874 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15875 # positional parameters, so assign one to ordinary parameter first.
15876 func_stripname_result
=${3}
15877 func_stripname_result
=${func_stripname_result#"${1}"}
15878 func_stripname_result
=${func_stripname_result%"${2}"}
15884 func_opt_split_opt
=${1%%=*}
15885 func_opt_split_arg
=${1#*=}
15892 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15893 *) func_lo2o_result
=${1} ;;
15897 # func_xform libobj-or-source
15900 func_xform_result
=${1%.*}.lo
15903 # func_arith arithmetic-term...
15906 func_arith_result
=$
(( $
* ))
15910 # STRING may not start with a hyphen.
15913 func_len_result
=${#1}
15918 *) # Bourne compatible functions.
15919 cat << \_LT_EOF
>> "$cfgfile"
15921 # func_dirname file append nondir_replacement
15922 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15923 # otherwise set result to NONDIR_REPLACEMENT.
15926 # Extract subdirectory from the argument.
15927 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
15928 if test "X$func_dirname_result" = "X${1}"; then
15929 func_dirname_result
="${3}"
15931 func_dirname_result
="$func_dirname_result${2}"
15935 # func_basename file
15938 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
15942 # func_stripname prefix suffix name
15943 # strip PREFIX and SUFFIX off of NAME.
15944 # PREFIX and SUFFIX must not contain globbing or regex special
15945 # characters, hashes, percent signs, but SUFFIX may contain a leading
15946 # dot (in which case that matches only a dot).
15947 # func_strip_suffix prefix name
15951 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
15952 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
15957 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15958 my_sed_long_arg
='1s/^-[^=]*=//'
15963 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
15964 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
15970 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
15973 # func_xform libobj-or-source
15976 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
15979 # func_arith arithmetic-term...
15982 func_arith_result
=`expr "$@"`
15986 # STRING may not start with a hyphen.
15989 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15995 case $lt_shell_append in
15997 cat << \_LT_EOF
>> "$cfgfile"
15999 # func_append var value
16000 # Append VALUE to the end of shell variable VAR.
16008 cat << \_LT_EOF
>> "$cfgfile"
16010 # func_append var value
16011 # Append VALUE to the end of shell variable VAR.
16022 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16023 ||
(rm -f "$cfgfile"; exit 1)
16025 mv -f "$cfgfile" "$ofile" ||
16026 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16030 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
16031 # Older Autoconf quotes --file arguments for eval, but not when files
16032 # are listed without --file. Let's play safe and only enable the eval
16033 # if we detect the quoting.
16034 case $CONFIG_FILES in
16035 *\'*) eval set x
"$CONFIG_FILES" ;;
16036 *) set x
$CONFIG_FILES ;;
16041 # Strip MF so we end up with the name of the file.
16042 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16043 # Check whether this is an Automake generated Makefile or not.
16044 # We used to match only the files named 'Makefile.in', but
16045 # some people rename them; so instead we look at the file content.
16046 # Grep'ing the first line is not enough: some people post-process
16047 # each Makefile.in and add a new line on top of each file to say so.
16048 # Grep'ing the whole file is not good either: AIX grep has a line
16049 # limit of 2048, but all sed's we know have understand at least 4000.
16050 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16051 dirpart
=`$as_dirname -- "$mf" ||
16052 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16053 X"$mf" : 'X\(//\)[^/]' \| \
16054 X"$mf" : 'X\(//\)$' \| \
16055 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16057 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16061 /^X\(\/\/\)[^/].*/{
16077 # Extract the definition of DEPDIR, am__include, and am__quote
16078 # from the Makefile without running 'make'.
16079 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16080 test -z "$DEPDIR" && continue
16081 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16082 test -z "$am__include" && continue
16083 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16084 # Find all dependency output files, they are included files with
16085 # $(DEPDIR) in their names. We invoke sed twice because it is the
16086 # simplest approach to changing $(DEPDIR) to its actual value in the
16088 for file in `sed -n "
16089 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16090 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16091 # Make sure the directory exists.
16092 test -f "$dirpart/$file" && continue
16093 fdir
=`$as_dirname -- "$file" ||
16094 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16095 X"$file" : 'X\(//\)[^/]' \| \
16096 X"$file" : 'X\(//\)$' \| \
16097 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16098 $as_echo X"$file" |
16099 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16103 /^X\(\/\/\)[^/].*/{
16116 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16117 # echo "creating $dirpart/$file"
16118 echo '# dummy' > "$dirpart/$file"
16130 ac_clean_files
=$ac_clean_files_save
16132 test $ac_write_fail = 0 ||
16133 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16136 # configure is writing to config.log, and then calls config.status.
16137 # config.status does its own redirection, appending to config.log.
16138 # Unfortunately, on DOS this fails, as config.log is still kept open
16139 # by configure, so config.status won't be able to write to it; its
16140 # output is simply discarded. So we exec the FD to /dev/null,
16141 # effectively closing config.log, so it can be properly (re)opened and
16142 # appended to by config.status. When coming back to configure, we
16143 # need to make the FD available again.
16144 if test "$no_create" != yes; then
16146 ac_config_status_args
=
16147 test "$silent" = yes &&
16148 ac_config_status_args
="$ac_config_status_args --quiet"
16150 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16152 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16153 # would make configure fail if this is the last instruction.
16154 $ac_cs_success || as_fn_exit
1
16158 # CONFIG_SUBDIRS section.
16160 if test "$no_recursion" != yes; then
16162 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
16163 # so they do not pile up.
16164 ac_sub_configure_args
=
16166 eval "set x $ac_configure_args"
16170 if test -n "$ac_prev"; then
16175 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
16176 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
16177 ac_prev
=cache_file
;;
16178 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
16179 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
16182 --config-cache |
-C)
16184 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
16186 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
16188 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
16190 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
16192 --disable-option-checking)
16196 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16198 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
16202 # Always prepend --prefix to ensure using the same prefix
16203 # in subdir configurations.
16204 ac_arg
="--prefix=$prefix"
16206 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16208 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
16211 if test "$silent" = yes; then
16212 ac_sub_configure_args
="--silent $ac_sub_configure_args"
16215 # Always prepend --disable-option-checking to silence warnings, since
16216 # different subdirs can have different --enable and --with options.
16217 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
16220 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
16222 # Do not complain, so a configure script can configure whichever
16223 # parts of a large source tree are present.
16224 test -d "$srcdir/$ac_dir" ||
continue
16226 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16227 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16228 $as_echo "$ac_msg" >&6
16229 as_dir
="$ac_dir"; as_fn_mkdir_p
16233 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16235 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16236 # A ".." for each directory in $ac_dir_suffix.
16237 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16238 case $ac_top_builddir_sub in
16239 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16240 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16243 ac_abs_top_builddir
=$ac_pwd
16244 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16245 # for backward compatibility:
16246 ac_top_builddir
=$ac_top_build_prefix
16249 .
) # We are building in place.
16251 ac_top_srcdir
=$ac_top_builddir_sub
16252 ac_abs_top_srcdir
=$ac_pwd ;;
16253 [\\/]* | ?
:[\\/]* ) # Absolute name.
16254 ac_srcdir
=$srcdir$ac_dir_suffix;
16255 ac_top_srcdir
=$srcdir
16256 ac_abs_top_srcdir
=$srcdir ;;
16257 *) # Relative name.
16258 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16259 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16260 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16262 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16267 # Check for guested configure; otherwise get Cygnus style configure.
16268 if test -f "$ac_srcdir/configure.gnu"; then
16269 ac_sub_configure
=$ac_srcdir/configure.gnu
16270 elif test -f "$ac_srcdir/configure"; then
16271 ac_sub_configure
=$ac_srcdir/configure
16272 elif test -f "$ac_srcdir/configure.in"; then
16273 # This should be Cygnus configure.
16274 ac_sub_configure
=$ac_aux_dir/configure
16276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16277 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16281 # The recursion is here.
16282 if test -n "$ac_sub_configure"; then
16283 # Make the cache file name correct relative to the subdirectory.
16284 case $cache_file in
16285 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
16286 *) # Relative name.
16287 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
16290 { $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
16291 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16292 # The eval makes quoting arguments work.
16293 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16294 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16295 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16301 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16303 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}