2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
173 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
174 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
175 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 PATH=/empty FPATH=/empty; export PATH FPATH
178 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
179 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
180 test \$(( 1 + 1 )) = 2 || exit 1"
181 if (eval "$as_required") 2>/dev
/null
; then :
186 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
191 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir
=.
198 for as_base
in sh bash ksh sh5
; do
199 # Try only shells that exist, to save several forks.
200 as_shell
=$as_dir/$as_base
201 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
203 CONFIG_SHELL
=$as_shell as_have_required
=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
212 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
214 CONFIG_SHELL
=$SHELL as_have_required
=yes
219 if test "x$CONFIG_SHELL" != x
; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x
$as_have_required = xno
; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x
${ZSH_VERSION+set} = xset
; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL
=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE
= GREP_OPTIONS
=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir
=.
/$as_dir;;
291 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
295 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs
="'$as_qdir' $as_dirs"
299 as_dir
=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
325 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
360 as_val
=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status
=$?
; test $as_status -eq 0 && as_status
=1
374 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit
$as_status
381 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
388 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
400 as_me
=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits
='0123456789'
424 as_cr_alnum
=$as_cr_Letters$as_cr_digits
427 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
428 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C
= ECHO_N
= ECHO_T
=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
471 rm -f conf$$ conf$$.exe conf$$.
file
472 if test -d conf$$.dir
; then
473 rm -f conf$$.dir
/conf$$.
file
476 mkdir conf$$.dir
2>/dev
/null
478 if (echo >conf$$.
file) 2>/dev
/null
; then
479 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
487 elif ln conf$$.
file conf$$
2>/dev
/null
; then
495 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
496 rmdir conf$$.dir
2>/dev
/null
498 if mkdir
-p .
2>/dev
/null
; then
499 as_mkdir_p
='mkdir -p "$as_dir"'
501 test -d .
/-p && rmdir .
/-p
505 if test -x / >/dev
/null
2>&1; then
508 if ls -dL / >/dev
/null
2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p
=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL
=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev
/null
6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
556 # Identity of this package.
564 ac_unique_file
="gcj_mlc.c"
565 # Factoring default headers for most tests.
566 ac_includes_default
="\
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
578 # ifdef HAVE_STDLIB_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
601 ac_subst_vars
='am__EXEEXT_FALSE
642 MAINTAINER_MODE_FALSE
679 INSTALL_STRIP_PROGRAM
736 program_transform_name
749 enable_option_checking
751 enable_dependency_tracking
752 enable_maintainer_mode
765 ac_precious_vars
='build_alias
773 # Initialize some variables set by options.
775 ac_init_version
=false
776 ac_unrecognized_opts
=
778 # The variables have the same names as the options, with
779 # dashes changed to underlines.
787 program_transform_name
=s
,x
,x
,
795 # Installation directory options.
796 # These are left unexpanded so users can "make install exec_prefix=/foo"
797 # and all the variables that are supposed to be based on exec_prefix
798 # by default will actually change.
799 # Use braces instead of parens because sh, perl, etc. also accept them.
800 # (The list follows the same order as the GNU Coding Standards.)
801 bindir
='${exec_prefix}/bin'
802 sbindir
='${exec_prefix}/sbin'
803 libexecdir
='${exec_prefix}/libexec'
804 datarootdir
='${prefix}/share'
805 datadir
='${datarootdir}'
806 sysconfdir
='${prefix}/etc'
807 sharedstatedir
='${prefix}/com'
808 localstatedir
='${prefix}/var'
809 includedir
='${prefix}/include'
810 oldincludedir
='/usr/include'
811 docdir
='${datarootdir}/doc/${PACKAGE}'
812 infodir
='${datarootdir}/info'
817 libdir
='${exec_prefix}/lib'
818 localedir
='${datarootdir}/locale'
819 mandir
='${datarootdir}/man'
825 # If the previous option needs an argument, assign it.
826 if test -n "$ac_prev"; then
827 eval $ac_prev=\
$ac_option
833 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
837 # Accept the important Cygnus configure options, so we can diagnose typos.
839 case $ac_dashdash$ac_option in
843 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
845 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
848 -build |
--build |
--buil |
--bui |
--bu)
849 ac_prev
=build_alias
;;
850 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
851 build_alias
=$ac_optarg ;;
853 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
854 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
855 ac_prev
=cache_file
;;
856 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
857 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
858 cache_file
=$ac_optarg ;;
861 cache_file
=config.cache
;;
863 -datadir |
--datadir |
--datadi |
--datad)
865 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
866 datadir
=$ac_optarg ;;
868 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
869 |
--dataroo |
--dataro |
--datar)
870 ac_prev
=datarootdir
;;
871 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
872 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
873 datarootdir
=$ac_optarg ;;
875 -disable-* |
--disable-*)
876 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
877 # Reject names that are not valid shell variable names.
878 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
879 as_fn_error
"invalid feature name: $ac_useropt"
880 ac_useropt_orig
=$ac_useropt
881 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
882 case $ac_user_opts in
886 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
887 ac_unrecognized_sep
=', ';;
889 eval enable_
$ac_useropt=no
;;
891 -docdir |
--docdir |
--docdi |
--doc |
--do)
893 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
896 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
898 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
901 -enable-* |
--enable-*)
902 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
903 # Reject names that are not valid shell variable names.
904 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
905 as_fn_error
"invalid feature name: $ac_useropt"
906 ac_useropt_orig
=$ac_useropt
907 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
908 case $ac_user_opts in
912 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
913 ac_unrecognized_sep
=', ';;
915 eval enable_
$ac_useropt=\
$ac_optarg ;;
917 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
918 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
919 |
--exec |
--exe |
--ex)
920 ac_prev
=exec_prefix
;;
921 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
922 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
923 |
--exec=* |
--exe=* |
--ex=*)
924 exec_prefix
=$ac_optarg ;;
926 -gas |
--gas |
--ga |
--g)
927 # Obsolete; use --with-gas.
930 -help |
--help |
--hel |
--he |
-h)
932 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
933 ac_init_help
=recursive
;;
934 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
935 ac_init_help
=short
;;
937 -host |
--host |
--hos |
--ho)
938 ac_prev
=host_alias
;;
939 -host=* |
--host=* |
--hos=* |
--ho=*)
940 host_alias
=$ac_optarg ;;
942 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
944 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
946 htmldir
=$ac_optarg ;;
948 -includedir |
--includedir |
--includedi |
--included |
--include \
949 |
--includ |
--inclu |
--incl |
--inc)
950 ac_prev
=includedir
;;
951 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
952 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
953 includedir
=$ac_optarg ;;
955 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
957 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
958 infodir
=$ac_optarg ;;
960 -libdir |
--libdir |
--libdi |
--libd)
962 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
965 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
966 |
--libexe |
--libex |
--libe)
967 ac_prev
=libexecdir
;;
968 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
969 |
--libexe=* |
--libex=* |
--libe=*)
970 libexecdir
=$ac_optarg ;;
972 -localedir |
--localedir |
--localedi |
--localed |
--locale)
974 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
975 localedir
=$ac_optarg ;;
977 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
978 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
979 ac_prev
=localstatedir
;;
980 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
981 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
982 localstatedir
=$ac_optarg ;;
984 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
986 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
990 # Obsolete; use --without-fp.
993 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
994 |
--no-cr |
--no-c |
-n)
997 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
998 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1001 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1002 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1003 |
--oldin |
--oldi |
--old |
--ol |
--o)
1004 ac_prev
=oldincludedir
;;
1005 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1006 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1007 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1008 oldincludedir
=$ac_optarg ;;
1010 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1012 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1013 prefix
=$ac_optarg ;;
1015 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1016 |
--program-pre |
--program-pr |
--program-p)
1017 ac_prev
=program_prefix
;;
1018 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1019 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1020 program_prefix
=$ac_optarg ;;
1022 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1023 |
--program-suf |
--program-su |
--program-s)
1024 ac_prev
=program_suffix
;;
1025 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1026 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1027 program_suffix
=$ac_optarg ;;
1029 -program-transform-name |
--program-transform-name \
1030 |
--program-transform-nam |
--program-transform-na \
1031 |
--program-transform-n |
--program-transform- \
1032 |
--program-transform |
--program-transfor \
1033 |
--program-transfo |
--program-transf \
1034 |
--program-trans |
--program-tran \
1035 |
--progr-tra |
--program-tr |
--program-t)
1036 ac_prev
=program_transform_name
;;
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 program_transform_name
=$ac_optarg ;;
1046 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1048 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1049 pdfdir
=$ac_optarg ;;
1051 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1053 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1056 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1057 |
-silent |
--silent |
--silen |
--sile |
--sil)
1060 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1062 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1064 sbindir
=$ac_optarg ;;
1066 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1067 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1068 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1070 ac_prev
=sharedstatedir
;;
1071 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1072 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1073 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1075 sharedstatedir
=$ac_optarg ;;
1077 -site |
--site |
--sit)
1079 -site=* |
--site=* |
--sit=*)
1082 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1084 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1085 srcdir
=$ac_optarg ;;
1087 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1088 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1089 ac_prev
=sysconfdir
;;
1090 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1091 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1092 sysconfdir
=$ac_optarg ;;
1094 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1095 ac_prev
=target_alias
;;
1096 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1097 target_alias
=$ac_optarg ;;
1099 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1102 -version |
--version |
--versio |
--versi |
--vers |
-V)
1103 ac_init_version
=: ;;
1106 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1107 # Reject names that are not valid shell variable names.
1108 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1109 as_fn_error
"invalid package name: $ac_useropt"
1110 ac_useropt_orig
=$ac_useropt
1111 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1112 case $ac_user_opts in
1116 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1117 ac_unrecognized_sep
=', ';;
1119 eval with_
$ac_useropt=\
$ac_optarg ;;
1121 -without-* |
--without-*)
1122 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1123 # Reject names that are not valid shell variable names.
1124 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1125 as_fn_error
"invalid package name: $ac_useropt"
1126 ac_useropt_orig
=$ac_useropt
1127 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1128 case $ac_user_opts in
1132 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1133 ac_unrecognized_sep
=', ';;
1135 eval with_
$ac_useropt=no
;;
1138 # Obsolete; use --with-x.
1141 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1142 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1143 ac_prev
=x_includes
;;
1144 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1145 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1146 x_includes
=$ac_optarg ;;
1148 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1149 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1150 ac_prev
=x_libraries
;;
1151 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1152 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1153 x_libraries
=$ac_optarg ;;
1155 -*) as_fn_error
"unrecognized option: \`$ac_option'
1156 Try \`$0 --help' for more information."
1160 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1161 # Reject names that are not valid shell variable names.
1162 case $ac_envvar in #(
1163 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1164 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1166 eval $ac_envvar=\
$ac_optarg
1167 export $ac_envvar ;;
1170 # FIXME: should be removed in autoconf 3.0.
1171 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1172 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1173 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1174 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1180 if test -n "$ac_prev"; then
1181 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1182 as_fn_error
"missing argument to $ac_option"
1185 if test -n "$ac_unrecognized_opts"; then
1186 case $enable_option_checking in
1188 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1189 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1193 # Check all directory arguments for consistency.
1194 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1195 datadir sysconfdir sharedstatedir localstatedir includedir \
1196 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1197 libdir localedir mandir
1199 eval ac_val
=\$
$ac_var
1200 # Remove trailing slashes.
1203 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1204 eval $ac_var=\
$ac_val;;
1206 # Be sure to have absolute directory names.
1208 [\\/$
]* | ?
:[\\/]* ) continue;;
1209 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1211 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1214 # There might be people who depend on the old broken behavior: `$host'
1215 # used to hold the argument of --host etc.
1216 # FIXME: To remove some day.
1219 target
=$target_alias
1221 # FIXME: To remove some day.
1222 if test "x$host_alias" != x
; then
1223 if test "x$build_alias" = x
; then
1224 cross_compiling
=maybe
1225 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1226 If a cross compiler is detected then cross compile mode will be used." >&2
1227 elif test "x$build_alias" != "x$host_alias"; then
1233 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1235 test "$silent" = yes && exec 6>/dev
/null
1238 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1239 ac_ls_di
=`ls -di .` &&
1240 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1241 as_fn_error
"working directory cannot be determined"
1242 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1243 as_fn_error
"pwd does not report name of working directory"
1246 # Find the source files, if location was not specified.
1247 if test -z "$srcdir"; then
1248 ac_srcdir_defaulted
=yes
1249 # Try the directory containing this script, then the parent directory.
1250 ac_confdir
=`$as_dirname -- "$as_myself" ||
1251 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1252 X"$as_myself" : 'X\(//\)[^/]' \| \
1253 X"$as_myself" : 'X\(//\)$' \| \
1254 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1255 $as_echo X"$as_myself" |
1256 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1274 if test ! -r "$srcdir/$ac_unique_file"; then
1278 ac_srcdir_defaulted
=no
1280 if test ! -r "$srcdir/$ac_unique_file"; then
1281 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1282 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1284 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1286 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1288 # When building in place, set srcdir=.
1289 if test "$ac_abs_confdir" = "$ac_pwd"; then
1292 # Remove unnecessary trailing slashes from srcdir.
1293 # Double slashes in file names in object file debugging info
1294 # mess up M-x gdb in Emacs.
1296 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1298 for ac_var
in $ac_precious_vars; do
1299 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1300 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1301 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1302 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1306 # Report the --help message.
1308 if test "$ac_init_help" = "long"; then
1309 # Omit some internal or obsolete options to make the list less imposing.
1310 # This message is too long to be a string in the A/UX 3.1 sh.
1312 \`configure' configures this package to adapt to many kinds of systems.
1314 Usage: $0 [OPTION]... [VAR=VALUE]...
1316 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1317 VAR=VALUE. See below for descriptions of some of the useful variables.
1319 Defaults for the options are specified in brackets.
1322 -h, --help display this help and exit
1323 --help=short display options specific to this package
1324 --help=recursive display the short help of all the included packages
1325 -V, --version display version information and exit
1326 -q, --quiet, --silent do not print \`checking...' messages
1327 --cache-file=FILE cache test results in FILE [disabled]
1328 -C, --config-cache alias for \`--cache-file=config.cache'
1329 -n, --no-create do not create output files
1330 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1332 Installation directories:
1333 --prefix=PREFIX install architecture-independent files in PREFIX
1334 [$ac_default_prefix]
1335 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1338 By default, \`make install' will install all the files in
1339 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1340 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1341 for instance \`--prefix=\$HOME'.
1343 For better control, use the options below.
1345 Fine tuning of the installation directories:
1346 --bindir=DIR user executables [EPREFIX/bin]
1347 --sbindir=DIR system admin executables [EPREFIX/sbin]
1348 --libexecdir=DIR program executables [EPREFIX/libexec]
1349 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1350 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1351 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1352 --libdir=DIR object code libraries [EPREFIX/lib]
1353 --includedir=DIR C header files [PREFIX/include]
1354 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1355 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1356 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1357 --infodir=DIR info documentation [DATAROOTDIR/info]
1358 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1359 --mandir=DIR man documentation [DATAROOTDIR/man]
1360 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1361 --htmldir=DIR html documentation [DOCDIR]
1362 --dvidir=DIR dvi documentation [DOCDIR]
1363 --pdfdir=DIR pdf documentation [DOCDIR]
1364 --psdir=DIR ps documentation [DOCDIR]
1370 --program-prefix=PREFIX prepend PREFIX to installed program names
1371 --program-suffix=SUFFIX append SUFFIX to installed program names
1372 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1375 --build=BUILD configure
for building on BUILD
[guessed
]
1376 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1377 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1381 if test -n "$ac_init_help"; then
1386 --disable-option-checking ignore unrecognized
--enable/--with options
1387 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1388 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1389 --enable-multilib build many library versions
(default
)
1390 --disable-dependency-tracking speeds up one-time build
1391 --enable-dependency-tracking do not reject slow dependency extractors
1392 --enable-maintainer-mode enable make rules and dependencies not useful
1393 (and sometimes confusing
) to the casual installer
1394 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1395 --enable-static[=PKGS
] build static libraries
[default
=yes]
1396 --enable-fast-install[=PKGS
]
1397 optimize
for fast installation
[default
=yes]
1398 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1399 --enable-parallel-mark parallelize marking and free list construction
1400 --enable-gc-debug include full support
for pointer backtracing etc.
1403 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1404 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1405 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1407 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1408 --with-target-subdir=SUBDIR
1409 configuring with a cross compiler
1410 --with-cross-host=HOST configuring with a cross compiler
1411 --with-ecos enable runtime eCos target support
1413 Some influential environment variables
:
1414 CC C compiler
command
1415 CFLAGS C compiler flags
1416 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1417 nonstandard directory
<lib dir
>
1418 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1419 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1420 you have headers
in a nonstandard directory
<include dir
>
1421 CXX C
++ compiler
command
1422 CXXFLAGS C
++ compiler flags
1424 CXXCPP C
++ preprocessor
1426 Use these variables to override the choices made by
`configure' or to help
1427 it to find libraries and programs with nonstandard names/locations.
1429 Report bugs to the package provider.
1434 if test "$ac_init_help" = "recursive"; then
1435 # If there are subdirs, report their specific --help.
1436 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1437 test -d "$ac_dir" ||
1438 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1443 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1445 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1446 # A ".." for each directory in $ac_dir_suffix.
1447 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1448 case $ac_top_builddir_sub in
1449 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1450 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1453 ac_abs_top_builddir=$ac_pwd
1454 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1455 # for backward compatibility:
1456 ac_top_builddir=$ac_top_build_prefix
1459 .) # We are building in place.
1461 ac_top_srcdir=$ac_top_builddir_sub
1462 ac_abs_top_srcdir=$ac_pwd ;;
1463 [\\/]* | ?:[\\/]* ) # Absolute name.
1464 ac_srcdir=$srcdir$ac_dir_suffix;
1465 ac_top_srcdir=$srcdir
1466 ac_abs_top_srcdir=$srcdir ;;
1468 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1469 ac_top_srcdir=$ac_top_build_prefix$srcdir
1470 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1472 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1474 cd "$ac_dir" || { ac_status=$?; continue; }
1475 # Check for guested configure.
1476 if test -f "$ac_srcdir/configure.gnu"; then
1478 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1479 elif test -f "$ac_srcdir/configure"; then
1481 $SHELL "$ac_srcdir/configure" --help=recursive
1483 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1485 cd "$ac_pwd" || { ac_status=$?; break; }
1489 test -n "$ac_init_help" && exit $ac_status
1490 if $ac_init_version; then
1493 generated by GNU Autoconf 2.64
1495 Copyright (C) 2009 Free Software Foundation, Inc.
1496 This configure script is free software; the Free Software Foundation
1497 gives unlimited permission to copy, distribute and modify it.
1502 ## ------------------------ ##
1503 ## Autoconf initialization. ##
1504 ## ------------------------ ##
1506 # ac_fn_c_try_compile LINENO
1507 # --------------------------
1508 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1509 ac_fn_c_try_compile ()
1511 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1512 rm -f conftest.$ac_objext
1513 if { { ac_try="$ac_compile"
1515 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1516 *) ac_try_echo
=$ac_try;;
1518 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1519 $as_echo "$ac_try_echo"; } >&5
1520 (eval "$ac_compile") 2>conftest.err
1522 if test -s conftest.err
; then
1523 grep -v '^ *+' conftest.err
>conftest.er1
1524 cat conftest.er1
>&5
1525 mv -f conftest.er1 conftest.err
1527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1528 test $ac_status = 0; } && {
1529 test -z "$ac_c_werror_flag" ||
1530 test ! -s conftest.err
1531 } && test -s conftest.
$ac_objext; then :
1534 $as_echo "$as_me: failed program was:" >&5
1535 sed 's/^/| /' conftest.
$ac_ext >&5
1539 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1542 } # ac_fn_c_try_compile
1544 # ac_fn_cxx_try_compile LINENO
1545 # ----------------------------
1546 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1547 ac_fn_cxx_try_compile
()
1549 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1550 rm -f conftest.
$ac_objext
1551 if { { ac_try
="$ac_compile"
1553 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1554 *) ac_try_echo=$ac_try;;
1556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1557 $as_echo "$ac_try_echo"; } >&5
1558 (eval "$ac_compile") 2>conftest.err
1560 if test -s conftest.err; then
1561 grep -v '^ *+' conftest.err >conftest.er1
1562 cat conftest.er1 >&5
1563 mv -f conftest.er1 conftest.err
1565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1566 test $ac_status = 0; } && {
1567 test -z "$ac_cxx_werror_flag" ||
1568 test ! -s conftest.err
1569 } && test -s conftest.$ac_objext; then :
1572 $as_echo "$as_me: failed program was:" >&5
1573 sed 's/^/| /' conftest.$ac_ext >&5
1577 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1580 } # ac_fn_cxx_try_compile
1582 # ac_fn_c_try_link LINENO
1583 # -----------------------
1584 # Try to link conftest.$ac_ext, and return whether this succeeded.
1587 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1588 rm -f conftest.$ac_objext conftest$ac_exeext
1589 if { { ac_try="$ac_link"
1591 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1592 *) ac_try_echo
=$ac_try;;
1594 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1595 $as_echo "$ac_try_echo"; } >&5
1596 (eval "$ac_link") 2>conftest.err
1598 if test -s conftest.err
; then
1599 grep -v '^ *+' conftest.err
>conftest.er1
1600 cat conftest.er1
>&5
1601 mv -f conftest.er1 conftest.err
1603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1604 test $ac_status = 0; } && {
1605 test -z "$ac_c_werror_flag" ||
1606 test ! -s conftest.err
1607 } && test -s conftest
$ac_exeext && {
1608 test "$cross_compiling" = yes ||
1609 $as_test_x conftest
$ac_exeext
1613 $as_echo "$as_me: failed program was:" >&5
1614 sed 's/^/| /' conftest.
$ac_ext >&5
1618 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1619 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1620 # interfere with the next link command; also delete a directory that is
1621 # left behind by Apple's compiler. We do this before executing the actions.
1622 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1623 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1626 } # ac_fn_c_try_link
1628 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1629 # -------------------------------------------------------
1630 # Tests whether HEADER exists and can be compiled using the include files in
1631 # INCLUDES, setting the cache variable VAR accordingly.
1632 ac_fn_c_check_header_compile
()
1634 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1636 $as_echo_n "checking for $2... " >&6; }
1637 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1638 $as_echo_n "(cached) " >&6
1640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1641 /* end confdefs.h. */
1645 if ac_fn_c_try_compile
"$LINENO"; then :
1650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1654 $as_echo "$ac_res" >&6; }
1655 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1657 } # ac_fn_c_check_header_compile
1659 # ac_fn_c_try_cpp LINENO
1660 # ----------------------
1661 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1664 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1665 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1667 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1668 *) ac_try_echo=$ac_try;;
1670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1671 $as_echo "$ac_try_echo"; } >&5
1672 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1674 if test -s conftest.err; then
1675 grep -v '^ *+' conftest.err >conftest.er1
1676 cat conftest.er1 >&5
1677 mv -f conftest.er1 conftest.err
1679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1680 test $ac_status = 0; } >/dev/null && {
1681 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1682 test ! -s conftest.err
1686 $as_echo "$as_me: failed program was:" >&5
1687 sed 's/^/| /' conftest.$ac_ext >&5
1691 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1696 # ac_fn_c_try_run LINENO
1697 # ----------------------
1698 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1699 # that executables *can* be run.
1702 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703 if { { ac_try="$ac_link"
1705 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1706 *) ac_try_echo
=$ac_try;;
1708 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1709 $as_echo "$ac_try_echo"; } >&5
1710 (eval "$ac_link") 2>&5
1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1714 { { case "(($ac_try" in
1715 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1716 *) ac_try_echo=$ac_try;;
1718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1719 $as_echo "$ac_try_echo"; } >&5
1720 (eval "$ac_try") 2>&5
1722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1723 test $ac_status = 0; }; }; then :
1726 $as_echo "$as_me: program exited with status $ac_status" >&5
1727 $as_echo "$as_me: failed program was:" >&5
1728 sed 's/^/| /' conftest.$ac_ext >&5
1730 ac_retval=$ac_status
1732 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1733 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1738 # ac_fn_c_check_func LINENO FUNC VAR
1739 # ----------------------------------
1740 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1741 ac_fn_c_check_func ()
1743 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1745 $as_echo_n "checking for $2... " >&6; }
1746 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1747 $as_echo_n "(cached) " >&6
1749 if test x$gcc_no_link = xyes; then
1750 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1753 /* end confdefs.h. */
1754 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1756 #define $2 innocuous_$2
1758 /* System header to define __stub macros and hopefully few prototypes,
1759 which can conflict with char $2 (); below.
1760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1761 <limits.h> exists even on freestanding compilers. */
1764 # include <limits.h>
1766 # include <assert.h>
1771 /* Override any GCC internal prototype to avoid an error.
1772 Use char because int might match the return type of a GCC
1773 builtin and then its argument prototype would still apply. */
1778 /* The GNU C library defines this for functions which it implements
1779 to always fail with ENOSYS. Some functions are actually named
1780 something starting with __ and the normal name is an alias. */
1781 #if defined __stub_$2 || defined __stub___$2
1793 if ac_fn_c_try_link "$LINENO"; then :
1798 rm -f core conftest.err conftest.$ac_objext \
1799 conftest$ac_exeext conftest.$ac_ext
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1803 $as_echo "$ac_res" >&6; }
1804 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1806 } # ac_fn_c_check_func
1808 # ac_fn_cxx_try_cpp LINENO
1809 # ------------------------
1810 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1811 ac_fn_cxx_try_cpp ()
1813 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1814 if { { ac_try="$ac_cpp conftest.$ac_ext"
1816 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1817 *) ac_try_echo
=$ac_try;;
1819 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1820 $as_echo "$ac_try_echo"; } >&5
1821 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1823 if test -s conftest.err
; then
1824 grep -v '^ *+' conftest.err
>conftest.er1
1825 cat conftest.er1
>&5
1826 mv -f conftest.er1 conftest.err
1828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1829 test $ac_status = 0; } >/dev
/null
&& {
1830 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1831 test ! -s conftest.err
1835 $as_echo "$as_me: failed program was:" >&5
1836 sed 's/^/| /' conftest.
$ac_ext >&5
1840 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1843 } # ac_fn_cxx_try_cpp
1845 # ac_fn_cxx_try_link LINENO
1846 # -------------------------
1847 # Try to link conftest.$ac_ext, and return whether this succeeded.
1848 ac_fn_cxx_try_link
()
1850 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1851 rm -f conftest.
$ac_objext conftest
$ac_exeext
1852 if { { ac_try
="$ac_link"
1854 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1855 *) ac_try_echo=$ac_try;;
1857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1858 $as_echo "$ac_try_echo"; } >&5
1859 (eval "$ac_link") 2>conftest.err
1861 if test -s conftest.err; then
1862 grep -v '^ *+' conftest.err >conftest.er1
1863 cat conftest.er1 >&5
1864 mv -f conftest.er1 conftest.err
1866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1867 test $ac_status = 0; } && {
1868 test -z "$ac_cxx_werror_flag" ||
1869 test ! -s conftest.err
1870 } && test -s conftest$ac_exeext && {
1871 test "$cross_compiling" = yes ||
1872 $as_test_x conftest$ac_exeext
1876 $as_echo "$as_me: failed program was:" >&5
1877 sed 's/^/| /' conftest.$ac_ext >&5
1881 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1882 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1883 # interfere with the next link command; also delete a directory that is
1884 # left behind by Apple's compiler. We do this before executing the actions.
1885 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1886 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1889 } # ac_fn_cxx_try_link
1891 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1892 # ----------------------------------------------------
1893 # Tries to find if the field MEMBER exists in type AGGR, after including
1894 # INCLUDES, setting cache variable VAR accordingly.
1895 ac_fn_c_check_member ()
1897 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1899 $as_echo_n "checking for $2.$3... " >&6; }
1900 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1901 $as_echo_n "(cached) " >&6
1903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1904 /* end confdefs.h. */
1916 if ac_fn_c_try_compile "$LINENO"; then :
1919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1920 /* end confdefs.h. */
1926 if (sizeof ac_aggr.$3)
1932 if ac_fn_c_try_compile "$LINENO"; then :
1937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1943 $as_echo "$ac_res" >&6; }
1944 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1946 } # ac_fn_c_check_member
1947 cat >config.log <<_ACEOF
1948 This file contains any messages produced by compilers while
1949 running configure, to aid debugging if configure makes a mistake.
1951 It was created by $as_me, which was
1952 generated by GNU Autoconf 2.64. Invocation command line was
1964 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1965 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1966 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1967 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1968 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1970 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1971 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1973 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1974 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1975 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1976 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1977 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1978 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1979 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1987 test -z "$as_dir" && as_dir=.
1988 $as_echo "PATH: $as_dir"
2004 # Keep a trace of the command line.
2005 # Strip out --no-create and --no-recursion so they do not pile up.
2006 # Strip out --silent because we don't want to record it for future runs.
2007 # Also quote any args containing shell meta-characters.
2008 # Make two passes to allow for proper duplicate-argument suppression.
2012 ac_must_keep_next=false
2018 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2019 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2020 | -silent | --silent | --silen | --sile | --sil)
2023 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2026 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2028 as_fn_append ac_configure_args1 " '$ac_arg'"
2029 if test $ac_must_keep_next = true; then
2030 ac_must_keep_next=false # Got value, back to normal.
2033 *=* | --config-cache | -C | -disable-* | --disable-* \
2034 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2035 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2036 | -with-* | --with-* | -without-* | --without-* | --x)
2037 case "$ac_configure_args0 " in
2038 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2041 -* ) ac_must_keep_next=true ;;
2044 as_fn_append ac_configure_args " '$ac_arg'"
2049 { ac_configure_args0=; unset ac_configure_args0;}
2050 { ac_configure_args1=; unset ac_configure_args1;}
2052 # When interrupted or exit'd, cleanup temporary files, and complete
2053 # config.log. We remove comments because anyway the quotes in there
2054 # would cause problems or look ugly.
2055 # WARNING: Use '\'' to represent an apostrophe within the trap.
2056 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2057 trap 'exit_status=$?
2058 # Save into config.log some information that might help in debugging.
2063 ## ---------------- ##
2064 ## Cache variables. ##
2065 ## ---------------- ##
2068 # The following way of writing the cache mishandles newlines in values,
2070 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2071 eval ac_val=\$$ac_var
2075 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2076 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2079 _ | IFS | as_nl) ;; #(
2080 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2081 *) { eval $ac_var=; unset $ac_var;} ;;
2086 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2087 *${as_nl}ac_space=\ *)
2089 "s/'\''/'\''\\\\'\'''\''/g;
2090 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2093 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2101 ## ----------------- ##
2102 ## Output variables. ##
2103 ## ----------------- ##
2106 for ac_var in $ac_subst_vars
2108 eval ac_val=\$$ac_var
2110 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2112 $as_echo "$ac_var='\''$ac_val'\''"
2116 if test -n "$ac_subst_files"; then
2118 ## ------------------- ##
2119 ## File substitutions. ##
2120 ## ------------------- ##
2123 for ac_var in $ac_subst_files
2125 eval ac_val=\$$ac_var
2127 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2129 $as_echo "$ac_var='\''$ac_val'\''"
2134 if test -s confdefs.h; then
2144 test "$ac_signal" != 0 &&
2145 $as_echo "$as_me: caught signal $ac_signal"
2146 $as_echo "$as_me: exit $exit_status"
2148 rm -f core *.core core.conftest.* &&
2149 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2152 for ac_signal in 1 2 13 15; do
2153 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2157 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2158 rm -f -r conftest* confdefs.h
2160 $as_echo "/* confdefs.h */" > confdefs.h
2162 # Predefined preprocessor variables.
2164 cat >>confdefs.h <<_ACEOF
2165 #define PACKAGE_NAME "$PACKAGE_NAME"
2168 cat >>confdefs.h <<_ACEOF
2169 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2172 cat >>confdefs.h <<_ACEOF
2173 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2176 cat >>confdefs.h <<_ACEOF
2177 #define PACKAGE_STRING "$PACKAGE_STRING"
2180 cat >>confdefs.h <<_ACEOF
2181 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2184 cat >>confdefs.h <<_ACEOF
2185 #define PACKAGE_URL "$PACKAGE_URL"
2189 # Let the site file select an alternate cache file if it wants to.
2190 # Prefer an explicitly selected file to automatically selected ones.
2193 if test -n "$CONFIG_SITE"; then
2194 ac_site_file1=$CONFIG_SITE
2195 elif test "x$prefix" != xNONE; then
2196 ac_site_file1=$prefix/share/config.site
2197 ac_site_file2=$prefix/etc/config.site
2199 ac_site_file1=$ac_default_prefix/share/config.site
2200 ac_site_file2=$ac_default_prefix/etc/config.site
2202 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2204 test "x$ac_site_file" = xNONE && continue
2205 if test -r "$ac_site_file"; then
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2207 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2208 sed 's/^/| /' "$ac_site_file" >&5
2213 if test -r "$cache_file"; then
2214 # Some versions of bash will fail to source /dev/null (special
2215 # files actually), so we avoid doing that.
2216 if test -f "$cache_file"; then
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2218 $as_echo "$as_me: loading cache $cache_file" >&6;}
2220 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2221 *) . "./$cache_file";;
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2226 $as_echo "$as_me: creating cache $cache_file" >&6;}
2230 # Check that the precious variables saved in the cache have kept the same
2232 ac_cache_corrupted=false
2233 for ac_var in $ac_precious_vars; do
2234 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2235 eval ac_new_set=\$ac_env_${ac_var}_set
2236 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2237 eval ac_new_val=\$ac_env_${ac_var}_value
2238 case $ac_old_set,$ac_new_set in
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2241 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2242 ac_cache_corrupted=: ;;
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2245 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2246 ac_cache_corrupted=: ;;
2249 if test "x$ac_old_val" != "x$ac_new_val"; then
2250 # differences in whitespace do not lead to failure.
2251 ac_old_val_w=`echo x
$ac_old_val`
2252 ac_new_val_w=`echo x
$ac_new_val`
2253 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2255 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2256 ac_cache_corrupted=:
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2259 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2260 eval $ac_var=\$ac_old_val
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2263 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2265 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2268 # Pass precious variables to config.status.
2269 if test "$ac_new_set" = set; then
2271 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2272 *) ac_arg=$ac_var=$ac_new_val ;;
2274 case " $ac_configure_args " in
2275 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2276 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2280 if $ac_cache_corrupted; then
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2284 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2285 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2287 ## -------------------- ##
2288 ## Main body of script. ##
2289 ## -------------------- ##
2292 ac_cpp='$CPP $CPPFLAGS'
2293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2302 # This works around the fact that libtool configuration may change LD
2303 # for this particular configuration, but some shells, instead of
2304 # keeping the changes in LD private, export them just because LD is
2306 ORIGINAL_LD_FOR_MULTILIBS=$LD
2308 # Default to --enable-multilib
2309 # Check whether --enable-multilib was given.
2310 if test "${enable_multilib+set}" = set; then :
2311 enableval=$enable_multilib; case "$enableval" in
2312 yes) multilib=yes ;;
2314 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2321 # We may get other options which we leave undocumented:
2322 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2323 # See config-ml.in if you want the gory details.
2325 if test "$srcdir" = "."; then
2326 if test "$with_target_subdir" != "."; then
2327 multi_basedir="$srcdir/$with_multisrctop../.."
2329 multi_basedir="$srcdir/$with_multisrctop.."
2332 multi_basedir="$srcdir/.."
2336 # Even if the default multilib is not a cross compilation,
2337 # it may be that some of the other multilibs are.
2338 if test $cross_compiling = no && test $multilib = yes \
2339 && test "x${with_multisubdir}" != x ; then
2340 cross_compiling=maybe
2343 ac_config_commands="$ac_config_commands default-1"
2347 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2348 for ac_t in install-sh install.sh shtool; do
2349 if test -f "$ac_dir/$ac_t"; then
2351 ac_install_sh="$ac_aux_dir/$ac_t -c"
2356 if test -z "$ac_aux_dir"; then
2357 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2360 # These three variables are undocumented and unsupported,
2361 # and are intended to be withdrawn in a future Autoconf release.
2362 # They can cause serious problems if a builder's source tree is in a directory
2363 # whose full name contains unusual characters.
2364 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2365 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2366 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2369 # Make sure we can run config.sub.
2370 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2371 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2374 $as_echo_n "checking build system type... " >&6; }
2375 if test "${ac_cv_build+set}" = set; then :
2376 $as_echo_n "(cached) " >&6
2378 ac_build_alias=$build_alias
2379 test "x$ac_build_alias" = x &&
2380 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2381 test "x$ac_build_alias" = x &&
2382 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2383 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2384 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2388 $as_echo "$ac_cv_build" >&6; }
2389 case $ac_cv_build in
2391 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2394 ac_save_IFS=$IFS; IFS='-'
2400 # Remember, the first character of IFS is used to create $*,
2401 # except with old shells:
2404 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2408 $as_echo_n "checking host system type... " >&6; }
2409 if test "${ac_cv_host+set}" = set; then :
2410 $as_echo_n "(cached) " >&6
2412 if test "x$host_alias" = x; then
2413 ac_cv_host=$ac_cv_build
2415 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2416 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2421 $as_echo "$ac_cv_host" >&6; }
2424 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2427 ac_save_IFS=$IFS; IFS='-'
2433 # Remember, the first character of IFS is used to create $*,
2434 # except with old shells:
2437 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2441 $as_echo_n "checking target system type... " >&6; }
2442 if test "${ac_cv_target+set}" = set; then :
2443 $as_echo_n "(cached) " >&6
2445 if test "x$target_alias" = x; then
2446 ac_cv_target=$ac_cv_host
2448 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2449 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2454 $as_echo "$ac_cv_target" >&6; }
2455 case $ac_cv_target in
2457 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2459 target=$ac_cv_target
2460 ac_save_IFS=$IFS; IFS='-'
2466 # Remember, the first character of IFS is used to create $*,
2467 # except with old shells:
2470 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2473 # The aliases save the names the user supplied, while $host etc.
2474 # will get canonicalized.
2475 test -n "$target_alias" &&
2476 test "$program_prefix$program_suffix$program_transform_name" = \
2478 program_prefix=${target_alias}-
2480 # Get the 'noncanonical' system names.
2481 case ${build_alias} in
2482 "") build_noncanonical=${build} ;;
2483 *) build_noncanonical=${build_alias} ;;
2486 case ${host_alias} in
2487 "") host_noncanonical=${build_noncanonical} ;;
2488 *) host_noncanonical=${host_alias} ;;
2491 case ${target_alias} in
2492 "") target_noncanonical=${host_noncanonical} ;;
2493 *) target_noncanonical=${target_alias} ;;
2499 # This works around an automake problem.
2500 mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
2503 am__api_version='1.11'
2505 # Find a good install program. We prefer a C program (faster),
2506 # so one script is as good as another. But avoid the broken or
2507 # incompatible versions:
2508 # SysV /etc/install, /usr/sbin/install
2509 # SunOS /usr/etc/install
2510 # IRIX /sbin/install
2512 # AmigaOS /C/install, which installs bootblocks on floppy discs
2513 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2514 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2515 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2516 # OS/2's system install, which has a completely different semantic
2517 # ./install, which can be erroneously created by make from ./install.sh.
2518 # Reject install programs that cannot install multiple files.
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2520 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2521 if test -z "$INSTALL"; then
2522 if test "${ac_cv_path_install+set}" = set; then :
2523 $as_echo_n "(cached) " >&6
2525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2529 test -z "$as_dir" && as_dir=.
2530 # Account for people who put trailing slashes in PATH elements.
2531 case $as_dir/ in #((
2532 ./ | .// | /[cC]/* | \
2533 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2534 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2537 # OSF1 and SCO ODT 3.0 have their own names for install.
2538 # Don't use installbsd from OSF since it installs stuff as root
2540 for ac_prog in ginstall scoinst install; do
2541 for ac_exec_ext in '' $ac_executable_extensions; do
2542 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2543 if test $ac_prog = install &&
2544 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2545 # AIX install. It has an incompatible calling convention.
2547 elif test $ac_prog = install &&
2548 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2549 # program-specific install script used by HP pwplus--don't use.
2552 rm -rf conftest.one conftest.two conftest.dir
2553 echo one > conftest.one
2554 echo two > conftest.two
2556 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2557 test -s conftest.one && test -s conftest.two &&
2558 test -s conftest.dir/conftest.one &&
2559 test -s conftest.dir/conftest.two
2561 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2574 rm -rf conftest.one conftest.two conftest.dir
2577 if test "${ac_cv_path_install+set}" = set; then
2578 INSTALL=$ac_cv_path_install
2580 # As a last resort, use the slow shell script. Don't cache a
2581 # value for INSTALL within a source directory, because that will
2582 # break other packages using the cache if that directory is
2583 # removed, or if the value is a relative name.
2584 INSTALL=$ac_install_sh
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2588 $as_echo "$INSTALL" >&6; }
2590 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2591 # It thinks the first close brace ends the variable substitution.
2592 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2594 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2596 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2599 $as_echo_n "checking whether build environment is sane... " >&6; }
2602 echo timestamp > conftest.file
2603 # Reject unsafe characters in $srcdir or the absolute working directory
2604 # name. Accept space and tab only in the latter.
2608 *[\\\"\#\$\&\'\`$am_lf]*)
2609 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2612 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2613 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2616 # Do `set' in a subshell so we don't clobber the current shell's
2617 # arguments. Must try -L first in case configure is actually a
2618 # symlink; some systems play weird games with the mod time of symlinks
2619 # (eg FreeBSD returns the mod time of the symlink's containing
2622 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2623 if test "$*" = "X"; then
2625 set X
`ls -t "$srcdir/configure" conftest.file`
2628 if test "$*" != "X $srcdir/configure conftest.file" \
2629 && test "$*" != "X conftest.file $srcdir/configure"; then
2631 # If neither matched, then we have a broken ls. This can happen
2632 # if, for instance, CONFIG_SHELL is bash and it inherits a
2633 # broken ls alias from the environment. This has actually
2634 # happened. Such a system could not be considered "sane".
2635 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2636 alias in your environment" "$LINENO" 5
2639 test "$2" = conftest.
file
2645 as_fn_error
"newly created file is older than distributed files!
2646 Check your system clock" "$LINENO" 5
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2649 $as_echo "yes" >&6; }
2650 test "$program_prefix" != NONE
&&
2651 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2652 # Use a double $ so make ignores it.
2653 test "$program_suffix" != NONE
&&
2654 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2655 # Double any \ or $.
2656 # By default was `s,x,x', remove it if useless.
2657 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2658 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2660 # expand $ac_aux_dir to an absolute path
2661 am_aux_dir
=`cd $ac_aux_dir && pwd`
2663 if test x
"${MISSING+set}" != xset
; then
2666 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2668 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2671 # Use eval to expand $SHELL
2672 if eval "$MISSING --run true"; then
2673 am_missing_run
="$MISSING --run "
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2677 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2680 if test x
"${install_sh}" != xset
; then
2683 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2685 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2689 # Installed binaries are usually stripped using `strip' when the user
2690 # run `make install-strip'. However `strip' might not be the right
2691 # tool to use in cross-compilation environments, therefore Automake
2692 # will honor the `STRIP' environment variable to overrule this program.
2693 if test "$cross_compiling" != no
; then
2694 if test -n "$ac_tool_prefix"; then
2695 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2696 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2698 $as_echo_n "checking for $ac_word... " >&6; }
2699 if test "${ac_cv_prog_STRIP+set}" = set; then :
2700 $as_echo_n "(cached) " >&6
2702 if test -n "$STRIP"; then
2703 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2709 test -z "$as_dir" && as_dir
=.
2710 for ac_exec_ext
in '' $ac_executable_extensions; do
2711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2712 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2722 STRIP
=$ac_cv_prog_STRIP
2723 if test -n "$STRIP"; then
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2725 $as_echo "$STRIP" >&6; }
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2728 $as_echo "no" >&6; }
2733 if test -z "$ac_cv_prog_STRIP"; then
2735 # Extract the first word of "strip", so it can be a program name with args.
2736 set dummy strip
; ac_word
=$2
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2738 $as_echo_n "checking for $ac_word... " >&6; }
2739 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2740 $as_echo_n "(cached) " >&6
2742 if test -n "$ac_ct_STRIP"; then
2743 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2749 test -z "$as_dir" && as_dir
=.
2750 for ac_exec_ext
in '' $ac_executable_extensions; do
2751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2752 ac_cv_prog_ac_ct_STRIP
="strip"
2753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2762 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2763 if test -n "$ac_ct_STRIP"; then
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2765 $as_echo "$ac_ct_STRIP" >&6; }
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2768 $as_echo "no" >&6; }
2771 if test "x$ac_ct_STRIP" = x
; then
2774 case $cross_compiling:$ac_tool_warned in
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2777 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2778 ac_tool_warned
=yes ;;
2783 STRIP
="$ac_cv_prog_STRIP"
2787 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2790 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2791 if test -z "$MKDIR_P"; then
2792 if test "${ac_cv_path_mkdir+set}" = set; then :
2793 $as_echo_n "(cached) " >&6
2795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2796 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2799 test -z "$as_dir" && as_dir
=.
2800 for ac_prog
in mkdir gmkdir
; do
2801 for ac_exec_ext
in '' $ac_executable_extensions; do
2802 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2803 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2804 'mkdir (GNU coreutils) '* | \
2805 'mkdir (coreutils) '* | \
2806 'mkdir (fileutils) '4.1*)
2807 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2817 if test "${ac_cv_path_mkdir+set}" = set; then
2818 MKDIR_P
="$ac_cv_path_mkdir -p"
2820 # As a last resort, use the slow shell script. Don't cache a
2821 # value for MKDIR_P within a source directory, because that will
2822 # break other packages using the cache if that directory is
2823 # removed, or if the value is a relative name.
2824 test -d .
/--version && rmdir .
/--version
2825 MKDIR_P
="$ac_install_sh -d"
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2829 $as_echo "$MKDIR_P" >&6; }
2833 [\\/$
]* | ?
:[\\/]*) ;;
2834 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2837 for ac_prog
in gawk mawk nawk
awk
2839 # Extract the first word of "$ac_prog", so it can be a program name with args.
2840 set dummy
$ac_prog; ac_word
=$2
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2842 $as_echo_n "checking for $ac_word... " >&6; }
2843 if test "${ac_cv_prog_AWK+set}" = set; then :
2844 $as_echo_n "(cached) " >&6
2846 if test -n "$AWK"; then
2847 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2853 test -z "$as_dir" && as_dir
=.
2854 for ac_exec_ext
in '' $ac_executable_extensions; do
2855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2856 ac_cv_prog_AWK
="$ac_prog"
2857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2867 if test -n "$AWK"; then
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2869 $as_echo "$AWK" >&6; }
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2872 $as_echo "no" >&6; }
2876 test -n "$AWK" && break
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2880 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2882 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2883 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2884 $as_echo_n "(cached) " >&6
2886 cat >conftest.
make <<\_ACEOF
2889 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2891 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2892 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2894 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2896 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2900 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2902 $as_echo "yes" >&6; }
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2906 $as_echo "no" >&6; }
2907 SET_MAKE
="MAKE=${MAKE-make}"
2910 rm -rf .tst
2>/dev
/null
2911 mkdir .tst
2>/dev
/null
2912 if test -d .tst
; then
2917 rmdir .tst
2>/dev
/null
2919 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2920 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2921 # is not polluted with repeated "-I."
2922 am__isrc
=' -I$(srcdir)'
2923 # test to see if srcdir already configured
2924 if test -f $srcdir/config.status
; then
2925 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2929 # test whether we have cygpath
2930 if test -z "$CYGPATH_W"; then
2931 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2932 CYGPATH_W
='cygpath -w'
2939 # Define the identity of the package.
2944 # Some tools Automake needs.
2946 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2949 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2952 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2955 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2958 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2960 # We need awk for the "check" target. The system "awk" is bad on
2962 # Always define AMTAR for backward compatibility.
2964 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2966 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2973 # The autoconf 2.5x version of the no-executables hack.
2976 # Yak. We must force CC and CXX to /not/ be precious variables; otherwise
2977 # the wrong, non-multilib-adjusted value will be used in multilibs.
2978 # As a side effect, we have to subst CFLAGS and CXXFLAGS ourselves.
2983 ac_cpp
='$CPP $CPPFLAGS'
2984 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2985 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2986 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2987 if test -n "$ac_tool_prefix"; then
2988 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2989 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2991 $as_echo_n "checking for $ac_word... " >&6; }
2992 if test "${ac_cv_prog_CC+set}" = set; then :
2993 $as_echo_n "(cached) " >&6
2995 if test -n "$CC"; then
2996 ac_cv_prog_CC
="$CC" # Let the user override the test.
2998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3002 test -z "$as_dir" && as_dir
=.
3003 for ac_exec_ext
in '' $ac_executable_extensions; do
3004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3005 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3016 if test -n "$CC"; then
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3018 $as_echo "$CC" >&6; }
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3021 $as_echo "no" >&6; }
3026 if test -z "$ac_cv_prog_CC"; then
3028 # Extract the first word of "gcc", so it can be a program name with args.
3029 set dummy gcc
; ac_word
=$2
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3031 $as_echo_n "checking for $ac_word... " >&6; }
3032 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3033 $as_echo_n "(cached) " >&6
3035 if test -n "$ac_ct_CC"; then
3036 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3042 test -z "$as_dir" && as_dir
=.
3043 for ac_exec_ext
in '' $ac_executable_extensions; do
3044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3045 ac_cv_prog_ac_ct_CC
="gcc"
3046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3055 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3056 if test -n "$ac_ct_CC"; then
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3058 $as_echo "$ac_ct_CC" >&6; }
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3061 $as_echo "no" >&6; }
3064 if test "x$ac_ct_CC" = x
; then
3067 case $cross_compiling:$ac_tool_warned in
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3070 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3071 ac_tool_warned
=yes ;;
3079 if test -z "$CC"; then
3080 if test -n "$ac_tool_prefix"; then
3081 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3082 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3084 $as_echo_n "checking for $ac_word... " >&6; }
3085 if test "${ac_cv_prog_CC+set}" = set; then :
3086 $as_echo_n "(cached) " >&6
3088 if test -n "$CC"; then
3089 ac_cv_prog_CC
="$CC" # Let the user override the test.
3091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3095 test -z "$as_dir" && as_dir
=.
3096 for ac_exec_ext
in '' $ac_executable_extensions; do
3097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3098 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3109 if test -n "$CC"; then
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3111 $as_echo "$CC" >&6; }
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3114 $as_echo "no" >&6; }
3120 if test -z "$CC"; then
3121 # Extract the first word of "cc", so it can be a program name with args.
3122 set dummy cc
; ac_word
=$2
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3124 $as_echo_n "checking for $ac_word... " >&6; }
3125 if test "${ac_cv_prog_CC+set}" = set; then :
3126 $as_echo_n "(cached) " >&6
3128 if test -n "$CC"; then
3129 ac_cv_prog_CC
="$CC" # Let the user override the test.
3132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3136 test -z "$as_dir" && as_dir
=.
3137 for ac_exec_ext
in '' $ac_executable_extensions; do
3138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3139 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3140 ac_prog_rejected
=yes
3144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3151 if test $ac_prog_rejected = yes; then
3152 # We found a bogon in the path, so make sure we never use it.
3153 set dummy
$ac_cv_prog_CC
3155 if test $# != 0; then
3156 # We chose a different compiler from the bogus one.
3157 # However, it has the same basename, so the bogon will be chosen
3158 # first if we set CC to just the basename; use the full file name.
3160 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3166 if test -n "$CC"; then
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3168 $as_echo "$CC" >&6; }
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3171 $as_echo "no" >&6; }
3176 if test -z "$CC"; then
3177 if test -n "$ac_tool_prefix"; then
3178 for ac_prog
in cl.exe
3180 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3181 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3183 $as_echo_n "checking for $ac_word... " >&6; }
3184 if test "${ac_cv_prog_CC+set}" = set; then :
3185 $as_echo_n "(cached) " >&6
3187 if test -n "$CC"; then
3188 ac_cv_prog_CC
="$CC" # Let the user override the test.
3190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3194 test -z "$as_dir" && as_dir
=.
3195 for ac_exec_ext
in '' $ac_executable_extensions; do
3196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3197 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3208 if test -n "$CC"; then
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3210 $as_echo "$CC" >&6; }
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3213 $as_echo "no" >&6; }
3217 test -n "$CC" && break
3220 if test -z "$CC"; then
3222 for ac_prog
in cl.exe
3224 # Extract the first word of "$ac_prog", so it can be a program name with args.
3225 set dummy
$ac_prog; ac_word
=$2
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3227 $as_echo_n "checking for $ac_word... " >&6; }
3228 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3229 $as_echo_n "(cached) " >&6
3231 if test -n "$ac_ct_CC"; then
3232 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3238 test -z "$as_dir" && as_dir
=.
3239 for ac_exec_ext
in '' $ac_executable_extensions; do
3240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3241 ac_cv_prog_ac_ct_CC
="$ac_prog"
3242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3251 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3252 if test -n "$ac_ct_CC"; then
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3254 $as_echo "$ac_ct_CC" >&6; }
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3257 $as_echo "no" >&6; }
3261 test -n "$ac_ct_CC" && break
3264 if test "x$ac_ct_CC" = x
; then
3267 case $cross_compiling:$ac_tool_warned in
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3271 ac_tool_warned
=yes ;;
3280 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3282 as_fn_error
"no acceptable C compiler found in \$PATH
3283 See \`config.log' for more details." "$LINENO" 5; }
3285 # Provide some information about the compiler.
3286 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3289 for ac_option
in --version -v -V -qversion; do
3290 { { ac_try
="$ac_compiler $ac_option >&5"
3292 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3293 *) ac_try_echo=$ac_try;;
3295 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3296 $as_echo "$ac_try_echo"; } >&5
3297 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3299 if test -s conftest.err; then
3301 ... rest of stderr output deleted ...
3302 10q' conftest.err >conftest.er1
3303 cat conftest.er1 >&5
3304 rm -f conftest.er1 conftest.err
3306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3307 test $ac_status = 0; }
3310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3311 /* end confdefs.h. */
3322 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3323 (eval $ac_link) 2>&5
3325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3326 test $ac_status = 0; }; then :
3331 if test x$gcc_no_link = xyes; then
3332 # Setting cross_compile will disable run tests; it will
3333 # also disable AC_CHECK_FILE but that's generally
3334 # correct if we can't link.
3338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3339 /* end confdefs.h. */
3349 ac_clean_files_save=$ac_clean_files
3350 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3351 # Try to create an executable without -o first, disregard a.out.
3352 # It will help us diagnose broken compilers, and finding out an intuition
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3355 $as_echo_n "checking for C compiler default output file name... " >&6; }
3356 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3358 # The possible output files:
3359 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3362 for ac_file in $ac_files
3365 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3366 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3371 if { { ac_try="$ac_link_default"
3373 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3374 *) ac_try_echo
=$ac_try;;
3376 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3377 $as_echo "$ac_try_echo"; } >&5
3378 (eval "$ac_link_default") 2>&5
3380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3381 test $ac_status = 0; }; then :
3382 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3383 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3384 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3385 # so that the user can short-circuit this test for compilers unknown to
3387 for ac_file
in $ac_files ''
3389 test -f "$ac_file" ||
continue
3391 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3394 # We found the default executable, but exeext='' is most
3398 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3400 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3402 # We set ac_cv_exeext here because the later test for it is not
3403 # safe: cross compilers may not add the suffix if given an `-o'
3404 # argument, so we may need to know it at that point already.
3405 # Even if this section looks crufty: it has the advantage of
3412 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3418 $as_echo "$ac_file" >&6; }
3419 if test -z "$ac_file"; then :
3420 $as_echo "$as_me: failed program was:" >&5
3421 sed 's/^/| /' conftest.
$ac_ext >&5
3423 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3424 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3425 { as_fn_set_status
77
3426 as_fn_error
"C compiler cannot create executables
3427 See \`config.log' for more details." "$LINENO" 5; }; }
3429 ac_exeext
=$ac_cv_exeext
3431 # Check that the compiler produces executables we can run. If not, either
3432 # the compiler is broken, or we cross compile.
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3434 $as_echo_n "checking whether the C compiler works... " >&6; }
3435 # If not cross compiling, check that we can run a simple program.
3436 if test "$cross_compiling" != yes; then
3437 if { ac_try
='./$ac_file'
3438 { { case "(($ac_try" in
3439 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3440 *) ac_try_echo=$ac_try;;
3442 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3443 $as_echo "$ac_try_echo"; } >&5
3444 (eval "$ac_try") 2>&5
3446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3447 test $ac_status = 0; }; }; then
3450 if test "$cross_compiling" = maybe; then
3453 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3454 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3455 as_fn_error "cannot run C compiled programs.
3456 If you meant to cross compile
, use \
`--host'.
3457 See \`config.log
' for more details." "$LINENO" 5; }
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3462 $as_echo "yes" >&6; }
3464 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3465 ac_clean_files=$ac_clean_files_save
3466 # Check that the compiler produces executables we can run. If not, either
3467 # the compiler is broken, or we cross compile.
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3469 $as_echo_n "checking whether we are cross compiling... " >&6; }
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3471 $as_echo "$cross_compiling" >&6; }
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3474 $as_echo_n "checking for suffix of executables... " >&6; }
3475 if { { ac_try="$ac_link"
3477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3478 *) ac_try_echo=$ac_try;;
3480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3481 $as_echo "$ac_try_echo"; } >&5
3482 (eval "$ac_link") 2>&5
3484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3485 test $ac_status = 0; }; then :
3486 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3487 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3488 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3490 for ac_file
in conftest.exe conftest conftest.
*; do
3491 test -f "$ac_file" ||
continue
3493 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3494 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3500 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3501 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3502 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3503 See \`config.log' for more details." "$LINENO" 5; }
3505 rm -f conftest
$ac_cv_exeext
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3507 $as_echo "$ac_cv_exeext" >&6; }
3509 rm -f conftest.
$ac_ext
3510 EXEEXT
=$ac_cv_exeext
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3514 $as_echo_n "checking for suffix of object files... " >&6; }
3515 if test "${ac_cv_objext+set}" = set; then :
3516 $as_echo_n "(cached) " >&6
3518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3519 /* end confdefs.h. */
3529 rm -f conftest.o conftest.obj
3530 if { { ac_try
="$ac_compile"
3532 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3533 *) ac_try_echo=$ac_try;;
3535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3536 $as_echo "$ac_try_echo"; } >&5
3537 (eval "$ac_compile") 2>&5
3539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3540 test $ac_status = 0; }; then :
3541 for ac_file in conftest.o conftest.obj conftest.*; do
3542 test -f "$ac_file" || continue;
3544 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3545 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3550 $as_echo "$as_me: failed program was:" >&5
3551 sed 's/^/| /' conftest.$ac_ext >&5
3553 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3554 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3555 as_fn_error "cannot compute suffix of object files
: cannot compile
3556 See \
`config.log' for more details." "$LINENO" 5; }
3558 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3561 $as_echo "$ac_cv_objext" >&6; }
3562 OBJEXT=$ac_cv_objext
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3565 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3566 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3567 $as_echo_n "(cached) " >&6
3569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3570 /* end confdefs.h. */
3583 if ac_fn_c_try_compile "$LINENO"; then :
3588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3589 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3593 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3594 if test $ac_compiler_gnu = yes; then
3599 ac_test_CFLAGS=${CFLAGS+set}
3600 ac_save_CFLAGS=$CFLAGS
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3602 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3603 if test "${ac_cv_prog_cc_g+set}" = set; then :
3604 $as_echo_n "(cached) " >&6
3606 ac_save_c_werror_flag=$ac_c_werror_flag
3607 ac_c_werror_flag=yes
3610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3611 /* end confdefs.h. */
3621 if ac_fn_c_try_compile "$LINENO"; then :
3625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3626 /* end confdefs.h. */
3636 if ac_fn_c_try_compile "$LINENO"; then :
3639 ac_c_werror_flag=$ac_save_c_werror_flag
3641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3642 /* end confdefs.h. */
3652 if ac_fn_c_try_compile "$LINENO"; then :
3655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3660 ac_c_werror_flag=$ac_save_c_werror_flag
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3663 $as_echo "$ac_cv_prog_cc_g" >&6; }
3664 if test "$ac_test_CFLAGS" = set; then
3665 CFLAGS=$ac_save_CFLAGS
3666 elif test $ac_cv_prog_cc_g = yes; then
3667 if test "$GCC" = yes; then
3673 if test "$GCC" = yes; then
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3680 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3681 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3682 $as_echo_n "(cached) " >&6
3684 ac_cv_prog_cc_c89=no
3686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3687 /* end confdefs.h. */
3690 #include <sys/types.h>
3691 #include <sys/stat.h>
3692 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3693 struct buf { int x; };
3694 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3695 static char *e (p, i)
3701 static char *f (char * (*g) (char **, int), char **p, ...)
3706 s = g (p, va_arg (v,int));
3711 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3712 function prototypes and stuff, but not '\xHH' hex character constants.
3713 These don't provoke an error unfortunately, instead are silently treated
3714 as 'x'. The following induces an error, until -std is added to get
3715 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3716 array size at least. It's necessary to write '\x00'==0 to get something
3717 that's true only with -std. */
3718 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3720 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3721 inside strings and character constants. */
3723 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3725 int test (int i, double x);
3726 struct s1 {int (*f) (int a);};
3727 struct s2 {int (*f) (double a);};
3728 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3734 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3739 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3740 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3742 CC="$ac_save_CC $ac_arg"
3743 if ac_fn_c_try_compile "$LINENO"; then :
3744 ac_cv_prog_cc_c89=$ac_arg
3746 rm -f core conftest.err conftest.$ac_objext
3747 test "x$ac_cv_prog_cc_c89" != "xno" && break
3749 rm -f conftest.$ac_ext
3754 case "x$ac_cv_prog_cc_c89" in
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3757 $as_echo "none needed" >&6; } ;;
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3760 $as_echo "unsupported" >&6; } ;;
3762 CC="$CC $ac_cv_prog_cc_c89"
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3764 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3766 if test "x$ac_cv_prog_cc_c89" != xno; then :
3771 ac_cpp='$CPP $CPPFLAGS'
3772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3775 DEPDIR="${am__leading_dot}deps"
3777 ac_config_commands="$ac_config_commands depfiles"
3780 am_make=${MAKE-make}
3781 cat > confinc << 'END'
3783 @echo this is the am__doit target
3786 # If we don't find an include directive, just comment out the code.
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3788 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3792 # First try GNU make style include.
3793 echo "include confinc" > confmf
3794 # Ignore all kinds of additional output from `make'.
3795 case `$am_make -s -f confmf 2> /dev/null` in #(
3796 *the\ am__doit\ target*)
3802 # Now try BSD make style include.
3803 if test "$am__include" = "#"; then
3804 echo '.include
"confinc"' > confmf
3805 case `$am_make -s -f confmf 2> /dev/null` in #(
3806 *the\ am__doit\ target*)
3807 am__include=.include
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3816 $as_echo "$_am_result" >&6; }
3817 rm -f confinc confmf
3819 # Check whether --enable-dependency-tracking was given.
3820 if test "${enable_dependency_tracking+set}" = set; then :
3821 enableval=$enable_dependency_tracking;
3824 if test "x$enable_dependency_tracking" != xno; then
3825 am_depcomp="$ac_aux_dir/depcomp"
3828 if test "x$enable_dependency_tracking" != xno
; then
3838 depcc
="$CC" am_compiler_list
=
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3841 $as_echo_n "checking dependency style of $depcc... " >&6; }
3842 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3843 $as_echo_n "(cached) " >&6
3845 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3846 # We make a subdir and do the tests there. Otherwise we can end up
3847 # making bogus files that we don't know about and never remove. For
3848 # instance it was reported that on HP-UX the gcc test will end up
3849 # making a dummy file named `D' -- because `-MD' means `put the output
3852 # Copy depcomp to subdir because otherwise we won't find it if we're
3853 # using a relative directory.
3854 cp "$am_depcomp" conftest.dir
3856 # We will build objects and dependencies in a subdirectory because
3857 # it helps to detect inapplicable dependency modes. For instance
3858 # both Tru64's cc and ICC support -MD to output dependencies as a
3859 # side effect of compilation, but ICC will put the dependencies in
3860 # the current directory while Tru64 will put them in the object
3864 am_cv_CC_dependencies_compiler_type
=none
3865 if test "$am_compiler_list" = ""; then
3866 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3869 case " $depcc " in #(
3870 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3873 for depmode
in $am_compiler_list; do
3874 # Setup a source with many dependencies, because some compilers
3875 # like to wrap large dependency lists on column 80 (with \), and
3876 # we should not choose a depcomp mode which is confused by this.
3878 # We need to recreate these files for each test, as the compiler may
3879 # overwrite some of them when testing with obscure command lines.
3880 # This happens at least with the AIX C compiler.
3882 for i
in 1 2 3 4 5 6; do
3883 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3884 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3885 # Solaris 8's {/usr,}/bin/sh.
3886 touch sub
/conftst
$i.h
3888 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3890 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3891 # mode. It turns out that the SunPro C++ compiler does not properly
3892 # handle `-M -o', and we need to detect this. Also, some Intel
3893 # versions had trouble with output in subdirs
3894 am__obj
=sub
/conftest.
${OBJEXT-o}
3895 am__minus_obj
="-o $am__obj"
3898 # This depmode causes a compiler race in universal mode.
3899 test "$am__universal" = false ||
continue
3902 # after this tag, mechanisms are not by side-effect, so they'll
3903 # only be used when explicitly requested
3904 if test "x$enable_dependency_tracking" = xyes
; then
3910 msvisualcpp | msvcmsys
)
3911 # This compiler won't grok `-c -o', but also, the minuso test has
3912 # not run yet. These depmodes are late enough in the game, and
3913 # so weak that their functioning should not be impacted.
3914 am__obj
=conftest.
${OBJEXT-o}
3919 if depmode
=$depmode \
3920 source=sub
/conftest.c object
=$am__obj \
3921 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3922 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3923 >/dev
/null
2>conftest.err
&&
3924 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3925 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3926 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3927 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3928 # icc doesn't choke on unknown options, it will just issue warnings
3929 # or remarks (even with -Werror). So we grep stderr for any message
3930 # that says an option was ignored or not supported.
3931 # When given -MP, icc 7.0 and 7.1 complain thusly:
3932 # icc: Command line warning: ignoring option '-M'; no argument required
3933 # The diagnosis changed in icc 8.0:
3934 # icc: Command line remark: option '-MP' not supported
3935 if (grep 'ignoring option' conftest.err ||
3936 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3937 am_cv_CC_dependencies_compiler_type
=$depmode
3946 am_cv_CC_dependencies_compiler_type
=none
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3951 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3952 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3955 test "x$enable_dependency_tracking" != xno \
3956 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3958 am__fastdepCC_FALSE
='#'
3960 am__fastdepCC_TRUE
='#'
3961 am__fastdepCC_FALSE
=
3966 ac_cpp
='$CXXCPP $CPPFLAGS'
3967 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3968 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3969 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3970 if test -z "$CXX"; then
3971 if test -n "$CCC"; then
3974 if test -n "$ac_tool_prefix"; then
3975 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3977 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3978 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3980 $as_echo_n "checking for $ac_word... " >&6; }
3981 if test "${ac_cv_prog_CXX+set}" = set; then :
3982 $as_echo_n "(cached) " >&6
3984 if test -n "$CXX"; then
3985 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3991 test -z "$as_dir" && as_dir
=.
3992 for ac_exec_ext
in '' $ac_executable_extensions; do
3993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3994 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4005 if test -n "$CXX"; then
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4007 $as_echo "$CXX" >&6; }
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4010 $as_echo "no" >&6; }
4014 test -n "$CXX" && break
4017 if test -z "$CXX"; then
4019 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4021 # Extract the first word of "$ac_prog", so it can be a program name with args.
4022 set dummy
$ac_prog; ac_word
=$2
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4024 $as_echo_n "checking for $ac_word... " >&6; }
4025 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4026 $as_echo_n "(cached) " >&6
4028 if test -n "$ac_ct_CXX"; then
4029 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4035 test -z "$as_dir" && as_dir
=.
4036 for ac_exec_ext
in '' $ac_executable_extensions; do
4037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4038 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4048 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4049 if test -n "$ac_ct_CXX"; then
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4051 $as_echo "$ac_ct_CXX" >&6; }
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4054 $as_echo "no" >&6; }
4058 test -n "$ac_ct_CXX" && break
4061 if test "x$ac_ct_CXX" = x
; then
4064 case $cross_compiling:$ac_tool_warned in
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4067 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4068 ac_tool_warned
=yes ;;
4076 # Provide some information about the compiler.
4077 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4080 for ac_option
in --version -v -V -qversion; do
4081 { { ac_try
="$ac_compiler $ac_option >&5"
4083 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4084 *) ac_try_echo=$ac_try;;
4086 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4087 $as_echo "$ac_try_echo"; } >&5
4088 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4090 if test -s conftest.err; then
4092 ... rest of stderr output deleted ...
4093 10q' conftest.err >conftest.er1
4094 cat conftest.er1 >&5
4095 rm -f conftest.er1 conftest.err
4097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4098 test $ac_status = 0; }
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4102 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4103 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4104 $as_echo_n "(cached) " >&6
4106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4107 /* end confdefs.h. */
4120 if ac_fn_cxx_try_compile "$LINENO"; then :
4125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4126 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4130 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4131 if test $ac_compiler_gnu = yes; then
4136 ac_test_CXXFLAGS=${CXXFLAGS+set}
4137 ac_save_CXXFLAGS=$CXXFLAGS
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4139 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4140 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4141 $as_echo_n "(cached) " >&6
4143 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4144 ac_cxx_werror_flag=yes
4147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4148 /* end confdefs.h. */
4158 if ac_fn_cxx_try_compile "$LINENO"; then :
4159 ac_cv_prog_cxx_g=yes
4162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4163 /* end confdefs.h. */
4173 if ac_fn_cxx_try_compile "$LINENO"; then :
4176 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4179 /* end confdefs.h. */
4189 if ac_fn_cxx_try_compile "$LINENO"; then :
4190 ac_cv_prog_cxx_g=yes
4192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4197 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4200 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4201 if test "$ac_test_CXXFLAGS" = set; then
4202 CXXFLAGS=$ac_save_CXXFLAGS
4203 elif test $ac_cv_prog_cxx_g = yes; then
4204 if test "$GXX" = yes; then
4210 if test "$GXX" = yes; then
4217 ac_cpp='$CPP $CPPFLAGS'
4218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4222 depcc="$CXX" am_compiler_list=
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4225 $as_echo_n "checking dependency style of $depcc... " >&6; }
4226 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4227 $as_echo_n "(cached) " >&6
4229 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4230 # We make a subdir and do the tests there. Otherwise we can end up
4231 # making bogus files that we don't know about and never remove. For
4232 # instance it was reported that on HP-UX the gcc test will end up
4233 # making a dummy file named `D
' -- because `-MD' means
`put the output
4236 # Copy depcomp to subdir because otherwise we won't find it if we're
4237 # using a relative directory.
4238 cp "$am_depcomp" conftest.dir
4240 # We will build objects and dependencies in a subdirectory because
4241 # it helps to detect inapplicable dependency modes. For instance
4242 # both Tru64's cc and ICC support -MD to output dependencies as a
4243 # side effect of compilation, but ICC will put the dependencies in
4244 # the current directory while Tru64 will put them in the object
4248 am_cv_CXX_dependencies_compiler_type=none
4249 if test "$am_compiler_list" = ""; then
4250 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4253 case " $depcc " in #(
4254 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4257 for depmode in $am_compiler_list; do
4258 # Setup a source with many dependencies, because some compilers
4259 # like to wrap large dependency lists on column 80 (with \), and
4260 # we should not choose a depcomp mode which is confused by this.
4262 # We need to recreate these files for each test, as the compiler may
4263 # overwrite some of them when testing with obscure command lines.
4264 # This happens at least with the AIX C compiler.
4266 for i in 1 2 3 4 5 6; do
4267 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4268 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4269 # Solaris 8's
{/usr
,}/bin
/sh.
4270 touch sub
/conftst
$i.h
4272 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4274 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4275 # mode. It turns out that the SunPro C++ compiler does not properly
4276 # handle `-M -o', and we need to detect this. Also, some Intel
4277 # versions had trouble with output in subdirs
4278 am__obj
=sub
/conftest.
${OBJEXT-o}
4279 am__minus_obj
="-o $am__obj"
4282 # This depmode causes a compiler race in universal mode.
4283 test "$am__universal" = false ||
continue
4286 # after this tag, mechanisms are not by side-effect, so they'll
4287 # only be used when explicitly requested
4288 if test "x$enable_dependency_tracking" = xyes
; then
4294 msvisualcpp | msvcmsys
)
4295 # This compiler won't grok `-c -o', but also, the minuso test has
4296 # not run yet. These depmodes are late enough in the game, and
4297 # so weak that their functioning should not be impacted.
4298 am__obj
=conftest.
${OBJEXT-o}
4303 if depmode
=$depmode \
4304 source=sub
/conftest.c object
=$am__obj \
4305 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4306 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4307 >/dev
/null
2>conftest.err
&&
4308 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4309 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4310 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4311 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4312 # icc doesn't choke on unknown options, it will just issue warnings
4313 # or remarks (even with -Werror). So we grep stderr for any message
4314 # that says an option was ignored or not supported.
4315 # When given -MP, icc 7.0 and 7.1 complain thusly:
4316 # icc: Command line warning: ignoring option '-M'; no argument required
4317 # The diagnosis changed in icc 8.0:
4318 # icc: Command line remark: option '-MP' not supported
4319 if (grep 'ignoring option' conftest.err ||
4320 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4321 am_cv_CXX_dependencies_compiler_type
=$depmode
4330 am_cv_CXX_dependencies_compiler_type
=none
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4335 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4336 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4339 test "x$enable_dependency_tracking" != xno \
4340 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4341 am__fastdepCXX_TRUE
=
4342 am__fastdepCXX_FALSE
='#'
4344 am__fastdepCXX_TRUE
='#'
4345 am__fastdepCXX_FALSE
=
4351 if test "x$CC" != xcc
; then
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4353 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4356 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4358 set dummy
$CC; ac_cc
=`$as_echo "$2" |
4359 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4360 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
4361 $as_echo_n "(cached) " >&6
4363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4364 /* end confdefs.h. */
4374 # Make sure it works both with $CC and with simple cc.
4375 # We do the test twice because some compilers refuse to overwrite an
4376 # existing .o file with -o, though they will create one.
4377 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4379 if { { case "(($ac_try" in
4380 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4381 *) ac_try_echo=$ac_try;;
4383 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4384 $as_echo "$ac_try_echo"; } >&5
4385 (eval "$ac_try") 2>&5
4387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4388 test $ac_status = 0; } &&
4389 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4390 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4391 *) ac_try_echo
=$ac_try;;
4393 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4394 $as_echo "$ac_try_echo"; } >&5
4395 (eval "$ac_try") 2>&5
4397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4398 test $ac_status = 0; };
4400 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
4401 if test "x$CC" != xcc
; then
4402 # Test first that cc exists at all.
4403 if { ac_try
='cc -c conftest.$ac_ext >&5'
4404 { { case "(($ac_try" in
4405 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4406 *) ac_try_echo=$ac_try;;
4408 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4409 $as_echo "$ac_try_echo"; } >&5
4410 (eval "$ac_try") 2>&5
4412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4413 test $ac_status = 0; }; }; then
4414 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4416 if { { case "(($ac_try" in
4417 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4418 *) ac_try_echo
=$ac_try;;
4420 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4421 $as_echo "$ac_try_echo"; } >&5
4422 (eval "$ac_try") 2>&5
4424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4425 test $ac_status = 0; } &&
4426 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
4427 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4428 *) ac_try_echo=$ac_try;;
4430 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4431 $as_echo "$ac_try_echo"; } >&5
4432 (eval "$ac_try") 2>&5
4434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4435 test $ac_status = 0; };
4440 # cc exists but doesn't like -o.
4441 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4446 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4448 rm -f core conftest*
4451 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4453 $as_echo "yes" >&6; }
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4456 $as_echo "no" >&6; }
4458 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4462 # FIXME: we rely on the cache variable name because
4463 # there is no other way.
4465 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4466 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4467 if test "$am_t" != yes; then
4468 # Losing compiler, so override with the script.
4469 # FIXME: It is wrong to rewrite CC.
4470 # But if we don't then we get into trouble of one sort or another.
4471 # A longer-term fix would be to have automake use am__CC in this case,
4472 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4473 CC="$am_aux_dir/compile $CC"
4481 # Newer automakes demand CCAS and CCASFLAGS.
4483 : ${CCASFLAGS='$(CFLAGS)'}
4487 if test -n "$ac_tool_prefix"; then
4488 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4489 set dummy ${ac_tool_prefix}as; ac_word=$2
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4491 $as_echo_n "checking for $ac_word... " >&6; }
4492 if test "${ac_cv_prog_AS+set}" = set; then :
4493 $as_echo_n "(cached) " >&6
4495 if test -n "$AS"; then
4496 ac_cv_prog_AS="$AS" # Let the user override the test.
4498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4502 test -z "$as_dir" && as_dir=.
4503 for ac_exec_ext in '' $ac_executable_extensions; do
4504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4505 ac_cv_prog_AS="${ac_tool_prefix}as"
4506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4516 if test -n "$AS"; then
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4518 $as_echo "$AS" >&6; }
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4521 $as_echo "no" >&6; }
4526 if test -z "$ac_cv_prog_AS"; then
4528 # Extract the first word of "as", so it can be a program name with args.
4529 set dummy as; ac_word=$2
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4531 $as_echo_n "checking for $ac_word... " >&6; }
4532 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4533 $as_echo_n "(cached) " >&6
4535 if test -n "$ac_ct_AS"; then
4536 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4542 test -z "$as_dir" && as_dir=.
4543 for ac_exec_ext in '' $ac_executable_extensions; do
4544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4545 ac_cv_prog_ac_ct_AS="as"
4546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4555 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4556 if test -n "$ac_ct_AS"; then
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4558 $as_echo "$ac_ct_AS" >&6; }
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4561 $as_echo "no" >&6; }
4564 if test "x$ac_ct_AS" = x; then
4567 case $cross_compiling:$ac_tool_warned in
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4570 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4571 ac_tool_warned=yes ;;
4579 if test -n "$ac_tool_prefix"; then
4580 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4581 set dummy ${ac_tool_prefix}ar; ac_word=$2
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4583 $as_echo_n "checking for $ac_word... " >&6; }
4584 if test "${ac_cv_prog_AR+set}" = set; then :
4585 $as_echo_n "(cached) " >&6
4587 if test -n "$AR"; then
4588 ac_cv_prog_AR="$AR" # Let the user override the test.
4590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4594 test -z "$as_dir" && as_dir=.
4595 for ac_exec_ext in '' $ac_executable_extensions; do
4596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4597 ac_cv_prog_AR="${ac_tool_prefix}ar"
4598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4608 if test -n "$AR"; then
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4610 $as_echo "$AR" >&6; }
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4613 $as_echo "no" >&6; }
4618 if test -z "$ac_cv_prog_AR"; then
4620 # Extract the first word of "ar", so it can be a program name with args.
4621 set dummy ar; ac_word=$2
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4623 $as_echo_n "checking for $ac_word... " >&6; }
4624 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4625 $as_echo_n "(cached) " >&6
4627 if test -n "$ac_ct_AR"; then
4628 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4634 test -z "$as_dir" && as_dir=.
4635 for ac_exec_ext in '' $ac_executable_extensions; do
4636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4637 ac_cv_prog_ac_ct_AR="ar"
4638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4647 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4648 if test -n "$ac_ct_AR"; then
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4650 $as_echo "$ac_ct_AR" >&6; }
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4653 $as_echo "no" >&6; }
4656 if test "x$ac_ct_AR" = x; then
4659 case $cross_compiling:$ac_tool_warned in
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4662 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4663 ac_tool_warned=yes ;;
4671 if test -n "$ac_tool_prefix"; then
4672 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4673 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4675 $as_echo_n "checking for $ac_word... " >&6; }
4676 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4677 $as_echo_n "(cached) " >&6
4679 if test -n "$RANLIB"; then
4680 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4686 test -z "$as_dir" && as_dir=.
4687 for ac_exec_ext in '' $ac_executable_extensions; do
4688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4689 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4699 RANLIB=$ac_cv_prog_RANLIB
4700 if test -n "$RANLIB"; then
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4702 $as_echo "$RANLIB" >&6; }
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4705 $as_echo "no" >&6; }
4710 if test -z "$ac_cv_prog_RANLIB"; then
4711 ac_ct_RANLIB=$RANLIB
4712 # Extract the first word of "ranlib", so it can be a program name with args.
4713 set dummy ranlib; ac_word=$2
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4715 $as_echo_n "checking for $ac_word... " >&6; }
4716 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4717 $as_echo_n "(cached) " >&6
4719 if test -n "$ac_ct_RANLIB"; then
4720 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4726 test -z "$as_dir" && as_dir=.
4727 for ac_exec_ext in '' $ac_executable_extensions; do
4728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4729 ac_cv_prog_ac_ct_RANLIB="ranlib"
4730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4739 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4740 if test -n "$ac_ct_RANLIB"; then
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4742 $as_echo "$ac_ct_RANLIB" >&6; }
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4745 $as_echo "no" >&6; }
4748 if test "x$ac_ct_RANLIB" = x; then
4751 case $cross_compiling:$ac_tool_warned in
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4754 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4755 ac_tool_warned=yes ;;
4757 RANLIB=$ac_ct_RANLIB
4760 RANLIB="$ac_cv_prog_RANLIB"
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4768 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4769 # Check whether --enable-maintainer-mode was given.
4770 if test "${enable_maintainer_mode+set}" = set; then :
4771 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4773 USE_MAINTAINER_MODE=no
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4777 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4778 if test $USE_MAINTAINER_MODE = yes; then
4779 MAINTAINER_MODE_TRUE=
4780 MAINTAINER_MODE_FALSE='#'
4782 MAINTAINER_MODE_TRUE='#'
4783 MAINTAINER_MODE_FALSE=
4786 MAINT=$MAINTAINER_MODE_TRUE
4790 . ${srcdir}/configure.host
4792 case ${gc_basedir} in
4793 /* | A-Za-z:/\\*) gc_flagbasedir=${gc_basedir} ;;
4794 *) gc_flagbasedir='$(top_builddir)/'${gc_basedir} ;;
4797 gc_cflags="${gc_cflags} -Iinclude -I"'$(top_builddir)'"/./targ-include -I${gc_flagbasedir}/libc/include"
4800 gc_cflags="${gc_cflags} -I${gc_flagbasedir}/../winsup/include"
4806 gc_cflags="${gc_cflags} -DGC_BUILD=1"
4811 GC_CFLAGS=${gc_cflags}
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
4817 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
4822 macro_version='2.2.7a'
4823 macro_revision='1.3134'
4837 ltmain="$ac_aux_dir/ltmain.sh"
4839 # Backslashify metacharacters that are still active within
4840 # double-quoted strings.
4841 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
4843 # Same as above, but do not quote variable references.
4844 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
4846 # Sed substitution to delay expansion of an escaped shell variable in a
4847 # double_quote_subst'ed string.
4848 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4850 # Sed substitution to delay expansion of an escaped single quote.
4851 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4853 # Sed substitution to avoid accidental globbing in evaled expressions
4854 no_glob_subst='s/\*/\\\*/g'
4856 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4857 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4858 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
4861 $as_echo_n "checking how to print
strings...
" >&6; }
4862 # Test print first, because it will be a builtin if present.
4863 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
4864 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
4866 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
4869 # Use this function as a fallback that always works.
4870 func_fallback_echo ()
4872 eval 'cat <<_LTECHO_EOF
4876 ECHO='func_fallback_echo'
4879 # func_echo_all arg...
4880 # Invoke $ECHO with all args, space-separated.
4887 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
4888 $as_echo "printf" >&6; } ;;
4889 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
4890 $as_echo "print
-r" >&6; } ;;
4891 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
4892 $as_echo "cat" >&6; } ;;
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
4909 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
4910 if test "${ac_cv_path_SED+set}" = set; then :
4911 $as_echo_n "(cached
) " >&6
4913 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4914 for ac_i in 1 2 3 4 5 6 7; do
4915 ac_script="$ac_script$as_nl$ac_script"
4917 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4918 { ac_script=; unset ac_script;}
4919 if test -z "$SED"; then
4920 ac_path_SED_found=false
4921 # Loop through the user's path and test for each of PROGNAME-LIST
4922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4926 test -z "$as_dir" && as_dir=.
4927 for ac_prog in sed gsed; do
4928 for ac_exec_ext in '' $ac_executable_extensions; do
4929 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4930 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4931 # Check for GNU ac_path_SED and select it if it is found.
4932 # Check for GNU $ac_path_SED
4933 case `"$ac_path_SED" --version 2>&1` in
4935 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4938 $as_echo_n 0123456789 >"conftest.
in"
4941 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4942 mv "conftest.tmp
" "conftest.
in"
4943 cp "conftest.
in" "conftest.
nl"
4944 $as_echo '' >> "conftest.
nl"
4945 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4946 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4947 as_fn_arith $ac_count + 1 && ac_count=$as_val
4948 if test $ac_count -gt ${ac_path_SED_max-0}; then
4949 # Best one so far, save it but keep looking for a better one
4950 ac_cv_path_SED="$ac_path_SED"
4951 ac_path_SED_max=$ac_count
4953 # 10*(2^10) chars as input seems more than enough
4954 test $ac_count -gt 10 && break
4956 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4959 $ac_path_SED_found && break 3
4964 if test -z "$ac_cv_path_SED"; then
4965 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
4973 $as_echo "$ac_cv_path_SED" >&6; }
4974 SED="$ac_cv_path_SED"
4977 test -z "$SED" && SED=sed
4978 Xsed="$SED -e 1s
/^X
//"
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
4991 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
4992 if test "${ac_cv_path_GREP+set}" = set; then :
4993 $as_echo_n "(cached
) " >&6
4995 if test -z "$GREP"; then
4996 ac_path_GREP_found=false
4997 # Loop through the user's path and test for each of PROGNAME-LIST
4998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4999 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5002 test -z "$as_dir" && as_dir=.
5003 for ac_prog in grep ggrep; do
5004 for ac_exec_ext in '' $ac_executable_extensions; do
5005 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5006 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5007 # Check for GNU ac_path_GREP and select it if it is found.
5008 # Check for GNU $ac_path_GREP
5009 case `"$ac_path_GREP" --version 2>&1` in
5011 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5014 $as_echo_n 0123456789 >"conftest.
in"
5017 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5018 mv "conftest.tmp
" "conftest.
in"
5019 cp "conftest.
in" "conftest.
nl"
5020 $as_echo 'GREP' >> "conftest.
nl"
5021 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5022 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5023 as_fn_arith $ac_count + 1 && ac_count=$as_val
5024 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5025 # Best one so far, save it but keep looking for a better one
5026 ac_cv_path_GREP="$ac_path_GREP"
5027 ac_path_GREP_max=$ac_count
5029 # 10*(2^10) chars as input seems more than enough
5030 test $ac_count -gt 10 && break
5032 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5035 $ac_path_GREP_found && break 3
5040 if test -z "$ac_cv_path_GREP"; then
5041 as_fn_error "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5044 ac_cv_path_GREP=$GREP
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5049 $as_echo "$ac_cv_path_GREP" >&6; }
5050 GREP="$ac_cv_path_GREP"
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5054 $as_echo_n "checking
for egrep...
" >&6; }
5055 if test "${ac_cv_path_EGREP+set}" = set; then :
5056 $as_echo_n "(cached
) " >&6
5058 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5059 then ac_cv_path_EGREP="$GREP -E"
5061 if test -z "$EGREP"; then
5062 ac_path_EGREP_found=false
5063 # Loop through the user's path and test for each of PROGNAME-LIST
5064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5065 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5068 test -z "$as_dir" && as_dir=.
5069 for ac_prog in egrep; do
5070 for ac_exec_ext in '' $ac_executable_extensions; do
5071 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5072 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5073 # Check for GNU ac_path_EGREP and select it if it is found.
5074 # Check for GNU $ac_path_EGREP
5075 case `"$ac_path_EGREP" --version 2>&1` in
5077 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5080 $as_echo_n 0123456789 >"conftest.
in"
5083 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5084 mv "conftest.tmp
" "conftest.
in"
5085 cp "conftest.
in" "conftest.
nl"
5086 $as_echo 'EGREP' >> "conftest.
nl"
5087 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5088 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5089 as_fn_arith $ac_count + 1 && ac_count=$as_val
5090 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5091 # Best one so far, save it but keep looking for a better one
5092 ac_cv_path_EGREP="$ac_path_EGREP"
5093 ac_path_EGREP_max=$ac_count
5095 # 10*(2^10) chars as input seems more than enough
5096 test $ac_count -gt 10 && break
5098 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5101 $ac_path_EGREP_found && break 3
5106 if test -z "$ac_cv_path_EGREP"; then
5107 as_fn_error "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5110 ac_cv_path_EGREP=$EGREP
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5116 $as_echo "$ac_cv_path_EGREP" >&6; }
5117 EGREP="$ac_cv_path_EGREP"
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5121 $as_echo_n "checking
for fgrep...
" >&6; }
5122 if test "${ac_cv_path_FGREP+set}" = set; then :
5123 $as_echo_n "(cached
) " >&6
5125 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5126 then ac_cv_path_FGREP="$GREP -F"
5128 if test -z "$FGREP"; then
5129 ac_path_FGREP_found=false
5130 # Loop through the user's path and test for each of PROGNAME-LIST
5131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5132 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5135 test -z "$as_dir" && as_dir=.
5136 for ac_prog in fgrep; do
5137 for ac_exec_ext in '' $ac_executable_extensions; do
5138 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5139 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5140 # Check for GNU ac_path_FGREP and select it if it is found.
5141 # Check for GNU $ac_path_FGREP
5142 case `"$ac_path_FGREP" --version 2>&1` in
5144 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5147 $as_echo_n 0123456789 >"conftest.
in"
5150 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5151 mv "conftest.tmp
" "conftest.
in"
5152 cp "conftest.
in" "conftest.
nl"
5153 $as_echo 'FGREP' >> "conftest.
nl"
5154 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5155 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5156 as_fn_arith $ac_count + 1 && ac_count=$as_val
5157 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5158 # Best one so far, save it but keep looking for a better one
5159 ac_cv_path_FGREP="$ac_path_FGREP"
5160 ac_path_FGREP_max=$ac_count
5162 # 10*(2^10) chars as input seems more than enough
5163 test $ac_count -gt 10 && break
5165 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5168 $ac_path_FGREP_found && break 3
5173 if test -z "$ac_cv_path_FGREP"; then
5174 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5177 ac_cv_path_FGREP=$FGREP
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5183 $as_echo "$ac_cv_path_FGREP" >&6; }
5184 FGREP="$ac_cv_path_FGREP"
5187 test -z "$GREP" && GREP=grep
5207 # Check whether --with-gnu-ld was given.
5208 if test "${with_gnu_ld+set}" = set; then :
5209 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5215 if test "$GCC" = yes; then
5216 # Check if gcc -print-prog-name=ld gives a path.
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5218 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5221 # gcc leaves a trailing carriage return which upsets mingw
5222 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5224 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5227 # Accept absolute paths.
5229 re_direlt='/[^/][^/]*/\.\./'
5230 # Canonicalize the pathname of ld
5231 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5232 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5233 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5235 test -z "$LD" && LD="$ac_prog"
5238 # If it fails, then pretend we aren't using GCC.
5242 # If it is relative, then search for the first ld in PATH.
5246 elif test "$with_gnu_ld" = yes; then
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5248 $as_echo_n "checking
for GNU ld...
" >&6; }
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
5251 $as_echo_n "checking
for non-GNU ld...
" >&6; }
5253 if test "${lt_cv_path_LD+set}" = set; then :
5254 $as_echo_n "(cached
) " >&6
5256 if test -z "$LD"; then
5257 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5258 for ac_dir in $PATH; do
5260 test -z "$ac_dir" && ac_dir=.
5261 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5262 lt_cv_path_LD="$ac_dir/$ac_prog"
5263 # Check to see if the program is GNU ld. I'd rather use --version,
5264 # but apparently some variants of GNU ld only accept -v.
5265 # Break only if it was the GNU/non-GNU ld that we prefer.
5266 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5267 *GNU* | *'with BFD'*)
5268 test "$with_gnu_ld" != no && break
5271 test "$with_gnu_ld" != yes && break
5278 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5283 if test -n "$LD"; then
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5285 $as_echo "$LD" >&6; }
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5288 $as_echo "no
" >&6; }
5290 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5292 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5293 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5294 $as_echo_n "(cached
) " >&6
5296 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5297 case `$LD -v 2>&1 </dev/null` in
5298 *GNU* | *'with BFD'*)
5299 lt_cv_prog_gnu_ld=yes
5302 lt_cv_prog_gnu_ld=no
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5307 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5308 with_gnu_ld=$lt_cv_prog_gnu_ld
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5319 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5320 if test "${lt_cv_path_NM+set}" = set; then :
5321 $as_echo_n "(cached
) " >&6
5323 if test -n "$NM"; then
5324 # Let the user override the test.
5327 lt_nm_to_check="${ac_tool_prefix}nm
"
5328 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5329 lt_nm_to_check="$lt_nm_to_check nm
"
5331 for lt_tmp_nm in $lt_nm_to_check; do
5332 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5333 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5335 test -z "$ac_dir" && ac_dir=.
5336 tmp_nm="$ac_dir/$lt_tmp_nm"
5337 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5338 # Check to see if the nm accepts a BSD-compat flag.
5339 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5340 # nm: unknown option "B
" ignored
5341 # Tru64's nm complains that /dev/null is an invalid object file
5342 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5343 */dev/null* | *'Invalid file or object type'*)
5344 lt_cv_path_NM="$tmp_nm -B"
5348 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5350 lt_cv_path_NM="$tmp_nm -p"
5354 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5355 continue # so that we can try to find one that supports BSD flags
5364 : ${lt_cv_path_NM=no}
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5368 $as_echo "$lt_cv_path_NM" >&6; }
5369 if test "$lt_cv_path_NM" != "no
"; then
5372 # Didn't find any BSD compatible name lister, look for dumpbin.
5373 if test -n "$DUMPBIN"; then :
5374 # Let the user override the test.
5376 if test -n "$ac_tool_prefix"; then
5377 for ac_prog in dumpbin "link
-dump"
5379 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5380 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5382 $as_echo_n "checking
for $ac_word...
" >&6; }
5383 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5384 $as_echo_n "(cached
) " >&6
5386 if test -n "$DUMPBIN"; then
5387 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5393 test -z "$as_dir" && as_dir=.
5394 for ac_exec_ext in '' $ac_executable_extensions; do
5395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5396 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5397 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5406 DUMPBIN=$ac_cv_prog_DUMPBIN
5407 if test -n "$DUMPBIN"; then
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5409 $as_echo "$DUMPBIN" >&6; }
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5412 $as_echo "no
" >&6; }
5416 test -n "$DUMPBIN" && break
5419 if test -z "$DUMPBIN"; then
5420 ac_ct_DUMPBIN=$DUMPBIN
5421 for ac_prog in dumpbin "link
-dump"
5423 # Extract the first word of "$ac_prog", so it can be a program name with args.
5424 set dummy $ac_prog; ac_word=$2
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5426 $as_echo_n "checking
for $ac_word...
" >&6; }
5427 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5428 $as_echo_n "(cached
) " >&6
5430 if test -n "$ac_ct_DUMPBIN"; then
5431 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5437 test -z "$as_dir" && as_dir=.
5438 for ac_exec_ext in '' $ac_executable_extensions; do
5439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5440 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5441 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5450 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5451 if test -n "$ac_ct_DUMPBIN"; then
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5453 $as_echo "$ac_ct_DUMPBIN" >&6; }
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5456 $as_echo "no
" >&6; }
5460 test -n "$ac_ct_DUMPBIN" && break
5463 if test "x
$ac_ct_DUMPBIN" = x; then
5466 case $cross_compiling:$ac_tool_warned in
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5469 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5470 ac_tool_warned=yes ;;
5472 DUMPBIN=$ac_ct_DUMPBIN
5476 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5478 DUMPBIN="$DUMPBIN -symbols"
5486 if test "$DUMPBIN" != ":"; then
5490 test -z "$NM" && NM=nm
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5498 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5499 if test "${lt_cv_nm_interface+set}" = set; then :
5500 $as_echo_n "(cached
) " >&6
5502 lt_cv_nm_interface="BSD nm
"
5503 echo "int some_variable
= 0;" > conftest.$ac_ext
5504 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5505 (eval "$ac_compile" 2>conftest.err)
5506 cat conftest.err >&5
5507 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5508 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5509 cat conftest.err >&5
5510 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5511 cat conftest.out >&5
5512 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5513 lt_cv_nm_interface="MS dumpbin
"
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5518 $as_echo "$lt_cv_nm_interface" >&6; }
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5521 $as_echo_n "checking whether
ln -s works...
" >&6; }
5523 if test "$LN_S" = "ln -s"; then
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5525 $as_echo "yes" >&6; }
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5528 $as_echo "no
, using
$LN_S" >&6; }
5531 # find the maximum length of command line arguments
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5533 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5534 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5535 $as_echo_n "(cached
) " >&6
5542 # On DJGPP, this test can blow up pretty badly due to problems in libc
5543 # (any single argument exceeding 2000 bytes causes a buffer overrun
5544 # during glob expansion). Even if it were fixed, the result of this
5545 # check would be larger than it should be.
5546 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5550 # Under GNU Hurd, this test is not required because there is
5551 # no limit to the length of command line arguments.
5552 # Libtool will interpret -1 as no limit whatsoever
5553 lt_cv_sys_max_cmd_len=-1;
5556 cygwin* | mingw* | cegcc*)
5557 # On Win9x/ME, this test blows up -- it succeeds, but takes
5558 # about 5 minutes as the teststring grows exponentially.
5559 # Worse, since 9x/ME are not pre-emptively multitasking,
5560 # you end up with a "frozen
" computer, even though with patience
5561 # the test eventually succeeds (with a max line length of 256k).
5562 # Instead, let's just punt: use the minimum linelength reported by
5563 # all of the supported platforms: 8192 (on NT/2K/XP).
5564 lt_cv_sys_max_cmd_len=8192;
5568 # On MiNT this can take a long time and run out of memory.
5569 lt_cv_sys_max_cmd_len=8192;
5573 # On AmigaOS with pdksh, this test takes hours, literally.
5574 # So we just punt and use a minimum line length of 8192.
5575 lt_cv_sys_max_cmd_len=8192;
5578 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5579 # This has been around since 386BSD, at least. Likely further.
5580 if test -x /sbin/sysctl; then
5581 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5582 elif test -x /usr/sbin/sysctl; then
5583 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5585 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5587 # And add a safety zone
5588 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5589 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5593 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5594 lt_cv_sys_max_cmd_len=196608
5598 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5599 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5600 # nice to cause kernel panics so lets avoid the loop below.
5601 # First set a reasonable default.
5602 lt_cv_sys_max_cmd_len=16384
5604 if test -x /sbin/sysconfig; then
5605 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5606 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5611 lt_cv_sys_max_cmd_len=102400
5613 sysv5* | sco5v6* | sysv4.2uw2*)
5614 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5615 if test -n "$kargmax"; then
5616 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5618 lt_cv_sys_max_cmd_len=32768
5622 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5623 if test -n "$lt_cv_sys_max_cmd_len"; then
5624 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5625 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5627 # Make teststring a little bigger before we do anything with it.
5628 # a 1K string should be a reasonable start.
5629 for i in 1 2 3 4 5 6 7 8 ; do
5630 teststring=$teststring$teststring
5632 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5633 # If test is not a shell built-in, we'll probably end up computing a
5634 # maximum length that is only half of the actual maximum length, but
5636 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5637 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5638 test $i != 17 # 1/2 MB should be enough
5641 teststring=$teststring$teststring
5643 # Only check the string length outside the loop.
5644 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5646 # Add a significant safety factor because C++ compilers can tack on
5647 # massive amounts of additional arguments before passing them to the
5648 # linker. It appears as though 1/2 is a usable value.
5649 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5656 if test -n $lt_cv_sys_max_cmd_len ; then
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5658 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5661 $as_echo "none
" >&6; }
5663 max_cmd_len=$lt_cv_sys_max_cmd_len
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5675 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5676 # Try some XSI features
5679 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5681 && eval 'test $(( 1 + 1 )) -eq 2 \
5682 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5685 $as_echo "$xsi_shell" >&6; }
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5689 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5691 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5693 && lt_shell_append
=yes
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5695 $as_echo "$lt_shell_append" >&6; }
5698 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5708 # test EBCDIC or ASCII
5709 case `echo X|tr X '\101'` in
5710 A
) # ASCII based system
5711 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5712 lt_SP2NL
='tr \040 \012'
5713 lt_NL2SP
='tr \015\012 \040\040'
5715 *) # EBCDIC based system
5716 lt_SP2NL
='tr \100 \n'
5717 lt_NL2SP
='tr \r\n \100\100'
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5730 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5731 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5732 $as_echo_n "(cached) " >&6
5734 lt_cv_ld_reload_flag
='-r'
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5737 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5738 reload_flag
=$lt_cv_ld_reload_flag
5739 case $reload_flag in
5741 *) reload_flag
=" $reload_flag" ;;
5743 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5746 if test "$GCC" = yes; then
5747 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5749 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5762 if test -n "$ac_tool_prefix"; then
5763 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5764 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5766 $as_echo_n "checking for $ac_word... " >&6; }
5767 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5768 $as_echo_n "(cached) " >&6
5770 if test -n "$OBJDUMP"; then
5771 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5777 test -z "$as_dir" && as_dir
=.
5778 for ac_exec_ext
in '' $ac_executable_extensions; do
5779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5780 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5790 OBJDUMP
=$ac_cv_prog_OBJDUMP
5791 if test -n "$OBJDUMP"; then
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5793 $as_echo "$OBJDUMP" >&6; }
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5796 $as_echo "no" >&6; }
5801 if test -z "$ac_cv_prog_OBJDUMP"; then
5802 ac_ct_OBJDUMP
=$OBJDUMP
5803 # Extract the first word of "objdump", so it can be a program name with args.
5804 set dummy objdump
; ac_word
=$2
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5806 $as_echo_n "checking for $ac_word... " >&6; }
5807 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5808 $as_echo_n "(cached) " >&6
5810 if test -n "$ac_ct_OBJDUMP"; then
5811 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5817 test -z "$as_dir" && as_dir
=.
5818 for ac_exec_ext
in '' $ac_executable_extensions; do
5819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5820 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5830 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5831 if test -n "$ac_ct_OBJDUMP"; then
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5833 $as_echo "$ac_ct_OBJDUMP" >&6; }
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5836 $as_echo "no" >&6; }
5839 if test "x$ac_ct_OBJDUMP" = x
; then
5842 case $cross_compiling:$ac_tool_warned in
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5845 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5846 ac_tool_warned
=yes ;;
5848 OBJDUMP
=$ac_ct_OBJDUMP
5851 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5854 test -z "$OBJDUMP" && OBJDUMP
=objdump
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5865 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5866 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5867 $as_echo_n "(cached) " >&6
5869 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5870 lt_cv_file_magic_test_file
=
5871 lt_cv_deplibs_check_method
='unknown'
5872 # Need to set the preceding variable on all platforms that support
5873 # interlibrary dependencies.
5874 # 'none' -- dependencies not supported.
5875 # `unknown' -- same as none, but documents that we really don't know.
5876 # 'pass_all' -- all dependencies passed with no checks.
5877 # 'test_compile' -- check by making test program.
5878 # 'file_magic [[regex]]' -- check by looking for files in library path
5879 # which responds to the $file_magic_cmd with a given extended regex.
5880 # If you have `file' or equivalent on your system and you're not sure
5881 # whether `pass_all' will *always* work, you probably want this one.
5885 lt_cv_deplibs_check_method
=pass_all
5889 lt_cv_deplibs_check_method
=pass_all
5893 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5894 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5895 lt_cv_file_magic_test_file
=/shlib
/libc.so
5899 # func_win32_libid is a shell function defined in ltmain.sh
5900 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5901 lt_cv_file_magic_cmd
='func_win32_libid'
5905 # Base MSYS/MinGW do not provide the 'file' command needed by
5906 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5907 # unless we find 'file', for example because we are cross-compiling.
5908 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5909 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
5910 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5911 lt_cv_file_magic_cmd
='func_win32_libid'
5913 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5914 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5919 # use the weaker test based on 'objdump'. See mingw*.
5920 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5921 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5924 darwin
* | rhapsody
*)
5925 lt_cv_deplibs_check_method
=pass_all
5928 freebsd
* | dragonfly
*)
5929 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5932 # Not sure whether the presence of OpenBSD here was a mistake.
5933 # Let's accept both of them until this is cleared up.
5934 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5935 lt_cv_file_magic_cmd
=/usr
/bin
/file
5936 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5940 lt_cv_deplibs_check_method
=pass_all
5945 lt_cv_deplibs_check_method
=pass_all
5949 lt_cv_deplibs_check_method
=pass_all
5952 hpux10.20
* | hpux11
*)
5953 lt_cv_file_magic_cmd
=/usr
/bin
/file
5956 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5957 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5960 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]'
5961 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
5964 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5965 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5971 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5972 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5975 irix5
* | irix6
* | nonstopux
*)
5977 *-32|
*"-32 ") libmagic
=32-bit;;
5978 *-n32|
*"-n32 ") libmagic
=N32
;;
5979 *-64|
*"-64 ") libmagic
=64-bit;;
5980 *) libmagic
=never-match
;;
5982 lt_cv_deplibs_check_method
=pass_all
5985 # This must be Linux ELF.
5986 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
5987 lt_cv_deplibs_check_method
=pass_all
5991 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5992 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5994 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5999 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6000 lt_cv_file_magic_cmd
=/usr
/bin
/file
6001 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6005 lt_cv_deplibs_check_method
=pass_all
6009 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6010 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6012 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6016 osf3
* | osf4
* | osf5
*)
6017 lt_cv_deplibs_check_method
=pass_all
6021 lt_cv_deplibs_check_method
=pass_all
6025 lt_cv_deplibs_check_method
=pass_all
6028 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6029 lt_cv_deplibs_check_method
=pass_all
6033 case $host_vendor in
6035 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]'
6036 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6039 lt_cv_deplibs_check_method
=pass_all
6042 lt_cv_file_magic_cmd
='/bin/file'
6043 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6046 lt_cv_file_magic_cmd
='/bin/file'
6047 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6048 lt_cv_file_magic_test_file
=/lib
/libc.so
6051 lt_cv_deplibs_check_method
=pass_all
6054 lt_cv_deplibs_check_method
=pass_all
6060 lt_cv_deplibs_check_method
=pass_all
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6066 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6067 file_magic_cmd
=$lt_cv_file_magic_cmd
6068 deplibs_check_method
=$lt_cv_deplibs_check_method
6069 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6082 if test -n "$ac_tool_prefix"; then
6083 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6084 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6086 $as_echo_n "checking for $ac_word... " >&6; }
6087 if test "${ac_cv_prog_AR+set}" = set; then :
6088 $as_echo_n "(cached) " >&6
6090 if test -n "$AR"; then
6091 ac_cv_prog_AR
="$AR" # Let the user override the test.
6093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6097 test -z "$as_dir" && as_dir
=.
6098 for ac_exec_ext
in '' $ac_executable_extensions; do
6099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6100 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6111 if test -n "$AR"; then
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6113 $as_echo "$AR" >&6; }
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6116 $as_echo "no" >&6; }
6121 if test -z "$ac_cv_prog_AR"; then
6123 # Extract the first word of "ar", so it can be a program name with args.
6124 set dummy
ar; ac_word
=$2
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6126 $as_echo_n "checking for $ac_word... " >&6; }
6127 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6128 $as_echo_n "(cached) " >&6
6130 if test -n "$ac_ct_AR"; then
6131 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6137 test -z "$as_dir" && as_dir
=.
6138 for ac_exec_ext
in '' $ac_executable_extensions; do
6139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6140 ac_cv_prog_ac_ct_AR
="ar"
6141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6150 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6151 if test -n "$ac_ct_AR"; then
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6153 $as_echo "$ac_ct_AR" >&6; }
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6156 $as_echo "no" >&6; }
6159 if test "x$ac_ct_AR" = x
; then
6162 case $cross_compiling:$ac_tool_warned in
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6165 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6166 ac_tool_warned
=yes ;;
6174 test -z "$AR" && AR
=ar
6175 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6187 if test -n "$ac_tool_prefix"; then
6188 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6189 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6191 $as_echo_n "checking for $ac_word... " >&6; }
6192 if test "${ac_cv_prog_STRIP+set}" = set; then :
6193 $as_echo_n "(cached) " >&6
6195 if test -n "$STRIP"; then
6196 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6202 test -z "$as_dir" && as_dir
=.
6203 for ac_exec_ext
in '' $ac_executable_extensions; do
6204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6205 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6215 STRIP
=$ac_cv_prog_STRIP
6216 if test -n "$STRIP"; then
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6218 $as_echo "$STRIP" >&6; }
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6221 $as_echo "no" >&6; }
6226 if test -z "$ac_cv_prog_STRIP"; then
6228 # Extract the first word of "strip", so it can be a program name with args.
6229 set dummy strip
; ac_word
=$2
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6231 $as_echo_n "checking for $ac_word... " >&6; }
6232 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6233 $as_echo_n "(cached) " >&6
6235 if test -n "$ac_ct_STRIP"; then
6236 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6242 test -z "$as_dir" && as_dir
=.
6243 for ac_exec_ext
in '' $ac_executable_extensions; do
6244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6245 ac_cv_prog_ac_ct_STRIP
="strip"
6246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6255 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6256 if test -n "$ac_ct_STRIP"; then
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6258 $as_echo "$ac_ct_STRIP" >&6; }
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6261 $as_echo "no" >&6; }
6264 if test "x$ac_ct_STRIP" = x
; then
6267 case $cross_compiling:$ac_tool_warned in
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6271 ac_tool_warned
=yes ;;
6276 STRIP
="$ac_cv_prog_STRIP"
6279 test -z "$STRIP" && STRIP
=:
6286 if test -n "$ac_tool_prefix"; then
6287 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6288 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6290 $as_echo_n "checking for $ac_word... " >&6; }
6291 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6292 $as_echo_n "(cached) " >&6
6294 if test -n "$RANLIB"; then
6295 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6301 test -z "$as_dir" && as_dir
=.
6302 for ac_exec_ext
in '' $ac_executable_extensions; do
6303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6304 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6314 RANLIB
=$ac_cv_prog_RANLIB
6315 if test -n "$RANLIB"; then
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6317 $as_echo "$RANLIB" >&6; }
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6320 $as_echo "no" >&6; }
6325 if test -z "$ac_cv_prog_RANLIB"; then
6326 ac_ct_RANLIB
=$RANLIB
6327 # Extract the first word of "ranlib", so it can be a program name with args.
6328 set dummy ranlib
; ac_word
=$2
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6330 $as_echo_n "checking for $ac_word... " >&6; }
6331 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6332 $as_echo_n "(cached) " >&6
6334 if test -n "$ac_ct_RANLIB"; then
6335 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6341 test -z "$as_dir" && as_dir
=.
6342 for ac_exec_ext
in '' $ac_executable_extensions; do
6343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6344 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6354 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6355 if test -n "$ac_ct_RANLIB"; then
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6357 $as_echo "$ac_ct_RANLIB" >&6; }
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6360 $as_echo "no" >&6; }
6363 if test "x$ac_ct_RANLIB" = x
; then
6366 case $cross_compiling:$ac_tool_warned in
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6369 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6370 ac_tool_warned
=yes ;;
6372 RANLIB
=$ac_ct_RANLIB
6375 RANLIB
="$ac_cv_prog_RANLIB"
6378 test -z "$RANLIB" && RANLIB
=:
6385 # Determine commands to create old-style static archives.
6386 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6387 old_postinstall_cmds
='chmod 644 $oldlib'
6388 old_postuninstall_cmds
=
6390 if test -n "$RANLIB"; then
6393 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6396 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6399 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6404 lock_old_archive_extraction
=yes ;;
6406 lock_old_archive_extraction
=no
;;
6447 # If no C compiler was specified, use CC.
6450 # If no C compiler flags were specified, use CFLAGS.
6451 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6453 # Allow CC to be a program name with arguments.
6457 # Check for command to grab the raw symbol name followed by C symbol from nm.
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6459 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6460 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6461 $as_echo_n "(cached) " >&6
6464 # These are sane defaults that work on at least a few old systems.
6465 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6467 # Character class describing NM global symbol codes.
6468 symcode
='[BCDEGRST]'
6470 # Regexp to match symbols that can be accessed directly from C.
6471 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6473 # Define system-specific variables.
6478 cygwin
* | mingw
* | pw32
* | cegcc
*)
6479 symcode
='[ABCDGISTW]'
6482 if test "$host_cpu" = ia64
; then
6483 symcode
='[ABCDEGRST]'
6487 symcode
='[BCDEGRST]'
6490 symcode
='[BCDEGQRST]'
6501 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6509 # If we're using GNU nm, then use its standard symbol codes.
6510 case `$NM -V 2>&1` in
6511 *GNU
* |
*'with BFD'*)
6512 symcode
='[ABCDGIRSTW]' ;;
6515 # Transform an extracted symbol line into a proper C declaration.
6516 # Some systems (esp. on ia64) link data and code symbols differently,
6517 # so use this general approach.
6518 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6520 # Transform an extracted symbol line into symbol name and symbol address
6521 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6522 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'"
6524 # Handle CRLF in mingw tool chain
6528 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6532 # Try without a prefix underscore, then with it.
6533 for ac_symprfx
in "" "_"; do
6535 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6536 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6538 # Write the raw and C identifiers.
6539 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6540 # Fake it for dumpbin and say T for any non-static function
6541 # and D for any global variable.
6542 # Also find C++ and __fastcall symbols from MSVC++,
6543 # which start with @ or ?.
6544 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6545 " {last_section=section; section=\$ 3};"\
6546 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6547 " \$ 0!~/External *\|/{next};"\
6548 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6549 " {if(hide[section]) next};"\
6550 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6551 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6552 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6553 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6554 " ' prfx=^$ac_symprfx"
6556 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6559 # Check to see that the pipe works correctly.
6563 cat > conftest.
$ac_ext <<_LT_EOF
6568 void nm_test_func(void);
6569 void nm_test_func(void){}
6573 int main(){nm_test_var='a';nm_test_func();return(0);}
6576 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6577 (eval $ac_compile) 2>&5
6579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6580 test $ac_status = 0; }; then
6581 # Now try to grab the symbols.
6583 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6584 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6587 test $ac_status = 0; } && test -s "$nlist"; then
6588 # Try sorting and uniquifying the output.
6589 if sort "$nlist" |
uniq > "$nlist"T
; then
6590 mv -f "$nlist"T
"$nlist"
6595 # Make sure that we snagged all the symbols we need.
6596 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6597 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6598 cat <<_LT_EOF > conftest.$ac_ext
6604 # Now generate the symbol file.
6605 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6607 cat <<_LT_EOF >> conftest.$ac_ext
6609 /* The mapping between symbol names and symbols. */
6614 lt__PROGRAM__LTX_preloaded_symbols[] =
6616 { "@PROGRAM@", (void *) 0 },
6618 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
6619 cat <<\_LT_EOF
>> conftest.
$ac_ext
6623 /* This works around a problem
in FreeBSD linker
*/
6624 #ifdef FREEBSD_WORKAROUND
6625 static const void
*lt_preloaded_setup
() {
6626 return lt__PROGRAM__LTX_preloaded_symbols
;
6634 # Now try linking the two files.
6635 mv conftest.
$ac_objext conftstm.
$ac_objext
6636 lt_save_LIBS
="$LIBS"
6637 lt_save_CFLAGS
="$CFLAGS"
6638 LIBS
="conftstm.$ac_objext"
6639 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6640 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6641 (eval $ac_link) 2>&5
6643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6644 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6647 LIBS
="$lt_save_LIBS"
6648 CFLAGS
="$lt_save_CFLAGS"
6650 echo "cannot find nm_test_func in $nlist" >&5
6653 echo "cannot find nm_test_var in $nlist" >&5
6656 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6659 echo "$progname: failed program was:" >&5
6660 cat conftest.
$ac_ext >&5
6662 rm -rf conftest
* conftst
*
6664 # Do not use the global_symbol_pipe unless it works.
6665 if test "$pipe_works" = yes; then
6668 lt_cv_sys_global_symbol_pipe
=
6674 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6675 lt_cv_sys_global_symbol_to_cdecl
=
6677 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6679 $as_echo "failed" >&6; }
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6682 $as_echo "ok" >&6; }
6707 # Check whether --enable-libtool-lock was given.
6708 if test "${enable_libtool_lock+set}" = set; then :
6709 enableval
=$enable_libtool_lock;
6712 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6714 # Some flags need to be propagated to the compiler or linker for good
6718 # Find out which ABI we are using.
6719 echo 'int i;' > conftest.
$ac_ext
6720 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6721 (eval $ac_compile) 2>&5
6723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6724 test $ac_status = 0; }; then
6725 case `/usr/bin/file conftest.$ac_objext` in
6737 # Find out which ABI we are using.
6738 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6739 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6740 (eval $ac_compile) 2>&5
6742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6743 test $ac_status = 0; }; then
6744 if test "$lt_cv_prog_gnu_ld" = yes; then
6745 case `/usr/bin/file conftest.$ac_objext` in
6747 LD
="${LD-ld} -melf32bsmip"
6750 LD
="${LD-ld} -melf32bmipn32"
6753 LD
="${LD-ld} -melf64bmip"
6757 case `/usr/bin/file conftest.$ac_objext` in
6773 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
6774 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6775 # Find out which ABI we are using.
6776 echo 'int i;' > conftest.
$ac_ext
6777 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6778 (eval $ac_compile) 2>&5
6780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6781 test $ac_status = 0; }; then
6782 case `/usr/bin/file conftest.o` in
6785 x86_64-
*kfreebsd
*-gnu)
6786 LD
="${LD-ld} -m elf_i386_fbsd"
6789 LD
="${LD-ld} -m elf_i386"
6791 ppc64-
*linux
*|powerpc64-
*linux
*)
6792 LD
="${LD-ld} -m elf32ppclinux"
6795 LD
="${LD-ld} -m elf_s390"
6798 LD
="${LD-ld} -m elf32_sparc"
6804 x86_64-
*kfreebsd
*-gnu)
6805 LD
="${LD-ld} -m elf_x86_64_fbsd"
6808 LD
="${LD-ld} -m elf_x86_64"
6810 ppc
*-*linux
*|powerpc
*-*linux
*)
6811 LD
="${LD-ld} -m elf64ppc"
6813 s390
*-*linux
*|s390
*-*tpf
*)
6814 LD
="${LD-ld} -m elf64_s390"
6817 LD
="${LD-ld} -m elf64_sparc"
6827 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6828 SAVE_CFLAGS
="$CFLAGS"
6829 CFLAGS
="$CFLAGS -belf"
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6831 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6832 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6833 $as_echo_n "(cached) " >&6
6836 ac_cpp
='$CPP $CPPFLAGS'
6837 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6838 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6839 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6841 if test x
$gcc_no_link = xyes
; then
6842 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6845 /* end confdefs.h. */
6855 if ac_fn_c_try_link
"$LINENO"; then :
6856 lt_cv_cc_needs_belf
=yes
6858 lt_cv_cc_needs_belf
=no
6860 rm -f core conftest.err conftest.
$ac_objext \
6861 conftest
$ac_exeext conftest.
$ac_ext
6863 ac_cpp
='$CPP $CPPFLAGS'
6864 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6865 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6866 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6870 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6871 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6872 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6873 CFLAGS
="$SAVE_CFLAGS"
6877 # Find out which ABI we are using.
6878 echo 'int i;' > conftest.
$ac_ext
6879 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6880 (eval $ac_compile) 2>&5
6882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6883 test $ac_status = 0; }; then
6884 case `/usr/bin/file conftest.o` in
6886 case $lt_cv_prog_gnu_ld in
6887 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
6889 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
6901 need_locks
="$enable_libtool_lock"
6905 rhapsody
* | darwin
*)
6906 if test -n "$ac_tool_prefix"; then
6907 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6908 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6910 $as_echo_n "checking for $ac_word... " >&6; }
6911 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6912 $as_echo_n "(cached) " >&6
6914 if test -n "$DSYMUTIL"; then
6915 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6921 test -z "$as_dir" && as_dir
=.
6922 for ac_exec_ext
in '' $ac_executable_extensions; do
6923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6924 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6934 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6935 if test -n "$DSYMUTIL"; then
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6937 $as_echo "$DSYMUTIL" >&6; }
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6940 $as_echo "no" >&6; }
6945 if test -z "$ac_cv_prog_DSYMUTIL"; then
6946 ac_ct_DSYMUTIL
=$DSYMUTIL
6947 # Extract the first word of "dsymutil", so it can be a program name with args.
6948 set dummy dsymutil
; ac_word
=$2
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6950 $as_echo_n "checking for $ac_word... " >&6; }
6951 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6952 $as_echo_n "(cached) " >&6
6954 if test -n "$ac_ct_DSYMUTIL"; then
6955 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6961 test -z "$as_dir" && as_dir
=.
6962 for ac_exec_ext
in '' $ac_executable_extensions; do
6963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6964 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6974 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6975 if test -n "$ac_ct_DSYMUTIL"; then
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6977 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6980 $as_echo "no" >&6; }
6983 if test "x$ac_ct_DSYMUTIL" = x
; then
6986 case $cross_compiling:$ac_tool_warned in
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6989 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6990 ac_tool_warned
=yes ;;
6992 DSYMUTIL
=$ac_ct_DSYMUTIL
6995 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6998 if test -n "$ac_tool_prefix"; then
6999 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7000 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7002 $as_echo_n "checking for $ac_word... " >&6; }
7003 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7004 $as_echo_n "(cached) " >&6
7006 if test -n "$NMEDIT"; then
7007 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7013 test -z "$as_dir" && as_dir
=.
7014 for ac_exec_ext
in '' $ac_executable_extensions; do
7015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7016 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7026 NMEDIT
=$ac_cv_prog_NMEDIT
7027 if test -n "$NMEDIT"; then
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7029 $as_echo "$NMEDIT" >&6; }
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7032 $as_echo "no" >&6; }
7037 if test -z "$ac_cv_prog_NMEDIT"; then
7038 ac_ct_NMEDIT
=$NMEDIT
7039 # Extract the first word of "nmedit", so it can be a program name with args.
7040 set dummy nmedit
; ac_word
=$2
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7042 $as_echo_n "checking for $ac_word... " >&6; }
7043 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7044 $as_echo_n "(cached) " >&6
7046 if test -n "$ac_ct_NMEDIT"; then
7047 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7053 test -z "$as_dir" && as_dir
=.
7054 for ac_exec_ext
in '' $ac_executable_extensions; do
7055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7056 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7066 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7067 if test -n "$ac_ct_NMEDIT"; then
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7069 $as_echo "$ac_ct_NMEDIT" >&6; }
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7072 $as_echo "no" >&6; }
7075 if test "x$ac_ct_NMEDIT" = x
; then
7078 case $cross_compiling:$ac_tool_warned in
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7081 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7082 ac_tool_warned
=yes ;;
7084 NMEDIT
=$ac_ct_NMEDIT
7087 NMEDIT
="$ac_cv_prog_NMEDIT"
7090 if test -n "$ac_tool_prefix"; then
7091 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7092 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7094 $as_echo_n "checking for $ac_word... " >&6; }
7095 if test "${ac_cv_prog_LIPO+set}" = set; then :
7096 $as_echo_n "(cached) " >&6
7098 if test -n "$LIPO"; then
7099 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7105 test -z "$as_dir" && as_dir
=.
7106 for ac_exec_ext
in '' $ac_executable_extensions; do
7107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7108 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7118 LIPO
=$ac_cv_prog_LIPO
7119 if test -n "$LIPO"; then
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7121 $as_echo "$LIPO" >&6; }
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7124 $as_echo "no" >&6; }
7129 if test -z "$ac_cv_prog_LIPO"; then
7131 # Extract the first word of "lipo", so it can be a program name with args.
7132 set dummy lipo
; ac_word
=$2
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7134 $as_echo_n "checking for $ac_word... " >&6; }
7135 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7136 $as_echo_n "(cached) " >&6
7138 if test -n "$ac_ct_LIPO"; then
7139 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7145 test -z "$as_dir" && as_dir
=.
7146 for ac_exec_ext
in '' $ac_executable_extensions; do
7147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7148 ac_cv_prog_ac_ct_LIPO
="lipo"
7149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7158 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7159 if test -n "$ac_ct_LIPO"; then
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7161 $as_echo "$ac_ct_LIPO" >&6; }
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7164 $as_echo "no" >&6; }
7167 if test "x$ac_ct_LIPO" = x
; then
7170 case $cross_compiling:$ac_tool_warned in
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7173 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7174 ac_tool_warned
=yes ;;
7179 LIPO
="$ac_cv_prog_LIPO"
7182 if test -n "$ac_tool_prefix"; then
7183 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7184 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7186 $as_echo_n "checking for $ac_word... " >&6; }
7187 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7188 $as_echo_n "(cached) " >&6
7190 if test -n "$OTOOL"; then
7191 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7197 test -z "$as_dir" && as_dir
=.
7198 for ac_exec_ext
in '' $ac_executable_extensions; do
7199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7200 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7210 OTOOL
=$ac_cv_prog_OTOOL
7211 if test -n "$OTOOL"; then
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7213 $as_echo "$OTOOL" >&6; }
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7216 $as_echo "no" >&6; }
7221 if test -z "$ac_cv_prog_OTOOL"; then
7223 # Extract the first word of "otool", so it can be a program name with args.
7224 set dummy otool
; ac_word
=$2
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7226 $as_echo_n "checking for $ac_word... " >&6; }
7227 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7228 $as_echo_n "(cached) " >&6
7230 if test -n "$ac_ct_OTOOL"; then
7231 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7237 test -z "$as_dir" && as_dir
=.
7238 for ac_exec_ext
in '' $ac_executable_extensions; do
7239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7240 ac_cv_prog_ac_ct_OTOOL
="otool"
7241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7250 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7251 if test -n "$ac_ct_OTOOL"; then
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7253 $as_echo "$ac_ct_OTOOL" >&6; }
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7256 $as_echo "no" >&6; }
7259 if test "x$ac_ct_OTOOL" = x
; then
7262 case $cross_compiling:$ac_tool_warned in
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7265 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7266 ac_tool_warned
=yes ;;
7271 OTOOL
="$ac_cv_prog_OTOOL"
7274 if test -n "$ac_tool_prefix"; then
7275 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7276 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7278 $as_echo_n "checking for $ac_word... " >&6; }
7279 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7280 $as_echo_n "(cached) " >&6
7282 if test -n "$OTOOL64"; then
7283 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7289 test -z "$as_dir" && as_dir
=.
7290 for ac_exec_ext
in '' $ac_executable_extensions; do
7291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7292 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7302 OTOOL64
=$ac_cv_prog_OTOOL64
7303 if test -n "$OTOOL64"; then
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7305 $as_echo "$OTOOL64" >&6; }
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7308 $as_echo "no" >&6; }
7313 if test -z "$ac_cv_prog_OTOOL64"; then
7314 ac_ct_OTOOL64
=$OTOOL64
7315 # Extract the first word of "otool64", so it can be a program name with args.
7316 set dummy otool64
; ac_word
=$2
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7318 $as_echo_n "checking for $ac_word... " >&6; }
7319 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7320 $as_echo_n "(cached) " >&6
7322 if test -n "$ac_ct_OTOOL64"; then
7323 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7329 test -z "$as_dir" && as_dir
=.
7330 for ac_exec_ext
in '' $ac_executable_extensions; do
7331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7332 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7342 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7343 if test -n "$ac_ct_OTOOL64"; then
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7345 $as_echo "$ac_ct_OTOOL64" >&6; }
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7348 $as_echo "no" >&6; }
7351 if test "x$ac_ct_OTOOL64" = x
; then
7354 case $cross_compiling:$ac_tool_warned in
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7357 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7358 ac_tool_warned
=yes ;;
7360 OTOOL64
=$ac_ct_OTOOL64
7363 OTOOL64
="$ac_cv_prog_OTOOL64"
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7393 $as_echo_n "checking for -single_module linker flag... " >&6; }
7394 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7395 $as_echo_n "(cached) " >&6
7397 lt_cv_apple_cc_single_mod
=no
7398 if test -z "${LT_MULTI_MODULE}"; then
7399 # By default we will add the -single_module flag. You can override
7400 # by either setting the environment variable LT_MULTI_MODULE
7401 # non-empty at configure time, or by adding -multi_module to the
7403 rm -rf libconftest.dylib
*
7404 echo "int foo(void){return 1;}" > conftest.c
7405 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7406 -dynamiclib -Wl,-single_module conftest.c" >&5
7407 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7408 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7410 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
7411 lt_cv_apple_cc_single_mod
=yes
7413 cat conftest.err
>&5
7415 rm -rf libconftest.dylib
*
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7420 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7422 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7423 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7424 $as_echo_n "(cached) " >&6
7426 lt_cv_ld_exported_symbols_list
=no
7427 save_LDFLAGS
=$LDFLAGS
7428 echo "_main" > conftest.sym
7429 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7430 if test x
$gcc_no_link = xyes
; then
7431 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7434 /* end confdefs.h. */
7444 if ac_fn_c_try_link
"$LINENO"; then :
7445 lt_cv_ld_exported_symbols_list
=yes
7447 lt_cv_ld_exported_symbols_list
=no
7449 rm -f core conftest.err conftest.
$ac_objext \
7450 conftest
$ac_exeext conftest.
$ac_ext
7451 LDFLAGS
="$save_LDFLAGS"
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7455 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7457 $as_echo_n "checking for -force_load linker flag... " >&6; }
7458 if test "${lt_cv_ld_force_load+set}" = set; then :
7459 $as_echo_n "(cached) " >&6
7461 lt_cv_ld_force_load
=no
7462 cat > conftest.c
<< _LT_EOF
7463 int forced_loaded() { return 2;}
7465 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7466 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7467 echo "$AR cru libconftest.a conftest.o" >&5
7468 $AR cru libconftest.a conftest.o
2>&5
7469 cat > conftest.c
<< _LT_EOF
7470 int main() { return 0;}
7472 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7473 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7475 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
7476 lt_cv_ld_force_load
=yes
7478 cat conftest.err
>&5
7480 rm -f conftest.err libconftest.a conftest conftest.c
7481 rm -rf conftest.dSYM
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7485 $as_echo "$lt_cv_ld_force_load" >&6; }
7487 rhapsody
* | darwin1.
[012])
7488 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7490 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7491 darwin
*) # darwin 5.x on
7492 # if running on 10.5 or later, the deployment target defaults
7493 # to the OS version, if on x86, and 10.4, the deployment
7494 # target defaults to 10.4. Don't you love it?
7495 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7496 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7497 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7499 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7501 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7505 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7506 _lt_dar_single_mod
='$single_module'
7508 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7509 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7511 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7513 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7514 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7522 ac_cpp
='$CPP $CPPFLAGS'
7523 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7524 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7525 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7527 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7528 # On Suns, sometimes $CPP names a directory.
7529 if test -n "$CPP" && test -d "$CPP"; then
7532 if test -z "$CPP"; then
7533 if test "${ac_cv_prog_CPP+set}" = set; then :
7534 $as_echo_n "(cached) " >&6
7536 # Double quotes because CPP needs to be expanded
7537 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7540 for ac_c_preproc_warn_flag
in '' yes
7542 # Use a header file that comes with gcc, so configuring glibc
7543 # with a fresh cross-compiler works.
7544 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7545 # <limits.h> exists even on freestanding compilers.
7546 # On the NeXT, cc -E runs the code through the compiler's parser,
7547 # not just through cpp. "Syntax error" is here to catch this case.
7548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7549 /* end confdefs.h. */
7551 # include <limits.h>
7553 # include <assert.h>
7557 if ac_fn_c_try_cpp
"$LINENO"; then :
7560 # Broken: fails on valid input.
7563 rm -f conftest.err conftest.
$ac_ext
7565 # OK, works on sane cases. Now check whether nonexistent headers
7566 # can be detected and how.
7567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7568 /* end confdefs.h. */
7569 #include <ac_nonexistent.h>
7571 if ac_fn_c_try_cpp
"$LINENO"; then :
7572 # Broken: success on invalid input.
7575 # Passes both tests.
7579 rm -f conftest.err conftest.
$ac_ext
7582 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7583 rm -f conftest.err conftest.
$ac_ext
7584 if $ac_preproc_ok; then :
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7597 $as_echo "$CPP" >&6; }
7599 for ac_c_preproc_warn_flag
in '' yes
7601 # Use a header file that comes with gcc, so configuring glibc
7602 # with a fresh cross-compiler works.
7603 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7604 # <limits.h> exists even on freestanding compilers.
7605 # On the NeXT, cc -E runs the code through the compiler's parser,
7606 # not just through cpp. "Syntax error" is here to catch this case.
7607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7608 /* end confdefs.h. */
7610 # include <limits.h>
7612 # include <assert.h>
7616 if ac_fn_c_try_cpp
"$LINENO"; then :
7619 # Broken: fails on valid input.
7622 rm -f conftest.err conftest.
$ac_ext
7624 # OK, works on sane cases. Now check whether nonexistent headers
7625 # can be detected and how.
7626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7627 /* end confdefs.h. */
7628 #include <ac_nonexistent.h>
7630 if ac_fn_c_try_cpp
"$LINENO"; then :
7631 # Broken: success on invalid input.
7634 # Passes both tests.
7638 rm -f conftest.err conftest.
$ac_ext
7641 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7642 rm -f conftest.err conftest.
$ac_ext
7643 if $ac_preproc_ok; then :
7646 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7647 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7648 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
7649 See \`config.log' for more details." "$LINENO" 5; }
7653 ac_cpp
='$CPP $CPPFLAGS'
7654 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7655 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7656 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7660 $as_echo_n "checking for ANSI C header files... " >&6; }
7661 if test "${ac_cv_header_stdc+set}" = set; then :
7662 $as_echo_n "(cached) " >&6
7664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7665 /* end confdefs.h. */
7679 if ac_fn_c_try_compile
"$LINENO"; then :
7680 ac_cv_header_stdc
=yes
7682 ac_cv_header_stdc
=no
7684 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7686 if test $ac_cv_header_stdc = yes; then
7687 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7689 /* end confdefs.h. */
7693 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7694 $EGREP "memchr" >/dev
/null
2>&1; then :
7697 ac_cv_header_stdc
=no
7703 if test $ac_cv_header_stdc = yes; then
7704 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7706 /* end confdefs.h. */
7710 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7711 $EGREP "free" >/dev
/null
2>&1; then :
7714 ac_cv_header_stdc
=no
7720 if test $ac_cv_header_stdc = yes; then
7721 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7722 if test "$cross_compiling" = yes; then :
7725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7726 /* end confdefs.h. */
7729 #if ((' ' & 0x0FF) == 0x020)
7730 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7731 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7733 # define ISLOWER(c) \
7734 (('a' <= (c) && (c) <= 'i') \
7735 || ('j' <= (c) && (c) <= 'r') \
7736 || ('s' <= (c) && (c) <= 'z'))
7737 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7740 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7745 for (i = 0; i < 256; i++)
7746 if (XOR (islower (i), ISLOWER (i))
7747 || toupper (i) != TOUPPER (i))
7752 if ac_fn_c_try_run
"$LINENO"; then :
7755 ac_cv_header_stdc
=no
7757 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7758 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7764 $as_echo "$ac_cv_header_stdc" >&6; }
7765 if test $ac_cv_header_stdc = yes; then
7767 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7771 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7772 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7773 inttypes.h stdint.h unistd.h
7775 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7776 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7778 eval as_val
=\$
$as_ac_Header
7779 if test "x$as_val" = x
""yes; then :
7780 cat >>confdefs.h
<<_ACEOF
7781 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7789 for ac_header
in dlfcn.h
7791 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7793 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7794 cat >>confdefs.h
<<_ACEOF
7795 #define HAVE_DLFCN_H 1
7817 # Check whether --enable-shared was given.
7818 if test "${enable_shared+set}" = set; then :
7819 enableval
=$enable_shared; p
=${PACKAGE-default}
7821 yes) enable_shared
=yes ;;
7822 no
) enable_shared
=no
;;
7825 # Look at the argument we got. We use all the common list separators.
7826 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7827 for pkg
in $enableval; do
7829 if test "X$pkg" = "X$p"; then
7848 # Check whether --enable-static was given.
7849 if test "${enable_static+set}" = set; then :
7850 enableval
=$enable_static; p
=${PACKAGE-default}
7852 yes) enable_static
=yes ;;
7853 no
) enable_static
=no
;;
7856 # Look at the argument we got. We use all the common list separators.
7857 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7858 for pkg
in $enableval; do
7860 if test "X$pkg" = "X$p"; then
7880 # Check whether --with-pic was given.
7881 if test "${with_pic+set}" = set; then :
7882 withval
=$with_pic; p
=${PACKAGE-default}
7884 yes|no
) pic_mode
="$withval" ;;
7887 # Look at the argument we got. We use all the common list separators.
7888 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7889 for pkg
in $withval; do
7891 if test "X$pkg" = "X$p"; then
7903 test -z "$pic_mode" && pic_mode
=default
7911 # Check whether --enable-fast-install was given.
7912 if test "${enable_fast_install+set}" = set; then :
7913 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7915 yes) enable_fast_install
=yes ;;
7916 no
) enable_fast_install
=no
;;
7918 enable_fast_install
=no
7919 # Look at the argument we got. We use all the common list separators.
7920 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7921 for pkg
in $enableval; do
7923 if test "X$pkg" = "X$p"; then
7924 enable_fast_install
=yes
7931 enable_fast_install
=yes
7944 # This can be used to rebuild libtool when needed
7945 LIBTOOL_DEPS
="$ltmain"
7947 # Always use our own libtool.
7948 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7975 test -z "$LN_S" && LN_S
="ln -s"
7990 if test -n "${ZSH_VERSION+set}" ; then
7991 setopt NO_GLOB_SUBST
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7995 $as_echo_n "checking for objdir... " >&6; }
7996 if test "${lt_cv_objdir+set}" = set; then :
7997 $as_echo_n "(cached) " >&6
7999 rm -f .libs
2>/dev
/null
8000 mkdir .libs
2>/dev
/null
8001 if test -d .libs
; then
8004 # MS-DOS does not allow filenames that begin with a dot.
8007 rmdir .libs
2>/dev
/null
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8010 $as_echo "$lt_cv_objdir" >&6; }
8011 objdir
=$lt_cv_objdir
8017 cat >>confdefs.h
<<_ACEOF
8018 #define LT_OBJDIR "$lt_cv_objdir/"
8026 # AIX sometimes has problems with the GCC collect2 program. For some
8027 # reason, if we set the COLLECT_NAMES environment variable, the problems
8028 # vanish in a puff of smoke.
8029 if test "X${COLLECT_NAMES+set}" != Xset
; then
8031 export COLLECT_NAMES
8038 can_build_shared
=yes
8040 # All known linkers require a `.a' archive for static linking (except MSVC,
8041 # which needs '.lib').
8044 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8047 old_CFLAGS
="$CFLAGS"
8049 # Set sane defaults for various variables
8050 test -z "$CC" && CC
=cc
8051 test -z "$LTCC" && LTCC
=$CC
8052 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8053 test -z "$LD" && LD
=ld
8054 test -z "$ac_objext" && ac_objext
=o
8056 for cc_temp
in $compiler""; do
8058 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8059 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8064 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8067 # Only perform the check for file, if the check method requires it
8068 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8069 case $deplibs_check_method in
8071 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8073 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8074 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8075 $as_echo_n "(cached) " >&6
8079 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8082 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8083 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8084 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8085 for ac_dir
in $ac_dummy; do
8087 test -z "$ac_dir" && ac_dir
=.
8088 if test -f $ac_dir/${ac_tool_prefix}file; then
8089 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8090 if test -n "$file_magic_test_file"; then
8091 case $deplibs_check_method in
8093 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8094 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8095 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8096 $EGREP "$file_magic_regex" > /dev
/null
; then
8101 *** Warning: the command libtool uses to detect shared libraries,
8102 *** $file_magic_cmd, produces output that libtool cannot recognize.
8103 *** The result is that libtool may fail to recognize shared libraries
8104 *** as such. This will affect the creation of libtool libraries that
8105 *** depend on shared libraries, but programs linked with such libtool
8106 *** libraries will work regardless of this problem. Nevertheless, you
8107 *** may want to report the problem to your system manager and/or to
8108 *** bug-libtool@gnu.org
8118 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8123 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8124 if test -n "$MAGIC_CMD"; then
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8126 $as_echo "$MAGIC_CMD" >&6; }
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8129 $as_echo "no" >&6; }
8136 if test -z "$lt_cv_path_MAGIC_CMD"; then
8137 if test -n "$ac_tool_prefix"; then
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8139 $as_echo_n "checking for file... " >&6; }
8140 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8141 $as_echo_n "(cached) " >&6
8145 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8148 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8149 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8150 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8151 for ac_dir
in $ac_dummy; do
8153 test -z "$ac_dir" && ac_dir
=.
8154 if test -f $ac_dir/file; then
8155 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8156 if test -n "$file_magic_test_file"; then
8157 case $deplibs_check_method in
8159 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8160 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8161 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8162 $EGREP "$file_magic_regex" > /dev
/null
; then
8167 *** Warning: the command libtool uses to detect shared libraries,
8168 *** $file_magic_cmd, produces output that libtool cannot recognize.
8169 *** The result is that libtool may fail to recognize shared libraries
8170 *** as such. This will affect the creation of libtool libraries that
8171 *** depend on shared libraries, but programs linked with such libtool
8172 *** libraries will work regardless of this problem. Nevertheless, you
8173 *** may want to report the problem to your system manager and/or to
8174 *** bug-libtool@gnu.org
8184 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8189 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8190 if test -n "$MAGIC_CMD"; then
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8192 $as_echo "$MAGIC_CMD" >&6; }
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8195 $as_echo "no" >&6; }
8208 # Use C for the default configuration in the libtool script
8212 ac_cpp
='$CPP $CPPFLAGS'
8213 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8214 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8215 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8218 # Source file extension for C test sources.
8221 # Object file extension for compiled C test sources.
8225 # Code to be used in simple compile tests
8226 lt_simple_compile_test_code
="int some_variable = 0;"
8228 # Code to be used in simple link tests
8229 lt_simple_link_test_code
='int main(){return(0);}'
8237 # If no C compiler was specified, use CC.
8240 # If no C compiler flags were specified, use CFLAGS.
8241 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8243 # Allow CC to be a program name with arguments.
8246 # Save the default compiler, since it gets overwritten when the other
8247 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8248 compiler_DEFAULT
=$CC
8250 # save warnings/boilerplate of simple test code
8251 ac_outfile
=conftest.
$ac_objext
8252 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8253 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8254 _lt_compiler_boilerplate
=`cat conftest.err`
8257 ac_outfile
=conftest.
$ac_objext
8258 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8259 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8260 _lt_linker_boilerplate
=`cat conftest.err`
8265 ## There is no encapsulation within the following macros, do not change
8266 ## the running order or otherwise move them around unless you know exactly
8267 ## what you are doing...
8268 if test -n "$compiler"; then
8270 lt_prog_compiler_no_builtin_flag
=
8272 if test "$GCC" = yes; then
8273 case $cc_basename in
8275 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8277 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8281 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8282 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8283 $as_echo_n "(cached) " >&6
8285 lt_cv_prog_compiler_rtti_exceptions
=no
8286 ac_outfile
=conftest.
$ac_objext
8287 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8288 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8289 # Insert the option either (1) after the last *FLAGS variable, or
8290 # (2) before a word containing "conftest.", or (3) at the end.
8291 # Note that $ac_compile itself does not contain backslashes and begins
8292 # with a dollar sign (not a hyphen), so the echo should work correctly.
8293 # The option is referenced via a variable to avoid confusing sed.
8294 lt_compile
=`echo "$ac_compile" | $SED \
8295 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8296 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8297 -e 's:$: $lt_compiler_flag:'`
8298 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8299 (eval "$lt_compile" 2>conftest.err
)
8301 cat conftest.err
>&5
8302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8303 if (exit $ac_status) && test -s "$ac_outfile"; then
8304 # The compiler can only warn and ignore the option if not recognized
8305 # So say no if there are warnings other than the usual output.
8306 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8307 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8308 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8309 lt_cv_prog_compiler_rtti_exceptions
=yes
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8316 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8318 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8319 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8331 lt_prog_compiler_wl
=
8332 lt_prog_compiler_pic
=
8333 lt_prog_compiler_static
=
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8336 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8338 if test "$GCC" = yes; then
8339 lt_prog_compiler_wl
='-Wl,'
8340 lt_prog_compiler_static
='-static'
8344 # All AIX code is PIC.
8345 if test "$host_cpu" = ia64
; then
8346 # AIX 5 now supports IA64 processor
8347 lt_prog_compiler_static
='-Bstatic'
8354 # see comment about AmigaOS4 .so support
8355 lt_prog_compiler_pic
='-fPIC'
8358 # FIXME: we need at least 68020 code to build shared libraries, but
8359 # adding the `-m68020' flag to GCC prevents building anything better,
8361 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8366 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8367 # PIC is the default for these OSes.
8370 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8371 # This hack is so that the source file can tell whether it is being
8372 # built for inclusion in a dll (and should export symbols for example).
8373 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8374 # (--disable-auto-import) libraries
8375 lt_prog_compiler_pic
='-DDLL_EXPORT'
8378 darwin
* | rhapsody
*)
8379 # PIC is the default on this platform
8380 # Common symbols not allowed in MH_DYLIB files
8381 lt_prog_compiler_pic
='-fno-common'
8385 # PIC is the default for Haiku.
8386 # The "-static" flag exists, but is broken.
8387 lt_prog_compiler_static
=
8391 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8392 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8393 # sets the default TLS model and affects inlining.
8399 lt_prog_compiler_pic
='-fPIC'
8405 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8406 # Instead, we relocate shared libraries at runtime.
8410 # Just because we use GCC doesn't mean we suddenly get shared libraries
8411 # on systems that don't support them.
8412 lt_prog_compiler_can_build_shared
=no
8417 # QNX uses GNU C++, but need to define -shared option too, otherwise
8419 lt_prog_compiler_pic
='-fPIC -shared'
8423 if test -d /usr
/nec
; then
8424 lt_prog_compiler_pic
=-Kconform_pic
8429 lt_prog_compiler_pic
='-fPIC'
8433 case $cc_basename in
8434 nvcc
*) # Cuda Compiler Driver 2.2
8435 lt_prog_compiler_wl
='-Xlinker '
8436 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8440 # PORTME Check for flag to pass linker flags through the system compiler.
8443 lt_prog_compiler_wl
='-Wl,'
8444 if test "$host_cpu" = ia64
; then
8445 # AIX 5 now supports IA64 processor
8446 lt_prog_compiler_static
='-Bstatic'
8448 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8452 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8453 # This hack is so that the source file can tell whether it is being
8454 # built for inclusion in a dll (and should export symbols for example).
8455 lt_prog_compiler_pic
='-DDLL_EXPORT'
8458 hpux9
* | hpux10
* | hpux11
*)
8459 lt_prog_compiler_wl
='-Wl,'
8460 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8467 lt_prog_compiler_pic
='+Z'
8470 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8471 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8474 irix5
* | irix6
* | nonstopux
*)
8475 lt_prog_compiler_wl
='-Wl,'
8476 # PIC (with -KPIC) is the default.
8477 lt_prog_compiler_static
='-non_shared'
8480 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8481 case $cc_basename in
8482 # old Intel for x86_64 which still supported -KPIC.
8484 lt_prog_compiler_wl
='-Wl,'
8485 lt_prog_compiler_pic
='-KPIC'
8486 lt_prog_compiler_static
='-static'
8488 # icc used to be incompatible with GCC.
8489 # ICC 10 doesn't accept -KPIC any more.
8491 lt_prog_compiler_wl
='-Wl,'
8492 lt_prog_compiler_pic
='-fPIC'
8493 lt_prog_compiler_static
='-static'
8495 # Lahey Fortran 8.1.
8497 lt_prog_compiler_wl
='-Wl,'
8498 lt_prog_compiler_pic
='--shared'
8499 lt_prog_compiler_static
='--static'
8501 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8502 # Portland Group compilers (*not* the Pentium gcc compiler,
8503 # which looks to be a dead project)
8504 lt_prog_compiler_wl
='-Wl,'
8505 lt_prog_compiler_pic
='-fpic'
8506 lt_prog_compiler_static
='-Bstatic'
8509 lt_prog_compiler_wl
='-Wl,'
8510 # All Alpha code is PIC.
8511 lt_prog_compiler_static
='-non_shared'
8513 xl
* | bgxl
* | bgf
* | mpixl
*)
8514 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8515 lt_prog_compiler_wl
='-Wl,'
8516 lt_prog_compiler_pic
='-qpic'
8517 lt_prog_compiler_static
='-qstaticlink'
8520 case `$CC -V 2>&1 | sed 5q` in
8521 *Sun\ F
* |
*Sun
*Fortran
*)
8522 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8523 lt_prog_compiler_pic
='-KPIC'
8524 lt_prog_compiler_static
='-Bstatic'
8525 lt_prog_compiler_wl
=''
8529 lt_prog_compiler_pic
='-KPIC'
8530 lt_prog_compiler_static
='-Bstatic'
8531 lt_prog_compiler_wl
='-Wl,'
8539 lt_prog_compiler_pic
='-KPIC'
8540 lt_prog_compiler_static
='-Bstatic'
8544 # QNX uses GNU C++, but need to define -shared option too, otherwise
8546 lt_prog_compiler_pic
='-fPIC -shared'
8549 osf3
* | osf4
* | osf5
*)
8550 lt_prog_compiler_wl
='-Wl,'
8551 # All OSF/1 code is PIC.
8552 lt_prog_compiler_static
='-non_shared'
8556 lt_prog_compiler_static
='-non_shared'
8560 lt_prog_compiler_pic
='-KPIC'
8561 lt_prog_compiler_static
='-Bstatic'
8562 case $cc_basename in
8564 lt_prog_compiler_wl
='-Qoption ld ';;
8566 lt_prog_compiler_wl
='-Wl,';;
8571 lt_prog_compiler_wl
='-Qoption ld '
8572 lt_prog_compiler_pic
='-PIC'
8573 lt_prog_compiler_static
='-Bstatic'
8576 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8577 lt_prog_compiler_wl
='-Wl,'
8578 lt_prog_compiler_pic
='-KPIC'
8579 lt_prog_compiler_static
='-Bstatic'
8583 if test -d /usr
/nec
;then
8584 lt_prog_compiler_pic
='-Kconform_pic'
8585 lt_prog_compiler_static
='-Bstatic'
8589 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8590 lt_prog_compiler_wl
='-Wl,'
8591 lt_prog_compiler_pic
='-KPIC'
8592 lt_prog_compiler_static
='-Bstatic'
8596 lt_prog_compiler_wl
='-Wl,'
8597 lt_prog_compiler_can_build_shared
=no
8601 lt_prog_compiler_pic
='-pic'
8602 lt_prog_compiler_static
='-Bstatic'
8606 lt_prog_compiler_can_build_shared
=no
8612 # For platforms which do not support PIC, -DPIC is meaningless:
8614 lt_prog_compiler_pic
=
8617 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8621 $as_echo "$lt_prog_compiler_pic" >&6; }
8629 # Check to make sure the PIC flag actually works.
8631 if test -n "$lt_prog_compiler_pic"; then
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8633 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8634 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8635 $as_echo_n "(cached) " >&6
8637 lt_cv_prog_compiler_pic_works
=no
8638 ac_outfile
=conftest.
$ac_objext
8639 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8640 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8641 # Insert the option either (1) after the last *FLAGS variable, or
8642 # (2) before a word containing "conftest.", or (3) at the end.
8643 # Note that $ac_compile itself does not contain backslashes and begins
8644 # with a dollar sign (not a hyphen), so the echo should work correctly.
8645 # The option is referenced via a variable to avoid confusing sed.
8646 lt_compile
=`echo "$ac_compile" | $SED \
8647 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8648 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8649 -e 's:$: $lt_compiler_flag:'`
8650 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8651 (eval "$lt_compile" 2>conftest.err
)
8653 cat conftest.err
>&5
8654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8655 if (exit $ac_status) && test -s "$ac_outfile"; then
8656 # The compiler can only warn and ignore the option if not recognized
8657 # So say no if there are warnings other than the usual output.
8658 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8659 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8660 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8661 lt_cv_prog_compiler_pic_works
=yes
8667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8668 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8670 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8671 case $lt_prog_compiler_pic in
8673 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8676 lt_prog_compiler_pic
=
8677 lt_prog_compiler_can_build_shared
=no
8688 # Check to make sure the static flag actually works.
8690 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8692 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8693 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8694 $as_echo_n "(cached) " >&6
8696 lt_cv_prog_compiler_static_works
=no
8697 save_LDFLAGS
="$LDFLAGS"
8698 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8699 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8700 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8701 # The linker can only warn and ignore the option if not recognized
8702 # So say no if there are warnings
8703 if test -s conftest.err
; then
8704 # Append any errors to the config.log.
8705 cat conftest.err
1>&5
8706 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8707 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8708 if diff conftest.exp conftest.er2
>/dev
/null
; then
8709 lt_cv_prog_compiler_static_works
=yes
8712 lt_cv_prog_compiler_static_works
=yes
8716 LDFLAGS
="$save_LDFLAGS"
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8720 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8722 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8725 lt_prog_compiler_static
=
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8735 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8736 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8737 $as_echo_n "(cached) " >&6
8739 lt_cv_prog_compiler_c_o
=no
8740 $RM -r conftest
2>/dev
/null
8744 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8746 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8747 # Insert the option either (1) after the last *FLAGS variable, or
8748 # (2) before a word containing "conftest.", or (3) at the end.
8749 # Note that $ac_compile itself does not contain backslashes and begins
8750 # with a dollar sign (not a hyphen), so the echo should work correctly.
8751 lt_compile
=`echo "$ac_compile" | $SED \
8752 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8753 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8754 -e 's:$: $lt_compiler_flag:'`
8755 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8756 (eval "$lt_compile" 2>out
/conftest.err
)
8758 cat out
/conftest.err
>&5
8759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8760 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8762 # The compiler can only warn and ignore the option if not recognized
8763 # So say no if there are warnings
8764 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8765 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8766 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8767 lt_cv_prog_compiler_c_o
=yes
8772 # SGI C++ compiler will create directory out/ii_files/ for
8773 # template instantiation
8774 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8775 $RM out
/* && rmdir out
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8782 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8790 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8791 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8792 $as_echo_n "(cached) " >&6
8794 lt_cv_prog_compiler_c_o
=no
8795 $RM -r conftest
2>/dev
/null
8799 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8801 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8802 # Insert the option either (1) after the last *FLAGS variable, or
8803 # (2) before a word containing "conftest.", or (3) at the end.
8804 # Note that $ac_compile itself does not contain backslashes and begins
8805 # with a dollar sign (not a hyphen), so the echo should work correctly.
8806 lt_compile
=`echo "$ac_compile" | $SED \
8807 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8808 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8809 -e 's:$: $lt_compiler_flag:'`
8810 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8811 (eval "$lt_compile" 2>out
/conftest.err
)
8813 cat out
/conftest.err
>&5
8814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8815 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8817 # The compiler can only warn and ignore the option if not recognized
8818 # So say no if there are warnings
8819 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8820 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8821 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8822 lt_cv_prog_compiler_c_o
=yes
8827 # SGI C++ compiler will create directory out/ii_files/ for
8828 # template instantiation
8829 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8830 $RM out
/* && rmdir out
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8837 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8842 hard_links
="nottested"
8843 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8844 # do not overwrite the value of need_locks provided by the user
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8846 $as_echo_n "checking if we can lock with hard links... " >&6; }
8849 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8851 ln conftest.a conftest.b
2>&5 || hard_links
=no
8852 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8854 $as_echo "$hard_links" >&6; }
8855 if test "$hard_links" = no
; then
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8857 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8870 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8873 allow_undefined_flag
=
8874 always_export_symbols
=no
8876 archive_expsym_cmds
=
8877 compiler_needs_object
=no
8878 enable_shared_with_static_runtimes
=no
8879 export_dynamic_flag_spec
=
8880 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8881 hardcode_automatic
=no
8883 hardcode_direct_absolute
=no
8884 hardcode_libdir_flag_spec
=
8885 hardcode_libdir_flag_spec_ld
=
8886 hardcode_libdir_separator
=
8888 hardcode_shlibpath_var
=unsupported
8890 link_all_deplibs
=unknown
8893 old_archive_from_new_cmds
=
8894 old_archive_from_expsyms_cmds
=
8895 thread_safe_flag_spec
=
8896 whole_archive_flag_spec
=
8897 # include_expsyms should be a list of space-separated symbols to be *always*
8898 # included in the symbol list
8900 # exclude_expsyms can be an extended regexp of symbols to exclude
8901 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8902 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8903 # as well as any symbol that contains `d'.
8904 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8905 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8906 # platforms (ab)use it in PIC code, but their linkers get confused if
8907 # the symbol is explicitly referenced. Since portable code cannot
8908 # rely on this symbol name, it's probably fine to never include it in
8909 # preloaded symbol tables.
8910 # Exclude shared library initialization/finalization symbols.
8911 extract_expsyms_cmds
=
8914 cygwin
* | mingw
* | pw32
* | cegcc
*)
8915 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8916 # When not using gcc, we currently assume that we are using
8917 # Microsoft Visual C++.
8918 if test "$GCC" != yes; then
8923 # we just hope/assume this is gcc and not c89 (= MSVC++)
8933 # On some targets, GNU ld is compatible enough with the native linker
8934 # that we're better off using the native interface for both.
8935 lt_use_gnu_ld_interface
=no
8936 if test "$with_gnu_ld" = yes; then
8939 # The AIX port of GNU ld has always aspired to compatibility
8940 # with the native linker. However, as the warning in the GNU ld
8941 # block says, versions before 2.19.5* couldn't really create working
8942 # shared libraries, regardless of the interface used.
8943 case `$LD -v 2>&1` in
8944 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8945 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8946 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8948 lt_use_gnu_ld_interface
=yes
8953 lt_use_gnu_ld_interface
=yes
8958 if test "$lt_use_gnu_ld_interface" = yes; then
8959 # If archive_cmds runs LD, not CC, wlarc should be empty
8962 # Set some defaults for GNU ld with shared library support. These
8963 # are reset later if shared libraries are not supported. Putting them
8964 # here allows them to be overridden if necessary.
8965 runpath_var
=LD_RUN_PATH
8966 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8967 export_dynamic_flag_spec
='${wl}--export-dynamic'
8968 # ancient GNU ld didn't support --whole-archive et. al.
8969 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8970 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8972 whole_archive_flag_spec
=
8974 supports_anon_versioning
=no
8975 case `$LD -v 2>&1` in
8976 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8977 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8978 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8979 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8980 *\
2.11.
*) ;; # other 2.11 versions
8981 *) supports_anon_versioning
=yes ;;
8984 # See if GNU ld supports shared libraries.
8987 # On AIX/PPC, the GNU linker is very broken
8988 if test "$host_cpu" != ia64
; then
8992 *** Warning: the GNU linker, at least up to release 2.19, is reported
8993 *** to be unable to reliably create shared libraries on AIX.
8994 *** Therefore, libtool is disabling shared libraries support. If you
8995 *** really care for shared libraries, you may want to install binutils
8996 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8997 *** You will then need to restart the configuration process.
9006 # see comment about AmigaOS4 .so support
9007 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9008 archive_expsym_cmds
=''
9011 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)'
9012 hardcode_libdir_flag_spec
='-L$libdir'
9013 hardcode_minus_L
=yes
9019 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9020 allow_undefined_flag
=unsupported
9021 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9022 # support --undefined. This deserves some investigation. FIXME
9023 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9029 cygwin
* | mingw
* | pw32
* | cegcc
*)
9030 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9031 # as there is no search path for DLLs.
9032 hardcode_libdir_flag_spec
='-L$libdir'
9033 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9034 allow_undefined_flag
=unsupported
9035 always_export_symbols
=no
9036 enable_shared_with_static_runtimes
=yes
9037 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9039 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9040 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9041 # If the export-symbols file already is a .def file (1st line
9042 # is EXPORTS), use it as is; otherwise, prepend...
9043 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9044 cp $export_symbols $output_objdir/$soname.def;
9046 echo EXPORTS > $output_objdir/$soname.def;
9047 cat $export_symbols >> $output_objdir/$soname.def;
9049 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9056 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9057 link_all_deplibs
=yes
9062 hardcode_shlibpath_var
=no
9063 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9064 export_dynamic_flag_spec
='${wl}-E'
9065 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9066 # Instead, shared libraries are loaded at an image base (0x10000000 by
9067 # default) and relocated if they conflict, which is a slow very memory
9068 # consuming and fragmenting process. To avoid this, we pick a random,
9069 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9070 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9071 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9072 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'
9075 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9077 if test "$host_os" = linux-dietlibc
; then
9078 case $cc_basename in
9079 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9082 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9083 && test "$tmp_diet" = no
9086 tmp_sharedflag
='-shared'
9087 case $cc_basename,$host_cpu in
9088 pgcc
*) # Portland Group C compiler
9089 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'
9090 tmp_addflag
=' $pic_flag'
9092 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9093 # Portland Group f77 and f90 compilers
9094 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'
9095 tmp_addflag
=' $pic_flag -Mnomain' ;;
9096 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9097 tmp_addflag
=' -i_dynamic' ;;
9098 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9099 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9100 ifc
* | ifort
*) # Intel Fortran compiler
9101 tmp_addflag
=' -nofor_main' ;;
9102 lf95
*) # Lahey Fortran 8.1
9103 whole_archive_flag_spec
=
9104 tmp_sharedflag
='--shared' ;;
9105 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9106 tmp_sharedflag
='-qmkshrobj'
9108 nvcc
*) # Cuda Compiler Driver 2.2
9109 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'
9110 compiler_needs_object
=yes
9113 case `$CC -V 2>&1 | sed 5q` in
9114 *Sun\ C
*) # Sun C 5.9
9115 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'
9116 compiler_needs_object
=yes
9117 tmp_sharedflag
='-G' ;;
9118 *Sun\ F
*) # Sun Fortran 8.3
9119 tmp_sharedflag
='-G' ;;
9121 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9123 if test "x$supports_anon_versioning" = xyes
; then
9124 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9125 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9126 echo "local: *; };" >> $output_objdir/$libname.ver~
9127 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9130 case $cc_basename in
9131 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9132 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9133 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9134 hardcode_libdir_flag_spec
=
9135 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9136 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9137 if test "x$supports_anon_versioning" = xyes
; then
9138 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9139 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9140 echo "local: *; };" >> $output_objdir/$libname.ver~
9141 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9151 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9152 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9155 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9156 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9161 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9165 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9166 *** create shared libraries on Solaris systems. Therefore, libtool
9167 *** is disabling shared libraries support. We urge you to upgrade GNU
9168 *** binutils to release 2.9.1 or newer. Another option is to modify
9169 *** your PATH or compiler configuration so that the native linker is
9170 *** used, and then restart.
9173 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9174 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9175 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9181 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9182 case `$LD -v 2>&1` in
9183 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9187 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9188 *** reliably create shared libraries on SCO systems. Therefore, libtool
9189 *** is disabling shared libraries support. We urge you to upgrade GNU
9190 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9191 *** your PATH or compiler configuration so that the native linker is
9192 *** used, and then restart.
9197 # For security reasons, it is highly recommended that you always
9198 # use absolute paths for naming shared libraries, and exclude the
9199 # DT_RUNPATH tag from executables and libraries. But doing so
9200 # requires that you compile everything twice, which is a pain.
9201 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9202 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9203 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9204 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9213 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9216 hardcode_shlibpath_var
=no
9220 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9221 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9222 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9229 if test "$ld_shlibs" = no
; then
9231 hardcode_libdir_flag_spec
=
9232 export_dynamic_flag_spec
=
9233 whole_archive_flag_spec
=
9236 # PORTME fill in a description of your system's linker (not GNU ld)
9239 allow_undefined_flag
=unsupported
9240 always_export_symbols
=yes
9241 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'
9242 # Note: this linker hardcodes the directories in LIBPATH if there
9243 # are no directories specified by -L.
9244 hardcode_minus_L
=yes
9245 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9246 # Neither direct hardcoding nor static linking is supported with a
9248 hardcode_direct
=unsupported
9253 if test "$host_cpu" = ia64
; then
9254 # On IA64, the linker does run time linking by default, so we don't
9255 # have to do anything special.
9256 aix_use_runtimelinking
=no
9257 exp_sym_flag
='-Bexport'
9260 # If we're using GNU nm, then we don't want the "-C" option.
9261 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9262 # Also, AIX nm treats weak defined symbols like other global
9263 # defined symbols, whereas GNU nm marks them as "W".
9264 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9265 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'
9267 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'
9269 aix_use_runtimelinking
=no
9271 # Test if we are trying to use run time linking or normal
9272 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9273 # need to do runtime linking.
9274 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9275 for ld_flag
in $LDFLAGS; do
9276 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9277 aix_use_runtimelinking
=yes
9284 exp_sym_flag
='-bexport'
9285 no_entry_flag
='-bnoentry'
9288 # When large executables or shared objects are built, AIX ld can
9289 # have problems creating the table of contents. If linking a library
9290 # or program results in "error TOC overflow" add -mminimal-toc to
9291 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9292 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9296 hardcode_direct_absolute
=yes
9297 hardcode_libdir_separator
=':'
9298 link_all_deplibs
=yes
9299 file_list_spec
='${wl}-f,'
9301 if test "$GCC" = yes; then
9302 case $host_os in aix4.
[012]|aix4.
[012].
*)
9303 # We only want to do this on AIX 4.2 and lower, the check
9304 # below for broken collect2 doesn't work under 4.3+
9305 collect2name
=`${CC} -print-prog-name=collect2`
9306 if test -f "$collect2name" &&
9307 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9309 # We have reworked collect2
9312 # We have old collect2
9313 hardcode_direct
=unsupported
9314 # It fails to find uninstalled libraries when the uninstalled
9315 # path is not listed in the libpath. Setting hardcode_minus_L
9316 # to unsupported forces relinking
9317 hardcode_minus_L
=yes
9318 hardcode_libdir_flag_spec
='-L$libdir'
9319 hardcode_libdir_separator
=
9323 shared_flag
='-shared'
9324 if test "$aix_use_runtimelinking" = yes; then
9325 shared_flag
="$shared_flag "'${wl}-G'
9329 if test "$host_cpu" = ia64
; then
9330 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9331 # chokes on -Wl,-G. The following line is correct:
9334 if test "$aix_use_runtimelinking" = yes; then
9335 shared_flag
='${wl}-G'
9337 shared_flag
='${wl}-bM:SRE'
9342 export_dynamic_flag_spec
='${wl}-bexpall'
9343 # It seems that -bexpall does not export symbols beginning with
9344 # underscore (_), so it is better to generate a list of symbols to export.
9345 always_export_symbols
=yes
9346 if test "$aix_use_runtimelinking" = yes; then
9347 # Warning - without using the other runtime loading flags (-brtl),
9348 # -berok will link without error, but may produce a broken library.
9349 allow_undefined_flag
='-berok'
9350 # Determine the default libpath from the value encoded in an
9352 if test x
$gcc_no_link = xyes
; then
9353 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9356 /* end confdefs.h. */
9366 if ac_fn_c_try_link
"$LINENO"; then :
9368 lt_aix_libpath_sed
='
9369 /Import File Strings/,/^$/ {
9375 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9376 # Check for a 64-bit object if we didn't find anything.
9377 if test -z "$aix_libpath"; then
9378 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9381 rm -f core conftest.err conftest.
$ac_objext \
9382 conftest
$ac_exeext conftest.
$ac_ext
9383 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9385 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9386 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"
9388 if test "$host_cpu" = ia64
; then
9389 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9390 allow_undefined_flag
="-z nodefs"
9391 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"
9393 # Determine the default libpath from the value encoded in an
9395 if test x
$gcc_no_link = xyes
; then
9396 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9399 /* end confdefs.h. */
9409 if ac_fn_c_try_link
"$LINENO"; then :
9411 lt_aix_libpath_sed
='
9412 /Import File Strings/,/^$/ {
9418 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9419 # Check for a 64-bit object if we didn't find anything.
9420 if test -z "$aix_libpath"; then
9421 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9424 rm -f core conftest.err conftest.
$ac_objext \
9425 conftest
$ac_exeext conftest.
$ac_ext
9426 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9428 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9429 # Warning - without using the other run time loading flags,
9430 # -berok will link without error, but may produce a broken library.
9431 no_undefined_flag
=' ${wl}-bernotok'
9432 allow_undefined_flag
=' ${wl}-berok'
9433 if test "$with_gnu_ld" = yes; then
9434 # We only use this code for GNU lds that support --whole-archive.
9435 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9437 # Exported symbols can be pulled into shared objects from archives
9438 whole_archive_flag_spec
='$convenience'
9440 archive_cmds_need_lc
=yes
9441 # This is similar to how AIX traditionally builds its shared libraries.
9442 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'
9450 # see comment about AmigaOS4 .so support
9451 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9452 archive_expsym_cmds
=''
9455 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)'
9456 hardcode_libdir_flag_spec
='-L$libdir'
9457 hardcode_minus_L
=yes
9463 export_dynamic_flag_spec
=-rdynamic
9466 cygwin
* | mingw
* | pw32
* | cegcc
*)
9467 # When not using gcc, we currently assume that we are using
9468 # Microsoft Visual C++.
9469 # hardcode_libdir_flag_spec is actually meaningless, as there is
9470 # no search path for DLLs.
9471 hardcode_libdir_flag_spec
=' '
9472 allow_undefined_flag
=unsupported
9473 # Tell ltmain to make .lib files, not .a files.
9475 # Tell ltmain to make .dll files, not .so files.
9477 # FIXME: Setting linknames here is a bad hack.
9478 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9479 # The linker will automatically build a .lib file if we build a DLL.
9480 old_archive_from_new_cmds
='true'
9481 # FIXME: Should let the user specify the lib program.
9482 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9483 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9484 enable_shared_with_static_runtimes
=yes
9487 darwin
* | rhapsody
*)
9490 archive_cmds_need_lc
=no
9492 hardcode_automatic
=yes
9493 hardcode_shlibpath_var
=unsupported
9494 if test "$lt_cv_ld_force_load" = "yes"; then
9495 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\"`'
9497 whole_archive_flag_spec
=''
9499 link_all_deplibs
=yes
9500 allow_undefined_flag
="$_lt_dar_allow_undefined"
9501 case $cc_basename in
9502 ifort
*) _lt_dar_can_shared
=yes ;;
9503 *) _lt_dar_can_shared
=$GCC ;;
9505 if test "$_lt_dar_can_shared" = "yes"; then
9506 output_verbose_link_cmd
=func_echo_all
9507 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9508 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9509 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}"
9510 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}"
9519 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9520 hardcode_libdir_flag_spec
='-L$libdir'
9521 hardcode_shlibpath_var
=no
9524 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9525 # support. Future versions do this automatically, but an explicit c++rt0.o
9526 # does not break anything, and helps significantly (at the cost of a little
9529 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9530 hardcode_libdir_flag_spec
='-R$libdir'
9532 hardcode_shlibpath_var
=no
9535 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9537 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9539 hardcode_minus_L
=yes
9540 hardcode_shlibpath_var
=no
9543 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9544 freebsd
* | dragonfly
*)
9545 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9546 hardcode_libdir_flag_spec
='-R$libdir'
9548 hardcode_shlibpath_var
=no
9552 if test "$GCC" = yes; then
9553 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'
9555 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'
9557 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9558 hardcode_libdir_separator
=:
9561 # hardcode_minus_L: Not really in the search PATH,
9562 # but as the default location of the library.
9563 hardcode_minus_L
=yes
9564 export_dynamic_flag_spec
='${wl}-E'
9568 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9569 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9571 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9573 if test "$with_gnu_ld" = no
; then
9574 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9575 hardcode_libdir_flag_spec_ld
='+b $libdir'
9576 hardcode_libdir_separator
=:
9578 hardcode_direct_absolute
=yes
9579 export_dynamic_flag_spec
='${wl}-E'
9580 # hardcode_minus_L: Not really in the search PATH,
9581 # but as the default location of the library.
9582 hardcode_minus_L
=yes
9587 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9590 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9593 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9596 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9602 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9605 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9609 # Older versions of the 11.00 compiler do not understand -b yet
9610 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9612 $as_echo_n "checking if $CC understands -b... " >&6; }
9613 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9614 $as_echo_n "(cached) " >&6
9616 lt_cv_prog_compiler__b
=no
9617 save_LDFLAGS
="$LDFLAGS"
9618 LDFLAGS
="$LDFLAGS -b"
9619 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9620 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9621 # The linker can only warn and ignore the option if not recognized
9622 # So say no if there are warnings
9623 if test -s conftest.err
; then
9624 # Append any errors to the config.log.
9625 cat conftest.err
1>&5
9626 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9627 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9628 if diff conftest.exp conftest.er2
>/dev
/null
; then
9629 lt_cv_prog_compiler__b
=yes
9632 lt_cv_prog_compiler__b
=yes
9636 LDFLAGS
="$save_LDFLAGS"
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9640 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9642 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9643 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9645 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9651 if test "$with_gnu_ld" = no
; then
9652 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9653 hardcode_libdir_separator
=:
9658 hardcode_shlibpath_var
=no
9662 hardcode_direct_absolute
=yes
9663 export_dynamic_flag_spec
='${wl}-E'
9665 # hardcode_minus_L: Not really in the search PATH,
9666 # but as the default location of the library.
9667 hardcode_minus_L
=yes
9673 irix5
* | irix6
* | nonstopux
*)
9674 if test "$GCC" = yes; then
9675 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'
9676 # Try to use the -exported_symbol ld option, if it does not
9677 # work, assume that -exports_file does not work either and
9678 # implicitly export all symbols.
9679 save_LDFLAGS
="$LDFLAGS"
9680 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9681 if test x
$gcc_no_link = xyes
; then
9682 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9685 /* end confdefs.h. */
9688 if ac_fn_c_try_link
"$LINENO"; then :
9689 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'
9692 rm -f core conftest.err conftest.
$ac_objext \
9693 conftest
$ac_exeext conftest.
$ac_ext
9694 LDFLAGS
="$save_LDFLAGS"
9696 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'
9697 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'
9699 archive_cmds_need_lc
='no'
9700 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9701 hardcode_libdir_separator
=:
9703 link_all_deplibs
=yes
9707 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9708 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9710 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9712 hardcode_libdir_flag_spec
='-R$libdir'
9714 hardcode_shlibpath_var
=no
9718 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9720 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9721 hardcode_libdir_separator
=:
9722 hardcode_shlibpath_var
=no
9729 if test -f /usr
/libexec
/ld.so
; then
9731 hardcode_shlibpath_var
=no
9732 hardcode_direct_absolute
=yes
9733 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9734 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9735 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9736 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9737 export_dynamic_flag_spec
='${wl}-E'
9740 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9741 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9742 hardcode_libdir_flag_spec
='-R$libdir'
9745 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9746 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9756 hardcode_libdir_flag_spec
='-L$libdir'
9757 hardcode_minus_L
=yes
9758 allow_undefined_flag
=unsupported
9759 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'
9760 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9764 if test "$GCC" = yes; then
9765 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9766 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'
9768 allow_undefined_flag
=' -expect_unresolved \*'
9769 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'
9771 archive_cmds_need_lc
='no'
9772 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9773 hardcode_libdir_separator
=:
9776 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9777 if test "$GCC" = yes; then
9778 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9779 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'
9780 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9782 allow_undefined_flag
=' -expect_unresolved \*'
9783 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'
9784 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~
9785 $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'
9787 # Both c and cxx compiler support -rpath directly
9788 hardcode_libdir_flag_spec
='-rpath $libdir'
9790 archive_cmds_need_lc
='no'
9791 hardcode_libdir_separator
=:
9795 no_undefined_flag
=' -z defs'
9796 if test "$GCC" = yes; then
9798 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9799 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9800 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9802 case `$CC -V 2>&1` in
9805 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9806 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9807 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9811 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9812 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9813 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9817 hardcode_libdir_flag_spec
='-R$libdir'
9818 hardcode_shlibpath_var
=no
9820 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9822 # The compiler driver will combine and reorder linker options,
9823 # but understands `-z linker_flag'. GCC discards it without `$wl',
9824 # but is careful enough not to reorder.
9825 # Supported since Solaris 2.6 (maybe 2.5.1?)
9826 if test "$GCC" = yes; then
9827 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9829 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9833 link_all_deplibs
=yes
9837 if test "x$host_vendor" = xsequent
; then
9838 # Use $CC to link under sequent, because it throws in some extra .o
9839 # files that make .init and .fini sections work.
9840 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9842 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9844 hardcode_libdir_flag_spec
='-L$libdir'
9846 hardcode_minus_L
=yes
9847 hardcode_shlibpath_var
=no
9851 case $host_vendor in
9853 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9854 hardcode_direct
=yes # is this really true???
9857 ## LD is ld it makes a PLAMLIB
9858 ## CC just makes a GrossModule.
9859 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9860 reload_cmds
='$CC -r -o $output$reload_objs'
9864 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9865 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9868 runpath_var
='LD_RUN_PATH'
9869 hardcode_shlibpath_var
=no
9873 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9874 hardcode_shlibpath_var
=no
9875 export_dynamic_flag_spec
='-Bexport'
9879 if test -d /usr
/nec
; then
9880 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9881 hardcode_shlibpath_var
=no
9882 runpath_var
=LD_RUN_PATH
9883 hardcode_runpath_var
=yes
9888 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9889 no_undefined_flag
='${wl}-z,text'
9890 archive_cmds_need_lc
=no
9891 hardcode_shlibpath_var
=no
9892 runpath_var
='LD_RUN_PATH'
9894 if test "$GCC" = yes; then
9895 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9896 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9898 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9899 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9903 sysv5
* | sco3.2v5
* | sco5v6
*)
9904 # Note: We can NOT use -z defs as we might desire, because we do not
9905 # link with -lc, and that would cause any symbols used from libc to
9906 # always be unresolved, which means just about no library would
9907 # ever link correctly. If we're not using GNU ld we use -z text
9908 # though, which does catch some bad symbols but isn't as heavy-handed
9910 no_undefined_flag
='${wl}-z,text'
9911 allow_undefined_flag
='${wl}-z,nodefs'
9912 archive_cmds_need_lc
=no
9913 hardcode_shlibpath_var
=no
9914 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9915 hardcode_libdir_separator
=':'
9916 link_all_deplibs
=yes
9917 export_dynamic_flag_spec
='${wl}-Bexport'
9918 runpath_var
='LD_RUN_PATH'
9920 if test "$GCC" = yes; then
9921 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9922 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9924 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9925 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9930 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9931 hardcode_libdir_flag_spec
='-L$libdir'
9932 hardcode_shlibpath_var
=no
9940 if test x
$host_vendor = xsni
; then
9942 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9943 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9950 $as_echo "$ld_shlibs" >&6; }
9951 test "$ld_shlibs" = no
&& can_build_shared
=no
9953 with_gnu_ld
=$with_gnu_ld
9970 # Do we need to explicitly link libc?
9972 case "x$archive_cmds_need_lc" in
9974 # Assume -lc should be added
9975 archive_cmds_need_lc
=yes
9977 if test "$enable_shared" = yes && test "$GCC" = yes; then
9978 case $archive_cmds in
9980 # FIXME: we may have to deal with multi-command sequences.
9983 # Test whether the compiler implicitly links with -lc since on some
9984 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9985 # to ld, don't add -lc before -lgcc.
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9987 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9988 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9989 $as_echo_n "(cached) " >&6
9992 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9994 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9995 (eval $ac_compile) 2>&5
9997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9998 test $ac_status = 0; } 2>conftest.err
; then
10001 libobjs
=conftest.
$ac_objext
10003 wl
=$lt_prog_compiler_wl
10004 pic_flag
=$lt_prog_compiler_pic
10010 lt_save_allow_undefined_flag
=$allow_undefined_flag
10011 allow_undefined_flag
=
10012 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10013 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10016 test $ac_status = 0; }
10018 lt_cv_archive_cmds_need_lc
=no
10020 lt_cv_archive_cmds_need_lc
=yes
10022 allow_undefined_flag
=$lt_save_allow_undefined_flag
10024 cat conftest.err
1>&5
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10030 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10031 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10195 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10197 if test "$GCC" = yes; then
10199 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10200 *) lt_awk_arg
="/^libraries:/" ;;
10203 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10204 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10206 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10207 case $lt_search_path_spec in
10209 # if the path contains ";" then we assume it to be the separator
10210 # otherwise default to the standard path separator (i.e. ":") - it is
10211 # assumed that no part of a normal pathname contains ";" but that should
10212 # okay in the real world where ";" in dirpaths is itself problematic.
10213 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10216 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10219 # Ok, now we have the path, separated by spaces, we can step through it
10220 # and add multilib dir if necessary.
10221 lt_tmp_lt_search_path_spec
=
10222 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10223 for lt_sys_path
in $lt_search_path_spec; do
10224 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10225 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10227 test -d "$lt_sys_path" && \
10228 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10231 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10232 BEGIN {RS=" "; FS="/|\n";} {
10235 for (lt_i = NF; lt_i > 0; lt_i--) {
10236 if ($lt_i != "" && $lt_i != ".") {
10237 if ($lt_i == "..") {
10240 if (lt_count == 0) {
10241 lt_foo="/" $lt_i lt_foo;
10248 if (lt_foo != "") { lt_freq[lt_foo]++; }
10249 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10251 # AWK program above erroneously prepends '/' to C:/dos/paths
10254 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10255 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10257 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10259 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10261 library_names_spec
=
10262 libname_spec
='lib$name'
10266 postuninstall_cmds
=
10270 shlibpath_overrides_runpath
=unknown
10272 dynamic_linker
="$host_os ld.so"
10273 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10274 need_lib_prefix
=unknown
10275 hardcode_into_libs
=no
10277 # when you set need_version to no, make sure it does not cause -set_version
10278 # flags to be left without arguments
10279 need_version
=unknown
10284 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10285 shlibpath_var
=LIBPATH
10287 # AIX 3 has no versioning support, so we append a major version to the name.
10288 soname_spec
='${libname}${release}${shared_ext}$major'
10295 hardcode_into_libs
=yes
10296 if test "$host_cpu" = ia64
; then
10297 # AIX 5 supports IA64
10298 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10299 shlibpath_var
=LD_LIBRARY_PATH
10301 # With GCC up to 2.95.x, collect2 would create an import file
10302 # for dependence libraries. The import file would start with
10303 # the line `#! .'. This would cause the generated library to
10304 # depend on `.', always an invalid library. This was fixed in
10305 # development snapshots of GCC prior to 3.0.
10307 aix4 | aix4.
[01] | aix4.
[01].
*)
10308 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10310 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10313 can_build_shared
=no
10317 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10318 # soname into executable. Probably we can add versioning support to
10319 # collect2, so additional links can be useful in future.
10320 if test "$aix_use_runtimelinking" = yes; then
10321 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10322 # instead of lib<name>.a to let people know that these are not
10323 # typical AIX shared libraries.
10324 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10326 # We preserve .a as extension for shared libraries through AIX4.2
10327 # and later when we are not doing run time linking.
10328 library_names_spec
='${libname}${release}.a $libname.a'
10329 soname_spec
='${libname}${release}${shared_ext}$major'
10331 shlibpath_var
=LIBPATH
10338 # Since July 2007 AmigaOS4 officially supports .so libraries.
10339 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10340 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10343 library_names_spec
='$libname.ixlibrary $libname.a'
10344 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10345 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'
10351 library_names_spec
='${libname}${shared_ext}'
10352 dynamic_linker
="$host_os ld.so"
10353 shlibpath_var
=LIBRARY_PATH
10359 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10360 soname_spec
='${libname}${release}${shared_ext}$major'
10361 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10362 shlibpath_var
=LD_LIBRARY_PATH
10363 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10364 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10365 # the default ld.so.conf also contains /usr/contrib/lib and
10366 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10367 # libtool to hard-code these into programs
10370 cygwin
* | mingw
* | pw32
* | cegcc
*)
10371 version_type
=windows
10376 case $GCC,$host_os in
10377 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10378 library_names_spec
='$libname.dll.a'
10379 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10380 postinstall_cmds
='base_file=`basename \${file}`~
10381 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10382 dldir=$destdir/`dirname \$dlpath`~
10383 test -d \$dldir || mkdir -p \$dldir~
10384 $install_prog $dir/$dlname \$dldir/$dlname~
10385 chmod a+x \$dldir/$dlname~
10386 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10387 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10389 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10390 dlpath=$dir/\$dldll~
10392 shlibpath_overrides_runpath
=yes
10396 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10397 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10399 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10402 # MinGW DLLs use traditional 'lib' prefix
10403 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10406 # pw32 DLLs use 'pw' prefix rather than 'lib'
10407 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10413 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10416 dynamic_linker
='Win32 ld.exe'
10417 # FIXME: first we should search . and the directory the executable is in
10421 darwin
* | rhapsody
*)
10422 dynamic_linker
="$host_os dyld"
10423 version_type
=darwin
10426 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10427 soname_spec
='${libname}${release}${major}$shared_ext'
10428 shlibpath_overrides_runpath
=yes
10429 shlibpath_var
=DYLD_LIBRARY_PATH
10430 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10432 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10433 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10440 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10441 soname_spec
='${libname}${release}${shared_ext}$major'
10442 shlibpath_var
=LD_LIBRARY_PATH
10445 freebsd
* | dragonfly
*)
10446 # DragonFly does not have aout. When/if they implement a new
10447 # versioning mechanism, adjust this.
10448 if test -x /usr
/bin
/objformat
; then
10449 objformat
=`/usr/bin/objformat`
10452 freebsd
[123]*) objformat
=aout
;;
10453 *) objformat
=elf
;;
10456 version_type
=freebsd-
$objformat
10457 case $version_type in
10459 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10464 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10468 shlibpath_var
=LD_LIBRARY_PATH
10471 shlibpath_overrides_runpath
=yes
10473 freebsd3.
[01]* | freebsdelf3.
[01]*)
10474 shlibpath_overrides_runpath
=yes
10475 hardcode_into_libs
=yes
10477 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10478 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10479 shlibpath_overrides_runpath
=no
10480 hardcode_into_libs
=yes
10482 *) # from 4.6 on, and DragonFly
10483 shlibpath_overrides_runpath
=yes
10484 hardcode_into_libs
=yes
10493 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10494 soname_spec
='${libname}${release}${shared_ext}$major'
10495 shlibpath_var
=LD_LIBRARY_PATH
10496 hardcode_into_libs
=yes
10503 dynamic_linker
="$host_os runtime_loader"
10504 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10505 soname_spec
='${libname}${release}${shared_ext}$major'
10506 shlibpath_var
=LIBRARY_PATH
10507 shlibpath_overrides_runpath
=yes
10508 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10509 hardcode_into_libs
=yes
10512 hpux9
* | hpux10
* | hpux11
*)
10513 # Give a soname corresponding to the major version so that dld.sl refuses to
10514 # link against other versions.
10521 hardcode_into_libs
=yes
10522 dynamic_linker
="$host_os dld.so"
10523 shlibpath_var
=LD_LIBRARY_PATH
10524 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10525 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10526 soname_spec
='${libname}${release}${shared_ext}$major'
10527 if test "X$HPUX_IA64_MODE" = X32
; then
10528 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10530 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10532 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10536 hardcode_into_libs
=yes
10537 dynamic_linker
="$host_os dld.sl"
10538 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10539 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10540 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10541 soname_spec
='${libname}${release}${shared_ext}$major'
10542 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10543 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10547 dynamic_linker
="$host_os dld.sl"
10548 shlibpath_var
=SHLIB_PATH
10549 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10550 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10551 soname_spec
='${libname}${release}${shared_ext}$major'
10554 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10555 postinstall_cmds
='chmod 555 $lib'
10556 # or fails outright, so override atomically:
10557 install_override_mode
=555
10564 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10565 soname_spec
='${libname}${release}${shared_ext}$major'
10566 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10567 shlibpath_var
=LD_LIBRARY_PATH
10568 shlibpath_overrides_runpath
=no
10569 hardcode_into_libs
=yes
10572 irix5
* | irix6
* | nonstopux
*)
10574 nonstopux
*) version_type
=nonstopux
;;
10576 if test "$lt_cv_prog_gnu_ld" = yes; then
10584 soname_spec
='${libname}${release}${shared_ext}$major'
10585 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10587 irix5
* | nonstopux
*)
10588 libsuff
= shlibsuff
=
10591 case $LD in # libtool.m4 will add one of these switches to LD
10592 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10593 libsuff
= shlibsuff
= libmagic
=32-bit;;
10594 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10595 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10596 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10597 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10598 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10602 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10603 shlibpath_overrides_runpath
=no
10604 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10605 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10606 hardcode_into_libs
=yes
10609 # No shared lib support for Linux oldld, aout, or coff.
10610 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10614 # This must be Linux ELF.
10615 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
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'
10621 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10622 shlibpath_var
=LD_LIBRARY_PATH
10623 shlibpath_overrides_runpath
=no
10625 # Some binutils ld are patched to set DT_RUNPATH
10626 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10627 $as_echo_n "(cached) " >&6
10629 lt_cv_shlibpath_overrides_runpath
=no
10630 save_LDFLAGS
=$LDFLAGS
10631 save_libdir
=$libdir
10632 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10633 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10634 if test x
$gcc_no_link = xyes
; then
10635 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10638 /* end confdefs.h. */
10648 if ac_fn_c_try_link
"$LINENO"; then :
10649 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10650 lt_cv_shlibpath_overrides_runpath
=yes
10653 rm -f core conftest.err conftest.
$ac_objext \
10654 conftest
$ac_exeext conftest.
$ac_ext
10655 LDFLAGS
=$save_LDFLAGS
10656 libdir
=$save_libdir
10660 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10662 # This implies no fast_install, which is unacceptable.
10663 # Some rework will be needed to allow for fast_install
10664 # before this can be enabled.
10665 hardcode_into_libs
=yes
10667 # Append ld.so.conf contents to the search path
10668 if test -f /etc
/ld.so.conf
; then
10669 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' ' '`
10670 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10673 # We used to test for /lib/ld.so.1 and disable shared libraries on
10674 # powerpc, because MkLinux only supported shared libraries with the
10675 # GNU dynamic linker. Since this was broken with cross compilers,
10676 # most powerpc-linux boxes support dynamic linking these days and
10677 # people can always --disable-shared, the test was removed, and we
10678 # assume the GNU/Linux dynamic linker is in use.
10679 dynamic_linker
='GNU/Linux ld.so'
10686 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10687 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10688 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10689 dynamic_linker
='NetBSD (a.out) ld.so'
10691 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10692 soname_spec
='${libname}${release}${shared_ext}$major'
10693 dynamic_linker
='NetBSD ld.elf_so'
10695 shlibpath_var
=LD_LIBRARY_PATH
10696 shlibpath_overrides_runpath
=yes
10697 hardcode_into_libs
=yes
10702 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10703 shlibpath_var
=LD_LIBRARY_PATH
10704 shlibpath_overrides_runpath
=yes
10711 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10712 soname_spec
='${libname}${release}${shared_ext}$major'
10713 shlibpath_var
=LD_LIBRARY_PATH
10714 shlibpath_overrides_runpath
=no
10715 hardcode_into_libs
=yes
10716 dynamic_linker
='ldqnx.so'
10721 sys_lib_dlsearch_path_spec
="/usr/lib"
10723 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10725 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10726 *) need_version
=no
;;
10728 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10729 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10730 shlibpath_var
=LD_LIBRARY_PATH
10731 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10733 openbsd2.
[89] | openbsd2.
[89].
*)
10734 shlibpath_overrides_runpath
=no
10737 shlibpath_overrides_runpath
=yes
10741 shlibpath_overrides_runpath
=yes
10746 libname_spec
='$name'
10749 library_names_spec
='$libname${shared_ext} $libname.a'
10750 dynamic_linker
='OS/2 ld.exe'
10751 shlibpath_var
=LIBPATH
10754 osf3
* | osf4
* | osf5
*)
10758 soname_spec
='${libname}${release}${shared_ext}$major'
10759 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10760 shlibpath_var
=LD_LIBRARY_PATH
10761 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10762 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10773 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10774 soname_spec
='${libname}${release}${shared_ext}$major'
10775 shlibpath_var
=LD_LIBRARY_PATH
10776 shlibpath_overrides_runpath
=yes
10777 hardcode_into_libs
=yes
10778 # ldd complains unless libraries are executable
10779 postinstall_cmds
='chmod +x $lib'
10784 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10785 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10786 shlibpath_var
=LD_LIBRARY_PATH
10787 shlibpath_overrides_runpath
=yes
10788 if test "$with_gnu_ld" = yes; then
10796 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10797 soname_spec
='${libname}${release}${shared_ext}$major'
10798 shlibpath_var
=LD_LIBRARY_PATH
10799 case $host_vendor in
10801 shlibpath_overrides_runpath
=no
10803 runpath_var
=LD_RUN_PATH
10811 shlibpath_overrides_runpath
=no
10812 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10818 if test -d /usr
/nec
;then
10820 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10821 soname_spec
='$libname${shared_ext}.$major'
10822 shlibpath_var
=LD_LIBRARY_PATH
10826 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10827 version_type
=freebsd-elf
10830 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10831 soname_spec
='${libname}${release}${shared_ext}$major'
10832 shlibpath_var
=LD_LIBRARY_PATH
10833 shlibpath_overrides_runpath
=yes
10834 hardcode_into_libs
=yes
10835 if test "$with_gnu_ld" = yes; then
10836 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10838 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10841 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10845 sys_lib_dlsearch_path_spec
='/usr/lib'
10849 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10853 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10854 shlibpath_var
=LD_LIBRARY_PATH
10855 shlibpath_overrides_runpath
=no
10856 hardcode_into_libs
=yes
10861 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10862 soname_spec
='${libname}${release}${shared_ext}$major'
10863 shlibpath_var
=LD_LIBRARY_PATH
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10871 $as_echo "$dynamic_linker" >&6; }
10872 test "$dynamic_linker" = no
&& can_build_shared
=no
10874 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10875 if test "$GCC" = yes; then
10876 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10879 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10880 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10882 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10883 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10978 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10980 if test -n "$hardcode_libdir_flag_spec" ||
10981 test -n "$runpath_var" ||
10982 test "X$hardcode_automatic" = "Xyes" ; then
10984 # We can hardcode non-existent directories.
10985 if test "$hardcode_direct" != no
&&
10986 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10987 # have to relink, otherwise we might link with an installed library
10988 # when we should be linking with a yet-to-be-installed one
10989 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10990 test "$hardcode_minus_L" != no
; then
10991 # Linking always hardcodes the temporary library directory.
10992 hardcode_action
=relink
10994 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10995 hardcode_action
=immediate
10998 # We cannot hardcode anything, or else we can only hardcode existing
11000 hardcode_action
=unsupported
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11003 $as_echo "$hardcode_action" >&6; }
11005 if test "$hardcode_action" = relink ||
11006 test "$inherit_rpath" = yes; then
11007 # Fast installation is not supported
11008 enable_fast_install
=no
11009 elif test "$shlibpath_overrides_runpath" = yes ||
11010 test "$enable_shared" = no
; then
11011 # Fast installation is not necessary
11012 enable_fast_install
=needless
11020 if test "x$enable_dlopen" != xyes
; then
11021 enable_dlopen
=unknown
11022 enable_dlopen_self
=unknown
11023 enable_dlopen_self_static
=unknown
11030 lt_cv_dlopen
="load_add_on"
11032 lt_cv_dlopen_self
=yes
11035 mingw
* | pw32
* | cegcc
*)
11036 lt_cv_dlopen
="LoadLibrary"
11041 lt_cv_dlopen
="dlopen"
11046 # if libdl is installed we need to link against it
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11048 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11049 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11050 $as_echo_n "(cached) " >&6
11052 ac_check_lib_save_LIBS
=$LIBS
11054 if test x
$gcc_no_link = xyes
; then
11055 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11058 /* end confdefs.h. */
11060 /* Override any GCC internal prototype to avoid an error.
11061 Use char because int might match the return type of a GCC
11062 builtin and then its argument prototype would still apply. */
11075 if ac_fn_c_try_link
"$LINENO"; then :
11076 ac_cv_lib_dl_dlopen
=yes
11078 ac_cv_lib_dl_dlopen
=no
11080 rm -f core conftest.err conftest.
$ac_objext \
11081 conftest
$ac_exeext conftest.
$ac_ext
11082 LIBS
=$ac_check_lib_save_LIBS
11084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11085 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11086 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11087 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11090 lt_cv_dlopen
="dyld"
11092 lt_cv_dlopen_self
=yes
11099 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11100 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11101 lt_cv_dlopen
="shl_load"
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11104 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11105 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11106 $as_echo_n "(cached) " >&6
11108 ac_check_lib_save_LIBS
=$LIBS
11110 if test x
$gcc_no_link = xyes
; then
11111 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11114 /* end confdefs.h. */
11116 /* Override any GCC internal prototype to avoid an error.
11117 Use char because int might match the return type of a GCC
11118 builtin and then its argument prototype would still apply. */
11126 return shl_load ();
11131 if ac_fn_c_try_link
"$LINENO"; then :
11132 ac_cv_lib_dld_shl_load
=yes
11134 ac_cv_lib_dld_shl_load
=no
11136 rm -f core conftest.err conftest.
$ac_objext \
11137 conftest
$ac_exeext conftest.
$ac_ext
11138 LIBS
=$ac_check_lib_save_LIBS
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11141 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11142 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11143 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11145 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11146 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11147 lt_cv_dlopen
="dlopen"
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11150 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11151 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11152 $as_echo_n "(cached) " >&6
11154 ac_check_lib_save_LIBS
=$LIBS
11156 if test x
$gcc_no_link = xyes
; then
11157 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11160 /* end confdefs.h. */
11162 /* Override any GCC internal prototype to avoid an error.
11163 Use char because int might match the return type of a GCC
11164 builtin and then its argument prototype would still apply. */
11177 if ac_fn_c_try_link
"$LINENO"; then :
11178 ac_cv_lib_dl_dlopen
=yes
11180 ac_cv_lib_dl_dlopen
=no
11182 rm -f core conftest.err conftest.
$ac_objext \
11183 conftest
$ac_exeext conftest.
$ac_ext
11184 LIBS
=$ac_check_lib_save_LIBS
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11187 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11188 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11189 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11192 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11193 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11194 $as_echo_n "(cached) " >&6
11196 ac_check_lib_save_LIBS
=$LIBS
11197 LIBS
="-lsvld $LIBS"
11198 if test x
$gcc_no_link = xyes
; then
11199 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11202 /* end confdefs.h. */
11204 /* Override any GCC internal prototype to avoid an error.
11205 Use char because int might match the return type of a GCC
11206 builtin and then its argument prototype would still apply. */
11219 if ac_fn_c_try_link
"$LINENO"; then :
11220 ac_cv_lib_svld_dlopen
=yes
11222 ac_cv_lib_svld_dlopen
=no
11224 rm -f core conftest.err conftest.
$ac_objext \
11225 conftest
$ac_exeext conftest.
$ac_ext
11226 LIBS
=$ac_check_lib_save_LIBS
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11229 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11230 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11231 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11234 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11235 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11236 $as_echo_n "(cached) " >&6
11238 ac_check_lib_save_LIBS
=$LIBS
11240 if test x
$gcc_no_link = xyes
; then
11241 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11244 /* end confdefs.h. */
11246 /* Override any GCC internal prototype to avoid an error.
11247 Use char because int might match the return type of a GCC
11248 builtin and then its argument prototype would still apply. */
11256 return dld_link ();
11261 if ac_fn_c_try_link
"$LINENO"; then :
11262 ac_cv_lib_dld_dld_link
=yes
11264 ac_cv_lib_dld_dld_link
=no
11266 rm -f core conftest.err conftest.
$ac_objext \
11267 conftest
$ac_exeext conftest.
$ac_ext
11268 LIBS
=$ac_check_lib_save_LIBS
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11271 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11272 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11273 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11294 if test "x$lt_cv_dlopen" != xno
; then
11300 case $lt_cv_dlopen in
11302 save_CPPFLAGS
="$CPPFLAGS"
11303 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11305 save_LDFLAGS
="$LDFLAGS"
11306 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11309 LIBS
="$lt_cv_dlopen_libs $LIBS"
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11312 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11313 if test "${lt_cv_dlopen_self+set}" = set; then :
11314 $as_echo_n "(cached) " >&6
11316 if test "$cross_compiling" = yes; then :
11317 lt_cv_dlopen_self
=cross
11319 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11320 lt_status
=$lt_dlunknown
11321 cat > conftest.
$ac_ext <<_LT_EOF
11322 #line 11322 "configure"
11323 #include "confdefs.h"
11332 # define LT_DLGLOBAL RTLD_GLOBAL
11335 # define LT_DLGLOBAL DL_GLOBAL
11337 # define LT_DLGLOBAL 0
11341 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11342 find out it does not work in some platform. */
11343 #ifndef LT_DLLAZY_OR_NOW
11345 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11348 # define LT_DLLAZY_OR_NOW DL_LAZY
11351 # define LT_DLLAZY_OR_NOW RTLD_NOW
11354 # define LT_DLLAZY_OR_NOW DL_NOW
11356 # define LT_DLLAZY_OR_NOW 0
11363 /* When -fvisbility=hidden is used, assume the code has been annotated
11364 correspondingly for the symbols needed. */
11365 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11366 void fnord () __attribute__((visibility("default")));
11369 void fnord () { int i=42; }
11372 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11373 int status = $lt_dlunknown;
11377 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11380 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11381 else puts (dlerror ());
11383 /* dlclose (self); */
11391 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11392 (eval $ac_link) 2>&5
11394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11395 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11396 (.
/conftest
; exit; ) >&5 2>/dev
/null
11398 case x
$lt_status in
11399 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11400 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11401 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11404 # compilation failed
11405 lt_cv_dlopen_self
=no
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11413 $as_echo "$lt_cv_dlopen_self" >&6; }
11415 if test "x$lt_cv_dlopen_self" = xyes
; then
11416 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11418 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11419 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11420 $as_echo_n "(cached) " >&6
11422 if test "$cross_compiling" = yes; then :
11423 lt_cv_dlopen_self_static
=cross
11425 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11426 lt_status
=$lt_dlunknown
11427 cat > conftest.
$ac_ext <<_LT_EOF
11428 #line 11428 "configure"
11429 #include "confdefs.h"
11438 # define LT_DLGLOBAL RTLD_GLOBAL
11441 # define LT_DLGLOBAL DL_GLOBAL
11443 # define LT_DLGLOBAL 0
11447 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11448 find out it does not work in some platform. */
11449 #ifndef LT_DLLAZY_OR_NOW
11451 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11454 # define LT_DLLAZY_OR_NOW DL_LAZY
11457 # define LT_DLLAZY_OR_NOW RTLD_NOW
11460 # define LT_DLLAZY_OR_NOW DL_NOW
11462 # define LT_DLLAZY_OR_NOW 0
11469 /* When -fvisbility=hidden is used, assume the code has been annotated
11470 correspondingly for the symbols needed. */
11471 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11472 void fnord () __attribute__((visibility("default")));
11475 void fnord () { int i=42; }
11478 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11479 int status = $lt_dlunknown;
11483 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11486 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11487 else puts (dlerror ());
11489 /* dlclose (self); */
11497 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11498 (eval $ac_link) 2>&5
11500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11501 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11502 (.
/conftest
; exit; ) >&5 2>/dev
/null
11504 case x
$lt_status in
11505 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11506 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11507 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11510 # compilation failed
11511 lt_cv_dlopen_self_static
=no
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11519 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11522 CPPFLAGS
="$save_CPPFLAGS"
11523 LDFLAGS
="$save_LDFLAGS"
11528 case $lt_cv_dlopen_self in
11529 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11530 *) enable_dlopen_self
=unknown
;;
11533 case $lt_cv_dlopen_self_static in
11534 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11535 *) enable_dlopen_self_static
=unknown
;;
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11558 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11559 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11560 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11561 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11563 $as_echo "yes" >&6; }
11565 # FIXME - insert some real tests, host_os isn't really good enough
11568 if test -n "$STRIP" ; then
11569 striplib
="$STRIP -x"
11570 old_striplib
="$STRIP -S"
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11572 $as_echo "yes" >&6; }
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11575 $as_echo "no" >&6; }
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11580 $as_echo "no" >&6; }
11596 # Report which library types will actually be built
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11598 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11600 $as_echo "$can_build_shared" >&6; }
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11603 $as_echo_n "checking whether to build shared libraries... " >&6; }
11604 test "$can_build_shared" = "no" && enable_shared
=no
11606 # On AIX, shared libraries and static libraries use the same namespace, and
11607 # are all built from PIC.
11610 test "$enable_shared" = yes && enable_static
=no
11611 if test -n "$RANLIB"; then
11612 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11613 postinstall_cmds
='$RANLIB $lib'
11618 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11619 test "$enable_shared" = yes && enable_static
=no
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11624 $as_echo "$enable_shared" >&6; }
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11627 $as_echo_n "checking whether to build static libraries... " >&6; }
11628 # Make sure either enable_shared or enable_static is yes.
11629 test "$enable_shared" = yes || enable_static
=yes
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11631 $as_echo "$enable_static" >&6; }
11638 ac_cpp
='$CPP $CPPFLAGS'
11639 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11640 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11641 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11645 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11646 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11647 (test "X$CXX" != "Xg++"))) ; then
11649 ac_cpp
='$CXXCPP $CPPFLAGS'
11650 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11651 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11652 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11654 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11655 if test -z "$CXXCPP"; then
11656 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11657 $as_echo_n "(cached) " >&6
11659 # Double quotes because CXXCPP needs to be expanded
11660 for CXXCPP
in "$CXX -E" "/lib/cpp"
11662 ac_preproc_ok
=false
11663 for ac_cxx_preproc_warn_flag
in '' yes
11665 # Use a header file that comes with gcc, so configuring glibc
11666 # with a fresh cross-compiler works.
11667 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11668 # <limits.h> exists even on freestanding compilers.
11669 # On the NeXT, cc -E runs the code through the compiler's parser,
11670 # not just through cpp. "Syntax error" is here to catch this case.
11671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11672 /* end confdefs.h. */
11674 # include <limits.h>
11676 # include <assert.h>
11680 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11683 # Broken: fails on valid input.
11686 rm -f conftest.err conftest.
$ac_ext
11688 # OK, works on sane cases. Now check whether nonexistent headers
11689 # can be detected and how.
11690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11691 /* end confdefs.h. */
11692 #include <ac_nonexistent.h>
11694 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11695 # Broken: success on invalid input.
11698 # Passes both tests.
11702 rm -f conftest.err conftest.
$ac_ext
11705 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11706 rm -f conftest.err conftest.
$ac_ext
11707 if $ac_preproc_ok; then :
11712 ac_cv_prog_CXXCPP
=$CXXCPP
11715 CXXCPP
=$ac_cv_prog_CXXCPP
11717 ac_cv_prog_CXXCPP
=$CXXCPP
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11720 $as_echo "$CXXCPP" >&6; }
11721 ac_preproc_ok
=false
11722 for ac_cxx_preproc_warn_flag
in '' yes
11724 # Use a header file that comes with gcc, so configuring glibc
11725 # with a fresh cross-compiler works.
11726 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11727 # <limits.h> exists even on freestanding compilers.
11728 # On the NeXT, cc -E runs the code through the compiler's parser,
11729 # not just through cpp. "Syntax error" is here to catch this case.
11730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11731 /* end confdefs.h. */
11733 # include <limits.h>
11735 # include <assert.h>
11739 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11742 # Broken: fails on valid input.
11745 rm -f conftest.err conftest.
$ac_ext
11747 # OK, works on sane cases. Now check whether nonexistent headers
11748 # can be detected and how.
11749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11750 /* end confdefs.h. */
11751 #include <ac_nonexistent.h>
11753 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11754 # Broken: success on invalid input.
11757 # Passes both tests.
11761 rm -f conftest.err conftest.
$ac_ext
11764 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11765 rm -f conftest.err conftest.
$ac_ext
11766 if $ac_preproc_ok; then :
11769 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11770 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11771 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
11772 See \`config.log' for more details." "$LINENO" 5; }
11776 ac_cpp
='$CPP $CPPFLAGS'
11777 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11778 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11779 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11782 _lt_caught_CXX_error
=yes
11786 ac_cpp
='$CXXCPP $CPPFLAGS'
11787 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11788 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11789 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11791 archive_cmds_need_lc_CXX
=no
11792 allow_undefined_flag_CXX
=
11793 always_export_symbols_CXX
=no
11794 archive_expsym_cmds_CXX
=
11795 compiler_needs_object_CXX
=no
11796 export_dynamic_flag_spec_CXX
=
11797 hardcode_direct_CXX
=no
11798 hardcode_direct_absolute_CXX
=no
11799 hardcode_libdir_flag_spec_CXX
=
11800 hardcode_libdir_flag_spec_ld_CXX
=
11801 hardcode_libdir_separator_CXX
=
11802 hardcode_minus_L_CXX
=no
11803 hardcode_shlibpath_var_CXX
=unsupported
11804 hardcode_automatic_CXX
=no
11805 inherit_rpath_CXX
=no
11807 module_expsym_cmds_CXX
=
11808 link_all_deplibs_CXX
=unknown
11809 old_archive_cmds_CXX
=$old_archive_cmds
11810 reload_flag_CXX
=$reload_flag
11811 reload_cmds_CXX
=$reload_cmds
11812 no_undefined_flag_CXX
=
11813 whole_archive_flag_spec_CXX
=
11814 enable_shared_with_static_runtimes_CXX
=no
11816 # Source file extension for C++ test sources.
11819 # Object file extension for compiled C++ test sources.
11823 # No sense in running all these tests if we already determined that
11824 # the CXX compiler isn't working. Some variables (like enable_shared)
11825 # are currently assumed to apply to all compilers on this platform,
11826 # and will be corrupted by setting them based on a non-working compiler.
11827 if test "$_lt_caught_CXX_error" != yes; then
11828 # Code to be used in simple compile tests
11829 lt_simple_compile_test_code
="int some_variable = 0;"
11831 # Code to be used in simple link tests
11832 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11834 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11841 # If no C compiler was specified, use CC.
11844 # If no C compiler flags were specified, use CFLAGS.
11845 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11847 # Allow CC to be a program name with arguments.
11851 # save warnings/boilerplate of simple test code
11852 ac_outfile
=conftest.
$ac_objext
11853 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11854 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11855 _lt_compiler_boilerplate
=`cat conftest.err`
11858 ac_outfile
=conftest.
$ac_objext
11859 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11860 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11861 _lt_linker_boilerplate
=`cat conftest.err`
11865 # Allow CC to be a program name with arguments.
11870 lt_save_with_gnu_ld
=$with_gnu_ld
11871 lt_save_path_LD
=$lt_cv_path_LD
11872 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11873 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11875 $as_unset lt_cv_prog_gnu_ld
11877 if test -n "${lt_cv_path_LDCXX+set}"; then
11878 lt_cv_path_LD
=$lt_cv_path_LDCXX
11880 $as_unset lt_cv_path_LD
11882 test -z "${LDCXX+set}" || LD
=$LDCXX
11886 for cc_temp
in $compiler""; do
11888 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11889 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11894 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11897 if test -n "$compiler"; then
11898 # We don't want -fno-exception when compiling C++ code, so set the
11899 # no_builtin_flag separately
11900 if test "$GXX" = yes; then
11901 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11903 lt_prog_compiler_no_builtin_flag_CXX
=
11906 if test "$GXX" = yes; then
11907 # Set up default GNU C++ configuration
11911 # Check whether --with-gnu-ld was given.
11912 if test "${with_gnu_ld+set}" = set; then :
11913 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
11919 if test "$GCC" = yes; then
11920 # Check if gcc -print-prog-name=ld gives a path.
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11922 $as_echo_n "checking for ld used by $CC... " >&6; }
11925 # gcc leaves a trailing carriage return which upsets mingw
11926 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11928 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11931 # Accept absolute paths.
11933 re_direlt
='/[^/][^/]*/\.\./'
11934 # Canonicalize the pathname of ld
11935 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11936 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
11937 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11939 test -z "$LD" && LD
="$ac_prog"
11942 # If it fails, then pretend we aren't using GCC.
11946 # If it is relative, then search for the first ld in PATH.
11947 with_gnu_ld
=unknown
11950 elif test "$with_gnu_ld" = yes; then
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11952 $as_echo_n "checking for GNU ld... " >&6; }
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11955 $as_echo_n "checking for non-GNU ld... " >&6; }
11957 if test "${lt_cv_path_LD+set}" = set; then :
11958 $as_echo_n "(cached) " >&6
11960 if test -z "$LD"; then
11961 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11962 for ac_dir
in $PATH; do
11964 test -z "$ac_dir" && ac_dir
=.
11965 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
11966 lt_cv_path_LD
="$ac_dir/$ac_prog"
11967 # Check to see if the program is GNU ld. I'd rather use --version,
11968 # but apparently some variants of GNU ld only accept -v.
11969 # Break only if it was the GNU/non-GNU ld that we prefer.
11970 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11971 *GNU
* |
*'with BFD'*)
11972 test "$with_gnu_ld" != no
&& break
11975 test "$with_gnu_ld" != yes && break
11982 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11986 LD
="$lt_cv_path_LD"
11987 if test -n "$LD"; then
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11989 $as_echo "$LD" >&6; }
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11992 $as_echo "no" >&6; }
11994 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11996 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11997 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11998 $as_echo_n "(cached) " >&6
12000 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12001 case `$LD -v 2>&1 </dev/null` in
12002 *GNU
* |
*'with BFD'*)
12003 lt_cv_prog_gnu_ld
=yes
12006 lt_cv_prog_gnu_ld
=no
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12011 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12012 with_gnu_ld
=$lt_cv_prog_gnu_ld
12020 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12021 # archiving commands below assume that GNU ld is being used.
12022 if test "$with_gnu_ld" = yes; then
12023 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12024 archive_expsym_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12026 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12027 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12029 # If archive_cmds runs LD, not CC, wlarc should be empty
12030 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12031 # investigate it a little bit more. (MM)
12034 # ancient GNU ld didn't support --whole-archive et. al.
12035 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12036 $GREP 'no-whole-archive' > /dev
/null
; then
12037 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12039 whole_archive_flag_spec_CXX
=
12045 # A generic and very simple default shared library creation
12046 # command for GNU C++ for the case where it uses the native
12047 # linker, instead of GNU ld. If possible, this setting should
12048 # overridden to take advantage of the native linker features on
12049 # the platform it is being used on.
12050 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12053 # Commands to make compiler produce verbose output that lists
12054 # what "hidden" libraries, object files and flags are used when
12055 # linking a shared library.
12056 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12064 # PORTME: fill in a description of your system's C++ link characteristics
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12066 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12070 # FIXME: insert proper C++ library support
12074 if test "$host_cpu" = ia64
; then
12075 # On IA64, the linker does run time linking by default, so we don't
12076 # have to do anything special.
12077 aix_use_runtimelinking
=no
12078 exp_sym_flag
='-Bexport'
12081 aix_use_runtimelinking
=no
12083 # Test if we are trying to use run time linking or normal
12084 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12085 # need to do runtime linking.
12086 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12087 for ld_flag
in $LDFLAGS; do
12090 aix_use_runtimelinking
=yes
12098 exp_sym_flag
='-bexport'
12099 no_entry_flag
='-bnoentry'
12102 # When large executables or shared objects are built, AIX ld can
12103 # have problems creating the table of contents. If linking a library
12104 # or program results in "error TOC overflow" add -mminimal-toc to
12105 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12106 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12108 archive_cmds_CXX
=''
12109 hardcode_direct_CXX
=yes
12110 hardcode_direct_absolute_CXX
=yes
12111 hardcode_libdir_separator_CXX
=':'
12112 link_all_deplibs_CXX
=yes
12113 file_list_spec_CXX
='${wl}-f,'
12115 if test "$GXX" = yes; then
12116 case $host_os in aix4.
[012]|aix4.
[012].
*)
12117 # We only want to do this on AIX 4.2 and lower, the check
12118 # below for broken collect2 doesn't work under 4.3+
12119 collect2name
=`${CC} -print-prog-name=collect2`
12120 if test -f "$collect2name" &&
12121 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12123 # We have reworked collect2
12126 # We have old collect2
12127 hardcode_direct_CXX
=unsupported
12128 # It fails to find uninstalled libraries when the uninstalled
12129 # path is not listed in the libpath. Setting hardcode_minus_L
12130 # to unsupported forces relinking
12131 hardcode_minus_L_CXX
=yes
12132 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12133 hardcode_libdir_separator_CXX
=
12136 shared_flag
='-shared'
12137 if test "$aix_use_runtimelinking" = yes; then
12138 shared_flag
="$shared_flag "'${wl}-G'
12142 if test "$host_cpu" = ia64
; then
12143 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12144 # chokes on -Wl,-G. The following line is correct:
12147 if test "$aix_use_runtimelinking" = yes; then
12148 shared_flag
='${wl}-G'
12150 shared_flag
='${wl}-bM:SRE'
12155 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12156 # It seems that -bexpall does not export symbols beginning with
12157 # underscore (_), so it is better to generate a list of symbols to
12159 always_export_symbols_CXX
=yes
12160 if test "$aix_use_runtimelinking" = yes; then
12161 # Warning - without using the other runtime loading flags (-brtl),
12162 # -berok will link without error, but may produce a broken library.
12163 allow_undefined_flag_CXX
='-berok'
12164 # Determine the default libpath from the value encoded in an empty
12166 if test x
$gcc_no_link = xyes
; then
12167 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12170 /* end confdefs.h. */
12180 if ac_fn_cxx_try_link
"$LINENO"; then :
12182 lt_aix_libpath_sed
='
12183 /Import File Strings/,/^$/ {
12189 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12190 # Check for a 64-bit object if we didn't find anything.
12191 if test -z "$aix_libpath"; then
12192 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12195 rm -f core conftest.err conftest.
$ac_objext \
12196 conftest
$ac_exeext conftest.
$ac_ext
12197 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12199 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12201 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"
12203 if test "$host_cpu" = ia64
; then
12204 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12205 allow_undefined_flag_CXX
="-z nodefs"
12206 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"
12208 # Determine the default libpath from the value encoded in an
12209 # empty executable.
12210 if test x
$gcc_no_link = xyes
; then
12211 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12214 /* end confdefs.h. */
12224 if ac_fn_cxx_try_link
"$LINENO"; then :
12226 lt_aix_libpath_sed
='
12227 /Import File Strings/,/^$/ {
12233 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12234 # Check for a 64-bit object if we didn't find anything.
12235 if test -z "$aix_libpath"; then
12236 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12239 rm -f core conftest.err conftest.
$ac_objext \
12240 conftest
$ac_exeext conftest.
$ac_ext
12241 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12243 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12244 # Warning - without using the other run time loading flags,
12245 # -berok will link without error, but may produce a broken library.
12246 no_undefined_flag_CXX
=' ${wl}-bernotok'
12247 allow_undefined_flag_CXX
=' ${wl}-berok'
12248 if test "$with_gnu_ld" = yes; then
12249 # We only use this code for GNU lds that support --whole-archive.
12250 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12252 # Exported symbols can be pulled into shared objects from archives
12253 whole_archive_flag_spec_CXX
='$convenience'
12255 archive_cmds_need_lc_CXX
=yes
12256 # This is similar to how AIX traditionally builds its shared
12258 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'
12264 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12265 allow_undefined_flag_CXX
=unsupported
12266 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12267 # support --undefined. This deserves some investigation. FIXME
12268 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12275 case $cc_basename in
12277 # FIXME: insert proper C++ library support
12283 cygwin
* | mingw
* | pw32
* | cegcc
*)
12284 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12285 # as there is no search path for DLLs.
12286 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12287 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12288 allow_undefined_flag_CXX
=unsupported
12289 always_export_symbols_CXX
=no
12290 enable_shared_with_static_runtimes_CXX
=yes
12292 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12293 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'
12294 # If the export-symbols file already is a .def file (1st line
12295 # is EXPORTS), use it as is; otherwise, prepend...
12296 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12297 cp $export_symbols $output_objdir/$soname.def;
12299 echo EXPORTS > $output_objdir/$soname.def;
12300 cat $export_symbols >> $output_objdir/$soname.def;
12302 $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'
12307 darwin
* | rhapsody
*)
12310 archive_cmds_need_lc_CXX
=no
12311 hardcode_direct_CXX
=no
12312 hardcode_automatic_CXX
=yes
12313 hardcode_shlibpath_var_CXX
=unsupported
12314 if test "$lt_cv_ld_force_load" = "yes"; then
12315 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\"`'
12317 whole_archive_flag_spec_CXX
=''
12319 link_all_deplibs_CXX
=yes
12320 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12321 case $cc_basename in
12322 ifort
*) _lt_dar_can_shared
=yes ;;
12323 *) _lt_dar_can_shared
=$GCC ;;
12325 if test "$_lt_dar_can_shared" = "yes"; then
12326 output_verbose_link_cmd
=func_echo_all
12327 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}"
12328 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12329 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}"
12330 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}"
12331 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12332 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}"
12333 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}"
12343 case $cc_basename in
12345 # FIXME: insert proper C++ library support
12349 # Green Hills C++ Compiler
12350 # FIXME: insert proper C++ library support
12354 # FIXME: insert proper C++ library support
12361 # C++ shared libraries reported to be fairly broken before
12367 archive_cmds_need_lc_CXX
=no
12370 freebsd
* | dragonfly
*)
12371 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12380 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12381 link_all_deplibs_CXX
=yes
12385 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12386 hardcode_libdir_separator_CXX
=:
12387 export_dynamic_flag_spec_CXX
='${wl}-E'
12388 hardcode_direct_CXX
=yes
12389 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12390 # but as the default
12391 # location of the library.
12393 case $cc_basename in
12395 # FIXME: insert proper C++ library support
12399 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'
12400 # Commands to make compiler produce verbose output that lists
12401 # what "hidden" libraries, object files and flags are used when
12402 # linking a shared library.
12404 # There doesn't appear to be a way to prevent this compiler from
12405 # explicitly linking system object files so we need to strip them
12406 # from the output so that they don't get included in the library
12408 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"'
12411 if test "$GXX" = yes; then
12412 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'
12414 # FIXME: insert proper C++ library support
12422 if test $with_gnu_ld = no
; then
12423 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12424 hardcode_libdir_separator_CXX
=:
12430 export_dynamic_flag_spec_CXX
='${wl}-E'
12436 hardcode_direct_CXX
=no
12437 hardcode_shlibpath_var_CXX
=no
12440 hardcode_direct_CXX
=yes
12441 hardcode_direct_absolute_CXX
=yes
12442 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12443 # but as the default
12444 # location of the library.
12448 case $cc_basename in
12450 # FIXME: insert proper C++ library support
12456 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12459 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12462 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12465 # Commands to make compiler produce verbose output that lists
12466 # what "hidden" libraries, object files and flags are used when
12467 # linking a shared library.
12469 # There doesn't appear to be a way to prevent this compiler from
12470 # explicitly linking system object files so we need to strip them
12471 # from the output so that they don't get included in the library
12473 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"'
12476 if test "$GXX" = yes; then
12477 if test $with_gnu_ld = no
; then
12480 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12483 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12486 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'
12491 # FIXME: insert proper C++ library support
12499 hardcode_direct_CXX
=no
12500 hardcode_shlibpath_var_CXX
=no
12501 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12502 export_dynamic_flag_spec_CXX
='${wl}-E'
12503 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12504 # Instead, shared libraries are loaded at an image base (0x10000000 by
12505 # default) and relocated if they conflict, which is a slow very memory
12506 # consuming and fragmenting process. To avoid this, we pick a random,
12507 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12508 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12509 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'
12510 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'
12513 case $cc_basename in
12516 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'
12518 # Archives containing C++ object files must be created using
12519 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12520 # necessary to make sure instantiated templates are included
12522 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12525 if test "$GXX" = yes; then
12526 if test "$with_gnu_ld" = no
; then
12527 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'
12529 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'
12532 link_all_deplibs_CXX
=yes
12535 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12536 hardcode_libdir_separator_CXX
=:
12537 inherit_rpath_CXX
=yes
12540 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12541 case $cc_basename in
12543 # Kuck and Associates, Inc. (KAI) C++ Compiler
12545 # KCC will only create a shared library if the output file
12546 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12547 # to its proper name (with version) after linking.
12548 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'
12549 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'
12550 # Commands to make compiler produce verbose output that lists
12551 # what "hidden" libraries, object files and flags are used when
12552 # linking a shared library.
12554 # There doesn't appear to be a way to prevent this compiler from
12555 # explicitly linking system object files so we need to strip them
12556 # from the output so that they don't get included in the library
12558 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"'
12560 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12561 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12563 # Archives containing C++ object files must be created using
12564 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12565 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12570 # version 8.0 and above of icpc choke on multiply defined symbols
12571 # if we add $predep_objects and $postdep_objects, however 7.1 and
12572 # earlier do not add the objects themselves.
12573 case `$CC -V 2>&1` in
12575 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12576 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'
12578 *) # Version 8.0 or newer
12581 ia64
*) tmp_idyn
=' -i_dynamic';;
12583 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12584 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'
12587 archive_cmds_need_lc_CXX
=no
12588 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12589 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12590 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12593 # Portland Group C++ compiler
12595 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
12596 prelink_cmds_CXX
='tpldir=Template.dir~
12598 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12599 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12600 old_archive_cmds_CXX
='tpldir=Template.dir~
12602 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12603 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12605 archive_cmds_CXX
='tpldir=Template.dir~
12607 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12608 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12609 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12611 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12612 $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'
12614 *) # Version 6 and above use weak symbols
12615 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12616 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'
12620 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12621 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12622 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'
12626 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12627 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'
12629 runpath_var
=LD_RUN_PATH
12630 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12631 hardcode_libdir_separator_CXX
=:
12633 # Commands to make compiler produce verbose output that lists
12634 # what "hidden" libraries, object files and flags are used when
12635 # linking a shared library.
12637 # There doesn't appear to be a way to prevent this compiler from
12638 # explicitly linking system object files so we need to strip them
12639 # from the output so that they don't get included in the library
12641 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'
12643 xl
* | mpixl
* | bgxl
*)
12644 # IBM XL 8.0 on PPC, with GNU ld
12645 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12646 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12647 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12648 if test "x$supports_anon_versioning" = xyes
; then
12649 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12650 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12651 echo "local: *; };" >> $output_objdir/$libname.ver~
12652 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12656 case `$CC -V 2>&1 | sed 5q` in
12659 no_undefined_flag_CXX
=' -zdefs'
12660 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12661 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'
12662 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12663 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'
12664 compiler_needs_object_CXX
=yes
12666 # Not sure whether something based on
12667 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12669 output_verbose_link_cmd
='func_echo_all'
12671 # Archives containing C++ object files must be created using
12672 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12673 # necessary to make sure instantiated templates are included
12675 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12683 # FIXME: insert proper C++ library support
12688 # FIXME: insert proper C++ library support
12693 case $cc_basename in
12695 # FIXME: insert proper C++ library support
12699 # FIXME: insert proper C++ library support
12706 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12707 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12709 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12710 hardcode_direct_CXX
=yes
12711 hardcode_shlibpath_var_CXX
=no
12713 # Workaround some broken pre-1.5 toolchains
12714 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12722 # C++ shared libraries are fairly broken
12727 if test -f /usr
/libexec
/ld.so
; then
12728 hardcode_direct_CXX
=yes
12729 hardcode_shlibpath_var_CXX
=no
12730 hardcode_direct_absolute_CXX
=yes
12731 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12732 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12733 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12734 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12735 export_dynamic_flag_spec_CXX
='${wl}-E'
12736 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12738 output_verbose_link_cmd
=func_echo_all
12744 osf3
* | osf4
* | osf5
*)
12745 case $cc_basename in
12747 # Kuck and Associates, Inc. (KAI) C++ Compiler
12749 # KCC will only create a shared library if the output file
12750 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12751 # to its proper name (with version) after linking.
12752 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'
12754 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12755 hardcode_libdir_separator_CXX
=:
12757 # Archives containing C++ object files must be created using
12758 # the KAI C++ compiler.
12760 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12761 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12765 # Rational C++ 2.4.1
12766 # FIXME: insert proper C++ library support
12772 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12773 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'
12774 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12777 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12778 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'
12779 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12780 echo "-hidden">> $lib.exp~
12781 $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~
12783 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12787 hardcode_libdir_separator_CXX
=:
12789 # Commands to make compiler produce verbose output that lists
12790 # what "hidden" libraries, object files and flags are used when
12791 # linking a shared library.
12793 # There doesn't appear to be a way to prevent this compiler from
12794 # explicitly linking system object files so we need to strip them
12795 # from the output so that they don't get included in the library
12797 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"'
12800 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12801 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12804 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'
12807 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'
12811 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12812 hardcode_libdir_separator_CXX
=:
12814 # Commands to make compiler produce verbose output that lists
12815 # what "hidden" libraries, object files and flags are used when
12816 # linking a shared library.
12817 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12820 # FIXME: insert proper C++ library support
12828 # FIXME: insert proper C++ library support
12833 case $cc_basename in
12836 # FIXME: insert proper C++ library support
12841 # FIXME: insert proper C++ library support
12845 # FIXME: insert proper C++ library support
12852 case $cc_basename in
12854 # Sun C++ 4.2, 5.x and Centerline C++
12855 archive_cmds_need_lc_CXX
=yes
12856 no_undefined_flag_CXX
=' -zdefs'
12857 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12858 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12859 $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'
12861 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12862 hardcode_shlibpath_var_CXX
=no
12864 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12866 # The compiler driver will combine and reorder linker options,
12867 # but understands `-z linker_flag'.
12868 # Supported since Solaris 2.6 (maybe 2.5.1?)
12869 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12872 link_all_deplibs_CXX
=yes
12874 output_verbose_link_cmd
='func_echo_all'
12876 # Archives containing C++ object files must be created using
12877 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12878 # necessary to make sure instantiated templates are included
12880 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12883 # Green Hills C++ Compiler
12884 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12886 # The C++ compiler must be used to create the archive.
12887 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12890 # GNU C++ compiler with Solaris linker
12891 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12892 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12893 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
12894 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12895 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12896 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12898 # Commands to make compiler produce verbose output that lists
12899 # what "hidden" libraries, object files and flags are used when
12900 # linking a shared library.
12901 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12903 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12905 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12906 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12907 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12909 # Commands to make compiler produce verbose output that lists
12910 # what "hidden" libraries, object files and flags are used when
12911 # linking a shared library.
12912 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12915 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12917 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12919 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12927 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12928 no_undefined_flag_CXX
='${wl}-z,text'
12929 archive_cmds_need_lc_CXX
=no
12930 hardcode_shlibpath_var_CXX
=no
12931 runpath_var
='LD_RUN_PATH'
12933 case $cc_basename in
12935 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12936 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12939 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12940 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12945 sysv5
* | sco3.2v5
* | sco5v6
*)
12946 # Note: We can NOT use -z defs as we might desire, because we do not
12947 # link with -lc, and that would cause any symbols used from libc to
12948 # always be unresolved, which means just about no library would
12949 # ever link correctly. If we're not using GNU ld we use -z text
12950 # though, which does catch some bad symbols but isn't as heavy-handed
12952 no_undefined_flag_CXX
='${wl}-z,text'
12953 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12954 archive_cmds_need_lc_CXX
=no
12955 hardcode_shlibpath_var_CXX
=no
12956 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
12957 hardcode_libdir_separator_CXX
=':'
12958 link_all_deplibs_CXX
=yes
12959 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12960 runpath_var
='LD_RUN_PATH'
12962 case $cc_basename in
12964 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12965 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12966 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
12967 '"$old_archive_cmds_CXX"
12968 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
12969 '"$reload_cmds_CXX"
12972 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12973 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12979 case $cc_basename in
12981 # NonStop-UX NCC 3.20
12982 # FIXME: insert proper C++ library support
12986 # FIXME: insert proper C++ library support
12993 # FIXME: insert proper C++ library support
12998 # FIXME: insert proper C++ library support
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13004 $as_echo "$ld_shlibs_CXX" >&6; }
13005 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13011 ## There is no encapsulation within the following macros, do not change
13012 ## the running order or otherwise move them around unless you know exactly
13013 ## what you are doing...
13014 # Dependencies to place before and after the object being linked:
13015 predep_objects_CXX
=
13016 postdep_objects_CXX
=
13019 compiler_lib_search_path_CXX
=
13021 cat > conftest.
$ac_ext <<_LT_EOF
13025 Foo (void) { a = 0; }
13031 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13032 (eval $ac_compile) 2>&5
13034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13035 test $ac_status = 0; }; then
13036 # Parse the compiler output and extract the necessary
13037 # objects, libraries and library flags.
13039 # Sentinel used to keep track of whether or not we are before
13040 # the conftest object file.
13041 pre_test_object_deps_done
=no
13043 for p
in `eval "$output_verbose_link_cmd"`; do
13047 # Some compilers place space between "-{L,R}" and the path.
13048 # Remove the space.
13049 if test $p = "-L" ||
13050 test $p = "-R"; then
13057 if test "$pre_test_object_deps_done" = no
; then
13060 # Internal compiler library paths should come after those
13061 # provided the user. The postdeps already come after the
13062 # user supplied libs so there is no need to process them.
13063 if test -z "$compiler_lib_search_path_CXX"; then
13064 compiler_lib_search_path_CXX
="${prev}${p}"
13066 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13069 # The "-l" case would never come before the object being
13070 # linked, so don't bother handling this case.
13073 if test -z "$postdeps_CXX"; then
13074 postdeps_CXX
="${prev}${p}"
13076 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13082 # This assumes that the test object file only shows up
13083 # once in the compiler output.
13084 if test "$p" = "conftest.$objext"; then
13085 pre_test_object_deps_done
=yes
13089 if test "$pre_test_object_deps_done" = no
; then
13090 if test -z "$predep_objects_CXX"; then
13091 predep_objects_CXX
="$p"
13093 predep_objects_CXX
="$predep_objects_CXX $p"
13096 if test -z "$postdep_objects_CXX"; then
13097 postdep_objects_CXX
="$p"
13099 postdep_objects_CXX
="$postdep_objects_CXX $p"
13104 *) ;; # Ignore the rest.
13112 echo "libtool.m4: error: problem compiling CXX test program"
13115 $RM -f confest.
$objext
13117 # PORTME: override above test on systems where it is broken
13120 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13121 # hack all around it, let's just trust "g++" to DTRT.
13122 predep_objects_CXX
=
13123 postdep_objects_CXX
=
13128 case `$CC -V 2>&1 | sed 5q` in
13132 # The more standards-conforming stlport4 library is
13133 # incompatible with the Cstd library. Avoid specifying
13134 # it if it's in CXXFLAGS. Ignore libCrun as
13135 # -library=stlport4 depends on it.
13136 case " $CXX $CXXFLAGS " in
13137 *" -library=stlport4 "*)
13138 solaris_use_stlport4
=yes
13142 if test "$solaris_use_stlport4" != yes; then
13143 postdeps_CXX
='-library=Cstd -library=Crun'
13150 case $cc_basename in
13152 # The more standards-conforming stlport4 library is
13153 # incompatible with the Cstd library. Avoid specifying
13154 # it if it's in CXXFLAGS. Ignore libCrun as
13155 # -library=stlport4 depends on it.
13156 case " $CXX $CXXFLAGS " in
13157 *" -library=stlport4 "*)
13158 solaris_use_stlport4
=yes
13162 # Adding this requires a known-good setup of shared libraries for
13163 # Sun compiler versions before 5.6, else PIC objects from an old
13164 # archive will be linked into the output, leading to subtle bugs.
13165 if test "$solaris_use_stlport4" != yes; then
13166 postdeps_CXX
='-library=Cstd -library=Crun'
13174 case " $postdeps_CXX " in
13175 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13177 compiler_lib_search_dirs_CXX
=
13178 if test -n "${compiler_lib_search_path_CXX}"; then
13179 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13212 lt_prog_compiler_wl_CXX
=
13213 lt_prog_compiler_pic_CXX
=
13214 lt_prog_compiler_static_CXX
=
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13217 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13219 # C++ specific cases for pic, static, wl, etc.
13220 if test "$GXX" = yes; then
13221 lt_prog_compiler_wl_CXX
='-Wl,'
13222 lt_prog_compiler_static_CXX
='-static'
13226 # All AIX code is PIC.
13227 if test "$host_cpu" = ia64
; then
13228 # AIX 5 now supports IA64 processor
13229 lt_prog_compiler_static_CXX
='-Bstatic'
13236 # see comment about AmigaOS4 .so support
13237 lt_prog_compiler_pic_CXX
='-fPIC'
13240 # FIXME: we need at least 68020 code to build shared libraries, but
13241 # adding the `-m68020' flag to GCC prevents building anything better,
13243 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13248 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13249 # PIC is the default for these OSes.
13251 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13252 # This hack is so that the source file can tell whether it is being
13253 # built for inclusion in a dll (and should export symbols for example).
13254 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13255 # (--disable-auto-import) libraries
13256 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13258 darwin
* | rhapsody
*)
13259 # PIC is the default on this platform
13260 # Common symbols not allowed in MH_DYLIB files
13261 lt_prog_compiler_pic_CXX
='-fno-common'
13264 # DJGPP does not support shared libraries at all
13265 lt_prog_compiler_pic_CXX
=
13268 # PIC is the default for Haiku.
13269 # The "-static" flag exists, but is broken.
13270 lt_prog_compiler_static_CXX
=
13273 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13274 # Instead, we relocate shared libraries at runtime.
13277 if test -d /usr
/nec
; then
13278 lt_prog_compiler_pic_CXX
=-Kconform_pic
13282 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13283 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13284 # sets the default TLS model and affects inlining.
13289 lt_prog_compiler_pic_CXX
='-fPIC'
13294 # QNX uses GNU C++, but need to define -shared option too, otherwise
13295 # it will coredump.
13296 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13299 lt_prog_compiler_pic_CXX
='-fPIC'
13305 # All AIX code is PIC.
13306 if test "$host_cpu" = ia64
; then
13307 # AIX 5 now supports IA64 processor
13308 lt_prog_compiler_static_CXX
='-Bstatic'
13310 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13314 case $cc_basename in
13316 # Green Hills C++ Compiler
13317 # _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"
13322 case $cc_basename in
13324 lt_prog_compiler_pic_CXX
='-KPIC'
13327 # Green Hills C++ Compiler
13328 lt_prog_compiler_pic_CXX
='-pic'
13334 freebsd
* | dragonfly
*)
13335 # FreeBSD uses GNU C++
13337 hpux9
* | hpux10
* | hpux11
*)
13338 case $cc_basename in
13340 lt_prog_compiler_wl_CXX
='-Wl,'
13341 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13342 if test "$host_cpu" != ia64
; then
13343 lt_prog_compiler_pic_CXX
='+Z'
13347 lt_prog_compiler_wl_CXX
='-Wl,'
13348 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13354 lt_prog_compiler_pic_CXX
='+Z'
13363 # This is c89, which is MS Visual C++ (no shared libs)
13364 # Anyone wants to do a port?
13366 irix5
* | irix6
* | nonstopux
*)
13367 case $cc_basename in
13369 lt_prog_compiler_wl_CXX
='-Wl,'
13370 lt_prog_compiler_static_CXX
='-non_shared'
13371 # CC pic flag -KPIC is the default.
13377 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13378 case $cc_basename in
13381 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13382 lt_prog_compiler_pic_CXX
='-fPIC'
13385 # old Intel C++ for x86_64 which still supported -KPIC.
13386 lt_prog_compiler_wl_CXX
='-Wl,'
13387 lt_prog_compiler_pic_CXX
='-KPIC'
13388 lt_prog_compiler_static_CXX
='-static'
13391 # Intel C++, used to be incompatible with GCC.
13392 # ICC 10 doesn't accept -KPIC any more.
13393 lt_prog_compiler_wl_CXX
='-Wl,'
13394 lt_prog_compiler_pic_CXX
='-fPIC'
13395 lt_prog_compiler_static_CXX
='-static'
13398 # Portland Group C++ compiler
13399 lt_prog_compiler_wl_CXX
='-Wl,'
13400 lt_prog_compiler_pic_CXX
='-fpic'
13401 lt_prog_compiler_static_CXX
='-Bstatic'
13405 # Make sure the PIC flag is empty. It appears that all Alpha
13406 # Linux and Compaq Tru64 Unix objects are PIC.
13407 lt_prog_compiler_pic_CXX
=
13408 lt_prog_compiler_static_CXX
='-non_shared'
13410 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13411 # IBM XL 8.0, 9.0 on PPC and BlueGene
13412 lt_prog_compiler_wl_CXX
='-Wl,'
13413 lt_prog_compiler_pic_CXX
='-qpic'
13414 lt_prog_compiler_static_CXX
='-qstaticlink'
13417 case `$CC -V 2>&1 | sed 5q` in
13420 lt_prog_compiler_pic_CXX
='-KPIC'
13421 lt_prog_compiler_static_CXX
='-Bstatic'
13422 lt_prog_compiler_wl_CXX
='-Qoption ld '
13433 case $cc_basename in
13435 lt_prog_compiler_pic_CXX
='-W c,exportall'
13444 # QNX uses GNU C++, but need to define -shared option too, otherwise
13445 # it will coredump.
13446 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13448 osf3
* | osf4
* | osf5
*)
13449 case $cc_basename in
13451 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13454 # Rational C++ 2.4.1
13455 lt_prog_compiler_pic_CXX
='-pic'
13458 # Digital/Compaq C++
13459 lt_prog_compiler_wl_CXX
='-Wl,'
13460 # Make sure the PIC flag is empty. It appears that all Alpha
13461 # Linux and Compaq Tru64 Unix objects are PIC.
13462 lt_prog_compiler_pic_CXX
=
13463 lt_prog_compiler_static_CXX
='-non_shared'
13472 case $cc_basename in
13474 # Sun C++ 4.2, 5.x and Centerline C++
13475 lt_prog_compiler_pic_CXX
='-KPIC'
13476 lt_prog_compiler_static_CXX
='-Bstatic'
13477 lt_prog_compiler_wl_CXX
='-Qoption ld '
13480 # Green Hills C++ Compiler
13481 lt_prog_compiler_pic_CXX
='-PIC'
13488 case $cc_basename in
13491 lt_prog_compiler_pic_CXX
='-pic'
13492 lt_prog_compiler_static_CXX
='-Bstatic'
13496 lt_prog_compiler_pic_CXX
='-pic'
13502 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13503 case $cc_basename in
13505 lt_prog_compiler_wl_CXX
='-Wl,'
13506 lt_prog_compiler_pic_CXX
='-KPIC'
13507 lt_prog_compiler_static_CXX
='-Bstatic'
13512 case $cc_basename in
13514 # NonStop-UX NCC 3.20
13515 lt_prog_compiler_pic_CXX
='-KPIC'
13524 lt_prog_compiler_can_build_shared_CXX
=no
13530 # For platforms which do not support PIC, -DPIC is meaningless:
13532 lt_prog_compiler_pic_CXX
=
13535 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13539 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13544 # Check to make sure the PIC flag actually works.
13546 if test -n "$lt_prog_compiler_pic_CXX"; then
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13548 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13549 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13550 $as_echo_n "(cached) " >&6
13552 lt_cv_prog_compiler_pic_works_CXX
=no
13553 ac_outfile
=conftest.
$ac_objext
13554 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13555 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13556 # Insert the option either (1) after the last *FLAGS variable, or
13557 # (2) before a word containing "conftest.", or (3) at the end.
13558 # Note that $ac_compile itself does not contain backslashes and begins
13559 # with a dollar sign (not a hyphen), so the echo should work correctly.
13560 # The option is referenced via a variable to avoid confusing sed.
13561 lt_compile
=`echo "$ac_compile" | $SED \
13562 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13563 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13564 -e 's:$: $lt_compiler_flag:'`
13565 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13566 (eval "$lt_compile" 2>conftest.err
)
13568 cat conftest.err
>&5
13569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13570 if (exit $ac_status) && test -s "$ac_outfile"; then
13571 # The compiler can only warn and ignore the option if not recognized
13572 # So say no if there are warnings other than the usual output.
13573 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13574 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13575 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13576 lt_cv_prog_compiler_pic_works_CXX
=yes
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13583 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13585 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13586 case $lt_prog_compiler_pic_CXX in
13588 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13591 lt_prog_compiler_pic_CXX
=
13592 lt_prog_compiler_can_build_shared_CXX
=no
13600 # Check to make sure the static flag actually works.
13602 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13604 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13605 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13606 $as_echo_n "(cached) " >&6
13608 lt_cv_prog_compiler_static_works_CXX
=no
13609 save_LDFLAGS
="$LDFLAGS"
13610 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13611 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13612 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13613 # The linker can only warn and ignore the option if not recognized
13614 # So say no if there are warnings
13615 if test -s conftest.err
; then
13616 # Append any errors to the config.log.
13617 cat conftest.err
1>&5
13618 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13619 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13620 if diff conftest.exp conftest.er2
>/dev
/null
; then
13621 lt_cv_prog_compiler_static_works_CXX
=yes
13624 lt_cv_prog_compiler_static_works_CXX
=yes
13628 LDFLAGS
="$save_LDFLAGS"
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13632 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13634 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13637 lt_prog_compiler_static_CXX
=
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13644 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13645 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13646 $as_echo_n "(cached) " >&6
13648 lt_cv_prog_compiler_c_o_CXX
=no
13649 $RM -r conftest
2>/dev
/null
13653 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13655 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13656 # Insert the option either (1) after the last *FLAGS variable, or
13657 # (2) before a word containing "conftest.", or (3) at the end.
13658 # Note that $ac_compile itself does not contain backslashes and begins
13659 # with a dollar sign (not a hyphen), so the echo should work correctly.
13660 lt_compile
=`echo "$ac_compile" | $SED \
13661 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13662 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13663 -e 's:$: $lt_compiler_flag:'`
13664 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13665 (eval "$lt_compile" 2>out
/conftest.err
)
13667 cat out
/conftest.err
>&5
13668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13669 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13671 # The compiler can only warn and ignore the option if not recognized
13672 # So say no if there are warnings
13673 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13674 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13675 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13676 lt_cv_prog_compiler_c_o_CXX
=yes
13681 # SGI C++ compiler will create directory out/ii_files/ for
13682 # template instantiation
13683 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13684 $RM out
/* && rmdir out
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13691 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13696 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13697 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13698 $as_echo_n "(cached) " >&6
13700 lt_cv_prog_compiler_c_o_CXX
=no
13701 $RM -r conftest
2>/dev
/null
13705 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13707 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13708 # Insert the option either (1) after the last *FLAGS variable, or
13709 # (2) before a word containing "conftest.", or (3) at the end.
13710 # Note that $ac_compile itself does not contain backslashes and begins
13711 # with a dollar sign (not a hyphen), so the echo should work correctly.
13712 lt_compile
=`echo "$ac_compile" | $SED \
13713 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13714 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13715 -e 's:$: $lt_compiler_flag:'`
13716 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13717 (eval "$lt_compile" 2>out
/conftest.err
)
13719 cat out
/conftest.err
>&5
13720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13721 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13723 # The compiler can only warn and ignore the option if not recognized
13724 # So say no if there are warnings
13725 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13726 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13727 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13728 lt_cv_prog_compiler_c_o_CXX
=yes
13733 # SGI C++ compiler will create directory out/ii_files/ for
13734 # template instantiation
13735 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13736 $RM out
/* && rmdir out
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13743 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13748 hard_links
="nottested"
13749 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13750 # do not overwrite the value of need_locks provided by the user
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13752 $as_echo_n "checking if we can lock with hard links... " >&6; }
13755 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13757 ln conftest.a conftest.b
2>&5 || hard_links
=no
13758 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13760 $as_echo "$hard_links" >&6; }
13761 if test "$hard_links" = no
; then
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13763 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13773 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13775 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13778 # If we're using GNU nm, then we don't want the "-C" option.
13779 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13780 # Also, AIX nm treats weak defined symbols like other global defined
13781 # symbols, whereas GNU nm marks them as "W".
13782 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13783 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'
13785 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'
13789 export_symbols_cmds_CXX
="$ltdll_cmds"
13791 cygwin
* | mingw
* | cegcc
*)
13792 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'
13795 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13798 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13801 $as_echo "$ld_shlibs_CXX" >&6; }
13802 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13804 with_gnu_ld_CXX
=$with_gnu_ld
13812 # Do we need to explicitly link libc?
13814 case "x$archive_cmds_need_lc_CXX" in
13816 # Assume -lc should be added
13817 archive_cmds_need_lc_CXX
=yes
13819 if test "$enable_shared" = yes && test "$GCC" = yes; then
13820 case $archive_cmds_CXX in
13822 # FIXME: we may have to deal with multi-command sequences.
13825 # Test whether the compiler implicitly links with -lc since on some
13826 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13827 # to ld, don't add -lc before -lgcc.
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13829 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13830 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13831 $as_echo_n "(cached) " >&6
13834 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13836 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13837 (eval $ac_compile) 2>&5
13839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13840 test $ac_status = 0; } 2>conftest.err
; then
13843 libobjs
=conftest.
$ac_objext
13845 wl
=$lt_prog_compiler_wl_CXX
13846 pic_flag
=$lt_prog_compiler_pic_CXX
13852 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13853 allow_undefined_flag_CXX
=
13854 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13855 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13858 test $ac_status = 0; }
13860 lt_cv_archive_cmds_need_lc_CXX
=no
13862 lt_cv_archive_cmds_need_lc_CXX
=yes
13864 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13866 cat conftest.err
1>&5
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
13872 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
13873 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13944 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13946 library_names_spec
=
13947 libname_spec
='lib$name'
13951 postuninstall_cmds
=
13955 shlibpath_overrides_runpath
=unknown
13957 dynamic_linker
="$host_os ld.so"
13958 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13959 need_lib_prefix
=unknown
13960 hardcode_into_libs
=no
13962 # when you set need_version to no, make sure it does not cause -set_version
13963 # flags to be left without arguments
13964 need_version
=unknown
13969 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13970 shlibpath_var
=LIBPATH
13972 # AIX 3 has no versioning support, so we append a major version to the name.
13973 soname_spec
='${libname}${release}${shared_ext}$major'
13980 hardcode_into_libs
=yes
13981 if test "$host_cpu" = ia64
; then
13982 # AIX 5 supports IA64
13983 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13984 shlibpath_var
=LD_LIBRARY_PATH
13986 # With GCC up to 2.95.x, collect2 would create an import file
13987 # for dependence libraries. The import file would start with
13988 # the line `#! .'. This would cause the generated library to
13989 # depend on `.', always an invalid library. This was fixed in
13990 # development snapshots of GCC prior to 3.0.
13992 aix4 | aix4.
[01] | aix4.
[01].
*)
13993 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13995 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13998 can_build_shared
=no
14002 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14003 # soname into executable. Probably we can add versioning support to
14004 # collect2, so additional links can be useful in future.
14005 if test "$aix_use_runtimelinking" = yes; then
14006 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14007 # instead of lib<name>.a to let people know that these are not
14008 # typical AIX shared libraries.
14009 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14011 # We preserve .a as extension for shared libraries through AIX4.2
14012 # and later when we are not doing run time linking.
14013 library_names_spec
='${libname}${release}.a $libname.a'
14014 soname_spec
='${libname}${release}${shared_ext}$major'
14016 shlibpath_var
=LIBPATH
14023 # Since July 2007 AmigaOS4 officially supports .so libraries.
14024 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14025 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14028 library_names_spec
='$libname.ixlibrary $libname.a'
14029 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14030 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'
14036 library_names_spec
='${libname}${shared_ext}'
14037 dynamic_linker
="$host_os ld.so"
14038 shlibpath_var
=LIBRARY_PATH
14044 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14045 soname_spec
='${libname}${release}${shared_ext}$major'
14046 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14047 shlibpath_var
=LD_LIBRARY_PATH
14048 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14049 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14050 # the default ld.so.conf also contains /usr/contrib/lib and
14051 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14052 # libtool to hard-code these into programs
14055 cygwin
* | mingw
* | pw32
* | cegcc
*)
14056 version_type
=windows
14061 case $GCC,$host_os in
14062 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14063 library_names_spec
='$libname.dll.a'
14064 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14065 postinstall_cmds
='base_file=`basename \${file}`~
14066 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14067 dldir=$destdir/`dirname \$dlpath`~
14068 test -d \$dldir || mkdir -p \$dldir~
14069 $install_prog $dir/$dlname \$dldir/$dlname~
14070 chmod a+x \$dldir/$dlname~
14071 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14072 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14074 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14075 dlpath=$dir/\$dldll~
14077 shlibpath_overrides_runpath
=yes
14081 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14082 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14086 # MinGW DLLs use traditional 'lib' prefix
14087 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14090 # pw32 DLLs use 'pw' prefix rather than 'lib'
14091 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14097 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14100 dynamic_linker
='Win32 ld.exe'
14101 # FIXME: first we should search . and the directory the executable is in
14105 darwin
* | rhapsody
*)
14106 dynamic_linker
="$host_os dyld"
14107 version_type
=darwin
14110 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14111 soname_spec
='${libname}${release}${major}$shared_ext'
14112 shlibpath_overrides_runpath
=yes
14113 shlibpath_var
=DYLD_LIBRARY_PATH
14114 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14116 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14123 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14124 soname_spec
='${libname}${release}${shared_ext}$major'
14125 shlibpath_var
=LD_LIBRARY_PATH
14128 freebsd
* | dragonfly
*)
14129 # DragonFly does not have aout. When/if they implement a new
14130 # versioning mechanism, adjust this.
14131 if test -x /usr
/bin
/objformat
; then
14132 objformat
=`/usr/bin/objformat`
14135 freebsd
[123]*) objformat
=aout
;;
14136 *) objformat
=elf
;;
14139 version_type
=freebsd-
$objformat
14140 case $version_type in
14142 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14147 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14151 shlibpath_var
=LD_LIBRARY_PATH
14154 shlibpath_overrides_runpath
=yes
14156 freebsd3.
[01]* | freebsdelf3.
[01]*)
14157 shlibpath_overrides_runpath
=yes
14158 hardcode_into_libs
=yes
14160 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14161 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14162 shlibpath_overrides_runpath
=no
14163 hardcode_into_libs
=yes
14165 *) # from 4.6 on, and DragonFly
14166 shlibpath_overrides_runpath
=yes
14167 hardcode_into_libs
=yes
14176 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14177 soname_spec
='${libname}${release}${shared_ext}$major'
14178 shlibpath_var
=LD_LIBRARY_PATH
14179 hardcode_into_libs
=yes
14186 dynamic_linker
="$host_os runtime_loader"
14187 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14188 soname_spec
='${libname}${release}${shared_ext}$major'
14189 shlibpath_var
=LIBRARY_PATH
14190 shlibpath_overrides_runpath
=yes
14191 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14192 hardcode_into_libs
=yes
14195 hpux9
* | hpux10
* | hpux11
*)
14196 # Give a soname corresponding to the major version so that dld.sl refuses to
14197 # link against other versions.
14204 hardcode_into_libs
=yes
14205 dynamic_linker
="$host_os dld.so"
14206 shlibpath_var
=LD_LIBRARY_PATH
14207 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14208 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14209 soname_spec
='${libname}${release}${shared_ext}$major'
14210 if test "X$HPUX_IA64_MODE" = X32
; then
14211 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14213 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14215 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14219 hardcode_into_libs
=yes
14220 dynamic_linker
="$host_os dld.sl"
14221 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14222 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14223 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14224 soname_spec
='${libname}${release}${shared_ext}$major'
14225 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14226 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14230 dynamic_linker
="$host_os dld.sl"
14231 shlibpath_var
=SHLIB_PATH
14232 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
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'
14237 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14238 postinstall_cmds
='chmod 555 $lib'
14239 # or fails outright, so override atomically:
14240 install_override_mode
=555
14247 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14248 soname_spec
='${libname}${release}${shared_ext}$major'
14249 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14250 shlibpath_var
=LD_LIBRARY_PATH
14251 shlibpath_overrides_runpath
=no
14252 hardcode_into_libs
=yes
14255 irix5
* | irix6
* | nonstopux
*)
14257 nonstopux
*) version_type
=nonstopux
;;
14259 if test "$lt_cv_prog_gnu_ld" = yes; then
14267 soname_spec
='${libname}${release}${shared_ext}$major'
14268 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14270 irix5
* | nonstopux
*)
14271 libsuff
= shlibsuff
=
14274 case $LD in # libtool.m4 will add one of these switches to LD
14275 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14276 libsuff
= shlibsuff
= libmagic
=32-bit;;
14277 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14278 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14279 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14280 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14281 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14285 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14286 shlibpath_overrides_runpath
=no
14287 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14288 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14289 hardcode_into_libs
=yes
14292 # No shared lib support for Linux oldld, aout, or coff.
14293 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14297 # This must be Linux ELF.
14298 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14302 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14303 soname_spec
='${libname}${release}${shared_ext}$major'
14304 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14305 shlibpath_var
=LD_LIBRARY_PATH
14306 shlibpath_overrides_runpath
=no
14308 # Some binutils ld are patched to set DT_RUNPATH
14309 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14310 $as_echo_n "(cached) " >&6
14312 lt_cv_shlibpath_overrides_runpath
=no
14313 save_LDFLAGS
=$LDFLAGS
14314 save_libdir
=$libdir
14315 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14316 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14317 if test x
$gcc_no_link = xyes
; then
14318 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14321 /* end confdefs.h. */
14331 if ac_fn_cxx_try_link
"$LINENO"; then :
14332 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14333 lt_cv_shlibpath_overrides_runpath
=yes
14336 rm -f core conftest.err conftest.
$ac_objext \
14337 conftest
$ac_exeext conftest.
$ac_ext
14338 LDFLAGS
=$save_LDFLAGS
14339 libdir
=$save_libdir
14343 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14345 # This implies no fast_install, which is unacceptable.
14346 # Some rework will be needed to allow for fast_install
14347 # before this can be enabled.
14348 hardcode_into_libs
=yes
14350 # Append ld.so.conf contents to the search path
14351 if test -f /etc
/ld.so.conf
; then
14352 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' ' '`
14353 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14356 # We used to test for /lib/ld.so.1 and disable shared libraries on
14357 # powerpc, because MkLinux only supported shared libraries with the
14358 # GNU dynamic linker. Since this was broken with cross compilers,
14359 # most powerpc-linux boxes support dynamic linking these days and
14360 # people can always --disable-shared, the test was removed, and we
14361 # assume the GNU/Linux dynamic linker is in use.
14362 dynamic_linker
='GNU/Linux ld.so'
14369 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14370 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14371 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14372 dynamic_linker
='NetBSD (a.out) ld.so'
14374 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14375 soname_spec
='${libname}${release}${shared_ext}$major'
14376 dynamic_linker
='NetBSD ld.elf_so'
14378 shlibpath_var
=LD_LIBRARY_PATH
14379 shlibpath_overrides_runpath
=yes
14380 hardcode_into_libs
=yes
14385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14386 shlibpath_var
=LD_LIBRARY_PATH
14387 shlibpath_overrides_runpath
=yes
14394 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14395 soname_spec
='${libname}${release}${shared_ext}$major'
14396 shlibpath_var
=LD_LIBRARY_PATH
14397 shlibpath_overrides_runpath
=no
14398 hardcode_into_libs
=yes
14399 dynamic_linker
='ldqnx.so'
14404 sys_lib_dlsearch_path_spec
="/usr/lib"
14406 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14408 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14409 *) need_version
=no
;;
14411 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14412 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14413 shlibpath_var
=LD_LIBRARY_PATH
14414 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14416 openbsd2.
[89] | openbsd2.
[89].
*)
14417 shlibpath_overrides_runpath
=no
14420 shlibpath_overrides_runpath
=yes
14424 shlibpath_overrides_runpath
=yes
14429 libname_spec
='$name'
14432 library_names_spec
='$libname${shared_ext} $libname.a'
14433 dynamic_linker
='OS/2 ld.exe'
14434 shlibpath_var
=LIBPATH
14437 osf3
* | osf4
* | osf5
*)
14441 soname_spec
='${libname}${release}${shared_ext}$major'
14442 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14443 shlibpath_var
=LD_LIBRARY_PATH
14444 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14445 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14456 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14457 soname_spec
='${libname}${release}${shared_ext}$major'
14458 shlibpath_var
=LD_LIBRARY_PATH
14459 shlibpath_overrides_runpath
=yes
14460 hardcode_into_libs
=yes
14461 # ldd complains unless libraries are executable
14462 postinstall_cmds
='chmod +x $lib'
14467 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14468 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14469 shlibpath_var
=LD_LIBRARY_PATH
14470 shlibpath_overrides_runpath
=yes
14471 if test "$with_gnu_ld" = yes; then
14479 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14480 soname_spec
='${libname}${release}${shared_ext}$major'
14481 shlibpath_var
=LD_LIBRARY_PATH
14482 case $host_vendor in
14484 shlibpath_overrides_runpath
=no
14486 runpath_var
=LD_RUN_PATH
14494 shlibpath_overrides_runpath
=no
14495 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14501 if test -d /usr
/nec
;then
14503 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14504 soname_spec
='$libname${shared_ext}.$major'
14505 shlibpath_var
=LD_LIBRARY_PATH
14509 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14510 version_type
=freebsd-elf
14513 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14514 soname_spec
='${libname}${release}${shared_ext}$major'
14515 shlibpath_var
=LD_LIBRARY_PATH
14516 shlibpath_overrides_runpath
=yes
14517 hardcode_into_libs
=yes
14518 if test "$with_gnu_ld" = yes; then
14519 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14521 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14524 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14528 sys_lib_dlsearch_path_spec
='/usr/lib'
14532 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14536 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14537 shlibpath_var
=LD_LIBRARY_PATH
14538 shlibpath_overrides_runpath
=no
14539 hardcode_into_libs
=yes
14544 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14545 soname_spec
='${libname}${release}${shared_ext}$major'
14546 shlibpath_var
=LD_LIBRARY_PATH
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14554 $as_echo "$dynamic_linker" >&6; }
14555 test "$dynamic_linker" = no
&& can_build_shared
=no
14557 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14558 if test "$GCC" = yes; then
14559 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14562 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14563 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14565 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14566 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14607 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14608 hardcode_action_CXX
=
14609 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14610 test -n "$runpath_var_CXX" ||
14611 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14613 # We can hardcode non-existent directories.
14614 if test "$hardcode_direct_CXX" != no
&&
14615 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14616 # have to relink, otherwise we might link with an installed library
14617 # when we should be linking with a yet-to-be-installed one
14618 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14619 test "$hardcode_minus_L_CXX" != no
; then
14620 # Linking always hardcodes the temporary library directory.
14621 hardcode_action_CXX
=relink
14623 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14624 hardcode_action_CXX
=immediate
14627 # We cannot hardcode anything, or else we can only hardcode existing
14629 hardcode_action_CXX
=unsupported
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14632 $as_echo "$hardcode_action_CXX" >&6; }
14634 if test "$hardcode_action_CXX" = relink ||
14635 test "$inherit_rpath_CXX" = yes; then
14636 # Fast installation is not supported
14637 enable_fast_install
=no
14638 elif test "$shlibpath_overrides_runpath" = yes ||
14639 test "$enable_shared" = no
; then
14640 # Fast installation is not necessary
14641 enable_fast_install
=needless
14650 fi # test -n "$compiler"
14656 with_gnu_ld
=$lt_save_with_gnu_ld
14657 lt_cv_path_LDCXX
=$lt_cv_path_LD
14658 lt_cv_path_LD
=$lt_save_path_LD
14659 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14660 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14661 fi # test "$_lt_caught_CXX_error" != yes
14664 ac_cpp
='$CPP $CPPFLAGS'
14665 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14666 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14667 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14681 ac_config_commands
="$ac_config_commands libtool"
14686 # Only expand once:
14691 # Check whether --with-target-subdir was given.
14692 if test "${with_target_subdir+set}" = set; then :
14693 withval
=$with_target_subdir;
14697 # Check whether --with-cross-host was given.
14698 if test "${with_cross_host+set}" = set; then :
14699 withval
=$with_cross_host;
14703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
14704 $as_echo_n "checking for thread model used by GCC... " >&6; }
14705 THREADS
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
14706 if test -z "$THREADS"; then
14709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS" >&5
14710 $as_echo "$THREADS" >&6; }
14712 # Check whether --enable-parallel-mark was given.
14713 if test "${enable_parallel_mark+set}" = set; then :
14714 enableval
=$enable_parallel_mark; case "$THREADS" in
14715 no | none | single
)
14716 as_fn_error
"Parallel mark requires --enable-threads=x spec" "$LINENO" 5
14723 AM_CPPFLAGS
="-I`cd $srcdir && ${PWDCMD-pwd}`/include"
14727 no | none | single
)
14730 posix | posix95 | pthreads
)
14732 THREADLIBS
=-lpthread
14734 x86-
*-linux* | ia64-
*-linux* | i586-
*-linux* | i686-
*-linux* | x86_64-
*-linux* | alpha-
*-linux*)
14736 $as_echo "#define GC_LINUX_THREADS 1" >>confdefs.h
14739 $as_echo "#define _REENTRANT 1" >>confdefs.h
14741 if test "${enable_parallel_mark}" = yes; then
14743 $as_echo "#define PARALLEL_MARK 1" >>confdefs.h
14747 $as_echo "#define THREAD_LOCAL_ALLOC 1" >>confdefs.h
14751 $as_echo "#define GC_LINUX_THREADS 1" >>confdefs.h
14753 $as_echo "#define _REENTRANT 1" >>confdefs.h
14758 $as_echo "#define GC_AIX_THREADS 1" >>confdefs.h
14760 $as_echo "#define _REENTRANT 1" >>confdefs.h
14764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&5
14765 $as_echo "$as_me: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&2;}
14767 $as_echo "#define GC_HPUX_THREADS 1" >>confdefs.h
14770 $as_echo "#define _POSIX_C_SOURCE 199506L" >>confdefs.h
14772 if test "${enable_parallel_mark}" = yes; then
14773 $as_echo "#define PARALLEL_MARK 1" >>confdefs.h
14776 $as_echo "#define THREAD_LOCAL_ALLOC 1" >>confdefs.h
14778 THREADLIBS
="-lpthread -lrt"
14779 # HPUX needs REENTRANT for the _r calls.
14781 $as_echo "#define _REENTRANT 1" >>confdefs.h
14785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&5
14786 $as_echo "$as_me: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&2;}
14789 $as_echo "#define GC_FREEBSD_THREADS 1" >>confdefs.h
14791 THREADCFLAGS
=-pthread
14792 THREADLIBS
=-pthread
14793 $as_echo "#define _REENTRANT 1" >>confdefs.h
14795 if test "${enable_parallel_mark}" = yes; then
14796 $as_echo "#define PARALLEL_MARK 1" >>confdefs.h
14799 $as_echo "#define THREAD_LOCAL_ALLOC 1" >>confdefs.h
14802 $as_echo "#define USE_COMPILER_TLS 1" >>confdefs.h
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&5
14807 $as_echo "$as_me: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&2;}
14809 $as_echo "#define GC_FREEBSD_THREADS 1" >>confdefs.h
14811 THREADCFLAGS
=-pthread
14812 THREADLIBS
=-pthread
14816 $as_echo "#define GC_SOLARIS_PTHREADS 1" >>confdefs.h
14818 # Need to use alternate thread library, otherwise gctest hangs
14820 multi_os_directory
=`$CC -print-multi-os-directory`
14821 THREADLIBS
="-L/usr/lib/lwp/$multi_os_directory \
14822 -R/usr/lib/lwp/$multi_os_directory -lpthread -lthread -lrt"
14826 $as_echo "#define GC_SOLARIS_PTHREADS 1" >>confdefs.h
14828 # The alternate thread library was only introduced in Solaris 8 and
14829 # became the default in Solaris 9, so no need for the special code
14831 # nanosleep, sched_yield, and sem_* only live in librt before
14833 THREADLIBS
="-lpthread -lrt"
14837 $as_echo "#define GC_IRIX_THREADS 1" >>confdefs.h
14842 $as_echo "#define GC_WIN32_THREADS 1" >>confdefs.h
14847 $as_echo "#define GC_DARWIN_THREADS 1" >>confdefs.h
14849 $as_echo "#define THREAD_LOCAL_ALLOC 1" >>confdefs.h
14851 if test "${enable_parallel_mark}" = yes; then
14852 $as_echo "#define PARALLEL_MARK 1" >>confdefs.h
14858 $as_echo "#define GC_OSF1_THREADS 1" >>confdefs.h
14860 if test "${enable_parallel_mark}" = yes; then
14861 $as_echo "#define PARALLEL_MARK 1" >>confdefs.h
14863 $as_echo "#define THREAD_LOCAL_ALLOC 1" >>confdefs.h
14865 # May want to enable it in other cases, too.
14866 # Measurements havent yet been done.
14868 THREADCFLAGS
=-pthread
14869 THREADLIBS
="-lpthread -lrt"
14874 $as_echo "#define GC_WIN32_THREADS 1" >>confdefs.h
14879 THREADLIBS
=-lpthread
14880 $as_echo "#define GC_AIX_THREADS 1" >>confdefs.h
14882 $as_echo "#define _REENTRANT 1" >>confdefs.h
14886 as_fn_error
"thread package $THREADS not yet supported" "$LINENO" 5
14889 as_fn_error
"$THREADS is an unknown thread package" "$LINENO" 5
14897 powerpc_darwin
=true
14900 if test x
$powerpc_darwin = xtrue
; then
14901 POWERPC_DARWIN_TRUE
=
14902 POWERPC_DARWIN_FALSE
='#'
14904 POWERPC_DARWIN_TRUE
='#'
14905 POWERPC_DARWIN_FALSE
=
14909 # Darwin needs a few extra special tests to deal with variation in the
14912 powerpc
*-*-darwin*)
14913 ac_fn_c_check_member
"$LINENO" "ppc_thread_state_t" "r0" "ac_cv_member_ppc_thread_state_t_r0" "#include <mach/thread_status.h>
14915 if test "x$ac_cv_member_ppc_thread_state_t_r0" = x
""yes; then :
14917 $as_echo "#define HAS_PPC_THREAD_STATE_R0 1" >>confdefs.h
14921 ac_fn_c_check_member
"$LINENO" "ppc_thread_state_t" "__r0" "ac_cv_member_ppc_thread_state_t___r0" "#include <mach/thread_status.h>
14923 if test "x$ac_cv_member_ppc_thread_state_t___r0" = x
""yes; then :
14925 $as_echo "#define HAS_PPC_THREAD_STATE___R0 1" >>confdefs.h
14929 ac_fn_c_check_member
"$LINENO" "ppc_thread_state64_t" "r0" "ac_cv_member_ppc_thread_state64_t_r0" "#include <mach/thread_status.h>
14931 if test "x$ac_cv_member_ppc_thread_state64_t_r0" = x
""yes; then :
14933 $as_echo "#define HAS_PPC_THREAD_STATE64_R0 1" >>confdefs.h
14937 ac_fn_c_check_member
"$LINENO" "ppc_thread_state64_t" "__r0" "ac_cv_member_ppc_thread_state64_t___r0" "#include <mach/thread_status.h>
14939 if test "x$ac_cv_member_ppc_thread_state64_t___r0" = x
""yes; then :
14941 $as_echo "#define HAS_PPC_THREAD_STATE64___R0 1" >>confdefs.h
14947 ac_fn_c_check_member
"$LINENO" "x86_thread_state32_t" "eax" "ac_cv_member_x86_thread_state32_t_eax" "#include <sys/cdefs.h>
14948 #include <mach/thread_status.h>
14950 if test "x$ac_cv_member_x86_thread_state32_t_eax" = x
""yes; then :
14952 $as_echo "#define HAS_X86_THREAD_STATE32_EAX 1" >>confdefs.h
14956 ac_fn_c_check_member
"$LINENO" "x86_thread_state32_t" "__eax" "ac_cv_member_x86_thread_state32_t___eax" "#include <sys/cdefs.h>
14957 #include <mach/thread_status.h>
14959 if test "x$ac_cv_member_x86_thread_state32_t___eax" = x
""yes; then :
14961 $as_echo "#define HAS_X86_THREAD_STATE32___EAX 1" >>confdefs.h
14967 ac_fn_c_check_member
"$LINENO" "x86_thread_state64_t" "rax" "ac_cv_member_x86_thread_state64_t_rax" "#include <sys/cdefs.h>
14968 #include <mach/thread_status.h>
14970 if test "x$ac_cv_member_x86_thread_state64_t_rax" = x
""yes; then :
14972 $as_echo "#define HAS_X86_THREAD_STATE64_RAX 1" >>confdefs.h
14976 ac_fn_c_check_member
"$LINENO" "x86_thread_state64_t" "__rax" "ac_cv_member_x86_thread_state64_t___rax" "#include <sys/cdefs.h>
14977 #include <mach/thread_status.h>
14979 if test "x$ac_cv_member_x86_thread_state64_t___rax" = x
""yes; then :
14981 $as_echo "#define HAS_X86_THREAD_STATE64___RAX 1" >>confdefs.h
14990 # While IRIX 6 has libdl for the O32 and N32 ABIs, it's missing for N64
14991 # and unnecessary everywhere.
14992 mips-sgi-irix6
*) ;;
14993 # We never want libdl on darwin. It is a fake libdl that just ends up making
14994 # dyld calls anyway
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14998 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14999 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
15000 $as_echo_n "(cached) " >&6
15002 ac_check_lib_save_LIBS
=$LIBS
15004 if test x
$gcc_no_link = xyes
; then
15005 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15008 /* end confdefs.h. */
15010 /* Override any GCC internal prototype to avoid an error.
15011 Use char because int might match the return type of a GCC
15012 builtin and then its argument prototype would still apply. */
15025 if ac_fn_c_try_link
"$LINENO"; then :
15026 ac_cv_lib_dl_dlopen
=yes
15028 ac_cv_lib_dl_dlopen
=no
15030 rm -f core conftest.err conftest.
$ac_objext \
15031 conftest
$ac_exeext conftest.
$ac_ext
15032 LIBS
=$ac_check_lib_save_LIBS
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15035 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15036 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
15037 EXTRA_TEST_LIBS
="$EXTRA_TEST_LIBS -ldl"
15043 # extra LD Flags which are required for targets
15046 extra_ldflags_libgc
=-Wl,-single_module
15053 target_all
=libgcjgc.la
15058 # Check whether --with-ecos was given.
15059 if test "${with_ecos+set}" = set; then :
15060 withval
=$with_ecos; TARGET_ECOS
="$with_ecos"
15069 case "$TARGET_ECOS" in
15074 $as_echo "#define ECOS 1" >>confdefs.h
15076 AM_CPPFLAGS
="${AM_CPPFLAGS} -I${TARGET_ECOS}/include"
15077 addobjs
="$addobjs ecos.lo"
15081 if test "${enable_cplusplus}" = yes; then
15082 addincludes
="$addincludes include/gc_cpp.h include/gc_allocator.h"
15083 addtests
="$addtests test_cpp"
15086 if test "${enable_cplusplus}" = yes; then
15088 CPLUSPLUS_FALSE
='#'
15099 # Configuration of shared libraries
15101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
15102 $as_echo_n "checking whether to build shared libraries... " >&6; }
15103 # Check whether --enable-shared was given.
15104 if test "${enable_shared+set}" = set; then :
15105 enableval
=$enable_shared; p
=${PACKAGE-default}
15107 yes) enable_shared
=yes ;;
15108 no
) enable_shared
=no
;;
15111 # Look at the argument we got. We use all the common list separators.
15112 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
15113 for pkg
in $enableval; do
15115 if test "X$pkg" = "X$p"; then
15135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15136 $as_echo "no" >&6; }
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15140 $as_echo "yes" >&6; }
15144 # Checks for pthreads functions
15147 LIBS
="$LIBS $THREADLIBS"
15148 for ac_func
in pthread_getattr_np
15150 ac_fn_c_check_func
"$LINENO" "pthread_getattr_np" "ac_cv_func_pthread_getattr_np"
15151 if test "x$ac_cv_func_pthread_getattr_np" = x
""yes; then :
15152 cat >>confdefs.h
<<_ACEOF
15153 #define HAVE_PTHREAD_GETATTR_NP 1
15161 # Configuration of machine-dependent code
15163 # Set NO_EXECUTE_PERMISSION by default because gcj already uses
15164 # ffi_closure_{alloc,free} which takes care of allocating trampolines
15165 # in executable memory.
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which machine-dependent code should be used" >&5
15168 $as_echo_n "checking which machine-dependent code should be used... " >&6; }
15172 machdep
="alpha_mach_dep.lo"
15173 if test x
"${ac_cv_lib_dl_dlopen}" != xyes
; then
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenBSD/Alpha without dlopen(). Shared library support is disabled" >&5
15175 $as_echo "$as_me: WARNING: OpenBSD/Alpha without dlopen(). Shared library support is disabled" >&2;}
15179 machdep
="alpha_mach_dep.lo"
15181 i?
86-*-solaris2.
[89] | i?
86-*-solaris2.1?
)
15183 $as_echo "#define SOLARIS25_PROC_VDB_BUG_FIXED 1" >>confdefs.h
15187 machdep
="mips_ultrix_mach_dep.lo"
15189 $as_echo "#define STACKBASE __stackbase" >>confdefs.h
15192 $as_echo "#define DATASTART_IS_ETEXT 1" >>confdefs.h
15196 machdep
="mips_ultrix_mach-dep.lo"
15198 mips-nec-sysv
*|mips-unknown-sysv
*)
15203 machdep
="mips_sgi_mach_dep.lo"
15206 machdep
="sparc_netbsd_mach_dep.lo"
15208 sparc-sun-solaris2.3
)
15209 machdep
="sparc_mach_dep.lo"
15211 $as_echo "#define SUNOS53_SHARED_LIB 1" >>confdefs.h
15214 sparc
*-sun-solaris2.
*)
15215 machdep
="sparc_mach_dep.lo"
15218 machdep
="mach_dep.lo ia64_save_regs_in_stack.lo"
15222 $as_echo "#define NO_EXECUTE_PERMISSION 1" >>confdefs.h
15224 if test x
"$machdep" = x
; then
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $machdep" >&5
15226 $as_echo "$machdep" >&6; }
15227 machdep
="mach_dep.lo"
15229 addobjs
="$addobjs $machdep"
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GCC optimization should be disabled" >&5
15236 $as_echo_n "checking whether GCC optimization should be disabled... " >&6; }
15239 *aix
*) test "$GCC" = yes && O0_CFLAGS
=-O0 ;;
15242 if test x
"$O0_CFLAGS" != x
; then
15243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15244 $as_echo "yes" >&6; }
15246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15247 $as_echo "no" >&6; }
15252 $as_echo "#define SILENT 1" >>confdefs.h
15255 $as_echo "#define NO_SIGNALS 1" >>confdefs.h
15258 $as_echo "#define ALL_INTERIOR_POINTERS 1" >>confdefs.h
15262 $as_echo "#define JAVA_FINALIZATION 1" >>confdefs.h
15265 $as_echo "#define GC_GCJ_SUPPORT 1" >>confdefs.h
15268 $as_echo "#define ATOMIC_UNCOLLECTABLE 1" >>confdefs.h
15271 # Check whether --enable-gc-debug was given.
15272 if test "${enable_gc_debug+set}" = set; then :
15273 enableval
=$enable_gc_debug; if test "$enable_gc_debug" = "yes"; then
15274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Must define GC_DEBUG and use debug alloc. in clients.\"" >&5
15275 $as_echo "$as_me: WARNING: \"Must define GC_DEBUG and use debug alloc. in clients.\"" >&2;}
15277 $as_echo "#define KEEP_BACK_PTRS 1" >>confdefs.h
15280 $as_echo "#define DBG_HDRS_ALL 1" >>confdefs.h
15285 $as_echo "#define MAKE_BACK_GRAPH 1" >>confdefs.h
15288 x86-
*-linux* | i586-
*-linux* | i686-
*-linux* | x86_64-
*-linux* )
15289 $as_echo "#define MAKE_BACK_GRAPH 1" >>confdefs.h
15291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&5
15292 $as_echo "$as_me: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&2;}
15294 $as_echo "#define SAVE_CALL_COUNT 8" >>confdefs.h
15302 if test "${gc_use_mmap}" = "yes"; then
15304 $as_echo "#define USE_MMAP 1" >>confdefs.h
15308 if test -n "$with_cross_host" &&
15309 test x
"$with_cross_host" != x
"no"; then
15310 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
15311 toolexeclibdir
='$(toolexecdir)/lib'
15313 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
15314 toolexeclibdir
='$(libdir)'
15316 multi_os_directory
=`$CC -print-multi-os-directory`
15317 case $multi_os_directory in
15318 .
) ;; # Avoid trailing /.
15319 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
15324 if test "${multilib}" = "yes"; then
15325 multilib_arg
="--enable-multilib"
15330 ac_config_headers
="$ac_config_headers include/gc_config.h include/gc_ext_config.h"
15333 ac_config_files
="$ac_config_files Makefile include/Makefile testsuite/Makefile threads.mk"
15335 cat >confcache
<<\_ACEOF
15336 # This file is a shell script that caches the results of configure
15337 # tests run on this system so they can be shared between configure
15338 # scripts and configure runs, see configure's option --config-cache.
15339 # It is not useful on other systems. If it contains results you don't
15340 # want to keep, you may remove or edit it.
15342 # config.status only pays attention to the cache file if you give it
15343 # the --recheck option to rerun configure.
15345 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15346 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15347 # following values.
15351 # The following way of writing the cache mishandles newlines in values,
15352 # but we know of no workaround that is simple, portable, and efficient.
15353 # So, we kill variables containing newlines.
15354 # Ultrix sh set writes to stderr and can't be redirected directly,
15355 # and sets the high bit in the cache file unless we assign to the vars.
15357 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15358 eval ac_val
=\$
$ac_var
15362 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15363 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15366 _ | IFS | as_nl
) ;; #(
15367 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15368 *) { eval $ac_var=; unset $ac_var;} ;;
15374 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15375 *${as_nl}ac_space
=\
*)
15376 # `set' does not quote correctly, so add quotes: double-quote
15377 # substitution turns \\\\ into \\, and sed turns \\ into \.
15380 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15383 # `set' quotes correctly as required by POSIX, so do not add quotes.
15384 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15393 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15395 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15397 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15398 if test -w "$cache_file"; then
15399 test "x$cache_file" != "x/dev/null" &&
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15401 $as_echo "$as_me: updating cache $cache_file" >&6;}
15402 cat confcache
>$cache_file
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15405 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15410 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15411 # Let make expand exec_prefix.
15412 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15414 DEFS
=-DHAVE_CONFIG_H
15418 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15419 # 1. Remove the extension, and $U if already installed.
15420 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15421 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15422 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15423 # will be set to the directory where LIBOBJS objects are built.
15424 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15425 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15427 LIBOBJS
=$ac_libobjs
15429 LTLIBOBJS
=$ac_ltlibobjs
15432 if test -n "$EXEEXT"; then
15434 am__EXEEXT_FALSE
='#'
15436 am__EXEEXT_TRUE
='#'
15440 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15441 as_fn_error
"conditional \"AMDEP\" was never defined.
15442 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15444 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15445 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
15446 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15448 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15449 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
15450 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15452 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15453 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
15454 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15456 if test -z "${POWERPC_DARWIN_TRUE}" && test -z "${POWERPC_DARWIN_FALSE}"; then
15457 as_fn_error
"conditional \"POWERPC_DARWIN\" was never defined.
15458 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15460 if test -z "${CPLUSPLUS_TRUE}" && test -z "${CPLUSPLUS_FALSE}"; then
15461 as_fn_error
"conditional \"CPLUSPLUS\" was never defined.
15462 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15465 : ${CONFIG_STATUS=./config.status}
15467 ac_clean_files_save
=$ac_clean_files
15468 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15469 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15470 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15472 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15474 # Generated by $as_me.
15475 # Run this file to recreate the current configuration.
15476 # Compiler output produced by configure, useful for debugging
15477 # configure, is in config.log if it exists.
15480 ac_cs_recheck=false
15483 SHELL=\${CONFIG_SHELL-$SHELL}
15486 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15487 ## -------------------- ##
15488 ## M4sh Initialization. ##
15489 ## -------------------- ##
15491 # Be more Bourne compatible
15492 DUALCASE
=1; export DUALCASE
# for MKS sh
15493 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15496 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15497 # is contrary to our usage. Disable this feature.
15498 alias -g '${1+"$@"}'='"$@"'
15499 setopt NO_GLOB_SUBST
15501 case `(set -o) 2>/dev/null` in #(
15513 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15514 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15515 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15516 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15517 # Prefer a ksh shell builtin over an external printf program on Solaris,
15518 # but without wasting forks for bash or zsh.
15519 if test -z "$BASH_VERSION$ZSH_VERSION" \
15520 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15521 as_echo='print
-r --'
15522 as_echo_n='print
-rn --'
15523 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15524 as_echo='printf %s
\n'
15525 as_echo_n='printf %s
'
15527 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15528 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15529 as_echo_n='/usr
/ucb
/echo -n'
15531 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15532 as_echo_n_body='eval
15536 expr "X$arg" : "X\\(.*\\)$as_nl";
15537 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15539 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15541 export as_echo_n_body
15542 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15544 export as_echo_body
15545 as_echo='sh
-c $as_echo_body as_echo
'
15548 # The user is always right.
15549 if test "${PATH_SEPARATOR+set}" != set; then
15551 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15552 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15559 # We need space, tab and new line, in precisely that order. Quoting is
15560 # there to prevent editors from complaining about space-tab.
15561 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15562 # splitting by setting IFS to empty value.)
15565 # Find who we are. Look in the path if we contain no directory separator.
15567 *[\\/]* ) as_myself=$0 ;;
15568 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15569 for as_dir in $PATH
15572 test -z "$as_dir" && as_dir=.
15573 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15579 # We did not find ourselves, most probably we were run as `sh COMMAND'
15580 # in which case we are not to be found in the path.
15581 if test "x$as_myself" = x
; then
15584 if test ! -f "$as_myself"; then
15585 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15589 # Unset variables that we do not need and which cause bugs (e.g. in
15590 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15591 # suppresses any "Segmentation fault" message there. '((' could
15592 # trigger a bug in pdksh 5.2.14.
15593 for as_var
in BASH_ENV ENV MAIL MAILPATH
15594 do eval test x\
${$as_var+set} = xset \
15595 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15608 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15611 # as_fn_error ERROR [LINENO LOG_FD]
15612 # ---------------------------------
15613 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15614 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15615 # script with status $?, using 1 if that was 0.
15618 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15620 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15621 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15623 $as_echo "$as_me: error: $1" >&2
15624 as_fn_exit
$as_status
15628 # as_fn_set_status STATUS
15629 # -----------------------
15630 # Set $? to STATUS, without forking.
15631 as_fn_set_status
()
15634 } # as_fn_set_status
15636 # as_fn_exit STATUS
15637 # -----------------
15638 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15642 as_fn_set_status
$1
15648 # Portably unset VAR.
15651 { eval $1=; unset $1;}
15653 as_unset
=as_fn_unset
15654 # as_fn_append VAR VALUE
15655 # ----------------------
15656 # Append the text in VALUE to the end of the definition contained in VAR. Take
15657 # advantage of any shell optimizations that allow amortized linear growth over
15658 # repeated appends, instead of the typical quadratic growth present in naive
15660 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15661 eval 'as_fn_append ()
15672 # as_fn_arith ARG...
15673 # ------------------
15674 # Perform arithmetic evaluation on the ARGs, and store the result in the
15675 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15676 # must be portable across $(()) and expr.
15677 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15678 eval 'as_fn_arith ()
15685 as_val
=`expr "$@" || test $? -eq 1`
15690 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15691 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15697 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15698 as_basename
=basename
15703 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15709 as_me
=`$as_basename -- "$0" ||
15710 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15711 X"$0" : 'X\(//\)$' \| \
15712 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15714 sed '/^.*\/\([^/][^/]*\)\/*$/{
15728 # Avoid depending upon Character Ranges.
15729 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15730 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15731 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15732 as_cr_digits
='0123456789'
15733 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15735 ECHO_C
= ECHO_N
= ECHO_T
=
15736 case `echo -n x` in #(((((
15738 case `echo 'xy\c'` in
15739 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15741 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15748 rm -f conf$$ conf$$.exe conf$$.
file
15749 if test -d conf$$.dir
; then
15750 rm -f conf$$.dir
/conf$$.
file
15753 mkdir conf$$.dir
2>/dev
/null
15755 if (echo >conf$$.
file) 2>/dev
/null
; then
15756 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15758 # ... but there are two gotchas:
15759 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15760 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15761 # In both cases, we have to default to `cp -p'.
15762 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15764 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15772 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15773 rmdir conf$$.dir
2>/dev
/null
15778 # Create "$as_dir" as a directory, including parents if necessary.
15783 -*) as_dir
=.
/$as_dir;;
15785 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15789 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15790 *) as_qdir
=$as_dir;;
15792 as_dirs
="'$as_qdir' $as_dirs"
15793 as_dir
=`$as_dirname -- "$as_dir" ||
15794 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15795 X"$as_dir" : 'X\(//\)[^/]' \| \
15796 X"$as_dir" : 'X\(//\)$' \| \
15797 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15798 $as_echo X"$as_dir" |
15799 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15803 /^X\(\/\/\)[^/].*/{
15816 test -d "$as_dir" && break
15818 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15819 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15823 if mkdir
-p .
2>/dev
/null
; then
15824 as_mkdir_p
='mkdir -p "$as_dir"'
15826 test -d .
/-p && rmdir .
/-p
15830 if test -x / >/dev
/null
2>&1; then
15831 as_test_x
='test -x'
15833 if ls -dL / >/dev
/null
2>&1; then
15840 if test -d "$1"; then
15846 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15847 ???[sx]*):;;*)false;;esac;fi
15851 as_executable_p
=$as_test_x
15853 # Sed expression to map a string onto a valid CPP name.
15854 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15856 # Sed expression to map a string onto a valid variable name.
15857 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15861 ## ----------------------------------- ##
15862 ## Main body of $CONFIG_STATUS script. ##
15863 ## ----------------------------------- ##
15865 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15868 # Save the log message, to keep $0 and so on meaningful, and to
15869 # report actual input values of CONFIG_FILES etc. instead of their
15870 # values after options handling.
15872 This file was extended by $as_me, which was
15873 generated by GNU Autoconf 2.64. Invocation command line was
15875 CONFIG_FILES = $CONFIG_FILES
15876 CONFIG_HEADERS = $CONFIG_HEADERS
15877 CONFIG_LINKS = $CONFIG_LINKS
15878 CONFIG_COMMANDS = $CONFIG_COMMANDS
15881 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15886 case $ac_config_files in *"
15887 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15890 case $ac_config_headers in *"
15891 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15895 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15896 # Files that config.status was made for.
15897 config_files="$ac_config_files"
15898 config_headers="$ac_config_headers"
15899 config_commands="$ac_config_commands"
15903 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15905 \`$as_me' instantiates files and other configuration actions
15906 from templates according to the current configuration. Unless the files
15907 and actions are specified as TAGs, all are instantiated by default.
15909 Usage: $0 [OPTION]... [TAG]...
15911 -h, --help print this help, then exit
15912 -V, --version print version number and configuration settings, then exit
15913 -q, --quiet, --silent
15914 do not print progress messages
15915 -d, --debug don't remove temporary files
15916 --recheck update $as_me by reconfiguring in the same conditions
15917 --file=FILE[:TEMPLATE]
15918 instantiate the configuration file FILE
15919 --header=FILE[:TEMPLATE]
15920 instantiate the configuration header FILE
15922 Configuration files:
15925 Configuration headers:
15928 Configuration commands:
15931 Report bugs to the package provider."
15934 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15937 configured by $0, generated by GNU Autoconf 2.64,
15938 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15940 Copyright (C) 2009 Free Software Foundation, Inc.
15941 This config.status script is free software; the Free Software Foundation
15942 gives unlimited permission to copy, distribute and modify it."
15949 test -n "\$AWK" || AWK=awk
15952 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15953 # The default lists apply if the user does not specify any file.
15959 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15960 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15971 # Handling of the options.
15972 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15974 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15975 $as_echo "$ac_cs_version"; exit ;;
15976 --debug |
--debu |
--deb |
--de |
--d |
-d )
15978 --file |
--fil |
--fi |
--f )
15981 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15983 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15984 ac_need_defaults
=false
;;
15985 --header |
--heade |
--head |
--hea )
15988 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15990 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15991 ac_need_defaults
=false
;;
15993 # Conflict between --help and --header
15994 as_fn_error
"ambiguous option: \`$1'
15995 Try \`$0 --help' for more information.";;
15996 --help |
--hel |
-h )
15997 $as_echo "$ac_cs_usage"; exit ;;
15998 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15999 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16002 # This is an error.
16003 -*) as_fn_error
"unrecognized option: \`$1'
16004 Try \`$0 --help' for more information." ;;
16006 *) as_fn_append ac_config_targets
" $1"
16007 ac_need_defaults
=false
;;
16013 ac_configure_extra_args
=
16015 if $ac_cs_silent; then
16017 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16021 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16022 if \$ac_cs_recheck; then
16023 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16025 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16026 CONFIG_SHELL='$SHELL'
16027 export CONFIG_SHELL
16032 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16036 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16037 ## Running $as_me. ##
16043 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16051 with_multisubdir="$with_multisubdir"
16052 with_multisrctop="$with_multisrctop"
16053 with_target_subdir="$with_target_subdir"
16054 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16055 multi_basedir="$multi_basedir"
16056 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16059 GFORTRAN="$GFORTRAN"
16061 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16064 # The HP-UX ksh and POSIX shell print the target directory to stdout
16065 # if CDPATH is set.
16066 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16068 sed_quote_subst='$sed_quote_subst'
16069 double_quote_subst='$double_quote_subst'
16070 delay_variable_subst='$delay_variable_subst'
16071 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16072 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16073 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16074 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16075 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16076 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16077 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16078 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16079 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16080 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16081 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16082 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16083 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16084 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16085 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16086 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16087 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16088 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16089 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16090 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16091 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16092 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16093 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16094 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16095 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16096 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16097 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16098 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16099 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16100 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16101 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16102 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16103 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16104 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16105 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16106 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16107 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16108 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16109 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16110 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16111 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16112 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16113 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16114 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16115 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16116 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16117 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16118 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16119 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"`'
16120 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16121 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16122 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16123 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16124 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16125 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16126 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16127 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16128 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16129 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16130 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16131 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16132 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16133 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16134 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16135 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16136 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16137 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16138 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16139 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16140 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16141 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16142 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16143 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16144 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16145 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16146 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16147 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16148 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16149 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16150 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16151 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16152 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16153 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16154 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16155 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16156 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16157 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16158 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16159 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16160 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16161 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16162 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16163 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16164 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16165 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16166 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16167 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16168 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16169 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16170 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16171 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16172 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16173 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16174 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16175 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16176 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16177 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16178 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16179 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16180 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16181 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16182 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16183 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16184 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16185 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16186 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16187 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16188 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16189 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16190 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16191 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
16192 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
16193 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
16194 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
16195 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
16196 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
16197 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
16198 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
16199 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16200 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16201 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
16202 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
16203 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
16204 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
16205 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
16206 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
16207 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
16208 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
16209 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
16210 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16211 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16212 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
16213 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16214 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16215 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16216 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16217 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16218 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16219 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
16220 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16221 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16222 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16223 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
16224 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
16225 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
16226 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
16227 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
16228 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
16229 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
16230 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
16231 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
16232 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
16233 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
16234 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16235 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16236 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16237 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16238 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
16239 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
16240 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
16241 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16242 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16243 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
16244 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
16245 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
16248 LTCFLAGS='$LTCFLAGS'
16249 compiler='$compiler_DEFAULT'
16251 # A function that is used when there is no print builtin or printf.
16252 func_fallback_echo ()
16254 eval 'cat <<_LTECHO_EOF
16259 # Quote evaled strings.
16273 deplibs_check_method \
16282 lt_cv_sys_global_symbol_pipe \
16283 lt_cv_sys_global_symbol_to_cdecl \
16284 lt_cv_sys_global_symbol_to_c_name_address \
16285 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16286 lt_prog_compiler_no_builtin_flag \
16287 lt_prog_compiler_wl \
16288 lt_prog_compiler_pic \
16289 lt_prog_compiler_static \
16290 lt_cv_prog_compiler_c_o \
16298 export_dynamic_flag_spec \
16299 whole_archive_flag_spec \
16300 compiler_needs_object \
16302 allow_undefined_flag \
16303 no_undefined_flag \
16304 hardcode_libdir_flag_spec \
16305 hardcode_libdir_flag_spec_ld \
16306 hardcode_libdir_separator \
16311 variables_saved_for_relink \
16313 library_names_spec \
16315 install_override_mode \
16319 compiler_lib_search_dirs \
16324 compiler_lib_search_path \
16328 lt_prog_compiler_no_builtin_flag_CXX \
16329 lt_prog_compiler_wl_CXX \
16330 lt_prog_compiler_pic_CXX \
16331 lt_prog_compiler_static_CXX \
16332 lt_cv_prog_compiler_c_o_CXX \
16333 export_dynamic_flag_spec_CXX \
16334 whole_archive_flag_spec_CXX \
16335 compiler_needs_object_CXX \
16337 allow_undefined_flag_CXX \
16338 no_undefined_flag_CXX \
16339 hardcode_libdir_flag_spec_CXX \
16340 hardcode_libdir_flag_spec_ld_CXX \
16341 hardcode_libdir_separator_CXX \
16342 fix_srcfile_path_CXX \
16343 exclude_expsyms_CXX \
16344 include_expsyms_CXX \
16345 file_list_spec_CXX \
16346 compiler_lib_search_dirs_CXX \
16347 predep_objects_CXX \
16348 postdep_objects_CXX \
16351 compiler_lib_search_path_CXX; do
16352 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16353 *[\\\\\\\`\\"\\\$]*)
16354 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16357 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16362 # Double-quote double-evaled strings.
16363 for var in reload_cmds \
16364 old_postinstall_cmds \
16365 old_postuninstall_cmds \
16367 extract_expsyms_cmds \
16368 old_archive_from_new_cmds \
16369 old_archive_from_expsyms_cmds \
16371 archive_expsym_cmds \
16373 module_expsym_cmds \
16374 export_symbols_cmds \
16377 postuninstall_cmds \
16379 sys_lib_search_path_spec \
16380 sys_lib_dlsearch_path_spec \
16382 old_archive_cmds_CXX \
16383 old_archive_from_new_cmds_CXX \
16384 old_archive_from_expsyms_cmds_CXX \
16386 archive_expsym_cmds_CXX \
16388 module_expsym_cmds_CXX \
16389 export_symbols_cmds_CXX \
16390 prelink_cmds_CXX; do
16391 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16392 *[\\\\\\\`\\"\\\$]*)
16393 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16396 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16401 ac_aux_dir='$ac_aux_dir'
16402 xsi_shell='$xsi_shell'
16403 lt_shell_append='$lt_shell_append'
16405 # See if we are running on zsh, and set the options which allow our
16406 # commands through without removal of \ escapes INIT.
16407 if test -n "\${ZSH_VERSION+set}" ; then
16408 setopt NO_GLOB_SUBST
16414 TIMESTAMP='$TIMESTAMP'
16425 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16427 # Handling of arguments.
16428 for ac_config_target
in $ac_config_targets
16430 case $ac_config_target in
16431 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16432 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16433 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16434 "include/gc_config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/gc_config.h" ;;
16435 "include/gc_ext_config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/gc_ext_config.h" ;;
16436 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16437 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
16438 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
16439 "threads.mk") CONFIG_FILES
="$CONFIG_FILES threads.mk" ;;
16441 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16446 # If the user did not use the arguments to specify the items to instantiate,
16447 # then the envvar interface is used. Set only those that are not.
16448 # We use the long form for the default assignment because of an extremely
16449 # bizarre bug on SunOS 4.1.3.
16450 if $ac_need_defaults; then
16451 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16452 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16453 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16456 # Have a temporary directory for convenience. Make it in the build tree
16457 # simply because there is no reason against having it here, and in addition,
16458 # creating and moving files from /tmp can sometimes cause problems.
16459 # Hook for its removal unless debugging.
16460 # Note that there is a small window in which the directory will not be cleaned:
16461 # after its creation but before its name has been assigned to `$tmp'.
16465 trap 'exit_status=$?
16466 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16468 trap 'as_fn_exit 1' 1 2 13 15
16470 # Create a (secure) tmp directory for tmp files.
16473 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16474 test -n "$tmp" && test -d "$tmp"
16477 tmp
=.
/conf$$
-$RANDOM
16478 (umask 077 && mkdir
"$tmp")
16479 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
16481 # Set up the scripts for CONFIG_FILES section.
16482 # No need to generate them if there are no CONFIG_FILES.
16483 # This happens for instance with `./config.status config.h'.
16484 if test -n "$CONFIG_FILES"; then
16487 ac_cr
=`echo X | tr X '\015'`
16488 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16489 # But we know of no other shell where ac_cr would be empty at this
16490 # point, so we can use a bashism as a fallback.
16491 if test "x$ac_cr" = x
; then
16492 eval ac_cr
=\$
\'\\r
\'
16494 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16495 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16498 ac_cs_awk_cr
=$ac_cr
16501 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16506 echo "cat >conf$$subs.awk <<_ACEOF" &&
16507 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16509 } >conf$$subs.sh ||
16510 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16511 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16513 for ac_last_try in false false false false false :; do
16514 . ./conf$$subs.sh ||
16515 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16517 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16518 if test $ac_delim_n = $ac_delim_num; then
16520 elif $ac_last_try; then
16521 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16523 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16526 rm -f conf$$subs.sh
16528 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16529 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16533 s/^/S["/; s
/!.
*/"]=/
16543 s/\(.\{148\}\).*/\1/
16545 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16550 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16557 s/\(.\{148\}\).*/\1/
16559 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16563 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16568 ' <conf$$subs.awk | sed '
16573 ' >>$CONFIG_STATUS || ac_write_fail=1
16574 rm -f conf$$subs.awk
16575 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16577 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16578 for (key in S) S_is_set[key] = 1
16584 nfields = split(line, field, "@
")
16586 len = length(field[1])
16587 for (i = 2; i < nfields; i++) {
16589 keylen = length(key)
16590 if (S_is_set[key]) {
16592 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16593 len += length(value) + length(field[++i])
16604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16605 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16606 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16609 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16610 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
16613 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16614 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16615 # trailing colons and then remove the whole line if VPATH becomes empty
16616 # (actually we leave an empty line to preserve line numbers).
16617 if test "x
$srcdir" = x.; then
16618 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16619 s/:*\$(srcdir):*/:/
16620 s/:*\${srcdir}:*/:/
16622 s/^\([^=]*=[ ]*\):*/\1/
16628 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16629 fi # test -n "$CONFIG_FILES"
16631 # Set up the scripts for CONFIG_HEADERS section.
16632 # No need to generate them if there are no CONFIG_HEADERS.
16633 # This happens for instance with `./config.status Makefile'.
16634 if test -n "$CONFIG_HEADERS"; then
16635 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16639 # Transform confdefs.h into an awk script `defines.awk', embedded as
16640 # here-document in config.status, that substitutes the proper values into
16641 # config.h.in to produce config.h.
16643 # Create a delimiter string that does not exist in confdefs.h, to ease
16644 # handling of long lines.
16646 for ac_last_try in false false :; do
16647 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16648 if test -z "$ac_t"; then
16650 elif $ac_last_try; then
16651 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
16653 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16657 # For the awk script, D is an array of macro values keyed by name,
16658 # likewise P contains macro parameters if any. Preserve backslash
16659 # newline sequences.
16661 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16663 s/.\{148\}/&'"$ac_delim"'/g
16666 s/^[ ]*#[ ]*define[ ][ ]*/ /
16673 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16675 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16679 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16680 D["\
1"]=" \
3\\\\\\n
"\\/p
16682 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16687 s/.\{148\}/&'"$ac_delim"'/g
16692 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16695 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16697 ' <confdefs.h | sed '
16698 s/'"$ac_delim"'/"\\\
16699 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16702 for (key in D) D_is_set[key] = 1
16705 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16707 split(line, arg, " ")
16708 if (arg[1] == "#") {
16712 defundef
= substr
(arg
[1], 2)
16715 split(mac1
, mac2
, "(") #)
16717 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16718 if (D_is_set
[macro
]) {
16719 # Preserve the white space surrounding the "#".
16720 print prefix
"define", macro P
[macro
] D
[macro
]
16723 # Replace #undef with comments. This is necessary, for example,
16724 # in the case of _POSIX_SOURCE, which is predefined and required
16725 # on some systems where configure will not decide to define it.
16726 if (defundef
== "undef") {
16727 print
"/*", prefix defundef
, macro
, "*/"
16735 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16736 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
16737 fi # test -n "$CONFIG_HEADERS"
16740 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16745 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16747 case $ac_mode$ac_tag in
16749 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16750 :[FH
]-) ac_tag
=-:-;;
16751 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16768 -) ac_f
="$tmp/stdin";;
16769 *) # Look for the file first in the build tree, then in the source tree
16770 # (if the path is not absolute). The absolute path cannot be DOS-style,
16771 # because $ac_f cannot contain `:'.
16775 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16777 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
16779 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16780 as_fn_append ac_file_inputs
" '$ac_f'"
16783 # Let's still pretend it is `configure' which instantiates (i.e., don't
16784 # use $as_me), people would be surprised to read:
16785 # /* config.h. Generated by config.status. */
16786 configure_input
='Generated from '`
16787 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16789 if test x
"$ac_file" != x-
; then
16790 configure_input
="$ac_file. $configure_input"
16791 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16792 $as_echo "$as_me: creating $ac_file" >&6;}
16794 # Neutralize special characters interpreted by sed in replacement strings.
16795 case $configure_input in #(
16796 *\
&* |
*\|
* |
*\\* )
16797 ac_sed_conf_input
=`$as_echo "$configure_input" |
16798 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16799 *) ac_sed_conf_input
=$configure_input;;
16803 *:-:* |
*:-) cat >"$tmp/stdin" \
16804 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
16809 ac_dir
=`$as_dirname -- "$ac_file" ||
16810 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16811 X"$ac_file" : 'X\(//\)[^/]' \| \
16812 X"$ac_file" : 'X\(//\)$' \| \
16813 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16814 $as_echo X"$ac_file" |
16815 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16819 /^X\(\/\/\)[^/].*/{
16832 as_dir
="$ac_dir"; as_fn_mkdir_p
16836 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16838 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16839 # A ".." for each directory in $ac_dir_suffix.
16840 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16841 case $ac_top_builddir_sub in
16842 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16843 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16846 ac_abs_top_builddir
=$ac_pwd
16847 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16848 # for backward compatibility:
16849 ac_top_builddir
=$ac_top_build_prefix
16852 .
) # We are building in place.
16854 ac_top_srcdir
=$ac_top_builddir_sub
16855 ac_abs_top_srcdir
=$ac_pwd ;;
16856 [\\/]* | ?
:[\\/]* ) # Absolute name.
16857 ac_srcdir
=$srcdir$ac_dir_suffix;
16858 ac_top_srcdir
=$srcdir
16859 ac_abs_top_srcdir
=$srcdir ;;
16860 *) # Relative name.
16861 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16862 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16863 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16865 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16875 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16876 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16878 ac_MKDIR_P
=$MKDIR_P
16880 [\\/$
]* | ?
:[\\/]* ) ;;
16881 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16885 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16886 # If the template does not know about datarootdir, expand it.
16887 # FIXME: This hack should be removed a few years after 2.60.
16888 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16899 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16900 *datarootdir
*) ac_datarootdir_seen
=yes;;
16901 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16903 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16905 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16906 ac_datarootdir_hack='
16907 s&@datadir@&$datadir&g
16908 s&@docdir@&$docdir&g
16909 s&@infodir@&$infodir&g
16910 s&@localedir@&$localedir&g
16911 s&@mandir@&$mandir&g
16912 s&\\\${datarootdir}&$datarootdir&g' ;;
16916 # Neutralize VPATH when `$srcdir' = `.'.
16917 # Shell code in configure.ac might set extrasub.
16918 # FIXME: do we really want to maintain this feature?
16919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16920 ac_sed_extra="$ac_vpsub
16923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16925 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16926 s|@configure_input@|
$ac_sed_conf_input|
;t t
16927 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16928 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16929 s
&@srcdir@
&$ac_srcdir&;t t
16930 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16931 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16932 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16933 s
&@builddir@
&$ac_builddir&;t t
16934 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16935 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16936 s
&@INSTALL@
&$ac_INSTALL&;t t
16937 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16938 $ac_datarootdir_hack
16940 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16941 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16943 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16944 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16945 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16947 which seems to be undefined. Please make sure it is defined." >&5
16948 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16949 which seems to be undefined. Please make sure it is defined." >&2;}
16953 -) cat "$tmp/out" && rm -f "$tmp/out";;
16954 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16956 || as_fn_error "could not create $ac_file" "$LINENO" 5
16962 if test x"$ac_file" != x-; then
16964 $as_echo "/* $configure_input */" \
16965 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16966 } >"$tmp/config.h" \
16967 || as_fn_error "could not create $ac_file" "$LINENO" 5
16968 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16969 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16970 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16973 mv "$tmp/config.h" "$ac_file" \
16974 || as_fn_error "could not create $ac_file" "$LINENO" 5
16977 $as_echo "/* $configure_input */" \
16978 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16979 || as_fn_error "could not create -" "$LINENO" 5
16981 # Compute "$ac_file"'s index
in $config_headers.
16984 for _am_header
in $config_headers :; do
16985 case $_am_header in
16986 $_am_arg |
$_am_arg:* )
16989 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16992 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16993 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16994 X"$_am_arg" : 'X\(//\)[^/]' \| \
16995 X"$_am_arg" : 'X\(//\)$' \| \
16996 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16997 $as_echo X"$_am_arg" |
16998 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17002 /^X\(\/\/\)[^/].*/{
17014 s/.*/./; q'`/stamp-h
$_am_stamp_count
17017 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17018 $as_echo "$as_me: executing $ac_file commands" >&6;}
17023 case $ac_file$ac_mode in
17025 # Only add multilib support code if we just rebuilt the top-level
17027 case " $CONFIG_FILES " in
17029 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
17032 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
17033 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17034 # are listed without --file. Let's play safe and only enable the eval
17035 # if we detect the quoting.
17036 case $CONFIG_FILES in
17037 *\'*) eval set x
"$CONFIG_FILES" ;;
17038 *) set x
$CONFIG_FILES ;;
17043 # Strip MF so we end up with the name of the file.
17044 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17045 # Check whether this is an Automake generated Makefile or not.
17046 # We used to match only the files named `Makefile.in', but
17047 # some people rename them; so instead we look at the file content.
17048 # Grep'ing the first line is not enough: some people post-process
17049 # each Makefile.in and add a new line on top of each file to say so.
17050 # Grep'ing the whole file is not good either: AIX grep has a line
17051 # limit of 2048, but all sed's we know have understand at least 4000.
17052 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17053 dirpart
=`$as_dirname -- "$mf" ||
17054 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17055 X"$mf" : 'X\(//\)[^/]' \| \
17056 X"$mf" : 'X\(//\)$' \| \
17057 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17059 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17063 /^X\(\/\/\)[^/].*/{
17079 # Extract the definition of DEPDIR, am__include, and am__quote
17080 # from the Makefile without running `make'.
17081 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17082 test -z "$DEPDIR" && continue
17083 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17084 test -z "am__include" && continue
17085 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17086 # When using ansi2knr, U may be empty or an underscore; expand it
17087 U
=`sed -n 's/^U = //p' < "$mf"`
17088 # Find all dependency output files, they are included files with
17089 # $(DEPDIR) in their names. We invoke sed twice because it is the
17090 # simplest approach to changing $(DEPDIR) to its actual value in the
17092 for file in `sed -n "
17093 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17094 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17095 # Make sure the directory exists.
17096 test -f "$dirpart/$file" && continue
17097 fdir
=`$as_dirname -- "$file" ||
17098 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17099 X"$file" : 'X\(//\)[^/]' \| \
17100 X"$file" : 'X\(//\)$' \| \
17101 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17102 $as_echo X"$file" |
17103 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17107 /^X\(\/\/\)[^/].*/{
17120 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17121 # echo "creating $dirpart/$file"
17122 echo '# dummy' > "$dirpart/$file"
17129 # See if we are running on zsh, and set the options which allow our
17130 # commands through without removal of \ escapes.
17131 if test -n "${ZSH_VERSION+set}" ; then
17132 setopt NO_GLOB_SUBST
17135 cfgfile
="${ofile}T"
17136 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17139 cat <<_LT_EOF >> "$cfgfile"
17142 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17143 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17144 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17145 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17147 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17148 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17149 # Written by Gordon Matzigkeit, 1996
17151 # This file is part of GNU Libtool.
17153 # GNU Libtool is free software; you can redistribute it and/or
17154 # modify it under the terms of the GNU General Public License as
17155 # published by the Free Software Foundation; either version 2 of
17156 # the License, or (at your option) any later version.
17158 # As a special exception to the GNU General Public License,
17159 # if you distribute this file as part of a program or library that
17160 # is built using GNU Libtool, you may include this file under the
17161 # same distribution terms that you use for the rest of that program.
17163 # GNU Libtool is distributed in the hope that it will be useful,
17164 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17165 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17166 # GNU General Public License for more details.
17168 # You should have received a copy of the GNU General Public License
17169 # along with GNU Libtool; see the file COPYING. If not, a copy
17170 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17171 # obtained by writing to the Free Software Foundation, Inc.,
17172 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17175 # The names of the tagged configurations supported by this script.
17176 available_tags="CXX "
17178 # ### BEGIN LIBTOOL CONFIG
17180 # Which release of libtool.m4 was used?
17181 macro_version=$macro_version
17182 macro_revision=$macro_revision
17184 # Whether or not to build shared libraries.
17185 build_libtool_libs=$enable_shared
17187 # Whether or not to build static libraries.
17188 build_old_libs=$enable_static
17190 # What type of objects to build.
17193 # Whether or not to optimize for fast installation.
17194 fast_install=$enable_fast_install
17196 # Shell to use when invoking shell scripts.
17199 # An echo program that protects backslashes.
17203 host_alias=$host_alias
17207 # The build system.
17208 build_alias=$build_alias
17212 # A sed program that does not truncate output.
17215 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17216 Xsed="\$SED -e 1s/^X//"
17218 # A grep program that handles long lines.
17224 # A literal string matcher.
17227 # A BSD- or MS-compatible name lister.
17230 # Whether we need soft or hard links.
17233 # What is the maximum length of a command?
17234 max_cmd_len=$max_cmd_len
17236 # Object file suffix (normally "o").
17239 # Executable file suffix (normally "").
17242 # whether the shell understands "unset".
17245 # turn spaces into newlines.
17248 # turn newlines into spaces.
17251 # An object symbol dumper.
17252 OBJDUMP=$lt_OBJDUMP
17254 # Method to check whether dependent libraries are shared objects.
17255 deplibs_check_method=$lt_deplibs_check_method
17257 # Command to use when deplibs_check_method == "file_magic".
17258 file_magic_cmd=$lt_file_magic_cmd
17262 AR_FLAGS=$lt_AR_FLAGS
17264 # A symbol stripping program.
17267 # Commands used to install an old-style archive.
17269 old_postinstall_cmds=$lt_old_postinstall_cmds
17270 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17272 # Whether to use a lock for old archive extraction.
17273 lock_old_archive_extraction=$lock_old_archive_extraction
17278 # LTCC compiler flags.
17279 LTCFLAGS=$lt_CFLAGS
17281 # Take the output of nm and produce a listing of raw symbols and C names.
17282 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17284 # Transform the output of nm in a proper C declaration.
17285 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17287 # Transform the output of nm in a C name address pair.
17288 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17290 # Transform the output of nm in a C name address pair when lib prefix is needed.
17291 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17293 # The name of the directory that contains temporary libtool files.
17296 # Used to examine libraries when file_magic_cmd begins with "file".
17297 MAGIC_CMD=$MAGIC_CMD
17299 # Must we lock files when doing compilation?
17300 need_locks=$lt_need_locks
17302 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17303 DSYMUTIL=$lt_DSYMUTIL
17305 # Tool to change global to local symbols on Mac OS X.
17308 # Tool to manipulate fat objects and archives on Mac OS X.
17311 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17314 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17315 OTOOL64=$lt_OTOOL64
17317 # Old archive suffix (normally "a").
17320 # Shared library suffix (normally ".so").
17321 shrext_cmds=$lt_shrext_cmds
17323 # The commands to extract the exported symbol list from a shared archive.
17324 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17326 # Variables whose values should be saved in libtool wrapper scripts and
17327 # restored at link time.
17328 variables_saved_for_relink=$lt_variables_saved_for_relink
17330 # Do we need the "lib" prefix for modules?
17331 need_lib_prefix=$need_lib_prefix
17333 # Do we need a version for libraries?
17334 need_version=$need_version
17336 # Library versioning type.
17337 version_type=$version_type
17339 # Shared library runtime path variable.
17340 runpath_var=$runpath_var
17342 # Shared library path variable.
17343 shlibpath_var=$shlibpath_var
17345 # Is shlibpath searched before the hard-coded library search path?
17346 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17348 # Format of library name prefix.
17349 libname_spec=$lt_libname_spec
17351 # List of archive names. First name is the real one, the rest are links.
17352 # The last name is the one that the linker finds with -lNAME
17353 library_names_spec=$lt_library_names_spec
17355 # The coded name of the library, if different from the real name.
17356 soname_spec=$lt_soname_spec
17358 # Permission mode override for installation of shared libraries.
17359 install_override_mode=$lt_install_override_mode
17361 # Command to use after installation of a shared archive.
17362 postinstall_cmds=$lt_postinstall_cmds
17364 # Command to use after uninstallation of a shared archive.
17365 postuninstall_cmds=$lt_postuninstall_cmds
17367 # Commands used to finish a libtool library installation in a directory.
17368 finish_cmds=$lt_finish_cmds
17370 # As "finish_cmds", except a single script fragment to be evaled but
17372 finish_eval=$lt_finish_eval
17374 # Whether we should hardcode library paths into libraries.
17375 hardcode_into_libs=$hardcode_into_libs
17377 # Compile-time system search path for libraries.
17378 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17380 # Run-time system search path for libraries.
17381 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17383 # Whether dlopen is supported.
17384 dlopen_support=$enable_dlopen
17386 # Whether dlopen of programs is supported.
17387 dlopen_self=$enable_dlopen_self
17389 # Whether dlopen of statically linked programs is supported.
17390 dlopen_self_static=$enable_dlopen_self_static
17392 # Commands to strip libraries.
17393 old_striplib=$lt_old_striplib
17394 striplib=$lt_striplib
17397 # The linker used to build libraries.
17400 # How to create reloadable object files.
17401 reload_flag=$lt_reload_flag
17402 reload_cmds=$lt_reload_cmds
17404 # Commands used to build an old-style archive.
17405 old_archive_cmds=$lt_old_archive_cmds
17407 # A language specific compiler.
17410 # Is the compiler the GNU compiler?
17413 # Compiler flag to turn off builtin functions.
17414 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17416 # How to pass a linker flag through the compiler.
17417 wl=$lt_lt_prog_compiler_wl
17419 # Additional compiler flags for building library objects.
17420 pic_flag=$lt_lt_prog_compiler_pic
17422 # Compiler flag to prevent dynamic linking.
17423 link_static_flag=$lt_lt_prog_compiler_static
17425 # Does compiler simultaneously support -c and -o options?
17426 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17428 # Whether or not to add -lc for building shared libraries.
17429 build_libtool_need_lc=$archive_cmds_need_lc
17431 # Whether or not to disallow shared libs when runtime libs are static.
17432 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17434 # Compiler flag to allow reflexive dlopens.
17435 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17437 # Compiler flag to generate shared objects directly from archives.
17438 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17440 # Whether the compiler copes with passing no objects directly.
17441 compiler_needs_object=$lt_compiler_needs_object
17443 # Create an old-style archive from a shared archive.
17444 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17446 # Create a temporary old-style archive to link instead of a shared archive.
17447 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17449 # Commands used to build a shared archive.
17450 archive_cmds=$lt_archive_cmds
17451 archive_expsym_cmds=$lt_archive_expsym_cmds
17453 # Commands used to build a loadable module if different from building
17454 # a shared archive.
17455 module_cmds=$lt_module_cmds
17456 module_expsym_cmds=$lt_module_expsym_cmds
17458 # Whether we are building with GNU ld or not.
17459 with_gnu_ld=$lt_with_gnu_ld
17461 # Flag that allows shared libraries with undefined symbols to be built.
17462 allow_undefined_flag=$lt_allow_undefined_flag
17464 # Flag that enforces no undefined symbols.
17465 no_undefined_flag=$lt_no_undefined_flag
17467 # Flag to hardcode \$libdir into a binary during linking.
17468 # This must work even if \$libdir does not exist
17469 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17471 # If ld is used when linking, flag to hardcode \$libdir into a binary
17472 # during linking. This must work even if \$libdir does not exist.
17473 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17475 # Whether we need a single "-rpath" flag with a separated argument.
17476 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17478 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17479 # DIR into the resulting binary.
17480 hardcode_direct=$hardcode_direct
17482 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17483 # DIR into the resulting binary and the resulting library dependency is
17484 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17485 # library is relocated.
17486 hardcode_direct_absolute=$hardcode_direct_absolute
17488 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17489 # into the resulting binary.
17490 hardcode_minus_L=$hardcode_minus_L
17492 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17493 # into the resulting binary.
17494 hardcode_shlibpath_var=$hardcode_shlibpath_var
17496 # Set to "yes" if building a shared library automatically hardcodes DIR
17497 # into the library and all subsequent libraries and executables linked
17499 hardcode_automatic=$hardcode_automatic
17501 # Set to yes if linker adds runtime paths of dependent libraries
17502 # to runtime path list.
17503 inherit_rpath=$inherit_rpath
17505 # Whether libtool must link a program against all its dependency libraries.
17506 link_all_deplibs=$link_all_deplibs
17508 # Fix the shell variable \$srcfile for the compiler.
17509 fix_srcfile_path=$lt_fix_srcfile_path
17511 # Set to "yes" if exported symbols are required.
17512 always_export_symbols=$always_export_symbols
17514 # The commands to list exported symbols.
17515 export_symbols_cmds=$lt_export_symbols_cmds
17517 # Symbols that should not be listed in the preloaded symbols.
17518 exclude_expsyms=$lt_exclude_expsyms
17520 # Symbols that must always be exported.
17521 include_expsyms=$lt_include_expsyms
17523 # Commands necessary for linking programs (against libraries) with templates.
17524 prelink_cmds=$lt_prelink_cmds
17526 # Specify filename containing input files.
17527 file_list_spec=$lt_file_list_spec
17529 # How to hardcode a shared library path into an executable.
17530 hardcode_action=$hardcode_action
17532 # The directories searched by this compiler when creating a shared library.
17533 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17535 # Dependencies to place before and after the objects being linked to
17536 # create a shared library.
17537 predep_objects=$lt_predep_objects
17538 postdep_objects=$lt_postdep_objects
17539 predeps=$lt_predeps
17540 postdeps=$lt_postdeps
17542 # The library search path used internally by the compiler when linking
17543 # a shared library.
17544 compiler_lib_search_path=$lt_compiler_lib_search_path
17546 # ### END LIBTOOL CONFIG
17552 cat <<\_LT_EOF
>> "$cfgfile"
17553 # AIX sometimes has problems with the GCC collect2 program. For some
17554 # reason, if we set the COLLECT_NAMES environment variable, the problems
17555 # vanish in a puff of smoke.
17556 if test "X${COLLECT_NAMES+set}" != Xset
; then
17558 export COLLECT_NAMES
17565 ltmain
="$ac_aux_dir/ltmain.sh"
17568 # We use sed instead of cat because bash on DJGPP gets confused if
17569 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17570 # text mode, it properly converts lines to CR/LF. This bash problem
17571 # is reportedly fixed, but why not run on old versions too?
17572 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17573 ||
(rm -f "$cfgfile"; exit 1)
17577 cat << \_LT_EOF
>> "$cfgfile"
17579 # func_dirname file append nondir_replacement
17580 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17581 # otherwise set result to NONDIR_REPLACEMENT.
17585 */*) func_dirname_result
="${1%/*}${2}" ;;
17586 * ) func_dirname_result
="${3}" ;;
17590 # func_basename file
17593 func_basename_result
="${1##*/}"
17596 # func_dirname_and_basename file append nondir_replacement
17597 # perform func_basename and func_dirname in a single function
17599 # dirname: Compute the dirname of FILE. If nonempty,
17600 # add APPEND to the result, otherwise set result
17601 # to NONDIR_REPLACEMENT.
17602 # value returned in "$func_dirname_result"
17603 # basename: Compute filename of FILE.
17604 # value retuned in "$func_basename_result"
17605 # Implementation must be kept synchronized with func_dirname
17606 # and func_basename. For efficiency, we do not delegate to
17607 # those functions but instead duplicate the functionality here.
17608 func_dirname_and_basename
()
17611 */*) func_dirname_result
="${1%/*}${2}" ;;
17612 * ) func_dirname_result
="${3}" ;;
17614 func_basename_result
="${1##*/}"
17617 # func_stripname prefix suffix name
17618 # strip PREFIX and SUFFIX off of NAME.
17619 # PREFIX and SUFFIX must not contain globbing or regex special
17620 # characters, hashes, percent signs, but SUFFIX may contain a leading
17621 # dot (in which case that matches only a dot).
17624 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17625 # positional parameters, so assign one to ordinary parameter first.
17626 func_stripname_result
=${3}
17627 func_stripname_result
=${func_stripname_result#"${1}"}
17628 func_stripname_result
=${func_stripname_result%"${2}"}
17634 func_opt_split_opt
=${1%%=*}
17635 func_opt_split_arg
=${1#*=}
17642 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17643 *) func_lo2o_result
=${1} ;;
17647 # func_xform libobj-or-source
17650 func_xform_result
=${1%.*}.lo
17653 # func_arith arithmetic-term...
17656 func_arith_result
=$
(( $
* ))
17660 # STRING may not start with a hyphen.
17663 func_len_result
=${#1}
17668 *) # Bourne compatible functions.
17669 cat << \_LT_EOF
>> "$cfgfile"
17671 # func_dirname file append nondir_replacement
17672 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17673 # otherwise set result to NONDIR_REPLACEMENT.
17676 # Extract subdirectory from the argument.
17677 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17678 if test "X$func_dirname_result" = "X${1}"; then
17679 func_dirname_result
="${3}"
17681 func_dirname_result
="$func_dirname_result${2}"
17685 # func_basename file
17688 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17692 # func_stripname prefix suffix name
17693 # strip PREFIX and SUFFIX off of NAME.
17694 # PREFIX and SUFFIX must not contain globbing or regex special
17695 # characters, hashes, percent signs, but SUFFIX may contain a leading
17696 # dot (in which case that matches only a dot).
17697 # func_strip_suffix prefix name
17701 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17702 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17707 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17708 my_sed_long_arg
='1s/^-[^=]*=//'
17713 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17714 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17720 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17723 # func_xform libobj-or-source
17726 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17729 # func_arith arithmetic-term...
17732 func_arith_result
=`expr "$@"`
17736 # STRING may not start with a hyphen.
17739 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17745 case $lt_shell_append in
17747 cat << \_LT_EOF
>> "$cfgfile"
17749 # func_append var value
17750 # Append VALUE to the end of shell variable VAR.
17758 cat << \_LT_EOF
>> "$cfgfile"
17760 # func_append var value
17761 # Append VALUE to the end of shell variable VAR.
17772 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17773 ||
(rm -f "$cfgfile"; exit 1)
17775 mv -f "$cfgfile" "$ofile" ||
17776 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17780 cat <<_LT_EOF >> "$ofile"
17782 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17784 # The linker used to build libraries.
17787 # How to create reloadable object files.
17788 reload_flag=$lt_reload_flag_CXX
17789 reload_cmds=$lt_reload_cmds_CXX
17791 # Commands used to build an old-style archive.
17792 old_archive_cmds=$lt_old_archive_cmds_CXX
17794 # A language specific compiler.
17795 CC=$lt_compiler_CXX
17797 # Is the compiler the GNU compiler?
17800 # Compiler flag to turn off builtin functions.
17801 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17803 # How to pass a linker flag through the compiler.
17804 wl=$lt_lt_prog_compiler_wl_CXX
17806 # Additional compiler flags for building library objects.
17807 pic_flag=$lt_lt_prog_compiler_pic_CXX
17809 # Compiler flag to prevent dynamic linking.
17810 link_static_flag=$lt_lt_prog_compiler_static_CXX
17812 # Does compiler simultaneously support -c and -o options?
17813 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17815 # Whether or not to add -lc for building shared libraries.
17816 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17818 # Whether or not to disallow shared libs when runtime libs are static.
17819 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17821 # Compiler flag to allow reflexive dlopens.
17822 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17824 # Compiler flag to generate shared objects directly from archives.
17825 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17827 # Whether the compiler copes with passing no objects directly.
17828 compiler_needs_object=$lt_compiler_needs_object_CXX
17830 # Create an old-style archive from a shared archive.
17831 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17833 # Create a temporary old-style archive to link instead of a shared archive.
17834 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17836 # Commands used to build a shared archive.
17837 archive_cmds=$lt_archive_cmds_CXX
17838 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17840 # Commands used to build a loadable module if different from building
17841 # a shared archive.
17842 module_cmds=$lt_module_cmds_CXX
17843 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17845 # Whether we are building with GNU ld or not.
17846 with_gnu_ld=$lt_with_gnu_ld_CXX
17848 # Flag that allows shared libraries with undefined symbols to be built.
17849 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17851 # Flag that enforces no undefined symbols.
17852 no_undefined_flag=$lt_no_undefined_flag_CXX
17854 # Flag to hardcode \$libdir into a binary during linking.
17855 # This must work even if \$libdir does not exist
17856 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17858 # If ld is used when linking, flag to hardcode \$libdir into a binary
17859 # during linking. This must work even if \$libdir does not exist.
17860 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17862 # Whether we need a single "-rpath" flag with a separated argument.
17863 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17865 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17866 # DIR into the resulting binary.
17867 hardcode_direct=$hardcode_direct_CXX
17869 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17870 # DIR into the resulting binary and the resulting library dependency is
17871 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17872 # library is relocated.
17873 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17875 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17876 # into the resulting binary.
17877 hardcode_minus_L=$hardcode_minus_L_CXX
17879 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17880 # into the resulting binary.
17881 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17883 # Set to "yes" if building a shared library automatically hardcodes DIR
17884 # into the library and all subsequent libraries and executables linked
17886 hardcode_automatic=$hardcode_automatic_CXX
17888 # Set to yes if linker adds runtime paths of dependent libraries
17889 # to runtime path list.
17890 inherit_rpath=$inherit_rpath_CXX
17892 # Whether libtool must link a program against all its dependency libraries.
17893 link_all_deplibs=$link_all_deplibs_CXX
17895 # Fix the shell variable \$srcfile for the compiler.
17896 fix_srcfile_path=$lt_fix_srcfile_path_CXX
17898 # Set to "yes" if exported symbols are required.
17899 always_export_symbols=$always_export_symbols_CXX
17901 # The commands to list exported symbols.
17902 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17904 # Symbols that should not be listed in the preloaded symbols.
17905 exclude_expsyms=$lt_exclude_expsyms_CXX
17907 # Symbols that must always be exported.
17908 include_expsyms=$lt_include_expsyms_CXX
17910 # Commands necessary for linking programs (against libraries) with templates.
17911 prelink_cmds=$lt_prelink_cmds_CXX
17913 # Specify filename containing input files.
17914 file_list_spec=$lt_file_list_spec_CXX
17916 # How to hardcode a shared library path into an executable.
17917 hardcode_action=$hardcode_action_CXX
17919 # The directories searched by this compiler when creating a shared library.
17920 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17922 # Dependencies to place before and after the objects being linked to
17923 # create a shared library.
17924 predep_objects=$lt_predep_objects_CXX
17925 postdep_objects=$lt_postdep_objects_CXX
17926 predeps=$lt_predeps_CXX
17927 postdeps=$lt_postdeps_CXX
17929 # The library search path used internally by the compiler when linking
17930 # a shared library.
17931 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17933 # ### END LIBTOOL TAG CONFIG: CXX
17944 ac_clean_files
=$ac_clean_files_save
17946 test $ac_write_fail = 0 ||
17947 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17950 # configure is writing to config.log, and then calls config.status.
17951 # config.status does its own redirection, appending to config.log.
17952 # Unfortunately, on DOS this fails, as config.log is still kept open
17953 # by configure, so config.status won't be able to write to it; its
17954 # output is simply discarded. So we exec the FD to /dev/null,
17955 # effectively closing config.log, so it can be properly (re)opened and
17956 # appended to by config.status. When coming back to configure, we
17957 # need to make the FD available again.
17958 if test "$no_create" != yes; then
17960 ac_config_status_args
=
17961 test "$silent" = yes &&
17962 ac_config_status_args
="$ac_config_status_args --quiet"
17964 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17966 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17967 # would make configure fail if this is the last instruction.
17968 $ac_cs_success || as_fn_exit $?
17970 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17972 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}