2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for libffi 3.99999.
5 # Report bugs to <http://github.com/atgreen/libffi/issues>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
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.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x
; then
137 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required
="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
176 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179 PATH=/empty FPATH=/empty; export PATH FPATH
180 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
181 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
182 test \$(( 1 + 1 )) = 2 || exit 1"
183 if (eval "$as_required") 2>/dev
/null
; then :
188 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
193 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
196 test -z "$as_dir" && as_dir
=.
200 for as_base
in sh bash ksh sh5
; do
201 # Try only shells that exist, to save several forks.
202 as_shell
=$as_dir/$as_base
203 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
204 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
205 CONFIG_SHELL
=$as_shell as_have_required
=yes
206 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
214 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
215 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
216 CONFIG_SHELL
=$SHELL as_have_required
=yes
221 if test "x$CONFIG_SHELL" != x
; then :
222 # We cannot yet assume a decent shell, so we have to provide a
223 # neutralization value for shells without unset; and this also
224 # works around shells that cannot unset nonexistent variables.
227 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
229 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
232 if test x
$as_have_required = xno
; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x
${ZSH_VERSION+set} = xset
; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239 $as_echo "$0: Please tell bug-autoconf@gnu.org and
240 $0: http://github.com/atgreen/libffi/issues about your
241 $0: system, including any error possibly output before this
242 $0: message. Then install a modern shell, or manually run
243 $0: the script under such a shell if you do have one."
249 SHELL
=${CONFIG_SHELL-/bin/sh}
251 # Unset more variables known to interfere with behavior of common tools.
252 CLICOLOR_FORCE
= GREP_OPTIONS
=
253 unset CLICOLOR_FORCE GREP_OPTIONS
255 ## --------------------- ##
256 ## M4sh Shell Functions. ##
257 ## --------------------- ##
260 # Portably unset VAR.
263 { eval $1=; unset $1;}
267 # as_fn_set_status STATUS
268 # -----------------------
269 # Set $? to STATUS, without forking.
277 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
287 # Create "$as_dir" as a directory, including parents if necessary.
292 -*) as_dir
=.
/$as_dir;;
294 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
298 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
301 as_dirs
="'$as_qdir' $as_dirs"
302 as_dir
=`$as_dirname -- "$as_dir" ||
303 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
304 X"$as_dir" : 'X\(//\)[^/]' \| \
305 X"$as_dir" : 'X\(//\)$' \| \
306 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
307 $as_echo X"$as_dir" |
308 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
325 test -d "$as_dir" && break
327 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
328 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
332 # as_fn_append VAR VALUE
333 # ----------------------
334 # Append the text in VALUE to the end of the definition contained in VAR. Take
335 # advantage of any shell optimizations that allow amortized linear growth over
336 # repeated appends, instead of the typical quadratic growth present in naive
338 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
339 eval 'as_fn_append ()
352 # Perform arithmetic evaluation on the ARGs, and store the result in the
353 # global $as_val. Take advantage of shells that can avoid forks. The arguments
354 # must be portable across $(()) and expr.
355 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
363 as_val
=`expr "$@" || test $? -eq 1`
368 # as_fn_error ERROR [LINENO LOG_FD]
369 # ---------------------------------
370 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
371 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
372 # script with status $?, using 1 if that was 0.
375 as_status
=$?
; test $as_status -eq 0 && as_status
=1
377 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
378 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
380 $as_echo "$as_me: error: $1" >&2
381 as_fn_exit
$as_status
384 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
385 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
391 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
397 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
403 as_me
=`$as_basename -- "$0" ||
404 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
405 X"$0" : 'X\(//\)$' \| \
406 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
408 sed '/^.*\/\([^/][^/]*\)\/*$/{
422 # Avoid depending upon Character Ranges.
423 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
424 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
425 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
426 as_cr_digits
='0123456789'
427 as_cr_alnum
=$as_cr_Letters$as_cr_digits
430 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
431 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
432 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
433 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
434 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
446 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450 chmod +x
"$as_me.lineno" ||
451 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
453 # Don't try to exec as it changes $[0], causing all sort of problems
454 # (the dirname of $[0] is not the place where we might find the
455 # original and so on. Autoconf is especially sensitive to this).
457 # Exit status is that of the last command.
461 ECHO_C
= ECHO_N
= ECHO_T
=
462 case `echo -n x` in #(((((
464 case `echo 'xy\c'` in
465 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
467 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
474 rm -f conf$$ conf$$.exe conf$$.
file
475 if test -d conf$$.dir
; then
476 rm -f conf$$.dir
/conf$$.
file
479 mkdir conf$$.dir
2>/dev
/null
481 if (echo >conf$$.
file) 2>/dev
/null
; then
482 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
484 # ... but there are two gotchas:
485 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
486 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
487 # In both cases, we have to default to `cp -p'.
488 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
490 elif ln conf$$.
file conf$$
2>/dev
/null
; then
498 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
499 rmdir conf$$.dir
2>/dev
/null
501 if mkdir
-p .
2>/dev
/null
; then
502 as_mkdir_p
='mkdir -p "$as_dir"'
504 test -d .
/-p && rmdir .
/-p
508 if test -x / >/dev
/null
2>&1; then
511 if ls -dL / >/dev
/null
2>&1; then
518 if test -d "$1"; then
524 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
525 ???[sx]*):;;*)false;;esac;fi
529 as_executable_p
=$as_test_x
531 # Sed expression to map a string onto a valid CPP name.
532 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534 # Sed expression to map a string onto a valid variable name.
535 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537 SHELL
=${CONFIG_SHELL-/bin/sh}
540 exec 7<&0 </dev
/null
6>&1
543 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
544 # so uname gets run too.
545 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
550 ac_default_prefix
=/usr
/local
552 ac_config_libobj_dir
=.
559 # Identity of this package.
560 PACKAGE_NAME
='libffi'
561 PACKAGE_TARNAME
='libffi'
562 PACKAGE_VERSION
='3.99999'
563 PACKAGE_STRING
='libffi 3.99999'
564 PACKAGE_BUGREPORT
='http://github.com/atgreen/libffi/issues'
567 # Factoring default headers for most tests.
568 ac_includes_default
="\
570 #ifdef HAVE_SYS_TYPES_H
571 # include <sys/types.h>
573 #ifdef HAVE_SYS_STAT_H
574 # include <sys/stat.h>
580 # ifdef HAVE_STDLIB_H
585 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
590 #ifdef HAVE_STRINGS_H
591 # include <strings.h>
593 #ifdef HAVE_INTTYPES_H
594 # include <inttypes.h>
603 ac_subst_vars
='am__EXEEXT_FALSE
614 FFI_EXEC_TRAMPOLINE_TABLE
615 FFI_EXEC_TRAMPOLINE_TABLE_FALSE
616 FFI_EXEC_TRAMPOLINE_TABLE_TRUE
617 HAVE_LONG_DOUBLE_VARIANT
625 MAINTAINER_MODE_FALSE
647 am__fastdepCCAS_FALSE
686 INSTALL_STRIP_PROGRAM
741 program_transform_name
754 enable_option_checking
756 enable_generated_files_in_srcdir
757 enable_dependency_tracking
764 enable_maintainer_mode
771 ac_precious_vars
='build_alias
781 # Initialize some variables set by options.
783 ac_init_version
=false
784 ac_unrecognized_opts
=
786 # The variables have the same names as the options, with
787 # dashes changed to underlines.
795 program_transform_name
=s
,x
,x
,
803 # Installation directory options.
804 # These are left unexpanded so users can "make install exec_prefix=/foo"
805 # and all the variables that are supposed to be based on exec_prefix
806 # by default will actually change.
807 # Use braces instead of parens because sh, perl, etc. also accept them.
808 # (The list follows the same order as the GNU Coding Standards.)
809 bindir
='${exec_prefix}/bin'
810 sbindir
='${exec_prefix}/sbin'
811 libexecdir
='${exec_prefix}/libexec'
812 datarootdir
='${prefix}/share'
813 datadir
='${datarootdir}'
814 sysconfdir
='${prefix}/etc'
815 sharedstatedir
='${prefix}/com'
816 localstatedir
='${prefix}/var'
817 includedir
='${prefix}/include'
818 oldincludedir
='/usr/include'
819 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
820 infodir
='${datarootdir}/info'
825 libdir
='${exec_prefix}/lib'
826 localedir
='${datarootdir}/locale'
827 mandir
='${datarootdir}/man'
833 # If the previous option needs an argument, assign it.
834 if test -n "$ac_prev"; then
835 eval $ac_prev=\
$ac_option
841 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
845 # Accept the important Cygnus configure options, so we can diagnose typos.
847 case $ac_dashdash$ac_option in
851 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
853 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
856 -build |
--build |
--buil |
--bui |
--bu)
857 ac_prev
=build_alias
;;
858 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
859 build_alias
=$ac_optarg ;;
861 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
862 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
863 ac_prev
=cache_file
;;
864 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
865 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
866 cache_file
=$ac_optarg ;;
869 cache_file
=config.cache
;;
871 -datadir |
--datadir |
--datadi |
--datad)
873 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
874 datadir
=$ac_optarg ;;
876 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
877 |
--dataroo |
--dataro |
--datar)
878 ac_prev
=datarootdir
;;
879 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
880 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
881 datarootdir
=$ac_optarg ;;
883 -disable-* |
--disable-*)
884 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
885 # Reject names that are not valid shell variable names.
886 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
887 as_fn_error
"invalid feature name: $ac_useropt"
888 ac_useropt_orig
=$ac_useropt
889 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
890 case $ac_user_opts in
894 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
895 ac_unrecognized_sep
=', ';;
897 eval enable_
$ac_useropt=no
;;
899 -docdir |
--docdir |
--docdi |
--doc |
--do)
901 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
904 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
906 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
909 -enable-* |
--enable-*)
910 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
911 # Reject names that are not valid shell variable names.
912 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
913 as_fn_error
"invalid feature name: $ac_useropt"
914 ac_useropt_orig
=$ac_useropt
915 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
916 case $ac_user_opts in
920 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
921 ac_unrecognized_sep
=', ';;
923 eval enable_
$ac_useropt=\
$ac_optarg ;;
925 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
926 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
927 |
--exec |
--exe |
--ex)
928 ac_prev
=exec_prefix
;;
929 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
930 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
931 |
--exec=* |
--exe=* |
--ex=*)
932 exec_prefix
=$ac_optarg ;;
934 -gas |
--gas |
--ga |
--g)
935 # Obsolete; use --with-gas.
938 -help |
--help |
--hel |
--he |
-h)
940 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
941 ac_init_help
=recursive
;;
942 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
943 ac_init_help
=short
;;
945 -host |
--host |
--hos |
--ho)
946 ac_prev
=host_alias
;;
947 -host=* |
--host=* |
--hos=* |
--ho=*)
948 host_alias
=$ac_optarg ;;
950 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
952 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
954 htmldir
=$ac_optarg ;;
956 -includedir |
--includedir |
--includedi |
--included |
--include \
957 |
--includ |
--inclu |
--incl |
--inc)
958 ac_prev
=includedir
;;
959 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
960 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
961 includedir
=$ac_optarg ;;
963 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
965 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
966 infodir
=$ac_optarg ;;
968 -libdir |
--libdir |
--libdi |
--libd)
970 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
973 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
974 |
--libexe |
--libex |
--libe)
975 ac_prev
=libexecdir
;;
976 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
977 |
--libexe=* |
--libex=* |
--libe=*)
978 libexecdir
=$ac_optarg ;;
980 -localedir |
--localedir |
--localedi |
--localed |
--locale)
982 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
983 localedir
=$ac_optarg ;;
985 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
986 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
987 ac_prev
=localstatedir
;;
988 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
989 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
990 localstatedir
=$ac_optarg ;;
992 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
994 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
998 # Obsolete; use --without-fp.
1001 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1002 |
--no-cr |
--no-c |
-n)
1005 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1006 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1009 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1010 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1011 |
--oldin |
--oldi |
--old |
--ol |
--o)
1012 ac_prev
=oldincludedir
;;
1013 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1014 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1015 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1016 oldincludedir
=$ac_optarg ;;
1018 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1020 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1021 prefix
=$ac_optarg ;;
1023 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1024 |
--program-pre |
--program-pr |
--program-p)
1025 ac_prev
=program_prefix
;;
1026 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1027 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1028 program_prefix
=$ac_optarg ;;
1030 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1031 |
--program-suf |
--program-su |
--program-s)
1032 ac_prev
=program_suffix
;;
1033 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1034 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1035 program_suffix
=$ac_optarg ;;
1037 -program-transform-name |
--program-transform-name \
1038 |
--program-transform-nam |
--program-transform-na \
1039 |
--program-transform-n |
--program-transform- \
1040 |
--program-transform |
--program-transfor \
1041 |
--program-transfo |
--program-transf \
1042 |
--program-trans |
--program-tran \
1043 |
--progr-tra |
--program-tr |
--program-t)
1044 ac_prev
=program_transform_name
;;
1045 -program-transform-name=* |
--program-transform-name=* \
1046 |
--program-transform-nam=* |
--program-transform-na=* \
1047 |
--program-transform-n=* |
--program-transform-=* \
1048 |
--program-transform=* |
--program-transfor=* \
1049 |
--program-transfo=* |
--program-transf=* \
1050 |
--program-trans=* |
--program-tran=* \
1051 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1052 program_transform_name
=$ac_optarg ;;
1054 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1056 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1057 pdfdir
=$ac_optarg ;;
1059 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1061 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1064 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1065 |
-silent |
--silent |
--silen |
--sile |
--sil)
1068 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1070 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1072 sbindir
=$ac_optarg ;;
1074 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1075 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1076 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1078 ac_prev
=sharedstatedir
;;
1079 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1080 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1081 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1083 sharedstatedir
=$ac_optarg ;;
1085 -site |
--site |
--sit)
1087 -site=* |
--site=* |
--sit=*)
1090 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1092 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1093 srcdir
=$ac_optarg ;;
1095 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1096 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1097 ac_prev
=sysconfdir
;;
1098 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1099 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1100 sysconfdir
=$ac_optarg ;;
1102 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1103 ac_prev
=target_alias
;;
1104 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1105 target_alias
=$ac_optarg ;;
1107 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1110 -version |
--version |
--versio |
--versi |
--vers |
-V)
1111 ac_init_version
=: ;;
1114 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1115 # Reject names that are not valid shell variable names.
1116 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1117 as_fn_error
"invalid package name: $ac_useropt"
1118 ac_useropt_orig
=$ac_useropt
1119 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1120 case $ac_user_opts in
1124 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1125 ac_unrecognized_sep
=', ';;
1127 eval with_
$ac_useropt=\
$ac_optarg ;;
1129 -without-* |
--without-*)
1130 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1131 # Reject names that are not valid shell variable names.
1132 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1133 as_fn_error
"invalid package name: $ac_useropt"
1134 ac_useropt_orig
=$ac_useropt
1135 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1136 case $ac_user_opts in
1140 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1141 ac_unrecognized_sep
=', ';;
1143 eval with_
$ac_useropt=no
;;
1146 # Obsolete; use --with-x.
1149 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1150 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1151 ac_prev
=x_includes
;;
1152 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1153 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1154 x_includes
=$ac_optarg ;;
1156 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1157 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1158 ac_prev
=x_libraries
;;
1159 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1160 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1161 x_libraries
=$ac_optarg ;;
1163 -*) as_fn_error
"unrecognized option: \`$ac_option'
1164 Try \`$0 --help' for more information."
1168 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1169 # Reject names that are not valid shell variable names.
1170 case $ac_envvar in #(
1171 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1172 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1174 eval $ac_envvar=\
$ac_optarg
1175 export $ac_envvar ;;
1178 # FIXME: should be removed in autoconf 3.0.
1179 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1180 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1181 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1182 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1188 if test -n "$ac_prev"; then
1189 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1190 as_fn_error
"missing argument to $ac_option"
1193 if test -n "$ac_unrecognized_opts"; then
1194 case $enable_option_checking in
1196 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1197 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1201 # Check all directory arguments for consistency.
1202 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1203 datadir sysconfdir sharedstatedir localstatedir includedir \
1204 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1205 libdir localedir mandir
1207 eval ac_val
=\$
$ac_var
1208 # Remove trailing slashes.
1211 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1212 eval $ac_var=\
$ac_val;;
1214 # Be sure to have absolute directory names.
1216 [\\/$
]* | ?
:[\\/]* ) continue;;
1217 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1219 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1222 # There might be people who depend on the old broken behavior: `$host'
1223 # used to hold the argument of --host etc.
1224 # FIXME: To remove some day.
1227 target
=$target_alias
1229 # FIXME: To remove some day.
1230 if test "x$host_alias" != x
; then
1231 if test "x$build_alias" = x
; then
1232 cross_compiling
=maybe
1233 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1234 If a cross compiler is detected then cross compile mode will be used." >&2
1235 elif test "x$build_alias" != "x$host_alias"; then
1241 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1243 test "$silent" = yes && exec 6>/dev
/null
1246 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1247 ac_ls_di
=`ls -di .` &&
1248 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1249 as_fn_error
"working directory cannot be determined"
1250 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1251 as_fn_error
"pwd does not report name of working directory"
1254 # Find the source files, if location was not specified.
1255 if test -z "$srcdir"; then
1256 ac_srcdir_defaulted
=yes
1257 # Try the directory containing this script, then the parent directory.
1258 ac_confdir
=`$as_dirname -- "$as_myself" ||
1259 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1260 X"$as_myself" : 'X\(//\)[^/]' \| \
1261 X"$as_myself" : 'X\(//\)$' \| \
1262 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1263 $as_echo X"$as_myself" |
1264 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1282 if test ! -r "$srcdir/$ac_unique_file"; then
1286 ac_srcdir_defaulted
=no
1288 if test ! -r "$srcdir/$ac_unique_file"; then
1289 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1290 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1292 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1294 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1296 # When building in place, set srcdir=.
1297 if test "$ac_abs_confdir" = "$ac_pwd"; then
1300 # Remove unnecessary trailing slashes from srcdir.
1301 # Double slashes in file names in object file debugging info
1302 # mess up M-x gdb in Emacs.
1304 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1306 for ac_var
in $ac_precious_vars; do
1307 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1308 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1309 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1310 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1314 # Report the --help message.
1316 if test "$ac_init_help" = "long"; then
1317 # Omit some internal or obsolete options to make the list less imposing.
1318 # This message is too long to be a string in the A/UX 3.1 sh.
1320 \`configure' configures libffi 3.99999 to adapt to many kinds of systems.
1322 Usage: $0 [OPTION]... [VAR=VALUE]...
1324 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1325 VAR=VALUE. See below for descriptions of some of the useful variables.
1327 Defaults for the options are specified in brackets.
1330 -h, --help display this help and exit
1331 --help=short display options specific to this package
1332 --help=recursive display the short help of all the included packages
1333 -V, --version display version information and exit
1334 -q, --quiet, --silent do not print \`checking...' messages
1335 --cache-file=FILE cache test results in FILE [disabled]
1336 -C, --config-cache alias for \`--cache-file=config.cache'
1337 -n, --no-create do not create output files
1338 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1340 Installation directories:
1341 --prefix=PREFIX install architecture-independent files in PREFIX
1342 [$ac_default_prefix]
1343 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1346 By default, \`make install' will install all the files in
1347 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1348 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1349 for instance \`--prefix=\$HOME'.
1351 For better control, use the options below.
1353 Fine tuning of the installation directories:
1354 --bindir=DIR user executables [EPREFIX/bin]
1355 --sbindir=DIR system admin executables [EPREFIX/sbin]
1356 --libexecdir=DIR program executables [EPREFIX/libexec]
1357 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1358 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1359 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1360 --libdir=DIR object code libraries [EPREFIX/lib]
1361 --includedir=DIR C header files [PREFIX/include]
1362 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1363 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1364 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1365 --infodir=DIR info documentation [DATAROOTDIR/info]
1366 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1367 --mandir=DIR man documentation [DATAROOTDIR/man]
1368 --docdir=DIR documentation root [DATAROOTDIR/doc/libffi]
1369 --htmldir=DIR html documentation [DOCDIR]
1370 --dvidir=DIR dvi documentation [DOCDIR]
1371 --pdfdir=DIR pdf documentation [DOCDIR]
1372 --psdir=DIR ps documentation [DOCDIR]
1378 --program-prefix=PREFIX prepend PREFIX to installed program names
1379 --program-suffix=SUFFIX append SUFFIX to installed program names
1380 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1383 --build=BUILD configure
for building on BUILD
[guessed
]
1384 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1385 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1389 if test -n "$ac_init_help"; then
1390 case $ac_init_help in
1391 short | recursive
) echo "Configuration of libffi 3.99999:";;
1396 --disable-option-checking ignore unrecognized
--enable/--with options
1397 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1398 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1399 --enable-multilib build many library versions
(default
)
1400 --enable-generated-files-in-srcdir
1401 put copies of generated files
in source dir intended
1402 for creating
source tarballs
for users without
1403 texinfo bison or flex
1404 --disable-dependency-tracking speeds up one-time build
1405 --enable-dependency-tracking do not reject slow dependency extractors
1406 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1407 --enable-static[=PKGS
] build static libraries
[default
=yes]
1408 --enable-fast-install[=PKGS
]
1409 optimize
for fast installation
[default
=yes]
1410 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1411 --enable-maintainer-mode enable make rules and dependencies not useful
1412 (and sometimes confusing
) to the casual installer
1413 --enable-pax_emutramp enable pax emulated trampolines
, for we can
't use PROT_EXEC
1414 --enable-debug debugging mode
1415 --disable-structs omit code for struct support
1416 --disable-raw-api make the raw api unavailable
1417 --enable-purify-safety purify-safe mode
1420 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1421 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1422 --with-pic try to use only PIC/non-PIC objects [default=use
1424 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1426 Some influential environment variables:
1427 CC C compiler command
1428 CFLAGS C compiler flags
1429 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1430 nonstandard directory <lib dir>
1431 LIBS libraries to pass to the linker, e.g. -l<library>
1432 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1433 you have headers in a nonstandard directory <include dir>
1434 CXX C++ compiler command
1435 CXXFLAGS C++ compiler flags
1436 CCAS assembler compiler command (defaults to CC)
1437 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1439 CXXCPP C++ preprocessor
1441 Use these variables to override the choices made by `configure' or to
help
1442 it to
find libraries and programs with nonstandard names
/locations.
1444 Report bugs to
<http
://github.com
/atgreen
/libffi
/issues
>.
1449 if test "$ac_init_help" = "recursive"; then
1450 # If there are subdirs, report their specific --help.
1451 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1452 test -d "$ac_dir" ||
1453 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1458 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1460 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1461 # A ".." for each directory in $ac_dir_suffix.
1462 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1463 case $ac_top_builddir_sub in
1464 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1465 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1468 ac_abs_top_builddir
=$ac_pwd
1469 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1470 # for backward compatibility:
1471 ac_top_builddir
=$ac_top_build_prefix
1474 .
) # We are building in place.
1476 ac_top_srcdir
=$ac_top_builddir_sub
1477 ac_abs_top_srcdir
=$ac_pwd ;;
1478 [\\/]* | ?
:[\\/]* ) # Absolute name.
1479 ac_srcdir
=$srcdir$ac_dir_suffix;
1480 ac_top_srcdir
=$srcdir
1481 ac_abs_top_srcdir
=$srcdir ;;
1483 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1484 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1485 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1487 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1489 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1490 # Check for guested configure.
1491 if test -f "$ac_srcdir/configure.gnu"; then
1493 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1494 elif test -f "$ac_srcdir/configure"; then
1496 $SHELL "$ac_srcdir/configure" --help=recursive
1498 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1500 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1504 test -n "$ac_init_help" && exit $ac_status
1505 if $ac_init_version; then
1507 libffi configure
3.99999
1508 generated by GNU Autoconf
2.64
1510 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1511 This configure
script is free software
; the Free Software Foundation
1512 gives unlimited permission to copy
, distribute and modify it.
1517 ## ------------------------ ##
1518 ## Autoconf initialization. ##
1519 ## ------------------------ ##
1521 # ac_fn_c_try_compile LINENO
1522 # --------------------------
1523 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1524 ac_fn_c_try_compile
()
1526 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1527 rm -f conftest.
$ac_objext
1528 if { { ac_try
="$ac_compile"
1530 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1531 *) ac_try_echo=$ac_try;;
1533 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1534 $as_echo "$ac_try_echo"; } >&5
1535 (eval "$ac_compile") 2>conftest.err
1537 if test -s conftest.err; then
1538 grep -v '^ *+' conftest.err >conftest.er1
1539 cat conftest.er1 >&5
1540 mv -f conftest.er1 conftest.err
1542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1543 test $ac_status = 0; } && {
1544 test -z "$ac_c_werror_flag" ||
1545 test ! -s conftest.err
1546 } && test -s conftest.$ac_objext; then :
1549 $as_echo "$as_me: failed program was:" >&5
1550 sed 's/^/| /' conftest.$ac_ext >&5
1554 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1557 } # ac_fn_c_try_compile
1559 # ac_fn_cxx_try_compile LINENO
1560 # ----------------------------
1561 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1562 ac_fn_cxx_try_compile ()
1564 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1565 rm -f conftest.$ac_objext
1566 if { { ac_try="$ac_compile"
1568 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1569 *) ac_try_echo
=$ac_try;;
1571 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1572 $as_echo "$ac_try_echo"; } >&5
1573 (eval "$ac_compile") 2>conftest.err
1575 if test -s conftest.err
; then
1576 grep -v '^ *+' conftest.err
>conftest.er1
1577 cat conftest.er1
>&5
1578 mv -f conftest.er1 conftest.err
1580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1581 test $ac_status = 0; } && {
1582 test -z "$ac_cxx_werror_flag" ||
1583 test ! -s conftest.err
1584 } && test -s conftest.
$ac_objext; then :
1587 $as_echo "$as_me: failed program was:" >&5
1588 sed 's/^/| /' conftest.
$ac_ext >&5
1592 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1595 } # ac_fn_cxx_try_compile
1597 # ac_fn_c_try_link LINENO
1598 # -----------------------
1599 # Try to link conftest.$ac_ext, and return whether this succeeded.
1602 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1603 rm -f conftest.
$ac_objext conftest
$ac_exeext
1604 if { { ac_try
="$ac_link"
1606 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1607 *) ac_try_echo=$ac_try;;
1609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1610 $as_echo "$ac_try_echo"; } >&5
1611 (eval "$ac_link") 2>conftest.err
1613 if test -s conftest.err; then
1614 grep -v '^ *+' conftest.err >conftest.er1
1615 cat conftest.er1 >&5
1616 mv -f conftest.er1 conftest.err
1618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1619 test $ac_status = 0; } && {
1620 test -z "$ac_c_werror_flag" ||
1621 test ! -s conftest.err
1622 } && test -s conftest$ac_exeext && {
1623 test "$cross_compiling" = yes ||
1624 $as_test_x conftest$ac_exeext
1628 $as_echo "$as_me: failed program was:" >&5
1629 sed 's/^/| /' conftest.$ac_ext >&5
1633 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1634 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1635 # interfere with the next link command; also delete a directory that is
1636 # left behind by Apple's compiler. We do this before executing the actions.
1637 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1638 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1641 } # ac_fn_c_try_link
1643 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1644 # -------------------------------------------------------
1645 # Tests whether HEADER exists and can be compiled using the include files in
1646 # INCLUDES, setting the cache variable VAR accordingly.
1647 ac_fn_c_check_header_compile ()
1649 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1651 $as_echo_n "checking for $2... " >&6; }
1652 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1653 $as_echo_n "(cached) " >&6
1655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1656 /* end confdefs.h. */
1660 if ac_fn_c_try_compile "$LINENO"; then :
1665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1669 $as_echo "$ac_res" >&6; }
1670 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1672 } # ac_fn_c_check_header_compile
1674 # ac_fn_c_try_cpp LINENO
1675 # ----------------------
1676 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1679 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1680 if { { ac_try="$ac_cpp conftest.$ac_ext"
1682 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1683 *) ac_try_echo
=$ac_try;;
1685 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1686 $as_echo "$ac_try_echo"; } >&5
1687 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1689 if test -s conftest.err
; then
1690 grep -v '^ *+' conftest.err
>conftest.er1
1691 cat conftest.er1
>&5
1692 mv -f conftest.er1 conftest.err
1694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1695 test $ac_status = 0; } >/dev
/null
&& {
1696 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1697 test ! -s conftest.err
1701 $as_echo "$as_me: failed program was:" >&5
1702 sed 's/^/| /' conftest.
$ac_ext >&5
1706 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1711 # ac_fn_c_try_run LINENO
1712 # ----------------------
1713 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1714 # that executables *can* be run.
1717 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1718 if { { ac_try
="$ac_link"
1720 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1721 *) ac_try_echo=$ac_try;;
1723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1724 $as_echo "$ac_try_echo"; } >&5
1725 (eval "$ac_link") 2>&5
1727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1728 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1729 { { case "(($ac_try" in
1730 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1731 *) ac_try_echo
=$ac_try;;
1733 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1734 $as_echo "$ac_try_echo"; } >&5
1735 (eval "$ac_try") 2>&5
1737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1738 test $ac_status = 0; }; }; then :
1741 $as_echo "$as_me: program exited with status $ac_status" >&5
1742 $as_echo "$as_me: failed program was:" >&5
1743 sed 's/^/| /' conftest.
$ac_ext >&5
1745 ac_retval
=$ac_status
1747 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1748 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1753 # ac_fn_c_check_func LINENO FUNC VAR
1754 # ----------------------------------
1755 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1756 ac_fn_c_check_func
()
1758 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1760 $as_echo_n "checking for $2... " >&6; }
1761 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1762 $as_echo_n "(cached) " >&6
1764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1765 /* end confdefs.h. */
1766 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1768 #define $2 innocuous_$2
1770 /* System header to define __stub macros and hopefully few prototypes,
1771 which can conflict with char $2 (); below.
1772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1773 <limits.h> exists even on freestanding compilers. */
1776 # include <limits.h>
1778 # include <assert.h>
1783 /* Override any GCC internal prototype to avoid an error.
1784 Use char because int might match the return type of a GCC
1785 builtin and then its argument prototype would still apply. */
1790 /* The GNU C library defines this for functions which it implements
1791 to always fail with ENOSYS. Some functions are actually named
1792 something starting with __ and the normal name is an alias. */
1793 #if defined __stub_$2 || defined __stub___$2
1805 if ac_fn_c_try_link
"$LINENO"; then :
1810 rm -f core conftest.err conftest.
$ac_objext \
1811 conftest
$ac_exeext conftest.
$ac_ext
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1815 $as_echo "$ac_res" >&6; }
1816 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1818 } # ac_fn_c_check_func
1820 # ac_fn_cxx_try_cpp LINENO
1821 # ------------------------
1822 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1823 ac_fn_cxx_try_cpp
()
1825 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1826 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1828 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1829 *) ac_try_echo=$ac_try;;
1831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1832 $as_echo "$ac_try_echo"; } >&5
1833 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1835 if test -s conftest.err; then
1836 grep -v '^ *+' conftest.err >conftest.er1
1837 cat conftest.er1 >&5
1838 mv -f conftest.er1 conftest.err
1840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1841 test $ac_status = 0; } >/dev/null && {
1842 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1843 test ! -s conftest.err
1847 $as_echo "$as_me: failed program was:" >&5
1848 sed 's/^/| /' conftest.$ac_ext >&5
1852 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1855 } # ac_fn_cxx_try_cpp
1857 # ac_fn_cxx_try_link LINENO
1858 # -------------------------
1859 # Try to link conftest.$ac_ext, and return whether this succeeded.
1860 ac_fn_cxx_try_link ()
1862 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1863 rm -f conftest.$ac_objext conftest$ac_exeext
1864 if { { ac_try="$ac_link"
1866 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1867 *) ac_try_echo
=$ac_try;;
1869 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1870 $as_echo "$ac_try_echo"; } >&5
1871 (eval "$ac_link") 2>conftest.err
1873 if test -s conftest.err
; then
1874 grep -v '^ *+' conftest.err
>conftest.er1
1875 cat conftest.er1
>&5
1876 mv -f conftest.er1 conftest.err
1878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1879 test $ac_status = 0; } && {
1880 test -z "$ac_cxx_werror_flag" ||
1881 test ! -s conftest.err
1882 } && test -s conftest
$ac_exeext && {
1883 test "$cross_compiling" = yes ||
1884 $as_test_x conftest
$ac_exeext
1888 $as_echo "$as_me: failed program was:" >&5
1889 sed 's/^/| /' conftest.
$ac_ext >&5
1893 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1894 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1895 # interfere with the next link command; also delete a directory that is
1896 # left behind by Apple's compiler. We do this before executing the actions.
1897 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1898 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1901 } # ac_fn_cxx_try_link
1903 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1904 # --------------------------------------------
1905 # Tries to find the compile-time value of EXPR in a program that includes
1906 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1908 ac_fn_c_compute_int
()
1910 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1911 if test "$cross_compiling" = yes; then
1912 # Depending upon the size, compute the lo and hi bounds.
1913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1914 /* end confdefs.h. */
1919 static int test_array [1 - 2 * !(($2) >= 0)];
1926 if ac_fn_c_try_compile
"$LINENO"; then :
1929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1930 /* end confdefs.h. */
1935 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1942 if ac_fn_c_try_compile
"$LINENO"; then :
1943 ac_hi
=$ac_mid; break
1945 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
1946 if test $ac_lo -le $ac_mid; then
1950 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
1952 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1956 /* end confdefs.h. */
1961 static int test_array [1 - 2 * !(($2) < 0)];
1968 if ac_fn_c_try_compile
"$LINENO"; then :
1971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1972 /* end confdefs.h. */
1977 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1984 if ac_fn_c_try_compile
"$LINENO"; then :
1985 ac_lo
=$ac_mid; break
1987 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
1988 if test $ac_mid -le $ac_hi; then
1992 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
1994 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1999 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2002 # Binary search between lo and hi bounds.
2003 while test "x$ac_lo" != "x$ac_hi"; do
2004 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2006 /* end confdefs.h. */
2011 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2018 if ac_fn_c_try_compile
"$LINENO"; then :
2021 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2023 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2026 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2031 /* end confdefs.h. */
2033 static long int longval () { return $2; }
2034 static unsigned long int ulongval () { return $2; }
2041 FILE *f = fopen ("conftest.val", "w");
2046 long int i = longval ();
2049 fprintf (f, "%ld", i);
2053 unsigned long int i = ulongval ();
2056 fprintf (f, "%lu", i);
2058 /* Do not output a trailing newline, as this causes \r\n confusion
2059 on some platforms. */
2060 return ferror (f) || fclose (f) != 0;
2066 if ac_fn_c_try_run
"$LINENO"; then :
2067 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2071 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2072 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2076 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2079 } # ac_fn_c_compute_int
2081 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2082 # -------------------------------------------------------
2083 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2084 # the include files in INCLUDES and setting the cache variable VAR
2086 ac_fn_c_check_header_mongrel
()
2088 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2089 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2091 $as_echo_n "checking for $2... " >&6; }
2092 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2093 $as_echo_n "(cached) " >&6
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2097 $as_echo "$ac_res" >&6; }
2099 # Is the header compilable?
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2101 $as_echo_n "checking $2 usability... " >&6; }
2102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2103 /* end confdefs.h. */
2107 if ac_fn_c_try_compile
"$LINENO"; then :
2108 ac_header_compiler
=yes
2110 ac_header_compiler
=no
2112 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2114 $as_echo "$ac_header_compiler" >&6; }
2116 # Is the header present?
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2118 $as_echo_n "checking $2 presence... " >&6; }
2119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2120 /* end confdefs.h. */
2123 if ac_fn_c_try_cpp
"$LINENO"; then :
2124 ac_header_preproc
=yes
2126 ac_header_preproc
=no
2128 rm -f conftest.err conftest.
$ac_ext
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2130 $as_echo "$ac_header_preproc" >&6; }
2132 # So? What about this header?
2133 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2136 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2138 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2142 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2144 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2146 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2148 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2150 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2152 ## ------------------------------------------------------ ##
2153 ## Report this to http://github.com/atgreen/libffi/issues ##
2154 ## ------------------------------------------------------ ##
2156 ) |
sed "s/^/$as_me: WARNING: /" >&2
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2160 $as_echo_n "checking for $2... " >&6; }
2161 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2162 $as_echo_n "(cached) " >&6
2164 eval "$3=\$ac_header_compiler"
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2168 $as_echo "$ac_res" >&6; }
2170 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2172 } # ac_fn_c_check_header_mongrel
2173 cat >config.log
<<_ACEOF
2174 This file contains any messages produced by compilers while
2175 running configure, to aid debugging if configure makes a mistake.
2177 It was created by libffi $as_me 3.99999, which was
2178 generated by GNU Autoconf 2.64. Invocation command line was
2190 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2191 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2192 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2193 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2194 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2196 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2197 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2199 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2200 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2201 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2202 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2203 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2204 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2205 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2213 test -z "$as_dir" && as_dir
=.
2214 $as_echo "PATH: $as_dir"
2230 # Keep a trace of the command line.
2231 # Strip out --no-create and --no-recursion so they do not pile up.
2232 # Strip out --silent because we don't want to record it for future runs.
2233 # Also quote any args containing shell meta-characters.
2234 # Make two passes to allow for proper duplicate-argument suppression.
2238 ac_must_keep_next
=false
2244 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2245 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2246 |
-silent |
--silent |
--silen |
--sile |
--sil)
2249 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2252 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2254 as_fn_append ac_configure_args1
" '$ac_arg'"
2255 if test $ac_must_keep_next = true
; then
2256 ac_must_keep_next
=false
# Got value, back to normal.
2259 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2260 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2261 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2262 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2263 case "$ac_configure_args0 " in
2264 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2267 -* ) ac_must_keep_next
=true
;;
2270 as_fn_append ac_configure_args
" '$ac_arg'"
2275 { ac_configure_args0
=; unset ac_configure_args0
;}
2276 { ac_configure_args1
=; unset ac_configure_args1
;}
2278 # When interrupted or exit'd, cleanup temporary files, and complete
2279 # config.log. We remove comments because anyway the quotes in there
2280 # would cause problems or look ugly.
2281 # WARNING: Use '\'' to represent an apostrophe within the trap.
2282 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2283 trap 'exit_status=$?
2284 # Save into config.log some information that might help in debugging.
2289 ## ---------------- ##
2290 ## Cache variables. ##
2291 ## ---------------- ##
2294 # The following way of writing the cache mishandles newlines in values,
2296 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2297 eval ac_val=\$$ac_var
2301 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2302 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2305 _ | IFS | as_nl) ;; #(
2306 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2307 *) { eval $ac_var=; unset $ac_var;} ;;
2312 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2313 *${as_nl}ac_space=\ *)
2315 "s/'\''/'\''\\\\'\'''\''/g;
2316 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2319 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2327 ## ----------------- ##
2328 ## Output variables. ##
2329 ## ----------------- ##
2332 for ac_var in $ac_subst_vars
2334 eval ac_val=\$$ac_var
2336 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2338 $as_echo "$ac_var='\''$ac_val'\''"
2342 if test -n "$ac_subst_files"; then
2344 ## ------------------- ##
2345 ## File substitutions. ##
2346 ## ------------------- ##
2349 for ac_var
in $ac_subst_files
2351 eval ac_val
=\$
$ac_var
2353 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2355 $as_echo "$ac_var='\''$ac_val'\''"
2360 if test -s confdefs.h; then
2370 test "$ac_signal" != 0 &&
2371 $as_echo "$as_me: caught signal $ac_signal"
2372 $as_echo "$as_me: exit $exit_status"
2374 rm -f core *.core core.conftest.* &&
2375 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2378 for ac_signal
in 1 2 13 15; do
2379 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2383 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2384 rm -f -r conftest
* confdefs.h
2386 $as_echo "/* confdefs.h */" > confdefs.h
2388 # Predefined preprocessor variables.
2390 cat >>confdefs.h
<<_ACEOF
2391 #define PACKAGE_NAME "$PACKAGE_NAME"
2394 cat >>confdefs.h
<<_ACEOF
2395 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2398 cat >>confdefs.h
<<_ACEOF
2399 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2402 cat >>confdefs.h
<<_ACEOF
2403 #define PACKAGE_STRING "$PACKAGE_STRING"
2406 cat >>confdefs.h
<<_ACEOF
2407 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2410 cat >>confdefs.h
<<_ACEOF
2411 #define PACKAGE_URL "$PACKAGE_URL"
2415 # Let the site file select an alternate cache file if it wants to.
2416 # Prefer an explicitly selected file to automatically selected ones.
2419 if test -n "$CONFIG_SITE"; then
2420 ac_site_file1
=$CONFIG_SITE
2421 elif test "x$prefix" != xNONE
; then
2422 ac_site_file1
=$prefix/share
/config.site
2423 ac_site_file2
=$prefix/etc
/config.site
2425 ac_site_file1
=$ac_default_prefix/share
/config.site
2426 ac_site_file2
=$ac_default_prefix/etc
/config.site
2428 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2430 test "x$ac_site_file" = xNONE
&& continue
2431 if test -r "$ac_site_file"; then
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2433 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2434 sed 's/^/| /' "$ac_site_file" >&5
2439 if test -r "$cache_file"; then
2440 # Some versions of bash will fail to source /dev/null (special
2441 # files actually), so we avoid doing that.
2442 if test -f "$cache_file"; then
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2444 $as_echo "$as_me: loading cache $cache_file" >&6;}
2446 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2447 *) .
"./$cache_file";;
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2452 $as_echo "$as_me: creating cache $cache_file" >&6;}
2456 # Check that the precious variables saved in the cache have kept the same
2458 ac_cache_corrupted
=false
2459 for ac_var
in $ac_precious_vars; do
2460 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2461 eval ac_new_set
=\
$ac_env_${ac_var}_set
2462 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2463 eval ac_new_val
=\
$ac_env_${ac_var}_value
2464 case $ac_old_set,$ac_new_set in
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2467 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2468 ac_cache_corrupted
=: ;;
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2471 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2472 ac_cache_corrupted
=: ;;
2475 if test "x$ac_old_val" != "x$ac_new_val"; then
2476 # differences in whitespace do not lead to failure.
2477 ac_old_val_w
=`echo x $ac_old_val`
2478 ac_new_val_w
=`echo x $ac_new_val`
2479 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2481 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2482 ac_cache_corrupted
=:
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2485 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2486 eval $ac_var=\
$ac_old_val
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2489 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2491 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2494 # Pass precious variables to config.status.
2495 if test "$ac_new_set" = set; then
2497 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2498 *) ac_arg
=$ac_var=$ac_new_val ;;
2500 case " $ac_configure_args " in
2501 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2502 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2506 if $ac_cache_corrupted; then
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2508 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2510 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2511 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2513 ## -------------------- ##
2514 ## Main body of script. ##
2515 ## -------------------- ##
2518 ac_cpp
='$CPP $CPPFLAGS'
2519 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2520 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2521 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2527 ac_config_headers
="$ac_config_headers fficonfig.h"
2530 # Default to --enable-multilib
2531 # Check whether --enable-multilib was given.
2532 if test "${enable_multilib+set}" = set; then :
2533 enableval
=$enable_multilib; case "$enableval" in
2534 yes) multilib
=yes ;;
2536 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
2543 # We may get other options which we leave undocumented:
2544 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2545 # See config-ml.in if you want the gory details.
2547 if test "$srcdir" = "."; then
2548 if test "$with_target_subdir" != "."; then
2549 multi_basedir
="$srcdir/$with_multisrctop../.."
2551 multi_basedir
="$srcdir/$with_multisrctop.."
2554 multi_basedir
="$srcdir/.."
2558 # Even if the default multilib is not a cross compilation,
2559 # it may be that some of the other multilibs are.
2560 if test $cross_compiling = no
&& test $multilib = yes \
2561 && test "x${with_multisubdir}" != x
; then
2562 cross_compiling
=maybe
2565 ac_config_commands
="$ac_config_commands default-1"
2569 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2570 for ac_t
in install-sh
install.sh shtool
; do
2571 if test -f "$ac_dir/$ac_t"; then
2573 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2578 if test -z "$ac_aux_dir"; then
2579 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2582 # These three variables are undocumented and unsupported,
2583 # and are intended to be withdrawn in a future Autoconf release.
2584 # They can cause serious problems if a builder's source tree is in a directory
2585 # whose full name contains unusual characters.
2586 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2587 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2588 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2591 # Make sure we can run config.sub.
2592 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2593 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2596 $as_echo_n "checking build system type... " >&6; }
2597 if test "${ac_cv_build+set}" = set; then :
2598 $as_echo_n "(cached) " >&6
2600 ac_build_alias
=$build_alias
2601 test "x$ac_build_alias" = x
&&
2602 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2603 test "x$ac_build_alias" = x
&&
2604 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2605 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2606 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2610 $as_echo "$ac_cv_build" >&6; }
2611 case $ac_cv_build in
2613 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2616 ac_save_IFS
=$IFS; IFS
='-'
2622 # Remember, the first character of IFS is used to create $*,
2623 # except with old shells:
2626 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2630 $as_echo_n "checking host system type... " >&6; }
2631 if test "${ac_cv_host+set}" = set; then :
2632 $as_echo_n "(cached) " >&6
2634 if test "x$host_alias" = x
; then
2635 ac_cv_host
=$ac_cv_build
2637 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2638 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2643 $as_echo "$ac_cv_host" >&6; }
2646 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2649 ac_save_IFS
=$IFS; IFS
='-'
2655 # Remember, the first character of IFS is used to create $*,
2656 # except with old shells:
2659 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2663 $as_echo_n "checking target system type... " >&6; }
2664 if test "${ac_cv_target+set}" = set; then :
2665 $as_echo_n "(cached) " >&6
2667 if test "x$target_alias" = x
; then
2668 ac_cv_target
=$ac_cv_host
2670 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2671 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2676 $as_echo "$ac_cv_target" >&6; }
2677 case $ac_cv_target in
2679 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2681 target
=$ac_cv_target
2682 ac_save_IFS
=$IFS; IFS
='-'
2688 # Remember, the first character of IFS is used to create $*,
2689 # except with old shells:
2692 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2695 # The aliases save the names the user supplied, while $host etc.
2696 # will get canonicalized.
2697 test -n "$target_alias" &&
2698 test "$program_prefix$program_suffix$program_transform_name" = \
2700 program_prefix
=${target_alias}-
2702 target_alias
=${target_alias-$host_alias}
2704 am__api_version
='1.11'
2706 # Find a good install program. We prefer a C program (faster),
2707 # so one script is as good as another. But avoid the broken or
2708 # incompatible versions:
2709 # SysV /etc/install, /usr/sbin/install
2710 # SunOS /usr/etc/install
2711 # IRIX /sbin/install
2713 # AmigaOS /C/install, which installs bootblocks on floppy discs
2714 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2715 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2716 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2717 # OS/2's system install, which has a completely different semantic
2718 # ./install, which can be erroneously created by make from ./install.sh.
2719 # Reject install programs that cannot install multiple files.
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2721 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2722 if test -z "$INSTALL"; then
2723 if test "${ac_cv_path_install+set}" = set; then :
2724 $as_echo_n "(cached) " >&6
2726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2730 test -z "$as_dir" && as_dir
=.
2731 # Account for people who put trailing slashes in PATH elements.
2732 case $as_dir/ in #((
2733 .
/ | .
// |
/[cC
]/* | \
2734 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2735 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2738 # OSF1 and SCO ODT 3.0 have their own names for install.
2739 # Don't use installbsd from OSF since it installs stuff as root
2741 for ac_prog
in ginstall scoinst
install; do
2742 for ac_exec_ext
in '' $ac_executable_extensions; do
2743 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2744 if test $ac_prog = install &&
2745 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2746 # AIX install. It has an incompatible calling convention.
2748 elif test $ac_prog = install &&
2749 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2750 # program-specific install script used by HP pwplus--don't use.
2753 rm -rf conftest.one conftest.two conftest.dir
2754 echo one
> conftest.one
2755 echo two
> conftest.two
2757 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2758 test -s conftest.one
&& test -s conftest.two
&&
2759 test -s conftest.dir
/conftest.one
&&
2760 test -s conftest.dir
/conftest.two
2762 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2775 rm -rf conftest.one conftest.two conftest.dir
2778 if test "${ac_cv_path_install+set}" = set; then
2779 INSTALL
=$ac_cv_path_install
2781 # As a last resort, use the slow shell script. Don't cache a
2782 # value for INSTALL within a source directory, because that will
2783 # break other packages using the cache if that directory is
2784 # removed, or if the value is a relative name.
2785 INSTALL
=$ac_install_sh
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2789 $as_echo "$INSTALL" >&6; }
2791 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2792 # It thinks the first close brace ends the variable substitution.
2793 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2795 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2797 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2800 $as_echo_n "checking whether build environment is sane... " >&6; }
2803 echo timestamp
> conftest.
file
2804 # Reject unsafe characters in $srcdir or the absolute working directory
2805 # name. Accept space and tab only in the latter.
2809 *[\\\"\
#\$\&\'\`$am_lf]*)
2810 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2813 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2814 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2817 # Do `set' in a subshell so we don't clobber the current shell's
2818 # arguments. Must try -L first in case configure is actually a
2819 # symlink; some systems play weird games with the mod time of symlinks
2820 # (eg FreeBSD returns the mod time of the symlink's containing
2823 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2824 if test "$*" = "X"; then
2826 set X
`ls -t "$srcdir/configure" conftest.file`
2829 if test "$*" != "X $srcdir/configure conftest.file" \
2830 && test "$*" != "X conftest.file $srcdir/configure"; then
2832 # If neither matched, then we have a broken ls. This can happen
2833 # if, for instance, CONFIG_SHELL is bash and it inherits a
2834 # broken ls alias from the environment. This has actually
2835 # happened. Such a system could not be considered "sane".
2836 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2837 alias in your environment" "$LINENO" 5
2840 test "$2" = conftest.
file
2846 as_fn_error
"newly created file is older than distributed files!
2847 Check your system clock" "$LINENO" 5
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2850 $as_echo "yes" >&6; }
2851 test "$program_prefix" != NONE
&&
2852 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2853 # Use a double $ so make ignores it.
2854 test "$program_suffix" != NONE
&&
2855 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2856 # Double any \ or $.
2857 # By default was `s,x,x', remove it if useless.
2858 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2859 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2861 # expand $ac_aux_dir to an absolute path
2862 am_aux_dir
=`cd $ac_aux_dir && pwd`
2864 if test x
"${MISSING+set}" != xset
; then
2867 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2869 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2872 # Use eval to expand $SHELL
2873 if eval "$MISSING --run true"; then
2874 am_missing_run
="$MISSING --run "
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2878 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2881 if test x
"${install_sh}" != xset
; then
2884 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2886 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2890 # Installed binaries are usually stripped using `strip' when the user
2891 # run `make install-strip'. However `strip' might not be the right
2892 # tool to use in cross-compilation environments, therefore Automake
2893 # will honor the `STRIP' environment variable to overrule this program.
2894 if test "$cross_compiling" != no
; then
2895 if test -n "$ac_tool_prefix"; then
2896 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2897 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2899 $as_echo_n "checking for $ac_word... " >&6; }
2900 if test "${ac_cv_prog_STRIP+set}" = set; then :
2901 $as_echo_n "(cached) " >&6
2903 if test -n "$STRIP"; then
2904 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2910 test -z "$as_dir" && as_dir
=.
2911 for ac_exec_ext
in '' $ac_executable_extensions; do
2912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2913 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2923 STRIP
=$ac_cv_prog_STRIP
2924 if test -n "$STRIP"; then
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2926 $as_echo "$STRIP" >&6; }
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2929 $as_echo "no" >&6; }
2934 if test -z "$ac_cv_prog_STRIP"; then
2936 # Extract the first word of "strip", so it can be a program name with args.
2937 set dummy strip
; ac_word
=$2
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2939 $as_echo_n "checking for $ac_word... " >&6; }
2940 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2941 $as_echo_n "(cached) " >&6
2943 if test -n "$ac_ct_STRIP"; then
2944 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2950 test -z "$as_dir" && as_dir
=.
2951 for ac_exec_ext
in '' $ac_executable_extensions; do
2952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2953 ac_cv_prog_ac_ct_STRIP
="strip"
2954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2963 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2964 if test -n "$ac_ct_STRIP"; then
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2966 $as_echo "$ac_ct_STRIP" >&6; }
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2969 $as_echo "no" >&6; }
2972 if test "x$ac_ct_STRIP" = x
; then
2975 case $cross_compiling:$ac_tool_warned in
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2978 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2979 ac_tool_warned
=yes ;;
2984 STRIP
="$ac_cv_prog_STRIP"
2988 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2991 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2992 if test -z "$MKDIR_P"; then
2993 if test "${ac_cv_path_mkdir+set}" = set; then :
2994 $as_echo_n "(cached) " >&6
2996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2997 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3000 test -z "$as_dir" && as_dir
=.
3001 for ac_prog
in mkdir gmkdir
; do
3002 for ac_exec_ext
in '' $ac_executable_extensions; do
3003 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3004 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3005 'mkdir (GNU coreutils) '* | \
3006 'mkdir (coreutils) '* | \
3007 'mkdir (fileutils) '4.1*)
3008 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3018 if test "${ac_cv_path_mkdir+set}" = set; then
3019 MKDIR_P
="$ac_cv_path_mkdir -p"
3021 # As a last resort, use the slow shell script. Don't cache a
3022 # value for MKDIR_P within a source directory, because that will
3023 # break other packages using the cache if that directory is
3024 # removed, or if the value is a relative name.
3025 test -d .
/--version && rmdir .
/--version
3026 MKDIR_P
="$ac_install_sh -d"
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3030 $as_echo "$MKDIR_P" >&6; }
3034 [\\/$
]* | ?
:[\\/]*) ;;
3035 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3038 for ac_prog
in gawk mawk nawk
awk
3040 # Extract the first word of "$ac_prog", so it can be a program name with args.
3041 set dummy
$ac_prog; ac_word
=$2
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3043 $as_echo_n "checking for $ac_word... " >&6; }
3044 if test "${ac_cv_prog_AWK+set}" = set; then :
3045 $as_echo_n "(cached) " >&6
3047 if test -n "$AWK"; then
3048 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3054 test -z "$as_dir" && as_dir
=.
3055 for ac_exec_ext
in '' $ac_executable_extensions; do
3056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3057 ac_cv_prog_AWK
="$ac_prog"
3058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3068 if test -n "$AWK"; then
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3070 $as_echo "$AWK" >&6; }
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3073 $as_echo "no" >&6; }
3077 test -n "$AWK" && break
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3081 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3083 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3084 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3085 $as_echo_n "(cached) " >&6
3087 cat >conftest.
make <<\_ACEOF
3090 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3092 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3093 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3095 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3097 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3101 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3103 $as_echo "yes" >&6; }
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3107 $as_echo "no" >&6; }
3108 SET_MAKE
="MAKE=${MAKE-make}"
3111 rm -rf .tst
2>/dev
/null
3112 mkdir .tst
2>/dev
/null
3113 if test -d .tst
; then
3118 rmdir .tst
2>/dev
/null
3120 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3121 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3122 # is not polluted with repeated "-I."
3123 am__isrc
=' -I$(srcdir)'
3124 # test to see if srcdir already configured
3125 if test -f $srcdir/config.status
; then
3126 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3130 # test whether we have cygpath
3131 if test -z "$CYGPATH_W"; then
3132 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3133 CYGPATH_W
='cygpath -w'
3140 # Define the identity of the package.
3145 cat >>confdefs.h
<<_ACEOF
3146 #define PACKAGE "$PACKAGE"
3150 cat >>confdefs.h
<<_ACEOF
3151 #define VERSION "$VERSION"
3154 # Some tools Automake needs.
3156 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3159 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3162 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3165 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3168 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3170 # We need awk for the "check" target. The system "awk" is bad on
3172 # Always define AMTAR for backward compatibility.
3174 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3176 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3183 # See if makeinfo has been installed and is modern enough
3184 # that we can use it.
3186 # Extract the first word of "makeinfo", so it can be a program name with args.
3187 set dummy makeinfo
; ac_word
=$2
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3189 $as_echo_n "checking for $ac_word... " >&6; }
3190 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
3191 $as_echo_n "(cached) " >&6
3193 if test -n "$MAKEINFO"; then
3194 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
3196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3200 test -z "$as_dir" && as_dir
=.
3201 for ac_exec_ext
in '' $ac_executable_extensions; do
3202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3203 ac_cv_prog_MAKEINFO
="makeinfo"
3204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3213 MAKEINFO
=$ac_cv_prog_MAKEINFO
3214 if test -n "$MAKEINFO"; then
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
3216 $as_echo "$MAKEINFO" >&6; }
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3219 $as_echo "no" >&6; }
3223 if test -n "$MAKEINFO"; then
3224 # Found it, now check the version.
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
3226 $as_echo_n "checking for modern makeinfo... " >&6; }
3227 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
3228 $as_echo_n "(cached) " >&6
3230 ac_prog_version
=`eval $MAKEINFO --version 2>&1 |
3231 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
3233 case $ac_prog_version in
3234 '') gcc_cv_prog_makeinfo_modern
=no
;;
3235 4.
[4-9]*|
4.
[1-9][0-9]*|
[5-9]*|
[1-9][0-9]*) gcc_cv_prog_makeinfo_modern
=yes;;
3236 *) gcc_cv_prog_makeinfo_modern
=no
;;
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
3241 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
3243 gcc_cv_prog_makeinfo_modern
=no
3245 if test $gcc_cv_prog_makeinfo_modern = no
; then
3246 MAKEINFO
="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
3249 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
3251 BUILD_INFO_FALSE
='#'
3258 # We would like our source tree to be readonly. However when releases or
3259 # pre-releases are generated, the flex/bison generated files as well as the
3260 # various formats of manuals need to be included along with the rest of the
3261 # sources. Therefore we have --enable-generated-files-in-srcdir to do
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking generated-files-in-srcdir" >&5
3264 $as_echo_n "checking generated-files-in-srcdir... " >&6; }
3265 # Check whether --enable-generated-files-in-srcdir was given.
3266 if test "${enable_generated_files_in_srcdir+set}" = set; then :
3267 enableval
=$enable_generated_files_in_srcdir; case "$enableval" in
3268 yes) enable_generated_files_in_srcdir
=yes ;;
3269 no
) enable_generated_files_in_srcdir
=no
;;
3270 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
3273 enable_generated_files_in_srcdir
=no
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_generated_files_in_srcdir" >&5
3277 $as_echo "$enable_generated_files_in_srcdir" >&6; }
3278 if test "$enable_generated_files_in_srcdir" = yes; then
3287 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
3288 # We must force CC to /not/ be precious variables; otherwise
3289 # the wrong, non-multilib-adjusted value will be used in multilibs.
3290 # As a side effect, we have to subst CFLAGS ourselves.
3291 # Also save and restore CFLAGS, since AC_PROG_CC will come up with
3292 # defaults of its own if none are provided.
3298 ac_cpp
='$CPP $CPPFLAGS'
3299 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3300 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3301 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3302 if test -n "$ac_tool_prefix"; then
3303 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3304 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3306 $as_echo_n "checking for $ac_word... " >&6; }
3307 if test "${ac_cv_prog_CC+set}" = set; then :
3308 $as_echo_n "(cached) " >&6
3310 if test -n "$CC"; then
3311 ac_cv_prog_CC
="$CC" # Let the user override the test.
3313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3317 test -z "$as_dir" && as_dir
=.
3318 for ac_exec_ext
in '' $ac_executable_extensions; do
3319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3320 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3331 if test -n "$CC"; then
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3333 $as_echo "$CC" >&6; }
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3336 $as_echo "no" >&6; }
3341 if test -z "$ac_cv_prog_CC"; then
3343 # Extract the first word of "gcc", so it can be a program name with args.
3344 set dummy gcc
; ac_word
=$2
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3346 $as_echo_n "checking for $ac_word... " >&6; }
3347 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3348 $as_echo_n "(cached) " >&6
3350 if test -n "$ac_ct_CC"; then
3351 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3357 test -z "$as_dir" && as_dir
=.
3358 for ac_exec_ext
in '' $ac_executable_extensions; do
3359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3360 ac_cv_prog_ac_ct_CC
="gcc"
3361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3370 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3371 if test -n "$ac_ct_CC"; then
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3373 $as_echo "$ac_ct_CC" >&6; }
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3376 $as_echo "no" >&6; }
3379 if test "x$ac_ct_CC" = x
; then
3382 case $cross_compiling:$ac_tool_warned in
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3385 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3386 ac_tool_warned
=yes ;;
3394 if test -z "$CC"; then
3395 if test -n "$ac_tool_prefix"; then
3396 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3397 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3399 $as_echo_n "checking for $ac_word... " >&6; }
3400 if test "${ac_cv_prog_CC+set}" = set; then :
3401 $as_echo_n "(cached) " >&6
3403 if test -n "$CC"; then
3404 ac_cv_prog_CC
="$CC" # Let the user override the test.
3406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3410 test -z "$as_dir" && as_dir
=.
3411 for ac_exec_ext
in '' $ac_executable_extensions; do
3412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3413 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3424 if test -n "$CC"; then
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3426 $as_echo "$CC" >&6; }
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3429 $as_echo "no" >&6; }
3435 if test -z "$CC"; then
3436 # Extract the first word of "cc", so it can be a program name with args.
3437 set dummy cc
; ac_word
=$2
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3439 $as_echo_n "checking for $ac_word... " >&6; }
3440 if test "${ac_cv_prog_CC+set}" = set; then :
3441 $as_echo_n "(cached) " >&6
3443 if test -n "$CC"; then
3444 ac_cv_prog_CC
="$CC" # Let the user override the test.
3447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3451 test -z "$as_dir" && as_dir
=.
3452 for ac_exec_ext
in '' $ac_executable_extensions; do
3453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3454 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3455 ac_prog_rejected
=yes
3459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3466 if test $ac_prog_rejected = yes; then
3467 # We found a bogon in the path, so make sure we never use it.
3468 set dummy
$ac_cv_prog_CC
3470 if test $# != 0; then
3471 # We chose a different compiler from the bogus one.
3472 # However, it has the same basename, so the bogon will be chosen
3473 # first if we set CC to just the basename; use the full file name.
3475 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3481 if test -n "$CC"; then
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3483 $as_echo "$CC" >&6; }
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3486 $as_echo "no" >&6; }
3491 if test -z "$CC"; then
3492 if test -n "$ac_tool_prefix"; then
3493 for ac_prog
in cl.exe
3495 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3496 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3498 $as_echo_n "checking for $ac_word... " >&6; }
3499 if test "${ac_cv_prog_CC+set}" = set; then :
3500 $as_echo_n "(cached) " >&6
3502 if test -n "$CC"; then
3503 ac_cv_prog_CC
="$CC" # Let the user override the test.
3505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3509 test -z "$as_dir" && as_dir
=.
3510 for ac_exec_ext
in '' $ac_executable_extensions; do
3511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3512 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3523 if test -n "$CC"; then
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3525 $as_echo "$CC" >&6; }
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3528 $as_echo "no" >&6; }
3532 test -n "$CC" && break
3535 if test -z "$CC"; then
3537 for ac_prog
in cl.exe
3539 # Extract the first word of "$ac_prog", so it can be a program name with args.
3540 set dummy
$ac_prog; ac_word
=$2
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3542 $as_echo_n "checking for $ac_word... " >&6; }
3543 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3544 $as_echo_n "(cached) " >&6
3546 if test -n "$ac_ct_CC"; then
3547 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3553 test -z "$as_dir" && as_dir
=.
3554 for ac_exec_ext
in '' $ac_executable_extensions; do
3555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3556 ac_cv_prog_ac_ct_CC
="$ac_prog"
3557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3566 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3567 if test -n "$ac_ct_CC"; then
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3569 $as_echo "$ac_ct_CC" >&6; }
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3572 $as_echo "no" >&6; }
3576 test -n "$ac_ct_CC" && break
3579 if test "x$ac_ct_CC" = x
; then
3582 case $cross_compiling:$ac_tool_warned in
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3585 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3586 ac_tool_warned
=yes ;;
3595 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3596 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3597 as_fn_error
"no acceptable C compiler found in \$PATH
3598 See \`config.log' for more details." "$LINENO" 5; }
3600 # Provide some information about the compiler.
3601 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3604 for ac_option
in --version -v -V -qversion; do
3605 { { ac_try
="$ac_compiler $ac_option >&5"
3607 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3608 *) ac_try_echo=$ac_try;;
3610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3611 $as_echo "$ac_try_echo"; } >&5
3612 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3614 if test -s conftest.err; then
3616 ... rest of stderr output deleted ...
3617 10q' conftest.err >conftest.er1
3618 cat conftest.er1 >&5
3619 rm -f conftest.er1 conftest.err
3621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3622 test $ac_status = 0; }
3625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3626 /* end confdefs.h. */
3636 ac_clean_files_save=$ac_clean_files
3637 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3638 # Try to create an executable without -o first, disregard a.out.
3639 # It will help us diagnose broken compilers, and finding out an intuition
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3642 $as_echo_n "checking for C compiler default output file name... " >&6; }
3643 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3645 # The possible output files:
3646 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3649 for ac_file in $ac_files
3652 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3653 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3658 if { { ac_try="$ac_link_default"
3660 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3661 *) ac_try_echo
=$ac_try;;
3663 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3664 $as_echo "$ac_try_echo"; } >&5
3665 (eval "$ac_link_default") 2>&5
3667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3668 test $ac_status = 0; }; then :
3669 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3670 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3671 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3672 # so that the user can short-circuit this test for compilers unknown to
3674 for ac_file
in $ac_files ''
3676 test -f "$ac_file" ||
continue
3678 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3681 # We found the default executable, but exeext='' is most
3685 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3687 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3689 # We set ac_cv_exeext here because the later test for it is not
3690 # safe: cross compilers may not add the suffix if given an `-o'
3691 # argument, so we may need to know it at that point already.
3692 # Even if this section looks crufty: it has the advantage of
3699 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3705 $as_echo "$ac_file" >&6; }
3706 if test -z "$ac_file"; then :
3707 $as_echo "$as_me: failed program was:" >&5
3708 sed 's/^/| /' conftest.
$ac_ext >&5
3710 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3711 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3712 { as_fn_set_status
77
3713 as_fn_error
"C compiler cannot create executables
3714 See \`config.log' for more details." "$LINENO" 5; }; }
3716 ac_exeext
=$ac_cv_exeext
3718 # Check that the compiler produces executables we can run. If not, either
3719 # the compiler is broken, or we cross compile.
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3721 $as_echo_n "checking whether the C compiler works... " >&6; }
3722 # If not cross compiling, check that we can run a simple program.
3723 if test "$cross_compiling" != yes; then
3724 if { ac_try
='./$ac_file'
3725 { { case "(($ac_try" in
3726 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3727 *) ac_try_echo=$ac_try;;
3729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3730 $as_echo "$ac_try_echo"; } >&5
3731 (eval "$ac_try") 2>&5
3733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3734 test $ac_status = 0; }; }; then
3737 if test "$cross_compiling" = maybe; then
3740 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3741 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3742 as_fn_error "cannot run C compiled programs.
3743 If you meant to cross compile
, use \
`--host'.
3744 See \`config.log
' for more details." "$LINENO" 5; }
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3749 $as_echo "yes" >&6; }
3751 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3752 ac_clean_files=$ac_clean_files_save
3753 # Check that the compiler produces executables we can run. If not, either
3754 # the compiler is broken, or we cross compile.
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3756 $as_echo_n "checking whether we are cross compiling... " >&6; }
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3758 $as_echo "$cross_compiling" >&6; }
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3761 $as_echo_n "checking for suffix of executables... " >&6; }
3762 if { { ac_try="$ac_link"
3764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3765 *) ac_try_echo=$ac_try;;
3767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3768 $as_echo "$ac_try_echo"; } >&5
3769 (eval "$ac_link") 2>&5
3771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3772 test $ac_status = 0; }; then :
3773 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3774 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3775 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3777 for ac_file
in conftest.exe conftest conftest.
*; do
3778 test -f "$ac_file" ||
continue
3780 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3781 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3787 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3788 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3789 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3790 See \`config.log' for more details." "$LINENO" 5; }
3792 rm -f conftest
$ac_cv_exeext
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3794 $as_echo "$ac_cv_exeext" >&6; }
3796 rm -f conftest.
$ac_ext
3797 EXEEXT
=$ac_cv_exeext
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3800 $as_echo_n "checking for suffix of object files... " >&6; }
3801 if test "${ac_cv_objext+set}" = set; then :
3802 $as_echo_n "(cached) " >&6
3804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3805 /* end confdefs.h. */
3815 rm -f conftest.o conftest.obj
3816 if { { ac_try
="$ac_compile"
3818 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3819 *) ac_try_echo=$ac_try;;
3821 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3822 $as_echo "$ac_try_echo"; } >&5
3823 (eval "$ac_compile") 2>&5
3825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3826 test $ac_status = 0; }; then :
3827 for ac_file in conftest.o conftest.obj conftest.*; do
3828 test -f "$ac_file" || continue;
3830 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3831 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3836 $as_echo "$as_me: failed program was:" >&5
3837 sed 's/^/| /' conftest.$ac_ext >&5
3839 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3841 as_fn_error "cannot compute suffix of object files
: cannot compile
3842 See \
`config.log' for more details." "$LINENO" 5; }
3844 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3847 $as_echo "$ac_cv_objext" >&6; }
3848 OBJEXT=$ac_cv_objext
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3851 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3852 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3853 $as_echo_n "(cached) " >&6
3855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3856 /* end confdefs.h. */
3869 if ac_fn_c_try_compile "$LINENO"; then :
3874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3875 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3879 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3880 if test $ac_compiler_gnu = yes; then
3885 ac_test_CFLAGS=${CFLAGS+set}
3886 ac_save_CFLAGS=$CFLAGS
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3888 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3889 if test "${ac_cv_prog_cc_g+set}" = set; then :
3890 $as_echo_n "(cached) " >&6
3892 ac_save_c_werror_flag=$ac_c_werror_flag
3893 ac_c_werror_flag=yes
3896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3897 /* end confdefs.h. */
3907 if ac_fn_c_try_compile "$LINENO"; then :
3911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3912 /* end confdefs.h. */
3922 if ac_fn_c_try_compile "$LINENO"; then :
3925 ac_c_werror_flag=$ac_save_c_werror_flag
3927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3928 /* end confdefs.h. */
3938 if ac_fn_c_try_compile "$LINENO"; then :
3941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3946 ac_c_werror_flag=$ac_save_c_werror_flag
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3949 $as_echo "$ac_cv_prog_cc_g" >&6; }
3950 if test "$ac_test_CFLAGS" = set; then
3951 CFLAGS=$ac_save_CFLAGS
3952 elif test $ac_cv_prog_cc_g = yes; then
3953 if test "$GCC" = yes; then
3959 if test "$GCC" = yes; then
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3966 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3967 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3968 $as_echo_n "(cached) " >&6
3970 ac_cv_prog_cc_c89=no
3972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3973 /* end confdefs.h. */
3976 #include <sys/types.h>
3977 #include <sys/stat.h>
3978 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3979 struct buf { int x; };
3980 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3981 static char *e (p, i)
3987 static char *f (char * (*g) (char **, int), char **p, ...)
3992 s = g (p, va_arg (v,int));
3997 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3998 function prototypes and stuff, but not '\xHH' hex character constants.
3999 These don't provoke an error unfortunately, instead are silently treated
4000 as 'x'. The following induces an error, until -std is added to get
4001 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4002 array size at least. It's necessary to write '\x00'==0 to get something
4003 that's true only with -std. */
4004 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4006 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4007 inside strings and character constants. */
4009 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4011 int test (int i, double x);
4012 struct s1 {int (*f) (int a);};
4013 struct s2 {int (*f) (double a);};
4014 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4020 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4025 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4026 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4028 CC="$ac_save_CC $ac_arg"
4029 if ac_fn_c_try_compile "$LINENO"; then :
4030 ac_cv_prog_cc_c89=$ac_arg
4032 rm -f core conftest.err conftest.$ac_objext
4033 test "x$ac_cv_prog_cc_c89" != "xno" && break
4035 rm -f conftest.$ac_ext
4040 case "x$ac_cv_prog_cc_c89" in
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4043 $as_echo "none needed" >&6; } ;;
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4046 $as_echo "unsupported" >&6; } ;;
4048 CC="$CC $ac_cv_prog_cc_c89"
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4050 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4052 if test "x$ac_cv_prog_cc_c89" != xno; then :
4057 ac_cpp='$CPP $CPPFLAGS'
4058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4061 DEPDIR="${am__leading_dot}deps"
4063 ac_config_commands="$ac_config_commands depfiles"
4066 am_make=${MAKE-make}
4067 cat > confinc << 'END'
4069 @echo this is the am__doit target
4072 # If we don't find an include directive, just comment out the code.
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4074 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4078 # First try GNU make style include.
4079 echo "include confinc" > confmf
4080 # Ignore all kinds of additional output from `make'.
4081 case `$am_make -s -f confmf 2> /dev/null` in #(
4082 *the\ am__doit\ target*)
4088 # Now try BSD make style include.
4089 if test "$am__include" = "#"; then
4090 echo '.include
"confinc"' > confmf
4091 case `$am_make -s -f confmf 2> /dev/null` in #(
4092 *the\ am__doit\ target*)
4093 am__include=.include
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4102 $as_echo "$_am_result" >&6; }
4103 rm -f confinc confmf
4105 # Check whether --enable-dependency-tracking was given.
4106 if test "${enable_dependency_tracking+set}" = set; then :
4107 enableval=$enable_dependency_tracking;
4110 if test "x$enable_dependency_tracking" != xno; then
4111 am_depcomp="$ac_aux_dir/depcomp"
4114 if test "x$enable_dependency_tracking" != xno
; then
4124 depcc
="$CC" am_compiler_list
=
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4127 $as_echo_n "checking dependency style of $depcc... " >&6; }
4128 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4129 $as_echo_n "(cached) " >&6
4131 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4132 # We make a subdir and do the tests there. Otherwise we can end up
4133 # making bogus files that we don't know about and never remove. For
4134 # instance it was reported that on HP-UX the gcc test will end up
4135 # making a dummy file named `D' -- because `-MD' means `put the output
4138 # Copy depcomp to subdir because otherwise we won't find it if we're
4139 # using a relative directory.
4140 cp "$am_depcomp" conftest.dir
4142 # We will build objects and dependencies in a subdirectory because
4143 # it helps to detect inapplicable dependency modes. For instance
4144 # both Tru64's cc and ICC support -MD to output dependencies as a
4145 # side effect of compilation, but ICC will put the dependencies in
4146 # the current directory while Tru64 will put them in the object
4150 am_cv_CC_dependencies_compiler_type
=none
4151 if test "$am_compiler_list" = ""; then
4152 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4155 case " $depcc " in #(
4156 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4159 for depmode
in $am_compiler_list; do
4160 # Setup a source with many dependencies, because some compilers
4161 # like to wrap large dependency lists on column 80 (with \), and
4162 # we should not choose a depcomp mode which is confused by this.
4164 # We need to recreate these files for each test, as the compiler may
4165 # overwrite some of them when testing with obscure command lines.
4166 # This happens at least with the AIX C compiler.
4168 for i
in 1 2 3 4 5 6; do
4169 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4170 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4171 # Solaris 8's {/usr,}/bin/sh.
4172 touch sub
/conftst
$i.h
4174 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4176 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4177 # mode. It turns out that the SunPro C++ compiler does not properly
4178 # handle `-M -o', and we need to detect this. Also, some Intel
4179 # versions had trouble with output in subdirs
4180 am__obj
=sub
/conftest.
${OBJEXT-o}
4181 am__minus_obj
="-o $am__obj"
4184 # This depmode causes a compiler race in universal mode.
4185 test "$am__universal" = false ||
continue
4188 # after this tag, mechanisms are not by side-effect, so they'll
4189 # only be used when explicitly requested
4190 if test "x$enable_dependency_tracking" = xyes
; then
4196 msvisualcpp | msvcmsys
)
4197 # This compiler won't grok `-c -o', but also, the minuso test has
4198 # not run yet. These depmodes are late enough in the game, and
4199 # so weak that their functioning should not be impacted.
4200 am__obj
=conftest.
${OBJEXT-o}
4205 if depmode
=$depmode \
4206 source=sub
/conftest.c object
=$am__obj \
4207 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4208 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4209 >/dev
/null
2>conftest.err
&&
4210 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4211 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4212 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4213 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4214 # icc doesn't choke on unknown options, it will just issue warnings
4215 # or remarks (even with -Werror). So we grep stderr for any message
4216 # that says an option was ignored or not supported.
4217 # When given -MP, icc 7.0 and 7.1 complain thusly:
4218 # icc: Command line warning: ignoring option '-M'; no argument required
4219 # The diagnosis changed in icc 8.0:
4220 # icc: Command line remark: option '-MP' not supported
4221 if (grep 'ignoring option' conftest.err ||
4222 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4223 am_cv_CC_dependencies_compiler_type
=$depmode
4232 am_cv_CC_dependencies_compiler_type
=none
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4237 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4238 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4241 test "x$enable_dependency_tracking" != xno \
4242 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4244 am__fastdepCC_FALSE
='#'
4246 am__fastdepCC_TRUE
='#'
4247 am__fastdepCC_FALSE
=
4252 ac_cpp
='$CXXCPP $CPPFLAGS'
4253 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4254 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4255 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4256 if test -z "$CXX"; then
4257 if test -n "$CCC"; then
4260 if test -n "$ac_tool_prefix"; then
4261 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4263 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4264 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4266 $as_echo_n "checking for $ac_word... " >&6; }
4267 if test "${ac_cv_prog_CXX+set}" = set; then :
4268 $as_echo_n "(cached) " >&6
4270 if test -n "$CXX"; then
4271 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4277 test -z "$as_dir" && as_dir
=.
4278 for ac_exec_ext
in '' $ac_executable_extensions; do
4279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4280 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4291 if test -n "$CXX"; then
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4293 $as_echo "$CXX" >&6; }
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4296 $as_echo "no" >&6; }
4300 test -n "$CXX" && break
4303 if test -z "$CXX"; then
4305 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4307 # Extract the first word of "$ac_prog", so it can be a program name with args.
4308 set dummy
$ac_prog; ac_word
=$2
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4310 $as_echo_n "checking for $ac_word... " >&6; }
4311 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4312 $as_echo_n "(cached) " >&6
4314 if test -n "$ac_ct_CXX"; then
4315 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4321 test -z "$as_dir" && as_dir
=.
4322 for ac_exec_ext
in '' $ac_executable_extensions; do
4323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4324 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4334 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4335 if test -n "$ac_ct_CXX"; then
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4337 $as_echo "$ac_ct_CXX" >&6; }
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4340 $as_echo "no" >&6; }
4344 test -n "$ac_ct_CXX" && break
4347 if test "x$ac_ct_CXX" = x
; then
4350 case $cross_compiling:$ac_tool_warned in
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4353 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4354 ac_tool_warned
=yes ;;
4362 # Provide some information about the compiler.
4363 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4366 for ac_option
in --version -v -V -qversion; do
4367 { { ac_try
="$ac_compiler $ac_option >&5"
4369 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4370 *) ac_try_echo=$ac_try;;
4372 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4373 $as_echo "$ac_try_echo"; } >&5
4374 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4376 if test -s conftest.err; then
4378 ... rest of stderr output deleted ...
4379 10q' conftest.err >conftest.er1
4380 cat conftest.er1 >&5
4381 rm -f conftest.er1 conftest.err
4383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4384 test $ac_status = 0; }
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4388 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4389 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4390 $as_echo_n "(cached) " >&6
4392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4393 /* end confdefs.h. */
4406 if ac_fn_cxx_try_compile "$LINENO"; then :
4411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4412 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4416 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4417 if test $ac_compiler_gnu = yes; then
4422 ac_test_CXXFLAGS=${CXXFLAGS+set}
4423 ac_save_CXXFLAGS=$CXXFLAGS
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4425 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4426 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4427 $as_echo_n "(cached) " >&6
4429 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4430 ac_cxx_werror_flag=yes
4433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4434 /* end confdefs.h. */
4444 if ac_fn_cxx_try_compile "$LINENO"; then :
4445 ac_cv_prog_cxx_g=yes
4448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4449 /* end confdefs.h. */
4459 if ac_fn_cxx_try_compile "$LINENO"; then :
4462 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4465 /* end confdefs.h. */
4475 if ac_fn_cxx_try_compile "$LINENO"; then :
4476 ac_cv_prog_cxx_g=yes
4478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4483 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4486 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4487 if test "$ac_test_CXXFLAGS" = set; then
4488 CXXFLAGS=$ac_save_CXXFLAGS
4489 elif test $ac_cv_prog_cxx_g = yes; then
4490 if test "$GXX" = yes; then
4496 if test "$GXX" = yes; then
4503 ac_cpp='$CPP $CPPFLAGS'
4504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4508 depcc="$CXX" am_compiler_list=
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4511 $as_echo_n "checking dependency style of $depcc... " >&6; }
4512 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4513 $as_echo_n "(cached) " >&6
4515 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4516 # We make a subdir and do the tests there. Otherwise we can end up
4517 # making bogus files that we don't know about and never remove. For
4518 # instance it was reported that on HP-UX the gcc test will end up
4519 # making a dummy file named `D
' -- because `-MD' means
`put the output
4522 # Copy depcomp to subdir because otherwise we won't find it if we're
4523 # using a relative directory.
4524 cp "$am_depcomp" conftest.dir
4526 # We will build objects and dependencies in a subdirectory because
4527 # it helps to detect inapplicable dependency modes. For instance
4528 # both Tru64's cc and ICC support -MD to output dependencies as a
4529 # side effect of compilation, but ICC will put the dependencies in
4530 # the current directory while Tru64 will put them in the object
4534 am_cv_CXX_dependencies_compiler_type=none
4535 if test "$am_compiler_list" = ""; then
4536 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4539 case " $depcc " in #(
4540 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4543 for depmode in $am_compiler_list; do
4544 # Setup a source with many dependencies, because some compilers
4545 # like to wrap large dependency lists on column 80 (with \), and
4546 # we should not choose a depcomp mode which is confused by this.
4548 # We need to recreate these files for each test, as the compiler may
4549 # overwrite some of them when testing with obscure command lines.
4550 # This happens at least with the AIX C compiler.
4552 for i in 1 2 3 4 5 6; do
4553 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4554 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4555 # Solaris 8's
{/usr
,}/bin
/sh.
4556 touch sub
/conftst
$i.h
4558 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4560 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4561 # mode. It turns out that the SunPro C++ compiler does not properly
4562 # handle `-M -o', and we need to detect this. Also, some Intel
4563 # versions had trouble with output in subdirs
4564 am__obj
=sub
/conftest.
${OBJEXT-o}
4565 am__minus_obj
="-o $am__obj"
4568 # This depmode causes a compiler race in universal mode.
4569 test "$am__universal" = false ||
continue
4572 # after this tag, mechanisms are not by side-effect, so they'll
4573 # only be used when explicitly requested
4574 if test "x$enable_dependency_tracking" = xyes
; then
4580 msvisualcpp | msvcmsys
)
4581 # This compiler won't grok `-c -o', but also, the minuso test has
4582 # not run yet. These depmodes are late enough in the game, and
4583 # so weak that their functioning should not be impacted.
4584 am__obj
=conftest.
${OBJEXT-o}
4589 if depmode
=$depmode \
4590 source=sub
/conftest.c object
=$am__obj \
4591 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4592 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4593 >/dev
/null
2>conftest.err
&&
4594 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4595 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4596 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4597 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4598 # icc doesn't choke on unknown options, it will just issue warnings
4599 # or remarks (even with -Werror). So we grep stderr for any message
4600 # that says an option was ignored or not supported.
4601 # When given -MP, icc 7.0 and 7.1 complain thusly:
4602 # icc: Command line warning: ignoring option '-M'; no argument required
4603 # The diagnosis changed in icc 8.0:
4604 # icc: Command line remark: option '-MP' not supported
4605 if (grep 'ignoring option' conftest.err ||
4606 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4607 am_cv_CXX_dependencies_compiler_type
=$depmode
4616 am_cv_CXX_dependencies_compiler_type
=none
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4621 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4622 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4625 test "x$enable_dependency_tracking" != xno \
4626 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4627 am__fastdepCXX_TRUE
=
4628 am__fastdepCXX_FALSE
='#'
4630 am__fastdepCXX_TRUE
='#'
4631 am__fastdepCXX_FALSE
=
4641 # By default we simply use the C compiler to build assembly code.
4643 test "${CCAS+set}" = set || CCAS
=$CC
4644 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
4648 depcc
="$CCAS" am_compiler_list
=
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4651 $as_echo_n "checking dependency style of $depcc... " >&6; }
4652 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
4653 $as_echo_n "(cached) " >&6
4655 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4656 # We make a subdir and do the tests there. Otherwise we can end up
4657 # making bogus files that we don't know about and never remove. For
4658 # instance it was reported that on HP-UX the gcc test will end up
4659 # making a dummy file named `D' -- because `-MD' means `put the output
4662 # Copy depcomp to subdir because otherwise we won't find it if we're
4663 # using a relative directory.
4664 cp "$am_depcomp" conftest.dir
4666 # We will build objects and dependencies in a subdirectory because
4667 # it helps to detect inapplicable dependency modes. For instance
4668 # both Tru64's cc and ICC support -MD to output dependencies as a
4669 # side effect of compilation, but ICC will put the dependencies in
4670 # the current directory while Tru64 will put them in the object
4674 am_cv_CCAS_dependencies_compiler_type
=none
4675 if test "$am_compiler_list" = ""; then
4676 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4681 for depmode
in $am_compiler_list; do
4682 # Setup a source with many dependencies, because some compilers
4683 # like to wrap large dependency lists on column 80 (with \), and
4684 # we should not choose a depcomp mode which is confused by this.
4686 # We need to recreate these files for each test, as the compiler may
4687 # overwrite some of them when testing with obscure command lines.
4688 # This happens at least with the AIX C compiler.
4690 for i
in 1 2 3 4 5 6; do
4691 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4692 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4693 # Solaris 8's {/usr,}/bin/sh.
4694 touch sub
/conftst
$i.h
4696 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4698 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4699 # mode. It turns out that the SunPro C++ compiler does not properly
4700 # handle `-M -o', and we need to detect this. Also, some Intel
4701 # versions had trouble with output in subdirs
4702 am__obj
=sub
/conftest.
${OBJEXT-o}
4703 am__minus_obj
="-o $am__obj"
4706 # This depmode causes a compiler race in universal mode.
4707 test "$am__universal" = false ||
continue
4710 # after this tag, mechanisms are not by side-effect, so they'll
4711 # only be used when explicitly requested
4712 if test "x$enable_dependency_tracking" = xyes
; then
4718 msvisualcpp | msvcmsys
)
4719 # This compiler won't grok `-c -o', but also, the minuso test has
4720 # not run yet. These depmodes are late enough in the game, and
4721 # so weak that their functioning should not be impacted.
4722 am__obj
=conftest.
${OBJEXT-o}
4727 if depmode
=$depmode \
4728 source=sub
/conftest.c object
=$am__obj \
4729 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4730 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4731 >/dev
/null
2>conftest.err
&&
4732 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4733 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4734 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4735 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4736 # icc doesn't choke on unknown options, it will just issue warnings
4737 # or remarks (even with -Werror). So we grep stderr for any message
4738 # that says an option was ignored or not supported.
4739 # When given -MP, icc 7.0 and 7.1 complain thusly:
4740 # icc: Command line warning: ignoring option '-M'; no argument required
4741 # The diagnosis changed in icc 8.0:
4742 # icc: Command line remark: option '-MP' not supported
4743 if (grep 'ignoring option' conftest.err ||
4744 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4745 am_cv_CCAS_dependencies_compiler_type
=$depmode
4754 am_cv_CCAS_dependencies_compiler_type
=none
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
4759 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
4760 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
4763 test "x$enable_dependency_tracking" != xno \
4764 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
4765 am__fastdepCCAS_TRUE
=
4766 am__fastdepCCAS_FALSE
='#'
4768 am__fastdepCCAS_TRUE
='#'
4769 am__fastdepCCAS_FALSE
=
4773 if test "x$CC" != xcc
; then
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4775 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4778 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4780 set dummy
$CC; ac_cc
=`$as_echo "$2" |
4781 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4782 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
4783 $as_echo_n "(cached) " >&6
4785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4786 /* end confdefs.h. */
4796 # Make sure it works both with $CC and with simple cc.
4797 # We do the test twice because some compilers refuse to overwrite an
4798 # existing .o file with -o, though they will create one.
4799 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4801 if { { case "(($ac_try" in
4802 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4803 *) ac_try_echo=$ac_try;;
4805 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4806 $as_echo "$ac_try_echo"; } >&5
4807 (eval "$ac_try") 2>&5
4809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4810 test $ac_status = 0; } &&
4811 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4812 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4813 *) ac_try_echo
=$ac_try;;
4815 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4816 $as_echo "$ac_try_echo"; } >&5
4817 (eval "$ac_try") 2>&5
4819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4820 test $ac_status = 0; };
4822 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
4823 if test "x$CC" != xcc
; then
4824 # Test first that cc exists at all.
4825 if { ac_try
='cc -c conftest.$ac_ext >&5'
4826 { { case "(($ac_try" in
4827 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4828 *) ac_try_echo=$ac_try;;
4830 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4831 $as_echo "$ac_try_echo"; } >&5
4832 (eval "$ac_try") 2>&5
4834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4835 test $ac_status = 0; }; }; then
4836 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4838 if { { case "(($ac_try" in
4839 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4840 *) ac_try_echo
=$ac_try;;
4842 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4843 $as_echo "$ac_try_echo"; } >&5
4844 (eval "$ac_try") 2>&5
4846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4847 test $ac_status = 0; } &&
4848 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
4849 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4850 *) ac_try_echo=$ac_try;;
4852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4853 $as_echo "$ac_try_echo"; } >&5
4854 (eval "$ac_try") 2>&5
4856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4857 test $ac_status = 0; };
4862 # cc exists but doesn't like -o.
4863 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4868 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4870 rm -f core conftest*
4873 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4875 $as_echo "yes" >&6; }
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4878 $as_echo "no" >&6; }
4880 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4884 # FIXME: we rely on the cache variable name because
4885 # there is no other way.
4887 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4888 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4889 if test "$am_t" != yes; then
4890 # Losing compiler, so override with the script.
4891 # FIXME: It is wrong to rewrite CC.
4892 # But if we don't then we get into trouble of one sort or another.
4893 # A longer-term fix would be to have automake use am__CC in this case,
4894 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4895 CC="$am_aux_dir/compile $CC"
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
4902 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
4907 macro_version='2.2.7a'
4908 macro_revision='1.3134'
4922 ltmain="$ac_aux_dir/ltmain.sh"
4924 # Backslashify metacharacters that are still active within
4925 # double-quoted strings.
4926 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
4928 # Same as above, but do not quote variable references.
4929 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
4931 # Sed substitution to delay expansion of an escaped shell variable in a
4932 # double_quote_subst'ed string.
4933 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4935 # Sed substitution to delay expansion of an escaped single quote.
4936 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4938 # Sed substitution to avoid accidental globbing in evaled expressions
4939 no_glob_subst='s/\*/\\\*/g'
4941 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4942 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4943 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
4946 $as_echo_n "checking how to print
strings...
" >&6; }
4947 # Test print first, because it will be a builtin if present.
4948 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
4949 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
4951 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
4954 # Use this function as a fallback that always works.
4955 func_fallback_echo ()
4957 eval 'cat <<_LTECHO_EOF
4961 ECHO='func_fallback_echo'
4964 # func_echo_all arg...
4965 # Invoke $ECHO with all args, space-separated.
4972 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
4973 $as_echo "printf" >&6; } ;;
4974 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
4975 $as_echo "print
-r" >&6; } ;;
4976 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
4977 $as_echo "cat" >&6; } ;;
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
4994 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
4995 if test "${ac_cv_path_SED+set}" = set; then :
4996 $as_echo_n "(cached
) " >&6
4998 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4999 for ac_i in 1 2 3 4 5 6 7; do
5000 ac_script="$ac_script$as_nl$ac_script"
5002 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5003 { ac_script=; unset ac_script;}
5004 if test -z "$SED"; then
5005 ac_path_SED_found=false
5006 # Loop through the user's path and test for each of PROGNAME-LIST
5007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5011 test -z "$as_dir" && as_dir=.
5012 for ac_prog in sed gsed; do
5013 for ac_exec_ext in '' $ac_executable_extensions; do
5014 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5015 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5016 # Check for GNU ac_path_SED and select it if it is found.
5017 # Check for GNU $ac_path_SED
5018 case `"$ac_path_SED" --version 2>&1` in
5020 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5023 $as_echo_n 0123456789 >"conftest.
in"
5026 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5027 mv "conftest.tmp
" "conftest.
in"
5028 cp "conftest.
in" "conftest.
nl"
5029 $as_echo '' >> "conftest.
nl"
5030 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5031 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5032 as_fn_arith $ac_count + 1 && ac_count=$as_val
5033 if test $ac_count -gt ${ac_path_SED_max-0}; then
5034 # Best one so far, save it but keep looking for a better one
5035 ac_cv_path_SED="$ac_path_SED"
5036 ac_path_SED_max=$ac_count
5038 # 10*(2^10) chars as input seems more than enough
5039 test $ac_count -gt 10 && break
5041 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5044 $ac_path_SED_found && break 3
5049 if test -z "$ac_cv_path_SED"; then
5050 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5058 $as_echo "$ac_cv_path_SED" >&6; }
5059 SED="$ac_cv_path_SED"
5062 test -z "$SED" && SED=sed
5063 Xsed="$SED -e 1s
/^X
//"
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
5076 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
5077 if test "${ac_cv_path_GREP+set}" = set; then :
5078 $as_echo_n "(cached
) " >&6
5080 if test -z "$GREP"; then
5081 ac_path_GREP_found=false
5082 # Loop through the user's path and test for each of PROGNAME-LIST
5083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5084 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5087 test -z "$as_dir" && as_dir=.
5088 for ac_prog in grep ggrep; do
5089 for ac_exec_ext in '' $ac_executable_extensions; do
5090 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5091 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5092 # Check for GNU ac_path_GREP and select it if it is found.
5093 # Check for GNU $ac_path_GREP
5094 case `"$ac_path_GREP" --version 2>&1` in
5096 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5099 $as_echo_n 0123456789 >"conftest.
in"
5102 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5103 mv "conftest.tmp
" "conftest.
in"
5104 cp "conftest.
in" "conftest.
nl"
5105 $as_echo 'GREP' >> "conftest.
nl"
5106 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5107 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5108 as_fn_arith $ac_count + 1 && ac_count=$as_val
5109 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5110 # Best one so far, save it but keep looking for a better one
5111 ac_cv_path_GREP="$ac_path_GREP"
5112 ac_path_GREP_max=$ac_count
5114 # 10*(2^10) chars as input seems more than enough
5115 test $ac_count -gt 10 && break
5117 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5120 $ac_path_GREP_found && break 3
5125 if test -z "$ac_cv_path_GREP"; then
5126 as_fn_error "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5129 ac_cv_path_GREP=$GREP
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5134 $as_echo "$ac_cv_path_GREP" >&6; }
5135 GREP="$ac_cv_path_GREP"
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5139 $as_echo_n "checking
for egrep...
" >&6; }
5140 if test "${ac_cv_path_EGREP+set}" = set; then :
5141 $as_echo_n "(cached
) " >&6
5143 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5144 then ac_cv_path_EGREP="$GREP -E"
5146 if test -z "$EGREP"; then
5147 ac_path_EGREP_found=false
5148 # Loop through the user's path and test for each of PROGNAME-LIST
5149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5150 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5153 test -z "$as_dir" && as_dir=.
5154 for ac_prog in egrep; do
5155 for ac_exec_ext in '' $ac_executable_extensions; do
5156 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5157 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5158 # Check for GNU ac_path_EGREP and select it if it is found.
5159 # Check for GNU $ac_path_EGREP
5160 case `"$ac_path_EGREP" --version 2>&1` in
5162 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5165 $as_echo_n 0123456789 >"conftest.
in"
5168 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5169 mv "conftest.tmp
" "conftest.
in"
5170 cp "conftest.
in" "conftest.
nl"
5171 $as_echo 'EGREP' >> "conftest.
nl"
5172 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5173 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5174 as_fn_arith $ac_count + 1 && ac_count=$as_val
5175 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5176 # Best one so far, save it but keep looking for a better one
5177 ac_cv_path_EGREP="$ac_path_EGREP"
5178 ac_path_EGREP_max=$ac_count
5180 # 10*(2^10) chars as input seems more than enough
5181 test $ac_count -gt 10 && break
5183 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5186 $ac_path_EGREP_found && break 3
5191 if test -z "$ac_cv_path_EGREP"; then
5192 as_fn_error "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5195 ac_cv_path_EGREP=$EGREP
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5201 $as_echo "$ac_cv_path_EGREP" >&6; }
5202 EGREP="$ac_cv_path_EGREP"
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5206 $as_echo_n "checking
for fgrep...
" >&6; }
5207 if test "${ac_cv_path_FGREP+set}" = set; then :
5208 $as_echo_n "(cached
) " >&6
5210 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5211 then ac_cv_path_FGREP="$GREP -F"
5213 if test -z "$FGREP"; then
5214 ac_path_FGREP_found=false
5215 # Loop through the user's path and test for each of PROGNAME-LIST
5216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5217 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5220 test -z "$as_dir" && as_dir=.
5221 for ac_prog in fgrep; do
5222 for ac_exec_ext in '' $ac_executable_extensions; do
5223 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5224 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5225 # Check for GNU ac_path_FGREP and select it if it is found.
5226 # Check for GNU $ac_path_FGREP
5227 case `"$ac_path_FGREP" --version 2>&1` in
5229 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5232 $as_echo_n 0123456789 >"conftest.
in"
5235 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5236 mv "conftest.tmp
" "conftest.
in"
5237 cp "conftest.
in" "conftest.
nl"
5238 $as_echo 'FGREP' >> "conftest.
nl"
5239 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5240 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5241 as_fn_arith $ac_count + 1 && ac_count=$as_val
5242 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5243 # Best one so far, save it but keep looking for a better one
5244 ac_cv_path_FGREP="$ac_path_FGREP"
5245 ac_path_FGREP_max=$ac_count
5247 # 10*(2^10) chars as input seems more than enough
5248 test $ac_count -gt 10 && break
5250 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5253 $ac_path_FGREP_found && break 3
5258 if test -z "$ac_cv_path_FGREP"; then
5259 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5262 ac_cv_path_FGREP=$FGREP
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5268 $as_echo "$ac_cv_path_FGREP" >&6; }
5269 FGREP="$ac_cv_path_FGREP"
5272 test -z "$GREP" && GREP=grep
5292 # Check whether --with-gnu-ld was given.
5293 if test "${with_gnu_ld+set}" = set; then :
5294 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5300 if test "$GCC" = yes; then
5301 # Check if gcc -print-prog-name=ld gives a path.
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5303 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5306 # gcc leaves a trailing carriage return which upsets mingw
5307 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5309 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5312 # Accept absolute paths.
5314 re_direlt='/[^/][^/]*/\.\./'
5315 # Canonicalize the pathname of ld
5316 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5317 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5318 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5320 test -z "$LD" && LD="$ac_prog"
5323 # If it fails, then pretend we aren't using GCC.
5327 # If it is relative, then search for the first ld in PATH.
5331 elif test "$with_gnu_ld" = yes; then
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5333 $as_echo_n "checking
for GNU ld...
" >&6; }
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
5336 $as_echo_n "checking
for non-GNU ld...
" >&6; }
5338 if test "${lt_cv_path_LD+set}" = set; then :
5339 $as_echo_n "(cached
) " >&6
5341 if test -z "$LD"; then
5342 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5343 for ac_dir in $PATH; do
5345 test -z "$ac_dir" && ac_dir=.
5346 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5347 lt_cv_path_LD="$ac_dir/$ac_prog"
5348 # Check to see if the program is GNU ld. I'd rather use --version,
5349 # but apparently some variants of GNU ld only accept -v.
5350 # Break only if it was the GNU/non-GNU ld that we prefer.
5351 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5352 *GNU* | *'with BFD'*)
5353 test "$with_gnu_ld" != no && break
5356 test "$with_gnu_ld" != yes && break
5363 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5368 if test -n "$LD"; then
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5370 $as_echo "$LD" >&6; }
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5373 $as_echo "no
" >&6; }
5375 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5377 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5378 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5379 $as_echo_n "(cached
) " >&6
5381 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5382 case `$LD -v 2>&1 </dev/null` in
5383 *GNU* | *'with BFD'*)
5384 lt_cv_prog_gnu_ld=yes
5387 lt_cv_prog_gnu_ld=no
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5392 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5393 with_gnu_ld=$lt_cv_prog_gnu_ld
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5404 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5405 if test "${lt_cv_path_NM+set}" = set; then :
5406 $as_echo_n "(cached
) " >&6
5408 if test -n "$NM"; then
5409 # Let the user override the test.
5412 lt_nm_to_check="${ac_tool_prefix}nm
"
5413 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5414 lt_nm_to_check="$lt_nm_to_check nm
"
5416 for lt_tmp_nm in $lt_nm_to_check; do
5417 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5418 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5420 test -z "$ac_dir" && ac_dir=.
5421 tmp_nm="$ac_dir/$lt_tmp_nm"
5422 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5423 # Check to see if the nm accepts a BSD-compat flag.
5424 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5425 # nm: unknown option "B
" ignored
5426 # Tru64's nm complains that /dev/null is an invalid object file
5427 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5428 */dev/null* | *'Invalid file or object type'*)
5429 lt_cv_path_NM="$tmp_nm -B"
5433 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5435 lt_cv_path_NM="$tmp_nm -p"
5439 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5440 continue # so that we can try to find one that supports BSD flags
5449 : ${lt_cv_path_NM=no}
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5453 $as_echo "$lt_cv_path_NM" >&6; }
5454 if test "$lt_cv_path_NM" != "no
"; then
5457 # Didn't find any BSD compatible name lister, look for dumpbin.
5458 if test -n "$DUMPBIN"; then :
5459 # Let the user override the test.
5461 if test -n "$ac_tool_prefix"; then
5462 for ac_prog in dumpbin "link
-dump"
5464 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5465 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5467 $as_echo_n "checking
for $ac_word...
" >&6; }
5468 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5469 $as_echo_n "(cached
) " >&6
5471 if test -n "$DUMPBIN"; then
5472 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5478 test -z "$as_dir" && as_dir=.
5479 for ac_exec_ext in '' $ac_executable_extensions; do
5480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5481 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5482 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5491 DUMPBIN=$ac_cv_prog_DUMPBIN
5492 if test -n "$DUMPBIN"; then
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5494 $as_echo "$DUMPBIN" >&6; }
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5497 $as_echo "no
" >&6; }
5501 test -n "$DUMPBIN" && break
5504 if test -z "$DUMPBIN"; then
5505 ac_ct_DUMPBIN=$DUMPBIN
5506 for ac_prog in dumpbin "link
-dump"
5508 # Extract the first word of "$ac_prog", so it can be a program name with args.
5509 set dummy $ac_prog; ac_word=$2
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5511 $as_echo_n "checking
for $ac_word...
" >&6; }
5512 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5513 $as_echo_n "(cached
) " >&6
5515 if test -n "$ac_ct_DUMPBIN"; then
5516 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5522 test -z "$as_dir" && as_dir=.
5523 for ac_exec_ext in '' $ac_executable_extensions; do
5524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5525 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5526 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5535 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5536 if test -n "$ac_ct_DUMPBIN"; then
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5538 $as_echo "$ac_ct_DUMPBIN" >&6; }
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5541 $as_echo "no
" >&6; }
5545 test -n "$ac_ct_DUMPBIN" && break
5548 if test "x
$ac_ct_DUMPBIN" = x; then
5551 case $cross_compiling:$ac_tool_warned in
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5554 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5555 ac_tool_warned=yes ;;
5557 DUMPBIN=$ac_ct_DUMPBIN
5561 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5563 DUMPBIN="$DUMPBIN -symbols"
5571 if test "$DUMPBIN" != ":"; then
5575 test -z "$NM" && NM=nm
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5583 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5584 if test "${lt_cv_nm_interface+set}" = set; then :
5585 $as_echo_n "(cached
) " >&6
5587 lt_cv_nm_interface="BSD nm
"
5588 echo "int some_variable
= 0;" > conftest.$ac_ext
5589 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5590 (eval "$ac_compile" 2>conftest.err)
5591 cat conftest.err >&5
5592 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5593 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5594 cat conftest.err >&5
5595 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5596 cat conftest.out >&5
5597 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5598 lt_cv_nm_interface="MS dumpbin
"
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5603 $as_echo "$lt_cv_nm_interface" >&6; }
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5606 $as_echo_n "checking whether
ln -s works...
" >&6; }
5608 if test "$LN_S" = "ln -s"; then
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5610 $as_echo "yes" >&6; }
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5613 $as_echo "no
, using
$LN_S" >&6; }
5616 # find the maximum length of command line arguments
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5618 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5619 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5620 $as_echo_n "(cached
) " >&6
5627 # On DJGPP, this test can blow up pretty badly due to problems in libc
5628 # (any single argument exceeding 2000 bytes causes a buffer overrun
5629 # during glob expansion). Even if it were fixed, the result of this
5630 # check would be larger than it should be.
5631 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5635 # Under GNU Hurd, this test is not required because there is
5636 # no limit to the length of command line arguments.
5637 # Libtool will interpret -1 as no limit whatsoever
5638 lt_cv_sys_max_cmd_len=-1;
5641 cygwin* | mingw* | cegcc*)
5642 # On Win9x/ME, this test blows up -- it succeeds, but takes
5643 # about 5 minutes as the teststring grows exponentially.
5644 # Worse, since 9x/ME are not pre-emptively multitasking,
5645 # you end up with a "frozen
" computer, even though with patience
5646 # the test eventually succeeds (with a max line length of 256k).
5647 # Instead, let's just punt: use the minimum linelength reported by
5648 # all of the supported platforms: 8192 (on NT/2K/XP).
5649 lt_cv_sys_max_cmd_len=8192;
5653 # On MiNT this can take a long time and run out of memory.
5654 lt_cv_sys_max_cmd_len=8192;
5658 # On AmigaOS with pdksh, this test takes hours, literally.
5659 # So we just punt and use a minimum line length of 8192.
5660 lt_cv_sys_max_cmd_len=8192;
5663 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5664 # This has been around since 386BSD, at least. Likely further.
5665 if test -x /sbin/sysctl; then
5666 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5667 elif test -x /usr/sbin/sysctl; then
5668 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5670 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5672 # And add a safety zone
5673 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5674 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5678 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5679 lt_cv_sys_max_cmd_len=196608
5683 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5684 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5685 # nice to cause kernel panics so lets avoid the loop below.
5686 # First set a reasonable default.
5687 lt_cv_sys_max_cmd_len=16384
5689 if test -x /sbin/sysconfig; then
5690 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5691 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5696 lt_cv_sys_max_cmd_len=102400
5698 sysv5* | sco5v6* | sysv4.2uw2*)
5699 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5700 if test -n "$kargmax"; then
5701 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5703 lt_cv_sys_max_cmd_len=32768
5707 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5708 if test -n "$lt_cv_sys_max_cmd_len"; then
5709 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5710 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5712 # Make teststring a little bigger before we do anything with it.
5713 # a 1K string should be a reasonable start.
5714 for i in 1 2 3 4 5 6 7 8 ; do
5715 teststring=$teststring$teststring
5717 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5718 # If test is not a shell built-in, we'll probably end up computing a
5719 # maximum length that is only half of the actual maximum length, but
5721 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5722 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5723 test $i != 17 # 1/2 MB should be enough
5726 teststring=$teststring$teststring
5728 # Only check the string length outside the loop.
5729 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5731 # Add a significant safety factor because C++ compilers can tack on
5732 # massive amounts of additional arguments before passing them to the
5733 # linker. It appears as though 1/2 is a usable value.
5734 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5741 if test -n $lt_cv_sys_max_cmd_len ; then
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5743 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5746 $as_echo "none
" >&6; }
5748 max_cmd_len=$lt_cv_sys_max_cmd_len
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5760 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5761 # Try some XSI features
5764 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5766 && eval 'test $(( 1 + 1 )) -eq 2 \
5767 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5770 $as_echo "$xsi_shell" >&6; }
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5774 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5776 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5778 && lt_shell_append
=yes
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5780 $as_echo "$lt_shell_append" >&6; }
5783 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5793 # test EBCDIC or ASCII
5794 case `echo X|tr X '\101'` in
5795 A
) # ASCII based system
5796 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5797 lt_SP2NL
='tr \040 \012'
5798 lt_NL2SP
='tr \015\012 \040\040'
5800 *) # EBCDIC based system
5801 lt_SP2NL
='tr \100 \n'
5802 lt_NL2SP
='tr \r\n \100\100'
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5815 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5816 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5817 $as_echo_n "(cached) " >&6
5819 lt_cv_ld_reload_flag
='-r'
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5822 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5823 reload_flag
=$lt_cv_ld_reload_flag
5824 case $reload_flag in
5826 *) reload_flag
=" $reload_flag" ;;
5828 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5831 if test "$GCC" = yes; then
5832 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5834 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5847 if test -n "$ac_tool_prefix"; then
5848 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5849 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5851 $as_echo_n "checking for $ac_word... " >&6; }
5852 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5853 $as_echo_n "(cached) " >&6
5855 if test -n "$OBJDUMP"; then
5856 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5862 test -z "$as_dir" && as_dir
=.
5863 for ac_exec_ext
in '' $ac_executable_extensions; do
5864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5865 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5875 OBJDUMP
=$ac_cv_prog_OBJDUMP
5876 if test -n "$OBJDUMP"; then
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5878 $as_echo "$OBJDUMP" >&6; }
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5881 $as_echo "no" >&6; }
5886 if test -z "$ac_cv_prog_OBJDUMP"; then
5887 ac_ct_OBJDUMP
=$OBJDUMP
5888 # Extract the first word of "objdump", so it can be a program name with args.
5889 set dummy objdump
; ac_word
=$2
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5891 $as_echo_n "checking for $ac_word... " >&6; }
5892 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5893 $as_echo_n "(cached) " >&6
5895 if test -n "$ac_ct_OBJDUMP"; then
5896 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5902 test -z "$as_dir" && as_dir
=.
5903 for ac_exec_ext
in '' $ac_executable_extensions; do
5904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5905 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5915 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5916 if test -n "$ac_ct_OBJDUMP"; then
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5918 $as_echo "$ac_ct_OBJDUMP" >&6; }
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5921 $as_echo "no" >&6; }
5924 if test "x$ac_ct_OBJDUMP" = x
; then
5927 case $cross_compiling:$ac_tool_warned in
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5930 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5931 ac_tool_warned
=yes ;;
5933 OBJDUMP
=$ac_ct_OBJDUMP
5936 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5939 test -z "$OBJDUMP" && OBJDUMP
=objdump
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5950 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5951 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5952 $as_echo_n "(cached) " >&6
5954 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5955 lt_cv_file_magic_test_file
=
5956 lt_cv_deplibs_check_method
='unknown'
5957 # Need to set the preceding variable on all platforms that support
5958 # interlibrary dependencies.
5959 # 'none' -- dependencies not supported.
5960 # `unknown' -- same as none, but documents that we really don't know.
5961 # 'pass_all' -- all dependencies passed with no checks.
5962 # 'test_compile' -- check by making test program.
5963 # 'file_magic [[regex]]' -- check by looking for files in library path
5964 # which responds to the $file_magic_cmd with a given extended regex.
5965 # If you have `file' or equivalent on your system and you're not sure
5966 # whether `pass_all' will *always* work, you probably want this one.
5970 lt_cv_deplibs_check_method
=pass_all
5974 lt_cv_deplibs_check_method
=pass_all
5978 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5979 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5980 lt_cv_file_magic_test_file
=/shlib
/libc.so
5984 # func_win32_libid is a shell function defined in ltmain.sh
5985 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5986 lt_cv_file_magic_cmd
='func_win32_libid'
5990 # Base MSYS/MinGW do not provide the 'file' command needed by
5991 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5992 # unless we find 'file', for example because we are cross-compiling.
5993 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5994 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
5995 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5996 lt_cv_file_magic_cmd
='func_win32_libid'
5998 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5999 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6004 # use the weaker test based on 'objdump'. See mingw*.
6005 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6006 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6009 darwin
* | rhapsody
*)
6010 lt_cv_deplibs_check_method
=pass_all
6013 freebsd
* | dragonfly
*)
6014 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6017 # Not sure whether the presence of OpenBSD here was a mistake.
6018 # Let's accept both of them until this is cleared up.
6019 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6020 lt_cv_file_magic_cmd
=/usr
/bin
/file
6021 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6025 lt_cv_deplibs_check_method
=pass_all
6030 lt_cv_deplibs_check_method
=pass_all
6034 lt_cv_deplibs_check_method
=pass_all
6037 hpux10.20
* | hpux11
*)
6038 lt_cv_file_magic_cmd
=/usr
/bin
/file
6041 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6042 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6045 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]'
6046 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6049 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6050 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6056 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6057 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6060 irix5
* | irix6
* | nonstopux
*)
6062 *-32|
*"-32 ") libmagic
=32-bit;;
6063 *-n32|
*"-n32 ") libmagic
=N32
;;
6064 *-64|
*"-64 ") libmagic
=64-bit;;
6065 *) libmagic
=never-match
;;
6067 lt_cv_deplibs_check_method
=pass_all
6070 # This must be Linux ELF.
6071 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
6072 lt_cv_deplibs_check_method
=pass_all
6076 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6077 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6079 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6084 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6085 lt_cv_file_magic_cmd
=/usr
/bin
/file
6086 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6090 lt_cv_deplibs_check_method
=pass_all
6094 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6095 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6097 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6101 osf3
* | osf4
* | osf5
*)
6102 lt_cv_deplibs_check_method
=pass_all
6106 lt_cv_deplibs_check_method
=pass_all
6110 lt_cv_deplibs_check_method
=pass_all
6113 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6114 lt_cv_deplibs_check_method
=pass_all
6118 case $host_vendor in
6120 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]'
6121 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6124 lt_cv_deplibs_check_method
=pass_all
6127 lt_cv_file_magic_cmd
='/bin/file'
6128 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6131 lt_cv_file_magic_cmd
='/bin/file'
6132 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6133 lt_cv_file_magic_test_file
=/lib
/libc.so
6136 lt_cv_deplibs_check_method
=pass_all
6139 lt_cv_deplibs_check_method
=pass_all
6145 lt_cv_deplibs_check_method
=pass_all
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6151 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6152 file_magic_cmd
=$lt_cv_file_magic_cmd
6153 deplibs_check_method
=$lt_cv_deplibs_check_method
6154 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6167 if test -n "$ac_tool_prefix"; then
6168 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6169 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6171 $as_echo_n "checking for $ac_word... " >&6; }
6172 if test "${ac_cv_prog_AR+set}" = set; then :
6173 $as_echo_n "(cached) " >&6
6175 if test -n "$AR"; then
6176 ac_cv_prog_AR
="$AR" # Let the user override the test.
6178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6182 test -z "$as_dir" && as_dir
=.
6183 for ac_exec_ext
in '' $ac_executable_extensions; do
6184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6185 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6196 if test -n "$AR"; then
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6198 $as_echo "$AR" >&6; }
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6201 $as_echo "no" >&6; }
6206 if test -z "$ac_cv_prog_AR"; then
6208 # Extract the first word of "ar", so it can be a program name with args.
6209 set dummy
ar; ac_word
=$2
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6211 $as_echo_n "checking for $ac_word... " >&6; }
6212 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6213 $as_echo_n "(cached) " >&6
6215 if test -n "$ac_ct_AR"; then
6216 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6222 test -z "$as_dir" && as_dir
=.
6223 for ac_exec_ext
in '' $ac_executable_extensions; do
6224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6225 ac_cv_prog_ac_ct_AR
="ar"
6226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6235 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6236 if test -n "$ac_ct_AR"; then
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6238 $as_echo "$ac_ct_AR" >&6; }
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6241 $as_echo "no" >&6; }
6244 if test "x$ac_ct_AR" = x
; then
6247 case $cross_compiling:$ac_tool_warned in
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6250 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6251 ac_tool_warned
=yes ;;
6259 test -z "$AR" && AR
=ar
6260 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6272 if test -n "$ac_tool_prefix"; then
6273 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6274 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6276 $as_echo_n "checking for $ac_word... " >&6; }
6277 if test "${ac_cv_prog_STRIP+set}" = set; then :
6278 $as_echo_n "(cached) " >&6
6280 if test -n "$STRIP"; then
6281 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6287 test -z "$as_dir" && as_dir
=.
6288 for ac_exec_ext
in '' $ac_executable_extensions; do
6289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6290 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6300 STRIP
=$ac_cv_prog_STRIP
6301 if test -n "$STRIP"; then
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6303 $as_echo "$STRIP" >&6; }
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6306 $as_echo "no" >&6; }
6311 if test -z "$ac_cv_prog_STRIP"; then
6313 # Extract the first word of "strip", so it can be a program name with args.
6314 set dummy strip
; ac_word
=$2
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6316 $as_echo_n "checking for $ac_word... " >&6; }
6317 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6318 $as_echo_n "(cached) " >&6
6320 if test -n "$ac_ct_STRIP"; then
6321 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6327 test -z "$as_dir" && as_dir
=.
6328 for ac_exec_ext
in '' $ac_executable_extensions; do
6329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6330 ac_cv_prog_ac_ct_STRIP
="strip"
6331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6340 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6341 if test -n "$ac_ct_STRIP"; then
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6343 $as_echo "$ac_ct_STRIP" >&6; }
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6346 $as_echo "no" >&6; }
6349 if test "x$ac_ct_STRIP" = x
; then
6352 case $cross_compiling:$ac_tool_warned in
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6356 ac_tool_warned
=yes ;;
6361 STRIP
="$ac_cv_prog_STRIP"
6364 test -z "$STRIP" && STRIP
=:
6371 if test -n "$ac_tool_prefix"; then
6372 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6373 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6375 $as_echo_n "checking for $ac_word... " >&6; }
6376 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6377 $as_echo_n "(cached) " >&6
6379 if test -n "$RANLIB"; then
6380 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6386 test -z "$as_dir" && as_dir
=.
6387 for ac_exec_ext
in '' $ac_executable_extensions; do
6388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6389 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6399 RANLIB
=$ac_cv_prog_RANLIB
6400 if test -n "$RANLIB"; then
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6402 $as_echo "$RANLIB" >&6; }
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6405 $as_echo "no" >&6; }
6410 if test -z "$ac_cv_prog_RANLIB"; then
6411 ac_ct_RANLIB
=$RANLIB
6412 # Extract the first word of "ranlib", so it can be a program name with args.
6413 set dummy ranlib
; ac_word
=$2
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6415 $as_echo_n "checking for $ac_word... " >&6; }
6416 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6417 $as_echo_n "(cached) " >&6
6419 if test -n "$ac_ct_RANLIB"; then
6420 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6426 test -z "$as_dir" && as_dir
=.
6427 for ac_exec_ext
in '' $ac_executable_extensions; do
6428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6429 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6439 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6440 if test -n "$ac_ct_RANLIB"; then
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6442 $as_echo "$ac_ct_RANLIB" >&6; }
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6445 $as_echo "no" >&6; }
6448 if test "x$ac_ct_RANLIB" = x
; then
6451 case $cross_compiling:$ac_tool_warned in
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6455 ac_tool_warned
=yes ;;
6457 RANLIB
=$ac_ct_RANLIB
6460 RANLIB
="$ac_cv_prog_RANLIB"
6463 test -z "$RANLIB" && RANLIB
=:
6470 # Determine commands to create old-style static archives.
6471 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6472 old_postinstall_cmds
='chmod 644 $oldlib'
6473 old_postuninstall_cmds
=
6475 if test -n "$RANLIB"; then
6478 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6481 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6484 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6489 lock_old_archive_extraction
=yes ;;
6491 lock_old_archive_extraction
=no
;;
6532 # If no C compiler was specified, use CC.
6535 # If no C compiler flags were specified, use CFLAGS.
6536 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6538 # Allow CC to be a program name with arguments.
6542 # Check for command to grab the raw symbol name followed by C symbol from nm.
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6544 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6545 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6546 $as_echo_n "(cached) " >&6
6549 # These are sane defaults that work on at least a few old systems.
6550 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6552 # Character class describing NM global symbol codes.
6553 symcode
='[BCDEGRST]'
6555 # Regexp to match symbols that can be accessed directly from C.
6556 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6558 # Define system-specific variables.
6563 cygwin
* | mingw
* | pw32
* | cegcc
*)
6564 symcode
='[ABCDGISTW]'
6567 if test "$host_cpu" = ia64
; then
6568 symcode
='[ABCDEGRST]'
6572 symcode
='[BCDEGRST]'
6575 symcode
='[BCDEGQRST]'
6586 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6594 # If we're using GNU nm, then use its standard symbol codes.
6595 case `$NM -V 2>&1` in
6596 *GNU
* |
*'with BFD'*)
6597 symcode
='[ABCDGIRSTW]' ;;
6600 # Transform an extracted symbol line into a proper C declaration.
6601 # Some systems (esp. on ia64) link data and code symbols differently,
6602 # so use this general approach.
6603 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6605 # Transform an extracted symbol line into symbol name and symbol address
6606 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6607 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'"
6609 # Handle CRLF in mingw tool chain
6613 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6617 # Try without a prefix underscore, then with it.
6618 for ac_symprfx
in "" "_"; do
6620 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6621 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6623 # Write the raw and C identifiers.
6624 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6625 # Fake it for dumpbin and say T for any non-static function
6626 # and D for any global variable.
6627 # Also find C++ and __fastcall symbols from MSVC++,
6628 # which start with @ or ?.
6629 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6630 " {last_section=section; section=\$ 3};"\
6631 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6632 " \$ 0!~/External *\|/{next};"\
6633 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6634 " {if(hide[section]) next};"\
6635 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6636 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6637 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6638 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6639 " ' prfx=^$ac_symprfx"
6641 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6644 # Check to see that the pipe works correctly.
6648 cat > conftest.
$ac_ext <<_LT_EOF
6653 void nm_test_func(void);
6654 void nm_test_func(void){}
6658 int main(){nm_test_var='a';nm_test_func();return(0);}
6661 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6662 (eval $ac_compile) 2>&5
6664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6665 test $ac_status = 0; }; then
6666 # Now try to grab the symbols.
6668 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6669 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6672 test $ac_status = 0; } && test -s "$nlist"; then
6673 # Try sorting and uniquifying the output.
6674 if sort "$nlist" |
uniq > "$nlist"T
; then
6675 mv -f "$nlist"T
"$nlist"
6680 # Make sure that we snagged all the symbols we need.
6681 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6682 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6683 cat <<_LT_EOF > conftest.$ac_ext
6689 # Now generate the symbol file.
6690 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6692 cat <<_LT_EOF >> conftest.$ac_ext
6694 /* The mapping between symbol names and symbols. */
6699 lt__PROGRAM__LTX_preloaded_symbols[] =
6701 { "@PROGRAM@", (void *) 0 },
6703 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
6704 cat <<\_LT_EOF
>> conftest.
$ac_ext
6708 /* This works around a problem
in FreeBSD linker
*/
6709 #ifdef FREEBSD_WORKAROUND
6710 static const void
*lt_preloaded_setup
() {
6711 return lt__PROGRAM__LTX_preloaded_symbols
;
6719 # Now try linking the two files.
6720 mv conftest.
$ac_objext conftstm.
$ac_objext
6721 lt_save_LIBS
="$LIBS"
6722 lt_save_CFLAGS
="$CFLAGS"
6723 LIBS
="conftstm.$ac_objext"
6724 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6725 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6726 (eval $ac_link) 2>&5
6728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6729 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6732 LIBS
="$lt_save_LIBS"
6733 CFLAGS
="$lt_save_CFLAGS"
6735 echo "cannot find nm_test_func in $nlist" >&5
6738 echo "cannot find nm_test_var in $nlist" >&5
6741 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6744 echo "$progname: failed program was:" >&5
6745 cat conftest.
$ac_ext >&5
6747 rm -rf conftest
* conftst
*
6749 # Do not use the global_symbol_pipe unless it works.
6750 if test "$pipe_works" = yes; then
6753 lt_cv_sys_global_symbol_pipe
=
6759 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6760 lt_cv_sys_global_symbol_to_cdecl
=
6762 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6764 $as_echo "failed" >&6; }
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6767 $as_echo "ok" >&6; }
6792 # Check whether --enable-libtool-lock was given.
6793 if test "${enable_libtool_lock+set}" = set; then :
6794 enableval
=$enable_libtool_lock;
6797 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6799 # Some flags need to be propagated to the compiler or linker for good
6803 # Find out which ABI we are using.
6804 echo 'int i;' > conftest.
$ac_ext
6805 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6806 (eval $ac_compile) 2>&5
6808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6809 test $ac_status = 0; }; then
6810 case `/usr/bin/file conftest.$ac_objext` in
6822 # Find out which ABI we are using.
6823 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6824 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6825 (eval $ac_compile) 2>&5
6827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6828 test $ac_status = 0; }; then
6829 if test "$lt_cv_prog_gnu_ld" = yes; then
6830 case `/usr/bin/file conftest.$ac_objext` in
6832 LD
="${LD-ld} -melf32bsmip"
6835 LD
="${LD-ld} -melf32bmipn32"
6838 LD
="${LD-ld} -melf64bmip"
6842 case `/usr/bin/file conftest.$ac_objext` in
6858 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
6859 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6860 # Find out which ABI we are using.
6861 echo 'int i;' > conftest.
$ac_ext
6862 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6863 (eval $ac_compile) 2>&5
6865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6866 test $ac_status = 0; }; then
6867 case `/usr/bin/file conftest.o` in
6870 x86_64-
*kfreebsd
*-gnu)
6871 LD
="${LD-ld} -m elf_i386_fbsd"
6874 case `/usr/bin/file conftest.o` in
6876 LD
="${LD-ld} -m elf32_x86_64"
6879 LD
="${LD-ld} -m elf_i386"
6883 powerpc64le-
*linux
*)
6884 LD
="${LD-ld} -m elf32lppclinux"
6887 LD
="${LD-ld} -m elf32ppclinux"
6890 LD
="${LD-ld} -m elf_s390"
6893 LD
="${LD-ld} -m elf32_sparc"
6899 x86_64-
*kfreebsd
*-gnu)
6900 LD
="${LD-ld} -m elf_x86_64_fbsd"
6903 LD
="${LD-ld} -m elf_x86_64"
6906 LD
="${LD-ld} -m elf64lppc"
6909 LD
="${LD-ld} -m elf64ppc"
6911 s390
*-*linux
*|s390
*-*tpf
*)
6912 LD
="${LD-ld} -m elf64_s390"
6915 LD
="${LD-ld} -m elf64_sparc"
6925 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6926 SAVE_CFLAGS
="$CFLAGS"
6927 CFLAGS
="$CFLAGS -belf"
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6929 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6930 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6931 $as_echo_n "(cached) " >&6
6934 ac_cpp
='$CPP $CPPFLAGS'
6935 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6936 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6937 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6940 /* end confdefs.h. */
6950 if ac_fn_c_try_link
"$LINENO"; then :
6951 lt_cv_cc_needs_belf
=yes
6953 lt_cv_cc_needs_belf
=no
6955 rm -f core conftest.err conftest.
$ac_objext \
6956 conftest
$ac_exeext conftest.
$ac_ext
6958 ac_cpp
='$CPP $CPPFLAGS'
6959 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6960 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6961 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6965 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6966 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6967 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6968 CFLAGS
="$SAVE_CFLAGS"
6972 # Find out which ABI we are using.
6973 echo 'int i;' > conftest.
$ac_ext
6974 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6975 (eval $ac_compile) 2>&5
6977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6978 test $ac_status = 0; }; then
6979 case `/usr/bin/file conftest.o` in
6981 case $lt_cv_prog_gnu_ld in
6982 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
6984 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
6996 need_locks
="$enable_libtool_lock"
7000 rhapsody
* | darwin
*)
7001 if test -n "$ac_tool_prefix"; then
7002 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7003 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7005 $as_echo_n "checking for $ac_word... " >&6; }
7006 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7007 $as_echo_n "(cached) " >&6
7009 if test -n "$DSYMUTIL"; then
7010 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7016 test -z "$as_dir" && as_dir
=.
7017 for ac_exec_ext
in '' $ac_executable_extensions; do
7018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7019 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7029 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7030 if test -n "$DSYMUTIL"; then
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7032 $as_echo "$DSYMUTIL" >&6; }
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7035 $as_echo "no" >&6; }
7040 if test -z "$ac_cv_prog_DSYMUTIL"; then
7041 ac_ct_DSYMUTIL
=$DSYMUTIL
7042 # Extract the first word of "dsymutil", so it can be a program name with args.
7043 set dummy dsymutil
; ac_word
=$2
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7045 $as_echo_n "checking for $ac_word... " >&6; }
7046 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7047 $as_echo_n "(cached) " >&6
7049 if test -n "$ac_ct_DSYMUTIL"; then
7050 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7056 test -z "$as_dir" && as_dir
=.
7057 for ac_exec_ext
in '' $ac_executable_extensions; do
7058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7059 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7069 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7070 if test -n "$ac_ct_DSYMUTIL"; then
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7072 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7075 $as_echo "no" >&6; }
7078 if test "x$ac_ct_DSYMUTIL" = x
; then
7081 case $cross_compiling:$ac_tool_warned in
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7084 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7085 ac_tool_warned
=yes ;;
7087 DSYMUTIL
=$ac_ct_DSYMUTIL
7090 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7093 if test -n "$ac_tool_prefix"; then
7094 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7095 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7097 $as_echo_n "checking for $ac_word... " >&6; }
7098 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7099 $as_echo_n "(cached) " >&6
7101 if test -n "$NMEDIT"; then
7102 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7108 test -z "$as_dir" && as_dir
=.
7109 for ac_exec_ext
in '' $ac_executable_extensions; do
7110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7111 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7121 NMEDIT
=$ac_cv_prog_NMEDIT
7122 if test -n "$NMEDIT"; then
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7124 $as_echo "$NMEDIT" >&6; }
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7127 $as_echo "no" >&6; }
7132 if test -z "$ac_cv_prog_NMEDIT"; then
7133 ac_ct_NMEDIT
=$NMEDIT
7134 # Extract the first word of "nmedit", so it can be a program name with args.
7135 set dummy nmedit
; ac_word
=$2
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7137 $as_echo_n "checking for $ac_word... " >&6; }
7138 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7139 $as_echo_n "(cached) " >&6
7141 if test -n "$ac_ct_NMEDIT"; then
7142 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7148 test -z "$as_dir" && as_dir
=.
7149 for ac_exec_ext
in '' $ac_executable_extensions; do
7150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7151 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7161 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7162 if test -n "$ac_ct_NMEDIT"; then
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7164 $as_echo "$ac_ct_NMEDIT" >&6; }
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7167 $as_echo "no" >&6; }
7170 if test "x$ac_ct_NMEDIT" = x
; then
7173 case $cross_compiling:$ac_tool_warned in
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7176 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7177 ac_tool_warned
=yes ;;
7179 NMEDIT
=$ac_ct_NMEDIT
7182 NMEDIT
="$ac_cv_prog_NMEDIT"
7185 if test -n "$ac_tool_prefix"; then
7186 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7187 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7189 $as_echo_n "checking for $ac_word... " >&6; }
7190 if test "${ac_cv_prog_LIPO+set}" = set; then :
7191 $as_echo_n "(cached) " >&6
7193 if test -n "$LIPO"; then
7194 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7200 test -z "$as_dir" && as_dir
=.
7201 for ac_exec_ext
in '' $ac_executable_extensions; do
7202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7203 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7213 LIPO
=$ac_cv_prog_LIPO
7214 if test -n "$LIPO"; then
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7216 $as_echo "$LIPO" >&6; }
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7219 $as_echo "no" >&6; }
7224 if test -z "$ac_cv_prog_LIPO"; then
7226 # Extract the first word of "lipo", so it can be a program name with args.
7227 set dummy lipo
; ac_word
=$2
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7229 $as_echo_n "checking for $ac_word... " >&6; }
7230 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7231 $as_echo_n "(cached) " >&6
7233 if test -n "$ac_ct_LIPO"; then
7234 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7240 test -z "$as_dir" && as_dir
=.
7241 for ac_exec_ext
in '' $ac_executable_extensions; do
7242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7243 ac_cv_prog_ac_ct_LIPO
="lipo"
7244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7253 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7254 if test -n "$ac_ct_LIPO"; then
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7256 $as_echo "$ac_ct_LIPO" >&6; }
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7259 $as_echo "no" >&6; }
7262 if test "x$ac_ct_LIPO" = x
; then
7265 case $cross_compiling:$ac_tool_warned in
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7268 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7269 ac_tool_warned
=yes ;;
7274 LIPO
="$ac_cv_prog_LIPO"
7277 if test -n "$ac_tool_prefix"; then
7278 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7279 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7281 $as_echo_n "checking for $ac_word... " >&6; }
7282 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7283 $as_echo_n "(cached) " >&6
7285 if test -n "$OTOOL"; then
7286 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7292 test -z "$as_dir" && as_dir
=.
7293 for ac_exec_ext
in '' $ac_executable_extensions; do
7294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7295 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7305 OTOOL
=$ac_cv_prog_OTOOL
7306 if test -n "$OTOOL"; then
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7308 $as_echo "$OTOOL" >&6; }
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7311 $as_echo "no" >&6; }
7316 if test -z "$ac_cv_prog_OTOOL"; then
7318 # Extract the first word of "otool", so it can be a program name with args.
7319 set dummy otool
; ac_word
=$2
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7321 $as_echo_n "checking for $ac_word... " >&6; }
7322 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7323 $as_echo_n "(cached) " >&6
7325 if test -n "$ac_ct_OTOOL"; then
7326 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7332 test -z "$as_dir" && as_dir
=.
7333 for ac_exec_ext
in '' $ac_executable_extensions; do
7334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7335 ac_cv_prog_ac_ct_OTOOL
="otool"
7336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7345 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7346 if test -n "$ac_ct_OTOOL"; then
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7348 $as_echo "$ac_ct_OTOOL" >&6; }
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7351 $as_echo "no" >&6; }
7354 if test "x$ac_ct_OTOOL" = x
; then
7357 case $cross_compiling:$ac_tool_warned in
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7360 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7361 ac_tool_warned
=yes ;;
7366 OTOOL
="$ac_cv_prog_OTOOL"
7369 if test -n "$ac_tool_prefix"; then
7370 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7371 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7373 $as_echo_n "checking for $ac_word... " >&6; }
7374 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7375 $as_echo_n "(cached) " >&6
7377 if test -n "$OTOOL64"; then
7378 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7384 test -z "$as_dir" && as_dir
=.
7385 for ac_exec_ext
in '' $ac_executable_extensions; do
7386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7387 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7397 OTOOL64
=$ac_cv_prog_OTOOL64
7398 if test -n "$OTOOL64"; then
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7400 $as_echo "$OTOOL64" >&6; }
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7403 $as_echo "no" >&6; }
7408 if test -z "$ac_cv_prog_OTOOL64"; then
7409 ac_ct_OTOOL64
=$OTOOL64
7410 # Extract the first word of "otool64", so it can be a program name with args.
7411 set dummy otool64
; ac_word
=$2
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7413 $as_echo_n "checking for $ac_word... " >&6; }
7414 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7415 $as_echo_n "(cached) " >&6
7417 if test -n "$ac_ct_OTOOL64"; then
7418 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7424 test -z "$as_dir" && as_dir
=.
7425 for ac_exec_ext
in '' $ac_executable_extensions; do
7426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7427 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7437 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7438 if test -n "$ac_ct_OTOOL64"; then
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7440 $as_echo "$ac_ct_OTOOL64" >&6; }
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7443 $as_echo "no" >&6; }
7446 if test "x$ac_ct_OTOOL64" = x
; then
7449 case $cross_compiling:$ac_tool_warned in
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7452 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7453 ac_tool_warned
=yes ;;
7455 OTOOL64
=$ac_ct_OTOOL64
7458 OTOOL64
="$ac_cv_prog_OTOOL64"
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7488 $as_echo_n "checking for -single_module linker flag... " >&6; }
7489 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7490 $as_echo_n "(cached) " >&6
7492 lt_cv_apple_cc_single_mod
=no
7493 if test -z "${LT_MULTI_MODULE}"; then
7494 # By default we will add the -single_module flag. You can override
7495 # by either setting the environment variable LT_MULTI_MODULE
7496 # non-empty at configure time, or by adding -multi_module to the
7498 rm -rf libconftest.dylib
*
7499 echo "int foo(void){return 1;}" > conftest.c
7500 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7501 -dynamiclib -Wl,-single_module conftest.c" >&5
7502 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7503 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7505 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
7506 lt_cv_apple_cc_single_mod
=yes
7508 cat conftest.err
>&5
7510 rm -rf libconftest.dylib
*
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7515 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7517 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7518 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7519 $as_echo_n "(cached) " >&6
7521 lt_cv_ld_exported_symbols_list
=no
7522 save_LDFLAGS
=$LDFLAGS
7523 echo "_main" > conftest.sym
7524 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7526 /* end confdefs.h. */
7536 if ac_fn_c_try_link
"$LINENO"; then :
7537 lt_cv_ld_exported_symbols_list
=yes
7539 lt_cv_ld_exported_symbols_list
=no
7541 rm -f core conftest.err conftest.
$ac_objext \
7542 conftest
$ac_exeext conftest.
$ac_ext
7543 LDFLAGS
="$save_LDFLAGS"
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7547 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7549 $as_echo_n "checking for -force_load linker flag... " >&6; }
7550 if test "${lt_cv_ld_force_load+set}" = set; then :
7551 $as_echo_n "(cached) " >&6
7553 lt_cv_ld_force_load
=no
7554 cat > conftest.c
<< _LT_EOF
7555 int forced_loaded() { return 2;}
7557 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7558 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7559 echo "$AR cru libconftest.a conftest.o" >&5
7560 $AR cru libconftest.a conftest.o
2>&5
7561 cat > conftest.c
<< _LT_EOF
7562 int main() { return 0;}
7564 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7565 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7567 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
7568 lt_cv_ld_force_load
=yes
7570 cat conftest.err
>&5
7572 rm -f conftest.err libconftest.a conftest conftest.c
7573 rm -rf conftest.dSYM
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7577 $as_echo "$lt_cv_ld_force_load" >&6; }
7579 rhapsody
* | darwin1.
[012])
7580 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7582 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7583 darwin
*) # darwin 5.x on
7584 # if running on 10.5 or later, the deployment target defaults
7585 # to the OS version, if on x86, and 10.4, the deployment
7586 # target defaults to 10.4. Don't you love it?
7587 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7588 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7589 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7591 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7593 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7597 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7598 _lt_dar_single_mod
='$single_module'
7600 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7601 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7603 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7605 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7606 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7614 ac_cpp
='$CPP $CPPFLAGS'
7615 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7616 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7617 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7619 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7620 # On Suns, sometimes $CPP names a directory.
7621 if test -n "$CPP" && test -d "$CPP"; then
7624 if test -z "$CPP"; then
7625 if test "${ac_cv_prog_CPP+set}" = set; then :
7626 $as_echo_n "(cached) " >&6
7628 # Double quotes because CPP needs to be expanded
7629 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7632 for ac_c_preproc_warn_flag
in '' yes
7634 # Use a header file that comes with gcc, so configuring glibc
7635 # with a fresh cross-compiler works.
7636 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7637 # <limits.h> exists even on freestanding compilers.
7638 # On the NeXT, cc -E runs the code through the compiler's parser,
7639 # not just through cpp. "Syntax error" is here to catch this case.
7640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7641 /* end confdefs.h. */
7643 # include <limits.h>
7645 # include <assert.h>
7649 if ac_fn_c_try_cpp
"$LINENO"; then :
7652 # Broken: fails on valid input.
7655 rm -f conftest.err conftest.
$ac_ext
7657 # OK, works on sane cases. Now check whether nonexistent headers
7658 # can be detected and how.
7659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7660 /* end confdefs.h. */
7661 #include <ac_nonexistent.h>
7663 if ac_fn_c_try_cpp
"$LINENO"; then :
7664 # Broken: success on invalid input.
7667 # Passes both tests.
7671 rm -f conftest.err conftest.
$ac_ext
7674 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7675 rm -f conftest.err conftest.
$ac_ext
7676 if $ac_preproc_ok; then :
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7689 $as_echo "$CPP" >&6; }
7691 for ac_c_preproc_warn_flag
in '' yes
7693 # Use a header file that comes with gcc, so configuring glibc
7694 # with a fresh cross-compiler works.
7695 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7696 # <limits.h> exists even on freestanding compilers.
7697 # On the NeXT, cc -E runs the code through the compiler's parser,
7698 # not just through cpp. "Syntax error" is here to catch this case.
7699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7700 /* end confdefs.h. */
7702 # include <limits.h>
7704 # include <assert.h>
7708 if ac_fn_c_try_cpp
"$LINENO"; then :
7711 # Broken: fails on valid input.
7714 rm -f conftest.err conftest.
$ac_ext
7716 # OK, works on sane cases. Now check whether nonexistent headers
7717 # can be detected and how.
7718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7719 /* end confdefs.h. */
7720 #include <ac_nonexistent.h>
7722 if ac_fn_c_try_cpp
"$LINENO"; then :
7723 # Broken: success on invalid input.
7726 # Passes both tests.
7730 rm -f conftest.err conftest.
$ac_ext
7733 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7734 rm -f conftest.err conftest.
$ac_ext
7735 if $ac_preproc_ok; then :
7738 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7739 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7740 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
7741 See \`config.log' for more details." "$LINENO" 5; }
7745 ac_cpp
='$CPP $CPPFLAGS'
7746 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7747 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7748 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7752 $as_echo_n "checking for ANSI C header files... " >&6; }
7753 if test "${ac_cv_header_stdc+set}" = set; then :
7754 $as_echo_n "(cached) " >&6
7756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7757 /* end confdefs.h. */
7771 if ac_fn_c_try_compile
"$LINENO"; then :
7772 ac_cv_header_stdc
=yes
7774 ac_cv_header_stdc
=no
7776 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7778 if test $ac_cv_header_stdc = yes; then
7779 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7781 /* end confdefs.h. */
7785 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7786 $EGREP "memchr" >/dev
/null
2>&1; then :
7789 ac_cv_header_stdc
=no
7795 if test $ac_cv_header_stdc = yes; then
7796 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7798 /* end confdefs.h. */
7802 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7803 $EGREP "free" >/dev
/null
2>&1; then :
7806 ac_cv_header_stdc
=no
7812 if test $ac_cv_header_stdc = yes; then
7813 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7814 if test "$cross_compiling" = yes; then :
7817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7818 /* end confdefs.h. */
7821 #if ((' ' & 0x0FF) == 0x020)
7822 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7823 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7825 # define ISLOWER(c) \
7826 (('a' <= (c) && (c) <= 'i') \
7827 || ('j' <= (c) && (c) <= 'r') \
7828 || ('s' <= (c) && (c) <= 'z'))
7829 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7832 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7837 for (i = 0; i < 256; i++)
7838 if (XOR (islower (i), ISLOWER (i))
7839 || toupper (i) != TOUPPER (i))
7844 if ac_fn_c_try_run
"$LINENO"; then :
7847 ac_cv_header_stdc
=no
7849 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7850 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7856 $as_echo "$ac_cv_header_stdc" >&6; }
7857 if test $ac_cv_header_stdc = yes; then
7859 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7863 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7864 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7865 inttypes.h stdint.h unistd.h
7867 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7868 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7870 eval as_val
=\$
$as_ac_Header
7871 if test "x$as_val" = x
""yes; then :
7872 cat >>confdefs.h
<<_ACEOF
7873 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7881 for ac_header
in dlfcn.h
7883 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7885 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7886 cat >>confdefs.h
<<_ACEOF
7887 #define HAVE_DLFCN_H 1
7909 # Check whether --enable-shared was given.
7910 if test "${enable_shared+set}" = set; then :
7911 enableval
=$enable_shared; p
=${PACKAGE-default}
7913 yes) enable_shared
=yes ;;
7914 no
) enable_shared
=no
;;
7917 # Look at the argument we got. We use all the common list separators.
7918 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7919 for pkg
in $enableval; do
7921 if test "X$pkg" = "X$p"; then
7940 # Check whether --enable-static was given.
7941 if test "${enable_static+set}" = set; then :
7942 enableval
=$enable_static; p
=${PACKAGE-default}
7944 yes) enable_static
=yes ;;
7945 no
) enable_static
=no
;;
7948 # Look at the argument we got. We use all the common list separators.
7949 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7950 for pkg
in $enableval; do
7952 if test "X$pkg" = "X$p"; then
7972 # Check whether --with-pic was given.
7973 if test "${with_pic+set}" = set; then :
7974 withval
=$with_pic; pic_mode
="$withval"
7980 test -z "$pic_mode" && pic_mode
=default
7988 # Check whether --enable-fast-install was given.
7989 if test "${enable_fast_install+set}" = set; then :
7990 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7992 yes) enable_fast_install
=yes ;;
7993 no
) enable_fast_install
=no
;;
7995 enable_fast_install
=no
7996 # Look at the argument we got. We use all the common list separators.
7997 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7998 for pkg
in $enableval; do
8000 if test "X$pkg" = "X$p"; then
8001 enable_fast_install
=yes
8008 enable_fast_install
=yes
8021 # This can be used to rebuild libtool when needed
8022 LIBTOOL_DEPS
="$ltmain"
8024 # Always use our own libtool.
8025 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8052 test -z "$LN_S" && LN_S
="ln -s"
8067 if test -n "${ZSH_VERSION+set}" ; then
8068 setopt NO_GLOB_SUBST
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8072 $as_echo_n "checking for objdir... " >&6; }
8073 if test "${lt_cv_objdir+set}" = set; then :
8074 $as_echo_n "(cached) " >&6
8076 rm -f .libs
2>/dev
/null
8077 mkdir .libs
2>/dev
/null
8078 if test -d .libs
; then
8081 # MS-DOS does not allow filenames that begin with a dot.
8084 rmdir .libs
2>/dev
/null
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8087 $as_echo "$lt_cv_objdir" >&6; }
8088 objdir
=$lt_cv_objdir
8094 cat >>confdefs.h
<<_ACEOF
8095 #define LT_OBJDIR "$lt_cv_objdir/"
8103 # AIX sometimes has problems with the GCC collect2 program. For some
8104 # reason, if we set the COLLECT_NAMES environment variable, the problems
8105 # vanish in a puff of smoke.
8106 if test "X${COLLECT_NAMES+set}" != Xset
; then
8108 export COLLECT_NAMES
8115 can_build_shared
=yes
8117 # All known linkers require a `.a' archive for static linking (except MSVC,
8118 # which needs '.lib').
8121 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8124 old_CFLAGS
="$CFLAGS"
8126 # Set sane defaults for various variables
8127 test -z "$CC" && CC
=cc
8128 test -z "$LTCC" && LTCC
=$CC
8129 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8130 test -z "$LD" && LD
=ld
8131 test -z "$ac_objext" && ac_objext
=o
8133 for cc_temp
in $compiler""; do
8135 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8136 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8141 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8144 # Only perform the check for file, if the check method requires it
8145 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8146 case $deplibs_check_method in
8148 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8150 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8151 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8152 $as_echo_n "(cached) " >&6
8156 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8159 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8160 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8161 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8162 for ac_dir
in $ac_dummy; do
8164 test -z "$ac_dir" && ac_dir
=.
8165 if test -f $ac_dir/${ac_tool_prefix}file; then
8166 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8167 if test -n "$file_magic_test_file"; then
8168 case $deplibs_check_method in
8170 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8171 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8172 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8173 $EGREP "$file_magic_regex" > /dev
/null
; then
8178 *** Warning: the command libtool uses to detect shared libraries,
8179 *** $file_magic_cmd, produces output that libtool cannot recognize.
8180 *** The result is that libtool may fail to recognize shared libraries
8181 *** as such. This will affect the creation of libtool libraries that
8182 *** depend on shared libraries, but programs linked with such libtool
8183 *** libraries will work regardless of this problem. Nevertheless, you
8184 *** may want to report the problem to your system manager and/or to
8185 *** bug-libtool@gnu.org
8195 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8200 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8201 if test -n "$MAGIC_CMD"; then
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8203 $as_echo "$MAGIC_CMD" >&6; }
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8206 $as_echo "no" >&6; }
8213 if test -z "$lt_cv_path_MAGIC_CMD"; then
8214 if test -n "$ac_tool_prefix"; then
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8216 $as_echo_n "checking for file... " >&6; }
8217 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8218 $as_echo_n "(cached) " >&6
8222 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8225 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8226 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8227 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8228 for ac_dir
in $ac_dummy; do
8230 test -z "$ac_dir" && ac_dir
=.
8231 if test -f $ac_dir/file; then
8232 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8233 if test -n "$file_magic_test_file"; then
8234 case $deplibs_check_method in
8236 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8237 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8238 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8239 $EGREP "$file_magic_regex" > /dev
/null
; then
8244 *** Warning: the command libtool uses to detect shared libraries,
8245 *** $file_magic_cmd, produces output that libtool cannot recognize.
8246 *** The result is that libtool may fail to recognize shared libraries
8247 *** as such. This will affect the creation of libtool libraries that
8248 *** depend on shared libraries, but programs linked with such libtool
8249 *** libraries will work regardless of this problem. Nevertheless, you
8250 *** may want to report the problem to your system manager and/or to
8251 *** bug-libtool@gnu.org
8261 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8266 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8267 if test -n "$MAGIC_CMD"; then
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8269 $as_echo "$MAGIC_CMD" >&6; }
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8272 $as_echo "no" >&6; }
8285 # Use C for the default configuration in the libtool script
8289 ac_cpp
='$CPP $CPPFLAGS'
8290 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8291 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8292 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8295 # Source file extension for C test sources.
8298 # Object file extension for compiled C test sources.
8302 # Code to be used in simple compile tests
8303 lt_simple_compile_test_code
="int some_variable = 0;"
8305 # Code to be used in simple link tests
8306 lt_simple_link_test_code
='int main(){return(0);}'
8314 # If no C compiler was specified, use CC.
8317 # If no C compiler flags were specified, use CFLAGS.
8318 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8320 # Allow CC to be a program name with arguments.
8323 # Save the default compiler, since it gets overwritten when the other
8324 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8325 compiler_DEFAULT
=$CC
8327 # save warnings/boilerplate of simple test code
8328 ac_outfile
=conftest.
$ac_objext
8329 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8330 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8331 _lt_compiler_boilerplate
=`cat conftest.err`
8334 ac_outfile
=conftest.
$ac_objext
8335 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8336 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8337 _lt_linker_boilerplate
=`cat conftest.err`
8342 ## There is no encapsulation within the following macros, do not change
8343 ## the running order or otherwise move them around unless you know exactly
8344 ## what you are doing...
8345 if test -n "$compiler"; then
8347 lt_prog_compiler_no_builtin_flag
=
8349 if test "$GCC" = yes; then
8350 case $cc_basename in
8352 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8354 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8358 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8359 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8360 $as_echo_n "(cached) " >&6
8362 lt_cv_prog_compiler_rtti_exceptions
=no
8363 ac_outfile
=conftest.
$ac_objext
8364 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8365 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8366 # Insert the option either (1) after the last *FLAGS variable, or
8367 # (2) before a word containing "conftest.", or (3) at the end.
8368 # Note that $ac_compile itself does not contain backslashes and begins
8369 # with a dollar sign (not a hyphen), so the echo should work correctly.
8370 # The option is referenced via a variable to avoid confusing sed.
8371 lt_compile
=`echo "$ac_compile" | $SED \
8372 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8373 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8374 -e 's:$: $lt_compiler_flag:'`
8375 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8376 (eval "$lt_compile" 2>conftest.err
)
8378 cat conftest.err
>&5
8379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8380 if (exit $ac_status) && test -s "$ac_outfile"; then
8381 # The compiler can only warn and ignore the option if not recognized
8382 # So say no if there are warnings other than the usual output.
8383 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8384 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8385 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8386 lt_cv_prog_compiler_rtti_exceptions
=yes
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8393 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8395 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8396 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8408 lt_prog_compiler_wl
=
8409 lt_prog_compiler_pic
=
8410 lt_prog_compiler_static
=
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8413 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8415 if test "$GCC" = yes; then
8416 lt_prog_compiler_wl
='-Wl,'
8417 lt_prog_compiler_static
='-static'
8421 # All AIX code is PIC.
8422 if test "$host_cpu" = ia64
; then
8423 # AIX 5 now supports IA64 processor
8424 lt_prog_compiler_static
='-Bstatic'
8426 lt_prog_compiler_pic
='-fPIC'
8432 # see comment about AmigaOS4 .so support
8433 lt_prog_compiler_pic
='-fPIC'
8436 # FIXME: we need at least 68020 code to build shared libraries, but
8437 # adding the `-m68020' flag to GCC prevents building anything better,
8439 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8444 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8445 # PIC is the default for these OSes.
8448 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8449 # This hack is so that the source file can tell whether it is being
8450 # built for inclusion in a dll (and should export symbols for example).
8451 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8452 # (--disable-auto-import) libraries
8453 lt_prog_compiler_pic
='-DDLL_EXPORT'
8456 darwin
* | rhapsody
*)
8457 # PIC is the default on this platform
8458 # Common symbols not allowed in MH_DYLIB files
8459 lt_prog_compiler_pic
='-fno-common'
8463 # PIC is the default for Haiku.
8464 # The "-static" flag exists, but is broken.
8465 lt_prog_compiler_static
=
8469 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8470 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8471 # sets the default TLS model and affects inlining.
8477 lt_prog_compiler_pic
='-fPIC'
8483 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8484 # Instead, we relocate shared libraries at runtime.
8488 # Just because we use GCC doesn't mean we suddenly get shared libraries
8489 # on systems that don't support them.
8490 lt_prog_compiler_can_build_shared
=no
8495 # QNX uses GNU C++, but need to define -shared option too, otherwise
8497 lt_prog_compiler_pic
='-fPIC -shared'
8501 if test -d /usr
/nec
; then
8502 lt_prog_compiler_pic
=-Kconform_pic
8507 lt_prog_compiler_pic
='-fPIC'
8511 case $cc_basename in
8512 nvcc
*) # Cuda Compiler Driver 2.2
8513 lt_prog_compiler_wl
='-Xlinker '
8514 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8518 # PORTME Check for flag to pass linker flags through the system compiler.
8521 lt_prog_compiler_wl
='-Wl,'
8522 if test "$host_cpu" = ia64
; then
8523 # AIX 5 now supports IA64 processor
8524 lt_prog_compiler_static
='-Bstatic'
8526 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8530 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8531 # This hack is so that the source file can tell whether it is being
8532 # built for inclusion in a dll (and should export symbols for example).
8533 lt_prog_compiler_pic
='-DDLL_EXPORT'
8536 hpux9
* | hpux10
* | hpux11
*)
8537 lt_prog_compiler_wl
='-Wl,'
8538 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8545 lt_prog_compiler_pic
='+Z'
8548 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8549 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8552 irix5
* | irix6
* | nonstopux
*)
8553 lt_prog_compiler_wl
='-Wl,'
8554 # PIC (with -KPIC) is the default.
8555 lt_prog_compiler_static
='-non_shared'
8558 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8559 case $cc_basename in
8560 # old Intel for x86_64 which still supported -KPIC.
8562 lt_prog_compiler_wl
='-Wl,'
8563 lt_prog_compiler_pic
='-KPIC'
8564 lt_prog_compiler_static
='-static'
8566 # icc used to be incompatible with GCC.
8567 # ICC 10 doesn't accept -KPIC any more.
8569 lt_prog_compiler_wl
='-Wl,'
8570 lt_prog_compiler_pic
='-fPIC'
8571 lt_prog_compiler_static
='-static'
8573 # Lahey Fortran 8.1.
8575 lt_prog_compiler_wl
='-Wl,'
8576 lt_prog_compiler_pic
='--shared'
8577 lt_prog_compiler_static
='--static'
8579 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8580 # Portland Group compilers (*not* the Pentium gcc compiler,
8581 # which looks to be a dead project)
8582 lt_prog_compiler_wl
='-Wl,'
8583 lt_prog_compiler_pic
='-fpic'
8584 lt_prog_compiler_static
='-Bstatic'
8587 lt_prog_compiler_wl
='-Wl,'
8588 # All Alpha code is PIC.
8589 lt_prog_compiler_static
='-non_shared'
8591 xl
* | bgxl
* | bgf
* | mpixl
*)
8592 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8593 lt_prog_compiler_wl
='-Wl,'
8594 lt_prog_compiler_pic
='-qpic'
8595 lt_prog_compiler_static
='-qstaticlink'
8598 case `$CC -V 2>&1 | sed 5q` in
8599 *Sun\ F
* |
*Sun
*Fortran
*)
8600 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8601 lt_prog_compiler_pic
='-KPIC'
8602 lt_prog_compiler_static
='-Bstatic'
8603 lt_prog_compiler_wl
=''
8607 lt_prog_compiler_pic
='-KPIC'
8608 lt_prog_compiler_static
='-Bstatic'
8609 lt_prog_compiler_wl
='-Wl,'
8617 lt_prog_compiler_pic
='-KPIC'
8618 lt_prog_compiler_static
='-Bstatic'
8622 # QNX uses GNU C++, but need to define -shared option too, otherwise
8624 lt_prog_compiler_pic
='-fPIC -shared'
8627 osf3
* | osf4
* | osf5
*)
8628 lt_prog_compiler_wl
='-Wl,'
8629 # All OSF/1 code is PIC.
8630 lt_prog_compiler_static
='-non_shared'
8634 lt_prog_compiler_static
='-non_shared'
8638 lt_prog_compiler_pic
='-KPIC'
8639 lt_prog_compiler_static
='-Bstatic'
8640 case $cc_basename in
8642 lt_prog_compiler_wl
='-Qoption ld ';;
8644 lt_prog_compiler_wl
='-Wl,';;
8649 lt_prog_compiler_wl
='-Qoption ld '
8650 lt_prog_compiler_pic
='-PIC'
8651 lt_prog_compiler_static
='-Bstatic'
8654 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8655 lt_prog_compiler_wl
='-Wl,'
8656 lt_prog_compiler_pic
='-KPIC'
8657 lt_prog_compiler_static
='-Bstatic'
8661 if test -d /usr
/nec
;then
8662 lt_prog_compiler_pic
='-Kconform_pic'
8663 lt_prog_compiler_static
='-Bstatic'
8667 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8668 lt_prog_compiler_wl
='-Wl,'
8669 lt_prog_compiler_pic
='-KPIC'
8670 lt_prog_compiler_static
='-Bstatic'
8674 lt_prog_compiler_wl
='-Wl,'
8675 lt_prog_compiler_can_build_shared
=no
8679 lt_prog_compiler_pic
='-pic'
8680 lt_prog_compiler_static
='-Bstatic'
8684 lt_prog_compiler_can_build_shared
=no
8690 # For platforms which do not support PIC, -DPIC is meaningless:
8692 lt_prog_compiler_pic
=
8695 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8699 $as_echo "$lt_prog_compiler_pic" >&6; }
8707 # Check to make sure the PIC flag actually works.
8709 if test -n "$lt_prog_compiler_pic"; then
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8711 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8712 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8713 $as_echo_n "(cached) " >&6
8715 lt_cv_prog_compiler_pic_works
=no
8716 ac_outfile
=conftest.
$ac_objext
8717 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8718 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8719 # Insert the option either (1) after the last *FLAGS variable, or
8720 # (2) before a word containing "conftest.", or (3) at the end.
8721 # Note that $ac_compile itself does not contain backslashes and begins
8722 # with a dollar sign (not a hyphen), so the echo should work correctly.
8723 # The option is referenced via a variable to avoid confusing sed.
8724 lt_compile
=`echo "$ac_compile" | $SED \
8725 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8726 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8727 -e 's:$: $lt_compiler_flag:'`
8728 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8729 (eval "$lt_compile" 2>conftest.err
)
8731 cat conftest.err
>&5
8732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8733 if (exit $ac_status) && test -s "$ac_outfile"; then
8734 # The compiler can only warn and ignore the option if not recognized
8735 # So say no if there are warnings other than the usual output.
8736 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8737 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8738 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8739 lt_cv_prog_compiler_pic_works
=yes
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8746 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8748 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8749 case $lt_prog_compiler_pic in
8751 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8754 lt_prog_compiler_pic
=
8755 lt_prog_compiler_can_build_shared
=no
8766 # Check to make sure the static flag actually works.
8768 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8770 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8771 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8772 $as_echo_n "(cached) " >&6
8774 lt_cv_prog_compiler_static_works
=no
8775 save_LDFLAGS
="$LDFLAGS"
8776 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8777 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8778 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8779 # The linker can only warn and ignore the option if not recognized
8780 # So say no if there are warnings
8781 if test -s conftest.err
; then
8782 # Append any errors to the config.log.
8783 cat conftest.err
1>&5
8784 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8785 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8786 if diff conftest.exp conftest.er2
>/dev
/null
; then
8787 lt_cv_prog_compiler_static_works
=yes
8790 lt_cv_prog_compiler_static_works
=yes
8794 LDFLAGS
="$save_LDFLAGS"
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8798 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8800 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8803 lt_prog_compiler_static
=
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8813 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8814 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8815 $as_echo_n "(cached) " >&6
8817 lt_cv_prog_compiler_c_o
=no
8818 $RM -r conftest
2>/dev
/null
8822 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8824 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8825 # Insert the option either (1) after the last *FLAGS variable, or
8826 # (2) before a word containing "conftest.", or (3) at the end.
8827 # Note that $ac_compile itself does not contain backslashes and begins
8828 # with a dollar sign (not a hyphen), so the echo should work correctly.
8829 lt_compile
=`echo "$ac_compile" | $SED \
8830 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8831 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8832 -e 's:$: $lt_compiler_flag:'`
8833 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8834 (eval "$lt_compile" 2>out
/conftest.err
)
8836 cat out
/conftest.err
>&5
8837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8838 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8840 # The compiler can only warn and ignore the option if not recognized
8841 # So say no if there are warnings
8842 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8843 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8844 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8845 lt_cv_prog_compiler_c_o
=yes
8850 # SGI C++ compiler will create directory out/ii_files/ for
8851 # template instantiation
8852 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8853 $RM out
/* && rmdir out
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8860 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8868 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8869 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8870 $as_echo_n "(cached) " >&6
8872 lt_cv_prog_compiler_c_o
=no
8873 $RM -r conftest
2>/dev
/null
8877 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8879 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8880 # Insert the option either (1) after the last *FLAGS variable, or
8881 # (2) before a word containing "conftest.", or (3) at the end.
8882 # Note that $ac_compile itself does not contain backslashes and begins
8883 # with a dollar sign (not a hyphen), so the echo should work correctly.
8884 lt_compile
=`echo "$ac_compile" | $SED \
8885 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8886 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8887 -e 's:$: $lt_compiler_flag:'`
8888 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8889 (eval "$lt_compile" 2>out
/conftest.err
)
8891 cat out
/conftest.err
>&5
8892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8893 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8895 # The compiler can only warn and ignore the option if not recognized
8896 # So say no if there are warnings
8897 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8898 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8899 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8900 lt_cv_prog_compiler_c_o
=yes
8905 # SGI C++ compiler will create directory out/ii_files/ for
8906 # template instantiation
8907 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8908 $RM out
/* && rmdir out
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8915 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8920 hard_links
="nottested"
8921 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8922 # do not overwrite the value of need_locks provided by the user
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8924 $as_echo_n "checking if we can lock with hard links... " >&6; }
8927 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8929 ln conftest.a conftest.b
2>&5 || hard_links
=no
8930 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8932 $as_echo "$hard_links" >&6; }
8933 if test "$hard_links" = no
; then
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8935 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8948 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8951 allow_undefined_flag
=
8952 always_export_symbols
=no
8954 archive_expsym_cmds
=
8955 compiler_needs_object
=no
8956 enable_shared_with_static_runtimes
=no
8957 export_dynamic_flag_spec
=
8958 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8959 hardcode_automatic
=no
8961 hardcode_direct_absolute
=no
8962 hardcode_libdir_flag_spec
=
8963 hardcode_libdir_flag_spec_ld
=
8964 hardcode_libdir_separator
=
8966 hardcode_shlibpath_var
=unsupported
8968 link_all_deplibs
=unknown
8971 old_archive_from_new_cmds
=
8972 old_archive_from_expsyms_cmds
=
8973 thread_safe_flag_spec
=
8974 whole_archive_flag_spec
=
8975 # include_expsyms should be a list of space-separated symbols to be *always*
8976 # included in the symbol list
8978 # exclude_expsyms can be an extended regexp of symbols to exclude
8979 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8980 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8981 # as well as any symbol that contains `d'.
8982 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8983 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8984 # platforms (ab)use it in PIC code, but their linkers get confused if
8985 # the symbol is explicitly referenced. Since portable code cannot
8986 # rely on this symbol name, it's probably fine to never include it in
8987 # preloaded symbol tables.
8988 # Exclude shared library initialization/finalization symbols.
8989 extract_expsyms_cmds
=
8992 cygwin
* | mingw
* | pw32
* | cegcc
*)
8993 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8994 # When not using gcc, we currently assume that we are using
8995 # Microsoft Visual C++.
8996 if test "$GCC" != yes; then
9001 # we just hope/assume this is gcc and not c89 (= MSVC++)
9011 # On some targets, GNU ld is compatible enough with the native linker
9012 # that we're better off using the native interface for both.
9013 lt_use_gnu_ld_interface
=no
9014 if test "$with_gnu_ld" = yes; then
9017 # The AIX port of GNU ld has always aspired to compatibility
9018 # with the native linker. However, as the warning in the GNU ld
9019 # block says, versions before 2.19.5* couldn't really create working
9020 # shared libraries, regardless of the interface used.
9021 case `$LD -v 2>&1` in
9022 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9023 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9024 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9026 lt_use_gnu_ld_interface
=yes
9031 lt_use_gnu_ld_interface
=yes
9036 if test "$lt_use_gnu_ld_interface" = yes; then
9037 # If archive_cmds runs LD, not CC, wlarc should be empty
9040 # Set some defaults for GNU ld with shared library support. These
9041 # are reset later if shared libraries are not supported. Putting them
9042 # here allows them to be overridden if necessary.
9043 runpath_var
=LD_RUN_PATH
9044 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9045 export_dynamic_flag_spec
='${wl}--export-dynamic'
9046 # ancient GNU ld didn't support --whole-archive et. al.
9047 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9048 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9050 whole_archive_flag_spec
=
9052 supports_anon_versioning
=no
9053 case `$LD -v 2>&1` in
9054 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9055 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9056 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9057 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9058 *\
2.11.
*) ;; # other 2.11 versions
9059 *) supports_anon_versioning
=yes ;;
9062 # See if GNU ld supports shared libraries.
9065 # On AIX/PPC, the GNU linker is very broken
9066 if test "$host_cpu" != ia64
; then
9070 *** Warning: the GNU linker, at least up to release 2.19, is reported
9071 *** to be unable to reliably create shared libraries on AIX.
9072 *** Therefore, libtool is disabling shared libraries support. If you
9073 *** really care for shared libraries, you may want to install binutils
9074 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9075 *** You will then need to restart the configuration process.
9084 # see comment about AmigaOS4 .so support
9085 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9086 archive_expsym_cmds
=''
9089 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)'
9090 hardcode_libdir_flag_spec
='-L$libdir'
9091 hardcode_minus_L
=yes
9097 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9098 allow_undefined_flag
=unsupported
9099 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9100 # support --undefined. This deserves some investigation. FIXME
9101 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9107 cygwin
* | mingw
* | pw32
* | cegcc
*)
9108 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9109 # as there is no search path for DLLs.
9110 hardcode_libdir_flag_spec
='-L$libdir'
9111 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9112 allow_undefined_flag
=unsupported
9113 always_export_symbols
=no
9114 enable_shared_with_static_runtimes
=yes
9115 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9117 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9118 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9119 # If the export-symbols file already is a .def file (1st line
9120 # is EXPORTS), use it as is; otherwise, prepend...
9121 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9122 cp $export_symbols $output_objdir/$soname.def;
9124 echo EXPORTS > $output_objdir/$soname.def;
9125 cat $export_symbols >> $output_objdir/$soname.def;
9127 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9134 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9135 link_all_deplibs
=yes
9140 hardcode_shlibpath_var
=no
9141 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9142 export_dynamic_flag_spec
='${wl}-E'
9143 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9144 # Instead, shared libraries are loaded at an image base (0x10000000 by
9145 # default) and relocated if they conflict, which is a slow very memory
9146 # consuming and fragmenting process. To avoid this, we pick a random,
9147 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9148 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9149 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9150 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'
9153 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9155 if test "$host_os" = linux-dietlibc
; then
9156 case $cc_basename in
9157 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9160 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9161 && test "$tmp_diet" = no
9163 tmp_addflag
=' $pic_flag'
9164 tmp_sharedflag
='-shared'
9165 case $cc_basename,$host_cpu in
9166 pgcc
*) # Portland Group C compiler
9167 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'
9168 tmp_addflag
=' $pic_flag'
9170 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9171 # Portland Group f77 and f90 compilers
9172 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'
9173 tmp_addflag
=' $pic_flag -Mnomain' ;;
9174 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9175 tmp_addflag
=' -i_dynamic' ;;
9176 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9177 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9178 ifc
* | ifort
*) # Intel Fortran compiler
9179 tmp_addflag
=' -nofor_main' ;;
9180 lf95
*) # Lahey Fortran 8.1
9181 whole_archive_flag_spec
=
9182 tmp_sharedflag
='--shared' ;;
9183 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9184 tmp_sharedflag
='-qmkshrobj'
9186 nvcc
*) # Cuda Compiler Driver 2.2
9187 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'
9188 compiler_needs_object
=yes
9191 case `$CC -V 2>&1 | sed 5q` in
9192 *Sun\ C
*) # Sun C 5.9
9193 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'
9194 compiler_needs_object
=yes
9195 tmp_sharedflag
='-G' ;;
9196 *Sun\ F
*) # Sun Fortran 8.3
9197 tmp_sharedflag
='-G' ;;
9199 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9201 if test "x$supports_anon_versioning" = xyes
; then
9202 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9203 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9204 echo "local: *; };" >> $output_objdir/$libname.ver~
9205 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9208 case $cc_basename in
9209 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9210 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9211 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9212 hardcode_libdir_flag_spec
=
9213 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9214 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9215 if test "x$supports_anon_versioning" = xyes
; then
9216 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9217 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9218 echo "local: *; };" >> $output_objdir/$libname.ver~
9219 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9229 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9230 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9233 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9234 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9239 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9243 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9244 *** create shared libraries on Solaris systems. Therefore, libtool
9245 *** is disabling shared libraries support. We urge you to upgrade GNU
9246 *** binutils to release 2.9.1 or newer. Another option is to modify
9247 *** your PATH or compiler configuration so that the native linker is
9248 *** used, and then restart.
9251 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9252 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9253 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9259 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9260 case `$LD -v 2>&1` in
9261 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9265 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9266 *** reliably create shared libraries on SCO systems. Therefore, libtool
9267 *** is disabling shared libraries support. We urge you to upgrade GNU
9268 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9269 *** your PATH or compiler configuration so that the native linker is
9270 *** used, and then restart.
9275 # For security reasons, it is highly recommended that you always
9276 # use absolute paths for naming shared libraries, and exclude the
9277 # DT_RUNPATH tag from executables and libraries. But doing so
9278 # requires that you compile everything twice, which is a pain.
9279 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9280 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9281 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9282 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9291 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9294 hardcode_shlibpath_var
=no
9298 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9299 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9300 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9307 if test "$ld_shlibs" = no
; then
9309 hardcode_libdir_flag_spec
=
9310 export_dynamic_flag_spec
=
9311 whole_archive_flag_spec
=
9314 # PORTME fill in a description of your system's linker (not GNU ld)
9317 allow_undefined_flag
=unsupported
9318 always_export_symbols
=yes
9319 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'
9320 # Note: this linker hardcodes the directories in LIBPATH if there
9321 # are no directories specified by -L.
9322 hardcode_minus_L
=yes
9323 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9324 # Neither direct hardcoding nor static linking is supported with a
9326 hardcode_direct
=unsupported
9331 if test "$host_cpu" = ia64
; then
9332 # On IA64, the linker does run time linking by default, so we don't
9333 # have to do anything special.
9334 aix_use_runtimelinking
=no
9335 exp_sym_flag
='-Bexport'
9338 # If we're using GNU nm, then we don't want the "-C" option.
9339 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9340 # Also, AIX nm treats weak defined symbols like other global
9341 # defined symbols, whereas GNU nm marks them as "W".
9342 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9343 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'
9345 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9347 aix_use_runtimelinking
=no
9349 # Test if we are trying to use run time linking or normal
9350 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9351 # need to do runtime linking.
9352 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9353 for ld_flag
in $LDFLAGS; do
9354 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9355 aix_use_runtimelinking
=yes
9362 exp_sym_flag
='-bexport'
9363 no_entry_flag
='-bnoentry'
9366 # When large executables or shared objects are built, AIX ld can
9367 # have problems creating the table of contents. If linking a library
9368 # or program results in "error TOC overflow" add -mminimal-toc to
9369 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9370 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9374 hardcode_direct_absolute
=yes
9375 hardcode_libdir_separator
=':'
9376 link_all_deplibs
=yes
9377 file_list_spec
='${wl}-f,'
9379 if test "$GCC" = yes; then
9380 case $host_os in aix4.
[012]|aix4.
[012].
*)
9381 # We only want to do this on AIX 4.2 and lower, the check
9382 # below for broken collect2 doesn't work under 4.3+
9383 collect2name
=`${CC} -print-prog-name=collect2`
9384 if test -f "$collect2name" &&
9385 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9387 # We have reworked collect2
9390 # We have old collect2
9391 hardcode_direct
=unsupported
9392 # It fails to find uninstalled libraries when the uninstalled
9393 # path is not listed in the libpath. Setting hardcode_minus_L
9394 # to unsupported forces relinking
9395 hardcode_minus_L
=yes
9396 hardcode_libdir_flag_spec
='-L$libdir'
9397 hardcode_libdir_separator
=
9401 shared_flag
='-shared'
9402 if test "$aix_use_runtimelinking" = yes; then
9403 shared_flag
="$shared_flag "'${wl}-G'
9407 if test "$host_cpu" = ia64
; then
9408 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9409 # chokes on -Wl,-G. The following line is correct:
9412 if test "$aix_use_runtimelinking" = yes; then
9413 shared_flag
='${wl}-G'
9415 shared_flag
='${wl}-bM:SRE'
9420 export_dynamic_flag_spec
='${wl}-bexpall'
9421 # It seems that -bexpall does not export symbols beginning with
9422 # underscore (_), so it is better to generate a list of symbols to export.
9423 always_export_symbols
=yes
9424 if test "$aix_use_runtimelinking" = yes; then
9425 # Warning - without using the other runtime loading flags (-brtl),
9426 # -berok will link without error, but may produce a broken library.
9427 allow_undefined_flag
='-berok'
9428 # Determine the default libpath from the value encoded in an
9430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9431 /* end confdefs.h. */
9441 if ac_fn_c_try_link
"$LINENO"; then :
9443 lt_aix_libpath_sed
='
9444 /Import File Strings/,/^$/ {
9450 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9451 # Check for a 64-bit object if we didn't find anything.
9452 if test -z "$aix_libpath"; then
9453 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9456 rm -f core conftest.err conftest.
$ac_objext \
9457 conftest
$ac_exeext conftest.
$ac_ext
9458 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9460 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9461 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"
9463 if test "$host_cpu" = ia64
; then
9464 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9465 allow_undefined_flag
="-z nodefs"
9466 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"
9468 # Determine the default libpath from the value encoded in an
9470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9471 /* end confdefs.h. */
9481 if ac_fn_c_try_link
"$LINENO"; then :
9483 lt_aix_libpath_sed
='
9484 /Import File Strings/,/^$/ {
9490 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9491 # Check for a 64-bit object if we didn't find anything.
9492 if test -z "$aix_libpath"; then
9493 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9496 rm -f core conftest.err conftest.
$ac_objext \
9497 conftest
$ac_exeext conftest.
$ac_ext
9498 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9500 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9501 # Warning - without using the other run time loading flags,
9502 # -berok will link without error, but may produce a broken library.
9503 no_undefined_flag
=' ${wl}-bernotok'
9504 allow_undefined_flag
=' ${wl}-berok'
9505 if test "$with_gnu_ld" = yes; then
9506 # We only use this code for GNU lds that support --whole-archive.
9507 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9509 # Exported symbols can be pulled into shared objects from archives
9510 whole_archive_flag_spec
='$convenience'
9512 archive_cmds_need_lc
=yes
9513 # This is similar to how AIX traditionally builds its shared libraries.
9514 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'
9522 # see comment about AmigaOS4 .so support
9523 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9524 archive_expsym_cmds
=''
9527 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)'
9528 hardcode_libdir_flag_spec
='-L$libdir'
9529 hardcode_minus_L
=yes
9535 export_dynamic_flag_spec
=-rdynamic
9538 cygwin
* | mingw
* | pw32
* | cegcc
*)
9539 # When not using gcc, we currently assume that we are using
9540 # Microsoft Visual C++.
9541 # hardcode_libdir_flag_spec is actually meaningless, as there is
9542 # no search path for DLLs.
9543 hardcode_libdir_flag_spec
=' '
9544 allow_undefined_flag
=unsupported
9545 # Tell ltmain to make .lib files, not .a files.
9547 # Tell ltmain to make .dll files, not .so files.
9549 # FIXME: Setting linknames here is a bad hack.
9550 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9551 # The linker will automatically build a .lib file if we build a DLL.
9552 old_archive_from_new_cmds
='true'
9553 # FIXME: Should let the user specify the lib program.
9554 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9555 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9556 enable_shared_with_static_runtimes
=yes
9559 darwin
* | rhapsody
*)
9562 archive_cmds_need_lc
=no
9564 hardcode_automatic
=yes
9565 hardcode_shlibpath_var
=unsupported
9566 if test "$lt_cv_ld_force_load" = "yes"; then
9567 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\"`'
9569 whole_archive_flag_spec
=''
9571 link_all_deplibs
=yes
9572 allow_undefined_flag
="$_lt_dar_allow_undefined"
9573 case $cc_basename in
9574 ifort
*) _lt_dar_can_shared
=yes ;;
9575 *) _lt_dar_can_shared
=$GCC ;;
9577 if test "$_lt_dar_can_shared" = "yes"; then
9578 output_verbose_link_cmd
=func_echo_all
9579 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9580 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9581 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}"
9582 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}"
9591 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9592 hardcode_libdir_flag_spec
='-L$libdir'
9593 hardcode_shlibpath_var
=no
9596 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9597 # support. Future versions do this automatically, but an explicit c++rt0.o
9598 # does not break anything, and helps significantly (at the cost of a little
9601 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9602 hardcode_libdir_flag_spec
='-R$libdir'
9604 hardcode_shlibpath_var
=no
9607 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9609 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9611 hardcode_minus_L
=yes
9612 hardcode_shlibpath_var
=no
9615 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9616 freebsd
* | dragonfly
*)
9617 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9618 hardcode_libdir_flag_spec
='-R$libdir'
9620 hardcode_shlibpath_var
=no
9624 if test "$GCC" = yes; then
9625 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'
9627 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'
9629 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9630 hardcode_libdir_separator
=:
9633 # hardcode_minus_L: Not really in the search PATH,
9634 # but as the default location of the library.
9635 hardcode_minus_L
=yes
9636 export_dynamic_flag_spec
='${wl}-E'
9640 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9641 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9643 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9645 if test "$with_gnu_ld" = no
; then
9646 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9647 hardcode_libdir_flag_spec_ld
='+b $libdir'
9648 hardcode_libdir_separator
=:
9650 hardcode_direct_absolute
=yes
9651 export_dynamic_flag_spec
='${wl}-E'
9652 # hardcode_minus_L: Not really in the search PATH,
9653 # but as the default location of the library.
9654 hardcode_minus_L
=yes
9659 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9662 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9665 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9668 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9674 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9677 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9681 # Older versions of the 11.00 compiler do not understand -b yet
9682 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9684 $as_echo_n "checking if $CC understands -b... " >&6; }
9685 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9686 $as_echo_n "(cached) " >&6
9688 lt_cv_prog_compiler__b
=no
9689 save_LDFLAGS
="$LDFLAGS"
9690 LDFLAGS
="$LDFLAGS -b"
9691 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9692 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9693 # The linker can only warn and ignore the option if not recognized
9694 # So say no if there are warnings
9695 if test -s conftest.err
; then
9696 # Append any errors to the config.log.
9697 cat conftest.err
1>&5
9698 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9699 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9700 if diff conftest.exp conftest.er2
>/dev
/null
; then
9701 lt_cv_prog_compiler__b
=yes
9704 lt_cv_prog_compiler__b
=yes
9708 LDFLAGS
="$save_LDFLAGS"
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9712 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9714 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9715 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9717 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9723 if test "$with_gnu_ld" = no
; then
9724 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9725 hardcode_libdir_separator
=:
9730 hardcode_shlibpath_var
=no
9734 hardcode_direct_absolute
=yes
9735 export_dynamic_flag_spec
='${wl}-E'
9737 # hardcode_minus_L: Not really in the search PATH,
9738 # but as the default location of the library.
9739 hardcode_minus_L
=yes
9745 irix5
* | irix6
* | nonstopux
*)
9746 if test "$GCC" = yes; then
9747 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'
9748 # Try to use the -exported_symbol ld option, if it does not
9749 # work, assume that -exports_file does not work either and
9750 # implicitly export all symbols.
9751 save_LDFLAGS
="$LDFLAGS"
9752 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9754 /* end confdefs.h. */
9757 if ac_fn_c_try_link
"$LINENO"; then :
9758 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'
9761 rm -f core conftest.err conftest.
$ac_objext \
9762 conftest
$ac_exeext conftest.
$ac_ext
9763 LDFLAGS
="$save_LDFLAGS"
9765 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'
9766 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'
9768 archive_cmds_need_lc
='no'
9769 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9770 hardcode_libdir_separator
=:
9772 link_all_deplibs
=yes
9776 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9777 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9779 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9781 hardcode_libdir_flag_spec
='-R$libdir'
9783 hardcode_shlibpath_var
=no
9787 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9789 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9790 hardcode_libdir_separator
=:
9791 hardcode_shlibpath_var
=no
9798 if test -f /usr
/libexec
/ld.so
; then
9800 hardcode_shlibpath_var
=no
9801 hardcode_direct_absolute
=yes
9802 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9803 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9804 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9805 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9806 export_dynamic_flag_spec
='${wl}-E'
9809 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9810 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9811 hardcode_libdir_flag_spec
='-R$libdir'
9814 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9815 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9825 hardcode_libdir_flag_spec
='-L$libdir'
9826 hardcode_minus_L
=yes
9827 allow_undefined_flag
=unsupported
9828 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'
9829 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9833 if test "$GCC" = yes; then
9834 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9835 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'
9837 allow_undefined_flag
=' -expect_unresolved \*'
9838 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'
9840 archive_cmds_need_lc
='no'
9841 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9842 hardcode_libdir_separator
=:
9845 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9846 if test "$GCC" = yes; then
9847 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9848 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'
9849 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9851 allow_undefined_flag
=' -expect_unresolved \*'
9852 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'
9853 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~
9854 $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'
9856 # Both c and cxx compiler support -rpath directly
9857 hardcode_libdir_flag_spec
='-rpath $libdir'
9859 archive_cmds_need_lc
='no'
9860 hardcode_libdir_separator
=:
9864 no_undefined_flag
=' -z defs'
9865 if test "$GCC" = yes; then
9867 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9868 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9869 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9871 case `$CC -V 2>&1` in
9874 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9875 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9876 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9880 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9881 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9882 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9886 hardcode_libdir_flag_spec
='-R$libdir'
9887 hardcode_shlibpath_var
=no
9889 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9891 # The compiler driver will combine and reorder linker options,
9892 # but understands `-z linker_flag'. GCC discards it without `$wl',
9893 # but is careful enough not to reorder.
9894 # Supported since Solaris 2.6 (maybe 2.5.1?)
9895 if test "$GCC" = yes; then
9896 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9898 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9902 link_all_deplibs
=yes
9906 if test "x$host_vendor" = xsequent
; then
9907 # Use $CC to link under sequent, because it throws in some extra .o
9908 # files that make .init and .fini sections work.
9909 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9911 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9913 hardcode_libdir_flag_spec
='-L$libdir'
9915 hardcode_minus_L
=yes
9916 hardcode_shlibpath_var
=no
9920 case $host_vendor in
9922 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9923 hardcode_direct
=yes # is this really true???
9926 ## LD is ld it makes a PLAMLIB
9927 ## CC just makes a GrossModule.
9928 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9929 reload_cmds
='$CC -r -o $output$reload_objs'
9933 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9934 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9937 runpath_var
='LD_RUN_PATH'
9938 hardcode_shlibpath_var
=no
9942 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9943 hardcode_shlibpath_var
=no
9944 export_dynamic_flag_spec
='-Bexport'
9948 if test -d /usr
/nec
; then
9949 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9950 hardcode_shlibpath_var
=no
9951 runpath_var
=LD_RUN_PATH
9952 hardcode_runpath_var
=yes
9957 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9958 no_undefined_flag
='${wl}-z,text'
9959 archive_cmds_need_lc
=no
9960 hardcode_shlibpath_var
=no
9961 runpath_var
='LD_RUN_PATH'
9963 if test "$GCC" = yes; then
9964 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9965 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9967 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9968 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9972 sysv5
* | sco3.2v5
* | sco5v6
*)
9973 # Note: We can NOT use -z defs as we might desire, because we do not
9974 # link with -lc, and that would cause any symbols used from libc to
9975 # always be unresolved, which means just about no library would
9976 # ever link correctly. If we're not using GNU ld we use -z text
9977 # though, which does catch some bad symbols but isn't as heavy-handed
9979 no_undefined_flag
='${wl}-z,text'
9980 allow_undefined_flag
='${wl}-z,nodefs'
9981 archive_cmds_need_lc
=no
9982 hardcode_shlibpath_var
=no
9983 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9984 hardcode_libdir_separator
=':'
9985 link_all_deplibs
=yes
9986 export_dynamic_flag_spec
='${wl}-Bexport'
9987 runpath_var
='LD_RUN_PATH'
9989 if test "$GCC" = yes; then
9990 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9991 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9993 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9994 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9999 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10000 hardcode_libdir_flag_spec
='-L$libdir'
10001 hardcode_shlibpath_var
=no
10009 if test x
$host_vendor = xsni
; then
10011 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10012 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10019 $as_echo "$ld_shlibs" >&6; }
10020 test "$ld_shlibs" = no
&& can_build_shared
=no
10022 with_gnu_ld
=$with_gnu_ld
10039 # Do we need to explicitly link libc?
10041 case "x$archive_cmds_need_lc" in
10043 # Assume -lc should be added
10044 archive_cmds_need_lc
=yes
10046 if test "$enable_shared" = yes && test "$GCC" = yes; then
10047 case $archive_cmds in
10049 # FIXME: we may have to deal with multi-command sequences.
10052 # Test whether the compiler implicitly links with -lc since on some
10053 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10054 # to ld, don't add -lc before -lgcc.
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10056 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10057 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10058 $as_echo_n "(cached) " >&6
10061 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10063 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10064 (eval $ac_compile) 2>&5
10066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10067 test $ac_status = 0; } 2>conftest.err
; then
10070 libobjs
=conftest.
$ac_objext
10072 wl
=$lt_prog_compiler_wl
10073 pic_flag
=$lt_prog_compiler_pic
10079 lt_save_allow_undefined_flag
=$allow_undefined_flag
10080 allow_undefined_flag
=
10081 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10082 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10085 test $ac_status = 0; }
10087 lt_cv_archive_cmds_need_lc
=no
10089 lt_cv_archive_cmds_need_lc
=yes
10091 allow_undefined_flag
=$lt_save_allow_undefined_flag
10093 cat conftest.err
1>&5
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10099 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10100 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10264 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10266 if test "$GCC" = yes; then
10268 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10269 *) lt_awk_arg
="/^libraries:/" ;;
10272 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10273 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10275 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10276 case $lt_search_path_spec in
10278 # if the path contains ";" then we assume it to be the separator
10279 # otherwise default to the standard path separator (i.e. ":") - it is
10280 # assumed that no part of a normal pathname contains ";" but that should
10281 # okay in the real world where ";" in dirpaths is itself problematic.
10282 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10285 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10288 # Ok, now we have the path, separated by spaces, we can step through it
10289 # and add multilib dir if necessary.
10290 lt_tmp_lt_search_path_spec
=
10291 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10292 for lt_sys_path
in $lt_search_path_spec; do
10293 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10294 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10296 test -d "$lt_sys_path" && \
10297 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10300 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10301 BEGIN {RS=" "; FS="/|\n";} {
10304 for (lt_i = NF; lt_i > 0; lt_i--) {
10305 if ($lt_i != "" && $lt_i != ".") {
10306 if ($lt_i == "..") {
10309 if (lt_count == 0) {
10310 lt_foo="/" $lt_i lt_foo;
10317 if (lt_foo != "") { lt_freq[lt_foo]++; }
10318 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10320 # AWK program above erroneously prepends '/' to C:/dos/paths
10323 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10324 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10326 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10328 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10330 library_names_spec
=
10331 libname_spec
='lib$name'
10335 postuninstall_cmds
=
10339 shlibpath_overrides_runpath
=unknown
10341 dynamic_linker
="$host_os ld.so"
10342 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10343 need_lib_prefix
=unknown
10344 hardcode_into_libs
=no
10346 # when you set need_version to no, make sure it does not cause -set_version
10347 # flags to be left without arguments
10348 need_version
=unknown
10353 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10354 shlibpath_var
=LIBPATH
10356 # AIX 3 has no versioning support, so we append a major version to the name.
10357 soname_spec
='${libname}${release}${shared_ext}$major'
10364 hardcode_into_libs
=yes
10365 if test "$host_cpu" = ia64
; then
10366 # AIX 5 supports IA64
10367 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10368 shlibpath_var
=LD_LIBRARY_PATH
10370 # With GCC up to 2.95.x, collect2 would create an import file
10371 # for dependence libraries. The import file would start with
10372 # the line `#! .'. This would cause the generated library to
10373 # depend on `.', always an invalid library. This was fixed in
10374 # development snapshots of GCC prior to 3.0.
10376 aix4 | aix4.
[01] | aix4.
[01].
*)
10377 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10379 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10382 can_build_shared
=no
10386 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10387 # soname into executable. Probably we can add versioning support to
10388 # collect2, so additional links can be useful in future.
10389 if test "$aix_use_runtimelinking" = yes; then
10390 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10391 # instead of lib<name>.a to let people know that these are not
10392 # typical AIX shared libraries.
10393 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10395 # We preserve .a as extension for shared libraries through AIX4.2
10396 # and later when we are not doing run time linking.
10397 library_names_spec
='${libname}${release}.a $libname.a'
10398 soname_spec
='${libname}${release}${shared_ext}$major'
10400 shlibpath_var
=LIBPATH
10407 # Since July 2007 AmigaOS4 officially supports .so libraries.
10408 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10409 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10412 library_names_spec
='$libname.ixlibrary $libname.a'
10413 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10414 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'
10420 library_names_spec
='${libname}${shared_ext}'
10421 dynamic_linker
="$host_os ld.so"
10422 shlibpath_var
=LIBRARY_PATH
10428 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10429 soname_spec
='${libname}${release}${shared_ext}$major'
10430 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10431 shlibpath_var
=LD_LIBRARY_PATH
10432 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10433 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10434 # the default ld.so.conf also contains /usr/contrib/lib and
10435 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10436 # libtool to hard-code these into programs
10439 cygwin
* | mingw
* | pw32
* | cegcc
*)
10440 version_type
=windows
10445 case $GCC,$host_os in
10446 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10447 library_names_spec
='$libname.dll.a'
10448 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10449 postinstall_cmds
='base_file=`basename \${file}`~
10450 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10451 dldir=$destdir/`dirname \$dlpath`~
10452 test -d \$dldir || mkdir -p \$dldir~
10453 $install_prog $dir/$dlname \$dldir/$dlname~
10454 chmod a+x \$dldir/$dlname~
10455 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10456 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10458 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10459 dlpath=$dir/\$dldll~
10461 shlibpath_overrides_runpath
=yes
10465 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10466 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10468 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10471 # MinGW DLLs use traditional 'lib' prefix
10472 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10475 # pw32 DLLs use 'pw' prefix rather than 'lib'
10476 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10482 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10485 dynamic_linker
='Win32 ld.exe'
10486 # FIXME: first we should search . and the directory the executable is in
10490 darwin
* | rhapsody
*)
10491 dynamic_linker
="$host_os dyld"
10492 version_type
=darwin
10495 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10496 soname_spec
='${libname}${release}${major}$shared_ext'
10497 shlibpath_overrides_runpath
=yes
10498 shlibpath_var
=DYLD_LIBRARY_PATH
10499 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10501 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10502 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10509 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10510 soname_spec
='${libname}${release}${shared_ext}$major'
10511 shlibpath_var
=LD_LIBRARY_PATH
10514 freebsd
* | dragonfly
*)
10515 # DragonFly does not have aout. When/if they implement a new
10516 # versioning mechanism, adjust this.
10517 if test -x /usr
/bin
/objformat
; then
10518 objformat
=`/usr/bin/objformat`
10521 freebsd
[23].
*) objformat
=aout
;;
10522 *) objformat
=elf
;;
10525 version_type
=freebsd-
$objformat
10526 case $version_type in
10528 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10533 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10537 shlibpath_var
=LD_LIBRARY_PATH
10540 shlibpath_overrides_runpath
=yes
10542 freebsd3.
[01]* | freebsdelf3.
[01]*)
10543 shlibpath_overrides_runpath
=yes
10544 hardcode_into_libs
=yes
10546 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10547 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10548 shlibpath_overrides_runpath
=no
10549 hardcode_into_libs
=yes
10551 *) # from 4.6 on, and DragonFly
10552 shlibpath_overrides_runpath
=yes
10553 hardcode_into_libs
=yes
10562 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10563 soname_spec
='${libname}${release}${shared_ext}$major'
10564 shlibpath_var
=LD_LIBRARY_PATH
10565 hardcode_into_libs
=yes
10572 dynamic_linker
="$host_os runtime_loader"
10573 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10574 soname_spec
='${libname}${release}${shared_ext}$major'
10575 shlibpath_var
=LIBRARY_PATH
10576 shlibpath_overrides_runpath
=yes
10577 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10578 hardcode_into_libs
=yes
10581 hpux9
* | hpux10
* | hpux11
*)
10582 # Give a soname corresponding to the major version so that dld.sl refuses to
10583 # link against other versions.
10590 hardcode_into_libs
=yes
10591 dynamic_linker
="$host_os dld.so"
10592 shlibpath_var
=LD_LIBRARY_PATH
10593 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10594 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10595 soname_spec
='${libname}${release}${shared_ext}$major'
10596 if test "X$HPUX_IA64_MODE" = X32
; then
10597 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10599 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10601 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10605 hardcode_into_libs
=yes
10606 dynamic_linker
="$host_os dld.sl"
10607 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10608 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10609 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10610 soname_spec
='${libname}${release}${shared_ext}$major'
10611 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10612 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10616 dynamic_linker
="$host_os dld.sl"
10617 shlibpath_var
=SHLIB_PATH
10618 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10619 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10620 soname_spec
='${libname}${release}${shared_ext}$major'
10623 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10624 postinstall_cmds
='chmod 555 $lib'
10625 # or fails outright, so override atomically:
10626 install_override_mode
=555
10633 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10634 soname_spec
='${libname}${release}${shared_ext}$major'
10635 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10636 shlibpath_var
=LD_LIBRARY_PATH
10637 shlibpath_overrides_runpath
=no
10638 hardcode_into_libs
=yes
10641 irix5
* | irix6
* | nonstopux
*)
10643 nonstopux
*) version_type
=nonstopux
;;
10645 if test "$lt_cv_prog_gnu_ld" = yes; then
10653 soname_spec
='${libname}${release}${shared_ext}$major'
10654 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10656 irix5
* | nonstopux
*)
10657 libsuff
= shlibsuff
=
10660 case $LD in # libtool.m4 will add one of these switches to LD
10661 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10662 libsuff
= shlibsuff
= libmagic
=32-bit;;
10663 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10664 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10665 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10666 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10667 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10671 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10672 shlibpath_overrides_runpath
=no
10673 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10674 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10675 hardcode_into_libs
=yes
10678 # No shared lib support for Linux oldld, aout, or coff.
10679 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10683 # This must be Linux ELF.
10684 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10688 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10689 soname_spec
='${libname}${release}${shared_ext}$major'
10690 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10691 shlibpath_var
=LD_LIBRARY_PATH
10692 shlibpath_overrides_runpath
=no
10694 # Some binutils ld are patched to set DT_RUNPATH
10695 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10696 $as_echo_n "(cached) " >&6
10698 lt_cv_shlibpath_overrides_runpath
=no
10699 save_LDFLAGS
=$LDFLAGS
10700 save_libdir
=$libdir
10701 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10702 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10704 /* end confdefs.h. */
10714 if ac_fn_c_try_link
"$LINENO"; then :
10715 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10716 lt_cv_shlibpath_overrides_runpath
=yes
10719 rm -f core conftest.err conftest.
$ac_objext \
10720 conftest
$ac_exeext conftest.
$ac_ext
10721 LDFLAGS
=$save_LDFLAGS
10722 libdir
=$save_libdir
10726 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10728 # This implies no fast_install, which is unacceptable.
10729 # Some rework will be needed to allow for fast_install
10730 # before this can be enabled.
10731 hardcode_into_libs
=yes
10733 # Append ld.so.conf contents to the search path
10734 if test -f /etc
/ld.so.conf
; then
10735 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' ' '`
10736 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10739 # We used to test for /lib/ld.so.1 and disable shared libraries on
10740 # powerpc, because MkLinux only supported shared libraries with the
10741 # GNU dynamic linker. Since this was broken with cross compilers,
10742 # most powerpc-linux boxes support dynamic linking these days and
10743 # people can always --disable-shared, the test was removed, and we
10744 # assume the GNU/Linux dynamic linker is in use.
10745 dynamic_linker
='GNU/Linux ld.so'
10752 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10753 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10754 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10755 dynamic_linker
='NetBSD (a.out) ld.so'
10757 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10758 soname_spec
='${libname}${release}${shared_ext}$major'
10759 dynamic_linker
='NetBSD ld.elf_so'
10761 shlibpath_var
=LD_LIBRARY_PATH
10762 shlibpath_overrides_runpath
=yes
10763 hardcode_into_libs
=yes
10768 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10769 shlibpath_var
=LD_LIBRARY_PATH
10770 shlibpath_overrides_runpath
=yes
10777 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10778 soname_spec
='${libname}${release}${shared_ext}$major'
10779 shlibpath_var
=LD_LIBRARY_PATH
10780 shlibpath_overrides_runpath
=no
10781 hardcode_into_libs
=yes
10782 dynamic_linker
='ldqnx.so'
10787 sys_lib_dlsearch_path_spec
="/usr/lib"
10789 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10791 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10792 *) need_version
=no
;;
10794 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10795 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10796 shlibpath_var
=LD_LIBRARY_PATH
10797 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10799 openbsd2.
[89] | openbsd2.
[89].
*)
10800 shlibpath_overrides_runpath
=no
10803 shlibpath_overrides_runpath
=yes
10807 shlibpath_overrides_runpath
=yes
10812 libname_spec
='$name'
10815 library_names_spec
='$libname${shared_ext} $libname.a'
10816 dynamic_linker
='OS/2 ld.exe'
10817 shlibpath_var
=LIBPATH
10820 osf3
* | osf4
* | osf5
*)
10824 soname_spec
='${libname}${release}${shared_ext}$major'
10825 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10826 shlibpath_var
=LD_LIBRARY_PATH
10827 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10828 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10839 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10840 soname_spec
='${libname}${release}${shared_ext}$major'
10841 shlibpath_var
=LD_LIBRARY_PATH
10842 shlibpath_overrides_runpath
=yes
10843 hardcode_into_libs
=yes
10844 # ldd complains unless libraries are executable
10845 postinstall_cmds
='chmod +x $lib'
10850 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10851 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10852 shlibpath_var
=LD_LIBRARY_PATH
10853 shlibpath_overrides_runpath
=yes
10854 if test "$with_gnu_ld" = yes; then
10862 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10863 soname_spec
='${libname}${release}${shared_ext}$major'
10864 shlibpath_var
=LD_LIBRARY_PATH
10865 case $host_vendor in
10867 shlibpath_overrides_runpath
=no
10869 runpath_var
=LD_RUN_PATH
10877 shlibpath_overrides_runpath
=no
10878 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10884 if test -d /usr
/nec
;then
10886 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10887 soname_spec
='$libname${shared_ext}.$major'
10888 shlibpath_var
=LD_LIBRARY_PATH
10892 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10893 version_type
=freebsd-elf
10896 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10897 soname_spec
='${libname}${release}${shared_ext}$major'
10898 shlibpath_var
=LD_LIBRARY_PATH
10899 shlibpath_overrides_runpath
=yes
10900 hardcode_into_libs
=yes
10901 if test "$with_gnu_ld" = yes; then
10902 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10904 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10907 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10911 sys_lib_dlsearch_path_spec
='/usr/lib'
10915 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10919 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10920 shlibpath_var
=LD_LIBRARY_PATH
10921 shlibpath_overrides_runpath
=no
10922 hardcode_into_libs
=yes
10927 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10928 soname_spec
='${libname}${release}${shared_ext}$major'
10929 shlibpath_var
=LD_LIBRARY_PATH
10936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10937 $as_echo "$dynamic_linker" >&6; }
10938 test "$dynamic_linker" = no
&& can_build_shared
=no
10940 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10941 if test "$GCC" = yes; then
10942 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10945 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10946 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10948 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10949 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11044 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11046 if test -n "$hardcode_libdir_flag_spec" ||
11047 test -n "$runpath_var" ||
11048 test "X$hardcode_automatic" = "Xyes" ; then
11050 # We can hardcode non-existent directories.
11051 if test "$hardcode_direct" != no
&&
11052 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11053 # have to relink, otherwise we might link with an installed library
11054 # when we should be linking with a yet-to-be-installed one
11055 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11056 test "$hardcode_minus_L" != no
; then
11057 # Linking always hardcodes the temporary library directory.
11058 hardcode_action
=relink
11060 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11061 hardcode_action
=immediate
11064 # We cannot hardcode anything, or else we can only hardcode existing
11066 hardcode_action
=unsupported
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11069 $as_echo "$hardcode_action" >&6; }
11071 if test "$hardcode_action" = relink ||
11072 test "$inherit_rpath" = yes; then
11073 # Fast installation is not supported
11074 enable_fast_install
=no
11075 elif test "$shlibpath_overrides_runpath" = yes ||
11076 test "$enable_shared" = no
; then
11077 # Fast installation is not necessary
11078 enable_fast_install
=needless
11086 if test "x$enable_dlopen" != xyes
; then
11087 enable_dlopen
=unknown
11088 enable_dlopen_self
=unknown
11089 enable_dlopen_self_static
=unknown
11096 lt_cv_dlopen
="load_add_on"
11098 lt_cv_dlopen_self
=yes
11101 mingw
* | pw32
* | cegcc
*)
11102 lt_cv_dlopen
="LoadLibrary"
11107 lt_cv_dlopen
="dlopen"
11112 # if libdl is installed we need to link against it
11113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11114 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11115 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11116 $as_echo_n "(cached) " >&6
11118 ac_check_lib_save_LIBS
=$LIBS
11120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11121 /* end confdefs.h. */
11123 /* Override any GCC internal prototype to avoid an error.
11124 Use char because int might match the return type of a GCC
11125 builtin and then its argument prototype would still apply. */
11138 if ac_fn_c_try_link
"$LINENO"; then :
11139 ac_cv_lib_dl_dlopen
=yes
11141 ac_cv_lib_dl_dlopen
=no
11143 rm -f core conftest.err conftest.
$ac_objext \
11144 conftest
$ac_exeext conftest.
$ac_ext
11145 LIBS
=$ac_check_lib_save_LIBS
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11148 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11149 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11150 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11153 lt_cv_dlopen
="dyld"
11155 lt_cv_dlopen_self
=yes
11162 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11163 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11164 lt_cv_dlopen
="shl_load"
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11167 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11168 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11169 $as_echo_n "(cached) " >&6
11171 ac_check_lib_save_LIBS
=$LIBS
11173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11174 /* end confdefs.h. */
11176 /* Override any GCC internal prototype to avoid an error.
11177 Use char because int might match the return type of a GCC
11178 builtin and then its argument prototype would still apply. */
11186 return shl_load ();
11191 if ac_fn_c_try_link
"$LINENO"; then :
11192 ac_cv_lib_dld_shl_load
=yes
11194 ac_cv_lib_dld_shl_load
=no
11196 rm -f core conftest.err conftest.
$ac_objext \
11197 conftest
$ac_exeext conftest.
$ac_ext
11198 LIBS
=$ac_check_lib_save_LIBS
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11201 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11202 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11203 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11205 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11206 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11207 lt_cv_dlopen
="dlopen"
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11210 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11211 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11212 $as_echo_n "(cached) " >&6
11214 ac_check_lib_save_LIBS
=$LIBS
11216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11217 /* end confdefs.h. */
11219 /* Override any GCC internal prototype to avoid an error.
11220 Use char because int might match the return type of a GCC
11221 builtin and then its argument prototype would still apply. */
11234 if ac_fn_c_try_link
"$LINENO"; then :
11235 ac_cv_lib_dl_dlopen
=yes
11237 ac_cv_lib_dl_dlopen
=no
11239 rm -f core conftest.err conftest.
$ac_objext \
11240 conftest
$ac_exeext conftest.
$ac_ext
11241 LIBS
=$ac_check_lib_save_LIBS
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11244 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11245 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11246 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11249 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11250 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11251 $as_echo_n "(cached) " >&6
11253 ac_check_lib_save_LIBS
=$LIBS
11254 LIBS
="-lsvld $LIBS"
11255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11256 /* end confdefs.h. */
11258 /* Override any GCC internal prototype to avoid an error.
11259 Use char because int might match the return type of a GCC
11260 builtin and then its argument prototype would still apply. */
11273 if ac_fn_c_try_link
"$LINENO"; then :
11274 ac_cv_lib_svld_dlopen
=yes
11276 ac_cv_lib_svld_dlopen
=no
11278 rm -f core conftest.err conftest.
$ac_objext \
11279 conftest
$ac_exeext conftest.
$ac_ext
11280 LIBS
=$ac_check_lib_save_LIBS
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11283 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11284 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11285 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11288 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11289 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11290 $as_echo_n "(cached) " >&6
11292 ac_check_lib_save_LIBS
=$LIBS
11294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11295 /* end confdefs.h. */
11297 /* Override any GCC internal prototype to avoid an error.
11298 Use char because int might match the return type of a GCC
11299 builtin and then its argument prototype would still apply. */
11307 return dld_link ();
11312 if ac_fn_c_try_link
"$LINENO"; then :
11313 ac_cv_lib_dld_dld_link
=yes
11315 ac_cv_lib_dld_dld_link
=no
11317 rm -f core conftest.err conftest.
$ac_objext \
11318 conftest
$ac_exeext conftest.
$ac_ext
11319 LIBS
=$ac_check_lib_save_LIBS
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11322 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11323 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11324 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11345 if test "x$lt_cv_dlopen" != xno
; then
11351 case $lt_cv_dlopen in
11353 save_CPPFLAGS
="$CPPFLAGS"
11354 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11356 save_LDFLAGS
="$LDFLAGS"
11357 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11360 LIBS
="$lt_cv_dlopen_libs $LIBS"
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11363 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11364 if test "${lt_cv_dlopen_self+set}" = set; then :
11365 $as_echo_n "(cached) " >&6
11367 if test "$cross_compiling" = yes; then :
11368 lt_cv_dlopen_self
=cross
11370 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11371 lt_status
=$lt_dlunknown
11372 cat > conftest.
$ac_ext <<_LT_EOF
11373 #line 11373 "configure"
11374 #include "confdefs.h"
11383 # define LT_DLGLOBAL RTLD_GLOBAL
11386 # define LT_DLGLOBAL DL_GLOBAL
11388 # define LT_DLGLOBAL 0
11392 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11393 find out it does not work in some platform. */
11394 #ifndef LT_DLLAZY_OR_NOW
11396 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11399 # define LT_DLLAZY_OR_NOW DL_LAZY
11402 # define LT_DLLAZY_OR_NOW RTLD_NOW
11405 # define LT_DLLAZY_OR_NOW DL_NOW
11407 # define LT_DLLAZY_OR_NOW 0
11414 /* When -fvisbility=hidden is used, assume the code has been annotated
11415 correspondingly for the symbols needed. */
11416 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11417 void fnord () __attribute__((visibility("default")));
11420 void fnord () { int i=42; }
11423 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11424 int status = $lt_dlunknown;
11428 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11431 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11432 else puts (dlerror ());
11434 /* dlclose (self); */
11442 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11443 (eval $ac_link) 2>&5
11445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11446 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11447 (.
/conftest
; exit; ) >&5 2>/dev
/null
11449 case x
$lt_status in
11450 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11451 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11452 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11455 # compilation failed
11456 lt_cv_dlopen_self
=no
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11464 $as_echo "$lt_cv_dlopen_self" >&6; }
11466 if test "x$lt_cv_dlopen_self" = xyes
; then
11467 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11469 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11470 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11471 $as_echo_n "(cached) " >&6
11473 if test "$cross_compiling" = yes; then :
11474 lt_cv_dlopen_self_static
=cross
11476 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11477 lt_status
=$lt_dlunknown
11478 cat > conftest.
$ac_ext <<_LT_EOF
11479 #line 11479 "configure"
11480 #include "confdefs.h"
11489 # define LT_DLGLOBAL RTLD_GLOBAL
11492 # define LT_DLGLOBAL DL_GLOBAL
11494 # define LT_DLGLOBAL 0
11498 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11499 find out it does not work in some platform. */
11500 #ifndef LT_DLLAZY_OR_NOW
11502 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11505 # define LT_DLLAZY_OR_NOW DL_LAZY
11508 # define LT_DLLAZY_OR_NOW RTLD_NOW
11511 # define LT_DLLAZY_OR_NOW DL_NOW
11513 # define LT_DLLAZY_OR_NOW 0
11520 /* When -fvisbility=hidden is used, assume the code has been annotated
11521 correspondingly for the symbols needed. */
11522 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11523 void fnord () __attribute__((visibility("default")));
11526 void fnord () { int i=42; }
11529 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11530 int status = $lt_dlunknown;
11534 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11537 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11538 else puts (dlerror ());
11540 /* dlclose (self); */
11548 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11549 (eval $ac_link) 2>&5
11551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11552 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11553 (.
/conftest
; exit; ) >&5 2>/dev
/null
11555 case x
$lt_status in
11556 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11557 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11558 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11561 # compilation failed
11562 lt_cv_dlopen_self_static
=no
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11570 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11573 CPPFLAGS
="$save_CPPFLAGS"
11574 LDFLAGS
="$save_LDFLAGS"
11579 case $lt_cv_dlopen_self in
11580 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11581 *) enable_dlopen_self
=unknown
;;
11584 case $lt_cv_dlopen_self_static in
11585 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11586 *) enable_dlopen_self_static
=unknown
;;
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11609 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11610 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11611 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11612 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11614 $as_echo "yes" >&6; }
11616 # FIXME - insert some real tests, host_os isn't really good enough
11619 if test -n "$STRIP" ; then
11620 striplib
="$STRIP -x"
11621 old_striplib
="$STRIP -S"
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11623 $as_echo "yes" >&6; }
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11626 $as_echo "no" >&6; }
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11631 $as_echo "no" >&6; }
11647 # Report which library types will actually be built
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11649 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11651 $as_echo "$can_build_shared" >&6; }
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11654 $as_echo_n "checking whether to build shared libraries... " >&6; }
11655 test "$can_build_shared" = "no" && enable_shared
=no
11657 # On AIX, shared libraries and static libraries use the same namespace, and
11658 # are all built from PIC.
11661 test "$enable_shared" = yes && enable_static
=no
11662 if test -n "$RANLIB"; then
11663 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11664 postinstall_cmds
='$RANLIB $lib'
11669 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11670 test "$enable_shared" = yes && enable_static
=no
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11675 $as_echo "$enable_shared" >&6; }
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11678 $as_echo_n "checking whether to build static libraries... " >&6; }
11679 # Make sure either enable_shared or enable_static is yes.
11680 test "$enable_shared" = yes || enable_static
=yes
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11682 $as_echo "$enable_static" >&6; }
11689 ac_cpp
='$CPP $CPPFLAGS'
11690 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11691 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11692 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11696 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11697 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11698 (test "X$CXX" != "Xg++"))) ; then
11700 ac_cpp
='$CXXCPP $CPPFLAGS'
11701 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11702 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11703 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11705 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11706 if test -z "$CXXCPP"; then
11707 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11708 $as_echo_n "(cached) " >&6
11710 # Double quotes because CXXCPP needs to be expanded
11711 for CXXCPP
in "$CXX -E" "/lib/cpp"
11713 ac_preproc_ok
=false
11714 for ac_cxx_preproc_warn_flag
in '' yes
11716 # Use a header file that comes with gcc, so configuring glibc
11717 # with a fresh cross-compiler works.
11718 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11719 # <limits.h> exists even on freestanding compilers.
11720 # On the NeXT, cc -E runs the code through the compiler's parser,
11721 # not just through cpp. "Syntax error" is here to catch this case.
11722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11723 /* end confdefs.h. */
11725 # include <limits.h>
11727 # include <assert.h>
11731 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11734 # Broken: fails on valid input.
11737 rm -f conftest.err conftest.
$ac_ext
11739 # OK, works on sane cases. Now check whether nonexistent headers
11740 # can be detected and how.
11741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11742 /* end confdefs.h. */
11743 #include <ac_nonexistent.h>
11745 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11746 # Broken: success on invalid input.
11749 # Passes both tests.
11753 rm -f conftest.err conftest.
$ac_ext
11756 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11757 rm -f conftest.err conftest.
$ac_ext
11758 if $ac_preproc_ok; then :
11763 ac_cv_prog_CXXCPP
=$CXXCPP
11766 CXXCPP
=$ac_cv_prog_CXXCPP
11768 ac_cv_prog_CXXCPP
=$CXXCPP
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11771 $as_echo "$CXXCPP" >&6; }
11772 ac_preproc_ok
=false
11773 for ac_cxx_preproc_warn_flag
in '' yes
11775 # Use a header file that comes with gcc, so configuring glibc
11776 # with a fresh cross-compiler works.
11777 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11778 # <limits.h> exists even on freestanding compilers.
11779 # On the NeXT, cc -E runs the code through the compiler's parser,
11780 # not just through cpp. "Syntax error" is here to catch this case.
11781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11782 /* end confdefs.h. */
11784 # include <limits.h>
11786 # include <assert.h>
11790 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11793 # Broken: fails on valid input.
11796 rm -f conftest.err conftest.
$ac_ext
11798 # OK, works on sane cases. Now check whether nonexistent headers
11799 # can be detected and how.
11800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11801 /* end confdefs.h. */
11802 #include <ac_nonexistent.h>
11804 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11805 # Broken: success on invalid input.
11808 # Passes both tests.
11812 rm -f conftest.err conftest.
$ac_ext
11815 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11816 rm -f conftest.err conftest.
$ac_ext
11817 if $ac_preproc_ok; then :
11820 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11822 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
11823 See \`config.log' for more details." "$LINENO" 5; }
11827 ac_cpp
='$CPP $CPPFLAGS'
11828 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11829 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11830 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11833 _lt_caught_CXX_error
=yes
11837 ac_cpp
='$CXXCPP $CPPFLAGS'
11838 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11839 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11840 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11842 archive_cmds_need_lc_CXX
=no
11843 allow_undefined_flag_CXX
=
11844 always_export_symbols_CXX
=no
11845 archive_expsym_cmds_CXX
=
11846 compiler_needs_object_CXX
=no
11847 export_dynamic_flag_spec_CXX
=
11848 hardcode_direct_CXX
=no
11849 hardcode_direct_absolute_CXX
=no
11850 hardcode_libdir_flag_spec_CXX
=
11851 hardcode_libdir_flag_spec_ld_CXX
=
11852 hardcode_libdir_separator_CXX
=
11853 hardcode_minus_L_CXX
=no
11854 hardcode_shlibpath_var_CXX
=unsupported
11855 hardcode_automatic_CXX
=no
11856 inherit_rpath_CXX
=no
11858 module_expsym_cmds_CXX
=
11859 link_all_deplibs_CXX
=unknown
11860 old_archive_cmds_CXX
=$old_archive_cmds
11861 reload_flag_CXX
=$reload_flag
11862 reload_cmds_CXX
=$reload_cmds
11863 no_undefined_flag_CXX
=
11864 whole_archive_flag_spec_CXX
=
11865 enable_shared_with_static_runtimes_CXX
=no
11867 # Source file extension for C++ test sources.
11870 # Object file extension for compiled C++ test sources.
11874 # No sense in running all these tests if we already determined that
11875 # the CXX compiler isn't working. Some variables (like enable_shared)
11876 # are currently assumed to apply to all compilers on this platform,
11877 # and will be corrupted by setting them based on a non-working compiler.
11878 if test "$_lt_caught_CXX_error" != yes; then
11879 # Code to be used in simple compile tests
11880 lt_simple_compile_test_code
="int some_variable = 0;"
11882 # Code to be used in simple link tests
11883 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11885 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11892 # If no C compiler was specified, use CC.
11895 # If no C compiler flags were specified, use CFLAGS.
11896 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11898 # Allow CC to be a program name with arguments.
11902 # save warnings/boilerplate of simple test code
11903 ac_outfile
=conftest.
$ac_objext
11904 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11905 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11906 _lt_compiler_boilerplate
=`cat conftest.err`
11909 ac_outfile
=conftest.
$ac_objext
11910 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11911 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11912 _lt_linker_boilerplate
=`cat conftest.err`
11916 # Allow CC to be a program name with arguments.
11921 lt_save_with_gnu_ld
=$with_gnu_ld
11922 lt_save_path_LD
=$lt_cv_path_LD
11923 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11924 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11926 $as_unset lt_cv_prog_gnu_ld
11928 if test -n "${lt_cv_path_LDCXX+set}"; then
11929 lt_cv_path_LD
=$lt_cv_path_LDCXX
11931 $as_unset lt_cv_path_LD
11933 test -z "${LDCXX+set}" || LD
=$LDCXX
11937 for cc_temp
in $compiler""; do
11939 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11940 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11945 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11948 if test -n "$compiler"; then
11949 # We don't want -fno-exception when compiling C++ code, so set the
11950 # no_builtin_flag separately
11951 if test "$GXX" = yes; then
11952 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11954 lt_prog_compiler_no_builtin_flag_CXX
=
11957 if test "$GXX" = yes; then
11958 # Set up default GNU C++ configuration
11962 # Check whether --with-gnu-ld was given.
11963 if test "${with_gnu_ld+set}" = set; then :
11964 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
11970 if test "$GCC" = yes; then
11971 # Check if gcc -print-prog-name=ld gives a path.
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11973 $as_echo_n "checking for ld used by $CC... " >&6; }
11976 # gcc leaves a trailing carriage return which upsets mingw
11977 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11979 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11982 # Accept absolute paths.
11984 re_direlt
='/[^/][^/]*/\.\./'
11985 # Canonicalize the pathname of ld
11986 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11987 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
11988 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11990 test -z "$LD" && LD
="$ac_prog"
11993 # If it fails, then pretend we aren't using GCC.
11997 # If it is relative, then search for the first ld in PATH.
11998 with_gnu_ld
=unknown
12001 elif test "$with_gnu_ld" = yes; then
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12003 $as_echo_n "checking for GNU ld... " >&6; }
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12006 $as_echo_n "checking for non-GNU ld... " >&6; }
12008 if test "${lt_cv_path_LD+set}" = set; then :
12009 $as_echo_n "(cached) " >&6
12011 if test -z "$LD"; then
12012 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12013 for ac_dir
in $PATH; do
12015 test -z "$ac_dir" && ac_dir
=.
12016 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12017 lt_cv_path_LD
="$ac_dir/$ac_prog"
12018 # Check to see if the program is GNU ld. I'd rather use --version,
12019 # but apparently some variants of GNU ld only accept -v.
12020 # Break only if it was the GNU/non-GNU ld that we prefer.
12021 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12022 *GNU
* |
*'with BFD'*)
12023 test "$with_gnu_ld" != no
&& break
12026 test "$with_gnu_ld" != yes && break
12033 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12037 LD
="$lt_cv_path_LD"
12038 if test -n "$LD"; then
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12040 $as_echo "$LD" >&6; }
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12043 $as_echo "no" >&6; }
12045 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12047 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12048 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12049 $as_echo_n "(cached) " >&6
12051 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12052 case `$LD -v 2>&1 </dev/null` in
12053 *GNU
* |
*'with BFD'*)
12054 lt_cv_prog_gnu_ld
=yes
12057 lt_cv_prog_gnu_ld
=no
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12062 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12063 with_gnu_ld
=$lt_cv_prog_gnu_ld
12071 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12072 # archiving commands below assume that GNU ld is being used.
12073 if test "$with_gnu_ld" = yes; then
12074 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12075 archive_expsym_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12077 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12078 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12080 # If archive_cmds runs LD, not CC, wlarc should be empty
12081 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12082 # investigate it a little bit more. (MM)
12085 # ancient GNU ld didn't support --whole-archive et. al.
12086 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12087 $GREP 'no-whole-archive' > /dev
/null
; then
12088 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12090 whole_archive_flag_spec_CXX
=
12096 # A generic and very simple default shared library creation
12097 # command for GNU C++ for the case where it uses the native
12098 # linker, instead of GNU ld. If possible, this setting should
12099 # overridden to take advantage of the native linker features on
12100 # the platform it is being used on.
12101 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12104 # Commands to make compiler produce verbose output that lists
12105 # what "hidden" libraries, object files and flags are used when
12106 # linking a shared library.
12107 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12115 # PORTME: fill in a description of your system's C++ link characteristics
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12117 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12121 # FIXME: insert proper C++ library support
12125 if test "$host_cpu" = ia64
; then
12126 # On IA64, the linker does run time linking by default, so we don't
12127 # have to do anything special.
12128 aix_use_runtimelinking
=no
12129 exp_sym_flag
='-Bexport'
12132 aix_use_runtimelinking
=no
12134 # Test if we are trying to use run time linking or normal
12135 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12136 # need to do runtime linking.
12137 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12138 for ld_flag
in $LDFLAGS; do
12141 aix_use_runtimelinking
=yes
12149 exp_sym_flag
='-bexport'
12150 no_entry_flag
='-bnoentry'
12153 # When large executables or shared objects are built, AIX ld can
12154 # have problems creating the table of contents. If linking a library
12155 # or program results in "error TOC overflow" add -mminimal-toc to
12156 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12157 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12159 archive_cmds_CXX
=''
12160 hardcode_direct_CXX
=yes
12161 hardcode_direct_absolute_CXX
=yes
12162 hardcode_libdir_separator_CXX
=':'
12163 link_all_deplibs_CXX
=yes
12164 file_list_spec_CXX
='${wl}-f,'
12166 if test "$GXX" = yes; then
12167 case $host_os in aix4.
[012]|aix4.
[012].
*)
12168 # We only want to do this on AIX 4.2 and lower, the check
12169 # below for broken collect2 doesn't work under 4.3+
12170 collect2name
=`${CC} -print-prog-name=collect2`
12171 if test -f "$collect2name" &&
12172 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12174 # We have reworked collect2
12177 # We have old collect2
12178 hardcode_direct_CXX
=unsupported
12179 # It fails to find uninstalled libraries when the uninstalled
12180 # path is not listed in the libpath. Setting hardcode_minus_L
12181 # to unsupported forces relinking
12182 hardcode_minus_L_CXX
=yes
12183 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12184 hardcode_libdir_separator_CXX
=
12187 shared_flag
='-shared'
12188 if test "$aix_use_runtimelinking" = yes; then
12189 shared_flag
="$shared_flag "'${wl}-G'
12193 if test "$host_cpu" = ia64
; then
12194 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12195 # chokes on -Wl,-G. The following line is correct:
12198 if test "$aix_use_runtimelinking" = yes; then
12199 shared_flag
='${wl}-G'
12201 shared_flag
='${wl}-bM:SRE'
12206 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12207 # It seems that -bexpall does not export symbols beginning with
12208 # underscore (_), so it is better to generate a list of symbols to
12210 always_export_symbols_CXX
=yes
12211 if test "$aix_use_runtimelinking" = yes; then
12212 # Warning - without using the other runtime loading flags (-brtl),
12213 # -berok will link without error, but may produce a broken library.
12214 allow_undefined_flag_CXX
='-berok'
12215 # Determine the default libpath from the value encoded in an empty
12217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12218 /* end confdefs.h. */
12228 if ac_fn_cxx_try_link
"$LINENO"; then :
12230 lt_aix_libpath_sed
='
12231 /Import File Strings/,/^$/ {
12237 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12238 # Check for a 64-bit object if we didn't find anything.
12239 if test -z "$aix_libpath"; then
12240 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12243 rm -f core conftest.err conftest.
$ac_objext \
12244 conftest
$ac_exeext conftest.
$ac_ext
12245 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12247 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12249 archive_expsym_cmds_CXX
='$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"
12251 if test "$host_cpu" = ia64
; then
12252 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12253 allow_undefined_flag_CXX
="-z nodefs"
12254 archive_expsym_cmds_CXX
="\$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"
12256 # Determine the default libpath from the value encoded in an
12257 # empty executable.
12258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12259 /* end confdefs.h. */
12269 if ac_fn_cxx_try_link
"$LINENO"; then :
12271 lt_aix_libpath_sed
='
12272 /Import File Strings/,/^$/ {
12278 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12279 # Check for a 64-bit object if we didn't find anything.
12280 if test -z "$aix_libpath"; then
12281 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12284 rm -f core conftest.err conftest.
$ac_objext \
12285 conftest
$ac_exeext conftest.
$ac_ext
12286 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12288 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12289 # Warning - without using the other run time loading flags,
12290 # -berok will link without error, but may produce a broken library.
12291 no_undefined_flag_CXX
=' ${wl}-bernotok'
12292 allow_undefined_flag_CXX
=' ${wl}-berok'
12293 if test "$with_gnu_ld" = yes; then
12294 # We only use this code for GNU lds that support --whole-archive.
12295 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12297 # Exported symbols can be pulled into shared objects from archives
12298 whole_archive_flag_spec_CXX
='$convenience'
12300 archive_cmds_need_lc_CXX
=yes
12301 # This is similar to how AIX traditionally builds its shared
12303 archive_expsym_cmds_CXX
="\$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'
12309 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12310 allow_undefined_flag_CXX
=unsupported
12311 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12312 # support --undefined. This deserves some investigation. FIXME
12313 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12320 case $cc_basename in
12322 # FIXME: insert proper C++ library support
12328 cygwin
* | mingw
* | pw32
* | cegcc
*)
12329 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12330 # as there is no search path for DLLs.
12331 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12332 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12333 allow_undefined_flag_CXX
=unsupported
12334 always_export_symbols_CXX
=no
12335 enable_shared_with_static_runtimes_CXX
=yes
12337 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12338 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12339 # If the export-symbols file already is a .def file (1st line
12340 # is EXPORTS), use it as is; otherwise, prepend...
12341 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12342 cp $export_symbols $output_objdir/$soname.def;
12344 echo EXPORTS > $output_objdir/$soname.def;
12345 cat $export_symbols >> $output_objdir/$soname.def;
12347 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12352 darwin
* | rhapsody
*)
12355 archive_cmds_need_lc_CXX
=no
12356 hardcode_direct_CXX
=no
12357 hardcode_automatic_CXX
=yes
12358 hardcode_shlibpath_var_CXX
=unsupported
12359 if test "$lt_cv_ld_force_load" = "yes"; then
12360 whole_archive_flag_spec_CXX
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12362 whole_archive_flag_spec_CXX
=''
12364 link_all_deplibs_CXX
=yes
12365 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12366 case $cc_basename in
12367 ifort
*) _lt_dar_can_shared
=yes ;;
12368 *) _lt_dar_can_shared
=$GCC ;;
12370 if test "$_lt_dar_can_shared" = "yes"; then
12371 output_verbose_link_cmd
=func_echo_all
12372 archive_cmds_CXX
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12373 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12374 archive_expsym_cmds_CXX
="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}"
12375 module_expsym_cmds_CXX
="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}"
12376 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12377 archive_cmds_CXX
="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12378 archive_expsym_cmds_CXX
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12388 case $cc_basename in
12390 # FIXME: insert proper C++ library support
12394 # Green Hills C++ Compiler
12395 # FIXME: insert proper C++ library support
12399 # FIXME: insert proper C++ library support
12406 # C++ shared libraries reported to be fairly broken before
12412 archive_cmds_need_lc_CXX
=no
12415 freebsd
* | dragonfly
*)
12416 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12425 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12426 link_all_deplibs_CXX
=yes
12430 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12431 hardcode_libdir_separator_CXX
=:
12432 export_dynamic_flag_spec_CXX
='${wl}-E'
12433 hardcode_direct_CXX
=yes
12434 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12435 # but as the default
12436 # location of the library.
12438 case $cc_basename in
12440 # FIXME: insert proper C++ library support
12444 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12445 # Commands to make compiler produce verbose output that lists
12446 # what "hidden" libraries, object files and flags are used when
12447 # linking a shared library.
12449 # There doesn't appear to be a way to prevent this compiler from
12450 # explicitly linking system object files so we need to strip them
12451 # from the output so that they don't get included in the library
12453 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12456 if test "$GXX" = yes; then
12457 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12459 # FIXME: insert proper C++ library support
12467 if test $with_gnu_ld = no
; then
12468 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12469 hardcode_libdir_separator_CXX
=:
12475 export_dynamic_flag_spec_CXX
='${wl}-E'
12481 hardcode_direct_CXX
=no
12482 hardcode_shlibpath_var_CXX
=no
12485 hardcode_direct_CXX
=yes
12486 hardcode_direct_absolute_CXX
=yes
12487 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12488 # but as the default
12489 # location of the library.
12493 case $cc_basename in
12495 # FIXME: insert proper C++ library support
12501 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12504 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12507 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12510 # Commands to make compiler produce verbose output that lists
12511 # what "hidden" libraries, object files and flags are used when
12512 # linking a shared library.
12514 # There doesn't appear to be a way to prevent this compiler from
12515 # explicitly linking system object files so we need to strip them
12516 # from the output so that they don't get included in the library
12518 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12521 if test "$GXX" = yes; then
12522 if test $with_gnu_ld = no
; then
12525 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12528 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12531 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12536 # FIXME: insert proper C++ library support
12544 hardcode_direct_CXX
=no
12545 hardcode_shlibpath_var_CXX
=no
12546 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12547 export_dynamic_flag_spec_CXX
='${wl}-E'
12548 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12549 # Instead, shared libraries are loaded at an image base (0x10000000 by
12550 # default) and relocated if they conflict, which is a slow very memory
12551 # consuming and fragmenting process. To avoid this, we pick a random,
12552 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12553 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12554 archive_cmds_CXX
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12555 archive_expsym_cmds_CXX
='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'
12558 case $cc_basename in
12561 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12563 # Archives containing C++ object files must be created using
12564 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12565 # necessary to make sure instantiated templates are included
12567 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12570 if test "$GXX" = yes; then
12571 if test "$with_gnu_ld" = no
; then
12572 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
12574 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12577 link_all_deplibs_CXX
=yes
12580 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12581 hardcode_libdir_separator_CXX
=:
12582 inherit_rpath_CXX
=yes
12585 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12586 case $cc_basename in
12588 # Kuck and Associates, Inc. (KAI) C++ Compiler
12590 # KCC will only create a shared library if the output file
12591 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12592 # to its proper name (with version) after linking.
12593 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12594 archive_expsym_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12595 # Commands to make compiler produce verbose output that lists
12596 # what "hidden" libraries, object files and flags are used when
12597 # linking a shared library.
12599 # There doesn't appear to be a way to prevent this compiler from
12600 # explicitly linking system object files so we need to strip them
12601 # from the output so that they don't get included in the library
12603 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12605 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12606 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12608 # Archives containing C++ object files must be created using
12609 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12610 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12615 # version 8.0 and above of icpc choke on multiply defined symbols
12616 # if we add $predep_objects and $postdep_objects, however 7.1 and
12617 # earlier do not add the objects themselves.
12618 case `$CC -V 2>&1` in
12620 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12621 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12623 *) # Version 8.0 or newer
12626 ia64
*) tmp_idyn
=' -i_dynamic';;
12628 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12629 archive_expsym_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12632 archive_cmds_need_lc_CXX
=no
12633 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12634 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12635 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12638 # Portland Group C++ compiler
12640 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
12641 prelink_cmds_CXX
='tpldir=Template.dir~
12643 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12644 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12645 old_archive_cmds_CXX
='tpldir=Template.dir~
12647 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12648 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12650 archive_cmds_CXX
='tpldir=Template.dir~
12652 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12653 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12654 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12656 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12657 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12659 *) # Version 6 and above use weak symbols
12660 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12661 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12665 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12666 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12667 whole_archive_flag_spec_CXX
='${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'
12671 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12672 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12674 runpath_var
=LD_RUN_PATH
12675 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12676 hardcode_libdir_separator_CXX
=:
12678 # Commands to make compiler produce verbose output that lists
12679 # what "hidden" libraries, object files and flags are used when
12680 # linking a shared library.
12682 # There doesn't appear to be a way to prevent this compiler from
12683 # explicitly linking system object files so we need to strip them
12684 # from the output so that they don't get included in the library
12686 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
12688 xl
* | mpixl
* | bgxl
*)
12689 # IBM XL 8.0 on PPC, with GNU ld
12690 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12691 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12692 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12693 if test "x$supports_anon_versioning" = xyes
; then
12694 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12695 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12696 echo "local: *; };" >> $output_objdir/$libname.ver~
12697 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12701 case `$CC -V 2>&1 | sed 5q` in
12704 no_undefined_flag_CXX
=' -zdefs'
12705 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12706 archive_expsym_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12707 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12708 whole_archive_flag_spec_CXX
='${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'
12709 compiler_needs_object_CXX
=yes
12711 # Not sure whether something based on
12712 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12714 output_verbose_link_cmd
='func_echo_all'
12716 # Archives containing C++ object files must be created using
12717 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12718 # necessary to make sure instantiated templates are included
12720 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12728 # FIXME: insert proper C++ library support
12733 # FIXME: insert proper C++ library support
12738 case $cc_basename in
12740 # FIXME: insert proper C++ library support
12744 # FIXME: insert proper C++ library support
12751 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12752 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12754 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12755 hardcode_direct_CXX
=yes
12756 hardcode_shlibpath_var_CXX
=no
12758 # Workaround some broken pre-1.5 toolchains
12759 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12767 # C++ shared libraries are fairly broken
12772 if test -f /usr
/libexec
/ld.so
; then
12773 hardcode_direct_CXX
=yes
12774 hardcode_shlibpath_var_CXX
=no
12775 hardcode_direct_absolute_CXX
=yes
12776 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12777 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12778 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12779 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12780 export_dynamic_flag_spec_CXX
='${wl}-E'
12781 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12783 output_verbose_link_cmd
=func_echo_all
12789 osf3
* | osf4
* | osf5
*)
12790 case $cc_basename in
12792 # Kuck and Associates, Inc. (KAI) C++ Compiler
12794 # KCC will only create a shared library if the output file
12795 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12796 # to its proper name (with version) after linking.
12797 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12799 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12800 hardcode_libdir_separator_CXX
=:
12802 # Archives containing C++ object files must be created using
12803 # the KAI C++ compiler.
12805 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12806 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12810 # Rational C++ 2.4.1
12811 # FIXME: insert proper C++ library support
12817 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12818 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12819 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12822 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12823 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12824 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12825 echo "-hidden">> $lib.exp~
12826 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
12828 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12832 hardcode_libdir_separator_CXX
=:
12834 # Commands to make compiler produce verbose output that lists
12835 # what "hidden" libraries, object files and flags are used when
12836 # linking a shared library.
12838 # There doesn't appear to be a way to prevent this compiler from
12839 # explicitly linking system object files so we need to strip them
12840 # from the output so that they don't get included in the library
12842 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12845 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12846 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12849 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
12852 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
12856 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12857 hardcode_libdir_separator_CXX
=:
12859 # Commands to make compiler produce verbose output that lists
12860 # what "hidden" libraries, object files and flags are used when
12861 # linking a shared library.
12862 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12865 # FIXME: insert proper C++ library support
12873 # FIXME: insert proper C++ library support
12878 case $cc_basename in
12881 # FIXME: insert proper C++ library support
12886 # FIXME: insert proper C++ library support
12890 # FIXME: insert proper C++ library support
12897 case $cc_basename in
12899 # Sun C++ 4.2, 5.x and Centerline C++
12900 archive_cmds_need_lc_CXX
=yes
12901 no_undefined_flag_CXX
=' -zdefs'
12902 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12903 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12904 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12906 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12907 hardcode_shlibpath_var_CXX
=no
12909 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12911 # The compiler driver will combine and reorder linker options,
12912 # but understands `-z linker_flag'.
12913 # Supported since Solaris 2.6 (maybe 2.5.1?)
12914 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12917 link_all_deplibs_CXX
=yes
12919 output_verbose_link_cmd
='func_echo_all'
12921 # Archives containing C++ object files must be created using
12922 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12923 # necessary to make sure instantiated templates are included
12925 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12928 # Green Hills C++ Compiler
12929 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12931 # The C++ compiler must be used to create the archive.
12932 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12935 # GNU C++ compiler with Solaris linker
12936 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12937 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12938 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
12939 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12940 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12941 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12943 # Commands to make compiler produce verbose output that lists
12944 # what "hidden" libraries, object files and flags are used when
12945 # linking a shared library.
12946 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12948 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12950 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12951 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12952 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12954 # Commands to make compiler produce verbose output that lists
12955 # what "hidden" libraries, object files and flags are used when
12956 # linking a shared library.
12957 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12960 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12962 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12964 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12972 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12973 no_undefined_flag_CXX
='${wl}-z,text'
12974 archive_cmds_need_lc_CXX
=no
12975 hardcode_shlibpath_var_CXX
=no
12976 runpath_var
='LD_RUN_PATH'
12978 case $cc_basename in
12980 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12981 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12984 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12985 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12990 sysv5
* | sco3.2v5
* | sco5v6
*)
12991 # Note: We can NOT use -z defs as we might desire, because we do not
12992 # link with -lc, and that would cause any symbols used from libc to
12993 # always be unresolved, which means just about no library would
12994 # ever link correctly. If we're not using GNU ld we use -z text
12995 # though, which does catch some bad symbols but isn't as heavy-handed
12997 no_undefined_flag_CXX
='${wl}-z,text'
12998 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12999 archive_cmds_need_lc_CXX
=no
13000 hardcode_shlibpath_var_CXX
=no
13001 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13002 hardcode_libdir_separator_CXX
=':'
13003 link_all_deplibs_CXX
=yes
13004 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13005 runpath_var
='LD_RUN_PATH'
13007 case $cc_basename in
13009 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13010 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13011 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13012 '"$old_archive_cmds_CXX"
13013 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13014 '"$reload_cmds_CXX"
13017 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13018 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13024 case $cc_basename in
13026 # NonStop-UX NCC 3.20
13027 # FIXME: insert proper C++ library support
13031 # FIXME: insert proper C++ library support
13038 # FIXME: insert proper C++ library support
13043 # FIXME: insert proper C++ library support
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13049 $as_echo "$ld_shlibs_CXX" >&6; }
13050 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13056 ## There is no encapsulation within the following macros, do not change
13057 ## the running order or otherwise move them around unless you know exactly
13058 ## what you are doing...
13059 # Dependencies to place before and after the object being linked:
13060 predep_objects_CXX
=
13061 postdep_objects_CXX
=
13064 compiler_lib_search_path_CXX
=
13066 cat > conftest.
$ac_ext <<_LT_EOF
13070 Foo (void) { a = 0; }
13076 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13077 (eval $ac_compile) 2>&5
13079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13080 test $ac_status = 0; }; then
13081 # Parse the compiler output and extract the necessary
13082 # objects, libraries and library flags.
13084 # Sentinel used to keep track of whether or not we are before
13085 # the conftest object file.
13086 pre_test_object_deps_done
=no
13088 for p
in `eval "$output_verbose_link_cmd"`; do
13092 # Some compilers place space between "-{L,R}" and the path.
13093 # Remove the space.
13094 if test $p = "-L" ||
13095 test $p = "-R"; then
13102 if test "$pre_test_object_deps_done" = no
; then
13105 # Internal compiler library paths should come after those
13106 # provided the user. The postdeps already come after the
13107 # user supplied libs so there is no need to process them.
13108 if test -z "$compiler_lib_search_path_CXX"; then
13109 compiler_lib_search_path_CXX
="${prev}${p}"
13111 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13114 # The "-l" case would never come before the object being
13115 # linked, so don't bother handling this case.
13118 if test -z "$postdeps_CXX"; then
13119 postdeps_CXX
="${prev}${p}"
13121 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13127 # This assumes that the test object file only shows up
13128 # once in the compiler output.
13129 if test "$p" = "conftest.$objext"; then
13130 pre_test_object_deps_done
=yes
13134 if test "$pre_test_object_deps_done" = no
; then
13135 if test -z "$predep_objects_CXX"; then
13136 predep_objects_CXX
="$p"
13138 predep_objects_CXX
="$predep_objects_CXX $p"
13141 if test -z "$postdep_objects_CXX"; then
13142 postdep_objects_CXX
="$p"
13144 postdep_objects_CXX
="$postdep_objects_CXX $p"
13149 *) ;; # Ignore the rest.
13157 echo "libtool.m4: error: problem compiling CXX test program"
13160 $RM -f confest.
$objext
13162 # PORTME: override above test on systems where it is broken
13165 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13166 # hack all around it, let's just trust "g++" to DTRT.
13167 predep_objects_CXX
=
13168 postdep_objects_CXX
=
13173 case `$CC -V 2>&1 | sed 5q` in
13177 # The more standards-conforming stlport4 library is
13178 # incompatible with the Cstd library. Avoid specifying
13179 # it if it's in CXXFLAGS. Ignore libCrun as
13180 # -library=stlport4 depends on it.
13181 case " $CXX $CXXFLAGS " in
13182 *" -library=stlport4 "*)
13183 solaris_use_stlport4
=yes
13187 if test "$solaris_use_stlport4" != yes; then
13188 postdeps_CXX
='-library=Cstd -library=Crun'
13195 case $cc_basename in
13197 # The more standards-conforming stlport4 library is
13198 # incompatible with the Cstd library. Avoid specifying
13199 # it if it's in CXXFLAGS. Ignore libCrun as
13200 # -library=stlport4 depends on it.
13201 case " $CXX $CXXFLAGS " in
13202 *" -library=stlport4 "*)
13203 solaris_use_stlport4
=yes
13207 # Adding this requires a known-good setup of shared libraries for
13208 # Sun compiler versions before 5.6, else PIC objects from an old
13209 # archive will be linked into the output, leading to subtle bugs.
13210 if test "$solaris_use_stlport4" != yes; then
13211 postdeps_CXX
='-library=Cstd -library=Crun'
13219 case " $postdeps_CXX " in
13220 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13222 compiler_lib_search_dirs_CXX
=
13223 if test -n "${compiler_lib_search_path_CXX}"; then
13224 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13257 lt_prog_compiler_wl_CXX
=
13258 lt_prog_compiler_pic_CXX
=
13259 lt_prog_compiler_static_CXX
=
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13262 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13264 # C++ specific cases for pic, static, wl, etc.
13265 if test "$GXX" = yes; then
13266 lt_prog_compiler_wl_CXX
='-Wl,'
13267 lt_prog_compiler_static_CXX
='-static'
13271 # All AIX code is PIC.
13272 if test "$host_cpu" = ia64
; then
13273 # AIX 5 now supports IA64 processor
13274 lt_prog_compiler_static_CXX
='-Bstatic'
13276 lt_prog_compiler_pic_CXX
='-fPIC'
13282 # see comment about AmigaOS4 .so support
13283 lt_prog_compiler_pic_CXX
='-fPIC'
13286 # FIXME: we need at least 68020 code to build shared libraries, but
13287 # adding the `-m68020' flag to GCC prevents building anything better,
13289 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13294 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13295 # PIC is the default for these OSes.
13297 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13298 # This hack is so that the source file can tell whether it is being
13299 # built for inclusion in a dll (and should export symbols for example).
13300 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13301 # (--disable-auto-import) libraries
13302 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13304 darwin
* | rhapsody
*)
13305 # PIC is the default on this platform
13306 # Common symbols not allowed in MH_DYLIB files
13307 lt_prog_compiler_pic_CXX
='-fno-common'
13310 # DJGPP does not support shared libraries at all
13311 lt_prog_compiler_pic_CXX
=
13314 # PIC is the default for Haiku.
13315 # The "-static" flag exists, but is broken.
13316 lt_prog_compiler_static_CXX
=
13319 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13320 # Instead, we relocate shared libraries at runtime.
13323 if test -d /usr
/nec
; then
13324 lt_prog_compiler_pic_CXX
=-Kconform_pic
13328 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13329 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13330 # sets the default TLS model and affects inlining.
13335 lt_prog_compiler_pic_CXX
='-fPIC'
13340 # QNX uses GNU C++, but need to define -shared option too, otherwise
13341 # it will coredump.
13342 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13345 lt_prog_compiler_pic_CXX
='-fPIC'
13351 # All AIX code is PIC.
13352 if test "$host_cpu" = ia64
; then
13353 # AIX 5 now supports IA64 processor
13354 lt_prog_compiler_static_CXX
='-Bstatic'
13356 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13360 case $cc_basename in
13362 # Green Hills C++ Compiler
13363 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13368 case $cc_basename in
13370 lt_prog_compiler_pic_CXX
='-KPIC'
13373 # Green Hills C++ Compiler
13374 lt_prog_compiler_pic_CXX
='-pic'
13380 freebsd
* | dragonfly
*)
13381 # FreeBSD uses GNU C++
13383 hpux9
* | hpux10
* | hpux11
*)
13384 case $cc_basename in
13386 lt_prog_compiler_wl_CXX
='-Wl,'
13387 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13388 if test "$host_cpu" != ia64
; then
13389 lt_prog_compiler_pic_CXX
='+Z'
13393 lt_prog_compiler_wl_CXX
='-Wl,'
13394 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13400 lt_prog_compiler_pic_CXX
='+Z'
13409 # This is c89, which is MS Visual C++ (no shared libs)
13410 # Anyone wants to do a port?
13412 irix5
* | irix6
* | nonstopux
*)
13413 case $cc_basename in
13415 lt_prog_compiler_wl_CXX
='-Wl,'
13416 lt_prog_compiler_static_CXX
='-non_shared'
13417 # CC pic flag -KPIC is the default.
13423 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13424 case $cc_basename in
13427 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13428 lt_prog_compiler_pic_CXX
='-fPIC'
13431 # old Intel C++ for x86_64 which still supported -KPIC.
13432 lt_prog_compiler_wl_CXX
='-Wl,'
13433 lt_prog_compiler_pic_CXX
='-KPIC'
13434 lt_prog_compiler_static_CXX
='-static'
13437 # Intel C++, used to be incompatible with GCC.
13438 # ICC 10 doesn't accept -KPIC any more.
13439 lt_prog_compiler_wl_CXX
='-Wl,'
13440 lt_prog_compiler_pic_CXX
='-fPIC'
13441 lt_prog_compiler_static_CXX
='-static'
13444 # Portland Group C++ compiler
13445 lt_prog_compiler_wl_CXX
='-Wl,'
13446 lt_prog_compiler_pic_CXX
='-fpic'
13447 lt_prog_compiler_static_CXX
='-Bstatic'
13451 # Make sure the PIC flag is empty. It appears that all Alpha
13452 # Linux and Compaq Tru64 Unix objects are PIC.
13453 lt_prog_compiler_pic_CXX
=
13454 lt_prog_compiler_static_CXX
='-non_shared'
13456 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13457 # IBM XL 8.0, 9.0 on PPC and BlueGene
13458 lt_prog_compiler_wl_CXX
='-Wl,'
13459 lt_prog_compiler_pic_CXX
='-qpic'
13460 lt_prog_compiler_static_CXX
='-qstaticlink'
13463 case `$CC -V 2>&1 | sed 5q` in
13466 lt_prog_compiler_pic_CXX
='-KPIC'
13467 lt_prog_compiler_static_CXX
='-Bstatic'
13468 lt_prog_compiler_wl_CXX
='-Qoption ld '
13479 case $cc_basename in
13481 lt_prog_compiler_pic_CXX
='-W c,exportall'
13490 # QNX uses GNU C++, but need to define -shared option too, otherwise
13491 # it will coredump.
13492 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13494 osf3
* | osf4
* | osf5
*)
13495 case $cc_basename in
13497 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13500 # Rational C++ 2.4.1
13501 lt_prog_compiler_pic_CXX
='-pic'
13504 # Digital/Compaq C++
13505 lt_prog_compiler_wl_CXX
='-Wl,'
13506 # Make sure the PIC flag is empty. It appears that all Alpha
13507 # Linux and Compaq Tru64 Unix objects are PIC.
13508 lt_prog_compiler_pic_CXX
=
13509 lt_prog_compiler_static_CXX
='-non_shared'
13518 case $cc_basename in
13520 # Sun C++ 4.2, 5.x and Centerline C++
13521 lt_prog_compiler_pic_CXX
='-KPIC'
13522 lt_prog_compiler_static_CXX
='-Bstatic'
13523 lt_prog_compiler_wl_CXX
='-Qoption ld '
13526 # Green Hills C++ Compiler
13527 lt_prog_compiler_pic_CXX
='-PIC'
13534 case $cc_basename in
13537 lt_prog_compiler_pic_CXX
='-pic'
13538 lt_prog_compiler_static_CXX
='-Bstatic'
13542 lt_prog_compiler_pic_CXX
='-pic'
13548 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13549 case $cc_basename in
13551 lt_prog_compiler_wl_CXX
='-Wl,'
13552 lt_prog_compiler_pic_CXX
='-KPIC'
13553 lt_prog_compiler_static_CXX
='-Bstatic'
13558 case $cc_basename in
13560 # NonStop-UX NCC 3.20
13561 lt_prog_compiler_pic_CXX
='-KPIC'
13570 lt_prog_compiler_can_build_shared_CXX
=no
13576 # For platforms which do not support PIC, -DPIC is meaningless:
13578 lt_prog_compiler_pic_CXX
=
13581 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13585 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13590 # Check to make sure the PIC flag actually works.
13592 if test -n "$lt_prog_compiler_pic_CXX"; then
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13594 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13595 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13596 $as_echo_n "(cached) " >&6
13598 lt_cv_prog_compiler_pic_works_CXX
=no
13599 ac_outfile
=conftest.
$ac_objext
13600 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13601 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13602 # Insert the option either (1) after the last *FLAGS variable, or
13603 # (2) before a word containing "conftest.", or (3) at the end.
13604 # Note that $ac_compile itself does not contain backslashes and begins
13605 # with a dollar sign (not a hyphen), so the echo should work correctly.
13606 # The option is referenced via a variable to avoid confusing sed.
13607 lt_compile
=`echo "$ac_compile" | $SED \
13608 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13609 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13610 -e 's:$: $lt_compiler_flag:'`
13611 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13612 (eval "$lt_compile" 2>conftest.err
)
13614 cat conftest.err
>&5
13615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13616 if (exit $ac_status) && test -s "$ac_outfile"; then
13617 # The compiler can only warn and ignore the option if not recognized
13618 # So say no if there are warnings other than the usual output.
13619 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13620 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13621 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13622 lt_cv_prog_compiler_pic_works_CXX
=yes
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13629 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13631 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13632 case $lt_prog_compiler_pic_CXX in
13634 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13637 lt_prog_compiler_pic_CXX
=
13638 lt_prog_compiler_can_build_shared_CXX
=no
13646 # Check to make sure the static flag actually works.
13648 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13650 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13651 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13652 $as_echo_n "(cached) " >&6
13654 lt_cv_prog_compiler_static_works_CXX
=no
13655 save_LDFLAGS
="$LDFLAGS"
13656 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13657 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13658 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13659 # The linker can only warn and ignore the option if not recognized
13660 # So say no if there are warnings
13661 if test -s conftest.err
; then
13662 # Append any errors to the config.log.
13663 cat conftest.err
1>&5
13664 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13665 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13666 if diff conftest.exp conftest.er2
>/dev
/null
; then
13667 lt_cv_prog_compiler_static_works_CXX
=yes
13670 lt_cv_prog_compiler_static_works_CXX
=yes
13674 LDFLAGS
="$save_LDFLAGS"
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13678 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13680 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13683 lt_prog_compiler_static_CXX
=
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13690 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13691 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13692 $as_echo_n "(cached) " >&6
13694 lt_cv_prog_compiler_c_o_CXX
=no
13695 $RM -r conftest
2>/dev
/null
13699 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13701 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13702 # Insert the option either (1) after the last *FLAGS variable, or
13703 # (2) before a word containing "conftest.", or (3) at the end.
13704 # Note that $ac_compile itself does not contain backslashes and begins
13705 # with a dollar sign (not a hyphen), so the echo should work correctly.
13706 lt_compile
=`echo "$ac_compile" | $SED \
13707 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13708 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13709 -e 's:$: $lt_compiler_flag:'`
13710 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13711 (eval "$lt_compile" 2>out
/conftest.err
)
13713 cat out
/conftest.err
>&5
13714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13715 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13717 # The compiler can only warn and ignore the option if not recognized
13718 # So say no if there are warnings
13719 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13720 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13721 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13722 lt_cv_prog_compiler_c_o_CXX
=yes
13727 # SGI C++ compiler will create directory out/ii_files/ for
13728 # template instantiation
13729 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13730 $RM out
/* && rmdir out
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13737 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13742 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13743 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13744 $as_echo_n "(cached) " >&6
13746 lt_cv_prog_compiler_c_o_CXX
=no
13747 $RM -r conftest
2>/dev
/null
13751 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13753 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13754 # Insert the option either (1) after the last *FLAGS variable, or
13755 # (2) before a word containing "conftest.", or (3) at the end.
13756 # Note that $ac_compile itself does not contain backslashes and begins
13757 # with a dollar sign (not a hyphen), so the echo should work correctly.
13758 lt_compile
=`echo "$ac_compile" | $SED \
13759 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13760 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13761 -e 's:$: $lt_compiler_flag:'`
13762 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13763 (eval "$lt_compile" 2>out
/conftest.err
)
13765 cat out
/conftest.err
>&5
13766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13769 # The compiler can only warn and ignore the option if not recognized
13770 # So say no if there are warnings
13771 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13772 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13773 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13774 lt_cv_prog_compiler_c_o_CXX
=yes
13779 # SGI C++ compiler will create directory out/ii_files/ for
13780 # template instantiation
13781 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13782 $RM out
/* && rmdir out
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13789 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13794 hard_links
="nottested"
13795 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13796 # do not overwrite the value of need_locks provided by the user
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13798 $as_echo_n "checking if we can lock with hard links... " >&6; }
13801 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13803 ln conftest.a conftest.b
2>&5 || hard_links
=no
13804 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13806 $as_echo "$hard_links" >&6; }
13807 if test "$hard_links" = no
; then
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13809 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13819 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13821 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13824 # If we're using GNU nm, then we don't want the "-C" option.
13825 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13826 # Also, AIX nm treats weak defined symbols like other global defined
13827 # symbols, whereas GNU nm marks them as "W".
13828 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13829 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13831 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13835 export_symbols_cmds_CXX
="$ltdll_cmds"
13837 cygwin
* | mingw
* | cegcc
*)
13838 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
13841 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13844 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13847 $as_echo "$ld_shlibs_CXX" >&6; }
13848 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13850 with_gnu_ld_CXX
=$with_gnu_ld
13858 # Do we need to explicitly link libc?
13860 case "x$archive_cmds_need_lc_CXX" in
13862 # Assume -lc should be added
13863 archive_cmds_need_lc_CXX
=yes
13865 if test "$enable_shared" = yes && test "$GCC" = yes; then
13866 case $archive_cmds_CXX in
13868 # FIXME: we may have to deal with multi-command sequences.
13871 # Test whether the compiler implicitly links with -lc since on some
13872 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13873 # to ld, don't add -lc before -lgcc.
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13875 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13876 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13877 $as_echo_n "(cached) " >&6
13880 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13882 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13883 (eval $ac_compile) 2>&5
13885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13886 test $ac_status = 0; } 2>conftest.err
; then
13889 libobjs
=conftest.
$ac_objext
13891 wl
=$lt_prog_compiler_wl_CXX
13892 pic_flag
=$lt_prog_compiler_pic_CXX
13898 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13899 allow_undefined_flag_CXX
=
13900 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13901 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13904 test $ac_status = 0; }
13906 lt_cv_archive_cmds_need_lc_CXX
=no
13908 lt_cv_archive_cmds_need_lc_CXX
=yes
13910 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13912 cat conftest.err
1>&5
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
13918 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
13919 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13990 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13992 library_names_spec
=
13993 libname_spec
='lib$name'
13997 postuninstall_cmds
=
14001 shlibpath_overrides_runpath
=unknown
14003 dynamic_linker
="$host_os ld.so"
14004 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14005 need_lib_prefix
=unknown
14006 hardcode_into_libs
=no
14008 # when you set need_version to no, make sure it does not cause -set_version
14009 # flags to be left without arguments
14010 need_version
=unknown
14015 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14016 shlibpath_var
=LIBPATH
14018 # AIX 3 has no versioning support, so we append a major version to the name.
14019 soname_spec
='${libname}${release}${shared_ext}$major'
14026 hardcode_into_libs
=yes
14027 if test "$host_cpu" = ia64
; then
14028 # AIX 5 supports IA64
14029 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14030 shlibpath_var
=LD_LIBRARY_PATH
14032 # With GCC up to 2.95.x, collect2 would create an import file
14033 # for dependence libraries. The import file would start with
14034 # the line `#! .'. This would cause the generated library to
14035 # depend on `.', always an invalid library. This was fixed in
14036 # development snapshots of GCC prior to 3.0.
14038 aix4 | aix4.
[01] | aix4.
[01].
*)
14039 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14041 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14044 can_build_shared
=no
14048 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14049 # soname into executable. Probably we can add versioning support to
14050 # collect2, so additional links can be useful in future.
14051 if test "$aix_use_runtimelinking" = yes; then
14052 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14053 # instead of lib<name>.a to let people know that these are not
14054 # typical AIX shared libraries.
14055 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14057 # We preserve .a as extension for shared libraries through AIX4.2
14058 # and later when we are not doing run time linking.
14059 library_names_spec
='${libname}${release}.a $libname.a'
14060 soname_spec
='${libname}${release}${shared_ext}$major'
14062 shlibpath_var
=LIBPATH
14069 # Since July 2007 AmigaOS4 officially supports .so libraries.
14070 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14071 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14074 library_names_spec
='$libname.ixlibrary $libname.a'
14075 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14076 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'
14082 library_names_spec
='${libname}${shared_ext}'
14083 dynamic_linker
="$host_os ld.so"
14084 shlibpath_var
=LIBRARY_PATH
14090 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14091 soname_spec
='${libname}${release}${shared_ext}$major'
14092 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14093 shlibpath_var
=LD_LIBRARY_PATH
14094 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14095 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14096 # the default ld.so.conf also contains /usr/contrib/lib and
14097 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14098 # libtool to hard-code these into programs
14101 cygwin
* | mingw
* | pw32
* | cegcc
*)
14102 version_type
=windows
14107 case $GCC,$host_os in
14108 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14109 library_names_spec
='$libname.dll.a'
14110 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14111 postinstall_cmds
='base_file=`basename \${file}`~
14112 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14113 dldir=$destdir/`dirname \$dlpath`~
14114 test -d \$dldir || mkdir -p \$dldir~
14115 $install_prog $dir/$dlname \$dldir/$dlname~
14116 chmod a+x \$dldir/$dlname~
14117 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14118 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14120 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14121 dlpath=$dir/\$dldll~
14123 shlibpath_overrides_runpath
=yes
14127 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14128 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14132 # MinGW DLLs use traditional 'lib' prefix
14133 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14136 # pw32 DLLs use 'pw' prefix rather than 'lib'
14137 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14143 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14146 dynamic_linker
='Win32 ld.exe'
14147 # FIXME: first we should search . and the directory the executable is in
14151 darwin
* | rhapsody
*)
14152 dynamic_linker
="$host_os dyld"
14153 version_type
=darwin
14156 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14157 soname_spec
='${libname}${release}${major}$shared_ext'
14158 shlibpath_overrides_runpath
=yes
14159 shlibpath_var
=DYLD_LIBRARY_PATH
14160 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14162 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14169 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14170 soname_spec
='${libname}${release}${shared_ext}$major'
14171 shlibpath_var
=LD_LIBRARY_PATH
14174 freebsd
* | dragonfly
*)
14175 # DragonFly does not have aout. When/if they implement a new
14176 # versioning mechanism, adjust this.
14177 if test -x /usr
/bin
/objformat
; then
14178 objformat
=`/usr/bin/objformat`
14181 freebsd
[23].
*) objformat
=aout
;;
14182 *) objformat
=elf
;;
14185 version_type
=freebsd-
$objformat
14186 case $version_type in
14188 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14193 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14197 shlibpath_var
=LD_LIBRARY_PATH
14200 shlibpath_overrides_runpath
=yes
14202 freebsd3.
[01]* | freebsdelf3.
[01]*)
14203 shlibpath_overrides_runpath
=yes
14204 hardcode_into_libs
=yes
14206 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14207 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14208 shlibpath_overrides_runpath
=no
14209 hardcode_into_libs
=yes
14211 *) # from 4.6 on, and DragonFly
14212 shlibpath_overrides_runpath
=yes
14213 hardcode_into_libs
=yes
14222 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14223 soname_spec
='${libname}${release}${shared_ext}$major'
14224 shlibpath_var
=LD_LIBRARY_PATH
14225 hardcode_into_libs
=yes
14232 dynamic_linker
="$host_os runtime_loader"
14233 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14234 soname_spec
='${libname}${release}${shared_ext}$major'
14235 shlibpath_var
=LIBRARY_PATH
14236 shlibpath_overrides_runpath
=yes
14237 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14238 hardcode_into_libs
=yes
14241 hpux9
* | hpux10
* | hpux11
*)
14242 # Give a soname corresponding to the major version so that dld.sl refuses to
14243 # link against other versions.
14250 hardcode_into_libs
=yes
14251 dynamic_linker
="$host_os dld.so"
14252 shlibpath_var
=LD_LIBRARY_PATH
14253 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14254 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14255 soname_spec
='${libname}${release}${shared_ext}$major'
14256 if test "X$HPUX_IA64_MODE" = X32
; then
14257 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14259 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14261 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14265 hardcode_into_libs
=yes
14266 dynamic_linker
="$host_os dld.sl"
14267 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14268 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14269 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14270 soname_spec
='${libname}${release}${shared_ext}$major'
14271 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14272 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14276 dynamic_linker
="$host_os dld.sl"
14277 shlibpath_var
=SHLIB_PATH
14278 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14279 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14280 soname_spec
='${libname}${release}${shared_ext}$major'
14283 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14284 postinstall_cmds
='chmod 555 $lib'
14285 # or fails outright, so override atomically:
14286 install_override_mode
=555
14293 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14294 soname_spec
='${libname}${release}${shared_ext}$major'
14295 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14296 shlibpath_var
=LD_LIBRARY_PATH
14297 shlibpath_overrides_runpath
=no
14298 hardcode_into_libs
=yes
14301 irix5
* | irix6
* | nonstopux
*)
14303 nonstopux
*) version_type
=nonstopux
;;
14305 if test "$lt_cv_prog_gnu_ld" = yes; then
14313 soname_spec
='${libname}${release}${shared_ext}$major'
14314 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14316 irix5
* | nonstopux
*)
14317 libsuff
= shlibsuff
=
14320 case $LD in # libtool.m4 will add one of these switches to LD
14321 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14322 libsuff
= shlibsuff
= libmagic
=32-bit;;
14323 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14324 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14325 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14326 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14327 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14331 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14332 shlibpath_overrides_runpath
=no
14333 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14334 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14335 hardcode_into_libs
=yes
14338 # No shared lib support for Linux oldld, aout, or coff.
14339 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14343 # This must be Linux ELF.
14344 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14348 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14349 soname_spec
='${libname}${release}${shared_ext}$major'
14350 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14351 shlibpath_var
=LD_LIBRARY_PATH
14352 shlibpath_overrides_runpath
=no
14354 # Some binutils ld are patched to set DT_RUNPATH
14355 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14356 $as_echo_n "(cached) " >&6
14358 lt_cv_shlibpath_overrides_runpath
=no
14359 save_LDFLAGS
=$LDFLAGS
14360 save_libdir
=$libdir
14361 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14362 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14364 /* end confdefs.h. */
14374 if ac_fn_cxx_try_link
"$LINENO"; then :
14375 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14376 lt_cv_shlibpath_overrides_runpath
=yes
14379 rm -f core conftest.err conftest.
$ac_objext \
14380 conftest
$ac_exeext conftest.
$ac_ext
14381 LDFLAGS
=$save_LDFLAGS
14382 libdir
=$save_libdir
14386 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14388 # This implies no fast_install, which is unacceptable.
14389 # Some rework will be needed to allow for fast_install
14390 # before this can be enabled.
14391 hardcode_into_libs
=yes
14393 # Append ld.so.conf contents to the search path
14394 if test -f /etc
/ld.so.conf
; then
14395 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' ' '`
14396 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14399 # We used to test for /lib/ld.so.1 and disable shared libraries on
14400 # powerpc, because MkLinux only supported shared libraries with the
14401 # GNU dynamic linker. Since this was broken with cross compilers,
14402 # most powerpc-linux boxes support dynamic linking these days and
14403 # people can always --disable-shared, the test was removed, and we
14404 # assume the GNU/Linux dynamic linker is in use.
14405 dynamic_linker
='GNU/Linux ld.so'
14412 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14413 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14414 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14415 dynamic_linker
='NetBSD (a.out) ld.so'
14417 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14418 soname_spec
='${libname}${release}${shared_ext}$major'
14419 dynamic_linker
='NetBSD ld.elf_so'
14421 shlibpath_var
=LD_LIBRARY_PATH
14422 shlibpath_overrides_runpath
=yes
14423 hardcode_into_libs
=yes
14428 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14429 shlibpath_var
=LD_LIBRARY_PATH
14430 shlibpath_overrides_runpath
=yes
14437 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14438 soname_spec
='${libname}${release}${shared_ext}$major'
14439 shlibpath_var
=LD_LIBRARY_PATH
14440 shlibpath_overrides_runpath
=no
14441 hardcode_into_libs
=yes
14442 dynamic_linker
='ldqnx.so'
14447 sys_lib_dlsearch_path_spec
="/usr/lib"
14449 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14451 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14452 *) need_version
=no
;;
14454 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14455 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14456 shlibpath_var
=LD_LIBRARY_PATH
14457 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14459 openbsd2.
[89] | openbsd2.
[89].
*)
14460 shlibpath_overrides_runpath
=no
14463 shlibpath_overrides_runpath
=yes
14467 shlibpath_overrides_runpath
=yes
14472 libname_spec
='$name'
14475 library_names_spec
='$libname${shared_ext} $libname.a'
14476 dynamic_linker
='OS/2 ld.exe'
14477 shlibpath_var
=LIBPATH
14480 osf3
* | osf4
* | osf5
*)
14484 soname_spec
='${libname}${release}${shared_ext}$major'
14485 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14486 shlibpath_var
=LD_LIBRARY_PATH
14487 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14488 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14499 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14500 soname_spec
='${libname}${release}${shared_ext}$major'
14501 shlibpath_var
=LD_LIBRARY_PATH
14502 shlibpath_overrides_runpath
=yes
14503 hardcode_into_libs
=yes
14504 # ldd complains unless libraries are executable
14505 postinstall_cmds
='chmod +x $lib'
14510 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14511 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14512 shlibpath_var
=LD_LIBRARY_PATH
14513 shlibpath_overrides_runpath
=yes
14514 if test "$with_gnu_ld" = yes; then
14522 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14523 soname_spec
='${libname}${release}${shared_ext}$major'
14524 shlibpath_var
=LD_LIBRARY_PATH
14525 case $host_vendor in
14527 shlibpath_overrides_runpath
=no
14529 runpath_var
=LD_RUN_PATH
14537 shlibpath_overrides_runpath
=no
14538 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14544 if test -d /usr
/nec
;then
14546 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14547 soname_spec
='$libname${shared_ext}.$major'
14548 shlibpath_var
=LD_LIBRARY_PATH
14552 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14553 version_type
=freebsd-elf
14556 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14557 soname_spec
='${libname}${release}${shared_ext}$major'
14558 shlibpath_var
=LD_LIBRARY_PATH
14559 shlibpath_overrides_runpath
=yes
14560 hardcode_into_libs
=yes
14561 if test "$with_gnu_ld" = yes; then
14562 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14564 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14567 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14571 sys_lib_dlsearch_path_spec
='/usr/lib'
14575 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14579 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14580 shlibpath_var
=LD_LIBRARY_PATH
14581 shlibpath_overrides_runpath
=no
14582 hardcode_into_libs
=yes
14587 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14588 soname_spec
='${libname}${release}${shared_ext}$major'
14589 shlibpath_var
=LD_LIBRARY_PATH
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14597 $as_echo "$dynamic_linker" >&6; }
14598 test "$dynamic_linker" = no
&& can_build_shared
=no
14600 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14601 if test "$GCC" = yes; then
14602 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14605 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14606 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14608 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14609 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14650 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14651 hardcode_action_CXX
=
14652 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14653 test -n "$runpath_var_CXX" ||
14654 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14656 # We can hardcode non-existent directories.
14657 if test "$hardcode_direct_CXX" != no
&&
14658 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14659 # have to relink, otherwise we might link with an installed library
14660 # when we should be linking with a yet-to-be-installed one
14661 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14662 test "$hardcode_minus_L_CXX" != no
; then
14663 # Linking always hardcodes the temporary library directory.
14664 hardcode_action_CXX
=relink
14666 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14667 hardcode_action_CXX
=immediate
14670 # We cannot hardcode anything, or else we can only hardcode existing
14672 hardcode_action_CXX
=unsupported
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14675 $as_echo "$hardcode_action_CXX" >&6; }
14677 if test "$hardcode_action_CXX" = relink ||
14678 test "$inherit_rpath_CXX" = yes; then
14679 # Fast installation is not supported
14680 enable_fast_install
=no
14681 elif test "$shlibpath_overrides_runpath" = yes ||
14682 test "$enable_shared" = no
; then
14683 # Fast installation is not necessary
14684 enable_fast_install
=needless
14693 fi # test -n "$compiler"
14699 with_gnu_ld
=$lt_save_with_gnu_ld
14700 lt_cv_path_LDCXX
=$lt_cv_path_LD
14701 lt_cv_path_LD
=$lt_save_path_LD
14702 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14703 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14704 fi # test "$_lt_caught_CXX_error" != yes
14707 ac_cpp
='$CPP $CPPFLAGS'
14708 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14709 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14710 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14724 ac_config_commands
="$ac_config_commands libtool"
14729 # Only expand once:
14733 # Test for 64-bit build.
14734 # The cast to long int works around a bug in the HP C Compiler
14735 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14736 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14737 # This bug is HP SR number 8606223364.
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
14739 $as_echo_n "checking size of size_t... " >&6; }
14740 if test "${ac_cv_sizeof_size_t+set}" = set; then :
14741 $as_echo_n "(cached) " >&6
14743 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
14746 if test "$ac_cv_type_size_t" = yes; then
14747 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14748 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14749 { as_fn_set_status
77
14750 as_fn_error
"cannot compute sizeof (size_t)
14751 See \`config.log' for more details." "$LINENO" 5; }; }
14753 ac_cv_sizeof_size_t
=0
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
14759 $as_echo "$ac_cv_sizeof_size_t" >&6; }
14763 cat >>confdefs.h
<<_ACEOF
14764 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
14771 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
14772 # Check whether --enable-maintainer-mode was given.
14773 if test "${enable_maintainer_mode+set}" = set; then :
14774 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
14776 USE_MAINTAINER_MODE
=no
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
14780 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14781 if test $USE_MAINTAINER_MODE = yes; then
14782 MAINTAINER_MODE_TRUE
=
14783 MAINTAINER_MODE_FALSE
='#'
14785 MAINTAINER_MODE_TRUE
='#'
14786 MAINTAINER_MODE_FALSE
=
14789 MAINT
=$MAINTAINER_MODE_TRUE
14793 for ac_header
in sys
/mman.h
14795 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
14796 if test "x$ac_cv_header_sys_mman_h" = x
""yes; then :
14797 cat >>confdefs.h
<<_ACEOF
14798 #define HAVE_SYS_MMAN_H 1
14805 for ac_func
in mmap mkostemp
14807 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14808 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14809 eval as_val
=\$
$as_ac_var
14810 if test "x$as_val" = x
""yes; then :
14811 cat >>confdefs.h
<<_ACEOF
14812 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14819 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
14820 if test "x$ac_cv_header_sys_mman_h" = x
""yes; then :
14821 libffi_header_sys_mman_h
=yes
14823 libffi_header_sys_mman_h
=no
14827 ac_fn_c_check_func
"$LINENO" "mmap" "ac_cv_func_mmap"
14828 if test "x$ac_cv_func_mmap" = x
""yes; then :
14829 libffi_func_mmap
=yes
14831 libffi_func_mmap
=no
14834 if test "$libffi_header_sys_mman_h" != yes \
14835 ||
test "$libffi_func_mmap" != yes; then
14836 ac_cv_func_mmap_file
=no
14837 ac_cv_func_mmap_dev_zero
=no
14838 ac_cv_func_mmap_anon
=no
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether read-only mmap of a plain file works" >&5
14841 $as_echo_n "checking whether read-only mmap of a plain file works... " >&6; }
14842 if test "${ac_cv_func_mmap_file+set}" = set; then :
14843 $as_echo_n "(cached) " >&6
14845 # Add a system to this blacklist if
14846 # mmap(0, stat_size, PROT_READ, MAP_PRIVATE, fd, 0) doesn't return a
14847 # memory area containing the same data that you'd get if you applied
14848 # read() to the same fd. The only system known to have a problem here
14849 # is VMS, where text files have record structure.
14852 ac_cv_func_mmap_file
=no
;;
14854 ac_cv_func_mmap_file
=yes;;
14857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_file" >&5
14858 $as_echo "$ac_cv_func_mmap_file" >&6; }
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mmap from /dev/zero works" >&5
14860 $as_echo_n "checking whether mmap from /dev/zero works... " >&6; }
14861 if test "${ac_cv_func_mmap_dev_zero+set}" = set; then :
14862 $as_echo_n "(cached) " >&6
14864 # Add a system to this blacklist if it has mmap() but /dev/zero
14865 # does not exist, or if mmapping /dev/zero does not give anonymous
14866 # zeroed pages with both the following properties:
14867 # 1. If you map N consecutive pages in with one call, and then
14868 # unmap any subset of those pages, the pages that were not
14869 # explicitly unmapped remain accessible.
14870 # 2. If you map two adjacent blocks of memory and then unmap them
14871 # both at once, they must both go away.
14872 # Systems known to be in this category are Windows (all variants),
14875 vms
* | cygwin
* | pe | mingw
* | darwin
* | ultrix
* | hpux10
* | hpux11.00
)
14876 ac_cv_func_mmap_dev_zero
=no
;;
14878 ac_cv_func_mmap_dev_zero
=yes;;
14881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_dev_zero" >&5
14882 $as_echo "$ac_cv_func_mmap_dev_zero" >&6; }
14884 # Unlike /dev/zero, the MAP_ANON(YMOUS) defines can be probed for.
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANON(YMOUS)" >&5
14886 $as_echo_n "checking for MAP_ANON(YMOUS)... " >&6; }
14887 if test "${ac_cv_decl_map_anon+set}" = set; then :
14888 $as_echo_n "(cached) " >&6
14890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14891 /* end confdefs.h. */
14892 #include <sys/types.h>
14893 #include <sys/mman.h>
14894 #include <unistd.h>
14896 #ifndef MAP_ANONYMOUS
14897 #define MAP_ANONYMOUS MAP_ANON
14903 int n = MAP_ANONYMOUS;
14908 if ac_fn_c_try_compile
"$LINENO"; then :
14909 ac_cv_decl_map_anon
=yes
14911 ac_cv_decl_map_anon
=no
14913 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_decl_map_anon" >&5
14916 $as_echo "$ac_cv_decl_map_anon" >&6; }
14918 if test $ac_cv_decl_map_anon = no
; then
14919 ac_cv_func_mmap_anon
=no
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mmap with MAP_ANON(YMOUS) works" >&5
14922 $as_echo_n "checking whether mmap with MAP_ANON(YMOUS) works... " >&6; }
14923 if test "${ac_cv_func_mmap_anon+set}" = set; then :
14924 $as_echo_n "(cached) " >&6
14926 # Add a system to this blacklist if it has mmap() and MAP_ANON or
14927 # MAP_ANONYMOUS, but using mmap(..., MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
14928 # doesn't give anonymous zeroed pages with the same properties listed
14929 # above for use of /dev/zero.
14930 # Systems known to be in this category are Windows, VMS, and SCO Unix.
14932 vms
* | cygwin
* | pe | mingw
* | sco
* | udk
* )
14933 ac_cv_func_mmap_anon
=no
;;
14935 ac_cv_func_mmap_anon
=yes;;
14938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_anon" >&5
14939 $as_echo "$ac_cv_func_mmap_anon" >&6; }
14943 if test $ac_cv_func_mmap_file = yes; then
14945 $as_echo "#define HAVE_MMAP_FILE 1" >>confdefs.h
14948 if test $ac_cv_func_mmap_dev_zero = yes; then
14950 $as_echo "#define HAVE_MMAP_DEV_ZERO 1" >>confdefs.h
14953 if test $ac_cv_func_mmap_anon = yes; then
14955 $as_echo "#define HAVE_MMAP_ANON 1" >>confdefs.h
14960 if test -d $srcdir/testsuite
; then
14962 TESTSUBDIR_FALSE
='#'
14964 TESTSUBDIR_TRUE
='#'
14969 TARGETDIR
="unknown"
14970 HAVE_LONG_DOUBLE_VARIANT
=0
14972 .
${srcdir}/configure.
host
14974 if test -n "${UNSUPPORTED}"; then
14975 as_fn_error
"\"libffi has not been ported to $host.\"" "$LINENO" 5
14981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14982 $as_echo_n "checking for ANSI C header files... " >&6; }
14983 if test "${ac_cv_header_stdc+set}" = set; then :
14984 $as_echo_n "(cached) " >&6
14986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14987 /* end confdefs.h. */
14988 #include <stdlib.h>
14989 #include <stdarg.h>
14990 #include <string.h>
15001 if ac_fn_c_try_compile
"$LINENO"; then :
15002 ac_cv_header_stdc
=yes
15004 ac_cv_header_stdc
=no
15006 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15008 if test $ac_cv_header_stdc = yes; then
15009 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15011 /* end confdefs.h. */
15012 #include <string.h>
15015 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15016 $EGREP "memchr" >/dev
/null
2>&1; then :
15019 ac_cv_header_stdc
=no
15025 if test $ac_cv_header_stdc = yes; then
15026 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15028 /* end confdefs.h. */
15029 #include <stdlib.h>
15032 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15033 $EGREP "free" >/dev
/null
2>&1; then :
15036 ac_cv_header_stdc
=no
15042 if test $ac_cv_header_stdc = yes; then
15043 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15044 if test "$cross_compiling" = yes; then :
15047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15048 /* end confdefs.h. */
15050 #include <stdlib.h>
15051 #if ((' ' & 0x0FF) == 0x020)
15052 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15053 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15055 # define ISLOWER(c) \
15056 (('a' <= (c) && (c) <= 'i') \
15057 || ('j' <= (c) && (c) <= 'r') \
15058 || ('s' <= (c) && (c) <= 'z'))
15059 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15062 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15067 for (i = 0; i < 256; i++)
15068 if (XOR (islower (i), ISLOWER (i))
15069 || toupper (i) != TOUPPER (i))
15074 if ac_fn_c_try_run
"$LINENO"; then :
15077 ac_cv_header_stdc
=no
15079 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15080 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15086 $as_echo "$ac_cv_header_stdc" >&6; }
15087 if test $ac_cv_header_stdc = yes; then
15089 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
15093 for ac_func
in memcpy
15095 ac_fn_c_check_func
"$LINENO" "memcpy" "ac_cv_func_memcpy"
15096 if test "x$ac_cv_func_memcpy" = x
""yes; then :
15097 cat >>confdefs.h
<<_ACEOF
15098 #define HAVE_MEMCPY 1
15104 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15105 # for constant arguments. Useless!
15106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
15107 $as_echo_n "checking for working alloca.h... " >&6; }
15108 if test "${ac_cv_working_alloca_h+set}" = set; then :
15109 $as_echo_n "(cached) " >&6
15111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15112 /* end confdefs.h. */
15113 #include <alloca.h>
15117 char *p = (char *) alloca (2 * sizeof (int));
15123 if ac_fn_c_try_link
"$LINENO"; then :
15124 ac_cv_working_alloca_h
=yes
15126 ac_cv_working_alloca_h
=no
15128 rm -f core conftest.err conftest.
$ac_objext \
15129 conftest
$ac_exeext conftest.
$ac_ext
15131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
15132 $as_echo "$ac_cv_working_alloca_h" >&6; }
15133 if test $ac_cv_working_alloca_h = yes; then
15135 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
15140 $as_echo_n "checking for alloca... " >&6; }
15141 if test "${ac_cv_func_alloca_works+set}" = set; then :
15142 $as_echo_n "(cached) " >&6
15144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15145 /* end confdefs.h. */
15147 # define alloca __builtin_alloca
15150 # include <malloc.h>
15151 # define alloca _alloca
15153 # ifdef HAVE_ALLOCA_H
15154 # include <alloca.h>
15159 # ifndef alloca /* predefined by HP cc +Olibcalls */
15170 char *p = (char *) alloca (1);
15176 if ac_fn_c_try_link
"$LINENO"; then :
15177 ac_cv_func_alloca_works
=yes
15179 ac_cv_func_alloca_works
=no
15181 rm -f core conftest.err conftest.
$ac_objext \
15182 conftest
$ac_exeext conftest.
$ac_ext
15184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
15185 $as_echo "$ac_cv_func_alloca_works" >&6; }
15187 if test $ac_cv_func_alloca_works = yes; then
15189 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
15192 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15193 # that cause trouble. Some versions do not even contain alloca or
15194 # contain a buggy version. If you still want to use their alloca,
15195 # use ar to extract alloca.o from them instead of compiling alloca.c.
15197 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
15199 $as_echo "#define C_ALLOCA 1" >>confdefs.h
15202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
15203 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
15204 if test "${ac_cv_os_cray+set}" = set; then :
15205 $as_echo_n "(cached) " >&6
15207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15208 /* end confdefs.h. */
15209 #if defined CRAY && ! defined CRAY2
15216 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15217 $EGREP "webecray" >/dev
/null
2>&1; then :
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
15226 $as_echo "$ac_cv_os_cray" >&6; }
15227 if test $ac_cv_os_cray = yes; then
15228 for ac_func
in _getb67 GETB67 getb67
; do
15229 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15230 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15231 eval as_val
=\$
$as_ac_var
15232 if test "x$as_val" = x
""yes; then :
15234 cat >>confdefs.h
<<_ACEOF
15235 #define CRAY_STACKSEG_END $ac_func
15244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
15245 $as_echo_n "checking stack direction for C alloca... " >&6; }
15246 if test "${ac_cv_c_stack_direction+set}" = set; then :
15247 $as_echo_n "(cached) " >&6
15249 if test "$cross_compiling" = yes; then :
15250 ac_cv_c_stack_direction
=0
15252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15253 /* end confdefs.h. */
15254 $ac_includes_default
15256 find_stack_direction ()
15258 static char *addr = 0;
15263 return find_stack_direction ();
15266 return (&dummy > addr) ? 1 : -1;
15272 return find_stack_direction () < 0;
15275 if ac_fn_c_try_run
"$LINENO"; then :
15276 ac_cv_c_stack_direction
=1
15278 ac_cv_c_stack_direction
=-1
15280 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15281 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
15286 $as_echo "$ac_cv_c_stack_direction" >&6; }
15287 cat >>confdefs.h
<<_ACEOF
15288 #define STACK_DIRECTION $ac_cv_c_stack_direction
15295 # The cast to long int works around a bug in the HP C Compiler
15296 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15297 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15298 # This bug is HP SR number 8606223364.
15299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
15300 $as_echo_n "checking size of double... " >&6; }
15301 if test "${ac_cv_sizeof_double+set}" = set; then :
15302 $as_echo_n "(cached) " >&6
15304 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
15307 if test "$ac_cv_type_double" = yes; then
15308 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15310 { as_fn_set_status
77
15311 as_fn_error
"cannot compute sizeof (double)
15312 See \`config.log' for more details." "$LINENO" 5; }; }
15314 ac_cv_sizeof_double
=0
15319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
15320 $as_echo "$ac_cv_sizeof_double" >&6; }
15324 cat >>confdefs.h
<<_ACEOF
15325 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
15329 # The cast to long int works around a bug in the HP C Compiler
15330 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15331 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15332 # This bug is HP SR number 8606223364.
15333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
15334 $as_echo_n "checking size of long double... " >&6; }
15335 if test "${ac_cv_sizeof_long_double+set}" = set; then :
15336 $as_echo_n "(cached) " >&6
15338 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then :
15341 if test "$ac_cv_type_long_double" = yes; then
15342 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15343 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15344 { as_fn_set_status
77
15345 as_fn_error
"cannot compute sizeof (long double)
15346 See \`config.log' for more details." "$LINENO" 5; }; }
15348 ac_cv_sizeof_long_double
=0
15353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
15354 $as_echo "$ac_cv_sizeof_long_double" >&6; }
15358 cat >>confdefs.h
<<_ACEOF
15359 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
15364 # Also AC_SUBST this variable for ffi.h.
15365 if test -z "$HAVE_LONG_DOUBLE"; then
15367 if test $ac_cv_sizeof_long_double != 0; then
15368 if test $HAVE_LONG_DOUBLE_VARIANT != 0; then
15370 $as_echo "#define HAVE_LONG_DOUBLE_VARIANT 1" >>confdefs.h
15374 if test $ac_cv_sizeof_double != $ac_cv_sizeof_long_double; then
15377 $as_echo "#define HAVE_LONG_DOUBLE 1" >>confdefs.h
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
15387 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
15388 if test "${ac_cv_c_bigendian+set}" = set; then :
15389 $as_echo_n "(cached) " >&6
15391 ac_cv_c_bigendian
=unknown
15392 # See if we're dealing with a universal compiler.
15393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15394 /* end confdefs.h. */
15395 #ifndef __APPLE_CC__
15396 not a universal capable compiler
15401 if ac_fn_c_try_compile
"$LINENO"; then :
15403 # Check for potential -arch flags. It is not universal unless
15404 # there are at least two -arch flags with different values.
15407 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
15408 if test -n "$ac_prev"; then
15410 i?
86 | x86_64 | ppc | ppc64
)
15411 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
15414 ac_cv_c_bigendian
=universal
15420 elif test "x$ac_word" = "x-arch"; then
15425 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15426 if test $ac_cv_c_bigendian = unknown
; then
15427 # See if sys/param.h defines the BYTE_ORDER macro.
15428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15429 /* end confdefs.h. */
15430 #include <sys/types.h>
15431 #include <sys/param.h>
15436 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
15437 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
15439 bogus endian macros
15446 if ac_fn_c_try_compile
"$LINENO"; then :
15447 # It does; now see whether it defined to BIG_ENDIAN or not.
15448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15449 /* end confdefs.h. */
15450 #include <sys/types.h>
15451 #include <sys/param.h>
15456 #if BYTE_ORDER != BIG_ENDIAN
15464 if ac_fn_c_try_compile
"$LINENO"; then :
15465 ac_cv_c_bigendian
=yes
15467 ac_cv_c_bigendian
=no
15469 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15471 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15473 if test $ac_cv_c_bigendian = unknown
; then
15474 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
15475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15476 /* end confdefs.h. */
15477 #include <limits.h>
15482 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
15483 bogus endian macros
15490 if ac_fn_c_try_compile
"$LINENO"; then :
15491 # It does; now see whether it defined to _BIG_ENDIAN or not.
15492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15493 /* end confdefs.h. */
15494 #include <limits.h>
15499 #ifndef _BIG_ENDIAN
15507 if ac_fn_c_try_compile
"$LINENO"; then :
15508 ac_cv_c_bigendian
=yes
15510 ac_cv_c_bigendian
=no
15512 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15516 if test $ac_cv_c_bigendian = unknown
; then
15517 # Compile a test program.
15518 if test "$cross_compiling" = yes; then :
15519 # Try to guess by grepping values from an object file.
15520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15521 /* end confdefs.h. */
15522 short int ascii_mm[] =
15523 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
15524 short int ascii_ii[] =
15525 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
15526 int use_ascii (int i) {
15527 return ascii_mm[i] + ascii_ii[i];
15529 short int ebcdic_ii[] =
15530 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
15531 short int ebcdic_mm[] =
15532 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
15533 int use_ebcdic (int i) {
15534 return ebcdic_mm[i] + ebcdic_ii[i];
15541 return use_ascii (foo) == use_ebcdic (foo);
15546 if ac_fn_c_try_compile
"$LINENO"; then :
15547 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
15548 ac_cv_c_bigendian
=yes
15550 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
15551 if test "$ac_cv_c_bigendian" = unknown
; then
15552 ac_cv_c_bigendian
=no
15554 # finding both strings is unlikely to happen, but who knows?
15555 ac_cv_c_bigendian
=unknown
15559 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15562 /* end confdefs.h. */
15563 $ac_includes_default
15568 /* Are we little or big endian? From Harbison&Steele. */
15572 char c[sizeof (long int)];
15575 return u.c[sizeof (long int) - 1] == 1;
15581 if ac_fn_c_try_run
"$LINENO"; then :
15582 ac_cv_c_bigendian
=no
15584 ac_cv_c_bigendian
=yes
15586 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15587 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
15593 $as_echo "$ac_cv_c_bigendian" >&6; }
15594 case $ac_cv_c_bigendian in #(
15596 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
15602 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
15606 as_fn_error
"unknown endianness
15607 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
15611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler .cfi pseudo-op support" >&5
15612 $as_echo_n "checking assembler .cfi pseudo-op support... " >&6; }
15613 if test "${gcc_cv_as_cfi_pseudo_op+set}" = set; then :
15614 $as_echo_n "(cached) " >&6
15617 gcc_cv_as_cfi_pseudo_op
=unknown
15618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15619 /* end confdefs.h. */
15620 asm (".cfi_startproc\n\t.cfi_endproc");
15629 if ac_fn_c_try_compile
"$LINENO"; then :
15630 gcc_cv_as_cfi_pseudo_op
=yes
15632 gcc_cv_as_cfi_pseudo_op
=no
15634 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_cfi_pseudo_op" >&5
15638 $as_echo "$gcc_cv_as_cfi_pseudo_op" >&6; }
15639 if test "x$gcc_cv_as_cfi_pseudo_op" = xyes
; then
15641 $as_echo "#define HAVE_AS_CFI_PSEUDO_OP 1" >>confdefs.h
15648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler and linker support unaligned pc related relocs" >&5
15649 $as_echo_n "checking assembler and linker support unaligned pc related relocs... " >&6; }
15650 if test "${libffi_cv_as_sparc_ua_pcrel+set}" = set; then :
15651 $as_echo_n "(cached) " >&6
15654 save_CFLAGS
="$CFLAGS"
15655 save_LDFLAGS
="$LDFLAGS"
15656 CFLAGS
="$CFLAGS -fpic"
15657 LDFLAGS
="$LDFLAGS -shared"
15658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15659 /* end confdefs.h. */
15660 asm (".text; foo: nop; .data; .align 4; .byte 0; .uaword %r_disp32(foo); .text");
15669 if ac_fn_c_try_link
"$LINENO"; then :
15670 libffi_cv_as_sparc_ua_pcrel
=yes
15672 libffi_cv_as_sparc_ua_pcrel
=no
15674 rm -f core conftest.err conftest.
$ac_objext \
15675 conftest
$ac_exeext conftest.
$ac_ext
15676 CFLAGS
="$save_CFLAGS"
15677 LDFLAGS
="$save_LDFLAGS"
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libffi_cv_as_sparc_ua_pcrel" >&5
15680 $as_echo "$libffi_cv_as_sparc_ua_pcrel" >&6; }
15681 if test "x$libffi_cv_as_sparc_ua_pcrel" = xyes
; then
15683 $as_echo "#define HAVE_AS_SPARC_UA_PCREL 1" >>confdefs.h
15687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler .register pseudo-op support" >&5
15688 $as_echo_n "checking assembler .register pseudo-op support... " >&6; }
15689 if test "${libffi_cv_as_register_pseudo_op+set}" = set; then :
15690 $as_echo_n "(cached) " >&6
15693 libffi_cv_as_register_pseudo_op
=unknown
15694 # Check if we have .register
15695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15696 /* end confdefs.h. */
15701 asm (".register %g2, #scratch");
15706 if ac_fn_c_try_compile
"$LINENO"; then :
15707 libffi_cv_as_register_pseudo_op
=yes
15709 libffi_cv_as_register_pseudo_op
=no
15711 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libffi_cv_as_register_pseudo_op" >&5
15715 $as_echo "$libffi_cv_as_register_pseudo_op" >&6; }
15716 if test "x$libffi_cv_as_register_pseudo_op" = xyes
; then
15718 $as_echo "#define HAVE_AS_REGISTER_PSEUDO_OP 1" >>confdefs.h
15724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports pc related relocs" >&5
15725 $as_echo_n "checking assembler supports pc related relocs... " >&6; }
15726 if test "${libffi_cv_as_x86_pcrel+set}" = set; then :
15727 $as_echo_n "(cached) " >&6
15730 libffi_cv_as_x86_pcrel
=no
15731 echo '.text; foo: nop; .data; .long foo-.; .text' > conftest.s
15732 if $CC $CFLAGS -c conftest.s
> /dev
/null
2>&1; then
15733 libffi_cv_as_x86_pcrel
=yes
15737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libffi_cv_as_x86_pcrel" >&5
15738 $as_echo "$libffi_cv_as_x86_pcrel" >&6; }
15739 if test "x$libffi_cv_as_x86_pcrel" = xyes
; then
15741 $as_echo "#define HAVE_AS_X86_PCREL 1" >>confdefs.h
15747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler uses zarch features" >&5
15748 $as_echo_n "checking compiler uses zarch features... " >&6; }
15749 if test "${libffi_cv_as_s390_zarch+set}" = set; then :
15750 $as_echo_n "(cached) " >&6
15753 libffi_cv_as_s390_zarch
=no
15754 echo 'void foo(void) { bar(); bar(); }' > conftest.c
15755 if $CC $CFLAGS -S conftest.c
> /dev
/null
2>&1; then
15756 if grep -q brasl conftest.s
; then
15757 libffi_cv_as_s390_zarch
=yes
15762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libffi_cv_as_s390_zarch" >&5
15763 $as_echo "$libffi_cv_as_s390_zarch" >&6; }
15764 if test "x$libffi_cv_as_s390_zarch" = xyes
; then
15766 $as_echo "#define HAVE_AS_S390_ZARCH 1" >>confdefs.h
15772 # On PaX enable kernels that have MPROTECT enable we can't use PROT_EXEC.
15773 # Check whether --enable-pax_emutramp was given.
15774 if test "${enable_pax_emutramp+set}" = set; then :
15775 enableval
=$enable_pax_emutramp; if test "$enable_pax_emutramp" = "yes"; then
15777 $as_echo "#define FFI_MMAP_EXEC_EMUTRAMP_PAX 1" >>confdefs.h
15783 FFI_EXEC_TRAMPOLINE_TABLE
=0
15785 *arm
*-apple-darwin* | aarch64-apple-darwin
*)
15786 FFI_EXEC_TRAMPOLINE_TABLE
=1
15788 $as_echo "#define FFI_EXEC_TRAMPOLINE_TABLE 1" >>confdefs.h
15791 *-apple-darwin1* |
*-*-freebsd* |
*-*-kfreebsd* |
*-*-openbsd* |
*-pc-solaris*)
15793 $as_echo "#define FFI_MMAP_EXEC_WRIT 1" >>confdefs.h
15797 if test x
$FFI_EXEC_TRAMPOLINE_TABLE = x1
; then
15798 FFI_EXEC_TRAMPOLINE_TABLE_TRUE
=
15799 FFI_EXEC_TRAMPOLINE_TABLE_FALSE
='#'
15801 FFI_EXEC_TRAMPOLINE_TABLE_TRUE
='#'
15802 FFI_EXEC_TRAMPOLINE_TABLE_FALSE
=
15807 if test x
$TARGET = xX86_64
; then
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking toolchain supports unwind section type" >&5
15809 $as_echo_n "checking toolchain supports unwind section type... " >&6; }
15810 if test "${libffi_cv_as_x86_64_unwind_section_type+set}" = set; then :
15811 $as_echo_n "(cached) " >&6
15814 cat > conftest1.s
<< EOF
15819 .section .eh_frame,"a",@unwind
15823 cat > conftest2.c
<< EOF
15828 libffi_cv_as_x86_64_unwind_section_type
=no
15829 # we ensure that we can compile _and_ link an assembly file containing an @unwind section
15830 # since the compiler can support it and not the linker (ie old binutils)
15831 if $CC -Wa,--fatal-warnings $CFLAGS -c conftest1.s
> /dev
/null
2>&1 && \
15832 $CC conftest2.c conftest1.o
> /dev
/null
2>&1 ; then
15833 libffi_cv_as_x86_64_unwind_section_type
=yes
15837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libffi_cv_as_x86_64_unwind_section_type" >&5
15838 $as_echo "$libffi_cv_as_x86_64_unwind_section_type" >&6; }
15839 if test "x$libffi_cv_as_x86_64_unwind_section_type" = xyes
; then
15841 $as_echo "#define HAVE_AS_X86_64_UNWIND_SECTION_TYPE 1" >>confdefs.h
15846 if test "x$GCC" = "xyes"; then
15847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .eh_frame section should be read-only" >&5
15848 $as_echo_n "checking whether .eh_frame section should be read-only... " >&6; }
15849 if test "${libffi_cv_ro_eh_frame+set}" = set; then :
15850 $as_echo_n "(cached) " >&6
15853 libffi_cv_ro_eh_frame
=no
15854 echo 'extern void foo (void); void bar (void) { foo (); foo (); }' > conftest.c
15855 if $CC $CFLAGS -c -fpic -fexceptions -o conftest.o conftest.c
> /dev
/null
2>&1; then
15856 objdump
-h conftest.o
> conftest.dump
2>&1
15857 libffi_eh_frame_line
=`grep -n eh_frame conftest.dump | cut -d: -f 1`
15858 if test "x$libffi_eh_frame_line" != "x"; then
15859 libffi_test_line
=`expr $libffi_eh_frame_line + 1`p
15860 sed -n $libffi_test_line conftest.dump
> conftest.line
15861 if grep READONLY conftest.line
> /dev
/null
; then
15862 libffi_cv_ro_eh_frame
=yes
15869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libffi_cv_ro_eh_frame" >&5
15870 $as_echo "$libffi_cv_ro_eh_frame" >&6; }
15871 if test "x$libffi_cv_ro_eh_frame" = xyes
; then
15873 $as_echo "#define HAVE_RO_EH_FRAME 1" >>confdefs.h
15876 $as_echo "#define EH_FRAME_FLAGS \"a\"" >>confdefs.h
15880 $as_echo "#define EH_FRAME_FLAGS \"aw\"" >>confdefs.h
15884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__((visibility(\"hidden\")))" >&5
15885 $as_echo_n "checking for __attribute__((visibility(\"hidden\")))... " >&6; }
15886 if test "${libffi_cv_hidden_visibility_attribute+set}" = set; then :
15887 $as_echo_n "(cached) " >&6
15890 echo 'int __attribute__ ((visibility ("hidden"))) foo (void) { return 1 ; }' > conftest.c
15891 libffi_cv_hidden_visibility_attribute
=no
15892 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
15893 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15894 (eval $ac_try) 2>&5
15896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15897 test $ac_status = 0; }; }; then
15898 if grep '\.hidden.*foo' conftest.s
>/dev
/null
; then
15899 libffi_cv_hidden_visibility_attribute
=yes
15905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libffi_cv_hidden_visibility_attribute" >&5
15906 $as_echo "$libffi_cv_hidden_visibility_attribute" >&6; }
15907 if test $libffi_cv_hidden_visibility_attribute = yes; then
15909 $as_echo "#define HAVE_HIDDEN_VISIBILITY_ATTRIBUTE 1" >>confdefs.h
15921 for i
in $SOURCES; do
15922 TARGET_OBJ
="${TARGET_OBJ} src/${TARGETDIR}/"`echo $i | sed 's/[cS]$/lo/'`
15929 # Check whether --enable-debug was given.
15930 if test "${enable_debug+set}" = set; then :
15931 enableval
=$enable_debug; if test "$enable_debug" = "yes"; then
15933 $as_echo "#define FFI_DEBUG 1" >>confdefs.h
15938 if test "$enable_debug" = "yes"; then
15940 FFI_DEBUG_FALSE
='#'
15947 # Check whether --enable-structs was given.
15948 if test "${enable_structs+set}" = set; then :
15949 enableval
=$enable_structs; if test "$enable_structs" = "no"; then
15951 $as_echo "#define FFI_NO_STRUCTS 1" >>confdefs.h
15956 if test "$enable_debug" = "yes"; then
15958 FFI_DEBUG_FALSE
='#'
15965 # Check whether --enable-raw-api was given.
15966 if test "${enable_raw_api+set}" = set; then :
15967 enableval
=$enable_raw_api; if test "$enable_raw_api" = "no"; then
15969 $as_echo "#define FFI_NO_RAW_API 1" >>confdefs.h
15975 # Check whether --enable-purify-safety was given.
15976 if test "${enable_purify_safety+set}" = set; then :
15977 enableval
=$enable_purify_safety; if test "$enable_purify_safety" = "yes"; then
15979 $as_echo "#define USING_PURIFY 1" >>confdefs.h
15985 if test -n "$with_cross_host" &&
15986 test x
"$with_cross_host" != x
"no"; then
15987 toolexecdir
='$(exec_prefix)/$(target_alias)'
15988 toolexeclibdir
='$(toolexecdir)/lib'
15990 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
15991 toolexeclibdir
='$(libdir)'
15993 multi_os_directory
=`$CC -print-multi-os-directory`
15994 case $multi_os_directory in
15995 .
) ;; # Avoid trailing /.
15996 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
16001 if test "${multilib}" = "yes"; then
16002 multilib_arg
="--enable-multilib"
16007 ac_config_commands
="$ac_config_commands include"
16009 ac_config_commands
="$ac_config_commands src"
16012 ac_config_links
="$ac_config_links include/ffitarget.h:src/$TARGETDIR/ffitarget.h"
16015 ac_config_files
="$ac_config_files include/Makefile include/ffi.h Makefile testsuite/Makefile man/Makefile libffi.pc"
16018 cat >confcache
<<\_ACEOF
16019 # This file is a shell script that caches the results of configure
16020 # tests run on this system so they can be shared between configure
16021 # scripts and configure runs, see configure's option --config-cache.
16022 # It is not useful on other systems. If it contains results you don't
16023 # want to keep, you may remove or edit it.
16025 # config.status only pays attention to the cache file if you give it
16026 # the --recheck option to rerun configure.
16028 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16029 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16030 # following values.
16034 # The following way of writing the cache mishandles newlines in values,
16035 # but we know of no workaround that is simple, portable, and efficient.
16036 # So, we kill variables containing newlines.
16037 # Ultrix sh set writes to stderr and can't be redirected directly,
16038 # and sets the high bit in the cache file unless we assign to the vars.
16040 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16041 eval ac_val
=\$
$ac_var
16045 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16046 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16049 _ | IFS | as_nl
) ;; #(
16050 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16051 *) { eval $ac_var=; unset $ac_var;} ;;
16057 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16058 *${as_nl}ac_space
=\
*)
16059 # `set' does not quote correctly, so add quotes: double-quote
16060 # substitution turns \\\\ into \\, and sed turns \\ into \.
16063 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16066 # `set' quotes correctly as required by POSIX, so do not add quotes.
16067 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16076 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16078 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16080 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16081 if test -w "$cache_file"; then
16082 test "x$cache_file" != "x/dev/null" &&
16083 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16084 $as_echo "$as_me: updating cache $cache_file" >&6;}
16085 cat confcache
>$cache_file
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16088 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16093 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16094 # Let make expand exec_prefix.
16095 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16097 DEFS
=-DHAVE_CONFIG_H
16101 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16102 # 1. Remove the extension, and $U if already installed.
16103 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16104 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16105 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16106 # will be set to the directory where LIBOBJS objects are built.
16107 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16108 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16110 LIBOBJS
=$ac_libobjs
16112 LTLIBOBJS
=$ac_ltlibobjs
16115 if test -n "$EXEEXT"; then
16117 am__EXEEXT_FALSE
='#'
16119 am__EXEEXT_TRUE
='#'
16123 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
16124 as_fn_error
"conditional \"BUILD_INFO\" was never defined.
16125 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16127 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
16128 as_fn_error
"conditional \"GENINSRC\" was never defined.
16129 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16131 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16132 as_fn_error
"conditional \"AMDEP\" was never defined.
16133 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16135 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16136 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
16137 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16139 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16140 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
16141 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16143 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
16144 as_fn_error
"conditional \"am__fastdepCCAS\" was never defined.
16145 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16147 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16148 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
16149 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16151 if test -z "${TESTSUBDIR_TRUE}" && test -z "${TESTSUBDIR_FALSE}"; then
16152 as_fn_error
"conditional \"TESTSUBDIR\" was never defined.
16153 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16156 if test -z "${FFI_EXEC_TRAMPOLINE_TABLE_TRUE}" && test -z "${FFI_EXEC_TRAMPOLINE_TABLE_FALSE}"; then
16157 as_fn_error
"conditional \"FFI_EXEC_TRAMPOLINE_TABLE\" was never defined.
16158 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16160 if test -z "${FFI_DEBUG_TRUE}" && test -z "${FFI_DEBUG_FALSE}"; then
16161 as_fn_error
"conditional \"FFI_DEBUG\" was never defined.
16162 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16164 if test -z "${FFI_DEBUG_TRUE}" && test -z "${FFI_DEBUG_FALSE}"; then
16165 as_fn_error
"conditional \"FFI_DEBUG\" was never defined.
16166 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16169 : ${CONFIG_STATUS=./config.status}
16171 ac_clean_files_save
=$ac_clean_files
16172 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16173 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16174 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16176 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16178 # Generated by $as_me.
16179 # Run this file to recreate the current configuration.
16180 # Compiler output produced by configure, useful for debugging
16181 # configure, is in config.log if it exists.
16184 ac_cs_recheck=false
16187 SHELL=\${CONFIG_SHELL-$SHELL}
16190 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16191 ## -------------------- ##
16192 ## M4sh Initialization. ##
16193 ## -------------------- ##
16195 # Be more Bourne compatible
16196 DUALCASE
=1; export DUALCASE
# for MKS sh
16197 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16200 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16201 # is contrary to our usage. Disable this feature.
16202 alias -g '${1+"$@"}'='"$@"'
16203 setopt NO_GLOB_SUBST
16205 case `(set -o) 2>/dev/null` in #(
16217 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16218 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16219 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16220 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16221 # Prefer a ksh shell builtin over an external printf program on Solaris,
16222 # but without wasting forks for bash or zsh.
16223 if test -z "$BASH_VERSION$ZSH_VERSION" \
16224 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16225 as_echo='print
-r --'
16226 as_echo_n='print
-rn --'
16227 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16228 as_echo='printf %s
\n'
16229 as_echo_n='printf %s
'
16231 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16232 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16233 as_echo_n='/usr
/ucb
/echo -n'
16235 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16236 as_echo_n_body='eval
16240 expr "X$arg" : "X\\(.*\\)$as_nl";
16241 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16243 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16245 export as_echo_n_body
16246 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16248 export as_echo_body
16249 as_echo='sh
-c $as_echo_body as_echo
'
16252 # The user is always right.
16253 if test "${PATH_SEPARATOR+set}" != set; then
16255 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16256 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16263 # We need space, tab and new line, in precisely that order. Quoting is
16264 # there to prevent editors from complaining about space-tab.
16265 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16266 # splitting by setting IFS to empty value.)
16269 # Find who we are. Look in the path if we contain no directory separator.
16271 *[\\/]* ) as_myself=$0 ;;
16272 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16273 for as_dir in $PATH
16276 test -z "$as_dir" && as_dir=.
16277 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16283 # We did not find ourselves, most probably we were run as `sh COMMAND'
16284 # in which case we are not to be found in the path.
16285 if test "x$as_myself" = x
; then
16288 if test ! -f "$as_myself"; then
16289 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16293 # Unset variables that we do not need and which cause bugs (e.g. in
16294 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16295 # suppresses any "Segmentation fault" message there. '((' could
16296 # trigger a bug in pdksh 5.2.14.
16297 for as_var
in BASH_ENV ENV MAIL MAILPATH
16298 do eval test x\
${$as_var+set} = xset \
16299 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16312 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16315 # as_fn_error ERROR [LINENO LOG_FD]
16316 # ---------------------------------
16317 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16318 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16319 # script with status $?, using 1 if that was 0.
16322 as_status
=$?
; test $as_status -eq 0 && as_status
=1
16324 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16325 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
16327 $as_echo "$as_me: error: $1" >&2
16328 as_fn_exit
$as_status
16332 # as_fn_set_status STATUS
16333 # -----------------------
16334 # Set $? to STATUS, without forking.
16335 as_fn_set_status
()
16338 } # as_fn_set_status
16340 # as_fn_exit STATUS
16341 # -----------------
16342 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16346 as_fn_set_status
$1
16352 # Portably unset VAR.
16355 { eval $1=; unset $1;}
16357 as_unset
=as_fn_unset
16358 # as_fn_append VAR VALUE
16359 # ----------------------
16360 # Append the text in VALUE to the end of the definition contained in VAR. Take
16361 # advantage of any shell optimizations that allow amortized linear growth over
16362 # repeated appends, instead of the typical quadratic growth present in naive
16364 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16365 eval 'as_fn_append ()
16376 # as_fn_arith ARG...
16377 # ------------------
16378 # Perform arithmetic evaluation on the ARGs, and store the result in the
16379 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16380 # must be portable across $(()) and expr.
16381 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16382 eval 'as_fn_arith ()
16389 as_val
=`expr "$@" || test $? -eq 1`
16394 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16395 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16401 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16402 as_basename
=basename
16407 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16413 as_me
=`$as_basename -- "$0" ||
16414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16415 X"$0" : 'X\(//\)$' \| \
16416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16418 sed '/^.*\/\([^/][^/]*\)\/*$/{
16432 # Avoid depending upon Character Ranges.
16433 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16434 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16435 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16436 as_cr_digits
='0123456789'
16437 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16439 ECHO_C
= ECHO_N
= ECHO_T
=
16440 case `echo -n x` in #(((((
16442 case `echo 'xy\c'` in
16443 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16445 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16452 rm -f conf$$ conf$$.exe conf$$.
file
16453 if test -d conf$$.dir
; then
16454 rm -f conf$$.dir
/conf$$.
file
16457 mkdir conf$$.dir
2>/dev
/null
16459 if (echo >conf$$.
file) 2>/dev
/null
; then
16460 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16462 # ... but there are two gotchas:
16463 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16464 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16465 # In both cases, we have to default to `cp -p'.
16466 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16468 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16476 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16477 rmdir conf$$.dir
2>/dev
/null
16482 # Create "$as_dir" as a directory, including parents if necessary.
16487 -*) as_dir
=.
/$as_dir;;
16489 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16493 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16494 *) as_qdir
=$as_dir;;
16496 as_dirs
="'$as_qdir' $as_dirs"
16497 as_dir
=`$as_dirname -- "$as_dir" ||
16498 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16499 X"$as_dir" : 'X\(//\)[^/]' \| \
16500 X"$as_dir" : 'X\(//\)$' \| \
16501 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16502 $as_echo X"$as_dir" |
16503 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16507 /^X\(\/\/\)[^/].*/{
16520 test -d "$as_dir" && break
16522 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16523 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
16527 if mkdir
-p .
2>/dev
/null
; then
16528 as_mkdir_p
='mkdir -p "$as_dir"'
16530 test -d .
/-p && rmdir .
/-p
16534 if test -x / >/dev
/null
2>&1; then
16535 as_test_x
='test -x'
16537 if ls -dL / >/dev
/null
2>&1; then
16544 if test -d "$1"; then
16550 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16551 ???[sx]*):;;*)false;;esac;fi
16555 as_executable_p
=$as_test_x
16557 # Sed expression to map a string onto a valid CPP name.
16558 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16560 # Sed expression to map a string onto a valid variable name.
16561 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16565 ## ----------------------------------- ##
16566 ## Main body of $CONFIG_STATUS script. ##
16567 ## ----------------------------------- ##
16569 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16571 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16572 # Save the log message, to keep $0 and so on meaningful, and to
16573 # report actual input values of CONFIG_FILES etc. instead of their
16574 # values after options handling.
16576 This file was extended by libffi $as_me 3.99999, which was
16577 generated by GNU Autoconf 2.64. Invocation command line was
16579 CONFIG_FILES = $CONFIG_FILES
16580 CONFIG_HEADERS = $CONFIG_HEADERS
16581 CONFIG_LINKS = $CONFIG_LINKS
16582 CONFIG_COMMANDS = $CONFIG_COMMANDS
16585 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16590 case $ac_config_files in *"
16591 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16594 case $ac_config_headers in *"
16595 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16599 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16600 # Files that config.status was made for.
16601 config_files="$ac_config_files"
16602 config_headers="$ac_config_headers"
16603 config_links="$ac_config_links"
16604 config_commands="$ac_config_commands"
16608 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16610 \`$as_me' instantiates files and other configuration actions
16611 from templates according to the current configuration. Unless the files
16612 and actions are specified as TAGs, all are instantiated by default.
16614 Usage: $0 [OPTION]... [TAG]...
16616 -h, --help print this help, then exit
16617 -V, --version print version number and configuration settings, then exit
16618 -q, --quiet, --silent
16619 do not print progress messages
16620 -d, --debug don't remove temporary files
16621 --recheck update $as_me by reconfiguring in the same conditions
16622 --file=FILE[:TEMPLATE]
16623 instantiate the configuration file FILE
16624 --header=FILE[:TEMPLATE]
16625 instantiate the configuration header FILE
16627 Configuration files:
16630 Configuration headers:
16633 Configuration links:
16636 Configuration commands:
16639 Report bugs to <http://github.com/atgreen/libffi/issues>."
16642 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16644 libffi config.status 3.99999
16645 configured by $0, generated by GNU Autoconf 2.64,
16646 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16648 Copyright (C) 2009 Free Software Foundation, Inc.
16649 This config.status script is free software; the Free Software Foundation
16650 gives unlimited permission to copy, distribute and modify it."
16657 test -n "\$AWK" || AWK=awk
16660 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16661 # The default lists apply if the user does not specify any file.
16667 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16668 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16679 # Handling of the options.
16680 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16682 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16683 $as_echo "$ac_cs_version"; exit ;;
16684 --debug |
--debu |
--deb |
--de |
--d |
-d )
16686 --file |
--fil |
--fi |
--f )
16689 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16691 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16692 ac_need_defaults
=false
;;
16693 --header |
--heade |
--head |
--hea )
16696 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16698 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16699 ac_need_defaults
=false
;;
16701 # Conflict between --help and --header
16702 as_fn_error
"ambiguous option: \`$1'
16703 Try \`$0 --help' for more information.";;
16704 --help |
--hel |
-h )
16705 $as_echo "$ac_cs_usage"; exit ;;
16706 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16707 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16710 # This is an error.
16711 -*) as_fn_error
"unrecognized option: \`$1'
16712 Try \`$0 --help' for more information." ;;
16714 *) as_fn_append ac_config_targets
" $1"
16715 ac_need_defaults
=false
;;
16721 ac_configure_extra_args
=
16723 if $ac_cs_silent; then
16725 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16729 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16730 if \$ac_cs_recheck; then
16731 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16733 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16734 CONFIG_SHELL='$SHELL'
16735 export CONFIG_SHELL
16740 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16744 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16745 ## Running $as_me. ##
16751 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16759 with_multisubdir="$with_multisubdir"
16760 with_multisrctop="$with_multisrctop"
16761 with_target_subdir="$with_target_subdir"
16762 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16763 multi_basedir="$multi_basedir"
16764 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16767 GFORTRAN="$GFORTRAN"
16769 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16772 # The HP-UX ksh and POSIX shell print the target directory to stdout
16773 # if CDPATH is set.
16774 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16776 sed_quote_subst='$sed_quote_subst'
16777 double_quote_subst='$double_quote_subst'
16778 delay_variable_subst='$delay_variable_subst'
16779 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16780 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16781 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16782 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16783 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16784 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16785 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16786 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16787 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16788 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16789 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16790 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16791 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16792 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16793 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16794 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16795 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16796 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16797 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16798 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16799 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16800 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16801 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16802 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16803 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16804 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16805 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16806 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16807 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16808 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16809 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16810 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16811 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16812 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16813 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16814 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16815 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16816 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16817 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16818 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16819 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16820 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16821 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16822 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16823 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16824 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16825 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16826 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16827 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"`'
16828 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16829 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16830 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16831 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16832 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16833 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16834 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16835 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16836 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16837 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16838 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16839 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16840 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16841 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16842 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16843 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16844 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16845 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16846 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16847 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16848 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16849 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16850 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16851 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16852 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16853 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16854 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16855 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16856 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16857 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16858 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16859 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16860 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16861 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16862 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16863 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16864 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16865 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16866 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16867 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16868 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16869 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16870 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16871 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16872 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16873 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16874 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16875 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16876 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16877 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16878 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16879 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16880 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16881 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16882 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16883 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16884 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16885 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16886 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16887 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16888 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16889 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16890 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16891 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16892 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16893 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16894 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16895 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16896 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16897 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16898 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16899 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
16900 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
16901 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
16902 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
16903 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
16904 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
16905 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
16906 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
16907 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16908 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16909 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
16910 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
16911 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
16912 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
16913 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
16914 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
16915 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
16916 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
16917 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
16918 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16919 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16920 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
16921 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16922 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16923 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16924 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16925 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16926 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16927 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
16928 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16929 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16930 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16931 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
16932 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
16933 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
16934 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
16935 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
16936 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
16937 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
16938 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
16939 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
16940 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
16941 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
16942 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16943 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16944 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16945 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16946 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
16947 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
16948 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
16949 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16950 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16951 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
16952 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
16953 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
16956 LTCFLAGS='$LTCFLAGS'
16957 compiler='$compiler_DEFAULT'
16959 # A function that is used when there is no print builtin or printf.
16960 func_fallback_echo ()
16962 eval 'cat <<_LTECHO_EOF
16967 # Quote evaled strings.
16981 deplibs_check_method \
16990 lt_cv_sys_global_symbol_pipe \
16991 lt_cv_sys_global_symbol_to_cdecl \
16992 lt_cv_sys_global_symbol_to_c_name_address \
16993 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16994 lt_prog_compiler_no_builtin_flag \
16995 lt_prog_compiler_wl \
16996 lt_prog_compiler_pic \
16997 lt_prog_compiler_static \
16998 lt_cv_prog_compiler_c_o \
17006 export_dynamic_flag_spec \
17007 whole_archive_flag_spec \
17008 compiler_needs_object \
17010 allow_undefined_flag \
17011 no_undefined_flag \
17012 hardcode_libdir_flag_spec \
17013 hardcode_libdir_flag_spec_ld \
17014 hardcode_libdir_separator \
17019 variables_saved_for_relink \
17021 library_names_spec \
17023 install_override_mode \
17027 compiler_lib_search_dirs \
17032 compiler_lib_search_path \
17036 lt_prog_compiler_no_builtin_flag_CXX \
17037 lt_prog_compiler_wl_CXX \
17038 lt_prog_compiler_pic_CXX \
17039 lt_prog_compiler_static_CXX \
17040 lt_cv_prog_compiler_c_o_CXX \
17041 export_dynamic_flag_spec_CXX \
17042 whole_archive_flag_spec_CXX \
17043 compiler_needs_object_CXX \
17045 allow_undefined_flag_CXX \
17046 no_undefined_flag_CXX \
17047 hardcode_libdir_flag_spec_CXX \
17048 hardcode_libdir_flag_spec_ld_CXX \
17049 hardcode_libdir_separator_CXX \
17050 fix_srcfile_path_CXX \
17051 exclude_expsyms_CXX \
17052 include_expsyms_CXX \
17053 file_list_spec_CXX \
17054 compiler_lib_search_dirs_CXX \
17055 predep_objects_CXX \
17056 postdep_objects_CXX \
17059 compiler_lib_search_path_CXX; do
17060 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17061 *[\\\\\\\`\\"\\\$]*)
17062 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17065 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17070 # Double-quote double-evaled strings.
17071 for var in reload_cmds \
17072 old_postinstall_cmds \
17073 old_postuninstall_cmds \
17075 extract_expsyms_cmds \
17076 old_archive_from_new_cmds \
17077 old_archive_from_expsyms_cmds \
17079 archive_expsym_cmds \
17081 module_expsym_cmds \
17082 export_symbols_cmds \
17085 postuninstall_cmds \
17087 sys_lib_search_path_spec \
17088 sys_lib_dlsearch_path_spec \
17090 old_archive_cmds_CXX \
17091 old_archive_from_new_cmds_CXX \
17092 old_archive_from_expsyms_cmds_CXX \
17094 archive_expsym_cmds_CXX \
17096 module_expsym_cmds_CXX \
17097 export_symbols_cmds_CXX \
17098 prelink_cmds_CXX; do
17099 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17100 *[\\\\\\\`\\"\\\$]*)
17101 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17104 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17109 ac_aux_dir='$ac_aux_dir'
17110 xsi_shell='$xsi_shell'
17111 lt_shell_append='$lt_shell_append'
17113 # See if we are running on zsh, and set the options which allow our
17114 # commands through without removal of \ escapes INIT.
17115 if test -n "\${ZSH_VERSION+set}" ; then
17116 setopt NO_GLOB_SUBST
17122 TIMESTAMP='$TIMESTAMP'
17130 TARGETDIR="$TARGETDIR"
17134 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17136 # Handling of arguments.
17137 for ac_config_target
in $ac_config_targets
17139 case $ac_config_target in
17140 "fficonfig.h") CONFIG_HEADERS
="$CONFIG_HEADERS fficonfig.h" ;;
17141 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
17142 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17143 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17144 "include") CONFIG_COMMANDS
="$CONFIG_COMMANDS include" ;;
17145 "src") CONFIG_COMMANDS
="$CONFIG_COMMANDS src" ;;
17146 "include/ffitarget.h") CONFIG_LINKS
="$CONFIG_LINKS include/ffitarget.h:src/$TARGETDIR/ffitarget.h" ;;
17147 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
17148 "include/ffi.h") CONFIG_FILES
="$CONFIG_FILES include/ffi.h" ;;
17149 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17150 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
17151 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
17152 "libffi.pc") CONFIG_FILES
="$CONFIG_FILES libffi.pc" ;;
17154 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17159 # If the user did not use the arguments to specify the items to instantiate,
17160 # then the envvar interface is used. Set only those that are not.
17161 # We use the long form for the default assignment because of an extremely
17162 # bizarre bug on SunOS 4.1.3.
17163 if $ac_need_defaults; then
17164 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17165 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17166 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
17167 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17170 # Have a temporary directory for convenience. Make it in the build tree
17171 # simply because there is no reason against having it here, and in addition,
17172 # creating and moving files from /tmp can sometimes cause problems.
17173 # Hook for its removal unless debugging.
17174 # Note that there is a small window in which the directory will not be cleaned:
17175 # after its creation but before its name has been assigned to `$tmp'.
17179 trap 'exit_status=$?
17180 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17182 trap 'as_fn_exit 1' 1 2 13 15
17184 # Create a (secure) tmp directory for tmp files.
17187 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17188 test -n "$tmp" && test -d "$tmp"
17191 tmp
=.
/conf$$
-$RANDOM
17192 (umask 077 && mkdir
"$tmp")
17193 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
17195 # Set up the scripts for CONFIG_FILES section.
17196 # No need to generate them if there are no CONFIG_FILES.
17197 # This happens for instance with `./config.status config.h'.
17198 if test -n "$CONFIG_FILES"; then
17201 ac_cr
=`echo X | tr X '\015'`
17202 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17203 # But we know of no other shell where ac_cr would be empty at this
17204 # point, so we can use a bashism as a fallback.
17205 if test "x$ac_cr" = x
; then
17206 eval ac_cr
=\$
\'\\r
\'
17208 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17209 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17212 ac_cs_awk_cr
=$ac_cr
17215 echo 'BEGIN {' >"$tmp/subs1.awk" &&
17220 echo "cat >conf$$subs.awk <<_ACEOF" &&
17221 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17223 } >conf$$subs.sh ||
17224 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17225 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17227 for ac_last_try in false false false false false :; do
17228 . ./conf$$subs.sh ||
17229 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17231 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17232 if test $ac_delim_n = $ac_delim_num; then
17234 elif $ac_last_try; then
17235 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17237 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17240 rm -f conf$$subs.sh
17242 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17243 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
17247 s/^/S["/; s
/!.
*/"]=/
17257 s/\(.\{148\}\).*/\1/
17259 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17264 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17271 s/\(.\{148\}\).*/\1/
17273 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17277 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17282 ' <conf$$subs.awk | sed '
17287 ' >>$CONFIG_STATUS || ac_write_fail=1
17288 rm -f conf$$subs.awk
17289 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17291 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
17292 for (key in S) S_is_set[key] = 1
17298 nfields = split(line, field, "@
")
17300 len = length(field[1])
17301 for (i = 2; i < nfields; i++) {
17303 keylen = length(key)
17304 if (S_is_set[key]) {
17306 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17307 len += length(value) + length(field[++i])
17318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17319 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17320 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17323 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
17324 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
17327 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17328 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
17329 # trailing colons and then remove the whole line if VPATH becomes empty
17330 # (actually we leave an empty line to preserve line numbers).
17331 if test "x
$srcdir" = x.; then
17332 ac_vpsub='/^[ ]*VPATH[ ]*=/{
17333 s/:*\$(srcdir):*/:/
17334 s/:*\${srcdir}:*/:/
17336 s/^\([^=]*=[ ]*\):*/\1/
17342 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17343 fi # test -n "$CONFIG_FILES"
17345 # Set up the scripts for CONFIG_HEADERS section.
17346 # No need to generate them if there are no CONFIG_HEADERS.
17347 # This happens for instance with `./config.status Makefile'.
17348 if test -n "$CONFIG_HEADERS"; then
17349 cat >"$tmp/defines.
awk" <<\_ACAWK ||
17353 # Transform confdefs.h into an awk script `defines.awk', embedded as
17354 # here-document in config.status, that substitutes the proper values into
17355 # config.h.in to produce config.h.
17357 # Create a delimiter string that does not exist in confdefs.h, to ease
17358 # handling of long lines.
17360 for ac_last_try in false false :; do
17361 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
17362 if test -z "$ac_t"; then
17364 elif $ac_last_try; then
17365 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
17367 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17371 # For the awk script, D is an array of macro values keyed by name,
17372 # likewise P contains macro parameters if any. Preserve backslash
17373 # newline sequences.
17375 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17377 s/.\{148\}/&'"$ac_delim"'/g
17380 s/^[ ]*#[ ]*define[ ][ ]*/ /
17387 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17389 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17393 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17394 D["\
1"]=" \
3\\\\\\n
"\\/p
17396 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17401 s/.\{148\}/&'"$ac_delim"'/g
17406 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17409 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17411 ' <confdefs.h | sed '
17412 s/'"$ac_delim"'/"\\\
17413 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17416 for (key in D) D_is_set[key] = 1
17419 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17421 split(line, arg, " ")
17422 if (arg[1] == "#") {
17426 defundef
= substr
(arg
[1], 2)
17429 split(mac1
, mac2
, "(") #)
17431 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17432 if (D_is_set
[macro
]) {
17433 # Preserve the white space surrounding the "#".
17434 print prefix
"define", macro P
[macro
] D
[macro
]
17437 # Replace #undef with comments. This is necessary, for example,
17438 # in the case of _POSIX_SOURCE, which is predefined and required
17439 # on some systems where configure will not decide to define it.
17440 if (defundef
== "undef") {
17441 print
"/*", prefix defundef
, macro
, "*/"
17449 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17450 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
17451 fi # test -n "$CONFIG_HEADERS"
17454 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
17459 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17461 case $ac_mode$ac_tag in
17463 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17464 :[FH
]-) ac_tag
=-:-;;
17465 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17482 -) ac_f
="$tmp/stdin";;
17483 *) # Look for the file first in the build tree, then in the source tree
17484 # (if the path is not absolute). The absolute path cannot be DOS-style,
17485 # because $ac_f cannot contain `:'.
17489 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17491 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
17493 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17494 as_fn_append ac_file_inputs
" '$ac_f'"
17497 # Let's still pretend it is `configure' which instantiates (i.e., don't
17498 # use $as_me), people would be surprised to read:
17499 # /* config.h. Generated by config.status. */
17500 configure_input
='Generated from '`
17501 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17503 if test x
"$ac_file" != x-
; then
17504 configure_input
="$ac_file. $configure_input"
17505 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17506 $as_echo "$as_me: creating $ac_file" >&6;}
17508 # Neutralize special characters interpreted by sed in replacement strings.
17509 case $configure_input in #(
17510 *\
&* |
*\|
* |
*\\* )
17511 ac_sed_conf_input
=`$as_echo "$configure_input" |
17512 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17513 *) ac_sed_conf_input
=$configure_input;;
17517 *:-:* |
*:-) cat >"$tmp/stdin" \
17518 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
17523 ac_dir
=`$as_dirname -- "$ac_file" ||
17524 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17525 X"$ac_file" : 'X\(//\)[^/]' \| \
17526 X"$ac_file" : 'X\(//\)$' \| \
17527 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17528 $as_echo X"$ac_file" |
17529 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17533 /^X\(\/\/\)[^/].*/{
17546 as_dir
="$ac_dir"; as_fn_mkdir_p
17550 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17552 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17553 # A ".." for each directory in $ac_dir_suffix.
17554 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17555 case $ac_top_builddir_sub in
17556 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17557 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17560 ac_abs_top_builddir
=$ac_pwd
17561 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17562 # for backward compatibility:
17563 ac_top_builddir
=$ac_top_build_prefix
17566 .
) # We are building in place.
17568 ac_top_srcdir
=$ac_top_builddir_sub
17569 ac_abs_top_srcdir
=$ac_pwd ;;
17570 [\\/]* | ?
:[\\/]* ) # Absolute name.
17571 ac_srcdir
=$srcdir$ac_dir_suffix;
17572 ac_top_srcdir
=$srcdir
17573 ac_abs_top_srcdir
=$srcdir ;;
17574 *) # Relative name.
17575 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17576 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17577 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17579 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17589 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17590 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17592 ac_MKDIR_P
=$MKDIR_P
17594 [\\/$
]* | ?
:[\\/]* ) ;;
17595 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
17599 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17600 # If the template does not know about datarootdir, expand it.
17601 # FIXME: This hack should be removed a few years after 2.60.
17602 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17613 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17614 *datarootdir
*) ac_datarootdir_seen
=yes;;
17615 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17617 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17619 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17620 ac_datarootdir_hack='
17621 s&@datadir@&$datadir&g
17622 s&@docdir@&$docdir&g
17623 s&@infodir@&$infodir&g
17624 s&@localedir@&$localedir&g
17625 s&@mandir@&$mandir&g
17626 s&\\\${datarootdir}&$datarootdir&g' ;;
17630 # Neutralize VPATH when `$srcdir' = `.'.
17631 # Shell code in configure.ac might set extrasub.
17632 # FIXME: do we really want to maintain this feature?
17633 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17634 ac_sed_extra="$ac_vpsub
17637 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17639 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17640 s|@configure_input@|
$ac_sed_conf_input|
;t t
17641 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17642 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17643 s
&@srcdir@
&$ac_srcdir&;t t
17644 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17645 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17646 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17647 s
&@builddir@
&$ac_builddir&;t t
17648 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17649 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17650 s
&@INSTALL@
&$ac_INSTALL&;t t
17651 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17652 $ac_datarootdir_hack
17654 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
17655 || as_fn_error "could not create
$ac_file" "$LINENO" 5
17657 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17658 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
17659 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
17660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17661 which seems to be undefined. Please make sure it is defined." >&5
17662 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17663 which seems to be undefined. Please make sure it is defined." >&2;}
17667 -) cat "$tmp/out" && rm -f "$tmp/out";;
17668 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17670 || as_fn_error "could not create $ac_file" "$LINENO" 5
17676 if test x"$ac_file" != x-; then
17678 $as_echo "/* $configure_input */" \
17679 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17680 } >"$tmp/config.h" \
17681 || as_fn_error "could not create $ac_file" "$LINENO" 5
17682 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17683 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17684 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17687 mv "$tmp/config.h" "$ac_file" \
17688 || as_fn_error "could not create $ac_file" "$LINENO" 5
17691 $as_echo "/* $configure_input */" \
17692 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17693 || as_fn_error "could not create -" "$LINENO" 5
17695 # Compute "$ac_file"'s index
in $config_headers.
17698 for _am_header
in $config_headers :; do
17699 case $_am_header in
17700 $_am_arg |
$_am_arg:* )
17703 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17706 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17707 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17708 X"$_am_arg" : 'X\(//\)[^/]' \| \
17709 X"$_am_arg" : 'X\(//\)$' \| \
17710 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17711 $as_echo X"$_am_arg" |
17712 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17716 /^X\(\/\/\)[^/].*/{
17728 s/.*/./; q'`/stamp-h
$_am_stamp_count
17735 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
17738 # Prefer the file from the source tree if names are identical.
17739 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
17740 ac_source
=$srcdir/$ac_source
17743 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
17744 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
17746 if test ! -r "$ac_source"; then
17747 as_fn_error
"$ac_source: file not found" "$LINENO" 5
17751 # Try a relative symlink, then a hard link, then a copy.
17753 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
17754 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
17756 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
17757 ln "$ac_source" "$ac_file" 2>/dev
/null ||
17758 cp -p "$ac_source" "$ac_file" ||
17759 as_fn_error
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
17762 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17763 $as_echo "$as_me: executing $ac_file commands" >&6;}
17768 case $ac_file$ac_mode in
17770 # Only add multilib support code if we just rebuilt the top-level
17772 case " $CONFIG_FILES " in
17774 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
17777 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
17778 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17779 # are listed without --file. Let's play safe and only enable the eval
17780 # if we detect the quoting.
17781 case $CONFIG_FILES in
17782 *\'*) eval set x
"$CONFIG_FILES" ;;
17783 *) set x
$CONFIG_FILES ;;
17788 # Strip MF so we end up with the name of the file.
17789 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17790 # Check whether this is an Automake generated Makefile or not.
17791 # We used to match only the files named `Makefile.in', but
17792 # some people rename them; so instead we look at the file content.
17793 # Grep'ing the first line is not enough: some people post-process
17794 # each Makefile.in and add a new line on top of each file to say so.
17795 # Grep'ing the whole file is not good either: AIX grep has a line
17796 # limit of 2048, but all sed's we know have understand at least 4000.
17797 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17798 dirpart
=`$as_dirname -- "$mf" ||
17799 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17800 X"$mf" : 'X\(//\)[^/]' \| \
17801 X"$mf" : 'X\(//\)$' \| \
17802 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17804 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17808 /^X\(\/\/\)[^/].*/{
17824 # Extract the definition of DEPDIR, am__include, and am__quote
17825 # from the Makefile without running `make'.
17826 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17827 test -z "$DEPDIR" && continue
17828 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17829 test -z "am__include" && continue
17830 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17831 # When using ansi2knr, U may be empty or an underscore; expand it
17832 U
=`sed -n 's/^U = //p' < "$mf"`
17833 # Find all dependency output files, they are included files with
17834 # $(DEPDIR) in their names. We invoke sed twice because it is the
17835 # simplest approach to changing $(DEPDIR) to its actual value in the
17837 for file in `sed -n "
17838 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17839 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17840 # Make sure the directory exists.
17841 test -f "$dirpart/$file" && continue
17842 fdir
=`$as_dirname -- "$file" ||
17843 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17844 X"$file" : 'X\(//\)[^/]' \| \
17845 X"$file" : 'X\(//\)$' \| \
17846 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17847 $as_echo X"$file" |
17848 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17852 /^X\(\/\/\)[^/].*/{
17865 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17866 # echo "creating $dirpart/$file"
17867 echo '# dummy' > "$dirpart/$file"
17874 # See if we are running on zsh, and set the options which allow our
17875 # commands through without removal of \ escapes.
17876 if test -n "${ZSH_VERSION+set}" ; then
17877 setopt NO_GLOB_SUBST
17880 cfgfile
="${ofile}T"
17881 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17884 cat <<_LT_EOF >> "$cfgfile"
17887 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17888 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17889 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17890 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17892 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17893 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17894 # Written by Gordon Matzigkeit, 1996
17896 # This file is part of GNU Libtool.
17898 # GNU Libtool is free software; you can redistribute it and/or
17899 # modify it under the terms of the GNU General Public License as
17900 # published by the Free Software Foundation; either version 2 of
17901 # the License, or (at your option) any later version.
17903 # As a special exception to the GNU General Public License,
17904 # if you distribute this file as part of a program or library that
17905 # is built using GNU Libtool, you may include this file under the
17906 # same distribution terms that you use for the rest of that program.
17908 # GNU Libtool is distributed in the hope that it will be useful,
17909 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17910 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17911 # GNU General Public License for more details.
17913 # You should have received a copy of the GNU General Public License
17914 # along with GNU Libtool; see the file COPYING. If not, a copy
17915 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17916 # obtained by writing to the Free Software Foundation, Inc.,
17917 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17920 # The names of the tagged configurations supported by this script.
17921 available_tags="CXX "
17923 # ### BEGIN LIBTOOL CONFIG
17925 # Which release of libtool.m4 was used?
17926 macro_version=$macro_version
17927 macro_revision=$macro_revision
17929 # Whether or not to build shared libraries.
17930 build_libtool_libs=$enable_shared
17932 # Whether or not to build static libraries.
17933 build_old_libs=$enable_static
17935 # What type of objects to build.
17938 # Whether or not to optimize for fast installation.
17939 fast_install=$enable_fast_install
17941 # Shell to use when invoking shell scripts.
17944 # An echo program that protects backslashes.
17948 host_alias=$host_alias
17952 # The build system.
17953 build_alias=$build_alias
17957 # A sed program that does not truncate output.
17960 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17961 Xsed="\$SED -e 1s/^X//"
17963 # A grep program that handles long lines.
17969 # A literal string matcher.
17972 # A BSD- or MS-compatible name lister.
17975 # Whether we need soft or hard links.
17978 # What is the maximum length of a command?
17979 max_cmd_len=$max_cmd_len
17981 # Object file suffix (normally "o").
17984 # Executable file suffix (normally "").
17987 # whether the shell understands "unset".
17990 # turn spaces into newlines.
17993 # turn newlines into spaces.
17996 # An object symbol dumper.
17997 OBJDUMP=$lt_OBJDUMP
17999 # Method to check whether dependent libraries are shared objects.
18000 deplibs_check_method=$lt_deplibs_check_method
18002 # Command to use when deplibs_check_method == "file_magic".
18003 file_magic_cmd=$lt_file_magic_cmd
18007 AR_FLAGS=$lt_AR_FLAGS
18009 # A symbol stripping program.
18012 # Commands used to install an old-style archive.
18014 old_postinstall_cmds=$lt_old_postinstall_cmds
18015 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18017 # Whether to use a lock for old archive extraction.
18018 lock_old_archive_extraction=$lock_old_archive_extraction
18023 # LTCC compiler flags.
18024 LTCFLAGS=$lt_CFLAGS
18026 # Take the output of nm and produce a listing of raw symbols and C names.
18027 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18029 # Transform the output of nm in a proper C declaration.
18030 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18032 # Transform the output of nm in a C name address pair.
18033 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18035 # Transform the output of nm in a C name address pair when lib prefix is needed.
18036 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18038 # The name of the directory that contains temporary libtool files.
18041 # Used to examine libraries when file_magic_cmd begins with "file".
18042 MAGIC_CMD=$MAGIC_CMD
18044 # Must we lock files when doing compilation?
18045 need_locks=$lt_need_locks
18047 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18048 DSYMUTIL=$lt_DSYMUTIL
18050 # Tool to change global to local symbols on Mac OS X.
18053 # Tool to manipulate fat objects and archives on Mac OS X.
18056 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18059 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18060 OTOOL64=$lt_OTOOL64
18062 # Old archive suffix (normally "a").
18065 # Shared library suffix (normally ".so").
18066 shrext_cmds=$lt_shrext_cmds
18068 # The commands to extract the exported symbol list from a shared archive.
18069 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18071 # Variables whose values should be saved in libtool wrapper scripts and
18072 # restored at link time.
18073 variables_saved_for_relink=$lt_variables_saved_for_relink
18075 # Do we need the "lib" prefix for modules?
18076 need_lib_prefix=$need_lib_prefix
18078 # Do we need a version for libraries?
18079 need_version=$need_version
18081 # Library versioning type.
18082 version_type=$version_type
18084 # Shared library runtime path variable.
18085 runpath_var=$runpath_var
18087 # Shared library path variable.
18088 shlibpath_var=$shlibpath_var
18090 # Is shlibpath searched before the hard-coded library search path?
18091 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18093 # Format of library name prefix.
18094 libname_spec=$lt_libname_spec
18096 # List of archive names. First name is the real one, the rest are links.
18097 # The last name is the one that the linker finds with -lNAME
18098 library_names_spec=$lt_library_names_spec
18100 # The coded name of the library, if different from the real name.
18101 soname_spec=$lt_soname_spec
18103 # Permission mode override for installation of shared libraries.
18104 install_override_mode=$lt_install_override_mode
18106 # Command to use after installation of a shared archive.
18107 postinstall_cmds=$lt_postinstall_cmds
18109 # Command to use after uninstallation of a shared archive.
18110 postuninstall_cmds=$lt_postuninstall_cmds
18112 # Commands used to finish a libtool library installation in a directory.
18113 finish_cmds=$lt_finish_cmds
18115 # As "finish_cmds", except a single script fragment to be evaled but
18117 finish_eval=$lt_finish_eval
18119 # Whether we should hardcode library paths into libraries.
18120 hardcode_into_libs=$hardcode_into_libs
18122 # Compile-time system search path for libraries.
18123 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18125 # Run-time system search path for libraries.
18126 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18128 # Whether dlopen is supported.
18129 dlopen_support=$enable_dlopen
18131 # Whether dlopen of programs is supported.
18132 dlopen_self=$enable_dlopen_self
18134 # Whether dlopen of statically linked programs is supported.
18135 dlopen_self_static=$enable_dlopen_self_static
18137 # Commands to strip libraries.
18138 old_striplib=$lt_old_striplib
18139 striplib=$lt_striplib
18142 # The linker used to build libraries.
18145 # How to create reloadable object files.
18146 reload_flag=$lt_reload_flag
18147 reload_cmds=$lt_reload_cmds
18149 # Commands used to build an old-style archive.
18150 old_archive_cmds=$lt_old_archive_cmds
18152 # A language specific compiler.
18155 # Is the compiler the GNU compiler?
18158 # Compiler flag to turn off builtin functions.
18159 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18161 # How to pass a linker flag through the compiler.
18162 wl=$lt_lt_prog_compiler_wl
18164 # Additional compiler flags for building library objects.
18165 pic_flag=$lt_lt_prog_compiler_pic
18167 # Compiler flag to prevent dynamic linking.
18168 link_static_flag=$lt_lt_prog_compiler_static
18170 # Does compiler simultaneously support -c and -o options?
18171 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18173 # Whether or not to add -lc for building shared libraries.
18174 build_libtool_need_lc=$archive_cmds_need_lc
18176 # Whether or not to disallow shared libs when runtime libs are static.
18177 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18179 # Compiler flag to allow reflexive dlopens.
18180 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18182 # Compiler flag to generate shared objects directly from archives.
18183 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18185 # Whether the compiler copes with passing no objects directly.
18186 compiler_needs_object=$lt_compiler_needs_object
18188 # Create an old-style archive from a shared archive.
18189 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18191 # Create a temporary old-style archive to link instead of a shared archive.
18192 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18194 # Commands used to build a shared archive.
18195 archive_cmds=$lt_archive_cmds
18196 archive_expsym_cmds=$lt_archive_expsym_cmds
18198 # Commands used to build a loadable module if different from building
18199 # a shared archive.
18200 module_cmds=$lt_module_cmds
18201 module_expsym_cmds=$lt_module_expsym_cmds
18203 # Whether we are building with GNU ld or not.
18204 with_gnu_ld=$lt_with_gnu_ld
18206 # Flag that allows shared libraries with undefined symbols to be built.
18207 allow_undefined_flag=$lt_allow_undefined_flag
18209 # Flag that enforces no undefined symbols.
18210 no_undefined_flag=$lt_no_undefined_flag
18212 # Flag to hardcode \$libdir into a binary during linking.
18213 # This must work even if \$libdir does not exist
18214 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18216 # If ld is used when linking, flag to hardcode \$libdir into a binary
18217 # during linking. This must work even if \$libdir does not exist.
18218 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18220 # Whether we need a single "-rpath" flag with a separated argument.
18221 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18223 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18224 # DIR into the resulting binary.
18225 hardcode_direct=$hardcode_direct
18227 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18228 # DIR into the resulting binary and the resulting library dependency is
18229 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18230 # library is relocated.
18231 hardcode_direct_absolute=$hardcode_direct_absolute
18233 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18234 # into the resulting binary.
18235 hardcode_minus_L=$hardcode_minus_L
18237 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18238 # into the resulting binary.
18239 hardcode_shlibpath_var=$hardcode_shlibpath_var
18241 # Set to "yes" if building a shared library automatically hardcodes DIR
18242 # into the library and all subsequent libraries and executables linked
18244 hardcode_automatic=$hardcode_automatic
18246 # Set to yes if linker adds runtime paths of dependent libraries
18247 # to runtime path list.
18248 inherit_rpath=$inherit_rpath
18250 # Whether libtool must link a program against all its dependency libraries.
18251 link_all_deplibs=$link_all_deplibs
18253 # Fix the shell variable \$srcfile for the compiler.
18254 fix_srcfile_path=$lt_fix_srcfile_path
18256 # Set to "yes" if exported symbols are required.
18257 always_export_symbols=$always_export_symbols
18259 # The commands to list exported symbols.
18260 export_symbols_cmds=$lt_export_symbols_cmds
18262 # Symbols that should not be listed in the preloaded symbols.
18263 exclude_expsyms=$lt_exclude_expsyms
18265 # Symbols that must always be exported.
18266 include_expsyms=$lt_include_expsyms
18268 # Commands necessary for linking programs (against libraries) with templates.
18269 prelink_cmds=$lt_prelink_cmds
18271 # Specify filename containing input files.
18272 file_list_spec=$lt_file_list_spec
18274 # How to hardcode a shared library path into an executable.
18275 hardcode_action=$hardcode_action
18277 # The directories searched by this compiler when creating a shared library.
18278 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18280 # Dependencies to place before and after the objects being linked to
18281 # create a shared library.
18282 predep_objects=$lt_predep_objects
18283 postdep_objects=$lt_postdep_objects
18284 predeps=$lt_predeps
18285 postdeps=$lt_postdeps
18287 # The library search path used internally by the compiler when linking
18288 # a shared library.
18289 compiler_lib_search_path=$lt_compiler_lib_search_path
18291 # ### END LIBTOOL CONFIG
18297 cat <<\_LT_EOF
>> "$cfgfile"
18298 # AIX sometimes has problems with the GCC collect2 program. For some
18299 # reason, if we set the COLLECT_NAMES environment variable, the problems
18300 # vanish in a puff of smoke.
18301 if test "X${COLLECT_NAMES+set}" != Xset
; then
18303 export COLLECT_NAMES
18310 ltmain
="$ac_aux_dir/ltmain.sh"
18313 # We use sed instead of cat because bash on DJGPP gets confused if
18314 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18315 # text mode, it properly converts lines to CR/LF. This bash problem
18316 # is reportedly fixed, but why not run on old versions too?
18317 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18318 ||
(rm -f "$cfgfile"; exit 1)
18322 cat << \_LT_EOF
>> "$cfgfile"
18324 # func_dirname file append nondir_replacement
18325 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18326 # otherwise set result to NONDIR_REPLACEMENT.
18330 */*) func_dirname_result
="${1%/*}${2}" ;;
18331 * ) func_dirname_result
="${3}" ;;
18335 # func_basename file
18338 func_basename_result
="${1##*/}"
18341 # func_dirname_and_basename file append nondir_replacement
18342 # perform func_basename and func_dirname in a single function
18344 # dirname: Compute the dirname of FILE. If nonempty,
18345 # add APPEND to the result, otherwise set result
18346 # to NONDIR_REPLACEMENT.
18347 # value returned in "$func_dirname_result"
18348 # basename: Compute filename of FILE.
18349 # value retuned in "$func_basename_result"
18350 # Implementation must be kept synchronized with func_dirname
18351 # and func_basename. For efficiency, we do not delegate to
18352 # those functions but instead duplicate the functionality here.
18353 func_dirname_and_basename
()
18356 */*) func_dirname_result
="${1%/*}${2}" ;;
18357 * ) func_dirname_result
="${3}" ;;
18359 func_basename_result
="${1##*/}"
18362 # func_stripname prefix suffix name
18363 # strip PREFIX and SUFFIX off of NAME.
18364 # PREFIX and SUFFIX must not contain globbing or regex special
18365 # characters, hashes, percent signs, but SUFFIX may contain a leading
18366 # dot (in which case that matches only a dot).
18369 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18370 # positional parameters, so assign one to ordinary parameter first.
18371 func_stripname_result
=${3}
18372 func_stripname_result
=${func_stripname_result#"${1}"}
18373 func_stripname_result
=${func_stripname_result%"${2}"}
18379 func_opt_split_opt
=${1%%=*}
18380 func_opt_split_arg
=${1#*=}
18387 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
18388 *) func_lo2o_result
=${1} ;;
18392 # func_xform libobj-or-source
18395 func_xform_result
=${1%.*}.lo
18398 # func_arith arithmetic-term...
18401 func_arith_result
=$
(( $
* ))
18405 # STRING may not start with a hyphen.
18408 func_len_result
=${#1}
18413 *) # Bourne compatible functions.
18414 cat << \_LT_EOF
>> "$cfgfile"
18416 # func_dirname file append nondir_replacement
18417 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18418 # otherwise set result to NONDIR_REPLACEMENT.
18421 # Extract subdirectory from the argument.
18422 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
18423 if test "X$func_dirname_result" = "X${1}"; then
18424 func_dirname_result
="${3}"
18426 func_dirname_result
="$func_dirname_result${2}"
18430 # func_basename file
18433 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
18437 # func_stripname prefix suffix name
18438 # strip PREFIX and SUFFIX off of NAME.
18439 # PREFIX and SUFFIX must not contain globbing or regex special
18440 # characters, hashes, percent signs, but SUFFIX may contain a leading
18441 # dot (in which case that matches only a dot).
18442 # func_strip_suffix prefix name
18446 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
18447 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
18452 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18453 my_sed_long_arg
='1s/^-[^=]*=//'
18458 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
18459 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
18465 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
18468 # func_xform libobj-or-source
18471 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
18474 # func_arith arithmetic-term...
18477 func_arith_result
=`expr "$@"`
18481 # STRING may not start with a hyphen.
18484 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18490 case $lt_shell_append in
18492 cat << \_LT_EOF
>> "$cfgfile"
18494 # func_append var value
18495 # Append VALUE to the end of shell variable VAR.
18503 cat << \_LT_EOF
>> "$cfgfile"
18505 # func_append var value
18506 # Append VALUE to the end of shell variable VAR.
18517 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18518 ||
(rm -f "$cfgfile"; exit 1)
18520 mv -f "$cfgfile" "$ofile" ||
18521 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18525 cat <<_LT_EOF >> "$ofile"
18527 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18529 # The linker used to build libraries.
18532 # How to create reloadable object files.
18533 reload_flag=$lt_reload_flag_CXX
18534 reload_cmds=$lt_reload_cmds_CXX
18536 # Commands used to build an old-style archive.
18537 old_archive_cmds=$lt_old_archive_cmds_CXX
18539 # A language specific compiler.
18540 CC=$lt_compiler_CXX
18542 # Is the compiler the GNU compiler?
18545 # Compiler flag to turn off builtin functions.
18546 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18548 # How to pass a linker flag through the compiler.
18549 wl=$lt_lt_prog_compiler_wl_CXX
18551 # Additional compiler flags for building library objects.
18552 pic_flag=$lt_lt_prog_compiler_pic_CXX
18554 # Compiler flag to prevent dynamic linking.
18555 link_static_flag=$lt_lt_prog_compiler_static_CXX
18557 # Does compiler simultaneously support -c and -o options?
18558 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18560 # Whether or not to add -lc for building shared libraries.
18561 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18563 # Whether or not to disallow shared libs when runtime libs are static.
18564 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18566 # Compiler flag to allow reflexive dlopens.
18567 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18569 # Compiler flag to generate shared objects directly from archives.
18570 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18572 # Whether the compiler copes with passing no objects directly.
18573 compiler_needs_object=$lt_compiler_needs_object_CXX
18575 # Create an old-style archive from a shared archive.
18576 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18578 # Create a temporary old-style archive to link instead of a shared archive.
18579 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18581 # Commands used to build a shared archive.
18582 archive_cmds=$lt_archive_cmds_CXX
18583 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18585 # Commands used to build a loadable module if different from building
18586 # a shared archive.
18587 module_cmds=$lt_module_cmds_CXX
18588 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18590 # Whether we are building with GNU ld or not.
18591 with_gnu_ld=$lt_with_gnu_ld_CXX
18593 # Flag that allows shared libraries with undefined symbols to be built.
18594 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18596 # Flag that enforces no undefined symbols.
18597 no_undefined_flag=$lt_no_undefined_flag_CXX
18599 # Flag to hardcode \$libdir into a binary during linking.
18600 # This must work even if \$libdir does not exist
18601 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18603 # If ld is used when linking, flag to hardcode \$libdir into a binary
18604 # during linking. This must work even if \$libdir does not exist.
18605 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18607 # Whether we need a single "-rpath" flag with a separated argument.
18608 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18610 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18611 # DIR into the resulting binary.
18612 hardcode_direct=$hardcode_direct_CXX
18614 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18615 # DIR into the resulting binary and the resulting library dependency is
18616 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18617 # library is relocated.
18618 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18620 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18621 # into the resulting binary.
18622 hardcode_minus_L=$hardcode_minus_L_CXX
18624 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18625 # into the resulting binary.
18626 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18628 # Set to "yes" if building a shared library automatically hardcodes DIR
18629 # into the library and all subsequent libraries and executables linked
18631 hardcode_automatic=$hardcode_automatic_CXX
18633 # Set to yes if linker adds runtime paths of dependent libraries
18634 # to runtime path list.
18635 inherit_rpath=$inherit_rpath_CXX
18637 # Whether libtool must link a program against all its dependency libraries.
18638 link_all_deplibs=$link_all_deplibs_CXX
18640 # Fix the shell variable \$srcfile for the compiler.
18641 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18643 # Set to "yes" if exported symbols are required.
18644 always_export_symbols=$always_export_symbols_CXX
18646 # The commands to list exported symbols.
18647 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18649 # Symbols that should not be listed in the preloaded symbols.
18650 exclude_expsyms=$lt_exclude_expsyms_CXX
18652 # Symbols that must always be exported.
18653 include_expsyms=$lt_include_expsyms_CXX
18655 # Commands necessary for linking programs (against libraries) with templates.
18656 prelink_cmds=$lt_prelink_cmds_CXX
18658 # Specify filename containing input files.
18659 file_list_spec=$lt_file_list_spec_CXX
18661 # How to hardcode a shared library path into an executable.
18662 hardcode_action=$hardcode_action_CXX
18664 # The directories searched by this compiler when creating a shared library.
18665 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18667 # Dependencies to place before and after the objects being linked to
18668 # create a shared library.
18669 predep_objects=$lt_predep_objects_CXX
18670 postdep_objects=$lt_postdep_objects_CXX
18671 predeps=$lt_predeps_CXX
18672 postdeps=$lt_postdeps_CXX
18674 # The library search path used internally by the compiler when linking
18675 # a shared library.
18676 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18678 # ### END LIBTOOL TAG CONFIG: CXX
18682 "include":C
) test -d include || mkdir include
;;
18684 test -d src || mkdir src
18685 test -d src
/$TARGETDIR || mkdir src
/$TARGETDIR
18694 ac_clean_files
=$ac_clean_files_save
18696 test $ac_write_fail = 0 ||
18697 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18700 # configure is writing to config.log, and then calls config.status.
18701 # config.status does its own redirection, appending to config.log.
18702 # Unfortunately, on DOS this fails, as config.log is still kept open
18703 # by configure, so config.status won't be able to write to it; its
18704 # output is simply discarded. So we exec the FD to /dev/null,
18705 # effectively closing config.log, so it can be properly (re)opened and
18706 # appended to by config.status. When coming back to configure, we
18707 # need to make the FD available again.
18708 if test "$no_create" != yes; then
18710 ac_config_status_args
=
18711 test "$silent" = yes &&
18712 ac_config_status_args
="$ac_config_status_args --quiet"
18714 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18716 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18717 # would make configure fail if this is the last instruction.
18718 $ac_cs_success || as_fn_exit $?
18720 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18722 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}