2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gdbmobj 0.10.
5 # Report bugs to <courier-users@lists.sourceforge.net>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210 if (eval "$as_required") 2>/dev
/null
; then :
215 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
227 for as_base
in sh bash ksh sh5
; do
228 # Try only shells that exist, to save several forks.
229 as_shell
=$as_dir/$as_base
230 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$as_shell as_have_required
=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
241 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
243 CONFIG_SHELL
=$SHELL as_have_required
=yes
248 if test "x$CONFIG_SHELL" != x
; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
258 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x
$as_have_required = xno
; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x
${ZSH_VERSION+set} = xset
; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: courier-users@lists.sourceforge.net about your system,
279 $0: including any error possibly output before this
280 $0: message. Then install a modern shell, or manually run
281 $0: the script under such a shell if you do have one."
287 SHELL
=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE
= GREP_OPTIONS
=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir
=.
/$as_dir;;
332 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
336 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs
="'$as_qdir' $as_dirs"
340 as_dir
=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
366 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p
()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
409 as_val
=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status
=$1; test $as_status -eq 0 && as_status
=1
423 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit
$as_status
430 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
437 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
449 as_me
=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits
='0123456789'
473 as_cr_alnum
=$as_cr_Letters$as_cr_digits
476 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
477 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x
"$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec
=no
; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C
= ECHO_N
= ECHO_T
=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
524 rm -f conf$$ conf$$.exe conf$$.
file
525 if test -d conf$$.dir
; then
526 rm -f conf$$.dir
/conf$$.
file
529 mkdir conf$$.dir
2>/dev
/null
531 if (echo >conf$$.
file) 2>/dev
/null
; then
532 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
540 elif ln conf$$.
file conf$$
2>/dev
/null
; then
548 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
549 rmdir conf$$.dir
2>/dev
/null
551 if mkdir
-p .
2>/dev
/null
; then
552 as_mkdir_p
='mkdir -p "$as_dir"'
554 test -d .
/-p && rmdir .
/-p
559 as_executable_p
=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL
=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix
=/usr
/local
583 ac_config_libobj_dir
=.
590 # Identity of this package.
591 PACKAGE_NAME
='gdbmobj'
592 PACKAGE_TARNAME
='gdbmobj'
593 PACKAGE_VERSION
='0.10'
594 PACKAGE_STRING
='gdbmobj 0.10'
595 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
598 ac_unique_file
="gdbmobj.c"
599 # Factoring default headers for most tests.
600 ac_includes_default
="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 ac_subst_vars
='am__EXEEXT_FALSE
709 INSTALL_STRIP_PROGRAM
751 program_transform_name
764 enable_option_checking
766 enable_dependency_tracking
777 ac_precious_vars
='build_alias
793 # Initialize some variables set by options.
795 ac_init_version
=false
796 ac_unrecognized_opts
=
798 # The variables have the same names as the options, with
799 # dashes changed to underlines.
807 program_transform_name
=s
,x
,x
,
815 # Installation directory options.
816 # These are left unexpanded so users can "make install exec_prefix=/foo"
817 # and all the variables that are supposed to be based on exec_prefix
818 # by default will actually change.
819 # Use braces instead of parens because sh, perl, etc. also accept them.
820 # (The list follows the same order as the GNU Coding Standards.)
821 bindir
='${exec_prefix}/bin'
822 sbindir
='${exec_prefix}/sbin'
823 libexecdir
='${exec_prefix}/libexec'
824 datarootdir
='${prefix}/share'
825 datadir
='${datarootdir}'
826 sysconfdir
='${prefix}/etc'
827 sharedstatedir
='${prefix}/com'
828 localstatedir
='${prefix}/var'
829 includedir
='${prefix}/include'
830 oldincludedir
='/usr/include'
831 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
832 infodir
='${datarootdir}/info'
837 libdir
='${exec_prefix}/lib'
838 localedir
='${datarootdir}/locale'
839 mandir
='${datarootdir}/man'
845 # If the previous option needs an argument, assign it.
846 if test -n "$ac_prev"; then
847 eval $ac_prev=\
$ac_option
853 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
858 # Accept the important Cygnus configure options, so we can diagnose typos.
860 case $ac_dashdash$ac_option in
864 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
866 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
869 -build |
--build |
--buil |
--bui |
--bu)
870 ac_prev
=build_alias
;;
871 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
872 build_alias
=$ac_optarg ;;
874 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
875 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
876 ac_prev
=cache_file
;;
877 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
878 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
879 cache_file
=$ac_optarg ;;
882 cache_file
=config.cache
;;
884 -datadir |
--datadir |
--datadi |
--datad)
886 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
887 datadir
=$ac_optarg ;;
889 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
890 |
--dataroo |
--dataro |
--datar)
891 ac_prev
=datarootdir
;;
892 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
893 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
894 datarootdir
=$ac_optarg ;;
896 -disable-* |
--disable-*)
897 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
898 # Reject names that are not valid shell variable names.
899 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
900 as_fn_error $?
"invalid feature name: $ac_useropt"
901 ac_useropt_orig
=$ac_useropt
902 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
903 case $ac_user_opts in
907 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
908 ac_unrecognized_sep
=', ';;
910 eval enable_
$ac_useropt=no
;;
912 -docdir |
--docdir |
--docdi |
--doc |
--do)
914 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
917 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
919 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
922 -enable-* |
--enable-*)
923 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
924 # Reject names that are not valid shell variable names.
925 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
926 as_fn_error $?
"invalid feature name: $ac_useropt"
927 ac_useropt_orig
=$ac_useropt
928 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
929 case $ac_user_opts in
933 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
934 ac_unrecognized_sep
=', ';;
936 eval enable_
$ac_useropt=\
$ac_optarg ;;
938 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
939 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
940 |
--exec |
--exe |
--ex)
941 ac_prev
=exec_prefix
;;
942 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
943 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
944 |
--exec=* |
--exe=* |
--ex=*)
945 exec_prefix
=$ac_optarg ;;
947 -gas |
--gas |
--ga |
--g)
948 # Obsolete; use --with-gas.
951 -help |
--help |
--hel |
--he |
-h)
953 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
954 ac_init_help
=recursive
;;
955 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
956 ac_init_help
=short
;;
958 -host |
--host |
--hos |
--ho)
959 ac_prev
=host_alias
;;
960 -host=* |
--host=* |
--hos=* |
--ho=*)
961 host_alias
=$ac_optarg ;;
963 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
965 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
967 htmldir
=$ac_optarg ;;
969 -includedir |
--includedir |
--includedi |
--included |
--include \
970 |
--includ |
--inclu |
--incl |
--inc)
971 ac_prev
=includedir
;;
972 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
973 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
974 includedir
=$ac_optarg ;;
976 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
978 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
979 infodir
=$ac_optarg ;;
981 -libdir |
--libdir |
--libdi |
--libd)
983 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
986 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
987 |
--libexe |
--libex |
--libe)
988 ac_prev
=libexecdir
;;
989 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
990 |
--libexe=* |
--libex=* |
--libe=*)
991 libexecdir
=$ac_optarg ;;
993 -localedir |
--localedir |
--localedi |
--localed |
--locale)
995 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
996 localedir
=$ac_optarg ;;
998 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
999 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1000 ac_prev
=localstatedir
;;
1001 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1002 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1003 localstatedir
=$ac_optarg ;;
1005 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1007 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1008 mandir
=$ac_optarg ;;
1010 -nfp |
--nfp |
--nf)
1011 # Obsolete; use --without-fp.
1014 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1015 |
--no-cr |
--no-c |
-n)
1018 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1019 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1022 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1023 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1024 |
--oldin |
--oldi |
--old |
--ol |
--o)
1025 ac_prev
=oldincludedir
;;
1026 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1027 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1028 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1029 oldincludedir
=$ac_optarg ;;
1031 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1033 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1034 prefix
=$ac_optarg ;;
1036 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1037 |
--program-pre |
--program-pr |
--program-p)
1038 ac_prev
=program_prefix
;;
1039 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1040 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1041 program_prefix
=$ac_optarg ;;
1043 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1044 |
--program-suf |
--program-su |
--program-s)
1045 ac_prev
=program_suffix
;;
1046 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1047 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1048 program_suffix
=$ac_optarg ;;
1050 -program-transform-name |
--program-transform-name \
1051 |
--program-transform-nam |
--program-transform-na \
1052 |
--program-transform-n |
--program-transform- \
1053 |
--program-transform |
--program-transfor \
1054 |
--program-transfo |
--program-transf \
1055 |
--program-trans |
--program-tran \
1056 |
--progr-tra |
--program-tr |
--program-t)
1057 ac_prev
=program_transform_name
;;
1058 -program-transform-name=* |
--program-transform-name=* \
1059 |
--program-transform-nam=* |
--program-transform-na=* \
1060 |
--program-transform-n=* |
--program-transform-=* \
1061 |
--program-transform=* |
--program-transfor=* \
1062 |
--program-transfo=* |
--program-transf=* \
1063 |
--program-trans=* |
--program-tran=* \
1064 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1065 program_transform_name
=$ac_optarg ;;
1067 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1069 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1070 pdfdir
=$ac_optarg ;;
1072 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1074 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1077 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1078 |
-silent |
--silent |
--silen |
--sile |
--sil)
1081 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1083 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1085 sbindir
=$ac_optarg ;;
1087 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1088 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1089 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1091 ac_prev
=sharedstatedir
;;
1092 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1093 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1094 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1096 sharedstatedir
=$ac_optarg ;;
1098 -site |
--site |
--sit)
1100 -site=* |
--site=* |
--sit=*)
1103 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1105 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1106 srcdir
=$ac_optarg ;;
1108 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1109 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1110 ac_prev
=sysconfdir
;;
1111 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1112 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1113 sysconfdir
=$ac_optarg ;;
1115 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1116 ac_prev
=target_alias
;;
1117 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1118 target_alias
=$ac_optarg ;;
1120 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1123 -version |
--version |
--versio |
--versi |
--vers |
-V)
1124 ac_init_version
=: ;;
1127 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1128 # Reject names that are not valid shell variable names.
1129 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1130 as_fn_error $?
"invalid package name: $ac_useropt"
1131 ac_useropt_orig
=$ac_useropt
1132 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1133 case $ac_user_opts in
1137 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1138 ac_unrecognized_sep
=', ';;
1140 eval with_
$ac_useropt=\
$ac_optarg ;;
1142 -without-* |
--without-*)
1143 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1144 # Reject names that are not valid shell variable names.
1145 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1146 as_fn_error $?
"invalid package name: $ac_useropt"
1147 ac_useropt_orig
=$ac_useropt
1148 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1149 case $ac_user_opts in
1153 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1154 ac_unrecognized_sep
=', ';;
1156 eval with_
$ac_useropt=no
;;
1159 # Obsolete; use --with-x.
1162 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1163 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1164 ac_prev
=x_includes
;;
1165 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1166 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1167 x_includes
=$ac_optarg ;;
1169 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1170 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1171 ac_prev
=x_libraries
;;
1172 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1173 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1174 x_libraries
=$ac_optarg ;;
1176 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1177 Try \`$0 --help' for more information"
1181 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1182 # Reject names that are not valid shell variable names.
1183 case $ac_envvar in #(
1184 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1185 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1187 eval $ac_envvar=\
$ac_optarg
1188 export $ac_envvar ;;
1191 # FIXME: should be removed in autoconf 3.0.
1192 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1193 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1194 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1195 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1201 if test -n "$ac_prev"; then
1202 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1203 as_fn_error $?
"missing argument to $ac_option"
1206 if test -n "$ac_unrecognized_opts"; then
1207 case $enable_option_checking in
1209 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1210 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1214 # Check all directory arguments for consistency.
1215 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1216 datadir sysconfdir sharedstatedir localstatedir includedir \
1217 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1218 libdir localedir mandir
1220 eval ac_val
=\$
$ac_var
1221 # Remove trailing slashes.
1224 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1225 eval $ac_var=\
$ac_val;;
1227 # Be sure to have absolute directory names.
1229 [\\/$
]* | ?
:[\\/]* ) continue;;
1230 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1232 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1235 # There might be people who depend on the old broken behavior: `$host'
1236 # used to hold the argument of --host etc.
1237 # FIXME: To remove some day.
1240 target
=$target_alias
1242 # FIXME: To remove some day.
1243 if test "x$host_alias" != x
; then
1244 if test "x$build_alias" = x
; then
1245 cross_compiling
=maybe
1246 elif test "x$build_alias" != "x$host_alias"; then
1252 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1254 test "$silent" = yes && exec 6>/dev
/null
1257 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1258 ac_ls_di
=`ls -di .` &&
1259 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1260 as_fn_error $?
"working directory cannot be determined"
1261 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1262 as_fn_error $?
"pwd does not report name of working directory"
1265 # Find the source files, if location was not specified.
1266 if test -z "$srcdir"; then
1267 ac_srcdir_defaulted
=yes
1268 # Try the directory containing this script, then the parent directory.
1269 ac_confdir
=`$as_dirname -- "$as_myself" ||
1270 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1271 X"$as_myself" : 'X\(//\)[^/]' \| \
1272 X"$as_myself" : 'X\(//\)$' \| \
1273 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1274 $as_echo X"$as_myself" |
1275 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1293 if test ! -r "$srcdir/$ac_unique_file"; then
1297 ac_srcdir_defaulted
=no
1299 if test ! -r "$srcdir/$ac_unique_file"; then
1300 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1301 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1303 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1305 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1307 # When building in place, set srcdir=.
1308 if test "$ac_abs_confdir" = "$ac_pwd"; then
1311 # Remove unnecessary trailing slashes from srcdir.
1312 # Double slashes in file names in object file debugging info
1313 # mess up M-x gdb in Emacs.
1315 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1317 for ac_var
in $ac_precious_vars; do
1318 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1319 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1320 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1321 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1325 # Report the --help message.
1327 if test "$ac_init_help" = "long"; then
1328 # Omit some internal or obsolete options to make the list less imposing.
1329 # This message is too long to be a string in the A/UX 3.1 sh.
1331 \`configure' configures gdbmobj 0.10 to adapt to many kinds of systems.
1333 Usage: $0 [OPTION]... [VAR=VALUE]...
1335 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1336 VAR=VALUE. See below for descriptions of some of the useful variables.
1338 Defaults for the options are specified in brackets.
1341 -h, --help display this help and exit
1342 --help=short display options specific to this package
1343 --help=recursive display the short help of all the included packages
1344 -V, --version display version information and exit
1345 -q, --quiet, --silent do not print \`checking ...' messages
1346 --cache-file=FILE cache test results in FILE [disabled]
1347 -C, --config-cache alias for \`--cache-file=config.cache'
1348 -n, --no-create do not create output files
1349 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1351 Installation directories:
1352 --prefix=PREFIX install architecture-independent files in PREFIX
1353 [$ac_default_prefix]
1354 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1357 By default, \`make install' will install all the files in
1358 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1359 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1360 for instance \`--prefix=\$HOME'.
1362 For better control, use the options below.
1364 Fine tuning of the installation directories:
1365 --bindir=DIR user executables [EPREFIX/bin]
1366 --sbindir=DIR system admin executables [EPREFIX/sbin]
1367 --libexecdir=DIR program executables [EPREFIX/libexec]
1368 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1369 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1370 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1371 --libdir=DIR object code libraries [EPREFIX/lib]
1372 --includedir=DIR C header files [PREFIX/include]
1373 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1374 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1375 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1376 --infodir=DIR info documentation [DATAROOTDIR/info]
1377 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1378 --mandir=DIR man documentation [DATAROOTDIR/man]
1379 --docdir=DIR documentation root [DATAROOTDIR/doc/gdbmobj]
1380 --htmldir=DIR html documentation [DOCDIR]
1381 --dvidir=DIR dvi documentation [DOCDIR]
1382 --pdfdir=DIR pdf documentation [DOCDIR]
1383 --psdir=DIR ps documentation [DOCDIR]
1389 --program-prefix=PREFIX prepend PREFIX to installed program names
1390 --program-suffix=SUFFIX append SUFFIX to installed program names
1391 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1394 --build=BUILD configure
for building on BUILD
[guessed
]
1395 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1399 if test -n "$ac_init_help"; then
1400 case $ac_init_help in
1401 short | recursive
) echo "Configuration of gdbmobj 0.10:";;
1406 --disable-option-checking ignore unrecognized
--enable/--with options
1407 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1408 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1409 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1410 --disable-silent-rules verbose build output
(undo
: "make V=0")
1411 --enable-dependency-tracking
1412 do not reject slow dependency extractors
1413 --disable-dependency-tracking
1414 speeds up one-time build
1415 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1416 --enable-static[=PKGS
] build static libraries
[default
=yes]
1417 --enable-fast-install[=PKGS
]
1418 optimize
for fast installation
[default
=yes]
1419 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1420 --disable-largefile omit support
for large files
1423 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1424 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1425 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1427 --with-aix-soname=aix|svr4|both
1428 shared library versioning
(aka
"SONAME") variant to
1429 provide on AIX
, [default
=aix
].
1430 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1431 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1432 compiler
's sysroot if not specified).
1434 Some influential environment variables:
1435 CC C compiler command
1436 CFLAGS C compiler flags
1437 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1438 nonstandard directory <lib dir>
1439 LIBS libraries to pass to the linker, e.g. -l<library>
1440 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1441 you have headers in a nonstandard directory <include dir>
1443 CXX C++ compiler command
1444 CXXFLAGS C++ compiler flags
1446 User-defined run-time library search path.
1447 CXXCPP C++ preprocessor
1449 Use these variables to override the choices made by `configure' or to
help
1450 it to
find libraries and programs with nonstandard names
/locations.
1452 Report bugs to
<courier-users@lists.sourceforge.net
>.
1457 if test "$ac_init_help" = "recursive"; then
1458 # If there are subdirs, report their specific --help.
1459 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1460 test -d "$ac_dir" ||
1461 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1466 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1468 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1469 # A ".." for each directory in $ac_dir_suffix.
1470 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1471 case $ac_top_builddir_sub in
1472 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1473 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1476 ac_abs_top_builddir
=$ac_pwd
1477 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1478 # for backward compatibility:
1479 ac_top_builddir
=$ac_top_build_prefix
1482 .
) # We are building in place.
1484 ac_top_srcdir
=$ac_top_builddir_sub
1485 ac_abs_top_srcdir
=$ac_pwd ;;
1486 [\\/]* | ?
:[\\/]* ) # Absolute name.
1487 ac_srcdir
=$srcdir$ac_dir_suffix;
1488 ac_top_srcdir
=$srcdir
1489 ac_abs_top_srcdir
=$srcdir ;;
1491 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1492 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1493 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1495 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1497 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1498 # Check for guested configure.
1499 if test -f "$ac_srcdir/configure.gnu"; then
1501 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1502 elif test -f "$ac_srcdir/configure"; then
1504 $SHELL "$ac_srcdir/configure" --help=recursive
1506 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1508 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1512 test -n "$ac_init_help" && exit $ac_status
1513 if $ac_init_version; then
1515 gdbmobj configure
0.10
1516 generated by GNU Autoconf
2.69
1518 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1519 This configure
script is free software
; the Free Software Foundation
1520 gives unlimited permission to copy
, distribute and modify it.
1525 ## ------------------------ ##
1526 ## Autoconf initialization. ##
1527 ## ------------------------ ##
1529 # ac_fn_c_try_compile LINENO
1530 # --------------------------
1531 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1532 ac_fn_c_try_compile
()
1534 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1535 rm -f conftest.
$ac_objext
1536 if { { ac_try
="$ac_compile"
1538 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1539 *) ac_try_echo=$ac_try;;
1541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1542 $as_echo "$ac_try_echo"; } >&5
1543 (eval "$ac_compile") 2>conftest.err
1545 if test -s conftest.err; then
1546 grep -v '^ *+' conftest.err >conftest.er1
1547 cat conftest.er1 >&5
1548 mv -f conftest.er1 conftest.err
1550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1551 test $ac_status = 0; } && {
1552 test -z "$ac_c_werror_flag" ||
1553 test ! -s conftest.err
1554 } && test -s conftest.$ac_objext; then :
1557 $as_echo "$as_me: failed program was:" >&5
1558 sed 's/^/| /' conftest.$ac_ext >&5
1562 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1563 as_fn_set_status $ac_retval
1565 } # ac_fn_c_try_compile
1567 # ac_fn_c_try_cpp LINENO
1568 # ----------------------
1569 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1572 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1573 if { { ac_try="$ac_cpp conftest.$ac_ext"
1575 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1576 *) ac_try_echo
=$ac_try;;
1578 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1579 $as_echo "$ac_try_echo"; } >&5
1580 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1582 if test -s conftest.err
; then
1583 grep -v '^ *+' conftest.err
>conftest.er1
1584 cat conftest.er1
>&5
1585 mv -f conftest.er1 conftest.err
1587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1588 test $ac_status = 0; } > conftest.i
&& {
1589 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1590 test ! -s conftest.err
1594 $as_echo "$as_me: failed program was:" >&5
1595 sed 's/^/| /' conftest.
$ac_ext >&5
1599 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1600 as_fn_set_status
$ac_retval
1604 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1605 # -------------------------------------------------------
1606 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1607 # the include files in INCLUDES and setting the cache variable VAR
1609 ac_fn_c_check_header_mongrel
()
1611 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1612 if eval \
${$3+:} false
; then :
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1614 $as_echo_n "checking for $2... " >&6; }
1615 if eval \
${$3+:} false
; then :
1616 $as_echo_n "(cached) " >&6
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1620 $as_echo "$ac_res" >&6; }
1622 # Is the header compilable?
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1624 $as_echo_n "checking $2 usability... " >&6; }
1625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1626 /* end confdefs.h. */
1630 if ac_fn_c_try_compile
"$LINENO"; then :
1631 ac_header_compiler
=yes
1633 ac_header_compiler
=no
1635 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1637 $as_echo "$ac_header_compiler" >&6; }
1639 # Is the header present?
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1641 $as_echo_n "checking $2 presence... " >&6; }
1642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1643 /* end confdefs.h. */
1646 if ac_fn_c_try_cpp
"$LINENO"; then :
1647 ac_header_preproc
=yes
1649 ac_header_preproc
=no
1651 rm -f conftest.err conftest.i conftest.
$ac_ext
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1653 $as_echo "$ac_header_preproc" >&6; }
1655 # So? What about this header?
1656 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1659 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1661 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1665 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1667 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1669 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1671 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1673 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1674 ( $as_echo "## -------------------------------------------------- ##
1675 ## Report this to courier-users@lists.sourceforge.net ##
1676 ## -------------------------------------------------- ##"
1677 ) |
sed "s/^/$as_me: WARNING: /" >&2
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1681 $as_echo_n "checking for $2... " >&6; }
1682 if eval \
${$3+:} false
; then :
1683 $as_echo_n "(cached) " >&6
1685 eval "$3=\$ac_header_compiler"
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1689 $as_echo "$ac_res" >&6; }
1691 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1693 } # ac_fn_c_check_header_mongrel
1695 # ac_fn_c_try_run LINENO
1696 # ----------------------
1697 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1698 # that executables *can* be run.
1701 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1702 if { { ac_try
="$ac_link"
1704 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1705 *) ac_try_echo=$ac_try;;
1707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1708 $as_echo "$ac_try_echo"; } >&5
1709 (eval "$ac_link") 2>&5
1711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1712 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1713 { { case "(($ac_try" in
1714 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1715 *) ac_try_echo
=$ac_try;;
1717 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1718 $as_echo "$ac_try_echo"; } >&5
1719 (eval "$ac_try") 2>&5
1721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1722 test $ac_status = 0; }; }; then :
1725 $as_echo "$as_me: program exited with status $ac_status" >&5
1726 $as_echo "$as_me: failed program was:" >&5
1727 sed 's/^/| /' conftest.
$ac_ext >&5
1729 ac_retval
=$ac_status
1731 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1732 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1733 as_fn_set_status
$ac_retval
1737 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1738 # -------------------------------------------------------
1739 # Tests whether HEADER exists and can be compiled using the include files in
1740 # INCLUDES, setting the cache variable VAR accordingly.
1741 ac_fn_c_check_header_compile
()
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 eval \
${$3+:} false
; then :
1747 $as_echo_n "(cached) " >&6
1749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1750 /* end confdefs.h. */
1754 if ac_fn_c_try_compile
"$LINENO"; then :
1759 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1763 $as_echo "$ac_res" >&6; }
1764 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1766 } # ac_fn_c_check_header_compile
1768 # ac_fn_c_try_link LINENO
1769 # -----------------------
1770 # Try to link conftest.$ac_ext, and return whether this succeeded.
1773 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1774 rm -f conftest.
$ac_objext conftest
$ac_exeext
1775 if { { ac_try
="$ac_link"
1777 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1778 *) ac_try_echo=$ac_try;;
1780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1781 $as_echo "$ac_try_echo"; } >&5
1782 (eval "$ac_link") 2>conftest.err
1784 if test -s conftest.err; then
1785 grep -v '^ *+' conftest.err >conftest.er1
1786 cat conftest.er1 >&5
1787 mv -f conftest.er1 conftest.err
1789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1790 test $ac_status = 0; } && {
1791 test -z "$ac_c_werror_flag" ||
1792 test ! -s conftest.err
1793 } && test -s conftest$ac_exeext && {
1794 test "$cross_compiling" = yes ||
1795 test -x conftest$ac_exeext
1799 $as_echo "$as_me: failed program was:" >&5
1800 sed 's/^/| /' conftest.$ac_ext >&5
1804 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1805 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1806 # interfere with the next link command; also delete a directory that is
1807 # left behind by Apple's compiler. We do this before executing the actions.
1808 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1809 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1810 as_fn_set_status $ac_retval
1812 } # ac_fn_c_try_link
1814 # ac_fn_cxx_try_compile LINENO
1815 # ----------------------------
1816 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1817 ac_fn_cxx_try_compile ()
1819 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1820 rm -f conftest.$ac_objext
1821 if { { ac_try="$ac_compile"
1823 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1824 *) ac_try_echo
=$ac_try;;
1826 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1827 $as_echo "$ac_try_echo"; } >&5
1828 (eval "$ac_compile") 2>conftest.err
1830 if test -s conftest.err
; then
1831 grep -v '^ *+' conftest.err
>conftest.er1
1832 cat conftest.er1
>&5
1833 mv -f conftest.er1 conftest.err
1835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1836 test $ac_status = 0; } && {
1837 test -z "$ac_cxx_werror_flag" ||
1838 test ! -s conftest.err
1839 } && test -s conftest.
$ac_objext; then :
1842 $as_echo "$as_me: failed program was:" >&5
1843 sed 's/^/| /' conftest.
$ac_ext >&5
1847 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1848 as_fn_set_status
$ac_retval
1850 } # ac_fn_cxx_try_compile
1852 # ac_fn_c_check_func LINENO FUNC VAR
1853 # ----------------------------------
1854 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1855 ac_fn_c_check_func
()
1857 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1859 $as_echo_n "checking for $2... " >&6; }
1860 if eval \
${$3+:} false
; then :
1861 $as_echo_n "(cached) " >&6
1863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1864 /* end confdefs.h. */
1865 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1867 #define $2 innocuous_$2
1869 /* System header to define __stub macros and hopefully few prototypes,
1870 which can conflict with char $2 (); below.
1871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1872 <limits.h> exists even on freestanding compilers. */
1875 # include <limits.h>
1877 # include <assert.h>
1882 /* Override any GCC internal prototype to avoid an error.
1883 Use char because int might match the return type of a GCC
1884 builtin and then its argument prototype would still apply. */
1889 /* The GNU C library defines this for functions which it implements
1890 to always fail with ENOSYS. Some functions are actually named
1891 something starting with __ and the normal name is an alias. */
1892 #if defined __stub_$2 || defined __stub___$2
1904 if ac_fn_c_try_link
"$LINENO"; then :
1909 rm -f core conftest.err conftest.
$ac_objext \
1910 conftest
$ac_exeext conftest.
$ac_ext
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1914 $as_echo "$ac_res" >&6; }
1915 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1917 } # ac_fn_c_check_func
1919 # ac_fn_cxx_try_cpp LINENO
1920 # ------------------------
1921 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1922 ac_fn_cxx_try_cpp
()
1924 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1925 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1927 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1928 *) ac_try_echo=$ac_try;;
1930 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1931 $as_echo "$ac_try_echo"; } >&5
1932 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1934 if test -s conftest.err; then
1935 grep -v '^ *+' conftest.err >conftest.er1
1936 cat conftest.er1 >&5
1937 mv -f conftest.er1 conftest.err
1939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1940 test $ac_status = 0; } > conftest.i && {
1941 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1942 test ! -s conftest.err
1946 $as_echo "$as_me: failed program was:" >&5
1947 sed 's/^/| /' conftest.$ac_ext >&5
1951 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1952 as_fn_set_status $ac_retval
1954 } # ac_fn_cxx_try_cpp
1956 # ac_fn_cxx_try_link LINENO
1957 # -------------------------
1958 # Try to link conftest.$ac_ext, and return whether this succeeded.
1959 ac_fn_cxx_try_link ()
1961 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1962 rm -f conftest.$ac_objext conftest$ac_exeext
1963 if { { ac_try="$ac_link"
1965 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1966 *) ac_try_echo
=$ac_try;;
1968 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1969 $as_echo "$ac_try_echo"; } >&5
1970 (eval "$ac_link") 2>conftest.err
1972 if test -s conftest.err
; then
1973 grep -v '^ *+' conftest.err
>conftest.er1
1974 cat conftest.er1
>&5
1975 mv -f conftest.er1 conftest.err
1977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1978 test $ac_status = 0; } && {
1979 test -z "$ac_cxx_werror_flag" ||
1980 test ! -s conftest.err
1981 } && test -s conftest
$ac_exeext && {
1982 test "$cross_compiling" = yes ||
1983 test -x conftest
$ac_exeext
1987 $as_echo "$as_me: failed program was:" >&5
1988 sed 's/^/| /' conftest.
$ac_ext >&5
1992 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1993 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1994 # interfere with the next link command; also delete a directory that is
1995 # left behind by Apple's compiler. We do this before executing the actions.
1996 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1997 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1998 as_fn_set_status
$ac_retval
2000 } # ac_fn_cxx_try_link
2002 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2003 # -------------------------------------------
2004 # Tests whether TYPE exists after having included INCLUDES, setting cache
2005 # variable VAR accordingly.
2006 ac_fn_c_check_type
()
2008 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2010 $as_echo_n "checking for $2... " >&6; }
2011 if eval \
${$3+:} false
; then :
2012 $as_echo_n "(cached) " >&6
2015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2016 /* end confdefs.h. */
2027 if ac_fn_c_try_compile
"$LINENO"; then :
2028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2029 /* end confdefs.h. */
2040 if ac_fn_c_try_compile
"$LINENO"; then :
2045 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2047 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2051 $as_echo "$ac_res" >&6; }
2052 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2054 } # ac_fn_c_check_type
2055 cat >config.log
<<_ACEOF
2056 This file contains any messages produced by compilers while
2057 running configure, to aid debugging if configure makes a mistake.
2059 It was created by gdbmobj $as_me 0.10, which was
2060 generated by GNU Autoconf 2.69. Invocation command line was
2072 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2073 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2074 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2075 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2076 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2078 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2079 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2081 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2082 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2083 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2084 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2085 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2086 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2087 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2095 test -z "$as_dir" && as_dir
=.
2096 $as_echo "PATH: $as_dir"
2112 # Keep a trace of the command line.
2113 # Strip out --no-create and --no-recursion so they do not pile up.
2114 # Strip out --silent because we don't want to record it for future runs.
2115 # Also quote any args containing shell meta-characters.
2116 # Make two passes to allow for proper duplicate-argument suppression.
2120 ac_must_keep_next
=false
2126 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2127 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2128 |
-silent |
--silent |
--silen |
--sile |
--sil)
2131 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2134 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2136 as_fn_append ac_configure_args1
" '$ac_arg'"
2137 if test $ac_must_keep_next = true
; then
2138 ac_must_keep_next
=false
# Got value, back to normal.
2141 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2142 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2143 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2144 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2145 case "$ac_configure_args0 " in
2146 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2149 -* ) ac_must_keep_next
=true
;;
2152 as_fn_append ac_configure_args
" '$ac_arg'"
2157 { ac_configure_args0
=; unset ac_configure_args0
;}
2158 { ac_configure_args1
=; unset ac_configure_args1
;}
2160 # When interrupted or exit'd, cleanup temporary files, and complete
2161 # config.log. We remove comments because anyway the quotes in there
2162 # would cause problems or look ugly.
2163 # WARNING: Use '\'' to represent an apostrophe within the trap.
2164 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2165 trap 'exit_status=$?
2166 # Save into config.log some information that might help in debugging.
2170 $as_echo "## ---------------- ##
2171 ## Cache variables. ##
2172 ## ---------------- ##"
2174 # The following way of writing the cache mishandles newlines in values,
2176 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2177 eval ac_val=\$$ac_var
2181 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2182 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2185 _ | IFS | as_nl) ;; #(
2186 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2187 *) { eval $ac_var=; unset $ac_var;} ;;
2192 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2193 *${as_nl}ac_space=\ *)
2195 "s/'\''/'\''\\\\'\'''\''/g;
2196 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2199 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2206 $as_echo "## ----------------- ##
2207 ## Output variables. ##
2208 ## ----------------- ##"
2210 for ac_var in $ac_subst_vars
2212 eval ac_val=\$$ac_var
2214 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2216 $as_echo "$ac_var='\''$ac_val'\''"
2220 if test -n "$ac_subst_files"; then
2221 $as_echo "## ------------------- ##
2222 ## File substitutions. ##
2223 ## ------------------- ##"
2225 for ac_var
in $ac_subst_files
2227 eval ac_val
=\$
$ac_var
2229 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2231 $as_echo "$ac_var='\''$ac_val'\''"
2236 if test -s confdefs.h; then
2237 $as_echo "## ----------- ##
2244 test "$ac_signal" != 0 &&
2245 $as_echo "$as_me: caught signal $ac_signal"
2246 $as_echo "$as_me: exit $exit_status"
2248 rm -f core *.core core.conftest.* &&
2249 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2252 for ac_signal
in 1 2 13 15; do
2253 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2257 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2258 rm -f -r conftest
* confdefs.h
2260 $as_echo "/* confdefs.h */" > confdefs.h
2262 # Predefined preprocessor variables.
2264 cat >>confdefs.h
<<_ACEOF
2265 #define PACKAGE_NAME "$PACKAGE_NAME"
2268 cat >>confdefs.h
<<_ACEOF
2269 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2272 cat >>confdefs.h
<<_ACEOF
2273 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2276 cat >>confdefs.h
<<_ACEOF
2277 #define PACKAGE_STRING "$PACKAGE_STRING"
2280 cat >>confdefs.h
<<_ACEOF
2281 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2284 cat >>confdefs.h
<<_ACEOF
2285 #define PACKAGE_URL "$PACKAGE_URL"
2289 # Let the site file select an alternate cache file if it wants to.
2290 # Prefer an explicitly selected file to automatically selected ones.
2293 if test -n "$CONFIG_SITE"; then
2294 # We do not want a PATH search for config.site.
2295 case $CONFIG_SITE in #((
2296 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2297 */*) ac_site_file1
=$CONFIG_SITE;;
2298 *) ac_site_file1
=.
/$CONFIG_SITE;;
2300 elif test "x$prefix" != xNONE
; then
2301 ac_site_file1
=$prefix/share
/config.site
2302 ac_site_file2
=$prefix/etc
/config.site
2304 ac_site_file1
=$ac_default_prefix/share
/config.site
2305 ac_site_file2
=$ac_default_prefix/etc
/config.site
2307 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2309 test "x$ac_site_file" = xNONE
&& continue
2310 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2312 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2313 sed 's/^/| /' "$ac_site_file" >&5
2315 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2316 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2317 as_fn_error $?
"failed to load site script $ac_site_file
2318 See \`config.log' for more details" "$LINENO" 5; }
2322 if test -r "$cache_file"; then
2323 # Some versions of bash will fail to source /dev/null (special files
2324 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2325 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2327 $as_echo "$as_me: loading cache $cache_file" >&6;}
2329 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2330 *) .
"./$cache_file";;
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2335 $as_echo "$as_me: creating cache $cache_file" >&6;}
2339 # Check that the precious variables saved in the cache have kept the same
2341 ac_cache_corrupted
=false
2342 for ac_var
in $ac_precious_vars; do
2343 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2344 eval ac_new_set
=\
$ac_env_${ac_var}_set
2345 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2346 eval ac_new_val
=\
$ac_env_${ac_var}_value
2347 case $ac_old_set,$ac_new_set in
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2350 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2351 ac_cache_corrupted
=: ;;
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2354 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2355 ac_cache_corrupted
=: ;;
2358 if test "x$ac_old_val" != "x$ac_new_val"; then
2359 # differences in whitespace do not lead to failure.
2360 ac_old_val_w
=`echo x $ac_old_val`
2361 ac_new_val_w
=`echo x $ac_new_val`
2362 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2364 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2365 ac_cache_corrupted
=:
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2368 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2369 eval $ac_var=\
$ac_old_val
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2372 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2374 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2377 # Pass precious variables to config.status.
2378 if test "$ac_new_set" = set; then
2380 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2381 *) ac_arg
=$ac_var=$ac_new_val ;;
2383 case " $ac_configure_args " in
2384 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2385 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2389 if $ac_cache_corrupted; then
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2393 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2394 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2396 ## -------------------- ##
2397 ## Main body of script. ##
2398 ## -------------------- ##
2401 ac_cpp
='$CPP $CPPFLAGS'
2402 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2403 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2404 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2408 >confdefs.h
# Kill PACKAGE_ macros
2412 for ac_dir
in ..
/..
"$srcdir"/..
/..
; do
2413 if test -f "$ac_dir/install-sh"; then
2415 ac_install_sh
="$ac_aux_dir/install-sh -c"
2417 elif test -f "$ac_dir/install.sh"; then
2419 ac_install_sh
="$ac_aux_dir/install.sh -c"
2421 elif test -f "$ac_dir/shtool"; then
2423 ac_install_sh
="$ac_aux_dir/shtool install -c"
2427 if test -z "$ac_aux_dir"; then
2428 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
2431 # These three variables are undocumented and unsupported,
2432 # and are intended to be withdrawn in a future Autoconf release.
2433 # They can cause serious problems if a builder's source tree is in a directory
2434 # whose full name contains unusual characters.
2435 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2436 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2437 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2440 am__api_version
='1.15'
2442 # Find a good install program. We prefer a C program (faster),
2443 # so one script is as good as another. But avoid the broken or
2444 # incompatible versions:
2445 # SysV /etc/install, /usr/sbin/install
2446 # SunOS /usr/etc/install
2447 # IRIX /sbin/install
2449 # AmigaOS /C/install, which installs bootblocks on floppy discs
2450 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2451 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2452 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2453 # OS/2's system install, which has a completely different semantic
2454 # ./install, which can be erroneously created by make from ./install.sh.
2455 # Reject install programs that cannot install multiple files.
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2457 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2458 if test -z "$INSTALL"; then
2459 if ${ac_cv_path_install+:} false
; then :
2460 $as_echo_n "(cached) " >&6
2462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2466 test -z "$as_dir" && as_dir
=.
2467 # Account for people who put trailing slashes in PATH elements.
2468 case $as_dir/ in #((
2469 .
/ | .
// |
/[cC
]/* | \
2470 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2471 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2474 # OSF1 and SCO ODT 3.0 have their own names for install.
2475 # Don't use installbsd from OSF since it installs stuff as root
2477 for ac_prog
in ginstall scoinst
install; do
2478 for ac_exec_ext
in '' $ac_executable_extensions; do
2479 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2480 if test $ac_prog = install &&
2481 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2482 # AIX install. It has an incompatible calling convention.
2484 elif test $ac_prog = install &&
2485 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2486 # program-specific install script used by HP pwplus--don't use.
2489 rm -rf conftest.one conftest.two conftest.dir
2490 echo one
> conftest.one
2491 echo two
> conftest.two
2493 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2494 test -s conftest.one
&& test -s conftest.two
&&
2495 test -s conftest.dir
/conftest.one
&&
2496 test -s conftest.dir
/conftest.two
2498 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2511 rm -rf conftest.one conftest.two conftest.dir
2514 if test "${ac_cv_path_install+set}" = set; then
2515 INSTALL
=$ac_cv_path_install
2517 # As a last resort, use the slow shell script. Don't cache a
2518 # value for INSTALL within a source directory, because that will
2519 # break other packages using the cache if that directory is
2520 # removed, or if the value is a relative name.
2521 INSTALL
=$ac_install_sh
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2525 $as_echo "$INSTALL" >&6; }
2527 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2528 # It thinks the first close brace ends the variable substitution.
2529 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2531 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2533 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2536 $as_echo_n "checking whether build environment is sane... " >&6; }
2537 # Reject unsafe characters in $srcdir or the absolute working directory
2538 # name. Accept space and tab only in the latter.
2542 *[\\\"\
#\$\&\'\`$am_lf]*)
2543 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2546 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2547 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2550 # Do 'set' in a subshell so we don't clobber the current shell's
2551 # arguments. Must try -L first in case configure is actually a
2552 # symlink; some systems play weird games with the mod time of symlinks
2553 # (eg FreeBSD returns the mod time of the symlink's containing
2557 for am_try
in 1 2; do
2558 echo "timestamp, slept: $am_has_slept" > conftest.
file
2559 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2560 if test "$*" = "X"; then
2562 set X
`ls -t "$srcdir/configure" conftest.file`
2564 if test "$*" != "X $srcdir/configure conftest.file" \
2565 && test "$*" != "X conftest.file $srcdir/configure"; then
2567 # If neither matched, then we have a broken ls. This can happen
2568 # if, for instance, CONFIG_SHELL is bash and it inherits a
2569 # broken ls alias from the environment. This has actually
2570 # happened. Such a system could not be considered "sane".
2571 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2572 alias in your environment" "$LINENO" 5
2574 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2581 test "$2" = conftest.
file
2587 as_fn_error $?
"newly created file is older than distributed files!
2588 Check your system clock" "$LINENO" 5
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2591 $as_echo "yes" >&6; }
2592 # If we didn't sleep, we still need to ensure time stamps of config.status and
2593 # generated files are strictly newer.
2595 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2602 test "$program_prefix" != NONE
&&
2603 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2604 # Use a double $ so make ignores it.
2605 test "$program_suffix" != NONE
&&
2606 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2607 # Double any \ or $.
2608 # By default was `s,x,x', remove it if useless.
2609 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2610 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2612 # Expand $ac_aux_dir to an absolute path.
2613 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2615 if test x
"${MISSING+set}" != xset
; then
2618 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2620 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2623 # Use eval to expand $SHELL
2624 if eval "$MISSING --is-lightweight"; then
2625 am_missing_run
="$MISSING "
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2629 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2632 if test x
"${install_sh+set}" != xset
; then
2635 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2637 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2641 # Installed binaries are usually stripped using 'strip' when the user
2642 # run "make install-strip". However 'strip' might not be the right
2643 # tool to use in cross-compilation environments, therefore Automake
2644 # will honor the 'STRIP' environment variable to overrule this program.
2645 if test "$cross_compiling" != no
; then
2646 if test -n "$ac_tool_prefix"; then
2647 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2648 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2650 $as_echo_n "checking for $ac_word... " >&6; }
2651 if ${ac_cv_prog_STRIP+:} false
; then :
2652 $as_echo_n "(cached) " >&6
2654 if test -n "$STRIP"; then
2655 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2661 test -z "$as_dir" && as_dir
=.
2662 for ac_exec_ext
in '' $ac_executable_extensions; do
2663 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2664 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2674 STRIP
=$ac_cv_prog_STRIP
2675 if test -n "$STRIP"; then
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2677 $as_echo "$STRIP" >&6; }
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2680 $as_echo "no" >&6; }
2685 if test -z "$ac_cv_prog_STRIP"; then
2687 # Extract the first word of "strip", so it can be a program name with args.
2688 set dummy strip
; ac_word
=$2
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2690 $as_echo_n "checking for $ac_word... " >&6; }
2691 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2692 $as_echo_n "(cached) " >&6
2694 if test -n "$ac_ct_STRIP"; then
2695 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2701 test -z "$as_dir" && as_dir
=.
2702 for ac_exec_ext
in '' $ac_executable_extensions; do
2703 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2704 ac_cv_prog_ac_ct_STRIP
="strip"
2705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2714 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2715 if test -n "$ac_ct_STRIP"; then
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2717 $as_echo "$ac_ct_STRIP" >&6; }
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2720 $as_echo "no" >&6; }
2723 if test "x$ac_ct_STRIP" = x
; then
2726 case $cross_compiling:$ac_tool_warned in
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2729 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2730 ac_tool_warned
=yes ;;
2735 STRIP
="$ac_cv_prog_STRIP"
2739 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2742 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2743 if test -z "$MKDIR_P"; then
2744 if ${ac_cv_path_mkdir+:} false
; then :
2745 $as_echo_n "(cached) " >&6
2747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2748 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2751 test -z "$as_dir" && as_dir
=.
2752 for ac_prog
in mkdir gmkdir
; do
2753 for ac_exec_ext
in '' $ac_executable_extensions; do
2754 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2755 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2756 'mkdir (GNU coreutils) '* | \
2757 'mkdir (coreutils) '* | \
2758 'mkdir (fileutils) '4.1*)
2759 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2769 test -d .
/--version && rmdir .
/--version
2770 if test "${ac_cv_path_mkdir+set}" = set; then
2771 MKDIR_P
="$ac_cv_path_mkdir -p"
2773 # As a last resort, use the slow shell script. Don't cache a
2774 # value for MKDIR_P within a source directory, because that will
2775 # break other packages using the cache if that directory is
2776 # removed, or if the value is a relative name.
2777 MKDIR_P
="$ac_install_sh -d"
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2781 $as_echo "$MKDIR_P" >&6; }
2783 for ac_prog
in gawk mawk nawk
awk
2785 # Extract the first word of "$ac_prog", so it can be a program name with args.
2786 set dummy
$ac_prog; ac_word
=$2
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2788 $as_echo_n "checking for $ac_word... " >&6; }
2789 if ${ac_cv_prog_AWK+:} false
; then :
2790 $as_echo_n "(cached) " >&6
2792 if test -n "$AWK"; then
2793 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2799 test -z "$as_dir" && as_dir
=.
2800 for ac_exec_ext
in '' $ac_executable_extensions; do
2801 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2802 ac_cv_prog_AWK
="$ac_prog"
2803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2813 if test -n "$AWK"; then
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2815 $as_echo "$AWK" >&6; }
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2818 $as_echo "no" >&6; }
2822 test -n "$AWK" && break
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2826 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2828 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2829 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2830 $as_echo_n "(cached) " >&6
2832 cat >conftest.
make <<\_ACEOF
2835 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2837 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2838 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2840 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2842 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2846 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2848 $as_echo "yes" >&6; }
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2852 $as_echo "no" >&6; }
2853 SET_MAKE
="MAKE=${MAKE-make}"
2856 rm -rf .tst
2>/dev
/null
2857 mkdir .tst
2>/dev
/null
2858 if test -d .tst
; then
2863 rmdir .tst
2>/dev
/null
2865 # Check whether --enable-silent-rules was given.
2866 if test "${enable_silent_rules+set}" = set; then :
2867 enableval
=$enable_silent_rules;
2870 case $enable_silent_rules in # (((
2871 yes) AM_DEFAULT_VERBOSITY
=0;;
2872 no
) AM_DEFAULT_VERBOSITY
=1;;
2873 *) AM_DEFAULT_VERBOSITY
=1;;
2875 am_make
=${MAKE-make}
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2877 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2878 if ${am_cv_make_support_nested_variables+:} false
; then :
2879 $as_echo_n "(cached) " >&6
2881 if $as_echo 'TRUE=$(BAR$(V))
2887 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2888 am_cv_make_support_nested_variables
=yes
2890 am_cv_make_support_nested_variables
=no
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2894 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2895 if test $am_cv_make_support_nested_variables = yes; then
2897 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2899 AM_V
=$AM_DEFAULT_VERBOSITY
2900 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2904 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2905 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2906 # is not polluted with repeated "-I."
2907 am__isrc
=' -I$(srcdir)'
2908 # test to see if srcdir already configured
2909 if test -f $srcdir/config.status
; then
2910 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2914 # test whether we have cygpath
2915 if test -z "$CYGPATH_W"; then
2916 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2917 CYGPATH_W
='cygpath -w'
2924 # Define the identity of the package.
2929 # Some tools Automake needs.
2931 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2934 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2937 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2940 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2943 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2945 # For better backward compatibility. To be removed once Automake 1.9.x
2946 # dies out for good. For more background, see:
2947 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2948 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2949 mkdir_p
='$(MKDIR_P)'
2951 # We need awk for the "check" target (and possibly the TAP driver). The
2952 # system "awk" is bad on some platforms.
2953 # Always define AMTAR for backward compatibility. Yes, it's still used
2954 # in the wild :-( We should find a proper way to deprecate it ...
2958 # We'll loop over all known methods to create a tar archive until one works.
2959 _am_tools
='gnutar pax cpio none'
2961 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2968 # POSIX will say in a future version that running "rm -f" with no argument
2969 # is OK; and we want to be able to make that assumption in our Makefile
2970 # recipes. So use an aggressive probe to check that the usage we want is
2971 # actually supported "in the wild" to an acceptable degree.
2972 # See automake bug#10828.
2973 # To make any issue more visible, cause the running configure to be aborted
2974 # by default if the 'rm' program in use doesn't match our expectations; the
2975 # user can still override this though.
2976 if rm -f && rm -fr && rm -rf; then : OK
; else
2980 Your 'rm' program seems unable to run without file operands specified
2981 on the command line, even when the '-f' option is present. This is contrary
2982 to the behaviour of most rm programs out there, and not conforming with
2983 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2985 Please tell bug-automake@gnu.org about your system, including the value
2986 of your $PATH and any error possibly output before this message. This
2987 can help us improve future automake versions.
2990 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
2991 echo 'Configuration will proceed anyway, since you have set the' >&2
2992 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2996 Aborting the configuration process, to ensure you take notice of the issue.
2998 You can download and install GNU coreutils to get an 'rm' implementation
2999 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3001 If you want to complete the configuration process using your problematic
3002 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3003 to "yes", and re-run configure.
3006 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3010 ac_config_headers
="$ac_config_headers config.h"
3013 DEPDIR
="${am__leading_dot}deps"
3015 ac_config_commands
="$ac_config_commands depfiles"
3018 am_make
=${MAKE-make}
3019 cat > confinc
<< 'END'
3021 @
echo this is the am__doit target
3024 # If we don't find an include directive, just comment out the code.
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3026 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3030 # First try GNU make style include.
3031 echo "include confinc" > confmf
3032 # Ignore all kinds of additional output from 'make'.
3033 case `$am_make -s -f confmf 2> /dev/null` in #(
3034 *the\ am__doit\ target
*)
3040 # Now try BSD make style include.
3041 if test "$am__include" = "#"; then
3042 echo '.include "confinc"' > confmf
3043 case `$am_make -s -f confmf 2> /dev/null` in #(
3044 *the\ am__doit\ target
*)
3045 am__include
=.include
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3054 $as_echo "$_am_result" >&6; }
3055 rm -f confinc confmf
3057 # Check whether --enable-dependency-tracking was given.
3058 if test "${enable_dependency_tracking+set}" = set; then :
3059 enableval
=$enable_dependency_tracking;
3062 if test "x$enable_dependency_tracking" != xno
; then
3063 am_depcomp
="$ac_aux_dir/depcomp"
3067 if test "x$enable_dependency_tracking" != xno; then
3077 ac_cpp
='$CPP $CPPFLAGS'
3078 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3079 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3080 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3081 if test -n "$ac_tool_prefix"; then
3082 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3083 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3085 $as_echo_n "checking for $ac_word... " >&6; }
3086 if ${ac_cv_prog_CC+:} false
; then :
3087 $as_echo_n "(cached) " >&6
3089 if test -n "$CC"; then
3090 ac_cv_prog_CC
="$CC" # Let the user override the test.
3092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3096 test -z "$as_dir" && as_dir
=.
3097 for ac_exec_ext
in '' $ac_executable_extensions; do
3098 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3099 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3110 if test -n "$CC"; then
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3112 $as_echo "$CC" >&6; }
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3115 $as_echo "no" >&6; }
3120 if test -z "$ac_cv_prog_CC"; then
3122 # Extract the first word of "gcc", so it can be a program name with args.
3123 set dummy gcc
; ac_word
=$2
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3125 $as_echo_n "checking for $ac_word... " >&6; }
3126 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3127 $as_echo_n "(cached) " >&6
3129 if test -n "$ac_ct_CC"; then
3130 ac_cv_prog_ac_ct_CC
="$ac_ct_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 as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3139 ac_cv_prog_ac_ct_CC
="gcc"
3140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3149 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3150 if test -n "$ac_ct_CC"; then
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3152 $as_echo "$ac_ct_CC" >&6; }
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3155 $as_echo "no" >&6; }
3158 if test "x$ac_ct_CC" = x
; then
3161 case $cross_compiling:$ac_tool_warned in
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3164 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3165 ac_tool_warned
=yes ;;
3173 if test -z "$CC"; then
3174 if test -n "$ac_tool_prefix"; then
3175 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3176 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3178 $as_echo_n "checking for $ac_word... " >&6; }
3179 if ${ac_cv_prog_CC+:} false
; then :
3180 $as_echo_n "(cached) " >&6
3182 if test -n "$CC"; then
3183 ac_cv_prog_CC
="$CC" # Let the user override the test.
3185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3189 test -z "$as_dir" && as_dir
=.
3190 for ac_exec_ext
in '' $ac_executable_extensions; do
3191 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3192 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3203 if test -n "$CC"; then
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3205 $as_echo "$CC" >&6; }
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3208 $as_echo "no" >&6; }
3214 if test -z "$CC"; then
3215 # Extract the first word of "cc", so it can be a program name with args.
3216 set dummy cc
; ac_word
=$2
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3218 $as_echo_n "checking for $ac_word... " >&6; }
3219 if ${ac_cv_prog_CC+:} false
; then :
3220 $as_echo_n "(cached) " >&6
3222 if test -n "$CC"; then
3223 ac_cv_prog_CC
="$CC" # Let the user override the test.
3226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3230 test -z "$as_dir" && as_dir
=.
3231 for ac_exec_ext
in '' $ac_executable_extensions; do
3232 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3233 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3234 ac_prog_rejected
=yes
3238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3245 if test $ac_prog_rejected = yes; then
3246 # We found a bogon in the path, so make sure we never use it.
3247 set dummy
$ac_cv_prog_CC
3249 if test $# != 0; then
3250 # We chose a different compiler from the bogus one.
3251 # However, it has the same basename, so the bogon will be chosen
3252 # first if we set CC to just the basename; use the full file name.
3254 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3260 if test -n "$CC"; then
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3262 $as_echo "$CC" >&6; }
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3265 $as_echo "no" >&6; }
3270 if test -z "$CC"; then
3271 if test -n "$ac_tool_prefix"; then
3272 for ac_prog
in cl.exe
3274 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3275 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3277 $as_echo_n "checking for $ac_word... " >&6; }
3278 if ${ac_cv_prog_CC+:} false
; then :
3279 $as_echo_n "(cached) " >&6
3281 if test -n "$CC"; then
3282 ac_cv_prog_CC
="$CC" # Let the user override the test.
3284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3288 test -z "$as_dir" && as_dir
=.
3289 for ac_exec_ext
in '' $ac_executable_extensions; do
3290 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3291 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3302 if test -n "$CC"; then
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3304 $as_echo "$CC" >&6; }
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3307 $as_echo "no" >&6; }
3311 test -n "$CC" && break
3314 if test -z "$CC"; then
3316 for ac_prog
in cl.exe
3318 # Extract the first word of "$ac_prog", so it can be a program name with args.
3319 set dummy
$ac_prog; ac_word
=$2
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3321 $as_echo_n "checking for $ac_word... " >&6; }
3322 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3323 $as_echo_n "(cached) " >&6
3325 if test -n "$ac_ct_CC"; then
3326 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3332 test -z "$as_dir" && as_dir
=.
3333 for ac_exec_ext
in '' $ac_executable_extensions; do
3334 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3335 ac_cv_prog_ac_ct_CC
="$ac_prog"
3336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3345 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3346 if test -n "$ac_ct_CC"; then
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3348 $as_echo "$ac_ct_CC" >&6; }
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3351 $as_echo "no" >&6; }
3355 test -n "$ac_ct_CC" && break
3358 if test "x$ac_ct_CC" = x
; then
3361 case $cross_compiling:$ac_tool_warned in
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3364 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3365 ac_tool_warned
=yes ;;
3374 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3376 as_fn_error $?
"no acceptable C compiler found in \$PATH
3377 See \`config.log' for more details" "$LINENO" 5; }
3379 # Provide some information about the compiler.
3380 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3383 for ac_option
in --version -v -V -qversion; do
3384 { { ac_try
="$ac_compiler $ac_option >&5"
3386 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3387 *) ac_try_echo=$ac_try;;
3389 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3390 $as_echo "$ac_try_echo"; } >&5
3391 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3393 if test -s conftest.err; then
3395 ... rest of stderr output deleted ...
3396 10q' conftest.err >conftest.er1
3397 cat conftest.er1 >&5
3399 rm -f conftest.er1 conftest.err
3400 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3401 test $ac_status = 0; }
3404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3405 /* end confdefs.h. */
3415 ac_clean_files_save=$ac_clean_files
3416 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3417 # Try to create an executable without -o first, disregard a.out.
3418 # It will help us diagnose broken compilers, and finding out an intuition
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3421 $as_echo_n "checking whether the C compiler works... " >&6; }
3422 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3424 # The possible output files:
3425 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3428 for ac_file in $ac_files
3431 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3432 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3437 if { { ac_try="$ac_link_default"
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_link_default") 2>&5
3446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3447 test $ac_status = 0; }; then :
3448 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3449 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3450 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3451 # so that the user can short-circuit this test for compilers unknown to
3453 for ac_file
in $ac_files ''
3455 test -f "$ac_file" ||
continue
3457 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3460 # We found the default executable, but exeext='' is most
3464 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3466 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3468 # We set ac_cv_exeext here because the later test for it is not
3469 # safe: cross compilers may not add the suffix if given an `-o'
3470 # argument, so we may need to know it at that point already.
3471 # Even if this section looks crufty: it has the advantage of
3478 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3483 if test -z "$ac_file"; then :
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3485 $as_echo "no" >&6; }
3486 $as_echo "$as_me: failed program was:" >&5
3487 sed 's/^/| /' conftest.
$ac_ext >&5
3489 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3490 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3491 as_fn_error
77 "C compiler cannot create executables
3492 See \`config.log' for more details" "$LINENO" 5; }
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3495 $as_echo "yes" >&6; }
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3498 $as_echo_n "checking for C compiler default output file name... " >&6; }
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3500 $as_echo "$ac_file" >&6; }
3501 ac_exeext
=$ac_cv_exeext
3503 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3504 ac_clean_files
=$ac_clean_files_save
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3506 $as_echo_n "checking for suffix of executables... " >&6; }
3507 if { { ac_try
="$ac_link"
3509 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3510 *) ac_try_echo=$ac_try;;
3512 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3513 $as_echo "$ac_try_echo"; } >&5
3514 (eval "$ac_link") 2>&5
3516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3517 test $ac_status = 0; }; then :
3518 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3519 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3520 # work properly (i.e., refer to `conftest.exe'), while it won't with
3522 for ac_file
in conftest.exe conftest conftest.
*; do
3523 test -f "$ac_file" ||
continue
3525 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3526 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3532 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3533 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3534 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3535 See \`config.log' for more details" "$LINENO" 5; }
3537 rm -f conftest conftest
$ac_cv_exeext
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3539 $as_echo "$ac_cv_exeext" >&6; }
3541 rm -f conftest.
$ac_ext
3542 EXEEXT
=$ac_cv_exeext
3544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3545 /* end confdefs.h. */
3550 FILE *f = fopen ("conftest.out", "w");
3551 return ferror (f) || fclose (f) != 0;
3557 ac_clean_files
="$ac_clean_files conftest.out"
3558 # Check that the compiler produces executables we can run. If not, either
3559 # the compiler is broken, or we cross compile.
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3561 $as_echo_n "checking whether we are cross compiling... " >&6; }
3562 if test "$cross_compiling" != yes; then
3563 { { ac_try
="$ac_link"
3565 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3566 *) ac_try_echo=$ac_try;;
3568 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3569 $as_echo "$ac_try_echo"; } >&5
3570 (eval "$ac_link") 2>&5
3572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3573 test $ac_status = 0; }
3574 if { ac_try='./conftest$ac_cv_exeext'
3575 { { case "(($ac_try" in
3576 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3577 *) ac_try_echo
=$ac_try;;
3579 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3580 $as_echo "$ac_try_echo"; } >&5
3581 (eval "$ac_try") 2>&5
3583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3584 test $ac_status = 0; }; }; then
3587 if test "$cross_compiling" = maybe
; then
3590 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3592 as_fn_error $?
"cannot run C compiled programs.
3593 If you meant to cross compile, use \`--host'.
3594 See \`config.log' for more details" "$LINENO" 5; }
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3599 $as_echo "$cross_compiling" >&6; }
3601 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3602 ac_clean_files
=$ac_clean_files_save
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3604 $as_echo_n "checking for suffix of object files... " >&6; }
3605 if ${ac_cv_objext+:} false
; then :
3606 $as_echo_n "(cached) " >&6
3608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3609 /* end confdefs.h. */
3619 rm -f conftest.o conftest.obj
3620 if { { ac_try
="$ac_compile"
3622 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3623 *) ac_try_echo=$ac_try;;
3625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3626 $as_echo "$ac_try_echo"; } >&5
3627 (eval "$ac_compile") 2>&5
3629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3630 test $ac_status = 0; }; then :
3631 for ac_file in conftest.o conftest.obj conftest.*; do
3632 test -f "$ac_file" || continue;
3634 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3635 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3640 $as_echo "$as_me: failed program was:" >&5
3641 sed 's/^/| /' conftest.$ac_ext >&5
3643 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3644 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3645 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3646 See \
`config.log' for more details" "$LINENO" 5; }
3648 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3651 $as_echo "$ac_cv_objext" >&6; }
3652 OBJEXT=$ac_cv_objext
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3655 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3656 if ${ac_cv_c_compiler_gnu+:} false; then :
3657 $as_echo_n "(cached) " >&6
3659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3660 /* end confdefs.h. */
3673 if ac_fn_c_try_compile "$LINENO"; then :
3678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3679 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3683 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3684 if test $ac_compiler_gnu = yes; then
3689 ac_test_CFLAGS=${CFLAGS+set}
3690 ac_save_CFLAGS=$CFLAGS
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3692 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3693 if ${ac_cv_prog_cc_g+:} false; then :
3694 $as_echo_n "(cached) " >&6
3696 ac_save_c_werror_flag=$ac_c_werror_flag
3697 ac_c_werror_flag=yes
3700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3701 /* end confdefs.h. */
3711 if ac_fn_c_try_compile "$LINENO"; then :
3715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3716 /* end confdefs.h. */
3726 if ac_fn_c_try_compile "$LINENO"; then :
3729 ac_c_werror_flag=$ac_save_c_werror_flag
3731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3732 /* end confdefs.h. */
3742 if ac_fn_c_try_compile "$LINENO"; then :
3745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3750 ac_c_werror_flag=$ac_save_c_werror_flag
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3753 $as_echo "$ac_cv_prog_cc_g" >&6; }
3754 if test "$ac_test_CFLAGS" = set; then
3755 CFLAGS=$ac_save_CFLAGS
3756 elif test $ac_cv_prog_cc_g = yes; then
3757 if test "$GCC" = yes; then
3763 if test "$GCC" = yes; then
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3770 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3771 if ${ac_cv_prog_cc_c89+:} false; then :
3772 $as_echo_n "(cached) " >&6
3774 ac_cv_prog_cc_c89=no
3776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3777 /* end confdefs.h. */
3781 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3782 struct buf { int x; };
3783 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3784 static char *e (p, i)
3790 static char *f (char * (*g) (char **, int), char **p, ...)
3795 s = g (p, va_arg (v,int));
3800 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3801 function prototypes and stuff, but not '\xHH' hex character constants.
3802 These don't provoke an error unfortunately, instead are silently treated
3803 as 'x'. The following induces an error, until -std is added to get
3804 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3805 array size at least. It's necessary to write '\x00'==0 to get something
3806 that's true only with -std. */
3807 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3809 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3810 inside strings and character constants. */
3812 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3814 int test (int i, double x);
3815 struct s1 {int (*f) (int a);};
3816 struct s2 {int (*f) (double a);};
3817 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3823 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3828 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3829 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3831 CC="$ac_save_CC $ac_arg"
3832 if ac_fn_c_try_compile "$LINENO"; then :
3833 ac_cv_prog_cc_c89=$ac_arg
3835 rm -f core conftest.err conftest.$ac_objext
3836 test "x$ac_cv_prog_cc_c89" != "xno" && break
3838 rm -f conftest.$ac_ext
3843 case "x$ac_cv_prog_cc_c89" in
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3846 $as_echo "none needed" >&6; } ;;
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3849 $as_echo "unsupported" >&6; } ;;
3851 CC="$CC $ac_cv_prog_cc_c89"
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3853 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3855 if test "x$ac_cv_prog_cc_c89" != xno; then :
3860 ac_cpp='$CPP $CPPFLAGS'
3861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3866 ac_cpp='$CPP $CPPFLAGS'
3867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3871 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3872 if ${am_cv_prog_cc_c_o+:} false; then :
3873 $as_echo_n "(cached) " >&6
3875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3876 /* end confdefs.h. */
3886 # Make sure it works both with $CC and with simple cc.
3887 # Following AC_PROG_CC_C_O, we do the test twice because some
3888 # compilers refuse to overwrite an existing .o file with -o,
3889 # though they will create one.
3890 am_cv_prog_cc_c_o=yes
3892 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3893 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3896 (exit $ac_status); } \
3897 && test -f conftest2.$ac_objext; then
3900 am_cv_prog_cc_c_o=no
3904 rm -f core conftest*
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3908 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3909 if test "$am_cv_prog_cc_c_o" != yes; then
3910 # Losing compiler, so override with the script.
3911 # FIXME: It is wrong to rewrite CC.
3912 # But if we don't then we get into trouble of one sort or another.
3913 # A longer-term fix would be to have automake use am__CC in this case,
3914 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3915 CC="$am_aux_dir/compile $CC"
3918 ac_cpp='$CPP $CPPFLAGS'
3919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3924 depcc="$CC" am_compiler_list=
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3927 $as_echo_n "checking dependency style of $depcc... " >&6; }
3928 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3929 $as_echo_n "(cached) " >&6
3931 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3932 # We make a subdir and do the tests there. Otherwise we can end up
3933 # making bogus files that we don't know about and never remove. For
3934 # instance it was reported that on HP-UX the gcc test will end up
3935 # making a dummy file named 'D' -- because '-MD' means "put the output
3939 # Copy depcomp to subdir because otherwise we won't find it if we're
3940 # using a relative directory.
3941 cp "$am_depcomp" conftest.dir
3943 # We will build objects and dependencies in a subdirectory because
3944 # it helps to detect inapplicable dependency modes. For instance
3945 # both Tru64's cc and ICC support -MD to output dependencies as a
3946 # side effect of compilation, but ICC will put the dependencies in
3947 # the current directory while Tru64 will put them in the object
3951 am_cv_CC_dependencies_compiler_type=none
3952 if test "$am_compiler_list" = ""; then
3953 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3956 case " $depcc " in #(
3957 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3960 for depmode in $am_compiler_list; do
3961 # Setup a source with many dependencies, because some compilers
3962 # like to wrap large dependency lists on column 80 (with \), and
3963 # we should not choose a depcomp mode which is confused by this.
3965 # We need to recreate these files for each test, as the compiler may
3966 # overwrite some of them when testing with obscure command lines.
3967 # This happens at least with the AIX C compiler.
3969 for i in 1 2 3 4 5 6; do
3970 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3971 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3972 # Solaris 10 /bin/sh.
3973 echo '/* dummy */' > sub/conftst$i.h
3975 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3977 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3978 # mode. It turns out that the SunPro C++ compiler does not properly
3979 # handle '-M -o', and we need to detect this. Also, some Intel
3980 # versions had trouble with output in subdirs.
3981 am__obj=sub/conftest.${OBJEXT-o}
3982 am__minus_obj="-o $am__obj"
3985 # This depmode causes a compiler race in universal mode.
3986 test "$am__universal" = false || continue
3989 # After this tag, mechanisms are not by side-effect, so they'll
3990 # only be used when explicitly requested.
3991 if test "x$enable_dependency_tracking" = xyes; then
3997 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3998 # This compiler won't grok '-c -o', but also, the minuso test has
3999 # not run yet. These depmodes are late enough in the game, and
4000 # so weak that their functioning should not be impacted.
4001 am__obj=conftest.${OBJEXT-o}
4006 if depmode=$depmode \
4007 source=sub/conftest.c object=$am__obj \
4008 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4009 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4010 >/dev/null 2>conftest.err &&
4011 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4012 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4013 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4014 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4015 # icc doesn't choke on unknown options, it will just issue warnings
4016 # or remarks (even with -Werror). So we grep stderr for any message
4017 # that says an option was ignored or not supported.
4018 # When given -MP, icc 7.0 and 7.1 complain thusly:
4019 # icc: Command line warning: ignoring option '-M'; no argument required
4020 # The diagnosis changed in icc 8.0:
4021 # icc: Command line remark: option '-MP' not supported
4022 if (grep 'ignoring option' conftest.err ||
4023 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4024 am_cv_CC_dependencies_compiler_type=$depmode
4033 am_cv_CC_dependencies_compiler_type=none
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4038 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4039 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4042 test "x$enable_dependency_tracking" != xno \
4043 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4045 am__fastdepCC_FALSE='#'
4047 am__fastdepCC_TRUE='#'
4048 am__fastdepCC_FALSE=
4054 ac_cpp='$CPP $CPPFLAGS'
4055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4059 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4060 # On Suns, sometimes $CPP names a directory.
4061 if test -n "$CPP" && test -d "$CPP"; then
4064 if test -z "$CPP"; then
4065 if ${ac_cv_prog_CPP+:} false; then :
4066 $as_echo_n "(cached) " >&6
4068 # Double quotes because CPP needs to be expanded
4069 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4072 for ac_c_preproc_warn_flag in '' yes
4074 # Use a header file that comes with gcc, so configuring glibc
4075 # with a fresh cross-compiler works.
4076 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4077 # <limits.h> exists even on freestanding compilers.
4078 # On the NeXT, cc -E runs the code through the compiler's parser,
4079 # not just through cpp. "Syntax error" is here to catch this case.
4080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4081 /* end confdefs.h. */
4083 # include <limits.h>
4085 # include <assert.h>
4089 if ac_fn_c_try_cpp "$LINENO"; then :
4092 # Broken: fails on valid input.
4095 rm -f conftest.err conftest.i conftest.$ac_ext
4097 # OK, works on sane cases. Now check whether nonexistent headers
4098 # can be detected and how.
4099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4100 /* end confdefs.h. */
4101 #include <ac_nonexistent.h>
4103 if ac_fn_c_try_cpp "$LINENO"; then :
4104 # Broken: success on invalid input.
4107 # Passes both tests.
4111 rm -f conftest.err conftest.i conftest.$ac_ext
4114 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4115 rm -f conftest.i conftest.err conftest.
$ac_ext
4116 if $ac_preproc_ok; then :
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4129 $as_echo "$CPP" >&6; }
4131 for ac_c_preproc_warn_flag
in '' yes
4133 # Use a header file that comes with gcc, so configuring glibc
4134 # with a fresh cross-compiler works.
4135 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4136 # <limits.h> exists even on freestanding compilers.
4137 # On the NeXT, cc -E runs the code through the compiler's parser,
4138 # not just through cpp. "Syntax error" is here to catch this case.
4139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4140 /* end confdefs.h. */
4142 # include <limits.h>
4144 # include <assert.h>
4148 if ac_fn_c_try_cpp
"$LINENO"; then :
4151 # Broken: fails on valid input.
4154 rm -f conftest.err conftest.i conftest.
$ac_ext
4156 # OK, works on sane cases. Now check whether nonexistent headers
4157 # can be detected and how.
4158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4159 /* end confdefs.h. */
4160 #include <ac_nonexistent.h>
4162 if ac_fn_c_try_cpp
"$LINENO"; then :
4163 # Broken: success on invalid input.
4166 # Passes both tests.
4170 rm -f conftest.err conftest.i conftest.
$ac_ext
4173 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4174 rm -f conftest.i conftest.err conftest.
$ac_ext
4175 if $ac_preproc_ok; then :
4178 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4179 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4180 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4181 See \`config.log' for more details" "$LINENO" 5; }
4185 ac_cpp
='$CPP $CPPFLAGS'
4186 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4187 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4188 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4192 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4193 if ${ac_cv_path_GREP+:} false
; then :
4194 $as_echo_n "(cached) " >&6
4196 if test -z "$GREP"; then
4197 ac_path_GREP_found
=false
4198 # Loop through the user's path and test for each of PROGNAME-LIST
4199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4200 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4203 test -z "$as_dir" && as_dir
=.
4204 for ac_prog
in grep ggrep
; do
4205 for ac_exec_ext
in '' $ac_executable_extensions; do
4206 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4207 as_fn_executable_p
"$ac_path_GREP" ||
continue
4208 # Check for GNU ac_path_GREP and select it if it is found.
4209 # Check for GNU $ac_path_GREP
4210 case `"$ac_path_GREP" --version 2>&1` in
4212 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4215 $as_echo_n 0123456789 >"conftest.in"
4218 cat "conftest.in" "conftest.in" >"conftest.tmp"
4219 mv "conftest.tmp" "conftest.in"
4220 cp "conftest.in" "conftest.nl"
4221 $as_echo 'GREP' >> "conftest.nl"
4222 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4223 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4224 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4225 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4226 # Best one so far, save it but keep looking for a better one
4227 ac_cv_path_GREP
="$ac_path_GREP"
4228 ac_path_GREP_max
=$ac_count
4230 # 10*(2^10) chars as input seems more than enough
4231 test $ac_count -gt 10 && break
4233 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4236 $ac_path_GREP_found && break 3
4241 if test -z "$ac_cv_path_GREP"; then
4242 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4245 ac_cv_path_GREP
=$GREP
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4250 $as_echo "$ac_cv_path_GREP" >&6; }
4251 GREP
="$ac_cv_path_GREP"
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4255 $as_echo_n "checking for egrep... " >&6; }
4256 if ${ac_cv_path_EGREP+:} false
; then :
4257 $as_echo_n "(cached) " >&6
4259 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4260 then ac_cv_path_EGREP
="$GREP -E"
4262 if test -z "$EGREP"; then
4263 ac_path_EGREP_found
=false
4264 # Loop through the user's path and test for each of PROGNAME-LIST
4265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4266 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4269 test -z "$as_dir" && as_dir
=.
4270 for ac_prog
in egrep; do
4271 for ac_exec_ext
in '' $ac_executable_extensions; do
4272 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4273 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4274 # Check for GNU ac_path_EGREP and select it if it is found.
4275 # Check for GNU $ac_path_EGREP
4276 case `"$ac_path_EGREP" --version 2>&1` in
4278 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4281 $as_echo_n 0123456789 >"conftest.in"
4284 cat "conftest.in" "conftest.in" >"conftest.tmp"
4285 mv "conftest.tmp" "conftest.in"
4286 cp "conftest.in" "conftest.nl"
4287 $as_echo 'EGREP' >> "conftest.nl"
4288 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4289 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4290 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4291 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4292 # Best one so far, save it but keep looking for a better one
4293 ac_cv_path_EGREP
="$ac_path_EGREP"
4294 ac_path_EGREP_max
=$ac_count
4296 # 10*(2^10) chars as input seems more than enough
4297 test $ac_count -gt 10 && break
4299 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4302 $ac_path_EGREP_found && break 3
4307 if test -z "$ac_cv_path_EGREP"; then
4308 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4311 ac_cv_path_EGREP
=$EGREP
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4317 $as_echo "$ac_cv_path_EGREP" >&6; }
4318 EGREP
="$ac_cv_path_EGREP"
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4322 $as_echo_n "checking for ANSI C header files... " >&6; }
4323 if ${ac_cv_header_stdc+:} false
; then :
4324 $as_echo_n "(cached) " >&6
4326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4327 /* end confdefs.h. */
4341 if ac_fn_c_try_compile
"$LINENO"; then :
4342 ac_cv_header_stdc
=yes
4344 ac_cv_header_stdc
=no
4346 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4348 if test $ac_cv_header_stdc = yes; then
4349 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4351 /* end confdefs.h. */
4355 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4356 $EGREP "memchr" >/dev
/null
2>&1; then :
4359 ac_cv_header_stdc
=no
4365 if test $ac_cv_header_stdc = yes; then
4366 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4368 /* end confdefs.h. */
4372 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4373 $EGREP "free" >/dev
/null
2>&1; then :
4376 ac_cv_header_stdc
=no
4382 if test $ac_cv_header_stdc = yes; then
4383 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4384 if test "$cross_compiling" = yes; then :
4387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4388 /* end confdefs.h. */
4391 #if ((' ' & 0x0FF) == 0x020)
4392 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4393 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4395 # define ISLOWER(c) \
4396 (('a' <= (c) && (c) <= 'i') \
4397 || ('j' <= (c) && (c) <= 'r') \
4398 || ('s' <= (c) && (c) <= 'z'))
4399 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4402 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4407 for (i = 0; i < 256; i++)
4408 if (XOR (islower (i), ISLOWER (i))
4409 || toupper (i) != TOUPPER (i))
4414 if ac_fn_c_try_run
"$LINENO"; then :
4417 ac_cv_header_stdc
=no
4419 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4420 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4426 $as_echo "$ac_cv_header_stdc" >&6; }
4427 if test $ac_cv_header_stdc = yes; then
4429 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4433 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4434 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4435 inttypes.h stdint.h unistd.h
4437 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4438 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4440 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4441 cat >>confdefs.h
<<_ACEOF
4442 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4451 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4452 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4459 if test "$MINIX" = yes; then
4461 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4464 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4467 $as_echo "#define _MINIX 1" >>confdefs.h
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4473 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4474 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4475 $as_echo_n "(cached) " >&6
4477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4478 /* end confdefs.h. */
4480 # define __EXTENSIONS__ 1
4481 $ac_includes_default
4490 if ac_fn_c_try_compile
"$LINENO"; then :
4491 ac_cv_safe_to_define___extensions__
=yes
4493 ac_cv_safe_to_define___extensions__
=no
4495 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4498 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4499 test $ac_cv_safe_to_define___extensions__ = yes &&
4500 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4502 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4504 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4506 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4508 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4512 ac_cpp
='$CPP $CPPFLAGS'
4513 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4514 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4515 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4516 if test -n "$ac_tool_prefix"; then
4517 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4518 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4520 $as_echo_n "checking for $ac_word... " >&6; }
4521 if ${ac_cv_prog_CC+:} false
; then :
4522 $as_echo_n "(cached) " >&6
4524 if test -n "$CC"; then
4525 ac_cv_prog_CC
="$CC" # Let the user override the test.
4527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4531 test -z "$as_dir" && as_dir
=.
4532 for ac_exec_ext
in '' $ac_executable_extensions; do
4533 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4534 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4545 if test -n "$CC"; then
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4547 $as_echo "$CC" >&6; }
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4550 $as_echo "no" >&6; }
4555 if test -z "$ac_cv_prog_CC"; then
4557 # Extract the first word of "gcc", so it can be a program name with args.
4558 set dummy gcc
; ac_word
=$2
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4560 $as_echo_n "checking for $ac_word... " >&6; }
4561 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4562 $as_echo_n "(cached) " >&6
4564 if test -n "$ac_ct_CC"; then
4565 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4571 test -z "$as_dir" && as_dir
=.
4572 for ac_exec_ext
in '' $ac_executable_extensions; do
4573 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4574 ac_cv_prog_ac_ct_CC
="gcc"
4575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4584 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4585 if test -n "$ac_ct_CC"; then
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4587 $as_echo "$ac_ct_CC" >&6; }
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4590 $as_echo "no" >&6; }
4593 if test "x$ac_ct_CC" = x
; then
4596 case $cross_compiling:$ac_tool_warned in
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4599 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4600 ac_tool_warned
=yes ;;
4608 if test -z "$CC"; then
4609 if test -n "$ac_tool_prefix"; then
4610 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4611 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4613 $as_echo_n "checking for $ac_word... " >&6; }
4614 if ${ac_cv_prog_CC+:} false
; then :
4615 $as_echo_n "(cached) " >&6
4617 if test -n "$CC"; then
4618 ac_cv_prog_CC
="$CC" # Let the user override the test.
4620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4624 test -z "$as_dir" && as_dir
=.
4625 for ac_exec_ext
in '' $ac_executable_extensions; do
4626 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4627 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4638 if test -n "$CC"; then
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4640 $as_echo "$CC" >&6; }
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4643 $as_echo "no" >&6; }
4649 if test -z "$CC"; then
4650 # Extract the first word of "cc", so it can be a program name with args.
4651 set dummy cc
; ac_word
=$2
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4653 $as_echo_n "checking for $ac_word... " >&6; }
4654 if ${ac_cv_prog_CC+:} false
; then :
4655 $as_echo_n "(cached) " >&6
4657 if test -n "$CC"; then
4658 ac_cv_prog_CC
="$CC" # Let the user override the test.
4661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4665 test -z "$as_dir" && as_dir
=.
4666 for ac_exec_ext
in '' $ac_executable_extensions; do
4667 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4668 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4669 ac_prog_rejected
=yes
4673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4680 if test $ac_prog_rejected = yes; then
4681 # We found a bogon in the path, so make sure we never use it.
4682 set dummy
$ac_cv_prog_CC
4684 if test $# != 0; then
4685 # We chose a different compiler from the bogus one.
4686 # However, it has the same basename, so the bogon will be chosen
4687 # first if we set CC to just the basename; use the full file name.
4689 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4695 if test -n "$CC"; then
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4697 $as_echo "$CC" >&6; }
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4700 $as_echo "no" >&6; }
4705 if test -z "$CC"; then
4706 if test -n "$ac_tool_prefix"; then
4707 for ac_prog
in cl.exe
4709 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4710 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4712 $as_echo_n "checking for $ac_word... " >&6; }
4713 if ${ac_cv_prog_CC+:} false
; then :
4714 $as_echo_n "(cached) " >&6
4716 if test -n "$CC"; then
4717 ac_cv_prog_CC
="$CC" # Let the user override the test.
4719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4723 test -z "$as_dir" && as_dir
=.
4724 for ac_exec_ext
in '' $ac_executable_extensions; do
4725 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4726 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4737 if test -n "$CC"; then
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4739 $as_echo "$CC" >&6; }
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4742 $as_echo "no" >&6; }
4746 test -n "$CC" && break
4749 if test -z "$CC"; then
4751 for ac_prog
in cl.exe
4753 # Extract the first word of "$ac_prog", so it can be a program name with args.
4754 set dummy
$ac_prog; ac_word
=$2
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4756 $as_echo_n "checking for $ac_word... " >&6; }
4757 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4758 $as_echo_n "(cached) " >&6
4760 if test -n "$ac_ct_CC"; then
4761 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4767 test -z "$as_dir" && as_dir
=.
4768 for ac_exec_ext
in '' $ac_executable_extensions; do
4769 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4770 ac_cv_prog_ac_ct_CC
="$ac_prog"
4771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4780 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4781 if test -n "$ac_ct_CC"; then
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4783 $as_echo "$ac_ct_CC" >&6; }
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4786 $as_echo "no" >&6; }
4790 test -n "$ac_ct_CC" && break
4793 if test "x$ac_ct_CC" = x
; then
4796 case $cross_compiling:$ac_tool_warned in
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4800 ac_tool_warned
=yes ;;
4809 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4810 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4811 as_fn_error $?
"no acceptable C compiler found in \$PATH
4812 See \`config.log' for more details" "$LINENO" 5; }
4814 # Provide some information about the compiler.
4815 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4818 for ac_option
in --version -v -V -qversion; do
4819 { { ac_try
="$ac_compiler $ac_option >&5"
4821 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4822 *) ac_try_echo=$ac_try;;
4824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4825 $as_echo "$ac_try_echo"; } >&5
4826 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4828 if test -s conftest.err; then
4830 ... rest of stderr output deleted ...
4831 10q' conftest.err >conftest.er1
4832 cat conftest.er1 >&5
4834 rm -f conftest.er1 conftest.err
4835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4836 test $ac_status = 0; }
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4840 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4841 if ${ac_cv_c_compiler_gnu+:} false; then :
4842 $as_echo_n "(cached) " >&6
4844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4845 /* end confdefs.h. */
4858 if ac_fn_c_try_compile "$LINENO"; then :
4863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4864 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4868 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4869 if test $ac_compiler_gnu = yes; then
4874 ac_test_CFLAGS=${CFLAGS+set}
4875 ac_save_CFLAGS=$CFLAGS
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4877 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4878 if ${ac_cv_prog_cc_g+:} false; then :
4879 $as_echo_n "(cached) " >&6
4881 ac_save_c_werror_flag=$ac_c_werror_flag
4882 ac_c_werror_flag=yes
4885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4886 /* end confdefs.h. */
4896 if ac_fn_c_try_compile "$LINENO"; then :
4900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4901 /* end confdefs.h. */
4911 if ac_fn_c_try_compile "$LINENO"; then :
4914 ac_c_werror_flag=$ac_save_c_werror_flag
4916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4917 /* end confdefs.h. */
4927 if ac_fn_c_try_compile "$LINENO"; then :
4930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4935 ac_c_werror_flag=$ac_save_c_werror_flag
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4938 $as_echo "$ac_cv_prog_cc_g" >&6; }
4939 if test "$ac_test_CFLAGS" = set; then
4940 CFLAGS=$ac_save_CFLAGS
4941 elif test $ac_cv_prog_cc_g = yes; then
4942 if test "$GCC" = yes; then
4948 if test "$GCC" = yes; then
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4955 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4956 if ${ac_cv_prog_cc_c89+:} false; then :
4957 $as_echo_n "(cached) " >&6
4959 ac_cv_prog_cc_c89=no
4961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4962 /* end confdefs.h. */
4966 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4967 struct buf { int x; };
4968 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4969 static char *e (p, i)
4975 static char *f (char * (*g) (char **, int), char **p, ...)
4980 s = g (p, va_arg (v,int));
4985 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4986 function prototypes and stuff, but not '\xHH' hex character constants.
4987 These don't provoke an error unfortunately, instead are silently treated
4988 as 'x'. The following induces an error, until -std is added to get
4989 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4990 array size at least. It's necessary to write '\x00'==0 to get something
4991 that's true only with -std. */
4992 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4994 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4995 inside strings and character constants. */
4997 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4999 int test (int i, double x);
5000 struct s1 {int (*f) (int a);};
5001 struct s2 {int (*f) (double a);};
5002 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5008 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5013 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5014 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5016 CC="$ac_save_CC $ac_arg"
5017 if ac_fn_c_try_compile "$LINENO"; then :
5018 ac_cv_prog_cc_c89=$ac_arg
5020 rm -f core conftest.err conftest.$ac_objext
5021 test "x$ac_cv_prog_cc_c89" != "xno" && break
5023 rm -f conftest.$ac_ext
5028 case "x$ac_cv_prog_cc_c89" in
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5031 $as_echo "none needed" >&6; } ;;
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5034 $as_echo "unsupported" >&6; } ;;
5036 CC="$CC $ac_cv_prog_cc_c89"
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5038 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5040 if test "x$ac_cv_prog_cc_c89" != xno; then :
5045 ac_cpp='$CPP $CPPFLAGS'
5046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5051 ac_cpp='$CPP $CPPFLAGS'
5052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5056 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5057 if ${am_cv_prog_cc_c_o+:} false; then :
5058 $as_echo_n "(cached) " >&6
5060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5061 /* end confdefs.h. */
5071 # Make sure it works both with $CC and with simple cc.
5072 # Following AC_PROG_CC_C_O, we do the test twice because some
5073 # compilers refuse to overwrite an existing .o file with -o,
5074 # though they will create one.
5075 am_cv_prog_cc_c_o=yes
5077 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5078 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5081 (exit $ac_status); } \
5082 && test -f conftest2.$ac_objext; then
5085 am_cv_prog_cc_c_o=no
5089 rm -f core conftest*
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5093 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5094 if test "$am_cv_prog_cc_c_o" != yes; then
5095 # Losing compiler, so override with the script.
5096 # FIXME: It is wrong to rewrite CC.
5097 # But if we don't then we get into trouble of one sort or another.
5098 # A longer-term fix would be to have automake use am__CC in this case,
5099 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5100 CC="$am_aux_dir/compile $CC"
5103 ac_cpp='$CPP $CPPFLAGS'
5104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5109 depcc="$CC" am_compiler_list=
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5112 $as_echo_n "checking dependency style of $depcc... " >&6; }
5113 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5114 $as_echo_n "(cached) " >&6
5116 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5117 # We make a subdir and do the tests there. Otherwise we can end up
5118 # making bogus files that we don't know about and never remove. For
5119 # instance it was reported that on HP-UX the gcc test will end up
5120 # making a dummy file named 'D' -- because '-MD' means "put the output
5124 # Copy depcomp to subdir because otherwise we won't find it if we're
5125 # using a relative directory.
5126 cp "$am_depcomp" conftest.dir
5128 # We will build objects and dependencies in a subdirectory because
5129 # it helps to detect inapplicable dependency modes. For instance
5130 # both Tru64's cc and ICC support -MD to output dependencies as a
5131 # side effect of compilation, but ICC will put the dependencies in
5132 # the current directory while Tru64 will put them in the object
5136 am_cv_CC_dependencies_compiler_type=none
5137 if test "$am_compiler_list" = ""; then
5138 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5141 case " $depcc " in #(
5142 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5145 for depmode in $am_compiler_list; do
5146 # Setup a source with many dependencies, because some compilers
5147 # like to wrap large dependency lists on column 80 (with \), and
5148 # we should not choose a depcomp mode which is confused by this.
5150 # We need to recreate these files for each test, as the compiler may
5151 # overwrite some of them when testing with obscure command lines.
5152 # This happens at least with the AIX C compiler.
5154 for i in 1 2 3 4 5 6; do
5155 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5156 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5157 # Solaris 10 /bin/sh.
5158 echo '/* dummy */' > sub/conftst$i.h
5160 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5162 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5163 # mode. It turns out that the SunPro C++ compiler does not properly
5164 # handle '-M -o', and we need to detect this. Also, some Intel
5165 # versions had trouble with output in subdirs.
5166 am__obj=sub/conftest.${OBJEXT-o}
5167 am__minus_obj="-o $am__obj"
5170 # This depmode causes a compiler race in universal mode.
5171 test "$am__universal" = false || continue
5174 # After this tag, mechanisms are not by side-effect, so they'll
5175 # only be used when explicitly requested.
5176 if test "x$enable_dependency_tracking" = xyes; then
5182 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5183 # This compiler won't grok '-c -o', but also, the minuso test has
5184 # not run yet. These depmodes are late enough in the game, and
5185 # so weak that their functioning should not be impacted.
5186 am__obj=conftest.${OBJEXT-o}
5191 if depmode=$depmode \
5192 source=sub/conftest.c object=$am__obj \
5193 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5194 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5195 >/dev/null 2>conftest.err &&
5196 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5197 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5198 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5199 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5200 # icc doesn't choke on unknown options, it will just issue warnings
5201 # or remarks (even with -Werror). So we grep stderr for any message
5202 # that says an option was ignored or not supported.
5203 # When given -MP, icc 7.0 and 7.1 complain thusly:
5204 # icc: Command line warning: ignoring option '-M'; no argument required
5205 # The diagnosis changed in icc 8.0:
5206 # icc: Command line remark: option '-MP' not supported
5207 if (grep 'ignoring option' conftest.err ||
5208 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5209 am_cv_CC_dependencies_compiler_type=$depmode
5218 am_cv_CC_dependencies_compiler_type=none
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5223 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5224 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5227 test "x$enable_dependency_tracking" != xno \
5228 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5230 am__fastdepCC_FALSE='#'
5232 am__fastdepCC_TRUE='#'
5233 am__fastdepCC_FALSE=
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
5238 $as_echo_n "checking for library containing strerror... " >&6; }
5239 if ${ac_cv_search_strerror+:} false; then :
5240 $as_echo_n "(cached) " >&6
5242 ac_func_search_save_LIBS=$LIBS
5243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5244 /* end confdefs.h. */
5246 /* Override any GCC internal prototype to avoid an error.
5247 Use char because int might match the return type of a GCC
5248 builtin and then its argument prototype would still apply. */
5261 for ac_lib in '' cposix; do
5262 if test -z "$ac_lib"; then
5263 ac_res="none required"
5266 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5268 if ac_fn_c_try_link "$LINENO"; then :
5269 ac_cv_search_strerror=$ac_res
5271 rm -f core conftest.err conftest.$ac_objext \
5273 if ${ac_cv_search_strerror+:} false; then :
5277 if ${ac_cv_search_strerror+:} false; then :
5280 ac_cv_search_strerror=no
5283 LIBS=$ac_func_search_save_LIBS
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
5286 $as_echo "$ac_cv_search_strerror" >&6; }
5287 ac_res=$ac_cv_search_strerror
5288 if test "$ac_res" != no; then :
5289 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5293 for ac_prog in gawk mawk nawk awk
5295 # Extract the first word of "$ac_prog", so it can be a program name with args.
5296 set dummy $ac_prog; ac_word=$2
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5298 $as_echo_n "checking for $ac_word... " >&6; }
5299 if ${ac_cv_prog_AWK+:} false; then :
5300 $as_echo_n "(cached) " >&6
5302 if test -n "$AWK"; then
5303 ac_cv_prog_AWK="$AWK" # Let the user override the test.
5305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5309 test -z "$as_dir" && as_dir=.
5310 for ac_exec_ext in '' $ac_executable_extensions; do
5311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5312 ac_cv_prog_AWK="$ac_prog"
5313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5323 if test -n "$AWK"; then
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5325 $as_echo "$AWK" >&6; }
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5328 $as_echo "no" >&6; }
5332 test -n "$AWK" && break
5336 ac_cpp='$CXXCPP $CPPFLAGS'
5337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5340 if test -z "$CXX"; then
5341 if test -n "$CCC"; then
5344 if test -n "$ac_tool_prefix"; then
5345 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5347 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5348 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5350 $as_echo_n "checking for $ac_word... " >&6; }
5351 if ${ac_cv_prog_CXX+:} false; then :
5352 $as_echo_n "(cached) " >&6
5354 if test -n "$CXX"; then
5355 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5361 test -z "$as_dir" && as_dir=.
5362 for ac_exec_ext in '' $ac_executable_extensions; do
5363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5364 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5375 if test -n "$CXX"; then
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5377 $as_echo "$CXX" >&6; }
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5380 $as_echo "no" >&6; }
5384 test -n "$CXX" && break
5387 if test -z "$CXX"; then
5389 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5391 # Extract the first word of "$ac_prog", so it can be a program name with args.
5392 set dummy $ac_prog; ac_word=$2
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5394 $as_echo_n "checking for $ac_word... " >&6; }
5395 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5396 $as_echo_n "(cached) " >&6
5398 if test -n "$ac_ct_CXX"; then
5399 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5405 test -z "$as_dir" && as_dir=.
5406 for ac_exec_ext in '' $ac_executable_extensions; do
5407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5408 ac_cv_prog_ac_ct_CXX="$ac_prog"
5409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5418 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5419 if test -n "$ac_ct_CXX"; then
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5421 $as_echo "$ac_ct_CXX" >&6; }
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5424 $as_echo "no" >&6; }
5428 test -n "$ac_ct_CXX" && break
5431 if test "x$ac_ct_CXX" = x; then
5434 case $cross_compiling:$ac_tool_warned in
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5438 ac_tool_warned=yes ;;
5446 # Provide some information about the compiler.
5447 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5450 for ac_option in --version -v -V -qversion; do
5451 { { ac_try="$ac_compiler $ac_option >&5"
5453 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5454 *) ac_try_echo
=$ac_try;;
5456 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5457 $as_echo "$ac_try_echo"; } >&5
5458 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5460 if test -s conftest.err
; then
5462 ... rest of stderr output deleted ...
5463 10q' conftest.err
>conftest.er1
5464 cat conftest.er1
>&5
5466 rm -f conftest.er1 conftest.err
5467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5468 test $ac_status = 0; }
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5472 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5473 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5474 $as_echo_n "(cached) " >&6
5476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5477 /* end confdefs.h. */
5490 if ac_fn_cxx_try_compile
"$LINENO"; then :
5495 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5496 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5500 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5501 if test $ac_compiler_gnu = yes; then
5506 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5507 ac_save_CXXFLAGS
=$CXXFLAGS
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5509 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5510 if ${ac_cv_prog_cxx_g+:} false
; then :
5511 $as_echo_n "(cached) " >&6
5513 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5514 ac_cxx_werror_flag
=yes
5517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5518 /* end confdefs.h. */
5528 if ac_fn_cxx_try_compile
"$LINENO"; then :
5529 ac_cv_prog_cxx_g
=yes
5532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5533 /* end confdefs.h. */
5543 if ac_fn_cxx_try_compile
"$LINENO"; then :
5546 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5549 /* end confdefs.h. */
5559 if ac_fn_cxx_try_compile
"$LINENO"; then :
5560 ac_cv_prog_cxx_g
=yes
5562 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5564 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5567 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5570 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5571 if test "$ac_test_CXXFLAGS" = set; then
5572 CXXFLAGS
=$ac_save_CXXFLAGS
5573 elif test $ac_cv_prog_cxx_g = yes; then
5574 if test "$GXX" = yes; then
5580 if test "$GXX" = yes; then
5587 ac_cpp
='$CPP $CPPFLAGS'
5588 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5589 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5590 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5592 depcc
="$CXX" am_compiler_list
=
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5595 $as_echo_n "checking dependency style of $depcc... " >&6; }
5596 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
5597 $as_echo_n "(cached) " >&6
5599 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5600 # We make a subdir and do the tests there. Otherwise we can end up
5601 # making bogus files that we don't know about and never remove. For
5602 # instance it was reported that on HP-UX the gcc test will end up
5603 # making a dummy file named 'D' -- because '-MD' means "put the output
5607 # Copy depcomp to subdir because otherwise we won't find it if we're
5608 # using a relative directory.
5609 cp "$am_depcomp" conftest.dir
5611 # We will build objects and dependencies in a subdirectory because
5612 # it helps to detect inapplicable dependency modes. For instance
5613 # both Tru64's cc and ICC support -MD to output dependencies as a
5614 # side effect of compilation, but ICC will put the dependencies in
5615 # the current directory while Tru64 will put them in the object
5619 am_cv_CXX_dependencies_compiler_type
=none
5620 if test "$am_compiler_list" = ""; then
5621 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5624 case " $depcc " in #(
5625 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5628 for depmode
in $am_compiler_list; do
5629 # Setup a source with many dependencies, because some compilers
5630 # like to wrap large dependency lists on column 80 (with \), and
5631 # we should not choose a depcomp mode which is confused by this.
5633 # We need to recreate these files for each test, as the compiler may
5634 # overwrite some of them when testing with obscure command lines.
5635 # This happens at least with the AIX C compiler.
5637 for i
in 1 2 3 4 5 6; do
5638 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5639 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5640 # Solaris 10 /bin/sh.
5641 echo '/* dummy */' > sub
/conftst
$i.h
5643 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5645 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5646 # mode. It turns out that the SunPro C++ compiler does not properly
5647 # handle '-M -o', and we need to detect this. Also, some Intel
5648 # versions had trouble with output in subdirs.
5649 am__obj
=sub
/conftest.
${OBJEXT-o}
5650 am__minus_obj
="-o $am__obj"
5653 # This depmode causes a compiler race in universal mode.
5654 test "$am__universal" = false ||
continue
5657 # After this tag, mechanisms are not by side-effect, so they'll
5658 # only be used when explicitly requested.
5659 if test "x$enable_dependency_tracking" = xyes
; then
5665 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5666 # This compiler won't grok '-c -o', but also, the minuso test has
5667 # not run yet. These depmodes are late enough in the game, and
5668 # so weak that their functioning should not be impacted.
5669 am__obj
=conftest.
${OBJEXT-o}
5674 if depmode
=$depmode \
5675 source=sub
/conftest.c object
=$am__obj \
5676 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5677 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5678 >/dev
/null
2>conftest.err
&&
5679 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5680 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5681 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5682 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5683 # icc doesn't choke on unknown options, it will just issue warnings
5684 # or remarks (even with -Werror). So we grep stderr for any message
5685 # that says an option was ignored or not supported.
5686 # When given -MP, icc 7.0 and 7.1 complain thusly:
5687 # icc: Command line warning: ignoring option '-M'; no argument required
5688 # The diagnosis changed in icc 8.0:
5689 # icc: Command line remark: option '-MP' not supported
5690 if (grep 'ignoring option' conftest.err ||
5691 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5692 am_cv_CXX_dependencies_compiler_type
=$depmode
5701 am_cv_CXX_dependencies_compiler_type
=none
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5706 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5707 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5710 test "x$enable_dependency_tracking" != xno \
5711 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5712 am__fastdepCXX_TRUE
=
5713 am__fastdepCXX_FALSE
='#'
5715 am__fastdepCXX_TRUE
='#'
5716 am__fastdepCXX_FALSE
=
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5723 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5728 macro_version
='2.4.6'
5729 macro_revision
='2.4.6'
5743 ltmain
=$ac_aux_dir/ltmain.sh
5745 # Make sure we can run config.sub.
5746 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
5747 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5750 $as_echo_n "checking build system type... " >&6; }
5751 if ${ac_cv_build+:} false
; then :
5752 $as_echo_n "(cached) " >&6
5754 ac_build_alias
=$build_alias
5755 test "x$ac_build_alias" = x
&&
5756 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
5757 test "x$ac_build_alias" = x
&&
5758 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
5759 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5760 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5764 $as_echo "$ac_cv_build" >&6; }
5765 case $ac_cv_build in
5767 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
5770 ac_save_IFS
=$IFS; IFS
='-'
5776 # Remember, the first character of IFS is used to create $*,
5777 # except with old shells:
5780 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5784 $as_echo_n "checking host system type... " >&6; }
5785 if ${ac_cv_host+:} false
; then :
5786 $as_echo_n "(cached) " >&6
5788 if test "x$host_alias" = x
; then
5789 ac_cv_host
=$ac_cv_build
5791 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5792 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5797 $as_echo "$ac_cv_host" >&6; }
5800 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
5803 ac_save_IFS
=$IFS; IFS
='-'
5809 # Remember, the first character of IFS is used to create $*,
5810 # except with old shells:
5813 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
5816 # Backslashify metacharacters that are still active within
5817 # double-quoted strings.
5818 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5820 # Same as above, but do not quote variable references.
5821 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5823 # Sed substitution to delay expansion of an escaped shell variable in a
5824 # double_quote_subst'ed string.
5825 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5827 # Sed substitution to delay expansion of an escaped single quote.
5828 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5830 # Sed substitution to avoid accidental globbing in evaled expressions
5831 no_glob_subst
='s/\*/\\\*/g'
5833 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5834 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5835 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5838 $as_echo_n "checking how to print strings... " >&6; }
5839 # Test print first, because it will be a builtin if present.
5840 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5841 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5843 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5846 # Use this function as a fallback that always works.
5847 func_fallback_echo ()
5849 eval 'cat <<_LTECHO_EOF
5853 ECHO='func_fallback_echo
'
5856 # func_echo_all arg...
5857 # Invoke $ECHO with all args, space-separated.
5864 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5865 $as_echo "printf" >&6; } ;;
5866 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5867 $as_echo "print -r" >&6; } ;;
5868 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5869 $as_echo "cat" >&6; } ;;
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5886 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5887 if ${ac_cv_path_SED+:} false; then :
5888 $as_echo_n "(cached) " >&6
5890 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5891 for ac_i in 1 2 3 4 5 6 7; do
5892 ac_script="$ac_script$as_nl$ac_script"
5894 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5895 { ac_script=; unset ac_script;}
5896 if test -z "$SED"; then
5897 ac_path_SED_found=false
5898 # Loop through the user's path and
test for each of PROGNAME-LIST
5899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5903 test -z "$as_dir" && as_dir
=.
5904 for ac_prog
in sed gsed
; do
5905 for ac_exec_ext
in '' $ac_executable_extensions; do
5906 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5907 as_fn_executable_p
"$ac_path_SED" ||
continue
5908 # Check for GNU ac_path_SED and select it if it is found.
5909 # Check for GNU $ac_path_SED
5910 case `"$ac_path_SED" --version 2>&1` in
5912 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5915 $as_echo_n 0123456789 >"conftest.in"
5918 cat "conftest.in" "conftest.in" >"conftest.tmp"
5919 mv "conftest.tmp" "conftest.in"
5920 cp "conftest.in" "conftest.nl"
5921 $as_echo '' >> "conftest.nl"
5922 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5923 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5924 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5925 if test $ac_count -gt ${ac_path_SED_max-0}; then
5926 # Best one so far, save it but keep looking for a better one
5927 ac_cv_path_SED
="$ac_path_SED"
5928 ac_path_SED_max
=$ac_count
5930 # 10*(2^10) chars as input seems more than enough
5931 test $ac_count -gt 10 && break
5933 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5936 $ac_path_SED_found && break 3
5941 if test -z "$ac_cv_path_SED"; then
5942 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5950 $as_echo "$ac_cv_path_SED" >&6; }
5951 SED
="$ac_cv_path_SED"
5954 test -z "$SED" && SED
=sed
5955 Xsed
="$SED -e 1s/^X//"
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5968 $as_echo_n "checking for fgrep... " >&6; }
5969 if ${ac_cv_path_FGREP+:} false
; then :
5970 $as_echo_n "(cached) " >&6
5972 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5973 then ac_cv_path_FGREP
="$GREP -F"
5975 if test -z "$FGREP"; then
5976 ac_path_FGREP_found
=false
5977 # Loop through the user's path and test for each of PROGNAME-LIST
5978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5979 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5982 test -z "$as_dir" && as_dir
=.
5983 for ac_prog
in fgrep
; do
5984 for ac_exec_ext
in '' $ac_executable_extensions; do
5985 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5986 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5987 # Check for GNU ac_path_FGREP and select it if it is found.
5988 # Check for GNU $ac_path_FGREP
5989 case `"$ac_path_FGREP" --version 2>&1` in
5991 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5994 $as_echo_n 0123456789 >"conftest.in"
5997 cat "conftest.in" "conftest.in" >"conftest.tmp"
5998 mv "conftest.tmp" "conftest.in"
5999 cp "conftest.in" "conftest.nl"
6000 $as_echo 'FGREP' >> "conftest.nl"
6001 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6002 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6003 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6004 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6005 # Best one so far, save it but keep looking for a better one
6006 ac_cv_path_FGREP
="$ac_path_FGREP"
6007 ac_path_FGREP_max
=$ac_count
6009 # 10*(2^10) chars as input seems more than enough
6010 test $ac_count -gt 10 && break
6012 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6015 $ac_path_FGREP_found && break 3
6020 if test -z "$ac_cv_path_FGREP"; then
6021 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6024 ac_cv_path_FGREP
=$FGREP
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6030 $as_echo "$ac_cv_path_FGREP" >&6; }
6031 FGREP
="$ac_cv_path_FGREP"
6034 test -z "$GREP" && GREP
=grep
6054 # Check whether --with-gnu-ld was given.
6055 if test "${with_gnu_ld+set}" = set; then :
6056 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
6062 if test yes = "$GCC"; then
6063 # Check if gcc -print-prog-name=ld gives a path.
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6065 $as_echo_n "checking for ld used by $CC... " >&6; }
6068 # gcc leaves a trailing carriage return, which upsets mingw
6069 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6071 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6074 # Accept absolute paths.
6076 re_direlt
='/[^/][^/]*/\.\./'
6077 # Canonicalize the pathname of ld
6078 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6079 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6080 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6082 test -z "$LD" && LD
=$ac_prog
6085 # If it fails, then pretend we aren't using GCC.
6089 # If it is relative, then search for the first ld in PATH.
6093 elif test yes = "$with_gnu_ld"; then
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6095 $as_echo_n "checking for GNU ld... " >&6; }
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6098 $as_echo_n "checking for non-GNU ld... " >&6; }
6100 if ${lt_cv_path_LD+:} false
; then :
6101 $as_echo_n "(cached) " >&6
6103 if test -z "$LD"; then
6104 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
6105 for ac_dir
in $PATH; do
6107 test -z "$ac_dir" && ac_dir
=.
6108 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6109 lt_cv_path_LD
=$ac_dir/$ac_prog
6110 # Check to see if the program is GNU ld. I'd rather use --version,
6111 # but apparently some variants of GNU ld only accept -v.
6112 # Break only if it was the GNU/non-GNU ld that we prefer.
6113 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6114 *GNU
* |
*'with BFD'*)
6115 test no
!= "$with_gnu_ld" && break
6118 test yes != "$with_gnu_ld" && break
6125 lt_cv_path_LD
=$LD # Let the user override the test with a path.
6130 if test -n "$LD"; then
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6132 $as_echo "$LD" >&6; }
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6135 $as_echo "no" >&6; }
6137 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6139 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6140 if ${lt_cv_prog_gnu_ld+:} false
; then :
6141 $as_echo_n "(cached) " >&6
6143 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6144 case `$LD -v 2>&1 </dev/null` in
6145 *GNU
* |
*'with BFD'*)
6146 lt_cv_prog_gnu_ld
=yes
6149 lt_cv_prog_gnu_ld
=no
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6154 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6155 with_gnu_ld
=$lt_cv_prog_gnu_ld
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6166 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6167 if ${lt_cv_path_NM+:} false
; then :
6168 $as_echo_n "(cached) " >&6
6170 if test -n "$NM"; then
6171 # Let the user override the test.
6174 lt_nm_to_check
=${ac_tool_prefix}nm
6175 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6176 lt_nm_to_check
="$lt_nm_to_check nm"
6178 for lt_tmp_nm
in $lt_nm_to_check; do
6179 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
6180 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6182 test -z "$ac_dir" && ac_dir
=.
6183 tmp_nm
=$ac_dir/$lt_tmp_nm
6184 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext"; then
6185 # Check to see if the nm accepts a BSD-compat flag.
6186 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6187 # nm: unknown option "B" ignored
6188 # Tru64's nm complains that /dev/null is an invalid object file
6189 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
6191 mingw
*) lt_bad_file
=conftest.nm
/nofile
;;
6192 *) lt_bad_file
=/dev
/null
;;
6194 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
6195 *$lt_bad_file* |
*'Invalid file or object type'*)
6196 lt_cv_path_NM
="$tmp_nm -B"
6200 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6202 lt_cv_path_NM
="$tmp_nm -p"
6206 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6207 continue # so that we can try to find one that supports BSD flags
6216 : ${lt_cv_path_NM=no}
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6220 $as_echo "$lt_cv_path_NM" >&6; }
6221 if test no
!= "$lt_cv_path_NM"; then
6224 # Didn't find any BSD compatible name lister, look for dumpbin.
6225 if test -n "$DUMPBIN"; then :
6226 # Let the user override the test.
6228 if test -n "$ac_tool_prefix"; then
6229 for ac_prog
in dumpbin
"link -dump"
6231 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6232 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6234 $as_echo_n "checking for $ac_word... " >&6; }
6235 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6236 $as_echo_n "(cached) " >&6
6238 if test -n "$DUMPBIN"; then
6239 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6245 test -z "$as_dir" && as_dir
=.
6246 for ac_exec_ext
in '' $ac_executable_extensions; do
6247 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6248 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6258 DUMPBIN
=$ac_cv_prog_DUMPBIN
6259 if test -n "$DUMPBIN"; then
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6261 $as_echo "$DUMPBIN" >&6; }
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6264 $as_echo "no" >&6; }
6268 test -n "$DUMPBIN" && break
6271 if test -z "$DUMPBIN"; then
6272 ac_ct_DUMPBIN
=$DUMPBIN
6273 for ac_prog
in dumpbin
"link -dump"
6275 # Extract the first word of "$ac_prog", so it can be a program name with args.
6276 set dummy
$ac_prog; ac_word
=$2
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6278 $as_echo_n "checking for $ac_word... " >&6; }
6279 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6280 $as_echo_n "(cached) " >&6
6282 if test -n "$ac_ct_DUMPBIN"; then
6283 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6289 test -z "$as_dir" && as_dir
=.
6290 for ac_exec_ext
in '' $ac_executable_extensions; do
6291 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6292 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6302 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6303 if test -n "$ac_ct_DUMPBIN"; then
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6305 $as_echo "$ac_ct_DUMPBIN" >&6; }
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6308 $as_echo "no" >&6; }
6312 test -n "$ac_ct_DUMPBIN" && break
6315 if test "x$ac_ct_DUMPBIN" = x
; then
6318 case $cross_compiling:$ac_tool_warned in
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6321 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6322 ac_tool_warned
=yes ;;
6324 DUMPBIN
=$ac_ct_DUMPBIN
6328 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6330 DUMPBIN
="$DUMPBIN -symbols -headers"
6338 if test : != "$DUMPBIN"; then
6342 test -z "$NM" && NM
=nm
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6350 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6351 if ${lt_cv_nm_interface+:} false
; then :
6352 $as_echo_n "(cached) " >&6
6354 lt_cv_nm_interface
="BSD nm"
6355 echo "int some_variable = 0;" > conftest.
$ac_ext
6356 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6357 (eval "$ac_compile" 2>conftest.err
)
6358 cat conftest.err
>&5
6359 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6360 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6361 cat conftest.err
>&5
6362 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6363 cat conftest.out
>&5
6364 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6365 lt_cv_nm_interface
="MS dumpbin"
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6370 $as_echo "$lt_cv_nm_interface" >&6; }
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6373 $as_echo_n "checking whether ln -s works... " >&6; }
6375 if test "$LN_S" = "ln -s"; then
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6377 $as_echo "yes" >&6; }
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6380 $as_echo "no, using $LN_S" >&6; }
6383 # find the maximum length of command line arguments
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6385 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6386 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6387 $as_echo_n "(cached) " >&6
6394 # On DJGPP, this test can blow up pretty badly due to problems in libc
6395 # (any single argument exceeding 2000 bytes causes a buffer overrun
6396 # during glob expansion). Even if it were fixed, the result of this
6397 # check would be larger than it should be.
6398 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6402 # Under GNU Hurd, this test is not required because there is
6403 # no limit to the length of command line arguments.
6404 # Libtool will interpret -1 as no limit whatsoever
6405 lt_cv_sys_max_cmd_len
=-1;
6408 cygwin
* | mingw
* | cegcc
*)
6409 # On Win9x/ME, this test blows up -- it succeeds, but takes
6410 # about 5 minutes as the teststring grows exponentially.
6411 # Worse, since 9x/ME are not pre-emptively multitasking,
6412 # you end up with a "frozen" computer, even though with patience
6413 # the test eventually succeeds (with a max line length of 256k).
6414 # Instead, let's just punt: use the minimum linelength reported by
6415 # all of the supported platforms: 8192 (on NT/2K/XP).
6416 lt_cv_sys_max_cmd_len
=8192;
6420 # On MiNT this can take a long time and run out of memory.
6421 lt_cv_sys_max_cmd_len
=8192;
6425 # On AmigaOS with pdksh, this test takes hours, literally.
6426 # So we just punt and use a minimum line length of 8192.
6427 lt_cv_sys_max_cmd_len
=8192;
6430 bitrig
* | darwin
* | dragonfly
* | freebsd
* | netbsd
* | openbsd
*)
6431 # This has been around since 386BSD, at least. Likely further.
6432 if test -x /sbin
/sysctl
; then
6433 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6434 elif test -x /usr
/sbin
/sysctl
; then
6435 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6437 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6439 # And add a safety zone
6440 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6441 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6445 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6446 lt_cv_sys_max_cmd_len
=196608
6450 # The test takes a long time on OS/2.
6451 lt_cv_sys_max_cmd_len
=8192
6455 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6456 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6457 # nice to cause kernel panics so lets avoid the loop below.
6458 # First set a reasonable default.
6459 lt_cv_sys_max_cmd_len
=16384
6461 if test -x /sbin
/sysconfig
; then
6462 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6463 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6468 lt_cv_sys_max_cmd_len
=102400
6470 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6471 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6472 if test -n "$kargmax"; then
6473 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6475 lt_cv_sys_max_cmd_len
=32768
6479 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6480 if test -n "$lt_cv_sys_max_cmd_len" && \
6481 test undefined
!= "$lt_cv_sys_max_cmd_len"; then
6482 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6483 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6485 # Make teststring a little bigger before we do anything with it.
6486 # a 1K string should be a reasonable start.
6487 for i
in 1 2 3 4 5 6 7 8; do
6488 teststring
=$teststring$teststring
6490 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6491 # If test is not a shell built-in, we'll probably end up computing a
6492 # maximum length that is only half of the actual maximum length, but
6494 while { test X
`env echo "$teststring$teststring" 2>/dev/null` \
6495 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6496 test 17 != "$i" # 1/2 MB should be enough
6499 teststring
=$teststring$teststring
6501 # Only check the string length outside the loop.
6502 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6504 # Add a significant safety factor because C++ compilers can tack on
6505 # massive amounts of additional arguments before passing them to the
6506 # linker. It appears as though 1/2 is a usable value.
6507 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6514 if test -n "$lt_cv_sys_max_cmd_len"; then
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6516 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6519 $as_echo "none" >&6; }
6521 max_cmd_len
=$lt_cv_sys_max_cmd_len
6532 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6542 # test EBCDIC or ASCII
6543 case `echo X|tr X '\101'` in
6544 A
) # ASCII based system
6545 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6546 lt_SP2NL
='tr \040 \012'
6547 lt_NL2SP
='tr \015\012 \040\040'
6549 *) # EBCDIC based system
6550 lt_SP2NL
='tr \100 \n'
6551 lt_NL2SP
='tr \r\n \100\100'
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6564 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6565 if ${lt_cv_to_host_file_cmd+:} false
; then :
6566 $as_echo_n "(cached) " >&6
6571 *-*-mingw* ) # actually msys
6572 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
6575 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
6577 * ) # otherwise, assume *nix
6578 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
6584 *-*-mingw* ) # actually msys
6585 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
6588 lt_cv_to_host_file_cmd
=func_convert_file_noop
6590 * ) # otherwise, assume *nix
6591 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
6595 * ) # unhandled hosts (and "normal" native builds)
6596 lt_cv_to_host_file_cmd
=func_convert_file_noop
6602 to_host_file_cmd
=$lt_cv_to_host_file_cmd
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6604 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6611 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6612 if ${lt_cv_to_tool_file_cmd+:} false
; then :
6613 $as_echo_n "(cached) " >&6
6615 #assume ordinary cross tools, or native build.
6616 lt_cv_to_tool_file_cmd
=func_convert_file_noop
6620 *-*-mingw* ) # actually msys
6621 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
6629 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6631 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6638 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6639 if ${lt_cv_ld_reload_flag+:} false
; then :
6640 $as_echo_n "(cached) " >&6
6642 lt_cv_ld_reload_flag
='-r'
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6645 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6646 reload_flag
=$lt_cv_ld_reload_flag
6647 case $reload_flag in
6649 *) reload_flag
=" $reload_flag" ;;
6651 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6653 cygwin
* | mingw
* | pw32
* | cegcc
*)
6654 if test yes != "$GCC"; then
6659 if test yes = "$GCC"; then
6660 reload_cmds
='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6662 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6675 if test -n "$ac_tool_prefix"; then
6676 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6677 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6679 $as_echo_n "checking for $ac_word... " >&6; }
6680 if ${ac_cv_prog_OBJDUMP+:} false
; then :
6681 $as_echo_n "(cached) " >&6
6683 if test -n "$OBJDUMP"; then
6684 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6690 test -z "$as_dir" && as_dir
=.
6691 for ac_exec_ext
in '' $ac_executable_extensions; do
6692 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6693 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6703 OBJDUMP
=$ac_cv_prog_OBJDUMP
6704 if test -n "$OBJDUMP"; then
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6706 $as_echo "$OBJDUMP" >&6; }
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6709 $as_echo "no" >&6; }
6714 if test -z "$ac_cv_prog_OBJDUMP"; then
6715 ac_ct_OBJDUMP
=$OBJDUMP
6716 # Extract the first word of "objdump", so it can be a program name with args.
6717 set dummy objdump
; ac_word
=$2
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6719 $as_echo_n "checking for $ac_word... " >&6; }
6720 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
6721 $as_echo_n "(cached) " >&6
6723 if test -n "$ac_ct_OBJDUMP"; then
6724 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6730 test -z "$as_dir" && as_dir
=.
6731 for ac_exec_ext
in '' $ac_executable_extensions; do
6732 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6733 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6743 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6744 if test -n "$ac_ct_OBJDUMP"; then
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6746 $as_echo "$ac_ct_OBJDUMP" >&6; }
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6749 $as_echo "no" >&6; }
6752 if test "x$ac_ct_OBJDUMP" = x
; then
6755 case $cross_compiling:$ac_tool_warned in
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6758 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6759 ac_tool_warned
=yes ;;
6761 OBJDUMP
=$ac_ct_OBJDUMP
6764 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6767 test -z "$OBJDUMP" && OBJDUMP
=objdump
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6778 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6779 if ${lt_cv_deplibs_check_method+:} false
; then :
6780 $as_echo_n "(cached) " >&6
6782 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6783 lt_cv_file_magic_test_file
=
6784 lt_cv_deplibs_check_method
='unknown'
6785 # Need to set the preceding variable on all platforms that support
6786 # interlibrary dependencies.
6787 # 'none' -- dependencies not supported.
6788 # 'unknown' -- same as none, but documents that we really don't know.
6789 # 'pass_all' -- all dependencies passed with no checks.
6790 # 'test_compile' -- check by making test program.
6791 # 'file_magic [[regex]]' -- check by looking for files in library path
6792 # that responds to the $file_magic_cmd with a given extended regex.
6793 # If you have 'file' or equivalent on your system and you're not sure
6794 # whether 'pass_all' will *always* work, you probably want this one.
6798 lt_cv_deplibs_check_method
=pass_all
6802 lt_cv_deplibs_check_method
=pass_all
6806 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6807 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6808 lt_cv_file_magic_test_file
=/shlib
/libc.so
6812 # func_win32_libid is a shell function defined in ltmain.sh
6813 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6814 lt_cv_file_magic_cmd
='func_win32_libid'
6818 # Base MSYS/MinGW do not provide the 'file' command needed by
6819 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6820 # unless we find 'file', for example because we are cross-compiling.
6821 if ( file / ) >/dev
/null
2>&1; then
6822 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6823 lt_cv_file_magic_cmd
='func_win32_libid'
6825 # Keep this pattern in sync with the one in func_win32_libid.
6826 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6827 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6832 # use the weaker test based on 'objdump'. See mingw*.
6833 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6834 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6837 darwin
* | rhapsody
*)
6838 lt_cv_deplibs_check_method
=pass_all
6841 freebsd
* | dragonfly
*)
6842 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6845 # Not sure whether the presence of OpenBSD here was a mistake.
6846 # Let's accept both of them until this is cleared up.
6847 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6848 lt_cv_file_magic_cmd
=/usr
/bin
/file
6849 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6853 lt_cv_deplibs_check_method
=pass_all
6858 lt_cv_deplibs_check_method
=pass_all
6861 hpux10.20
* | hpux11
*)
6862 lt_cv_file_magic_cmd
=/usr
/bin
/file
6865 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6866 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6869 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]'
6870 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6873 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6874 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6880 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6881 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6884 irix5
* | irix6
* | nonstopux
*)
6886 *-32|
*"-32 ") libmagic
=32-bit;;
6887 *-n32|
*"-n32 ") libmagic
=N32
;;
6888 *-64|
*"-64 ") libmagic
=64-bit;;
6889 *) libmagic
=never-match
;;
6891 lt_cv_deplibs_check_method
=pass_all
6894 # This must be glibc/ELF.
6895 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
6896 lt_cv_deplibs_check_method
=pass_all
6900 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6901 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6903 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6908 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6909 lt_cv_file_magic_cmd
=/usr
/bin
/file
6910 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6914 lt_cv_deplibs_check_method
=pass_all
6918 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6919 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6921 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6925 osf3
* | osf4
* | osf5
*)
6926 lt_cv_deplibs_check_method
=pass_all
6930 lt_cv_deplibs_check_method
=pass_all
6934 lt_cv_deplibs_check_method
=pass_all
6937 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6938 lt_cv_deplibs_check_method
=pass_all
6942 case $host_vendor in
6944 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]'
6945 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6948 lt_cv_deplibs_check_method
=pass_all
6951 lt_cv_file_magic_cmd
='/bin/file'
6952 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6955 lt_cv_file_magic_cmd
='/bin/file'
6956 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6957 lt_cv_file_magic_test_file
=/lib
/libc.so
6960 lt_cv_deplibs_check_method
=pass_all
6963 lt_cv_deplibs_check_method
=pass_all
6969 lt_cv_deplibs_check_method
=pass_all
6972 lt_cv_deplibs_check_method
=pass_all
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6978 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6982 if test "$build" = "$host"; then
6985 if ( shopt |
grep nocaseglob
) >/dev
/null
2>&1; then
6988 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6994 file_magic_cmd
=$lt_cv_file_magic_cmd
6995 deplibs_check_method
=$lt_cv_deplibs_check_method
6996 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7019 if test -n "$ac_tool_prefix"; then
7020 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7021 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7023 $as_echo_n "checking for $ac_word... " >&6; }
7024 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7025 $as_echo_n "(cached) " >&6
7027 if test -n "$DLLTOOL"; then
7028 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7034 test -z "$as_dir" && as_dir
=.
7035 for ac_exec_ext
in '' $ac_executable_extensions; do
7036 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7037 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7047 DLLTOOL
=$ac_cv_prog_DLLTOOL
7048 if test -n "$DLLTOOL"; then
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7050 $as_echo "$DLLTOOL" >&6; }
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7053 $as_echo "no" >&6; }
7058 if test -z "$ac_cv_prog_DLLTOOL"; then
7059 ac_ct_DLLTOOL
=$DLLTOOL
7060 # Extract the first word of "dlltool", so it can be a program name with args.
7061 set dummy dlltool
; ac_word
=$2
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7063 $as_echo_n "checking for $ac_word... " >&6; }
7064 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7065 $as_echo_n "(cached) " >&6
7067 if test -n "$ac_ct_DLLTOOL"; then
7068 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7074 test -z "$as_dir" && as_dir
=.
7075 for ac_exec_ext
in '' $ac_executable_extensions; do
7076 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7077 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7087 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7088 if test -n "$ac_ct_DLLTOOL"; then
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7090 $as_echo "$ac_ct_DLLTOOL" >&6; }
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7093 $as_echo "no" >&6; }
7096 if test "x$ac_ct_DLLTOOL" = x
; then
7099 case $cross_compiling:$ac_tool_warned in
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7102 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7103 ac_tool_warned
=yes ;;
7105 DLLTOOL
=$ac_ct_DLLTOOL
7108 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7111 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7123 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7124 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
7125 $as_echo_n "(cached) " >&6
7127 lt_cv_sharedlib_from_linklib_cmd
='unknown'
7130 cygwin
* | mingw
* | pw32
* | cegcc
*)
7131 # two different shell functions defined in ltmain.sh;
7132 # decide which one to use based on capabilities of $DLLTOOL
7133 case `$DLLTOOL --help 2>&1` in
7134 *--identify-strict*)
7135 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
7138 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
7143 # fallback: assume linklib IS sharedlib
7144 lt_cv_sharedlib_from_linklib_cmd
=$ECHO
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7150 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7151 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
7152 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
7160 if test -n "$ac_tool_prefix"; then
7163 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7164 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7166 $as_echo_n "checking for $ac_word... " >&6; }
7167 if ${ac_cv_prog_AR+:} false
; then :
7168 $as_echo_n "(cached) " >&6
7170 if test -n "$AR"; then
7171 ac_cv_prog_AR
="$AR" # Let the user override the test.
7173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7177 test -z "$as_dir" && as_dir
=.
7178 for ac_exec_ext
in '' $ac_executable_extensions; do
7179 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7180 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
7181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7191 if test -n "$AR"; then
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7193 $as_echo "$AR" >&6; }
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7196 $as_echo "no" >&6; }
7200 test -n "$AR" && break
7203 if test -z "$AR"; then
7207 # Extract the first word of "$ac_prog", so it can be a program name with args.
7208 set dummy
$ac_prog; ac_word
=$2
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7210 $as_echo_n "checking for $ac_word... " >&6; }
7211 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
7212 $as_echo_n "(cached) " >&6
7214 if test -n "$ac_ct_AR"; then
7215 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7221 test -z "$as_dir" && as_dir
=.
7222 for ac_exec_ext
in '' $ac_executable_extensions; do
7223 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7224 ac_cv_prog_ac_ct_AR
="$ac_prog"
7225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7234 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7235 if test -n "$ac_ct_AR"; then
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7237 $as_echo "$ac_ct_AR" >&6; }
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7240 $as_echo "no" >&6; }
7244 test -n "$ac_ct_AR" && break
7247 if test "x$ac_ct_AR" = x
; then
7250 case $cross_compiling:$ac_tool_warned in
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7254 ac_tool_warned
=yes ;;
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7274 $as_echo_n "checking for archiver @FILE support... " >&6; }
7275 if ${lt_cv_ar_at_file+:} false
; then :
7276 $as_echo_n "(cached) " >&6
7279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7280 /* end confdefs.h. */
7290 if ac_fn_c_try_compile
"$LINENO"; then :
7291 echo conftest.
$ac_objext > conftest.lst
7292 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7293 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7294 (eval $lt_ar_try) 2>&5
7296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7297 test $ac_status = 0; }
7298 if test 0 -eq "$ac_status"; then
7299 # Ensure the archiver fails upon bogus file names.
7300 rm -f conftest.
$ac_objext libconftest.a
7301 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7302 (eval $lt_ar_try) 2>&5
7304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7305 test $ac_status = 0; }
7306 if test 0 -ne "$ac_status"; then
7310 rm -f conftest.
* libconftest.a
7313 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7317 $as_echo "$lt_cv_ar_at_file" >&6; }
7319 if test no
= "$lt_cv_ar_at_file"; then
7322 archiver_list_spec
=$lt_cv_ar_at_file
7331 if test -n "$ac_tool_prefix"; then
7332 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7333 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7335 $as_echo_n "checking for $ac_word... " >&6; }
7336 if ${ac_cv_prog_STRIP+:} false
; then :
7337 $as_echo_n "(cached) " >&6
7339 if test -n "$STRIP"; then
7340 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7346 test -z "$as_dir" && as_dir
=.
7347 for ac_exec_ext
in '' $ac_executable_extensions; do
7348 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7349 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7359 STRIP
=$ac_cv_prog_STRIP
7360 if test -n "$STRIP"; then
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7362 $as_echo "$STRIP" >&6; }
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7365 $as_echo "no" >&6; }
7370 if test -z "$ac_cv_prog_STRIP"; then
7372 # Extract the first word of "strip", so it can be a program name with args.
7373 set dummy strip
; ac_word
=$2
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7375 $as_echo_n "checking for $ac_word... " >&6; }
7376 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
7377 $as_echo_n "(cached) " >&6
7379 if test -n "$ac_ct_STRIP"; then
7380 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7386 test -z "$as_dir" && as_dir
=.
7387 for ac_exec_ext
in '' $ac_executable_extensions; do
7388 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7389 ac_cv_prog_ac_ct_STRIP
="strip"
7390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7399 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7400 if test -n "$ac_ct_STRIP"; then
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7402 $as_echo "$ac_ct_STRIP" >&6; }
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7405 $as_echo "no" >&6; }
7408 if test "x$ac_ct_STRIP" = x
; then
7411 case $cross_compiling:$ac_tool_warned in
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7415 ac_tool_warned
=yes ;;
7420 STRIP
="$ac_cv_prog_STRIP"
7423 test -z "$STRIP" && STRIP
=:
7430 if test -n "$ac_tool_prefix"; then
7431 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7432 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7434 $as_echo_n "checking for $ac_word... " >&6; }
7435 if ${ac_cv_prog_RANLIB+:} false
; then :
7436 $as_echo_n "(cached) " >&6
7438 if test -n "$RANLIB"; then
7439 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7445 test -z "$as_dir" && as_dir
=.
7446 for ac_exec_ext
in '' $ac_executable_extensions; do
7447 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7448 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7458 RANLIB
=$ac_cv_prog_RANLIB
7459 if test -n "$RANLIB"; then
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7461 $as_echo "$RANLIB" >&6; }
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7464 $as_echo "no" >&6; }
7469 if test -z "$ac_cv_prog_RANLIB"; then
7470 ac_ct_RANLIB
=$RANLIB
7471 # Extract the first word of "ranlib", so it can be a program name with args.
7472 set dummy ranlib
; ac_word
=$2
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7474 $as_echo_n "checking for $ac_word... " >&6; }
7475 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
7476 $as_echo_n "(cached) " >&6
7478 if test -n "$ac_ct_RANLIB"; then
7479 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7485 test -z "$as_dir" && as_dir
=.
7486 for ac_exec_ext
in '' $ac_executable_extensions; do
7487 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7488 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7498 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7499 if test -n "$ac_ct_RANLIB"; then
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7501 $as_echo "$ac_ct_RANLIB" >&6; }
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7504 $as_echo "no" >&6; }
7507 if test "x$ac_ct_RANLIB" = x
; then
7510 case $cross_compiling:$ac_tool_warned in
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7514 ac_tool_warned
=yes ;;
7516 RANLIB
=$ac_ct_RANLIB
7519 RANLIB
="$ac_cv_prog_RANLIB"
7522 test -z "$RANLIB" && RANLIB
=:
7529 # Determine commands to create old-style static archives.
7530 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7531 old_postinstall_cmds
='chmod 644 $oldlib'
7532 old_postuninstall_cmds
=
7534 if test -n "$RANLIB"; then
7537 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7540 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7543 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7548 lock_old_archive_extraction
=yes ;;
7550 lock_old_archive_extraction
=no
;;
7591 # If no C compiler was specified, use CC.
7594 # If no C compiler flags were specified, use CFLAGS.
7595 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7597 # Allow CC to be a program name with arguments.
7601 # Check for command to grab the raw symbol name followed by C symbol from nm.
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7603 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7604 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
7605 $as_echo_n "(cached) " >&6
7608 # These are sane defaults that work on at least a few old systems.
7609 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7611 # Character class describing NM global symbol codes.
7612 symcode
='[BCDEGRST]'
7614 # Regexp to match symbols that can be accessed directly from C.
7615 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7617 # Define system-specific variables.
7622 cygwin
* | mingw
* | pw32
* | cegcc
*)
7623 symcode
='[ABCDGISTW]'
7626 if test ia64
= "$host_cpu"; then
7627 symcode
='[ABCDEGRST]'
7631 symcode
='[BCDEGRST]'
7634 symcode
='[BCDEGQRST]'
7645 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7653 # If we're using GNU nm, then use its standard symbol codes.
7654 case `$NM -V 2>&1` in
7655 *GNU
* |
*'with BFD'*)
7656 symcode
='[ABCDGIRSTW]' ;;
7659 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7660 # Gets list of data symbols to import.
7661 lt_cv_sys_global_symbol_to_import
="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7662 # Adjust the below global symbol transforms to fixup imported variables.
7663 lt_cdecl_hook
=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7664 lt_c_name_hook
=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7665 lt_c_name_lib_hook
="\
7666 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7667 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7669 # Disable hooks by default.
7670 lt_cv_sys_global_symbol_to_import
=
7676 # Transform an extracted symbol line into a proper C declaration.
7677 # Some systems (esp. on ia64) link data and code symbols differently,
7678 # so use this general approach.
7679 lt_cv_sys_global_symbol_to_cdecl
="sed -n"\
7681 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7682 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7684 # Transform an extracted symbol line into symbol name and symbol address
7685 lt_cv_sys_global_symbol_to_c_name_address
="sed -n"\
7687 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7688 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7690 # Transform an extracted symbol line into symbol name with lib prefix and
7692 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n"\
7693 $lt_c_name_lib_hook\
7694 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7695 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7696 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7698 # Handle CRLF in mingw tool chain
7702 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7706 # Try without a prefix underscore, then with it.
7707 for ac_symprfx
in "" "_"; do
7709 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7710 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7712 # Write the raw and C identifiers.
7713 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7714 # Fake it for dumpbin and say T for any non-static function,
7715 # D for any global variable and I for any imported variable.
7716 # Also find C++ and __fastcall symbols from MSVC++,
7717 # which start with @ or ?.
7718 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7719 " {last_section=section; section=\$ 3};"\
7720 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7721 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7722 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7723 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7724 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7725 " \$ 0!~/External *\|/{next};"\
7726 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7727 " {if(hide[section]) next};"\
7728 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7729 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7730 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7731 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7732 " ' prfx=^$ac_symprfx"
7734 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7736 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7738 # Check to see that the pipe works correctly.
7742 cat > conftest.
$ac_ext <<_LT_EOF
7747 void nm_test_func(void);
7748 void nm_test_func(void){}
7752 int main(){nm_test_var='a';nm_test_func();return(0);}
7755 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7756 (eval $ac_compile) 2>&5
7758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7759 test $ac_status = 0; }; then
7760 # Now try to grab the symbols.
7762 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7763 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7766 test $ac_status = 0; } && test -s "$nlist"; then
7767 # Try sorting and uniquifying the output.
7768 if sort "$nlist" |
uniq > "$nlist"T
; then
7769 mv -f "$nlist"T
"$nlist"
7774 # Make sure that we snagged all the symbols we need.
7775 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7776 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7777 cat <<_LT_EOF > conftest.$ac_ext
7778 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7779 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7780 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7781 relocations are performed -- see ld's documentation on pseudo-relocs. */
7782 # define LT_DLSYM_CONST
7783 #elif defined __osf__
7784 /* This system does not cope well with relocations in const data. */
7785 # define LT_DLSYM_CONST
7787 # define LT_DLSYM_CONST const
7795 # Now generate the symbol file.
7796 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7798 cat <<_LT_EOF >> conftest.$ac_ext
7800 /* The mapping between symbol names and symbols. */
7801 LT_DLSYM_CONST struct {
7805 lt__PROGRAM__LTX_preloaded_symbols[] =
7807 { "@PROGRAM@", (void *) 0 },
7809 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7810 cat <<\_LT_EOF
>> conftest.
$ac_ext
7814 /* This works around a problem
in FreeBSD linker
*/
7815 #ifdef FREEBSD_WORKAROUND
7816 static const void
*lt_preloaded_setup
() {
7817 return lt__PROGRAM__LTX_preloaded_symbols
;
7825 # Now try linking the two files.
7826 mv conftest.
$ac_objext conftstm.
$ac_objext
7827 lt_globsym_save_LIBS
=$LIBS
7828 lt_globsym_save_CFLAGS
=$CFLAGS
7829 LIBS
=conftstm.
$ac_objext
7830 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7831 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7832 (eval $ac_link) 2>&5
7834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7835 test $ac_status = 0; } && test -s conftest
$ac_exeext; then
7838 LIBS
=$lt_globsym_save_LIBS
7839 CFLAGS
=$lt_globsym_save_CFLAGS
7841 echo "cannot find nm_test_func in $nlist" >&5
7844 echo "cannot find nm_test_var in $nlist" >&5
7847 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7850 echo "$progname: failed program was:" >&5
7851 cat conftest.
$ac_ext >&5
7853 rm -rf conftest
* conftst
*
7855 # Do not use the global_symbol_pipe unless it works.
7856 if test yes = "$pipe_works"; then
7859 lt_cv_sys_global_symbol_pipe
=
7865 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7866 lt_cv_sys_global_symbol_to_cdecl
=
7868 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7870 $as_echo "failed" >&6; }
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7873 $as_echo "ok" >&6; }
7876 # Response file support.
7877 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7878 nm_file_list_spec
='@'
7879 elif $NM --help 2>/dev
/null |
grep '[@]FILE' >/dev
/null
; then
7880 nm_file_list_spec
='@'
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7920 $as_echo_n "checking for sysroot... " >&6; }
7922 # Check whether --with-sysroot was given.
7923 if test "${with_sysroot+set}" = set; then :
7924 withval
=$with_sysroot;
7931 case $with_sysroot in #(
7933 if test yes = "$GCC"; then
7934 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
7938 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7944 $as_echo "$with_sysroot" >&6; }
7945 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7950 $as_echo "${lt_sysroot:-no}" >&6; }
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7957 $as_echo_n "checking for a working dd... " >&6; }
7958 if ${ac_cv_path_lt_DD+:} false
; then :
7959 $as_echo_n "(cached) " >&6
7961 printf 0123456789abcdef0123456789abcdef
>conftest.i
7962 cat conftest.i conftest.i
>conftest2.i
7964 if test -z "$lt_DD"; then
7965 ac_path_lt_DD_found
=false
7966 # Loop through the user's path and test for each of PROGNAME-LIST
7967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7971 test -z "$as_dir" && as_dir
=.
7972 for ac_prog
in dd; do
7973 for ac_exec_ext
in '' $ac_executable_extensions; do
7974 ac_path_lt_DD
="$as_dir/$ac_prog$ac_exec_ext"
7975 as_fn_executable_p
"$ac_path_lt_DD" ||
continue
7976 if "$ac_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
7977 cmp -s conftest.i conftest.out \
7978 && ac_cv_path_lt_DD
="$ac_path_lt_DD" ac_path_lt_DD_found
=:
7980 $ac_path_lt_DD_found && break 3
7985 if test -z "$ac_cv_path_lt_DD"; then
7989 ac_cv_path_lt_DD
=$lt_DD
7992 rm -f conftest.i conftest2.i conftest.out
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7995 $as_echo "$ac_cv_path_lt_DD" >&6; }
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7999 $as_echo_n "checking how to truncate binary pipes... " >&6; }
8000 if ${lt_cv_truncate_bin+:} false
; then :
8001 $as_echo_n "(cached) " >&6
8003 printf 0123456789abcdef0123456789abcdef
>conftest.i
8004 cat conftest.i conftest.i
>conftest2.i
8006 if "$ac_cv_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
8007 cmp -s conftest.i conftest.out \
8008 && lt_cv_truncate_bin
="$ac_cv_path_lt_DD bs=4096 count=1"
8010 rm -f conftest.i conftest2.i conftest.out
8011 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin
="$SED -e 4q"
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
8014 $as_echo "$lt_cv_truncate_bin" >&6; }
8022 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
8025 for cc_temp
in $
*""; do
8027 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8028 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8033 func_cc_basename_result
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8036 # Check whether --enable-libtool-lock was given.
8037 if test "${enable_libtool_lock+set}" = set; then :
8038 enableval
=$enable_libtool_lock;
8041 test no
= "$enable_libtool_lock" || enable_libtool_lock
=yes
8043 # Some flags need to be propagated to the compiler or linker for good
8047 # Find out what ABI is being produced by ac_compile, and set mode
8048 # options accordingly.
8049 echo 'int i;' > conftest.
$ac_ext
8050 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8051 (eval $ac_compile) 2>&5
8053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8054 test $ac_status = 0; }; then
8055 case `/usr/bin/file conftest.$ac_objext` in
8067 # Find out what ABI is being produced by ac_compile, and set linker
8068 # options accordingly.
8069 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8070 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8071 (eval $ac_compile) 2>&5
8073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8074 test $ac_status = 0; }; then
8075 if test yes = "$lt_cv_prog_gnu_ld"; then
8076 case `/usr/bin/file conftest.$ac_objext` in
8078 LD
="${LD-ld} -melf32bsmip"
8081 LD
="${LD-ld} -melf32bmipn32"
8084 LD
="${LD-ld} -melf64bmip"
8088 case `/usr/bin/file conftest.$ac_objext` in
8105 # Find out what ABI is being produced by ac_compile, and set linker
8106 # options accordingly.
8107 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8108 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8109 (eval $ac_compile) 2>&5
8111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8112 test $ac_status = 0; }; then
8114 case `/usr/bin/file conftest.$ac_objext` in
8122 case `/usr/bin/file conftest.$ac_objext` in
8124 emul
="${emul}btsmip"
8127 emul
="${emul}ltsmip"
8130 case `/usr/bin/file conftest.$ac_objext` in
8135 LD
="${LD-ld} -m $emul"
8140 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
8141 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8142 # Find out what ABI is being produced by ac_compile, and set linker
8143 # options accordingly. Note that the listed cases only cover the
8144 # situations where additional linker options are needed (such as when
8145 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8146 # vice versa); the common cases where no linker options are needed do
8147 # not appear in the list.
8148 echo 'int i;' > conftest.
$ac_ext
8149 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8150 (eval $ac_compile) 2>&5
8152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8153 test $ac_status = 0; }; then
8154 case `/usr/bin/file conftest.o` in
8157 x86_64-
*kfreebsd
*-gnu)
8158 LD
="${LD-ld} -m elf_i386_fbsd"
8161 case `/usr/bin/file conftest.o` in
8163 LD
="${LD-ld} -m elf32_x86_64"
8166 LD
="${LD-ld} -m elf_i386"
8170 powerpc64le-
*linux
*)
8171 LD
="${LD-ld} -m elf32lppclinux"
8174 LD
="${LD-ld} -m elf32ppclinux"
8177 LD
="${LD-ld} -m elf_s390"
8180 LD
="${LD-ld} -m elf32_sparc"
8186 x86_64-
*kfreebsd
*-gnu)
8187 LD
="${LD-ld} -m elf_x86_64_fbsd"
8190 LD
="${LD-ld} -m elf_x86_64"
8193 LD
="${LD-ld} -m elf64lppc"
8196 LD
="${LD-ld} -m elf64ppc"
8198 s390
*-*linux
*|s390
*-*tpf
*)
8199 LD
="${LD-ld} -m elf64_s390"
8202 LD
="${LD-ld} -m elf64_sparc"
8212 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8214 CFLAGS
="$CFLAGS -belf"
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8216 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8217 if ${lt_cv_cc_needs_belf+:} false
; then :
8218 $as_echo_n "(cached) " >&6
8221 ac_cpp
='$CPP $CPPFLAGS'
8222 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8223 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8224 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8227 /* end confdefs.h. */
8237 if ac_fn_c_try_link
"$LINENO"; then :
8238 lt_cv_cc_needs_belf
=yes
8240 lt_cv_cc_needs_belf
=no
8242 rm -f core conftest.err conftest.
$ac_objext \
8243 conftest
$ac_exeext conftest.
$ac_ext
8245 ac_cpp
='$CPP $CPPFLAGS'
8246 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8247 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8248 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8252 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8253 if test yes != "$lt_cv_cc_needs_belf"; then
8254 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8259 # Find out what ABI is being produced by ac_compile, and set linker
8260 # options accordingly.
8261 echo 'int i;' > conftest.
$ac_ext
8262 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8263 (eval $ac_compile) 2>&5
8265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8266 test $ac_status = 0; }; then
8267 case `/usr/bin/file conftest.o` in
8269 case $lt_cv_prog_gnu_ld in
8272 i?
86-*-solaris*|x86_64-
*-solaris*)
8273 LD
="${LD-ld} -m elf_x86_64"
8276 LD
="${LD-ld} -m elf64_sparc"
8279 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8280 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
8285 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8297 need_locks
=$enable_libtool_lock
8299 if test -n "$ac_tool_prefix"; then
8300 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8301 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8303 $as_echo_n "checking for $ac_word... " >&6; }
8304 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
8305 $as_echo_n "(cached) " >&6
8307 if test -n "$MANIFEST_TOOL"; then
8308 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
8310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8314 test -z "$as_dir" && as_dir
=.
8315 for ac_exec_ext
in '' $ac_executable_extensions; do
8316 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8317 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
8318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8327 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
8328 if test -n "$MANIFEST_TOOL"; then
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8330 $as_echo "$MANIFEST_TOOL" >&6; }
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8333 $as_echo "no" >&6; }
8338 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8339 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
8340 # Extract the first word of "mt", so it can be a program name with args.
8341 set dummy mt
; ac_word
=$2
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8343 $as_echo_n "checking for $ac_word... " >&6; }
8344 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
8345 $as_echo_n "(cached) " >&6
8347 if test -n "$ac_ct_MANIFEST_TOOL"; then
8348 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8354 test -z "$as_dir" && as_dir
=.
8355 for ac_exec_ext
in '' $ac_executable_extensions; do
8356 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8357 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
8358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8367 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8368 if test -n "$ac_ct_MANIFEST_TOOL"; then
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8370 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8373 $as_echo "no" >&6; }
8376 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
8379 case $cross_compiling:$ac_tool_warned in
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8382 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8383 ac_tool_warned
=yes ;;
8385 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
8388 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
8391 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8393 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8394 if ${lt_cv_path_mainfest_tool+:} false
; then :
8395 $as_echo_n "(cached) " >&6
8397 lt_cv_path_mainfest_tool
=no
8398 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8399 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
8400 cat conftest.err
>&5
8401 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
8402 lt_cv_path_mainfest_tool
=yes
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8407 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8408 if test yes != "$lt_cv_path_mainfest_tool"; then
8418 rhapsody
* | darwin
*)
8419 if test -n "$ac_tool_prefix"; then
8420 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8421 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8423 $as_echo_n "checking for $ac_word... " >&6; }
8424 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
8425 $as_echo_n "(cached) " >&6
8427 if test -n "$DSYMUTIL"; then
8428 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8434 test -z "$as_dir" && as_dir
=.
8435 for ac_exec_ext
in '' $ac_executable_extensions; do
8436 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8437 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8447 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8448 if test -n "$DSYMUTIL"; then
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8450 $as_echo "$DSYMUTIL" >&6; }
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8453 $as_echo "no" >&6; }
8458 if test -z "$ac_cv_prog_DSYMUTIL"; then
8459 ac_ct_DSYMUTIL
=$DSYMUTIL
8460 # Extract the first word of "dsymutil", so it can be a program name with args.
8461 set dummy dsymutil
; ac_word
=$2
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8463 $as_echo_n "checking for $ac_word... " >&6; }
8464 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
8465 $as_echo_n "(cached) " >&6
8467 if test -n "$ac_ct_DSYMUTIL"; then
8468 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8474 test -z "$as_dir" && as_dir
=.
8475 for ac_exec_ext
in '' $ac_executable_extensions; do
8476 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8477 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8487 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8488 if test -n "$ac_ct_DSYMUTIL"; then
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8490 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8493 $as_echo "no" >&6; }
8496 if test "x$ac_ct_DSYMUTIL" = x
; then
8499 case $cross_compiling:$ac_tool_warned in
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8502 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8503 ac_tool_warned
=yes ;;
8505 DSYMUTIL
=$ac_ct_DSYMUTIL
8508 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8511 if test -n "$ac_tool_prefix"; then
8512 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8513 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8515 $as_echo_n "checking for $ac_word... " >&6; }
8516 if ${ac_cv_prog_NMEDIT+:} false
; then :
8517 $as_echo_n "(cached) " >&6
8519 if test -n "$NMEDIT"; then
8520 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8526 test -z "$as_dir" && as_dir
=.
8527 for ac_exec_ext
in '' $ac_executable_extensions; do
8528 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8529 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8539 NMEDIT
=$ac_cv_prog_NMEDIT
8540 if test -n "$NMEDIT"; then
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8542 $as_echo "$NMEDIT" >&6; }
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8545 $as_echo "no" >&6; }
8550 if test -z "$ac_cv_prog_NMEDIT"; then
8551 ac_ct_NMEDIT
=$NMEDIT
8552 # Extract the first word of "nmedit", so it can be a program name with args.
8553 set dummy nmedit
; ac_word
=$2
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8555 $as_echo_n "checking for $ac_word... " >&6; }
8556 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
8557 $as_echo_n "(cached) " >&6
8559 if test -n "$ac_ct_NMEDIT"; then
8560 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8566 test -z "$as_dir" && as_dir
=.
8567 for ac_exec_ext
in '' $ac_executable_extensions; do
8568 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8569 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8579 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8580 if test -n "$ac_ct_NMEDIT"; then
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8582 $as_echo "$ac_ct_NMEDIT" >&6; }
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8585 $as_echo "no" >&6; }
8588 if test "x$ac_ct_NMEDIT" = x
; then
8591 case $cross_compiling:$ac_tool_warned in
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8594 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8595 ac_tool_warned
=yes ;;
8597 NMEDIT
=$ac_ct_NMEDIT
8600 NMEDIT
="$ac_cv_prog_NMEDIT"
8603 if test -n "$ac_tool_prefix"; then
8604 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8605 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8607 $as_echo_n "checking for $ac_word... " >&6; }
8608 if ${ac_cv_prog_LIPO+:} false
; then :
8609 $as_echo_n "(cached) " >&6
8611 if test -n "$LIPO"; then
8612 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8618 test -z "$as_dir" && as_dir
=.
8619 for ac_exec_ext
in '' $ac_executable_extensions; do
8620 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8621 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8631 LIPO
=$ac_cv_prog_LIPO
8632 if test -n "$LIPO"; then
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8634 $as_echo "$LIPO" >&6; }
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8637 $as_echo "no" >&6; }
8642 if test -z "$ac_cv_prog_LIPO"; then
8644 # Extract the first word of "lipo", so it can be a program name with args.
8645 set dummy lipo
; ac_word
=$2
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8647 $as_echo_n "checking for $ac_word... " >&6; }
8648 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
8649 $as_echo_n "(cached) " >&6
8651 if test -n "$ac_ct_LIPO"; then
8652 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8658 test -z "$as_dir" && as_dir
=.
8659 for ac_exec_ext
in '' $ac_executable_extensions; do
8660 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8661 ac_cv_prog_ac_ct_LIPO
="lipo"
8662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8671 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8672 if test -n "$ac_ct_LIPO"; then
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8674 $as_echo "$ac_ct_LIPO" >&6; }
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8677 $as_echo "no" >&6; }
8680 if test "x$ac_ct_LIPO" = x
; then
8683 case $cross_compiling:$ac_tool_warned in
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8687 ac_tool_warned
=yes ;;
8692 LIPO
="$ac_cv_prog_LIPO"
8695 if test -n "$ac_tool_prefix"; then
8696 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8697 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8699 $as_echo_n "checking for $ac_word... " >&6; }
8700 if ${ac_cv_prog_OTOOL+:} false
; then :
8701 $as_echo_n "(cached) " >&6
8703 if test -n "$OTOOL"; then
8704 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8710 test -z "$as_dir" && as_dir
=.
8711 for ac_exec_ext
in '' $ac_executable_extensions; do
8712 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8713 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8723 OTOOL
=$ac_cv_prog_OTOOL
8724 if test -n "$OTOOL"; then
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8726 $as_echo "$OTOOL" >&6; }
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8729 $as_echo "no" >&6; }
8734 if test -z "$ac_cv_prog_OTOOL"; then
8736 # Extract the first word of "otool", so it can be a program name with args.
8737 set dummy otool
; ac_word
=$2
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8739 $as_echo_n "checking for $ac_word... " >&6; }
8740 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
8741 $as_echo_n "(cached) " >&6
8743 if test -n "$ac_ct_OTOOL"; then
8744 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8750 test -z "$as_dir" && as_dir
=.
8751 for ac_exec_ext
in '' $ac_executable_extensions; do
8752 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8753 ac_cv_prog_ac_ct_OTOOL
="otool"
8754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8763 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8764 if test -n "$ac_ct_OTOOL"; then
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8766 $as_echo "$ac_ct_OTOOL" >&6; }
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8769 $as_echo "no" >&6; }
8772 if test "x$ac_ct_OTOOL" = x
; then
8775 case $cross_compiling:$ac_tool_warned in
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8778 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8779 ac_tool_warned
=yes ;;
8784 OTOOL
="$ac_cv_prog_OTOOL"
8787 if test -n "$ac_tool_prefix"; then
8788 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8789 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8791 $as_echo_n "checking for $ac_word... " >&6; }
8792 if ${ac_cv_prog_OTOOL64+:} false
; then :
8793 $as_echo_n "(cached) " >&6
8795 if test -n "$OTOOL64"; then
8796 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8802 test -z "$as_dir" && as_dir
=.
8803 for ac_exec_ext
in '' $ac_executable_extensions; do
8804 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8805 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8815 OTOOL64
=$ac_cv_prog_OTOOL64
8816 if test -n "$OTOOL64"; then
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8818 $as_echo "$OTOOL64" >&6; }
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8821 $as_echo "no" >&6; }
8826 if test -z "$ac_cv_prog_OTOOL64"; then
8827 ac_ct_OTOOL64
=$OTOOL64
8828 # Extract the first word of "otool64", so it can be a program name with args.
8829 set dummy otool64
; ac_word
=$2
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8831 $as_echo_n "checking for $ac_word... " >&6; }
8832 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
8833 $as_echo_n "(cached) " >&6
8835 if test -n "$ac_ct_OTOOL64"; then
8836 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8842 test -z "$as_dir" && as_dir
=.
8843 for ac_exec_ext
in '' $ac_executable_extensions; do
8844 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8845 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8855 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8856 if test -n "$ac_ct_OTOOL64"; then
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8858 $as_echo "$ac_ct_OTOOL64" >&6; }
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8861 $as_echo "no" >&6; }
8864 if test "x$ac_ct_OTOOL64" = x
; then
8867 case $cross_compiling:$ac_tool_warned in
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8870 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8871 ac_tool_warned
=yes ;;
8873 OTOOL64
=$ac_ct_OTOOL64
8876 OTOOL64
="$ac_cv_prog_OTOOL64"
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8906 $as_echo_n "checking for -single_module linker flag... " >&6; }
8907 if ${lt_cv_apple_cc_single_mod+:} false
; then :
8908 $as_echo_n "(cached) " >&6
8910 lt_cv_apple_cc_single_mod
=no
8911 if test -z "$LT_MULTI_MODULE"; then
8912 # By default we will add the -single_module flag. You can override
8913 # by either setting the environment variable LT_MULTI_MODULE
8914 # non-empty at configure time, or by adding -multi_module to the
8916 rm -rf libconftest.dylib
*
8917 echo "int foo(void){return 1;}" > conftest.c
8918 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8919 -dynamiclib -Wl,-single_module conftest.c" >&5
8920 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8921 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8923 # If there is a non-empty error log, and "single_module"
8924 # appears in it, assume the flag caused a linker warning
8925 if test -s conftest.err
&& $GREP single_module conftest.err
; then
8926 cat conftest.err
>&5
8927 # Otherwise, if the output was created with a 0 exit code from
8928 # the compiler, it worked.
8929 elif test -f libconftest.dylib
&& test 0 = "$_lt_result"; then
8930 lt_cv_apple_cc_single_mod
=yes
8932 cat conftest.err
>&5
8934 rm -rf libconftest.dylib
*
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8939 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8942 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8943 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
8944 $as_echo_n "(cached) " >&6
8946 lt_cv_ld_exported_symbols_list
=no
8947 save_LDFLAGS
=$LDFLAGS
8948 echo "_main" > conftest.sym
8949 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8951 /* end confdefs.h. */
8961 if ac_fn_c_try_link
"$LINENO"; then :
8962 lt_cv_ld_exported_symbols_list
=yes
8964 lt_cv_ld_exported_symbols_list
=no
8966 rm -f core conftest.err conftest.
$ac_objext \
8967 conftest
$ac_exeext conftest.
$ac_ext
8968 LDFLAGS
=$save_LDFLAGS
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8972 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8975 $as_echo_n "checking for -force_load linker flag... " >&6; }
8976 if ${lt_cv_ld_force_load+:} false
; then :
8977 $as_echo_n "(cached) " >&6
8979 lt_cv_ld_force_load
=no
8980 cat > conftest.c
<< _LT_EOF
8981 int forced_loaded() { return 2;}
8983 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8984 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8985 echo "$AR cru libconftest.a conftest.o" >&5
8986 $AR cru libconftest.a conftest.o
2>&5
8987 echo "$RANLIB libconftest.a" >&5
8988 $RANLIB libconftest.a
2>&5
8989 cat > conftest.c
<< _LT_EOF
8990 int main() { return 0;}
8992 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8993 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8995 if test -s conftest.err
&& $GREP force_load conftest.err
; then
8996 cat conftest.err
>&5
8997 elif test -f conftest
&& test 0 = "$_lt_result" && $GREP forced_load conftest
>/dev
/null
2>&1; then
8998 lt_cv_ld_force_load
=yes
9000 cat conftest.err
>&5
9002 rm -f conftest.err libconftest.a conftest conftest.c
9003 rm -rf conftest.dSYM
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9007 $as_echo "$lt_cv_ld_force_load" >&6; }
9009 rhapsody
* | darwin1.
[012])
9010 _lt_dar_allow_undefined
='$wl-undefined ${wl}suppress' ;;
9012 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9013 darwin
*) # darwin 5.x on
9014 # if running on 10.5 or later, the deployment target defaults
9015 # to the OS version, if on x86, and 10.4, the deployment
9016 # target defaults to 10.4. Don't you love it?
9017 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9018 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
9019 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
9021 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9023 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
9027 if test yes = "$lt_cv_apple_cc_single_mod"; then
9028 _lt_dar_single_mod
='$single_module'
9030 if test yes = "$lt_cv_ld_exported_symbols_list"; then
9031 _lt_dar_export_syms
=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
9033 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
9035 if test : != "$DSYMUTIL" && test no
= "$lt_cv_ld_force_load"; then
9036 _lt_dsymutil
='~$DSYMUTIL $lib || :'
9043 # func_munge_path_list VARIABLE PATH
9044 # -----------------------------------
9045 # VARIABLE is name of variable containing _space_ separated list of
9046 # directories to be munged by the contents of PATH, which is string
9049 # string "DIR[ DIR]" will be prepended to VARIABLE
9051 # string "DIR[ DIR]" will be appended to VARIABLE
9052 # "DIRP[:DIRP]::[DIRA:]DIRA"
9053 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
9054 # "DIRA[ DIRA]" will be appended to VARIABLE
9056 # VARIABLE will be replaced by "DIR[ DIR]"
9057 func_munge_path_list
()
9063 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$
$1\"
9066 eval $1=\"\$
$1 `$ECHO $2 | $SED 's/:/ /g'`\"
9069 eval $1=\"\$
$1\
`$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
9070 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$
$1\"
9073 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
9078 for ac_header
in dlfcn.h
9080 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9082 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
9083 cat >>confdefs.h
<<_ACEOF
9084 #define HAVE_DLFCN_H 1
9094 func_stripname_cnf
()
9097 .
*) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
9098 *) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
9100 } # func_stripname_cnf
9116 # Check whether --enable-shared was given.
9117 if test "${enable_shared+set}" = set; then :
9118 enableval
=$enable_shared; p
=${PACKAGE-default}
9120 yes) enable_shared
=yes ;;
9121 no
) enable_shared
=no
;;
9124 # Look at the argument we got. We use all the common list separators.
9125 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9126 for pkg
in $enableval; do
9128 if test "X$pkg" = "X$p"; then
9147 # Check whether --enable-static was given.
9148 if test "${enable_static+set}" = set; then :
9149 enableval
=$enable_static; p
=${PACKAGE-default}
9151 yes) enable_static
=yes ;;
9152 no
) enable_static
=no
;;
9155 # Look at the argument we got. We use all the common list separators.
9156 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9157 for pkg
in $enableval; do
9159 if test "X$pkg" = "X$p"; then
9179 # Check whether --with-pic was given.
9180 if test "${with_pic+set}" = set; then :
9181 withval
=$with_pic; lt_p
=${PACKAGE-default}
9183 yes|no
) pic_mode
=$withval ;;
9186 # Look at the argument we got. We use all the common list separators.
9187 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9188 for lt_pkg
in $withval; do
9190 if test "X$lt_pkg" = "X$lt_p"; then
9208 # Check whether --enable-fast-install was given.
9209 if test "${enable_fast_install+set}" = set; then :
9210 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9212 yes) enable_fast_install
=yes ;;
9213 no
) enable_fast_install
=no
;;
9215 enable_fast_install
=no
9216 # Look at the argument we got. We use all the common list separators.
9217 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9218 for pkg
in $enableval; do
9220 if test "X$pkg" = "X$p"; then
9221 enable_fast_install
=yes
9228 enable_fast_install
=yes
9238 shared_archive_member_spec
=
9239 case $host,$enable_shared in
9240 power
*-*-aix[5-9]*,yes)
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9242 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9244 # Check whether --with-aix-soname was given.
9245 if test "${with_aix_soname+set}" = set; then :
9246 withval
=$with_aix_soname; case $withval in
9250 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
9253 lt_cv_with_aix_soname
=$with_aix_soname
9255 if ${lt_cv_with_aix_soname+:} false
; then :
9256 $as_echo_n "(cached) " >&6
9258 lt_cv_with_aix_soname
=aix
9261 with_aix_soname
=$lt_cv_with_aix_soname
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9265 $as_echo "$with_aix_soname" >&6; }
9266 if test aix
!= "$with_aix_soname"; then
9267 # For the AIX way of multilib, we name the shared archive member
9268 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9269 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9270 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9271 # the AIX toolchain works better with OBJECT_MODE set (default 32).
9272 if test 64 = "${OBJECT_MODE-32}"; then
9273 shared_archive_member_spec
=shr_64
9275 shared_archive_member_spec
=shr
9293 # This can be used to rebuild libtool when needed
9294 LIBTOOL_DEPS
=$ltmain
9296 # Always use our own libtool.
9297 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9328 test -z "$LN_S" && LN_S
="ln -s"
9343 if test -n "${ZSH_VERSION+set}"; then
9344 setopt NO_GLOB_SUBST
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9348 $as_echo_n "checking for objdir... " >&6; }
9349 if ${lt_cv_objdir+:} false
; then :
9350 $as_echo_n "(cached) " >&6
9352 rm -f .libs
2>/dev
/null
9353 mkdir .libs
2>/dev
/null
9354 if test -d .libs
; then
9357 # MS-DOS does not allow filenames that begin with a dot.
9360 rmdir .libs
2>/dev
/null
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9363 $as_echo "$lt_cv_objdir" >&6; }
9364 objdir
=$lt_cv_objdir
9370 cat >>confdefs.h
<<_ACEOF
9371 #define LT_OBJDIR "$lt_cv_objdir/"
9379 # AIX sometimes has problems with the GCC collect2 program. For some
9380 # reason, if we set the COLLECT_NAMES environment variable, the problems
9381 # vanish in a puff of smoke.
9382 if test set != "${COLLECT_NAMES+set}"; then
9384 export COLLECT_NAMES
9391 can_build_shared
=yes
9393 # All known linkers require a '.a' archive for static linking (except MSVC,
9394 # which needs '.lib').
9397 with_gnu_ld
=$lt_cv_prog_gnu_ld
9402 # Set sane defaults for various variables
9403 test -z "$CC" && CC
=cc
9404 test -z "$LTCC" && LTCC
=$CC
9405 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9406 test -z "$LD" && LD
=ld
9407 test -z "$ac_objext" && ac_objext
=o
9409 func_cc_basename
$compiler
9410 cc_basename
=$func_cc_basename_result
9413 # Only perform the check for file, if the check method requires it
9414 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9415 case $deplibs_check_method in
9417 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9419 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9420 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9421 $as_echo_n "(cached) " >&6
9425 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9428 lt_save_MAGIC_CMD
=$MAGIC_CMD
9429 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9430 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9431 for ac_dir
in $ac_dummy; do
9433 test -z "$ac_dir" && ac_dir
=.
9434 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9435 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
9436 if test -n "$file_magic_test_file"; then
9437 case $deplibs_check_method in
9439 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9440 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9441 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9442 $EGREP "$file_magic_regex" > /dev
/null
; then
9447 *** Warning: the command libtool uses to detect shared libraries,
9448 *** $file_magic_cmd, produces output that libtool cannot recognize.
9449 *** The result is that libtool may fail to recognize shared libraries
9450 *** as such. This will affect the creation of libtool libraries that
9451 *** depend on shared libraries, but programs linked with such libtool
9452 *** libraries will work regardless of this problem. Nevertheless, you
9453 *** may want to report the problem to your system manager and/or to
9454 *** bug-libtool@gnu.org
9464 MAGIC_CMD
=$lt_save_MAGIC_CMD
9469 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9470 if test -n "$MAGIC_CMD"; then
9471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9472 $as_echo "$MAGIC_CMD" >&6; }
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9475 $as_echo "no" >&6; }
9482 if test -z "$lt_cv_path_MAGIC_CMD"; then
9483 if test -n "$ac_tool_prefix"; then
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9485 $as_echo_n "checking for file... " >&6; }
9486 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9487 $as_echo_n "(cached) " >&6
9491 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9494 lt_save_MAGIC_CMD
=$MAGIC_CMD
9495 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9496 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9497 for ac_dir
in $ac_dummy; do
9499 test -z "$ac_dir" && ac_dir
=.
9500 if test -f "$ac_dir/file"; then
9501 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
9502 if test -n "$file_magic_test_file"; then
9503 case $deplibs_check_method in
9505 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9506 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9507 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9508 $EGREP "$file_magic_regex" > /dev
/null
; then
9513 *** Warning: the command libtool uses to detect shared libraries,
9514 *** $file_magic_cmd, produces output that libtool cannot recognize.
9515 *** The result is that libtool may fail to recognize shared libraries
9516 *** as such. This will affect the creation of libtool libraries that
9517 *** depend on shared libraries, but programs linked with such libtool
9518 *** libraries will work regardless of this problem. Nevertheless, you
9519 *** may want to report the problem to your system manager and/or to
9520 *** bug-libtool@gnu.org
9530 MAGIC_CMD
=$lt_save_MAGIC_CMD
9535 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9536 if test -n "$MAGIC_CMD"; then
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9538 $as_echo "$MAGIC_CMD" >&6; }
9540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9541 $as_echo "no" >&6; }
9554 # Use C for the default configuration in the libtool script
9558 ac_cpp
='$CPP $CPPFLAGS'
9559 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9560 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9561 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9564 # Source file extension for C test sources.
9567 # Object file extension for compiled C test sources.
9571 # Code to be used in simple compile tests
9572 lt_simple_compile_test_code
="int some_variable = 0;"
9574 # Code to be used in simple link tests
9575 lt_simple_link_test_code
='int main(){return(0);}'
9583 # If no C compiler was specified, use CC.
9586 # If no C compiler flags were specified, use CFLAGS.
9587 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9589 # Allow CC to be a program name with arguments.
9592 # Save the default compiler, since it gets overwritten when the other
9593 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9594 compiler_DEFAULT
=$CC
9596 # save warnings/boilerplate of simple test code
9597 ac_outfile
=conftest.
$ac_objext
9598 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9599 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9600 _lt_compiler_boilerplate
=`cat conftest.err`
9603 ac_outfile
=conftest.
$ac_objext
9604 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9605 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9606 _lt_linker_boilerplate
=`cat conftest.err`
9610 if test -n "$compiler"; then
9612 lt_prog_compiler_no_builtin_flag
=
9614 if test yes = "$GCC"; then
9615 case $cc_basename in
9617 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9619 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9623 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9624 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9625 $as_echo_n "(cached) " >&6
9627 lt_cv_prog_compiler_rtti_exceptions
=no
9628 ac_outfile
=conftest.
$ac_objext
9629 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9630 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9631 # Insert the option either (1) after the last *FLAGS variable, or
9632 # (2) before a word containing "conftest.", or (3) at the end.
9633 # Note that $ac_compile itself does not contain backslashes and begins
9634 # with a dollar sign (not a hyphen), so the echo should work correctly.
9635 # The option is referenced via a variable to avoid confusing sed.
9636 lt_compile
=`echo "$ac_compile" | $SED \
9637 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9638 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9639 -e 's:$: $lt_compiler_flag:'`
9640 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9641 (eval "$lt_compile" 2>conftest.err
)
9643 cat conftest.err
>&5
9644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9645 if (exit $ac_status) && test -s "$ac_outfile"; then
9646 # The compiler can only warn and ignore the option if not recognized
9647 # So say no if there are warnings other than the usual output.
9648 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9649 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9650 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9651 lt_cv_prog_compiler_rtti_exceptions
=yes
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9658 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9660 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9661 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9673 lt_prog_compiler_wl
=
9674 lt_prog_compiler_pic
=
9675 lt_prog_compiler_static
=
9678 if test yes = "$GCC"; then
9679 lt_prog_compiler_wl
='-Wl,'
9680 lt_prog_compiler_static
='-static'
9684 # All AIX code is PIC.
9685 if test ia64
= "$host_cpu"; then
9686 # AIX 5 now supports IA64 processor
9687 lt_prog_compiler_static
='-Bstatic'
9689 lt_prog_compiler_pic
='-fPIC'
9695 # see comment about AmigaOS4 .so support
9696 lt_prog_compiler_pic
='-fPIC'
9699 # FIXME: we need at least 68020 code to build shared libraries, but
9700 # adding the '-m68020' flag to GCC prevents building anything better,
9702 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9707 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9708 # PIC is the default for these OSes.
9711 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9712 # This hack is so that the source file can tell whether it is being
9713 # built for inclusion in a dll (and should export symbols for example).
9714 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9715 # (--disable-auto-import) libraries
9716 lt_prog_compiler_pic
='-DDLL_EXPORT'
9719 lt_prog_compiler_static
='$wl-static'
9724 darwin
* | rhapsody
*)
9725 # PIC is the default on this platform
9726 # Common symbols not allowed in MH_DYLIB files
9727 lt_prog_compiler_pic
='-fno-common'
9731 # PIC is the default for Haiku.
9732 # The "-static" flag exists, but is broken.
9733 lt_prog_compiler_static
=
9737 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9738 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9739 # sets the default TLS model and affects inlining.
9745 lt_prog_compiler_pic
='-fPIC'
9751 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9752 # Instead, we relocate shared libraries at runtime.
9756 # Just because we use GCC doesn't mean we suddenly get shared libraries
9757 # on systems that don't support them.
9758 lt_prog_compiler_can_build_shared
=no
9763 # QNX uses GNU C++, but need to define -shared option too, otherwise
9765 lt_prog_compiler_pic
='-fPIC -shared'
9769 if test -d /usr
/nec
; then
9770 lt_prog_compiler_pic
=-Kconform_pic
9775 lt_prog_compiler_pic
='-fPIC'
9779 case $cc_basename in
9780 nvcc
*) # Cuda Compiler Driver 2.2
9781 lt_prog_compiler_wl
='-Xlinker '
9782 if test -n "$lt_prog_compiler_pic"; then
9783 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9788 # PORTME Check for flag to pass linker flags through the system compiler.
9791 lt_prog_compiler_wl
='-Wl,'
9792 if test ia64
= "$host_cpu"; then
9793 # AIX 5 now supports IA64 processor
9794 lt_prog_compiler_static
='-Bstatic'
9796 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9800 darwin
* | rhapsody
*)
9801 # PIC is the default on this platform
9802 # Common symbols not allowed in MH_DYLIB files
9803 lt_prog_compiler_pic
='-fno-common'
9804 case $cc_basename in
9806 # NAG Fortran compiler
9807 lt_prog_compiler_wl
='-Wl,-Wl,,'
9808 lt_prog_compiler_pic
='-PIC'
9809 lt_prog_compiler_static
='-Bstatic'
9814 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9815 # This hack is so that the source file can tell whether it is being
9816 # built for inclusion in a dll (and should export symbols for example).
9817 lt_prog_compiler_pic
='-DDLL_EXPORT'
9820 lt_prog_compiler_static
='$wl-static'
9825 hpux9
* | hpux10
* | hpux11
*)
9826 lt_prog_compiler_wl
='-Wl,'
9827 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9834 lt_prog_compiler_pic
='+Z'
9837 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9838 lt_prog_compiler_static
='$wl-a ${wl}archive'
9841 irix5
* | irix6
* | nonstopux
*)
9842 lt_prog_compiler_wl
='-Wl,'
9843 # PIC (with -KPIC) is the default.
9844 lt_prog_compiler_static
='-non_shared'
9847 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
9848 case $cc_basename in
9849 # old Intel for x86_64, which still supported -KPIC.
9851 lt_prog_compiler_wl
='-Wl,'
9852 lt_prog_compiler_pic
='-KPIC'
9853 lt_prog_compiler_static
='-static'
9855 # icc used to be incompatible with GCC.
9856 # ICC 10 doesn't accept -KPIC any more.
9858 lt_prog_compiler_wl
='-Wl,'
9859 lt_prog_compiler_pic
='-fPIC'
9860 lt_prog_compiler_static
='-static'
9862 # Lahey Fortran 8.1.
9864 lt_prog_compiler_wl
='-Wl,'
9865 lt_prog_compiler_pic
='--shared'
9866 lt_prog_compiler_static
='--static'
9869 # NAG Fortran compiler
9870 lt_prog_compiler_wl
='-Wl,-Wl,,'
9871 lt_prog_compiler_pic
='-PIC'
9872 lt_prog_compiler_static
='-Bstatic'
9875 # Fabrice Bellard et al's Tiny C Compiler
9876 lt_prog_compiler_wl
='-Wl,'
9877 lt_prog_compiler_pic
='-fPIC'
9878 lt_prog_compiler_static
='-static'
9880 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9881 # Portland Group compilers (*not* the Pentium gcc compiler,
9882 # which looks to be a dead project)
9883 lt_prog_compiler_wl
='-Wl,'
9884 lt_prog_compiler_pic
='-fpic'
9885 lt_prog_compiler_static
='-Bstatic'
9888 lt_prog_compiler_wl
='-Wl,'
9889 # All Alpha code is PIC.
9890 lt_prog_compiler_static
='-non_shared'
9892 xl
* | bgxl
* | bgf
* | mpixl
*)
9893 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9894 lt_prog_compiler_wl
='-Wl,'
9895 lt_prog_compiler_pic
='-qpic'
9896 lt_prog_compiler_static
='-qstaticlink'
9899 case `$CC -V 2>&1 | sed 5q` in
9900 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
9901 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9902 lt_prog_compiler_pic
='-KPIC'
9903 lt_prog_compiler_static
='-Bstatic'
9904 lt_prog_compiler_wl
=''
9906 *Sun\ F
* |
*Sun
*Fortran
*)
9907 lt_prog_compiler_pic
='-KPIC'
9908 lt_prog_compiler_static
='-Bstatic'
9909 lt_prog_compiler_wl
='-Qoption ld '
9913 lt_prog_compiler_pic
='-KPIC'
9914 lt_prog_compiler_static
='-Bstatic'
9915 lt_prog_compiler_wl
='-Wl,'
9917 *Intel
*\
[CF
]*Compiler
*)
9918 lt_prog_compiler_wl
='-Wl,'
9919 lt_prog_compiler_pic
='-fPIC'
9920 lt_prog_compiler_static
='-static'
9923 lt_prog_compiler_wl
='-Wl,'
9924 lt_prog_compiler_pic
='-fpic'
9925 lt_prog_compiler_static
='-Bstatic'
9933 lt_prog_compiler_pic
='-KPIC'
9934 lt_prog_compiler_static
='-Bstatic'
9938 # QNX uses GNU C++, but need to define -shared option too, otherwise
9940 lt_prog_compiler_pic
='-fPIC -shared'
9943 osf3
* | osf4
* | osf5
*)
9944 lt_prog_compiler_wl
='-Wl,'
9945 # All OSF/1 code is PIC.
9946 lt_prog_compiler_static
='-non_shared'
9950 lt_prog_compiler_static
='-non_shared'
9954 lt_prog_compiler_pic
='-KPIC'
9955 lt_prog_compiler_static
='-Bstatic'
9956 case $cc_basename in
9957 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9958 lt_prog_compiler_wl
='-Qoption ld ';;
9960 lt_prog_compiler_wl
='-Wl,';;
9965 lt_prog_compiler_wl
='-Qoption ld '
9966 lt_prog_compiler_pic
='-PIC'
9967 lt_prog_compiler_static
='-Bstatic'
9970 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9971 lt_prog_compiler_wl
='-Wl,'
9972 lt_prog_compiler_pic
='-KPIC'
9973 lt_prog_compiler_static
='-Bstatic'
9977 if test -d /usr
/nec
; then
9978 lt_prog_compiler_pic
='-Kconform_pic'
9979 lt_prog_compiler_static
='-Bstatic'
9983 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9984 lt_prog_compiler_wl
='-Wl,'
9985 lt_prog_compiler_pic
='-KPIC'
9986 lt_prog_compiler_static
='-Bstatic'
9990 lt_prog_compiler_wl
='-Wl,'
9991 lt_prog_compiler_can_build_shared
=no
9995 lt_prog_compiler_pic
='-pic'
9996 lt_prog_compiler_static
='-Bstatic'
10000 lt_prog_compiler_can_build_shared
=no
10006 # For platforms that do not support PIC, -DPIC is meaningless:
10008 lt_prog_compiler_pic
=
10011 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10016 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10017 if ${lt_cv_prog_compiler_pic+:} false
; then :
10018 $as_echo_n "(cached) " >&6
10020 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10023 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10024 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
10027 # Check to make sure the PIC flag actually works.
10029 if test -n "$lt_prog_compiler_pic"; then
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10031 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10032 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
10033 $as_echo_n "(cached) " >&6
10035 lt_cv_prog_compiler_pic_works
=no
10036 ac_outfile
=conftest.
$ac_objext
10037 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10038 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
10039 # Insert the option either (1) after the last *FLAGS variable, or
10040 # (2) before a word containing "conftest.", or (3) at the end.
10041 # Note that $ac_compile itself does not contain backslashes and begins
10042 # with a dollar sign (not a hyphen), so the echo should work correctly.
10043 # The option is referenced via a variable to avoid confusing sed.
10044 lt_compile
=`echo "$ac_compile" | $SED \
10045 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10046 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10047 -e 's:$: $lt_compiler_flag:'`
10048 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10049 (eval "$lt_compile" 2>conftest.err
)
10051 cat conftest.err
>&5
10052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10053 if (exit $ac_status) && test -s "$ac_outfile"; then
10054 # The compiler can only warn and ignore the option if not recognized
10055 # So say no if there are warnings other than the usual output.
10056 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10057 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10058 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10059 lt_cv_prog_compiler_pic_works
=yes
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10066 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10068 if test yes = "$lt_cv_prog_compiler_pic_works"; then
10069 case $lt_prog_compiler_pic in
10071 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10074 lt_prog_compiler_pic
=
10075 lt_prog_compiler_can_build_shared
=no
10091 # Check to make sure the static flag actually works.
10093 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10095 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10096 if ${lt_cv_prog_compiler_static_works+:} false
; then :
10097 $as_echo_n "(cached) " >&6
10099 lt_cv_prog_compiler_static_works
=no
10100 save_LDFLAGS
=$LDFLAGS
10101 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10102 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10103 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10104 # The linker can only warn and ignore the option if not recognized
10105 # So say no if there are warnings
10106 if test -s conftest.err
; then
10107 # Append any errors to the config.log.
10108 cat conftest.err
1>&5
10109 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10110 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10111 if diff conftest.exp conftest.er2
>/dev
/null
; then
10112 lt_cv_prog_compiler_static_works
=yes
10115 lt_cv_prog_compiler_static_works
=yes
10119 LDFLAGS
=$save_LDFLAGS
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10123 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10125 if test yes = "$lt_cv_prog_compiler_static_works"; then
10128 lt_prog_compiler_static
=
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10138 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10139 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10140 $as_echo_n "(cached) " >&6
10142 lt_cv_prog_compiler_c_o
=no
10143 $RM -r conftest
2>/dev
/null
10147 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10149 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10150 # Insert the option either (1) after the last *FLAGS variable, or
10151 # (2) before a word containing "conftest.", or (3) at the end.
10152 # Note that $ac_compile itself does not contain backslashes and begins
10153 # with a dollar sign (not a hyphen), so the echo should work correctly.
10154 lt_compile
=`echo "$ac_compile" | $SED \
10155 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10156 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10157 -e 's:$: $lt_compiler_flag:'`
10158 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10159 (eval "$lt_compile" 2>out
/conftest.err
)
10161 cat out
/conftest.err
>&5
10162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10163 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10165 # The compiler can only warn and ignore the option if not recognized
10166 # So say no if there are warnings
10167 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10168 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10169 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10170 lt_cv_prog_compiler_c_o
=yes
10175 # SGI C++ compiler will create directory out/ii_files/ for
10176 # template instantiation
10177 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10178 $RM out
/* && rmdir out
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10185 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10193 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10194 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10195 $as_echo_n "(cached) " >&6
10197 lt_cv_prog_compiler_c_o
=no
10198 $RM -r conftest
2>/dev
/null
10202 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10204 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10205 # Insert the option either (1) after the last *FLAGS variable, or
10206 # (2) before a word containing "conftest.", or (3) at the end.
10207 # Note that $ac_compile itself does not contain backslashes and begins
10208 # with a dollar sign (not a hyphen), so the echo should work correctly.
10209 lt_compile
=`echo "$ac_compile" | $SED \
10210 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10211 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10212 -e 's:$: $lt_compiler_flag:'`
10213 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10214 (eval "$lt_compile" 2>out
/conftest.err
)
10216 cat out
/conftest.err
>&5
10217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10218 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10220 # The compiler can only warn and ignore the option if not recognized
10221 # So say no if there are warnings
10222 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10223 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10224 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10225 lt_cv_prog_compiler_c_o
=yes
10230 # SGI C++ compiler will create directory out/ii_files/ for
10231 # template instantiation
10232 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10233 $RM out
/* && rmdir out
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10240 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10245 hard_links
=nottested
10246 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
10247 # do not overwrite the value of need_locks provided by the user
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10249 $as_echo_n "checking if we can lock with hard links... " >&6; }
10252 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10254 ln conftest.a conftest.b
2>&5 || hard_links
=no
10255 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10257 $as_echo "$hard_links" >&6; }
10258 if test no
= "$hard_links"; then
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10260 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10273 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10276 allow_undefined_flag
=
10277 always_export_symbols
=no
10279 archive_expsym_cmds
=
10280 compiler_needs_object
=no
10281 enable_shared_with_static_runtimes
=no
10282 export_dynamic_flag_spec
=
10283 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10284 hardcode_automatic
=no
10286 hardcode_direct_absolute
=no
10287 hardcode_libdir_flag_spec
=
10288 hardcode_libdir_separator
=
10289 hardcode_minus_L
=no
10290 hardcode_shlibpath_var
=unsupported
10292 link_all_deplibs
=unknown
10294 module_expsym_cmds
=
10295 old_archive_from_new_cmds
=
10296 old_archive_from_expsyms_cmds
=
10297 thread_safe_flag_spec
=
10298 whole_archive_flag_spec
=
10299 # include_expsyms should be a list of space-separated symbols to be *always*
10300 # included in the symbol list
10302 # exclude_expsyms can be an extended regexp of symbols to exclude
10303 # it will be wrapped by ' (' and ')$', so one must not match beginning or
10304 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10305 # as well as any symbol that contains 'd'.
10306 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10307 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10308 # platforms (ab)use it in PIC code, but their linkers get confused if
10309 # the symbol is explicitly referenced. Since portable code cannot
10310 # rely on this symbol name, it's probably fine to never include it in
10311 # preloaded symbol tables.
10312 # Exclude shared library initialization/finalization symbols.
10313 extract_expsyms_cmds
=
10316 cygwin
* | mingw
* | pw32
* | cegcc
*)
10317 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10318 # When not using gcc, we currently assume that we are using
10319 # Microsoft Visual C++.
10320 if test yes != "$GCC"; then
10325 # we just hope/assume this is gcc and not c89 (= MSVC++)
10328 openbsd
* | bitrig
*)
10335 # On some targets, GNU ld is compatible enough with the native linker
10336 # that we're better off using the native interface for both.
10337 lt_use_gnu_ld_interface
=no
10338 if test yes = "$with_gnu_ld"; then
10341 # The AIX port of GNU ld has always aspired to compatibility
10342 # with the native linker. However, as the warning in the GNU ld
10343 # block says, versions before 2.19.5* couldn't really create working
10344 # shared libraries, regardless of the interface used.
10345 case `$LD -v 2>&1` in
10346 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10347 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10348 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10350 lt_use_gnu_ld_interface
=yes
10355 lt_use_gnu_ld_interface
=yes
10360 if test yes = "$lt_use_gnu_ld_interface"; then
10361 # If archive_cmds runs LD, not CC, wlarc should be empty
10364 # Set some defaults for GNU ld with shared library support. These
10365 # are reset later if shared libraries are not supported. Putting them
10366 # here allows them to be overridden if necessary.
10367 runpath_var
=LD_RUN_PATH
10368 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10369 export_dynamic_flag_spec
='$wl--export-dynamic'
10370 # ancient GNU ld didn't support --whole-archive et. al.
10371 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10372 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10374 whole_archive_flag_spec
=
10376 supports_anon_versioning
=no
10377 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10378 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10379 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10380 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10381 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10382 *\
2.11.
*) ;; # other 2.11 versions
10383 *) supports_anon_versioning
=yes ;;
10386 # See if GNU ld supports shared libraries.
10389 # On AIX/PPC, the GNU linker is very broken
10390 if test ia64
!= "$host_cpu"; then
10394 *** Warning: the GNU linker, at least up to release 2.19, is reported
10395 *** to be unable to reliably create shared libraries on AIX.
10396 *** Therefore, libtool is disabling shared libraries support. If you
10397 *** really care for shared libraries, you may want to install binutils
10398 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10399 *** You will then need to restart the configuration process.
10408 # see comment about AmigaOS4 .so support
10409 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10410 archive_expsym_cmds
=''
10413 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)'
10414 hardcode_libdir_flag_spec
='-L$libdir'
10415 hardcode_minus_L
=yes
10421 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10422 allow_undefined_flag
=unsupported
10423 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10424 # support --undefined. This deserves some investigation. FIXME
10425 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10431 cygwin
* | mingw
* | pw32
* | cegcc
*)
10432 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10433 # as there is no search path for DLLs.
10434 hardcode_libdir_flag_spec
='-L$libdir'
10435 export_dynamic_flag_spec
='$wl--export-all-symbols'
10436 allow_undefined_flag
=unsupported
10437 always_export_symbols
=no
10438 enable_shared_with_static_runtimes
=yes
10439 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
10440 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10442 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10443 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10444 # If the export-symbols file already is a .def file, use it as
10445 # is; otherwise, prepend EXPORTS...
10446 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10447 cp $export_symbols $output_objdir/$soname.def;
10449 echo EXPORTS > $output_objdir/$soname.def;
10450 cat $export_symbols >> $output_objdir/$soname.def;
10452 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10459 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10460 link_all_deplibs
=yes
10464 hardcode_libdir_flag_spec
='-L$libdir'
10465 hardcode_minus_L
=yes
10466 allow_undefined_flag
=unsupported
10468 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10469 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10470 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10471 $ECHO EXPORTS >> $output_objdir/$libname.def~
10472 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10473 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10474 emximp -o $lib $output_objdir/$libname.def'
10475 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10476 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10477 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10478 $ECHO EXPORTS >> $output_objdir/$libname.def~
10479 prefix_cmds="$SED"~
10480 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10481 prefix_cmds="$prefix_cmds -e 1d";
10483 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10484 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10485 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10486 emximp -o $lib $output_objdir/$libname.def'
10487 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10488 enable_shared_with_static_runtimes
=yes
10493 hardcode_shlibpath_var
=no
10494 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10495 export_dynamic_flag_spec
='$wl-E'
10496 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10497 # Instead, shared libraries are loaded at an image base (0x10000000 by
10498 # default) and relocated if they conflict, which is a slow very memory
10499 # consuming and fragmenting process. To avoid this, we pick a random,
10500 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10501 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10502 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10503 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'
10506 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10508 if test linux-dietlibc
= "$host_os"; then
10509 case $cc_basename in
10510 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10513 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10514 && test no
= "$tmp_diet"
10516 tmp_addflag
=' $pic_flag'
10517 tmp_sharedflag
='-shared'
10518 case $cc_basename,$host_cpu in
10519 pgcc
*) # Portland Group C compiler
10520 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'
10521 tmp_addflag
=' $pic_flag'
10523 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10524 # Portland Group f77 and f90 compilers
10525 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'
10526 tmp_addflag
=' $pic_flag -Mnomain' ;;
10527 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10528 tmp_addflag
=' -i_dynamic' ;;
10529 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10530 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10531 ifc
* | ifort
*) # Intel Fortran compiler
10532 tmp_addflag
=' -nofor_main' ;;
10533 lf95
*) # Lahey Fortran 8.1
10534 whole_archive_flag_spec
=
10535 tmp_sharedflag
='--shared' ;;
10536 nagfor
*) # NAGFOR 5.3
10537 tmp_sharedflag
='-Wl,-shared' ;;
10538 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10539 tmp_sharedflag
='-qmkshrobj'
10541 nvcc
*) # Cuda Compiler Driver 2.2
10542 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'
10543 compiler_needs_object
=yes
10546 case `$CC -V 2>&1 | sed 5q` in
10547 *Sun\ C
*) # Sun C 5.9
10548 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'
10549 compiler_needs_object
=yes
10550 tmp_sharedflag
='-G' ;;
10551 *Sun\ F
*) # Sun Fortran 8.3
10552 tmp_sharedflag
='-G' ;;
10554 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10556 if test yes = "$supports_anon_versioning"; then
10557 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10558 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10559 echo "local: *; };" >> $output_objdir/$libname.ver~
10560 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10563 case $cc_basename in
10565 export_dynamic_flag_spec
='-rdynamic'
10567 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10568 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10569 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10570 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10571 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10572 if test yes = "$supports_anon_versioning"; then
10573 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10574 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10575 echo "local: *; };" >> $output_objdir/$libname.ver~
10576 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10586 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10587 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10590 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10591 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10596 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10600 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10601 *** create shared libraries on Solaris systems. Therefore, libtool
10602 *** is disabling shared libraries support. We urge you to upgrade GNU
10603 *** binutils to release 2.9.1 or newer. Another option is to modify
10604 *** your PATH or compiler configuration so that the native linker is
10605 *** used, and then restart.
10608 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10609 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10610 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10616 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10617 case `$LD -v 2>&1` in
10618 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10622 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10623 *** reliably create shared libraries on SCO systems. Therefore, libtool
10624 *** is disabling shared libraries support. We urge you to upgrade GNU
10625 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10626 *** your PATH or compiler configuration so that the native linker is
10627 *** used, and then restart.
10632 # For security reasons, it is highly recommended that you always
10633 # use absolute paths for naming shared libraries, and exclude the
10634 # DT_RUNPATH tag from executables and libraries. But doing so
10635 # requires that you compile everything twice, which is a pain.
10636 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10637 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10638 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10639 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10648 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10650 hardcode_direct
=yes
10651 hardcode_shlibpath_var
=no
10655 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10656 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10657 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10664 if test no
= "$ld_shlibs"; then
10666 hardcode_libdir_flag_spec
=
10667 export_dynamic_flag_spec
=
10668 whole_archive_flag_spec
=
10671 # PORTME fill in a description of your system's linker (not GNU ld)
10674 allow_undefined_flag
=unsupported
10675 always_export_symbols
=yes
10676 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'
10677 # Note: this linker hardcodes the directories in LIBPATH if there
10678 # are no directories specified by -L.
10679 hardcode_minus_L
=yes
10680 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10681 # Neither direct hardcoding nor static linking is supported with a
10683 hardcode_direct
=unsupported
10688 if test ia64
= "$host_cpu"; then
10689 # On IA64, the linker does run time linking by default, so we don't
10690 # have to do anything special.
10691 aix_use_runtimelinking
=no
10692 exp_sym_flag
='-Bexport'
10695 # If we're using GNU nm, then we don't want the "-C" option.
10696 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10697 # Without the "-l" option, or with the "-B" option, AIX nm treats
10698 # weak defined symbols like other global defined symbols, whereas
10699 # GNU nm marks them as "W".
10700 # While the 'weak' keyword is ignored in the Export File, we need
10701 # it in the Import File for the 'aix-soname' feature, so we have
10702 # to replace the "-B" option with "-P" for AIX nm.
10703 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10704 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
10706 export_symbols_cmds
='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
10708 aix_use_runtimelinking
=no
10710 # Test if we are trying to use run time linking or normal
10711 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10712 # have runtime linking enabled, and use it for executables.
10713 # For shared libraries, we enable/disable runtime linking
10714 # depending on the kind of the shared library created -
10715 # when "with_aix_soname,aix_use_runtimelinking" is:
10716 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10717 # "aix,yes" lib.so shared, rtl:yes, for executables
10718 # lib.a static archive
10719 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10720 # lib.a(lib.so.V) shared, rtl:no, for executables
10721 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10722 # lib.a(lib.so.V) shared, rtl:no
10723 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10724 # lib.a static archive
10725 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10726 for ld_flag
in $LDFLAGS; do
10727 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
10728 aix_use_runtimelinking
=yes
10732 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
10733 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10734 # so we don't have lib.a shared libs to link our executables.
10735 # We have to force runtime linking in this case.
10736 aix_use_runtimelinking
=yes
10737 LDFLAGS
="$LDFLAGS -Wl,-brtl"
10742 exp_sym_flag
='-bexport'
10743 no_entry_flag
='-bnoentry'
10746 # When large executables or shared objects are built, AIX ld can
10747 # have problems creating the table of contents. If linking a library
10748 # or program results in "error TOC overflow" add -mminimal-toc to
10749 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10750 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10753 hardcode_direct
=yes
10754 hardcode_direct_absolute
=yes
10755 hardcode_libdir_separator
=':'
10756 link_all_deplibs
=yes
10757 file_list_spec
='$wl-f,'
10758 case $with_aix_soname,$aix_use_runtimelinking in
10759 aix
,*) ;; # traditional, no import file
10760 svr4
,* |
*,yes) # use import file
10761 # The Import File defines what to hardcode.
10763 hardcode_direct_absolute
=no
10767 if test yes = "$GCC"; then
10768 case $host_os in aix4.
[012]|aix4.
[012].
*)
10769 # We only want to do this on AIX 4.2 and lower, the check
10770 # below for broken collect2 doesn't work under 4.3+
10771 collect2name
=`$CC -print-prog-name=collect2`
10772 if test -f "$collect2name" &&
10773 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10775 # We have reworked collect2
10778 # We have old collect2
10779 hardcode_direct
=unsupported
10780 # It fails to find uninstalled libraries when the uninstalled
10781 # path is not listed in the libpath. Setting hardcode_minus_L
10782 # to unsupported forces relinking
10783 hardcode_minus_L
=yes
10784 hardcode_libdir_flag_spec
='-L$libdir'
10785 hardcode_libdir_separator
=
10789 shared_flag
='-shared'
10790 if test yes = "$aix_use_runtimelinking"; then
10791 shared_flag
="$shared_flag "'$wl-G'
10793 # Need to ensure runtime linking is disabled for the traditional
10794 # shared library, or the linker may eventually find shared libraries
10795 # /with/ Import File - we do not want to mix them.
10796 shared_flag_aix
='-shared'
10797 shared_flag_svr4
='-shared $wl-G'
10800 if test ia64
= "$host_cpu"; then
10801 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10802 # chokes on -Wl,-G. The following line is correct:
10805 if test yes = "$aix_use_runtimelinking"; then
10806 shared_flag
='$wl-G'
10808 shared_flag
='$wl-bM:SRE'
10810 shared_flag_aix
='$wl-bM:SRE'
10811 shared_flag_svr4
='$wl-G'
10815 export_dynamic_flag_spec
='$wl-bexpall'
10816 # It seems that -bexpall does not export symbols beginning with
10817 # underscore (_), so it is better to generate a list of symbols to export.
10818 always_export_symbols
=yes
10819 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10820 # Warning - without using the other runtime loading flags (-brtl),
10821 # -berok will link without error, but may produce a broken library.
10822 allow_undefined_flag
='-berok'
10823 # Determine the default libpath from the value encoded in an
10824 # empty executable.
10825 if test set = "${lt_cv_aix_libpath+set}"; then
10826 aix_libpath
=$lt_cv_aix_libpath
10828 if ${lt_cv_aix_libpath_+:} false
; then :
10829 $as_echo_n "(cached) " >&6
10831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10832 /* end confdefs.h. */
10842 if ac_fn_c_try_link
"$LINENO"; then :
10844 lt_aix_libpath_sed
='
10845 /Import File Strings/,/^$/ {
10847 s/^0 *\([^ ]*\) *$/\1/
10851 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10852 # Check for a 64-bit object if we didn't find anything.
10853 if test -z "$lt_cv_aix_libpath_"; then
10854 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10857 rm -f core conftest.err conftest.
$ac_objext \
10858 conftest
$ac_exeext conftest.
$ac_ext
10859 if test -z "$lt_cv_aix_libpath_"; then
10860 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10865 aix_libpath
=$lt_cv_aix_libpath_
10868 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10869 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\
$export_symbols' '$shared_flag
10871 if test ia64
= "$host_cpu"; then
10872 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
10873 allow_undefined_flag
="-z nodefs"
10874 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"
10876 # Determine the default libpath from the value encoded in an
10877 # empty executable.
10878 if test set = "${lt_cv_aix_libpath+set}"; then
10879 aix_libpath
=$lt_cv_aix_libpath
10881 if ${lt_cv_aix_libpath_+:} false
; then :
10882 $as_echo_n "(cached) " >&6
10884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10885 /* end confdefs.h. */
10895 if ac_fn_c_try_link
"$LINENO"; then :
10897 lt_aix_libpath_sed
='
10898 /Import File Strings/,/^$/ {
10900 s/^0 *\([^ ]*\) *$/\1/
10904 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10905 # Check for a 64-bit object if we didn't find anything.
10906 if test -z "$lt_cv_aix_libpath_"; then
10907 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10910 rm -f core conftest.err conftest.
$ac_objext \
10911 conftest
$ac_exeext conftest.
$ac_ext
10912 if test -z "$lt_cv_aix_libpath_"; then
10913 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10918 aix_libpath
=$lt_cv_aix_libpath_
10921 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10922 # Warning - without using the other run time loading flags,
10923 # -berok will link without error, but may produce a broken library.
10924 no_undefined_flag
=' $wl-bernotok'
10925 allow_undefined_flag
=' $wl-berok'
10926 if test yes = "$with_gnu_ld"; then
10927 # We only use this code for GNU lds that support --whole-archive.
10928 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
10930 # Exported symbols can be pulled into shared objects from archives
10931 whole_archive_flag_spec
='$convenience'
10933 archive_cmds_need_lc
=yes
10934 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10935 # -brtl affects multiple linker settings, -berok does not and is overridden later
10936 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10937 if test svr4
!= "$with_aix_soname"; then
10938 # This is similar to how AIX traditionally builds its shared libraries.
10939 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
10941 if test aix
!= "$with_aix_soname"; then
10942 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
10944 # used by -dlpreopen to get the symbols
10945 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10947 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10955 # see comment about AmigaOS4 .so support
10956 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10957 archive_expsym_cmds
=''
10960 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)'
10961 hardcode_libdir_flag_spec
='-L$libdir'
10962 hardcode_minus_L
=yes
10968 export_dynamic_flag_spec
=-rdynamic
10971 cygwin
* | mingw
* | pw32
* | cegcc
*)
10972 # When not using gcc, we currently assume that we are using
10973 # Microsoft Visual C++.
10974 # hardcode_libdir_flag_spec is actually meaningless, as there is
10975 # no search path for DLLs.
10976 case $cc_basename in
10979 hardcode_libdir_flag_spec
=' '
10980 allow_undefined_flag
=unsupported
10981 always_export_symbols
=yes
10983 # Tell ltmain to make .lib files, not .a files.
10985 # Tell ltmain to make .dll files, not .so files.
10987 # FIXME: Setting linknames here is a bad hack.
10988 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10989 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10990 cp "$export_symbols" "$output_objdir/$soname.def";
10991 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10993 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10995 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10997 # The linker will not automatically build a static lib if we build a DLL.
10998 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10999 enable_shared_with_static_runtimes
=yes
11000 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11001 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11003 old_postinstall_cmds
='chmod 644 $oldlib'
11004 postlink_cmds
='lt_outputfile="@OUTPUT@"~
11005 lt_tool_outputfile="@TOOL_OUTPUT@"~
11006 case $lt_outputfile in
11009 lt_outputfile=$lt_outputfile.exe
11010 lt_tool_outputfile=$lt_tool_outputfile.exe
11013 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11014 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11015 $RM "$lt_outputfile.manifest";
11019 # Assume MSVC wrapper
11020 hardcode_libdir_flag_spec
=' '
11021 allow_undefined_flag
=unsupported
11022 # Tell ltmain to make .lib files, not .a files.
11024 # Tell ltmain to make .dll files, not .so files.
11026 # FIXME: Setting linknames here is a bad hack.
11027 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11028 # The linker will automatically build a .lib file if we build a DLL.
11029 old_archive_from_new_cmds
='true'
11030 # FIXME: Should let the user specify the lib program.
11031 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11032 enable_shared_with_static_runtimes
=yes
11037 darwin
* | rhapsody
*)
11040 archive_cmds_need_lc
=no
11042 hardcode_automatic
=yes
11043 hardcode_shlibpath_var
=unsupported
11044 if test yes = "$lt_cv_ld_force_load"; then
11045 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\"`'
11048 whole_archive_flag_spec
=''
11050 link_all_deplibs
=yes
11051 allow_undefined_flag
=$_lt_dar_allow_undefined
11052 case $cc_basename in
11053 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
11054 *) _lt_dar_can_shared
=$GCC ;;
11056 if test yes = "$_lt_dar_can_shared"; then
11057 output_verbose_link_cmd
=func_echo_all
11058 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11059 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11060 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"
11061 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"
11070 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11071 hardcode_libdir_flag_spec
='-L$libdir'
11072 hardcode_shlibpath_var
=no
11075 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11076 # support. Future versions do this automatically, but an explicit c++rt0.o
11077 # does not break anything, and helps significantly (at the cost of a little
11080 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11081 hardcode_libdir_flag_spec
='-R$libdir'
11082 hardcode_direct
=yes
11083 hardcode_shlibpath_var
=no
11086 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11088 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11089 hardcode_direct
=yes
11090 hardcode_minus_L
=yes
11091 hardcode_shlibpath_var
=no
11094 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11095 freebsd
* | dragonfly
*)
11096 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11097 hardcode_libdir_flag_spec
='-R$libdir'
11098 hardcode_direct
=yes
11099 hardcode_shlibpath_var
=no
11103 if test yes = "$GCC"; then
11104 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
11106 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
11108 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11109 hardcode_libdir_separator
=:
11110 hardcode_direct
=yes
11112 # hardcode_minus_L: Not really in the search PATH,
11113 # but as the default location of the library.
11114 hardcode_minus_L
=yes
11115 export_dynamic_flag_spec
='$wl-E'
11119 if test yes,no
= "$GCC,$with_gnu_ld"; then
11120 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11122 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11124 if test no
= "$with_gnu_ld"; then
11125 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11126 hardcode_libdir_separator
=:
11127 hardcode_direct
=yes
11128 hardcode_direct_absolute
=yes
11129 export_dynamic_flag_spec
='$wl-E'
11130 # hardcode_minus_L: Not really in the search PATH,
11131 # but as the default location of the library.
11132 hardcode_minus_L
=yes
11137 if test yes,no
= "$GCC,$with_gnu_ld"; then
11140 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11143 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11146 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11152 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11155 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11159 # Older versions of the 11.00 compiler do not understand -b yet
11160 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11162 $as_echo_n "checking if $CC understands -b... " >&6; }
11163 if ${lt_cv_prog_compiler__b+:} false
; then :
11164 $as_echo_n "(cached) " >&6
11166 lt_cv_prog_compiler__b
=no
11167 save_LDFLAGS
=$LDFLAGS
11168 LDFLAGS
="$LDFLAGS -b"
11169 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11170 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11171 # The linker can only warn and ignore the option if not recognized
11172 # So say no if there are warnings
11173 if test -s conftest.err
; then
11174 # Append any errors to the config.log.
11175 cat conftest.err
1>&5
11176 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11177 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11178 if diff conftest.exp conftest.er2
>/dev
/null
; then
11179 lt_cv_prog_compiler__b
=yes
11182 lt_cv_prog_compiler__b
=yes
11186 LDFLAGS
=$save_LDFLAGS
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11190 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11192 if test yes = "$lt_cv_prog_compiler__b"; then
11193 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11195 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11201 if test no
= "$with_gnu_ld"; then
11202 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11203 hardcode_libdir_separator
=:
11208 hardcode_shlibpath_var
=no
11211 hardcode_direct
=yes
11212 hardcode_direct_absolute
=yes
11213 export_dynamic_flag_spec
='$wl-E'
11215 # hardcode_minus_L: Not really in the search PATH,
11216 # but as the default location of the library.
11217 hardcode_minus_L
=yes
11223 irix5
* | irix6
* | nonstopux
*)
11224 if test yes = "$GCC"; then
11225 archive_cmds
='$CC -shared $pic_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'
11226 # Try to use the -exported_symbol ld option, if it does not
11227 # work, assume that -exports_file does not work either and
11228 # implicitly export all symbols.
11229 # This should be the same for all languages, so no per-tag cache variable.
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11231 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11232 if ${lt_cv_irix_exported_symbol+:} false
; then :
11233 $as_echo_n "(cached) " >&6
11235 save_LDFLAGS
=$LDFLAGS
11236 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11238 /* end confdefs.h. */
11239 int foo (void) { return 0; }
11241 if ac_fn_c_try_link
"$LINENO"; then :
11242 lt_cv_irix_exported_symbol
=yes
11244 lt_cv_irix_exported_symbol
=no
11246 rm -f core conftest.err conftest.
$ac_objext \
11247 conftest
$ac_exeext conftest.
$ac_ext
11248 LDFLAGS
=$save_LDFLAGS
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11251 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11252 if test yes = "$lt_cv_irix_exported_symbol"; then
11253 archive_expsym_cmds
='$CC -shared $pic_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 $wl-exports_file $wl$export_symbols -o $lib'
11256 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'
11257 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'
11259 archive_cmds_need_lc
='no'
11260 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11261 hardcode_libdir_separator
=:
11263 link_all_deplibs
=yes
11267 case $cc_basename in
11269 # Fabrice Bellard et al's Tiny C Compiler
11271 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11277 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11278 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11280 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11282 hardcode_libdir_flag_spec
='-R$libdir'
11283 hardcode_direct
=yes
11284 hardcode_shlibpath_var
=no
11288 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11289 hardcode_direct
=yes
11290 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11291 hardcode_libdir_separator
=:
11292 hardcode_shlibpath_var
=no
11298 openbsd
* | bitrig
*)
11299 if test -f /usr
/libexec
/ld.so
; then
11300 hardcode_direct
=yes
11301 hardcode_shlibpath_var
=no
11302 hardcode_direct_absolute
=yes
11303 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11304 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11305 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11306 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11307 export_dynamic_flag_spec
='$wl-E'
11309 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11310 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11318 hardcode_libdir_flag_spec
='-L$libdir'
11319 hardcode_minus_L
=yes
11320 allow_undefined_flag
=unsupported
11322 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11323 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11324 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11325 $ECHO EXPORTS >> $output_objdir/$libname.def~
11326 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11327 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11328 emximp -o $lib $output_objdir/$libname.def'
11329 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11330 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11331 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11332 $ECHO EXPORTS >> $output_objdir/$libname.def~
11333 prefix_cmds="$SED"~
11334 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11335 prefix_cmds="$prefix_cmds -e 1d";
11337 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11338 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11339 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11340 emximp -o $lib $output_objdir/$libname.def'
11341 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11342 enable_shared_with_static_runtimes
=yes
11346 if test yes = "$GCC"; then
11347 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11348 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'
11350 allow_undefined_flag
=' -expect_unresolved \*'
11351 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'
11353 archive_cmds_need_lc
='no'
11354 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11355 hardcode_libdir_separator
=:
11358 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11359 if test yes = "$GCC"; then
11360 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11361 archive_cmds
='$CC -shared$allow_undefined_flag $pic_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'
11362 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11364 allow_undefined_flag
=' -expect_unresolved \*'
11365 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'
11366 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~
11367 $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'
11369 # Both c and cxx compiler support -rpath directly
11370 hardcode_libdir_flag_spec
='-rpath $libdir'
11372 archive_cmds_need_lc
='no'
11373 hardcode_libdir_separator
=:
11377 no_undefined_flag
=' -z defs'
11378 if test yes = "$GCC"; then
11380 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11381 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11382 $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11384 case `$CC -V 2>&1` in
11387 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11388 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11389 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11393 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11394 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11395 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11399 hardcode_libdir_flag_spec
='-R$libdir'
11400 hardcode_shlibpath_var
=no
11402 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11404 # The compiler driver will combine and reorder linker options,
11405 # but understands '-z linker_flag'. GCC discards it without '$wl',
11406 # but is careful enough not to reorder.
11407 # Supported since Solaris 2.6 (maybe 2.5.1?)
11408 if test yes = "$GCC"; then
11409 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11411 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11415 link_all_deplibs
=yes
11419 if test sequent
= "$host_vendor"; then
11420 # Use $CC to link under sequent, because it throws in some extra .o
11421 # files that make .init and .fini sections work.
11422 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11424 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11426 hardcode_libdir_flag_spec
='-L$libdir'
11427 hardcode_direct
=yes
11428 hardcode_minus_L
=yes
11429 hardcode_shlibpath_var
=no
11433 case $host_vendor in
11435 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11436 hardcode_direct
=yes # is this really true???
11439 ## LD is ld it makes a PLAMLIB
11440 ## CC just makes a GrossModule.
11441 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11442 reload_cmds
='$CC -r -o $output$reload_objs'
11446 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11447 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11450 runpath_var
='LD_RUN_PATH'
11451 hardcode_shlibpath_var
=no
11455 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11456 hardcode_shlibpath_var
=no
11457 export_dynamic_flag_spec
='-Bexport'
11461 if test -d /usr
/nec
; then
11462 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11463 hardcode_shlibpath_var
=no
11464 runpath_var
=LD_RUN_PATH
11465 hardcode_runpath_var
=yes
11470 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11471 no_undefined_flag
='$wl-z,text'
11472 archive_cmds_need_lc
=no
11473 hardcode_shlibpath_var
=no
11474 runpath_var
='LD_RUN_PATH'
11476 if test yes = "$GCC"; then
11477 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11478 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11480 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11481 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11485 sysv5
* | sco3.2v5
* | sco5v6
*)
11486 # Note: We CANNOT use -z defs as we might desire, because we do not
11487 # link with -lc, and that would cause any symbols used from libc to
11488 # always be unresolved, which means just about no library would
11489 # ever link correctly. If we're not using GNU ld we use -z text
11490 # though, which does catch some bad symbols but isn't as heavy-handed
11492 no_undefined_flag
='$wl-z,text'
11493 allow_undefined_flag
='$wl-z,nodefs'
11494 archive_cmds_need_lc
=no
11495 hardcode_shlibpath_var
=no
11496 hardcode_libdir_flag_spec
='$wl-R,$libdir'
11497 hardcode_libdir_separator
=':'
11498 link_all_deplibs
=yes
11499 export_dynamic_flag_spec
='$wl-Bexport'
11500 runpath_var
='LD_RUN_PATH'
11502 if test yes = "$GCC"; then
11503 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11504 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11506 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11507 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11512 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11513 hardcode_libdir_flag_spec
='-L$libdir'
11514 hardcode_shlibpath_var
=no
11522 if test sni
= "$host_vendor"; then
11524 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11525 export_dynamic_flag_spec
='$wl-Blargedynsym'
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11532 $as_echo "$ld_shlibs" >&6; }
11533 test no
= "$ld_shlibs" && can_build_shared
=no
11535 with_gnu_ld
=$with_gnu_ld
11552 # Do we need to explicitly link libc?
11554 case "x$archive_cmds_need_lc" in
11556 # Assume -lc should be added
11557 archive_cmds_need_lc
=yes
11559 if test yes,yes = "$GCC,$enable_shared"; then
11560 case $archive_cmds in
11562 # FIXME: we may have to deal with multi-command sequences.
11565 # Test whether the compiler implicitly links with -lc since on some
11566 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11567 # to ld, don't add -lc before -lgcc.
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11569 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11570 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11571 $as_echo_n "(cached) " >&6
11574 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11576 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11577 (eval $ac_compile) 2>&5
11579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11580 test $ac_status = 0; } 2>conftest.err
; then
11583 libobjs
=conftest.
$ac_objext
11585 wl
=$lt_prog_compiler_wl
11586 pic_flag
=$lt_prog_compiler_pic
11592 lt_save_allow_undefined_flag
=$allow_undefined_flag
11593 allow_undefined_flag
=
11594 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11595 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11598 test $ac_status = 0; }
11600 lt_cv_archive_cmds_need_lc
=no
11602 lt_cv_archive_cmds_need_lc
=yes
11604 allow_undefined_flag
=$lt_save_allow_undefined_flag
11606 cat conftest.err
1>&5
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11612 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11613 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11772 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11774 if test yes = "$GCC"; then
11776 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
11777 *) lt_awk_arg
='/^libraries:/' ;;
11780 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
11781 *) lt_sed_strip_eq
='s|=/|/|g' ;;
11783 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11784 case $lt_search_path_spec in
11786 # if the path contains ";" then we assume it to be the separator
11787 # otherwise default to the standard path separator (i.e. ":") - it is
11788 # assumed that no part of a normal pathname contains ";" but that should
11789 # okay in the real world where ";" in dirpaths is itself problematic.
11790 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11793 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11796 # Ok, now we have the path, separated by spaces, we can step through it
11797 # and add multilib dir if necessary...
11798 lt_tmp_lt_search_path_spec
=
11799 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11800 # ...but if some path component already ends with the multilib dir we assume
11801 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11802 case "$lt_multi_os_dir; $lt_search_path_spec " in
11803 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
11807 for lt_sys_path
in $lt_search_path_spec; do
11808 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11809 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11810 elif test -n "$lt_multi_os_dir"; then
11811 test -d "$lt_sys_path" && \
11812 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11815 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11816 BEGIN {RS = " "; FS = "/|\n";} {
11819 for (lt_i = NF; lt_i > 0; lt_i--) {
11820 if ($lt_i != "" && $lt_i != ".") {
11821 if ($lt_i == "..") {
11824 if (lt_count == 0) {
11825 lt_foo = "/" $lt_i lt_foo;
11832 if (lt_foo != "") { lt_freq[lt_foo]++; }
11833 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11835 # AWK program above erroneously prepends '/' to C:/dos/paths
11838 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11839 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11841 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11843 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11845 library_names_spec
=
11846 libname_spec
='lib$name'
11850 postuninstall_cmds
=
11854 shlibpath_overrides_runpath
=unknown
11856 dynamic_linker
="$host_os ld.so"
11857 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11858 need_lib_prefix
=unknown
11859 hardcode_into_libs
=no
11861 # when you set need_version to no, make sure it does not cause -set_version
11862 # flags to be left without arguments
11863 need_version
=unknown
11869 version_type
=linux
# correct to gnu/linux during the next big refactor
11870 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
11871 shlibpath_var
=LIBPATH
11873 # AIX 3 has no versioning support, so we append a major version to the name.
11874 soname_spec
='$libname$release$shared_ext$major'
11878 version_type
=linux
# correct to gnu/linux during the next big refactor
11881 hardcode_into_libs
=yes
11882 if test ia64
= "$host_cpu"; then
11883 # AIX 5 supports IA64
11884 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11885 shlibpath_var
=LD_LIBRARY_PATH
11887 # With GCC up to 2.95.x, collect2 would create an import file
11888 # for dependence libraries. The import file would start with
11889 # the line '#! .'. This would cause the generated library to
11890 # depend on '.', always an invalid library. This was fixed in
11891 # development snapshots of GCC prior to 3.0.
11893 aix4 | aix4.
[01] | aix4.
[01].
*)
11894 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11896 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
11899 can_build_shared
=no
11903 # Using Import Files as archive members, it is possible to support
11904 # filename-based versioning of shared library archives on AIX. While
11905 # this would work for both with and without runtime linking, it will
11906 # prevent static linking of such archives. So we do filename-based
11907 # shared library versioning with .so extension only, which is used
11908 # when both runtime linking and shared linking is enabled.
11909 # Unfortunately, runtime linking may impact performance, so we do
11910 # not want this to be the default eventually. Also, we use the
11911 # versioned .so libs for executables only if there is the -brtl
11912 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11913 # To allow for filename-based versioning support, we need to create
11914 # libNAME.so.V as an archive file, containing:
11915 # *) an Import File, referring to the versioned filename of the
11916 # archive as well as the shared archive member, telling the
11917 # bitwidth (32 or 64) of that shared object, and providing the
11918 # list of exported symbols of that shared object, eventually
11919 # decorated with the 'weak' keyword
11920 # *) the shared object with the F_LOADONLY flag set, to really avoid
11921 # it being seen by the linker.
11922 # At run time we better use the real file rather than another symlink,
11923 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11925 case $with_aix_soname,$aix_use_runtimelinking in
11926 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11927 # soname into executable. Probably we can add versioning support to
11928 # collect2, so additional links can be useful in future.
11929 aix
,yes) # traditional libtool
11930 dynamic_linker
='AIX unversionable lib.so'
11931 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11932 # instead of lib<name>.a to let people know that these are not
11933 # typical AIX shared libraries.
11934 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11936 aix
,no
) # traditional AIX only
11937 dynamic_linker
='AIX lib.a(lib.so.V)'
11938 # We preserve .a as extension for shared libraries through AIX4.2
11939 # and later when we are not doing run time linking.
11940 library_names_spec
='$libname$release.a $libname.a'
11941 soname_spec
='$libname$release$shared_ext$major'
11943 svr4
,*) # full svr4 only
11944 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
11945 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11946 # We do not specify a path in Import Files, so LIBPATH fires.
11947 shlibpath_overrides_runpath
=yes
11949 *,yes) # both, prefer svr4
11950 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11951 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11952 # unpreferred sharedlib libNAME.a needs extra handling
11953 postinstall_cmds
='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
11954 postuninstall_cmds
='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
11955 # We do not specify a path in Import Files, so LIBPATH fires.
11956 shlibpath_overrides_runpath
=yes
11958 *,no
) # both, prefer aix
11959 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11960 library_names_spec
='$libname$release.a $libname.a'
11961 soname_spec
='$libname$release$shared_ext$major'
11962 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11963 postinstall_cmds
='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
11964 postuninstall_cmds
='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
11967 shlibpath_var
=LIBPATH
11974 # Since July 2007 AmigaOS4 officially supports .so libraries.
11975 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11976 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11979 library_names_spec
='$libname.ixlibrary $libname.a'
11980 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11981 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
11987 library_names_spec
='$libname$shared_ext'
11988 dynamic_linker
="$host_os ld.so"
11989 shlibpath_var
=LIBRARY_PATH
11993 version_type
=linux
# correct to gnu/linux during the next big refactor
11995 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11996 soname_spec
='$libname$release$shared_ext$major'
11997 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11998 shlibpath_var
=LD_LIBRARY_PATH
11999 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12000 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12001 # the default ld.so.conf also contains /usr/contrib/lib and
12002 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12003 # libtool to hard-code these into programs
12006 cygwin
* | mingw
* | pw32
* | cegcc
*)
12007 version_type
=windows
12012 case $GCC,$cc_basename in
12015 library_names_spec
='$libname.dll.a'
12016 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12017 postinstall_cmds
='base_file=`basename \$file`~
12018 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12019 dldir=$destdir/`dirname \$dlpath`~
12020 test -d \$dldir || mkdir -p \$dldir~
12021 $install_prog $dir/$dlname \$dldir/$dlname~
12022 chmod a+x \$dldir/$dlname~
12023 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12024 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12026 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12027 dlpath=$dir/\$dldll~
12029 shlibpath_overrides_runpath
=yes
12033 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12034 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12036 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
12039 # MinGW DLLs use traditional 'lib' prefix
12040 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12043 # pw32 DLLs use 'pw' prefix rather than 'lib'
12044 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12047 dynamic_linker
='Win32 ld.exe'
12052 libname_spec
='$name'
12053 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12054 library_names_spec
='$libname.dll.lib'
12058 sys_lib_search_path_spec
=
12061 for lt_path
in $LIB
12064 # Let DOS variable expansion print the short 8.3 style file name.
12065 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12066 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
12069 # Convert to MSYS style.
12070 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12073 # Convert to unix form, then to dos form, then back to unix form
12074 # but this time dos style (no spaces!) so that the unix form looks
12075 # like /cygdrive/c/PROGRA~1:/cygdr...
12076 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
12077 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12078 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12081 sys_lib_search_path_spec
=$LIB
12082 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
12083 # It is most probably a Windows format PATH.
12084 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12086 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12088 # FIXME: find the short name or the path components, as spaces are
12089 # common. (e.g. "Program Files" -> "PROGRA~1")
12093 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12094 postinstall_cmds
='base_file=`basename \$file`~
12095 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12096 dldir=$destdir/`dirname \$dlpath`~
12097 test -d \$dldir || mkdir -p \$dldir~
12098 $install_prog $dir/$dlname \$dldir/$dlname'
12099 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12100 dlpath=$dir/\$dldll~
12102 shlibpath_overrides_runpath
=yes
12103 dynamic_linker
='Win32 link.exe'
12107 # Assume MSVC wrapper
12108 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
12109 dynamic_linker
='Win32 ld.exe'
12112 # FIXME: first we should search . and the directory the executable is in
12116 darwin
* | rhapsody
*)
12117 dynamic_linker
="$host_os dyld"
12118 version_type
=darwin
12121 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
12122 soname_spec
='$libname$release$major$shared_ext'
12123 shlibpath_overrides_runpath
=yes
12124 shlibpath_var
=DYLD_LIBRARY_PATH
12125 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12127 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
12128 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12132 version_type
=linux
# correct to gnu/linux during the next big refactor
12135 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12136 soname_spec
='$libname$release$shared_ext$major'
12137 shlibpath_var
=LD_LIBRARY_PATH
12140 freebsd
* | dragonfly
*)
12141 # DragonFly does not have aout. When/if they implement a new
12142 # versioning mechanism, adjust this.
12143 if test -x /usr
/bin
/objformat
; then
12144 objformat
=`/usr/bin/objformat`
12147 freebsd
[23].
*) objformat
=aout
;;
12148 *) objformat
=elf
;;
12151 version_type
=freebsd-
$objformat
12152 case $version_type in
12154 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12155 soname_spec
='$libname$release$shared_ext$major'
12160 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12164 shlibpath_var
=LD_LIBRARY_PATH
12167 shlibpath_overrides_runpath
=yes
12169 freebsd3.
[01]* | freebsdelf3.
[01]*)
12170 shlibpath_overrides_runpath
=yes
12171 hardcode_into_libs
=yes
12173 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12174 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12175 shlibpath_overrides_runpath
=no
12176 hardcode_into_libs
=yes
12178 *) # from 4.6 on, and DragonFly
12179 shlibpath_overrides_runpath
=yes
12180 hardcode_into_libs
=yes
12186 version_type
=linux
# correct to gnu/linux during the next big refactor
12189 dynamic_linker
="$host_os runtime_loader"
12190 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12191 soname_spec
='$libname$release$shared_ext$major'
12192 shlibpath_var
=LIBRARY_PATH
12193 shlibpath_overrides_runpath
=no
12194 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12195 hardcode_into_libs
=yes
12198 hpux9
* | hpux10
* | hpux11
*)
12199 # Give a soname corresponding to the major version so that dld.sl refuses to
12200 # link against other versions.
12207 hardcode_into_libs
=yes
12208 dynamic_linker
="$host_os dld.so"
12209 shlibpath_var
=LD_LIBRARY_PATH
12210 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12211 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12212 soname_spec
='$libname$release$shared_ext$major'
12213 if test 32 = "$HPUX_IA64_MODE"; then
12214 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12215 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
12217 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12218 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
12223 hardcode_into_libs
=yes
12224 dynamic_linker
="$host_os dld.sl"
12225 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12226 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12227 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12228 soname_spec
='$libname$release$shared_ext$major'
12229 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12230 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12234 dynamic_linker
="$host_os dld.sl"
12235 shlibpath_var
=SHLIB_PATH
12236 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12237 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12238 soname_spec
='$libname$release$shared_ext$major'
12241 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12242 postinstall_cmds
='chmod 555 $lib'
12243 # or fails outright, so override atomically:
12244 install_override_mode
=555
12248 version_type
=linux
# correct to gnu/linux during the next big refactor
12251 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12252 soname_spec
='$libname$release$shared_ext$major'
12253 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12254 shlibpath_var
=LD_LIBRARY_PATH
12255 shlibpath_overrides_runpath
=no
12256 hardcode_into_libs
=yes
12259 irix5
* | irix6
* | nonstopux
*)
12261 nonstopux
*) version_type
=nonstopux
;;
12263 if test yes = "$lt_cv_prog_gnu_ld"; then
12264 version_type
=linux
# correct to gnu/linux during the next big refactor
12271 soname_spec
='$libname$release$shared_ext$major'
12272 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12274 irix5
* | nonstopux
*)
12275 libsuff
= shlibsuff
=
12278 case $LD in # libtool.m4 will add one of these switches to LD
12279 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12280 libsuff
= shlibsuff
= libmagic
=32-bit;;
12281 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12282 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12283 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12284 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12285 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12289 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12290 shlibpath_overrides_runpath
=no
12291 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12292 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
12293 hardcode_into_libs
=yes
12296 # No shared lib support for Linux oldld, aout, or coff.
12297 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12302 version_type
=none
# Android doesn't support versioned libraries.
12305 library_names_spec
='$libname$release$shared_ext'
12306 soname_spec
='$libname$release$shared_ext'
12308 shlibpath_var
=LD_LIBRARY_PATH
12309 shlibpath_overrides_runpath
=yes
12311 # This implies no fast_install, which is unacceptable.
12312 # Some rework will be needed to allow for fast_install
12313 # before this can be enabled.
12314 hardcode_into_libs
=yes
12316 dynamic_linker
='Android linker'
12317 # Don't embed -rpath directories since the linker doesn't support them.
12318 hardcode_libdir_flag_spec
='-L$libdir'
12321 # This must be glibc/ELF.
12322 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
12323 version_type
=linux
# correct to gnu/linux during the next big refactor
12326 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12327 soname_spec
='$libname$release$shared_ext$major'
12328 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12329 shlibpath_var
=LD_LIBRARY_PATH
12330 shlibpath_overrides_runpath
=no
12332 # Some binutils ld are patched to set DT_RUNPATH
12333 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12334 $as_echo_n "(cached) " >&6
12336 lt_cv_shlibpath_overrides_runpath
=no
12337 save_LDFLAGS
=$LDFLAGS
12338 save_libdir
=$libdir
12339 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12340 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12342 /* end confdefs.h. */
12352 if ac_fn_c_try_link
"$LINENO"; then :
12353 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12354 lt_cv_shlibpath_overrides_runpath
=yes
12357 rm -f core conftest.err conftest.
$ac_objext \
12358 conftest
$ac_exeext conftest.
$ac_ext
12359 LDFLAGS
=$save_LDFLAGS
12360 libdir
=$save_libdir
12364 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12366 # This implies no fast_install, which is unacceptable.
12367 # Some rework will be needed to allow for fast_install
12368 # before this can be enabled.
12369 hardcode_into_libs
=yes
12371 # Add ABI-specific directories to the system library path.
12372 sys_lib_dlsearch_path_spec
="/lib64 /usr/lib64 /lib /usr/lib"
12374 # Ideally, we could use ldconfig to report *all* directores which are
12375 # searched for libraries, however this is still not possible. Aside from not
12376 # being certain /sbin/ldconfig is available, command
12377 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12378 # even though it is searched at run-time. Try to do the best guess by
12379 # appending ld.so.conf contents (and includes) to the search path.
12380 if test -f /etc
/ld.so.conf
; then
12381 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' ' '`
12382 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
12385 # We used to test for /lib/ld.so.1 and disable shared libraries on
12386 # powerpc, because MkLinux only supported shared libraries with the
12387 # GNU dynamic linker. Since this was broken with cross compilers,
12388 # most powerpc-linux boxes support dynamic linking these days and
12389 # people can always --disable-shared, the test was removed, and we
12390 # assume the GNU/Linux dynamic linker is in use.
12391 dynamic_linker
='GNU/Linux ld.so'
12398 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12399 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12400 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12401 dynamic_linker
='NetBSD (a.out) ld.so'
12403 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12404 soname_spec
='$libname$release$shared_ext$major'
12405 dynamic_linker
='NetBSD ld.elf_so'
12407 shlibpath_var
=LD_LIBRARY_PATH
12408 shlibpath_overrides_runpath
=yes
12409 hardcode_into_libs
=yes
12413 version_type
=linux
# correct to gnu/linux during the next big refactor
12414 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12415 shlibpath_var
=LD_LIBRARY_PATH
12416 shlibpath_overrides_runpath
=yes
12423 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12424 soname_spec
='$libname$release$shared_ext$major'
12425 shlibpath_var
=LD_LIBRARY_PATH
12426 shlibpath_overrides_runpath
=no
12427 hardcode_into_libs
=yes
12428 dynamic_linker
='ldqnx.so'
12431 openbsd
* | bitrig
*)
12433 sys_lib_dlsearch_path_spec
=/usr
/lib
12435 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12440 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12441 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12442 shlibpath_var
=LD_LIBRARY_PATH
12443 shlibpath_overrides_runpath
=yes
12447 libname_spec
='$name'
12448 version_type
=windows
12452 # OS/2 can only load a DLL with a base name of 8 characters or less.
12453 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
12454 v=$($ECHO $release$versuffix | tr -d .-);
12455 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12456 $ECHO $n$v`$shared_ext'
12457 library_names_spec
='${libname}_dll.$libext'
12458 dynamic_linker
='OS/2 ld.exe'
12459 shlibpath_var
=BEGINLIBPATH
12460 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12461 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12462 postinstall_cmds
='base_file=`basename \$file`~
12463 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12464 dldir=$destdir/`dirname \$dlpath`~
12465 test -d \$dldir || mkdir -p \$dldir~
12466 $install_prog $dir/$dlname \$dldir/$dlname~
12467 chmod a+x \$dldir/$dlname~
12468 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12469 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12471 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12472 dlpath=$dir/\$dldll~
12476 osf3
* | osf4
* | osf5
*)
12480 soname_spec
='$libname$release$shared_ext$major'
12481 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12482 shlibpath_var
=LD_LIBRARY_PATH
12483 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12484 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12492 version_type
=linux
# correct to gnu/linux during the next big refactor
12495 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12496 soname_spec
='$libname$release$shared_ext$major'
12497 shlibpath_var
=LD_LIBRARY_PATH
12498 shlibpath_overrides_runpath
=yes
12499 hardcode_into_libs
=yes
12500 # ldd complains unless libraries are executable
12501 postinstall_cmds
='chmod +x $lib'
12506 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12507 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12508 shlibpath_var
=LD_LIBRARY_PATH
12509 shlibpath_overrides_runpath
=yes
12510 if test yes = "$with_gnu_ld"; then
12517 version_type
=linux
# correct to gnu/linux during the next big refactor
12518 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12519 soname_spec
='$libname$release$shared_ext$major'
12520 shlibpath_var
=LD_LIBRARY_PATH
12521 case $host_vendor in
12523 shlibpath_overrides_runpath
=no
12525 runpath_var
=LD_RUN_PATH
12533 shlibpath_overrides_runpath
=no
12534 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12540 if test -d /usr
/nec
; then
12541 version_type
=linux
# correct to gnu/linux during the next big refactor
12542 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12543 soname_spec
='$libname$shared_ext.$major'
12544 shlibpath_var
=LD_LIBRARY_PATH
12548 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12552 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12553 soname_spec
='$libname$release$shared_ext$major'
12554 shlibpath_var
=LD_LIBRARY_PATH
12555 shlibpath_overrides_runpath
=yes
12556 hardcode_into_libs
=yes
12557 if test yes = "$with_gnu_ld"; then
12558 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12560 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12563 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12567 sys_lib_dlsearch_path_spec
='/usr/lib'
12571 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12572 version_type
=linux
# correct to gnu/linux during the next big refactor
12575 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12576 shlibpath_var
=LD_LIBRARY_PATH
12577 shlibpath_overrides_runpath
=no
12578 hardcode_into_libs
=yes
12582 version_type
=linux
# correct to gnu/linux during the next big refactor
12583 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12584 soname_spec
='$libname$release$shared_ext$major'
12585 shlibpath_var
=LD_LIBRARY_PATH
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12593 $as_echo "$dynamic_linker" >&6; }
12594 test no
= "$dynamic_linker" && can_build_shared
=no
12596 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12597 if test yes = "$GCC"; then
12598 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12601 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12602 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
12605 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12606 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
12609 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12610 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
12612 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12613 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
12615 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12616 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12715 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12717 if test -n "$hardcode_libdir_flag_spec" ||
12718 test -n "$runpath_var" ||
12719 test yes = "$hardcode_automatic"; then
12721 # We can hardcode non-existent directories.
12722 if test no
!= "$hardcode_direct" &&
12723 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12724 # have to relink, otherwise we might link with an installed library
12725 # when we should be linking with a yet-to-be-installed one
12726 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12727 test no
!= "$hardcode_minus_L"; then
12728 # Linking always hardcodes the temporary library directory.
12729 hardcode_action
=relink
12731 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12732 hardcode_action
=immediate
12735 # We cannot hardcode anything, or else we can only hardcode existing
12737 hardcode_action
=unsupported
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12740 $as_echo "$hardcode_action" >&6; }
12742 if test relink
= "$hardcode_action" ||
12743 test yes = "$inherit_rpath"; then
12744 # Fast installation is not supported
12745 enable_fast_install
=no
12746 elif test yes = "$shlibpath_overrides_runpath" ||
12747 test no
= "$enable_shared"; then
12748 # Fast installation is not necessary
12749 enable_fast_install
=needless
12757 if test yes != "$enable_dlopen"; then
12758 enable_dlopen
=unknown
12759 enable_dlopen_self
=unknown
12760 enable_dlopen_self_static
=unknown
12767 lt_cv_dlopen
=load_add_on
12769 lt_cv_dlopen_self
=yes
12772 mingw
* | pw32
* | cegcc
*)
12773 lt_cv_dlopen
=LoadLibrary
12778 lt_cv_dlopen
=dlopen
12783 # if libdl is installed we need to link against it
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12785 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12786 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12787 $as_echo_n "(cached) " >&6
12789 ac_check_lib_save_LIBS
=$LIBS
12791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12792 /* end confdefs.h. */
12794 /* Override any GCC internal prototype to avoid an error.
12795 Use char because int might match the return type of a GCC
12796 builtin and then its argument prototype would still apply. */
12809 if ac_fn_c_try_link
"$LINENO"; then :
12810 ac_cv_lib_dl_dlopen
=yes
12812 ac_cv_lib_dl_dlopen
=no
12814 rm -f core conftest.err conftest.
$ac_objext \
12815 conftest
$ac_exeext conftest.
$ac_ext
12816 LIBS
=$ac_check_lib_save_LIBS
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12819 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12820 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12821 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12826 lt_cv_dlopen_self
=yes
12833 # Don't try to run any link tests for TPF. We know it's impossible
12834 # because TPF is a cross-compiler, and we know how we open DSOs.
12835 lt_cv_dlopen
=dlopen
12837 lt_cv_dlopen_self
=no
12841 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12842 if test "x$ac_cv_func_shl_load" = xyes
; then :
12843 lt_cv_dlopen
=shl_load
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12846 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12847 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12848 $as_echo_n "(cached) " >&6
12850 ac_check_lib_save_LIBS
=$LIBS
12852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12853 /* end confdefs.h. */
12855 /* Override any GCC internal prototype to avoid an error.
12856 Use char because int might match the return type of a GCC
12857 builtin and then its argument prototype would still apply. */
12865 return shl_load ();
12870 if ac_fn_c_try_link
"$LINENO"; then :
12871 ac_cv_lib_dld_shl_load
=yes
12873 ac_cv_lib_dld_shl_load
=no
12875 rm -f core conftest.err conftest.
$ac_objext \
12876 conftest
$ac_exeext conftest.
$ac_ext
12877 LIBS
=$ac_check_lib_save_LIBS
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12880 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12881 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12882 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
12884 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12885 if test "x$ac_cv_func_dlopen" = xyes
; then :
12886 lt_cv_dlopen
=dlopen
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12889 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12890 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12891 $as_echo_n "(cached) " >&6
12893 ac_check_lib_save_LIBS
=$LIBS
12895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12896 /* end confdefs.h. */
12898 /* Override any GCC internal prototype to avoid an error.
12899 Use char because int might match the return type of a GCC
12900 builtin and then its argument prototype would still apply. */
12913 if ac_fn_c_try_link
"$LINENO"; then :
12914 ac_cv_lib_dl_dlopen
=yes
12916 ac_cv_lib_dl_dlopen
=no
12918 rm -f core conftest.err conftest.
$ac_objext \
12919 conftest
$ac_exeext conftest.
$ac_ext
12920 LIBS
=$ac_check_lib_save_LIBS
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12923 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12924 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12925 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12928 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12929 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12930 $as_echo_n "(cached) " >&6
12932 ac_check_lib_save_LIBS
=$LIBS
12933 LIBS
="-lsvld $LIBS"
12934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12935 /* end confdefs.h. */
12937 /* Override any GCC internal prototype to avoid an error.
12938 Use char because int might match the return type of a GCC
12939 builtin and then its argument prototype would still apply. */
12952 if ac_fn_c_try_link
"$LINENO"; then :
12953 ac_cv_lib_svld_dlopen
=yes
12955 ac_cv_lib_svld_dlopen
=no
12957 rm -f core conftest.err conftest.
$ac_objext \
12958 conftest
$ac_exeext conftest.
$ac_ext
12959 LIBS
=$ac_check_lib_save_LIBS
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12962 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12963 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12964 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12967 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12968 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12969 $as_echo_n "(cached) " >&6
12971 ac_check_lib_save_LIBS
=$LIBS
12973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12974 /* end confdefs.h. */
12976 /* Override any GCC internal prototype to avoid an error.
12977 Use char because int might match the return type of a GCC
12978 builtin and then its argument prototype would still apply. */
12986 return dld_link ();
12991 if ac_fn_c_try_link
"$LINENO"; then :
12992 ac_cv_lib_dld_dld_link
=yes
12994 ac_cv_lib_dld_dld_link
=no
12996 rm -f core conftest.err conftest.
$ac_objext \
12997 conftest
$ac_exeext conftest.
$ac_ext
12998 LIBS
=$ac_check_lib_save_LIBS
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13001 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13002 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
13003 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
13024 if test no
= "$lt_cv_dlopen"; then
13030 case $lt_cv_dlopen in
13032 save_CPPFLAGS
=$CPPFLAGS
13033 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
13035 save_LDFLAGS
=$LDFLAGS
13036 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
13039 LIBS
="$lt_cv_dlopen_libs $LIBS"
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13042 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13043 if ${lt_cv_dlopen_self+:} false
; then :
13044 $as_echo_n "(cached) " >&6
13046 if test yes = "$cross_compiling"; then :
13047 lt_cv_dlopen_self
=cross
13049 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13050 lt_status
=$lt_dlunknown
13051 cat > conftest.
$ac_ext <<_LT_EOF
13052 #line $LINENO "configure"
13053 #include "confdefs.h"
13062 # define LT_DLGLOBAL RTLD_GLOBAL
13065 # define LT_DLGLOBAL DL_GLOBAL
13067 # define LT_DLGLOBAL 0
13071 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13072 find out it does not work in some platform. */
13073 #ifndef LT_DLLAZY_OR_NOW
13075 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13078 # define LT_DLLAZY_OR_NOW DL_LAZY
13081 # define LT_DLLAZY_OR_NOW RTLD_NOW
13084 # define LT_DLLAZY_OR_NOW DL_NOW
13086 # define LT_DLLAZY_OR_NOW 0
13093 /* When -fvisibility=hidden is used, assume the code has been annotated
13094 correspondingly for the symbols needed. */
13095 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13096 int fnord () __attribute__((visibility("default")));
13099 int fnord () { return 42; }
13102 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13103 int status = $lt_dlunknown;
13107 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13110 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13111 else puts (dlerror ());
13113 /* dlclose (self); */
13121 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13122 (eval $ac_link) 2>&5
13124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13125 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13126 (.
/conftest
; exit; ) >&5 2>/dev
/null
13128 case x
$lt_status in
13129 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
13130 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
13131 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
13134 # compilation failed
13135 lt_cv_dlopen_self
=no
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13143 $as_echo "$lt_cv_dlopen_self" >&6; }
13145 if test yes = "$lt_cv_dlopen_self"; then
13146 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13148 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13149 if ${lt_cv_dlopen_self_static+:} false
; then :
13150 $as_echo_n "(cached) " >&6
13152 if test yes = "$cross_compiling"; then :
13153 lt_cv_dlopen_self_static
=cross
13155 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13156 lt_status
=$lt_dlunknown
13157 cat > conftest.
$ac_ext <<_LT_EOF
13158 #line $LINENO "configure"
13159 #include "confdefs.h"
13168 # define LT_DLGLOBAL RTLD_GLOBAL
13171 # define LT_DLGLOBAL DL_GLOBAL
13173 # define LT_DLGLOBAL 0
13177 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13178 find out it does not work in some platform. */
13179 #ifndef LT_DLLAZY_OR_NOW
13181 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13184 # define LT_DLLAZY_OR_NOW DL_LAZY
13187 # define LT_DLLAZY_OR_NOW RTLD_NOW
13190 # define LT_DLLAZY_OR_NOW DL_NOW
13192 # define LT_DLLAZY_OR_NOW 0
13199 /* When -fvisibility=hidden is used, assume the code has been annotated
13200 correspondingly for the symbols needed. */
13201 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13202 int fnord () __attribute__((visibility("default")));
13205 int fnord () { return 42; }
13208 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13209 int status = $lt_dlunknown;
13213 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13216 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13217 else puts (dlerror ());
13219 /* dlclose (self); */
13227 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13228 (eval $ac_link) 2>&5
13230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13231 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13232 (.
/conftest
; exit; ) >&5 2>/dev
/null
13234 case x
$lt_status in
13235 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13236 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13237 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13240 # compilation failed
13241 lt_cv_dlopen_self_static
=no
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13249 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13252 CPPFLAGS
=$save_CPPFLAGS
13253 LDFLAGS
=$save_LDFLAGS
13258 case $lt_cv_dlopen_self in
13259 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13260 *) enable_dlopen_self
=unknown
;;
13263 case $lt_cv_dlopen_self_static in
13264 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13265 *) enable_dlopen_self_static
=unknown
;;
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13288 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13289 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13290 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13291 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13293 $as_echo "yes" >&6; }
13295 # FIXME - insert some real tests, host_os isn't really good enough
13298 if test -n "$STRIP"; then
13299 striplib
="$STRIP -x"
13300 old_striplib
="$STRIP -S"
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13302 $as_echo "yes" >&6; }
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13305 $as_echo "no" >&6; }
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13310 $as_echo "no" >&6; }
13326 # Report what library types will actually be built
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13328 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13330 $as_echo "$can_build_shared" >&6; }
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13333 $as_echo_n "checking whether to build shared libraries... " >&6; }
13334 test no
= "$can_build_shared" && enable_shared
=no
13336 # On AIX, shared libraries and static libraries use the same namespace, and
13337 # are all built from PIC.
13340 test yes = "$enable_shared" && enable_static
=no
13341 if test -n "$RANLIB"; then
13342 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13343 postinstall_cmds
='$RANLIB $lib'
13348 if test ia64
!= "$host_cpu"; then
13349 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13350 yes,aix
,yes) ;; # shared object as lib.so file only
13351 yes,svr4
,*) ;; # shared object as lib.so archive member only
13352 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13358 $as_echo "$enable_shared" >&6; }
13360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13361 $as_echo_n "checking whether to build static libraries... " >&6; }
13362 # Make sure either enable_shared or enable_static is yes.
13363 test yes = "$enable_shared" || enable_static
=yes
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13365 $as_echo "$enable_static" >&6; }
13372 ac_cpp
='$CPP $CPPFLAGS'
13373 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13374 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13375 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13379 if test -n "$CXX" && ( test no
!= "$CXX" &&
13380 ( (test g
++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13381 (test g
++ != "$CXX"))); then
13383 ac_cpp
='$CXXCPP $CPPFLAGS'
13384 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13385 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13386 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13388 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13389 if test -z "$CXXCPP"; then
13390 if ${ac_cv_prog_CXXCPP+:} false
; then :
13391 $as_echo_n "(cached) " >&6
13393 # Double quotes because CXXCPP needs to be expanded
13394 for CXXCPP
in "$CXX -E" "/lib/cpp"
13396 ac_preproc_ok
=false
13397 for ac_cxx_preproc_warn_flag
in '' yes
13399 # Use a header file that comes with gcc, so configuring glibc
13400 # with a fresh cross-compiler works.
13401 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13402 # <limits.h> exists even on freestanding compilers.
13403 # On the NeXT, cc -E runs the code through the compiler's parser,
13404 # not just through cpp. "Syntax error" is here to catch this case.
13405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13406 /* end confdefs.h. */
13408 # include <limits.h>
13410 # include <assert.h>
13414 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13417 # Broken: fails on valid input.
13420 rm -f conftest.err conftest.i conftest.
$ac_ext
13422 # OK, works on sane cases. Now check whether nonexistent headers
13423 # can be detected and how.
13424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13425 /* end confdefs.h. */
13426 #include <ac_nonexistent.h>
13428 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13429 # Broken: success on invalid input.
13432 # Passes both tests.
13436 rm -f conftest.err conftest.i conftest.
$ac_ext
13439 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13440 rm -f conftest.i conftest.err conftest.
$ac_ext
13441 if $ac_preproc_ok; then :
13446 ac_cv_prog_CXXCPP
=$CXXCPP
13449 CXXCPP
=$ac_cv_prog_CXXCPP
13451 ac_cv_prog_CXXCPP
=$CXXCPP
13453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13454 $as_echo "$CXXCPP" >&6; }
13455 ac_preproc_ok
=false
13456 for ac_cxx_preproc_warn_flag
in '' yes
13458 # Use a header file that comes with gcc, so configuring glibc
13459 # with a fresh cross-compiler works.
13460 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13461 # <limits.h> exists even on freestanding compilers.
13462 # On the NeXT, cc -E runs the code through the compiler's parser,
13463 # not just through cpp. "Syntax error" is here to catch this case.
13464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13465 /* end confdefs.h. */
13467 # include <limits.h>
13469 # include <assert.h>
13473 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13476 # Broken: fails on valid input.
13479 rm -f conftest.err conftest.i conftest.
$ac_ext
13481 # OK, works on sane cases. Now check whether nonexistent headers
13482 # can be detected and how.
13483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13484 /* end confdefs.h. */
13485 #include <ac_nonexistent.h>
13487 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13488 # Broken: success on invalid input.
13491 # Passes both tests.
13495 rm -f conftest.err conftest.i conftest.
$ac_ext
13498 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13499 rm -f conftest.i conftest.err conftest.
$ac_ext
13500 if $ac_preproc_ok; then :
13503 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13504 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13505 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
13506 See \`config.log' for more details" "$LINENO" 5; }
13510 ac_cpp
='$CPP $CPPFLAGS'
13511 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13512 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13513 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13516 _lt_caught_CXX_error
=yes
13520 ac_cpp
='$CXXCPP $CPPFLAGS'
13521 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13522 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13523 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13525 archive_cmds_need_lc_CXX
=no
13526 allow_undefined_flag_CXX
=
13527 always_export_symbols_CXX
=no
13528 archive_expsym_cmds_CXX
=
13529 compiler_needs_object_CXX
=no
13530 export_dynamic_flag_spec_CXX
=
13531 hardcode_direct_CXX
=no
13532 hardcode_direct_absolute_CXX
=no
13533 hardcode_libdir_flag_spec_CXX
=
13534 hardcode_libdir_separator_CXX
=
13535 hardcode_minus_L_CXX
=no
13536 hardcode_shlibpath_var_CXX
=unsupported
13537 hardcode_automatic_CXX
=no
13538 inherit_rpath_CXX
=no
13540 module_expsym_cmds_CXX
=
13541 link_all_deplibs_CXX
=unknown
13542 old_archive_cmds_CXX
=$old_archive_cmds
13543 reload_flag_CXX
=$reload_flag
13544 reload_cmds_CXX
=$reload_cmds
13545 no_undefined_flag_CXX
=
13546 whole_archive_flag_spec_CXX
=
13547 enable_shared_with_static_runtimes_CXX
=no
13549 # Source file extension for C++ test sources.
13552 # Object file extension for compiled C++ test sources.
13556 # No sense in running all these tests if we already determined that
13557 # the CXX compiler isn't working. Some variables (like enable_shared)
13558 # are currently assumed to apply to all compilers on this platform,
13559 # and will be corrupted by setting them based on a non-working compiler.
13560 if test yes != "$_lt_caught_CXX_error"; then
13561 # Code to be used in simple compile tests
13562 lt_simple_compile_test_code
="int some_variable = 0;"
13564 # Code to be used in simple link tests
13565 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13567 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13574 # If no C compiler was specified, use CC.
13577 # If no C compiler flags were specified, use CFLAGS.
13578 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13580 # Allow CC to be a program name with arguments.
13584 # save warnings/boilerplate of simple test code
13585 ac_outfile
=conftest.
$ac_objext
13586 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13587 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13588 _lt_compiler_boilerplate
=`cat conftest.err`
13591 ac_outfile
=conftest.
$ac_objext
13592 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13593 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13594 _lt_linker_boilerplate
=`cat conftest.err`
13598 # Allow CC to be a program name with arguments.
13600 lt_save_CFLAGS
=$CFLAGS
13604 lt_save_with_gnu_ld
=$with_gnu_ld
13605 lt_save_path_LD
=$lt_cv_path_LD
13606 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13607 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13609 $as_unset lt_cv_prog_gnu_ld
13611 if test -n "${lt_cv_path_LDCXX+set}"; then
13612 lt_cv_path_LD
=$lt_cv_path_LDCXX
13614 $as_unset lt_cv_path_LD
13616 test -z "${LDCXX+set}" || LD
=$LDCXX
13621 func_cc_basename
$compiler
13622 cc_basename
=$func_cc_basename_result
13625 if test -n "$compiler"; then
13626 # We don't want -fno-exception when compiling C++ code, so set the
13627 # no_builtin_flag separately
13628 if test yes = "$GXX"; then
13629 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13631 lt_prog_compiler_no_builtin_flag_CXX
=
13634 if test yes = "$GXX"; then
13635 # Set up default GNU C++ configuration
13639 # Check whether --with-gnu-ld was given.
13640 if test "${with_gnu_ld+set}" = set; then :
13641 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
13647 if test yes = "$GCC"; then
13648 # Check if gcc -print-prog-name=ld gives a path.
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13650 $as_echo_n "checking for ld used by $CC... " >&6; }
13653 # gcc leaves a trailing carriage return, which upsets mingw
13654 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13656 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13659 # Accept absolute paths.
13661 re_direlt
='/[^/][^/]*/\.\./'
13662 # Canonicalize the pathname of ld
13663 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13664 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
13665 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13667 test -z "$LD" && LD
=$ac_prog
13670 # If it fails, then pretend we aren't using GCC.
13674 # If it is relative, then search for the first ld in PATH.
13675 with_gnu_ld
=unknown
13678 elif test yes = "$with_gnu_ld"; then
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13680 $as_echo_n "checking for GNU ld... " >&6; }
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13683 $as_echo_n "checking for non-GNU ld... " >&6; }
13685 if ${lt_cv_path_LD+:} false
; then :
13686 $as_echo_n "(cached) " >&6
13688 if test -z "$LD"; then
13689 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
13690 for ac_dir
in $PATH; do
13692 test -z "$ac_dir" && ac_dir
=.
13693 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13694 lt_cv_path_LD
=$ac_dir/$ac_prog
13695 # Check to see if the program is GNU ld. I'd rather use --version,
13696 # but apparently some variants of GNU ld only accept -v.
13697 # Break only if it was the GNU/non-GNU ld that we prefer.
13698 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13699 *GNU
* |
*'with BFD'*)
13700 test no
!= "$with_gnu_ld" && break
13703 test yes != "$with_gnu_ld" && break
13710 lt_cv_path_LD
=$LD # Let the user override the test with a path.
13715 if test -n "$LD"; then
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13717 $as_echo "$LD" >&6; }
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13720 $as_echo "no" >&6; }
13722 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13724 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13725 if ${lt_cv_prog_gnu_ld+:} false
; then :
13726 $as_echo_n "(cached) " >&6
13728 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13729 case `$LD -v 2>&1 </dev/null` in
13730 *GNU
* |
*'with BFD'*)
13731 lt_cv_prog_gnu_ld
=yes
13734 lt_cv_prog_gnu_ld
=no
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13739 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13740 with_gnu_ld
=$lt_cv_prog_gnu_ld
13748 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13749 # archiving commands below assume that GNU ld is being used.
13750 if test yes = "$with_gnu_ld"; then
13751 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13752 archive_expsym_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
13754 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
13755 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
13757 # If archive_cmds runs LD, not CC, wlarc should be empty
13758 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13759 # investigate it a little bit more. (MM)
13762 # ancient GNU ld didn't support --whole-archive et. al.
13763 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13764 $GREP 'no-whole-archive' > /dev
/null
; then
13765 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13767 whole_archive_flag_spec_CXX
=
13773 # A generic and very simple default shared library creation
13774 # command for GNU C++ for the case where it uses the native
13775 # linker, instead of GNU ld. If possible, this setting should
13776 # overridden to take advantage of the native linker features on
13777 # the platform it is being used on.
13778 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13781 # Commands to make compiler produce verbose output that lists
13782 # what "hidden" libraries, object files and flags are used when
13783 # linking a shared library.
13784 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13792 # PORTME: fill in a description of your system's C++ link characteristics
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13794 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13798 # FIXME: insert proper C++ library support
13802 if test ia64
= "$host_cpu"; then
13803 # On IA64, the linker does run time linking by default, so we don't
13804 # have to do anything special.
13805 aix_use_runtimelinking
=no
13806 exp_sym_flag
='-Bexport'
13809 aix_use_runtimelinking
=no
13811 # Test if we are trying to use run time linking or normal
13812 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13813 # have runtime linking enabled, and use it for executables.
13814 # For shared libraries, we enable/disable runtime linking
13815 # depending on the kind of the shared library created -
13816 # when "with_aix_soname,aix_use_runtimelinking" is:
13817 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
13818 # "aix,yes" lib.so shared, rtl:yes, for executables
13819 # lib.a static archive
13820 # "both,no" lib.so.V(shr.o) shared, rtl:yes
13821 # lib.a(lib.so.V) shared, rtl:no, for executables
13822 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
13823 # lib.a(lib.so.V) shared, rtl:no
13824 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
13825 # lib.a static archive
13826 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13827 for ld_flag
in $LDFLAGS; do
13830 aix_use_runtimelinking
=yes
13835 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
13836 # With aix-soname=svr4, we create the lib.so.V shared archives only,
13837 # so we don't have lib.a shared libs to link our executables.
13838 # We have to force runtime linking in this case.
13839 aix_use_runtimelinking
=yes
13840 LDFLAGS
="$LDFLAGS -Wl,-brtl"
13845 exp_sym_flag
='-bexport'
13846 no_entry_flag
='-bnoentry'
13849 # When large executables or shared objects are built, AIX ld can
13850 # have problems creating the table of contents. If linking a library
13851 # or program results in "error TOC overflow" add -mminimal-toc to
13852 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13853 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13855 archive_cmds_CXX
=''
13856 hardcode_direct_CXX
=yes
13857 hardcode_direct_absolute_CXX
=yes
13858 hardcode_libdir_separator_CXX
=':'
13859 link_all_deplibs_CXX
=yes
13860 file_list_spec_CXX
='$wl-f,'
13861 case $with_aix_soname,$aix_use_runtimelinking in
13862 aix
,*) ;; # no import file
13863 svr4
,* |
*,yes) # use import file
13864 # The Import File defines what to hardcode.
13865 hardcode_direct_CXX
=no
13866 hardcode_direct_absolute_CXX
=no
13870 if test yes = "$GXX"; then
13871 case $host_os in aix4.
[012]|aix4.
[012].
*)
13872 # We only want to do this on AIX 4.2 and lower, the check
13873 # below for broken collect2 doesn't work under 4.3+
13874 collect2name
=`$CC -print-prog-name=collect2`
13875 if test -f "$collect2name" &&
13876 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13878 # We have reworked collect2
13881 # We have old collect2
13882 hardcode_direct_CXX
=unsupported
13883 # It fails to find uninstalled libraries when the uninstalled
13884 # path is not listed in the libpath. Setting hardcode_minus_L
13885 # to unsupported forces relinking
13886 hardcode_minus_L_CXX
=yes
13887 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13888 hardcode_libdir_separator_CXX
=
13891 shared_flag
='-shared'
13892 if test yes = "$aix_use_runtimelinking"; then
13893 shared_flag
=$shared_flag' $wl-G'
13895 # Need to ensure runtime linking is disabled for the traditional
13896 # shared library, or the linker may eventually find shared libraries
13897 # /with/ Import File - we do not want to mix them.
13898 shared_flag_aix
='-shared'
13899 shared_flag_svr4
='-shared $wl-G'
13902 if test ia64
= "$host_cpu"; then
13903 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13904 # chokes on -Wl,-G. The following line is correct:
13907 if test yes = "$aix_use_runtimelinking"; then
13908 shared_flag
='$wl-G'
13910 shared_flag
='$wl-bM:SRE'
13912 shared_flag_aix
='$wl-bM:SRE'
13913 shared_flag_svr4
='$wl-G'
13917 export_dynamic_flag_spec_CXX
='$wl-bexpall'
13918 # It seems that -bexpall does not export symbols beginning with
13919 # underscore (_), so it is better to generate a list of symbols to
13921 always_export_symbols_CXX
=yes
13922 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
13923 # Warning - without using the other runtime loading flags (-brtl),
13924 # -berok will link without error, but may produce a broken library.
13925 # The "-G" linker flag allows undefined symbols.
13926 no_undefined_flag_CXX
='-bernotok'
13927 # Determine the default libpath from the value encoded in an empty
13929 if test set = "${lt_cv_aix_libpath+set}"; then
13930 aix_libpath
=$lt_cv_aix_libpath
13932 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13933 $as_echo_n "(cached) " >&6
13935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13936 /* end confdefs.h. */
13946 if ac_fn_cxx_try_link
"$LINENO"; then :
13948 lt_aix_libpath_sed
='
13949 /Import File Strings/,/^$/ {
13951 s/^0 *\([^ ]*\) *$/\1/
13955 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13956 # Check for a 64-bit object if we didn't find anything.
13957 if test -z "$lt_cv_aix_libpath__CXX"; then
13958 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13961 rm -f core conftest.err conftest.
$ac_objext \
13962 conftest
$ac_exeext conftest.
$ac_ext
13963 if test -z "$lt_cv_aix_libpath__CXX"; then
13964 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
13969 aix_libpath
=$lt_cv_aix_libpath__CXX
13972 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
13974 archive_expsym_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\
$export_symbols' '$shared_flag
13976 if test ia64
= "$host_cpu"; then
13977 hardcode_libdir_flag_spec_CXX
='$wl-R $libdir:/usr/lib:/lib'
13978 allow_undefined_flag_CXX
="-z nodefs"
13979 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"
13981 # Determine the default libpath from the value encoded in an
13982 # empty executable.
13983 if test set = "${lt_cv_aix_libpath+set}"; then
13984 aix_libpath
=$lt_cv_aix_libpath
13986 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13987 $as_echo_n "(cached) " >&6
13989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13990 /* end confdefs.h. */
14000 if ac_fn_cxx_try_link
"$LINENO"; then :
14002 lt_aix_libpath_sed
='
14003 /Import File Strings/,/^$/ {
14005 s/^0 *\([^ ]*\) *$/\1/
14009 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14010 # Check for a 64-bit object if we didn't find anything.
14011 if test -z "$lt_cv_aix_libpath__CXX"; then
14012 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14015 rm -f core conftest.err conftest.
$ac_objext \
14016 conftest
$ac_exeext conftest.
$ac_ext
14017 if test -z "$lt_cv_aix_libpath__CXX"; then
14018 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
14023 aix_libpath
=$lt_cv_aix_libpath__CXX
14026 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
14027 # Warning - without using the other run time loading flags,
14028 # -berok will link without error, but may produce a broken library.
14029 no_undefined_flag_CXX
=' $wl-bernotok'
14030 allow_undefined_flag_CXX
=' $wl-berok'
14031 if test yes = "$with_gnu_ld"; then
14032 # We only use this code for GNU lds that support --whole-archive.
14033 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
14035 # Exported symbols can be pulled into shared objects from archives
14036 whole_archive_flag_spec_CXX
='$convenience'
14038 archive_cmds_need_lc_CXX
=yes
14039 archive_expsym_cmds_CXX
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
14040 # -brtl affects multiple linker settings, -berok does not and is overridden later
14041 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
14042 if test svr4
!= "$with_aix_soname"; then
14043 # This is similar to how AIX traditionally builds its shared
14044 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
14045 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
14047 if test aix
!= "$with_aix_soname"; then
14048 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
14050 # used by -dlpreopen to get the symbols
14051 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
14053 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
14059 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14060 allow_undefined_flag_CXX
=unsupported
14061 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14062 # support --undefined. This deserves some investigation. FIXME
14063 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14070 case $cc_basename in
14072 # FIXME: insert proper C++ library support
14078 cygwin
* | mingw
* | pw32
* | cegcc
*)
14079 case $GXX,$cc_basename in
14082 # hardcode_libdir_flag_spec is actually meaningless, as there is
14083 # no search path for DLLs.
14084 hardcode_libdir_flag_spec_CXX
=' '
14085 allow_undefined_flag_CXX
=unsupported
14086 always_export_symbols_CXX
=yes
14087 file_list_spec_CXX
='@'
14088 # Tell ltmain to make .lib files, not .a files.
14090 # Tell ltmain to make .dll files, not .so files.
14092 # FIXME: Setting linknames here is a bad hack.
14093 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
14094 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
14095 cp "$export_symbols" "$output_objdir/$soname.def";
14096 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
14098 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
14100 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14102 # The linker will not automatically build a static lib if we build a DLL.
14103 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14104 enable_shared_with_static_runtimes_CXX
=yes
14106 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
14107 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
14108 lt_tool_outputfile="@TOOL_OUTPUT@"~
14109 case $lt_outputfile in
14112 lt_outputfile=$lt_outputfile.exe
14113 lt_tool_outputfile=$lt_tool_outputfile.exe
14116 func_to_tool_file "$lt_outputfile"~
14117 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
14118 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14119 $RM "$lt_outputfile.manifest";
14124 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14125 # as there is no search path for DLLs.
14126 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14127 export_dynamic_flag_spec_CXX
='$wl--export-all-symbols'
14128 allow_undefined_flag_CXX
=unsupported
14129 always_export_symbols_CXX
=no
14130 enable_shared_with_static_runtimes_CXX
=yes
14132 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
14133 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'
14134 # If the export-symbols file already is a .def file, use it as
14135 # is; otherwise, prepend EXPORTS...
14136 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
14137 cp $export_symbols $output_objdir/$soname.def;
14139 echo EXPORTS > $output_objdir/$soname.def;
14140 cat $export_symbols >> $output_objdir/$soname.def;
14142 $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'
14149 darwin
* | rhapsody
*)
14152 archive_cmds_need_lc_CXX
=no
14153 hardcode_direct_CXX
=no
14154 hardcode_automatic_CXX
=yes
14155 hardcode_shlibpath_var_CXX
=unsupported
14156 if test yes = "$lt_cv_ld_force_load"; then
14157 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\"`'
14160 whole_archive_flag_spec_CXX
=''
14162 link_all_deplibs_CXX
=yes
14163 allow_undefined_flag_CXX
=$_lt_dar_allow_undefined
14164 case $cc_basename in
14165 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
14166 *) _lt_dar_can_shared
=$GCC ;;
14168 if test yes = "$_lt_dar_can_shared"; then
14169 output_verbose_link_cmd
=func_echo_all
14170 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"
14171 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
14172 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"
14173 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"
14174 if test yes != "$lt_cv_apple_cc_single_mod"; then
14175 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"
14176 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"
14186 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14187 hardcode_minus_L_CXX
=yes
14188 allow_undefined_flag_CXX
=unsupported
14190 archive_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14191 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14192 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14193 $ECHO EXPORTS >> $output_objdir/$libname.def~
14194 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14195 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14196 emximp -o $lib $output_objdir/$libname.def'
14197 archive_expsym_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14198 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14199 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14200 $ECHO EXPORTS >> $output_objdir/$libname.def~
14201 prefix_cmds="$SED"~
14202 if test EXPORTS = "`$SED 1q $export_symbols`"; then
14203 prefix_cmds="$prefix_cmds -e 1d";
14205 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14206 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14207 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14208 emximp -o $lib $output_objdir/$libname.def'
14209 old_archive_From_new_cmds_CXX
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14210 enable_shared_with_static_runtimes_CXX
=yes
14214 case $cc_basename in
14216 # FIXME: insert proper C++ library support
14220 # Green Hills C++ Compiler
14221 # FIXME: insert proper C++ library support
14225 # FIXME: insert proper C++ library support
14232 # C++ shared libraries reported to be fairly broken before
14238 archive_cmds_need_lc_CXX
=no
14241 freebsd
* | dragonfly
*)
14242 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14248 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14249 link_all_deplibs_CXX
=yes
14253 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
14254 hardcode_libdir_separator_CXX
=:
14255 export_dynamic_flag_spec_CXX
='$wl-E'
14256 hardcode_direct_CXX
=yes
14257 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14258 # but as the default
14259 # location of the library.
14261 case $cc_basename in
14263 # FIXME: insert proper C++ library support
14267 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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
14268 # Commands to make compiler produce verbose output that lists
14269 # what "hidden" libraries, object files and flags are used when
14270 # linking a shared library.
14272 # There doesn't appear to be a way to prevent this compiler from
14273 # explicitly linking system object files so we need to strip them
14274 # from the output so that they don't get included in the library
14276 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"'
14279 if test yes = "$GXX"; then
14280 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
14282 # FIXME: insert proper C++ library support
14290 if test no
= "$with_gnu_ld"; then
14291 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
14292 hardcode_libdir_separator_CXX
=:
14298 export_dynamic_flag_spec_CXX
='$wl-E'
14304 hardcode_direct_CXX
=no
14305 hardcode_shlibpath_var_CXX
=no
14308 hardcode_direct_CXX
=yes
14309 hardcode_direct_absolute_CXX
=yes
14310 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14311 # but as the default
14312 # location of the library.
14316 case $cc_basename in
14318 # FIXME: insert proper C++ library support
14324 archive_cmds_CXX
='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14327 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14330 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14333 # Commands to make compiler produce verbose output that lists
14334 # what "hidden" libraries, object files and flags are used when
14335 # linking a shared library.
14337 # There doesn't appear to be a way to prevent this compiler from
14338 # explicitly linking system object files so we need to strip them
14339 # from the output so that they don't get included in the library
14341 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"'
14344 if test yes = "$GXX"; then
14345 if test no
= "$with_gnu_ld"; then
14348 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14351 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14354 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14359 # FIXME: insert proper C++ library support
14367 hardcode_direct_CXX
=no
14368 hardcode_shlibpath_var_CXX
=no
14369 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14370 export_dynamic_flag_spec_CXX
='$wl-E'
14371 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14372 # Instead, shared libraries are loaded at an image base (0x10000000 by
14373 # default) and relocated if they conflict, which is a slow very memory
14374 # consuming and fragmenting process. To avoid this, we pick a random,
14375 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14376 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14377 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'
14378 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'
14381 case $cc_basename in
14384 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'
14386 # Archives containing C++ object files must be created using
14387 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14388 # necessary to make sure instantiated templates are included
14390 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
14393 if test yes = "$GXX"; then
14394 if test no
= "$with_gnu_ld"; then
14395 archive_cmds_CXX
='$CC -shared $pic_flag -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'
14397 archive_cmds_CXX
='$CC -shared $pic_flag -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'
14400 link_all_deplibs_CXX
=yes
14403 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14404 hardcode_libdir_separator_CXX
=:
14405 inherit_rpath_CXX
=yes
14408 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
14409 case $cc_basename in
14411 # Kuck and Associates, Inc. (KAI) C++ Compiler
14413 # KCC will only create a shared library if the output file
14414 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14415 # to its proper name (with version) after linking.
14416 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'
14417 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'
14418 # Commands to make compiler produce verbose output that lists
14419 # what "hidden" libraries, object files and flags are used when
14420 # linking a shared library.
14422 # There doesn't appear to be a way to prevent this compiler from
14423 # explicitly linking system object files so we need to strip them
14424 # from the output so that they don't get included in the library
14426 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"'
14428 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14429 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14431 # Archives containing C++ object files must be created using
14432 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14433 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
14438 # version 8.0 and above of icpc choke on multiply defined symbols
14439 # if we add $predep_objects and $postdep_objects, however 7.1 and
14440 # earlier do not add the objects themselves.
14441 case `$CC -V 2>&1` in
14443 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14444 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'
14446 *) # Version 8.0 or newer
14449 ia64
*) tmp_idyn
=' -i_dynamic';;
14451 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14452 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'
14455 archive_cmds_need_lc_CXX
=no
14456 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14457 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14458 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
14461 # Portland Group C++ compiler
14463 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
14464 prelink_cmds_CXX
='tpldir=Template.dir~
14466 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14467 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14468 old_archive_cmds_CXX
='tpldir=Template.dir~
14470 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14471 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14473 archive_cmds_CXX
='tpldir=Template.dir~
14475 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14476 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14477 archive_expsym_cmds_CXX
='tpldir=Template.dir~
14479 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14480 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14482 *) # Version 6 and above use weak symbols
14483 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14484 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'
14488 hardcode_libdir_flag_spec_CXX
='$wl--rpath $wl$libdir'
14489 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14490 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'
14494 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14495 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'
14497 runpath_var
=LD_RUN_PATH
14498 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14499 hardcode_libdir_separator_CXX
=:
14501 # Commands to make compiler produce verbose output that lists
14502 # what "hidden" libraries, object files and flags are used when
14503 # linking a shared library.
14505 # There doesn't appear to be a way to prevent this compiler from
14506 # explicitly linking system object files so we need to strip them
14507 # from the output so that they don't get included in the library
14509 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'
14511 xl
* | mpixl
* | bgxl
*)
14512 # IBM XL 8.0 on PPC, with GNU ld
14513 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14514 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14515 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14516 if test yes = "$supports_anon_versioning"; then
14517 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
14518 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14519 echo "local: *; };" >> $output_objdir/$libname.ver~
14520 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14524 case `$CC -V 2>&1 | sed 5q` in
14527 no_undefined_flag_CXX
=' -zdefs'
14528 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14529 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'
14530 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14531 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'
14532 compiler_needs_object_CXX
=yes
14534 # Not sure whether something based on
14535 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14537 output_verbose_link_cmd
='func_echo_all'
14539 # Archives containing C++ object files must be created using
14540 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14541 # necessary to make sure instantiated templates are included
14543 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14551 # FIXME: insert proper C++ library support
14556 # FIXME: insert proper C++ library support
14561 case $cc_basename in
14563 # FIXME: insert proper C++ library support
14567 # FIXME: insert proper C++ library support
14574 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14575 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14577 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14578 hardcode_direct_CXX
=yes
14579 hardcode_shlibpath_var_CXX
=no
14581 # Workaround some broken pre-1.5 toolchains
14582 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14589 openbsd
* | bitrig
*)
14590 if test -f /usr
/libexec
/ld.so
; then
14591 hardcode_direct_CXX
=yes
14592 hardcode_shlibpath_var_CXX
=no
14593 hardcode_direct_absolute_CXX
=yes
14594 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14595 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14596 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
14597 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
14598 export_dynamic_flag_spec_CXX
='$wl-E'
14599 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14601 output_verbose_link_cmd
=func_echo_all
14607 osf3
* | osf4
* | osf5
*)
14608 case $cc_basename in
14610 # Kuck and Associates, Inc. (KAI) C++ Compiler
14612 # KCC will only create a shared library if the output file
14613 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14614 # to its proper name (with version) after linking.
14615 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'
14617 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14618 hardcode_libdir_separator_CXX
=:
14620 # Archives containing C++ object files must be created using
14621 # the KAI C++ compiler.
14623 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14624 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14628 # Rational C++ 2.4.1
14629 # FIXME: insert proper C++ library support
14635 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
14636 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'
14637 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14640 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14641 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'
14642 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14643 echo "-hidden">> $lib.exp~
14644 $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~
14646 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14650 hardcode_libdir_separator_CXX
=:
14652 # Commands to make compiler produce verbose output that lists
14653 # what "hidden" libraries, object files and flags are used when
14654 # linking a shared library.
14656 # There doesn't appear to be a way to prevent this compiler from
14657 # explicitly linking system object files so we need to strip them
14658 # from the output so that they don't get included in the library
14660 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"'
14663 if test yes,no
= "$GXX,$with_gnu_ld"; then
14664 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
14667 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'
14670 archive_cmds_CXX
='$CC -shared $pic_flag -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'
14674 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14675 hardcode_libdir_separator_CXX
=:
14677 # Commands to make compiler produce verbose output that lists
14678 # what "hidden" libraries, object files and flags are used when
14679 # linking a shared library.
14680 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14683 # FIXME: insert proper C++ library support
14691 # FIXME: insert proper C++ library support
14696 case $cc_basename in
14699 # FIXME: insert proper C++ library support
14704 # FIXME: insert proper C++ library support
14708 # FIXME: insert proper C++ library support
14715 case $cc_basename in
14717 # Sun C++ 4.2, 5.x and Centerline C++
14718 archive_cmds_need_lc_CXX
=yes
14719 no_undefined_flag_CXX
=' -zdefs'
14720 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14721 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14722 $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'
14724 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14725 hardcode_shlibpath_var_CXX
=no
14727 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14729 # The compiler driver will combine and reorder linker options,
14730 # but understands '-z linker_flag'.
14731 # Supported since Solaris 2.6 (maybe 2.5.1?)
14732 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14735 link_all_deplibs_CXX
=yes
14737 output_verbose_link_cmd
='func_echo_all'
14739 # Archives containing C++ object files must be created using
14740 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14741 # necessary to make sure instantiated templates are included
14743 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14746 # Green Hills C++ Compiler
14747 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14749 # The C++ compiler must be used to create the archive.
14750 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14753 # GNU C++ compiler with Solaris linker
14754 if test yes,no
= "$GXX,$with_gnu_ld"; then
14755 no_undefined_flag_CXX
=' $wl-z ${wl}defs'
14756 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14757 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14758 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14759 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14761 # Commands to make compiler produce verbose output that lists
14762 # what "hidden" libraries, object files and flags are used when
14763 # linking a shared library.
14764 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14766 # g++ 2.7 appears to require '-G' NOT '-shared' on this
14768 archive_cmds_CXX
='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14769 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14770 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14772 # Commands to make compiler produce verbose output that lists
14773 # what "hidden" libraries, object files and flags are used when
14774 # linking a shared library.
14775 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14778 hardcode_libdir_flag_spec_CXX
='$wl-R $wl$libdir'
14780 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14782 whole_archive_flag_spec_CXX
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14790 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14791 no_undefined_flag_CXX
='$wl-z,text'
14792 archive_cmds_need_lc_CXX
=no
14793 hardcode_shlibpath_var_CXX
=no
14794 runpath_var
='LD_RUN_PATH'
14796 case $cc_basename in
14798 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14799 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14802 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14803 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14808 sysv5
* | sco3.2v5
* | sco5v6
*)
14809 # Note: We CANNOT use -z defs as we might desire, because we do not
14810 # link with -lc, and that would cause any symbols used from libc to
14811 # always be unresolved, which means just about no library would
14812 # ever link correctly. If we're not using GNU ld we use -z text
14813 # though, which does catch some bad symbols but isn't as heavy-handed
14815 no_undefined_flag_CXX
='$wl-z,text'
14816 allow_undefined_flag_CXX
='$wl-z,nodefs'
14817 archive_cmds_need_lc_CXX
=no
14818 hardcode_shlibpath_var_CXX
=no
14819 hardcode_libdir_flag_spec_CXX
='$wl-R,$libdir'
14820 hardcode_libdir_separator_CXX
=':'
14821 link_all_deplibs_CXX
=yes
14822 export_dynamic_flag_spec_CXX
='$wl-Bexport'
14823 runpath_var
='LD_RUN_PATH'
14825 case $cc_basename in
14827 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14828 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14829 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14830 '"$old_archive_cmds_CXX"
14831 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14832 '"$reload_cmds_CXX"
14835 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14836 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14842 case $cc_basename in
14844 # NonStop-UX NCC 3.20
14845 # FIXME: insert proper C++ library support
14849 # FIXME: insert proper C++ library support
14856 # FIXME: insert proper C++ library support
14861 # FIXME: insert proper C++ library support
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14867 $as_echo "$ld_shlibs_CXX" >&6; }
14868 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
14874 ## There is no encapsulation within the following macros, do not change
14875 ## the running order or otherwise move them around unless you know exactly
14876 ## what you are doing...
14877 # Dependencies to place before and after the object being linked:
14878 predep_objects_CXX
=
14879 postdep_objects_CXX
=
14882 compiler_lib_search_path_CXX
=
14884 cat > conftest.
$ac_ext <<_LT_EOF
14888 Foo (void) { a = 0; }
14895 _lt_libdeps_save_CFLAGS
=$CFLAGS
14896 case "$CC $CFLAGS " in #(
14897 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14898 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14899 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
14902 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14903 (eval $ac_compile) 2>&5
14905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14906 test $ac_status = 0; }; then
14907 # Parse the compiler output and extract the necessary
14908 # objects, libraries and library flags.
14910 # Sentinel used to keep track of whether or not we are before
14911 # the conftest object file.
14912 pre_test_object_deps_done
=no
14914 for p
in `eval "$output_verbose_link_cmd"`; do
14918 # Some compilers place space between "-{L,R}" and the path.
14919 # Remove the space.
14920 if test x-L
= "$p" ||
14921 test x-R
= "$p"; then
14926 # Expand the sysroot to ease extracting the directories later.
14927 if test -z "$prev"; then
14929 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14930 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14931 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14935 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14937 if test no
= "$pre_test_object_deps_done"; then
14940 # Internal compiler library paths should come after those
14941 # provided the user. The postdeps already come after the
14942 # user supplied libs so there is no need to process them.
14943 if test -z "$compiler_lib_search_path_CXX"; then
14944 compiler_lib_search_path_CXX
=$prev$p
14946 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} $prev$p"
14949 # The "-l" case would never come before the object being
14950 # linked, so don't bother handling this case.
14953 if test -z "$postdeps_CXX"; then
14954 postdeps_CXX
=$prev$p
14956 postdeps_CXX
="${postdeps_CXX} $prev$p"
14962 *.lto.
$objext) ;; # Ignore GCC LTO objects
14964 # This assumes that the test object file only shows up
14965 # once in the compiler output.
14966 if test "$p" = "conftest.$objext"; then
14967 pre_test_object_deps_done
=yes
14971 if test no
= "$pre_test_object_deps_done"; then
14972 if test -z "$predep_objects_CXX"; then
14973 predep_objects_CXX
=$p
14975 predep_objects_CXX
="$predep_objects_CXX $p"
14978 if test -z "$postdep_objects_CXX"; then
14979 postdep_objects_CXX
=$p
14981 postdep_objects_CXX
="$postdep_objects_CXX $p"
14986 *) ;; # Ignore the rest.
14994 echo "libtool.m4: error: problem compiling CXX test program"
14997 $RM -f confest.
$objext
14998 CFLAGS
=$_lt_libdeps_save_CFLAGS
15000 # PORTME: override above test on systems where it is broken
15003 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15004 # hack all around it, let's just trust "g++" to DTRT.
15005 predep_objects_CXX
=
15006 postdep_objects_CXX
=
15012 case " $postdeps_CXX " in
15013 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
15015 compiler_lib_search_dirs_CXX
=
15016 if test -n "${compiler_lib_search_path_CXX}"; then
15017 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
15050 lt_prog_compiler_wl_CXX
=
15051 lt_prog_compiler_pic_CXX
=
15052 lt_prog_compiler_static_CXX
=
15055 # C++ specific cases for pic, static, wl, etc.
15056 if test yes = "$GXX"; then
15057 lt_prog_compiler_wl_CXX
='-Wl,'
15058 lt_prog_compiler_static_CXX
='-static'
15062 # All AIX code is PIC.
15063 if test ia64
= "$host_cpu"; then
15064 # AIX 5 now supports IA64 processor
15065 lt_prog_compiler_static_CXX
='-Bstatic'
15067 lt_prog_compiler_pic_CXX
='-fPIC'
15073 # see comment about AmigaOS4 .so support
15074 lt_prog_compiler_pic_CXX
='-fPIC'
15077 # FIXME: we need at least 68020 code to build shared libraries, but
15078 # adding the '-m68020' flag to GCC prevents building anything better,
15080 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
15085 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15086 # PIC is the default for these OSes.
15088 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
15089 # This hack is so that the source file can tell whether it is being
15090 # built for inclusion in a dll (and should export symbols for example).
15091 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15092 # (--disable-auto-import) libraries
15093 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
15096 lt_prog_compiler_static_CXX
='$wl-static'
15100 darwin
* | rhapsody
*)
15101 # PIC is the default on this platform
15102 # Common symbols not allowed in MH_DYLIB files
15103 lt_prog_compiler_pic_CXX
='-fno-common'
15106 # DJGPP does not support shared libraries at all
15107 lt_prog_compiler_pic_CXX
=
15110 # PIC is the default for Haiku.
15111 # The "-static" flag exists, but is broken.
15112 lt_prog_compiler_static_CXX
=
15115 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15116 # Instead, we relocate shared libraries at runtime.
15119 if test -d /usr
/nec
; then
15120 lt_prog_compiler_pic_CXX
=-Kconform_pic
15124 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15125 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15126 # sets the default TLS model and affects inlining.
15131 lt_prog_compiler_pic_CXX
='-fPIC'
15136 # QNX uses GNU C++, but need to define -shared option too, otherwise
15137 # it will coredump.
15138 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15141 lt_prog_compiler_pic_CXX
='-fPIC'
15147 # All AIX code is PIC.
15148 if test ia64
= "$host_cpu"; then
15149 # AIX 5 now supports IA64 processor
15150 lt_prog_compiler_static_CXX
='-Bstatic'
15152 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
15156 case $cc_basename in
15158 # Green Hills C++ Compiler
15159 # _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"
15163 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
15164 # This hack is so that the source file can tell whether it is being
15165 # built for inclusion in a dll (and should export symbols for example).
15166 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
15169 case $cc_basename in
15171 lt_prog_compiler_pic_CXX
='-KPIC'
15174 # Green Hills C++ Compiler
15175 lt_prog_compiler_pic_CXX
='-pic'
15181 freebsd
* | dragonfly
*)
15182 # FreeBSD uses GNU C++
15184 hpux9
* | hpux10
* | hpux11
*)
15185 case $cc_basename in
15187 lt_prog_compiler_wl_CXX
='-Wl,'
15188 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
15189 if test ia64
!= "$host_cpu"; then
15190 lt_prog_compiler_pic_CXX
='+Z'
15194 lt_prog_compiler_wl_CXX
='-Wl,'
15195 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
15201 lt_prog_compiler_pic_CXX
='+Z'
15210 # This is c89, which is MS Visual C++ (no shared libs)
15211 # Anyone wants to do a port?
15213 irix5
* | irix6
* | nonstopux
*)
15214 case $cc_basename in
15216 lt_prog_compiler_wl_CXX
='-Wl,'
15217 lt_prog_compiler_static_CXX
='-non_shared'
15218 # CC pic flag -KPIC is the default.
15224 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
15225 case $cc_basename in
15228 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15229 lt_prog_compiler_pic_CXX
='-fPIC'
15232 # old Intel C++ for x86_64, which still supported -KPIC.
15233 lt_prog_compiler_wl_CXX
='-Wl,'
15234 lt_prog_compiler_pic_CXX
='-KPIC'
15235 lt_prog_compiler_static_CXX
='-static'
15238 # Intel C++, used to be incompatible with GCC.
15239 # ICC 10 doesn't accept -KPIC any more.
15240 lt_prog_compiler_wl_CXX
='-Wl,'
15241 lt_prog_compiler_pic_CXX
='-fPIC'
15242 lt_prog_compiler_static_CXX
='-static'
15245 # Portland Group C++ compiler
15246 lt_prog_compiler_wl_CXX
='-Wl,'
15247 lt_prog_compiler_pic_CXX
='-fpic'
15248 lt_prog_compiler_static_CXX
='-Bstatic'
15252 # Make sure the PIC flag is empty. It appears that all Alpha
15253 # Linux and Compaq Tru64 Unix objects are PIC.
15254 lt_prog_compiler_pic_CXX
=
15255 lt_prog_compiler_static_CXX
='-non_shared'
15257 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
15258 # IBM XL 8.0, 9.0 on PPC and BlueGene
15259 lt_prog_compiler_wl_CXX
='-Wl,'
15260 lt_prog_compiler_pic_CXX
='-qpic'
15261 lt_prog_compiler_static_CXX
='-qstaticlink'
15264 case `$CC -V 2>&1 | sed 5q` in
15267 lt_prog_compiler_pic_CXX
='-KPIC'
15268 lt_prog_compiler_static_CXX
='-Bstatic'
15269 lt_prog_compiler_wl_CXX
='-Qoption ld '
15280 case $cc_basename in
15282 lt_prog_compiler_pic_CXX
='-W c,exportall'
15291 # QNX uses GNU C++, but need to define -shared option too, otherwise
15292 # it will coredump.
15293 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15295 osf3
* | osf4
* | osf5
*)
15296 case $cc_basename in
15298 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15301 # Rational C++ 2.4.1
15302 lt_prog_compiler_pic_CXX
='-pic'
15305 # Digital/Compaq C++
15306 lt_prog_compiler_wl_CXX
='-Wl,'
15307 # Make sure the PIC flag is empty. It appears that all Alpha
15308 # Linux and Compaq Tru64 Unix objects are PIC.
15309 lt_prog_compiler_pic_CXX
=
15310 lt_prog_compiler_static_CXX
='-non_shared'
15319 case $cc_basename in
15321 # Sun C++ 4.2, 5.x and Centerline C++
15322 lt_prog_compiler_pic_CXX
='-KPIC'
15323 lt_prog_compiler_static_CXX
='-Bstatic'
15324 lt_prog_compiler_wl_CXX
='-Qoption ld '
15327 # Green Hills C++ Compiler
15328 lt_prog_compiler_pic_CXX
='-PIC'
15335 case $cc_basename in
15338 lt_prog_compiler_pic_CXX
='-pic'
15339 lt_prog_compiler_static_CXX
='-Bstatic'
15343 lt_prog_compiler_pic_CXX
='-pic'
15349 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15350 case $cc_basename in
15352 lt_prog_compiler_wl_CXX
='-Wl,'
15353 lt_prog_compiler_pic_CXX
='-KPIC'
15354 lt_prog_compiler_static_CXX
='-Bstatic'
15359 case $cc_basename in
15361 # NonStop-UX NCC 3.20
15362 lt_prog_compiler_pic_CXX
='-KPIC'
15371 lt_prog_compiler_can_build_shared_CXX
=no
15377 # For platforms that do not support PIC, -DPIC is meaningless:
15379 lt_prog_compiler_pic_CXX
=
15382 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15387 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15388 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
15389 $as_echo_n "(cached) " >&6
15391 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
15393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15394 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15395 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
15398 # Check to make sure the PIC flag actually works.
15400 if test -n "$lt_prog_compiler_pic_CXX"; then
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15402 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15403 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
15404 $as_echo_n "(cached) " >&6
15406 lt_cv_prog_compiler_pic_works_CXX
=no
15407 ac_outfile
=conftest.
$ac_objext
15408 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15409 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
15410 # Insert the option either (1) after the last *FLAGS variable, or
15411 # (2) before a word containing "conftest.", or (3) at the end.
15412 # Note that $ac_compile itself does not contain backslashes and begins
15413 # with a dollar sign (not a hyphen), so the echo should work correctly.
15414 # The option is referenced via a variable to avoid confusing sed.
15415 lt_compile
=`echo "$ac_compile" | $SED \
15416 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15417 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15418 -e 's:$: $lt_compiler_flag:'`
15419 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15420 (eval "$lt_compile" 2>conftest.err
)
15422 cat conftest.err
>&5
15423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15424 if (exit $ac_status) && test -s "$ac_outfile"; then
15425 # The compiler can only warn and ignore the option if not recognized
15426 # So say no if there are warnings other than the usual output.
15427 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
15428 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15429 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15430 lt_cv_prog_compiler_pic_works_CXX
=yes
15436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15437 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15439 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15440 case $lt_prog_compiler_pic_CXX in
15442 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
15445 lt_prog_compiler_pic_CXX
=
15446 lt_prog_compiler_can_build_shared_CXX
=no
15456 # Check to make sure the static flag actually works.
15458 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15460 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15461 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
15462 $as_echo_n "(cached) " >&6
15464 lt_cv_prog_compiler_static_works_CXX
=no
15465 save_LDFLAGS
=$LDFLAGS
15466 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15467 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15468 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15469 # The linker can only warn and ignore the option if not recognized
15470 # So say no if there are warnings
15471 if test -s conftest.err
; then
15472 # Append any errors to the config.log.
15473 cat conftest.err
1>&5
15474 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
15475 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15476 if diff conftest.exp conftest.er2
>/dev
/null
; then
15477 lt_cv_prog_compiler_static_works_CXX
=yes
15480 lt_cv_prog_compiler_static_works_CXX
=yes
15484 LDFLAGS
=$save_LDFLAGS
15487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15488 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15490 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
15493 lt_prog_compiler_static_CXX
=
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15500 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15501 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15502 $as_echo_n "(cached) " >&6
15504 lt_cv_prog_compiler_c_o_CXX
=no
15505 $RM -r conftest
2>/dev
/null
15509 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15511 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15512 # Insert the option either (1) after the last *FLAGS variable, or
15513 # (2) before a word containing "conftest.", or (3) at the end.
15514 # Note that $ac_compile itself does not contain backslashes and begins
15515 # with a dollar sign (not a hyphen), so the echo should work correctly.
15516 lt_compile
=`echo "$ac_compile" | $SED \
15517 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15518 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15519 -e 's:$: $lt_compiler_flag:'`
15520 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15521 (eval "$lt_compile" 2>out
/conftest.err
)
15523 cat out
/conftest.err
>&5
15524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15527 # The compiler can only warn and ignore the option if not recognized
15528 # So say no if there are warnings
15529 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15530 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15531 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15532 lt_cv_prog_compiler_c_o_CXX
=yes
15537 # SGI C++ compiler will create directory out/ii_files/ for
15538 # template instantiation
15539 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15540 $RM out
/* && rmdir out
15546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15547 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15552 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15553 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15554 $as_echo_n "(cached) " >&6
15556 lt_cv_prog_compiler_c_o_CXX
=no
15557 $RM -r conftest
2>/dev
/null
15561 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15563 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15564 # Insert the option either (1) after the last *FLAGS variable, or
15565 # (2) before a word containing "conftest.", or (3) at the end.
15566 # Note that $ac_compile itself does not contain backslashes and begins
15567 # with a dollar sign (not a hyphen), so the echo should work correctly.
15568 lt_compile
=`echo "$ac_compile" | $SED \
15569 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15570 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15571 -e 's:$: $lt_compiler_flag:'`
15572 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15573 (eval "$lt_compile" 2>out
/conftest.err
)
15575 cat out
/conftest.err
>&5
15576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15577 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15579 # The compiler can only warn and ignore the option if not recognized
15580 # So say no if there are warnings
15581 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15582 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15583 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15584 lt_cv_prog_compiler_c_o_CXX
=yes
15589 # SGI C++ compiler will create directory out/ii_files/ for
15590 # template instantiation
15591 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15592 $RM out
/* && rmdir out
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15599 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15604 hard_links
=nottested
15605 if test no
= "$lt_cv_prog_compiler_c_o_CXX" && test no
!= "$need_locks"; then
15606 # do not overwrite the value of need_locks provided by the user
15607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15608 $as_echo_n "checking if we can lock with hard links... " >&6; }
15611 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15613 ln conftest.a conftest.b
2>&5 || hard_links
=no
15614 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15616 $as_echo "$hard_links" >&6; }
15617 if test no
= "$hard_links"; then
15618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
15619 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15629 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15631 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15632 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15635 # If we're using GNU nm, then we don't want the "-C" option.
15636 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
15637 # Without the "-l" option, or with the "-B" option, AIX nm treats
15638 # weak defined symbols like other global defined symbols, whereas
15639 # GNU nm marks them as "W".
15640 # While the 'weak' keyword is ignored in the Export File, we need
15641 # it in the Import File for the 'aix-soname' feature, so we have
15642 # to replace the "-B" option with "-P" for AIX nm.
15643 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
15644 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
15646 export_symbols_cmds_CXX
='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
15650 export_symbols_cmds_CXX
=$ltdll_cmds
15652 cygwin
* | mingw
* | cegcc
*)
15653 case $cc_basename in
15655 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15658 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
15659 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15664 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15669 $as_echo "$ld_shlibs_CXX" >&6; }
15670 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
15672 with_gnu_ld_CXX
=$with_gnu_ld
15680 # Do we need to explicitly link libc?
15682 case "x$archive_cmds_need_lc_CXX" in
15684 # Assume -lc should be added
15685 archive_cmds_need_lc_CXX
=yes
15687 if test yes,yes = "$GCC,$enable_shared"; then
15688 case $archive_cmds_CXX in
15690 # FIXME: we may have to deal with multi-command sequences.
15693 # Test whether the compiler implicitly links with -lc since on some
15694 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15695 # to ld, don't add -lc before -lgcc.
15696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15697 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15698 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
15699 $as_echo_n "(cached) " >&6
15702 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15704 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15705 (eval $ac_compile) 2>&5
15707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15708 test $ac_status = 0; } 2>conftest.err
; then
15711 libobjs
=conftest.
$ac_objext
15713 wl
=$lt_prog_compiler_wl_CXX
15714 pic_flag
=$lt_prog_compiler_pic_CXX
15720 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15721 allow_undefined_flag_CXX
=
15722 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15723 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15726 test $ac_status = 0; }
15728 lt_cv_archive_cmds_need_lc_CXX
=no
15730 lt_cv_archive_cmds_need_lc_CXX
=yes
15732 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15734 cat conftest.err
1>&5
15739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15740 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15741 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15810 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15812 library_names_spec
=
15813 libname_spec
='lib$name'
15817 postuninstall_cmds
=
15821 shlibpath_overrides_runpath
=unknown
15823 dynamic_linker
="$host_os ld.so"
15824 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15825 need_lib_prefix
=unknown
15826 hardcode_into_libs
=no
15828 # when you set need_version to no, make sure it does not cause -set_version
15829 # flags to be left without arguments
15830 need_version
=unknown
15836 version_type
=linux
# correct to gnu/linux during the next big refactor
15837 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
15838 shlibpath_var
=LIBPATH
15840 # AIX 3 has no versioning support, so we append a major version to the name.
15841 soname_spec
='$libname$release$shared_ext$major'
15845 version_type
=linux
# correct to gnu/linux during the next big refactor
15848 hardcode_into_libs
=yes
15849 if test ia64
= "$host_cpu"; then
15850 # AIX 5 supports IA64
15851 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
15852 shlibpath_var
=LD_LIBRARY_PATH
15854 # With GCC up to 2.95.x, collect2 would create an import file
15855 # for dependence libraries. The import file would start with
15856 # the line '#! .'. This would cause the generated library to
15857 # depend on '.', always an invalid library. This was fixed in
15858 # development snapshots of GCC prior to 3.0.
15860 aix4 | aix4.
[01] | aix4.
[01].
*)
15861 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15863 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
15866 can_build_shared
=no
15870 # Using Import Files as archive members, it is possible to support
15871 # filename-based versioning of shared library archives on AIX. While
15872 # this would work for both with and without runtime linking, it will
15873 # prevent static linking of such archives. So we do filename-based
15874 # shared library versioning with .so extension only, which is used
15875 # when both runtime linking and shared linking is enabled.
15876 # Unfortunately, runtime linking may impact performance, so we do
15877 # not want this to be the default eventually. Also, we use the
15878 # versioned .so libs for executables only if there is the -brtl
15879 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
15880 # To allow for filename-based versioning support, we need to create
15881 # libNAME.so.V as an archive file, containing:
15882 # *) an Import File, referring to the versioned filename of the
15883 # archive as well as the shared archive member, telling the
15884 # bitwidth (32 or 64) of that shared object, and providing the
15885 # list of exported symbols of that shared object, eventually
15886 # decorated with the 'weak' keyword
15887 # *) the shared object with the F_LOADONLY flag set, to really avoid
15888 # it being seen by the linker.
15889 # At run time we better use the real file rather than another symlink,
15890 # but for link time we create the symlink libNAME.so -> libNAME.so.V
15892 case $with_aix_soname,$aix_use_runtimelinking in
15893 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
15894 # soname into executable. Probably we can add versioning support to
15895 # collect2, so additional links can be useful in future.
15896 aix
,yes) # traditional libtool
15897 dynamic_linker
='AIX unversionable lib.so'
15898 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15899 # instead of lib<name>.a to let people know that these are not
15900 # typical AIX shared libraries.
15901 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15903 aix
,no
) # traditional AIX only
15904 dynamic_linker
='AIX lib.a(lib.so.V)'
15905 # We preserve .a as extension for shared libraries through AIX4.2
15906 # and later when we are not doing run time linking.
15907 library_names_spec
='$libname$release.a $libname.a'
15908 soname_spec
='$libname$release$shared_ext$major'
15910 svr4
,*) # full svr4 only
15911 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
15912 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
15913 # We do not specify a path in Import Files, so LIBPATH fires.
15914 shlibpath_overrides_runpath
=yes
15916 *,yes) # both, prefer svr4
15917 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
15918 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
15919 # unpreferred sharedlib libNAME.a needs extra handling
15920 postinstall_cmds
='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
15921 postuninstall_cmds
='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
15922 # We do not specify a path in Import Files, so LIBPATH fires.
15923 shlibpath_overrides_runpath
=yes
15925 *,no
) # both, prefer aix
15926 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
15927 library_names_spec
='$libname$release.a $libname.a'
15928 soname_spec
='$libname$release$shared_ext$major'
15929 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
15930 postinstall_cmds
='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
15931 postuninstall_cmds
='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
15934 shlibpath_var
=LIBPATH
15941 # Since July 2007 AmigaOS4 officially supports .so libraries.
15942 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15943 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15946 library_names_spec
='$libname.ixlibrary $libname.a'
15947 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15948 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
15954 library_names_spec
='$libname$shared_ext'
15955 dynamic_linker
="$host_os ld.so"
15956 shlibpath_var
=LIBRARY_PATH
15960 version_type
=linux
# correct to gnu/linux during the next big refactor
15962 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15963 soname_spec
='$libname$release$shared_ext$major'
15964 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15965 shlibpath_var
=LD_LIBRARY_PATH
15966 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15967 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15968 # the default ld.so.conf also contains /usr/contrib/lib and
15969 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15970 # libtool to hard-code these into programs
15973 cygwin
* | mingw
* | pw32
* | cegcc
*)
15974 version_type
=windows
15979 case $GCC,$cc_basename in
15982 library_names_spec
='$libname.dll.a'
15983 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15984 postinstall_cmds
='base_file=`basename \$file`~
15985 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15986 dldir=$destdir/`dirname \$dlpath`~
15987 test -d \$dldir || mkdir -p \$dldir~
15988 $install_prog $dir/$dlname \$dldir/$dlname~
15989 chmod a+x \$dldir/$dlname~
15990 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15991 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15993 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15994 dlpath=$dir/\$dldll~
15996 shlibpath_overrides_runpath
=yes
16000 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16001 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
16005 # MinGW DLLs use traditional 'lib' prefix
16006 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
16009 # pw32 DLLs use 'pw' prefix rather than 'lib'
16010 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
16013 dynamic_linker
='Win32 ld.exe'
16018 libname_spec
='$name'
16019 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
16020 library_names_spec
='$libname.dll.lib'
16024 sys_lib_search_path_spec
=
16027 for lt_path
in $LIB
16030 # Let DOS variable expansion print the short 8.3 style file name.
16031 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16032 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
16035 # Convert to MSYS style.
16036 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16039 # Convert to unix form, then to dos form, then back to unix form
16040 # but this time dos style (no spaces!) so that the unix form looks
16041 # like /cygdrive/c/PROGRA~1:/cygdr...
16042 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
16043 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16044 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16047 sys_lib_search_path_spec
=$LIB
16048 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
16049 # It is most probably a Windows format PATH.
16050 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16052 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16054 # FIXME: find the short name or the path components, as spaces are
16055 # common. (e.g. "Program Files" -> "PROGRA~1")
16059 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16060 postinstall_cmds
='base_file=`basename \$file`~
16061 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16062 dldir=$destdir/`dirname \$dlpath`~
16063 test -d \$dldir || mkdir -p \$dldir~
16064 $install_prog $dir/$dlname \$dldir/$dlname'
16065 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16066 dlpath=$dir/\$dldll~
16068 shlibpath_overrides_runpath
=yes
16069 dynamic_linker
='Win32 link.exe'
16073 # Assume MSVC wrapper
16074 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
16075 dynamic_linker
='Win32 ld.exe'
16078 # FIXME: first we should search . and the directory the executable is in
16082 darwin
* | rhapsody
*)
16083 dynamic_linker
="$host_os dyld"
16084 version_type
=darwin
16087 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
16088 soname_spec
='$libname$release$major$shared_ext'
16089 shlibpath_overrides_runpath
=yes
16090 shlibpath_var
=DYLD_LIBRARY_PATH
16091 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
16093 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16097 version_type
=linux
# correct to gnu/linux during the next big refactor
16100 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16101 soname_spec
='$libname$release$shared_ext$major'
16102 shlibpath_var
=LD_LIBRARY_PATH
16105 freebsd
* | dragonfly
*)
16106 # DragonFly does not have aout. When/if they implement a new
16107 # versioning mechanism, adjust this.
16108 if test -x /usr
/bin
/objformat
; then
16109 objformat
=`/usr/bin/objformat`
16112 freebsd
[23].
*) objformat
=aout
;;
16113 *) objformat
=elf
;;
16116 version_type
=freebsd-
$objformat
16117 case $version_type in
16119 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16120 soname_spec
='$libname$release$shared_ext$major'
16125 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16129 shlibpath_var
=LD_LIBRARY_PATH
16132 shlibpath_overrides_runpath
=yes
16134 freebsd3.
[01]* | freebsdelf3.
[01]*)
16135 shlibpath_overrides_runpath
=yes
16136 hardcode_into_libs
=yes
16138 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16139 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16140 shlibpath_overrides_runpath
=no
16141 hardcode_into_libs
=yes
16143 *) # from 4.6 on, and DragonFly
16144 shlibpath_overrides_runpath
=yes
16145 hardcode_into_libs
=yes
16151 version_type
=linux
# correct to gnu/linux during the next big refactor
16154 dynamic_linker
="$host_os runtime_loader"
16155 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16156 soname_spec
='$libname$release$shared_ext$major'
16157 shlibpath_var
=LIBRARY_PATH
16158 shlibpath_overrides_runpath
=no
16159 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16160 hardcode_into_libs
=yes
16163 hpux9
* | hpux10
* | hpux11
*)
16164 # Give a soname corresponding to the major version so that dld.sl refuses to
16165 # link against other versions.
16172 hardcode_into_libs
=yes
16173 dynamic_linker
="$host_os dld.so"
16174 shlibpath_var
=LD_LIBRARY_PATH
16175 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16176 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16177 soname_spec
='$libname$release$shared_ext$major'
16178 if test 32 = "$HPUX_IA64_MODE"; then
16179 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16180 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
16182 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16183 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
16188 hardcode_into_libs
=yes
16189 dynamic_linker
="$host_os dld.sl"
16190 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16191 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16192 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16193 soname_spec
='$libname$release$shared_ext$major'
16194 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16195 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16199 dynamic_linker
="$host_os dld.sl"
16200 shlibpath_var
=SHLIB_PATH
16201 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16202 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16203 soname_spec
='$libname$release$shared_ext$major'
16206 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16207 postinstall_cmds
='chmod 555 $lib'
16208 # or fails outright, so override atomically:
16209 install_override_mode
=555
16213 version_type
=linux
# correct to gnu/linux during the next big refactor
16216 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16217 soname_spec
='$libname$release$shared_ext$major'
16218 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16219 shlibpath_var
=LD_LIBRARY_PATH
16220 shlibpath_overrides_runpath
=no
16221 hardcode_into_libs
=yes
16224 irix5
* | irix6
* | nonstopux
*)
16226 nonstopux
*) version_type
=nonstopux
;;
16228 if test yes = "$lt_cv_prog_gnu_ld"; then
16229 version_type
=linux
# correct to gnu/linux during the next big refactor
16236 soname_spec
='$libname$release$shared_ext$major'
16237 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16239 irix5
* | nonstopux
*)
16240 libsuff
= shlibsuff
=
16243 case $LD in # libtool.m4 will add one of these switches to LD
16244 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16245 libsuff
= shlibsuff
= libmagic
=32-bit;;
16246 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16247 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16248 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16249 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16250 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16254 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16255 shlibpath_overrides_runpath
=no
16256 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16257 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
16258 hardcode_into_libs
=yes
16261 # No shared lib support for Linux oldld, aout, or coff.
16262 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16267 version_type
=none
# Android doesn't support versioned libraries.
16270 library_names_spec
='$libname$release$shared_ext'
16271 soname_spec
='$libname$release$shared_ext'
16273 shlibpath_var
=LD_LIBRARY_PATH
16274 shlibpath_overrides_runpath
=yes
16276 # This implies no fast_install, which is unacceptable.
16277 # Some rework will be needed to allow for fast_install
16278 # before this can be enabled.
16279 hardcode_into_libs
=yes
16281 dynamic_linker
='Android linker'
16282 # Don't embed -rpath directories since the linker doesn't support them.
16283 hardcode_libdir_flag_spec_CXX
='-L$libdir'
16286 # This must be glibc/ELF.
16287 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
16288 version_type
=linux
# correct to gnu/linux during the next big refactor
16291 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16292 soname_spec
='$libname$release$shared_ext$major'
16293 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16294 shlibpath_var
=LD_LIBRARY_PATH
16295 shlibpath_overrides_runpath
=no
16297 # Some binutils ld are patched to set DT_RUNPATH
16298 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
16299 $as_echo_n "(cached) " >&6
16301 lt_cv_shlibpath_overrides_runpath
=no
16302 save_LDFLAGS
=$LDFLAGS
16303 save_libdir
=$libdir
16304 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16305 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16307 /* end confdefs.h. */
16317 if ac_fn_cxx_try_link
"$LINENO"; then :
16318 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
16319 lt_cv_shlibpath_overrides_runpath
=yes
16322 rm -f core conftest.err conftest.
$ac_objext \
16323 conftest
$ac_exeext conftest.
$ac_ext
16324 LDFLAGS
=$save_LDFLAGS
16325 libdir
=$save_libdir
16329 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
16331 # This implies no fast_install, which is unacceptable.
16332 # Some rework will be needed to allow for fast_install
16333 # before this can be enabled.
16334 hardcode_into_libs
=yes
16336 # Add ABI-specific directories to the system library path.
16337 sys_lib_dlsearch_path_spec
="/lib64 /usr/lib64 /lib /usr/lib"
16339 # Ideally, we could use ldconfig to report *all* directores which are
16340 # searched for libraries, however this is still not possible. Aside from not
16341 # being certain /sbin/ldconfig is available, command
16342 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16343 # even though it is searched at run-time. Try to do the best guess by
16344 # appending ld.so.conf contents (and includes) to the search path.
16345 if test -f /etc
/ld.so.conf
; then
16346 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' ' '`
16347 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
16350 # We used to test for /lib/ld.so.1 and disable shared libraries on
16351 # powerpc, because MkLinux only supported shared libraries with the
16352 # GNU dynamic linker. Since this was broken with cross compilers,
16353 # most powerpc-linux boxes support dynamic linking these days and
16354 # people can always --disable-shared, the test was removed, and we
16355 # assume the GNU/Linux dynamic linker is in use.
16356 dynamic_linker
='GNU/Linux ld.so'
16363 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
16364 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16365 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16366 dynamic_linker
='NetBSD (a.out) ld.so'
16368 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16369 soname_spec
='$libname$release$shared_ext$major'
16370 dynamic_linker
='NetBSD ld.elf_so'
16372 shlibpath_var
=LD_LIBRARY_PATH
16373 shlibpath_overrides_runpath
=yes
16374 hardcode_into_libs
=yes
16378 version_type
=linux
# correct to gnu/linux during the next big refactor
16379 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16380 shlibpath_var
=LD_LIBRARY_PATH
16381 shlibpath_overrides_runpath
=yes
16388 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16389 soname_spec
='$libname$release$shared_ext$major'
16390 shlibpath_var
=LD_LIBRARY_PATH
16391 shlibpath_overrides_runpath
=no
16392 hardcode_into_libs
=yes
16393 dynamic_linker
='ldqnx.so'
16396 openbsd
* | bitrig
*)
16398 sys_lib_dlsearch_path_spec
=/usr
/lib
16400 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16405 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16406 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16407 shlibpath_var
=LD_LIBRARY_PATH
16408 shlibpath_overrides_runpath
=yes
16412 libname_spec
='$name'
16413 version_type
=windows
16417 # OS/2 can only load a DLL with a base name of 8 characters or less.
16418 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
16419 v=$($ECHO $release$versuffix | tr -d .-);
16420 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16421 $ECHO $n$v`$shared_ext'
16422 library_names_spec
='${libname}_dll.$libext'
16423 dynamic_linker
='OS/2 ld.exe'
16424 shlibpath_var
=BEGINLIBPATH
16425 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
16426 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16427 postinstall_cmds
='base_file=`basename \$file`~
16428 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16429 dldir=$destdir/`dirname \$dlpath`~
16430 test -d \$dldir || mkdir -p \$dldir~
16431 $install_prog $dir/$dlname \$dldir/$dlname~
16432 chmod a+x \$dldir/$dlname~
16433 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16434 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16436 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16437 dlpath=$dir/\$dldll~
16441 osf3
* | osf4
* | osf5
*)
16445 soname_spec
='$libname$release$shared_ext$major'
16446 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16447 shlibpath_var
=LD_LIBRARY_PATH
16448 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16449 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16457 version_type
=linux
# correct to gnu/linux during the next big refactor
16460 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16461 soname_spec
='$libname$release$shared_ext$major'
16462 shlibpath_var
=LD_LIBRARY_PATH
16463 shlibpath_overrides_runpath
=yes
16464 hardcode_into_libs
=yes
16465 # ldd complains unless libraries are executable
16466 postinstall_cmds
='chmod +x $lib'
16471 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16472 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16473 shlibpath_var
=LD_LIBRARY_PATH
16474 shlibpath_overrides_runpath
=yes
16475 if test yes = "$with_gnu_ld"; then
16482 version_type
=linux
# correct to gnu/linux during the next big refactor
16483 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16484 soname_spec
='$libname$release$shared_ext$major'
16485 shlibpath_var
=LD_LIBRARY_PATH
16486 case $host_vendor in
16488 shlibpath_overrides_runpath
=no
16490 runpath_var
=LD_RUN_PATH
16498 shlibpath_overrides_runpath
=no
16499 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16505 if test -d /usr
/nec
; then
16506 version_type
=linux
# correct to gnu/linux during the next big refactor
16507 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16508 soname_spec
='$libname$shared_ext.$major'
16509 shlibpath_var
=LD_LIBRARY_PATH
16513 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16517 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16518 soname_spec
='$libname$release$shared_ext$major'
16519 shlibpath_var
=LD_LIBRARY_PATH
16520 shlibpath_overrides_runpath
=yes
16521 hardcode_into_libs
=yes
16522 if test yes = "$with_gnu_ld"; then
16523 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16525 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16528 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16532 sys_lib_dlsearch_path_spec
='/usr/lib'
16536 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16537 version_type
=linux
# correct to gnu/linux during the next big refactor
16540 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16541 shlibpath_var
=LD_LIBRARY_PATH
16542 shlibpath_overrides_runpath
=no
16543 hardcode_into_libs
=yes
16547 version_type
=linux
# correct to gnu/linux during the next big refactor
16548 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16549 soname_spec
='$libname$release$shared_ext$major'
16550 shlibpath_var
=LD_LIBRARY_PATH
16557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16558 $as_echo "$dynamic_linker" >&6; }
16559 test no
= "$dynamic_linker" && can_build_shared
=no
16561 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16562 if test yes = "$GCC"; then
16563 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16566 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16567 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
16570 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16571 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
16574 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16575 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
16577 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16578 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
16580 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16581 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
16622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16623 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16624 hardcode_action_CXX
=
16625 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16626 test -n "$runpath_var_CXX" ||
16627 test yes = "$hardcode_automatic_CXX"; then
16629 # We can hardcode non-existent directories.
16630 if test no
!= "$hardcode_direct_CXX" &&
16631 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16632 # have to relink, otherwise we might link with an installed library
16633 # when we should be linking with a yet-to-be-installed one
16634 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
16635 test no
!= "$hardcode_minus_L_CXX"; then
16636 # Linking always hardcodes the temporary library directory.
16637 hardcode_action_CXX
=relink
16639 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16640 hardcode_action_CXX
=immediate
16643 # We cannot hardcode anything, or else we can only hardcode existing
16645 hardcode_action_CXX
=unsupported
16647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16648 $as_echo "$hardcode_action_CXX" >&6; }
16650 if test relink
= "$hardcode_action_CXX" ||
16651 test yes = "$inherit_rpath_CXX"; then
16652 # Fast installation is not supported
16653 enable_fast_install
=no
16654 elif test yes = "$shlibpath_overrides_runpath" ||
16655 test no
= "$enable_shared"; then
16656 # Fast installation is not necessary
16657 enable_fast_install
=needless
16666 fi # test -n "$compiler"
16669 CFLAGS
=$lt_save_CFLAGS
16673 with_gnu_ld
=$lt_save_with_gnu_ld
16674 lt_cv_path_LDCXX
=$lt_cv_path_LD
16675 lt_cv_path_LD
=$lt_save_path_LD
16676 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16677 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16678 fi # test yes != "$_lt_caught_CXX_error"
16681 ac_cpp
='$CPP $CPPFLAGS'
16682 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16683 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16684 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16700 ac_config_commands
="$ac_config_commands libtool"
16705 # Only expand once:
16711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbm_open in -lgdbm" >&5
16712 $as_echo_n "checking for gdbm_open in -lgdbm... " >&6; }
16713 if ${ac_cv_lib_gdbm_gdbm_open+:} false
; then :
16714 $as_echo_n "(cached) " >&6
16716 ac_check_lib_save_LIBS
=$LIBS
16717 LIBS
="-lgdbm $LIBS"
16718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16719 /* end confdefs.h. */
16721 /* Override any GCC internal prototype to avoid an error.
16722 Use char because int might match the return type of a GCC
16723 builtin and then its argument prototype would still apply. */
16731 return gdbm_open ();
16736 if ac_fn_c_try_link
"$LINENO"; then :
16737 ac_cv_lib_gdbm_gdbm_open
=yes
16739 ac_cv_lib_gdbm_gdbm_open
=no
16741 rm -f core conftest.err conftest.
$ac_objext \
16742 conftest
$ac_exeext conftest.
$ac_ext
16743 LIBS
=$ac_check_lib_save_LIBS
16745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_gdbm_open" >&5
16746 $as_echo "$ac_cv_lib_gdbm_gdbm_open" >&6; }
16747 if test "x$ac_cv_lib_gdbm_gdbm_open" = xyes
; then :
16748 LIBGDBM
=-lgdbm ; LIBS
="-lgdbm $LIBS"
16752 ac_fn_c_check_func
"$LINENO" "gdbm_open" "ac_cv_func_gdbm_open"
16753 if test "x$ac_cv_func_gdbm_open" = xyes
; then :
16760 if test "$FOUND_GDBM" = 1
16762 for ac_func
in gdbm_fdesc
16764 ac_fn_c_check_func
"$LINENO" "gdbm_fdesc" "ac_cv_func_gdbm_fdesc"
16765 if test "x$ac_cv_func_gdbm_fdesc" = xyes
; then :
16766 cat >>confdefs.h
<<_ACEOF
16767 #define HAVE_GDBM_FDESC 1
16774 for ac_header
in unistd.h fcntl.h
16776 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16777 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16778 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
16779 cat >>confdefs.h
<<_ACEOF
16780 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16792 if test "$FOUND_GDBM" = 1; then
16794 FOUND_GDBM_FALSE
='#'
16796 FOUND_GDBM_TRUE
='#'
16802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
16803 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
16804 if ${ac_cv_c_const+:} false
; then :
16805 $as_echo_n "(cached) " >&6
16807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16808 /* end confdefs.h. */
16814 #ifndef __cplusplus
16815 /* Ultrix mips cc rejects this sort of thing. */
16816 typedef int charset[2];
16817 const charset cs = { 0, 0 };
16818 /* SunOS 4.1.1 cc rejects this. */
16819 char const *const *pcpcc;
16821 /* NEC SVR4.0.2 mips cc rejects this. */
16822 struct point {int x, y;};
16823 static struct point const zero = {0,0};
16824 /* AIX XL C 1.02.0.0 rejects this.
16825 It does not let you subtract one const X* pointer from another in
16826 an arm of an if-expression whose if-part is not a constant
16828 const char *g = "string";
16829 pcpcc = &g + (g ? g-g : 0);
16830 /* HPUX 7.0 cc rejects these. */
16832 ppc = (char**) pcpcc;
16833 pcpcc = (char const *const *) ppc;
16834 { /* SCO 3.2v4 cc rejects this sort of thing. */
16837 char const *s = 0 ? (char *) 0 : (char const *) 0;
16842 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16843 int x[] = {25, 17};
16844 const int *foo = &x[0];
16847 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16848 typedef const int *iptr;
16852 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
16853 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16854 struct s { int j; const int *ap[3]; } bx;
16855 struct s *b = &bx; b->j = 5;
16857 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16858 const int foo = 10;
16859 if (!foo) return 0;
16861 return !cs[0] && !zero.x;
16868 if ac_fn_c_try_compile
"$LINENO"; then :
16873 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
16876 $as_echo "$ac_cv_c_const" >&6; }
16877 if test $ac_cv_c_const = no
; then
16879 $as_echo "#define const /**/" >>confdefs.h
16883 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16884 if test "x$ac_cv_type_size_t" = xyes
; then :
16888 cat >>confdefs.h
<<_ACEOF
16889 #define size_t unsigned int
16894 # Check whether --enable-largefile was given.
16895 if test "${enable_largefile+set}" = set; then :
16896 enableval
=$enable_largefile;
16899 if test "$enable_largefile" != no
; then
16901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16902 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16903 if ${ac_cv_sys_largefile_CC+:} false
; then :
16904 $as_echo_n "(cached) " >&6
16906 ac_cv_sys_largefile_CC
=no
16907 if test "$GCC" != yes; then
16910 # IRIX 6.2 and later do not support large files by default,
16911 # so use the C compiler's -n32 option if that helps.
16912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16913 /* end confdefs.h. */
16914 #include <sys/types.h>
16915 /* Check that off_t can represent 2**63 - 1 correctly.
16916 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16917 since some C++ compilers masquerading as C compilers
16918 incorrectly reject 9223372036854775807. */
16919 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16920 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16921 && LARGE_OFF_T % 2147483647 == 1)
16931 if ac_fn_c_try_compile
"$LINENO"; then :
16934 rm -f core conftest.err conftest.
$ac_objext
16936 if ac_fn_c_try_compile
"$LINENO"; then :
16937 ac_cv_sys_largefile_CC
=' -n32'; break
16939 rm -f core conftest.err conftest.
$ac_objext
16943 rm -f conftest.
$ac_ext
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16947 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
16948 if test "$ac_cv_sys_largefile_CC" != no
; then
16949 CC
=$CC$ac_cv_sys_largefile_CC
16952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16953 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16954 if ${ac_cv_sys_file_offset_bits+:} false
; then :
16955 $as_echo_n "(cached) " >&6
16958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16959 /* end confdefs.h. */
16960 #include <sys/types.h>
16961 /* Check that off_t can represent 2**63 - 1 correctly.
16962 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16963 since some C++ compilers masquerading as C compilers
16964 incorrectly reject 9223372036854775807. */
16965 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16966 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16967 && LARGE_OFF_T % 2147483647 == 1)
16977 if ac_fn_c_try_compile
"$LINENO"; then :
16978 ac_cv_sys_file_offset_bits
=no
; break
16980 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16982 /* end confdefs.h. */
16983 #define _FILE_OFFSET_BITS 64
16984 #include <sys/types.h>
16985 /* Check that off_t can represent 2**63 - 1 correctly.
16986 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16987 since some C++ compilers masquerading as C compilers
16988 incorrectly reject 9223372036854775807. */
16989 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16990 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16991 && LARGE_OFF_T % 2147483647 == 1)
17001 if ac_fn_c_try_compile
"$LINENO"; then :
17002 ac_cv_sys_file_offset_bits
=64; break
17004 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17005 ac_cv_sys_file_offset_bits
=unknown
17009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
17010 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
17011 case $ac_cv_sys_file_offset_bits in #(
17014 cat >>confdefs.h
<<_ACEOF
17015 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
17020 if test $ac_cv_sys_file_offset_bits = unknown
; then
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
17022 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
17023 if ${ac_cv_sys_large_files+:} false
; then :
17024 $as_echo_n "(cached) " >&6
17027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17028 /* end confdefs.h. */
17029 #include <sys/types.h>
17030 /* Check that off_t can represent 2**63 - 1 correctly.
17031 We can't simply define LARGE_OFF_T to be 9223372036854775807,
17032 since some C++ compilers masquerading as C compilers
17033 incorrectly reject 9223372036854775807. */
17034 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17035 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17036 && LARGE_OFF_T % 2147483647 == 1)
17046 if ac_fn_c_try_compile
"$LINENO"; then :
17047 ac_cv_sys_large_files
=no
; break
17049 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17051 /* end confdefs.h. */
17052 #define _LARGE_FILES 1
17053 #include <sys/types.h>
17054 /* Check that off_t can represent 2**63 - 1 correctly.
17055 We can't simply define LARGE_OFF_T to be 9223372036854775807,
17056 since some C++ compilers masquerading as C compilers
17057 incorrectly reject 9223372036854775807. */
17058 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17059 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17060 && LARGE_OFF_T % 2147483647 == 1)
17070 if ac_fn_c_try_compile
"$LINENO"; then :
17071 ac_cv_sys_large_files
=1; break
17073 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17074 ac_cv_sys_large_files
=unknown
17078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
17079 $as_echo "$ac_cv_sys_large_files" >&6; }
17080 case $ac_cv_sys_large_files in #(
17083 cat >>confdefs.h
<<_ACEOF
17084 #define _LARGE_FILES $ac_cv_sys_large_files
17097 ac_cpp
='$CXXCPP $CPPFLAGS'
17098 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17099 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17100 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C++ compiler needs -fhandle-exceptions" >&5
17103 $as_echo_n "checking if the C++ compiler needs -fhandle-exceptions... " >&6; }
17104 if ${ac_cv_need_handlexceptions+:} false
; then :
17105 $as_echo_n "(cached) " >&6
17107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17108 /* end confdefs.h. */
17120 if ac_fn_cxx_try_compile
"$LINENO"; then :
17121 ac_cv_need_handlexceptions
=no
17123 ac_cv_need_handlexceptions
=yes
17125 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_need_handlexceptions" >&5
17129 $as_echo "$ac_cv_need_handlexceptions" >&6; }
17131 if test "$ac_cv_need_handlexceptions" = "yes"
17133 case "$CXXFLAGS" in
17134 *handle-exceptions
*)
17137 CXXFLAGS
="-fhandle-exceptions $CXXFLAGS"
17138 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-O2//'`
17143 ac_config_files
="$ac_config_files Makefile"
17145 cat >confcache
<<\_ACEOF
17146 # This file is a shell script that caches the results of configure
17147 # tests run on this system so they can be shared between configure
17148 # scripts and configure runs, see configure's option --config-cache.
17149 # It is not useful on other systems. If it contains results you don't
17150 # want to keep, you may remove or edit it.
17152 # config.status only pays attention to the cache file if you give it
17153 # the --recheck option to rerun configure.
17155 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17156 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17157 # following values.
17161 # The following way of writing the cache mishandles newlines in values,
17162 # but we know of no workaround that is simple, portable, and efficient.
17163 # So, we kill variables containing newlines.
17164 # Ultrix sh set writes to stderr and can't be redirected directly,
17165 # and sets the high bit in the cache file unless we assign to the vars.
17167 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17168 eval ac_val
=\$
$ac_var
17172 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17173 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17176 _ | IFS | as_nl
) ;; #(
17177 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17178 *) { eval $ac_var=; unset $ac_var;} ;;
17184 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17185 *${as_nl}ac_space
=\
*)
17186 # `set' does not quote correctly, so add quotes: double-quote
17187 # substitution turns \\\\ into \\, and sed turns \\ into \.
17190 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17193 # `set' quotes correctly as required by POSIX, so do not add quotes.
17194 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17203 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17205 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17207 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17208 if test -w "$cache_file"; then
17209 if test "x$cache_file" != "x/dev/null"; then
17210 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17211 $as_echo "$as_me: updating cache $cache_file" >&6;}
17212 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17213 cat confcache
>"$cache_file"
17215 case $cache_file in #(
17217 mv -f confcache
"$cache_file"$$
&&
17218 mv -f "$cache_file"$$
"$cache_file" ;; #(
17220 mv -f confcache
"$cache_file" ;;
17225 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17226 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17231 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17232 # Let make expand exec_prefix.
17233 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17235 DEFS
=-DHAVE_CONFIG_H
17240 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17241 # 1. Remove the extension, and $U if already installed.
17242 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17243 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17244 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17245 # will be set to the directory where LIBOBJS objects are built.
17246 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17247 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17249 LIBOBJS
=$ac_libobjs
17251 LTLIBOBJS
=$ac_ltlibobjs
17254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17255 $as_echo_n "checking that generated files are newer than configure... " >&6; }
17256 if test -n "$am_sleep_pid"; then
17257 # Hide warnings about reused PIDs.
17258 wait $am_sleep_pid 2>/dev
/null
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17261 $as_echo "done" >&6; }
17262 if test -n "$EXEEXT"; then
17264 am__EXEEXT_FALSE
='#'
17266 am__EXEEXT_TRUE
='#'
17270 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17271 as_fn_error $?
"conditional \"AMDEP\" was never defined.
17272 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17274 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17275 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
17276 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17278 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17279 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
17280 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17282 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17283 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
17284 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17286 if test -z "${FOUND_GDBM_TRUE}" && test -z "${FOUND_GDBM_FALSE}"; then
17287 as_fn_error $?
"conditional \"FOUND_GDBM\" was never defined.
17288 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17291 : "${CONFIG_STATUS=./config.status}"
17293 ac_clean_files_save
=$ac_clean_files
17294 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17296 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17298 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17300 # Generated by $as_me.
17301 # Run this file to recreate the current configuration.
17302 # Compiler output produced by configure, useful for debugging
17303 # configure, is in config.log if it exists.
17306 ac_cs_recheck=false
17309 SHELL=\${CONFIG_SHELL-$SHELL}
17312 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17313 ## -------------------- ##
17314 ## M4sh Initialization. ##
17315 ## -------------------- ##
17317 # Be more Bourne compatible
17318 DUALCASE
=1; export DUALCASE
# for MKS sh
17319 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17322 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17323 # is contrary to our usage. Disable this feature.
17324 alias -g '${1+"$@"}'='"$@"'
17325 setopt NO_GLOB_SUBST
17327 case `(set -o) 2>/dev/null` in #(
17339 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17340 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17341 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17342 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17343 # Prefer a ksh shell builtin over an external printf program on Solaris,
17344 # but without wasting forks for bash or zsh.
17345 if test -z "$BASH_VERSION$ZSH_VERSION" \
17346 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17347 as_echo='print
-r --'
17348 as_echo_n='print
-rn --'
17349 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17350 as_echo='printf %s
\n'
17351 as_echo_n='printf %s
'
17353 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17354 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17355 as_echo_n='/usr
/ucb
/echo -n'
17357 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17358 as_echo_n_body='eval
17362 expr "X$arg" : "X\\(.*\\)$as_nl";
17363 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17365 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17367 export as_echo_n_body
17368 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17370 export as_echo_body
17371 as_echo='sh
-c $as_echo_body as_echo
'
17374 # The user is always right.
17375 if test "${PATH_SEPARATOR+set}" != set; then
17377 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17378 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17385 # We need space, tab and new line, in precisely that order. Quoting is
17386 # there to prevent editors from complaining about space-tab.
17387 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17388 # splitting by setting IFS to empty value.)
17391 # Find who we are. Look in the path if we contain no directory separator.
17394 *[\\/]* ) as_myself=$0 ;;
17395 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17396 for as_dir in $PATH
17399 test -z "$as_dir" && as_dir=.
17400 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17406 # We did not find ourselves, most probably we were run as `sh COMMAND'
17407 # in which case we are not to be found in the path.
17408 if test "x$as_myself" = x
; then
17411 if test ! -f "$as_myself"; then
17412 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17416 # Unset variables that we do not need and which cause bugs (e.g. in
17417 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17418 # suppresses any "Segmentation fault" message there. '((' could
17419 # trigger a bug in pdksh 5.2.14.
17420 for as_var
in BASH_ENV ENV MAIL MAILPATH
17421 do eval test x\
${$as_var+set} = xset \
17422 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17435 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17438 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17439 # ----------------------------------------
17440 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17441 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17442 # script with STATUS, using 1 if that was 0.
17445 as_status
=$1; test $as_status -eq 0 && as_status
=1
17447 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17448 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17450 $as_echo "$as_me: error: $2" >&2
17451 as_fn_exit
$as_status
17455 # as_fn_set_status STATUS
17456 # -----------------------
17457 # Set $? to STATUS, without forking.
17458 as_fn_set_status
()
17461 } # as_fn_set_status
17463 # as_fn_exit STATUS
17464 # -----------------
17465 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17469 as_fn_set_status
$1
17475 # Portably unset VAR.
17478 { eval $1=; unset $1;}
17480 as_unset
=as_fn_unset
17481 # as_fn_append VAR VALUE
17482 # ----------------------
17483 # Append the text in VALUE to the end of the definition contained in VAR. Take
17484 # advantage of any shell optimizations that allow amortized linear growth over
17485 # repeated appends, instead of the typical quadratic growth present in naive
17487 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17488 eval 'as_fn_append ()
17499 # as_fn_arith ARG...
17500 # ------------------
17501 # Perform arithmetic evaluation on the ARGs, and store the result in the
17502 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17503 # must be portable across $(()) and expr.
17504 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17505 eval 'as_fn_arith ()
17512 as_val
=`expr "$@" || test $? -eq 1`
17517 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17518 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17524 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17525 as_basename
=basename
17530 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17536 as_me
=`$as_basename -- "$0" ||
17537 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17538 X"$0" : 'X\(//\)$' \| \
17539 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17541 sed '/^.*\/\([^/][^/]*\)\/*$/{
17555 # Avoid depending upon Character Ranges.
17556 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17557 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17558 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17559 as_cr_digits
='0123456789'
17560 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17562 ECHO_C
= ECHO_N
= ECHO_T
=
17563 case `echo -n x` in #(((((
17565 case `echo 'xy\c'` in
17566 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17568 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17575 rm -f conf$$ conf$$.exe conf$$.
file
17576 if test -d conf$$.dir
; then
17577 rm -f conf$$.dir
/conf$$.
file
17580 mkdir conf$$.dir
2>/dev
/null
17582 if (echo >conf$$.
file) 2>/dev
/null
; then
17583 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17585 # ... but there are two gotchas:
17586 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17587 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17588 # In both cases, we have to default to `cp -pR'.
17589 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17591 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17599 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17600 rmdir conf$$.dir
2>/dev
/null
17605 # Create "$as_dir" as a directory, including parents if necessary.
17610 -*) as_dir
=.
/$as_dir;;
17612 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17616 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17617 *) as_qdir
=$as_dir;;
17619 as_dirs
="'$as_qdir' $as_dirs"
17620 as_dir
=`$as_dirname -- "$as_dir" ||
17621 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17622 X"$as_dir" : 'X\(//\)[^/]' \| \
17623 X"$as_dir" : 'X\(//\)$' \| \
17624 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17625 $as_echo X"$as_dir" |
17626 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17630 /^X\(\/\/\)[^/].*/{
17643 test -d "$as_dir" && break
17645 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17646 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17650 if mkdir
-p .
2>/dev
/null
; then
17651 as_mkdir_p
='mkdir -p "$as_dir"'
17653 test -d .
/-p && rmdir .
/-p
17658 # as_fn_executable_p FILE
17659 # -----------------------
17660 # Test if FILE is an executable regular file.
17661 as_fn_executable_p
()
17663 test -f "$1" && test -x "$1"
17664 } # as_fn_executable_p
17665 as_test_x
='test -x'
17666 as_executable_p
=as_fn_executable_p
17668 # Sed expression to map a string onto a valid CPP name.
17669 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17671 # Sed expression to map a string onto a valid variable name.
17672 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17676 ## ----------------------------------- ##
17677 ## Main body of $CONFIG_STATUS script. ##
17678 ## ----------------------------------- ##
17680 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17682 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17683 # Save the log message, to keep $0 and so on meaningful, and to
17684 # report actual input values of CONFIG_FILES etc. instead of their
17685 # values after options handling.
17687 This file was extended by gdbmobj $as_me 0.10, which was
17688 generated by GNU Autoconf 2.69. Invocation command line was
17690 CONFIG_FILES = $CONFIG_FILES
17691 CONFIG_HEADERS = $CONFIG_HEADERS
17692 CONFIG_LINKS = $CONFIG_LINKS
17693 CONFIG_COMMANDS = $CONFIG_COMMANDS
17696 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17701 case $ac_config_files in *"
17702 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17705 case $ac_config_headers in *"
17706 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17710 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17711 # Files that config.status was made for.
17712 config_files="$ac_config_files"
17713 config_headers="$ac_config_headers"
17714 config_commands="$ac_config_commands"
17718 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17720 \`$as_me' instantiates files and other configuration actions
17721 from templates according to the current configuration. Unless the files
17722 and actions are specified as TAGs, all are instantiated by default.
17724 Usage: $0 [OPTION]... [TAG]...
17726 -h, --help print this help, then exit
17727 -V, --version print version number and configuration settings, then exit
17728 --config print configuration, then exit
17729 -q, --quiet, --silent
17730 do not print progress messages
17731 -d, --debug don't remove temporary files
17732 --recheck update $as_me by reconfiguring in the same conditions
17733 --file=FILE[:TEMPLATE]
17734 instantiate the configuration file FILE
17735 --header=FILE[:TEMPLATE]
17736 instantiate the configuration header FILE
17738 Configuration files:
17741 Configuration headers:
17744 Configuration commands:
17747 Report bugs to <courier-users@lists.sourceforge.net>."
17750 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17751 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17753 gdbmobj config.status 0.10
17754 configured by $0, generated by GNU Autoconf 2.69,
17755 with options \\"\$ac_cs_config\\"
17757 Copyright (C) 2012 Free Software Foundation, Inc.
17758 This config.status script is free software; the Free Software Foundation
17759 gives unlimited permission to copy, distribute and modify it."
17766 test -n "\$AWK" || AWK=awk
17769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17770 # The default lists apply if the user does not specify any file.
17776 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17777 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17781 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17793 # Handling of the options.
17794 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17796 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17797 $as_echo "$ac_cs_version"; exit ;;
17798 --config |
--confi |
--conf |
--con |
--co |
--c )
17799 $as_echo "$ac_cs_config"; exit ;;
17800 --debug |
--debu |
--deb |
--de |
--d |
-d )
17802 --file |
--fil |
--fi |
--f )
17805 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17806 '') as_fn_error $?
"missing file argument" ;;
17808 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17809 ac_need_defaults
=false
;;
17810 --header |
--heade |
--head |
--hea )
17813 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17815 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17816 ac_need_defaults
=false
;;
17818 # Conflict between --help and --header
17819 as_fn_error $?
"ambiguous option: \`$1'
17820 Try \`$0 --help' for more information.";;
17821 --help |
--hel |
-h )
17822 $as_echo "$ac_cs_usage"; exit ;;
17823 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17824 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17827 # This is an error.
17828 -*) as_fn_error $?
"unrecognized option: \`$1'
17829 Try \`$0 --help' for more information." ;;
17831 *) as_fn_append ac_config_targets
" $1"
17832 ac_need_defaults
=false
;;
17838 ac_configure_extra_args
=
17840 if $ac_cs_silent; then
17842 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17846 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17847 if \$ac_cs_recheck; then
17848 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17850 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17851 CONFIG_SHELL='$SHELL'
17852 export CONFIG_SHELL
17857 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17861 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17862 ## Running $as_me. ##
17868 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17872 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17875 # The HP-UX ksh and POSIX shell print the target directory to stdout
17876 # if CDPATH is set.
17877 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17879 sed_quote_subst='$sed_quote_subst'
17880 double_quote_subst='$double_quote_subst'
17881 delay_variable_subst='$delay_variable_subst'
17882 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17883 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17884 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17885 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17886 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17887 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17888 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
17889 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17890 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17891 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17892 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17893 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17894 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17895 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17896 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17897 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17898 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17899 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17900 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17901 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17902 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17903 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17904 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17905 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17906 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17907 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17908 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17909 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17910 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17911 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17912 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17913 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17914 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17915 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17916 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17917 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17918 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17919 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17920 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17921 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17922 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17923 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17924 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17925 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17926 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17927 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17928 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17929 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17930 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17931 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17932 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17933 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17934 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17935 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17936 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17937 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17938 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
17939 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17940 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"`'
17941 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
17942 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17943 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17944 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
17945 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17946 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17947 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17948 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17949 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17950 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17951 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17952 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17953 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17954 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17955 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17956 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17957 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17958 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17959 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17960 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17961 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17962 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17963 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17964 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17965 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17966 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17967 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17968 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17969 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17970 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17971 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17972 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17973 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17974 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17975 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17976 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17977 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17978 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17979 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17980 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17981 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17982 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17983 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17984 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17985 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17986 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17987 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17988 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17989 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17990 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17991 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17992 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17993 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17994 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17995 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17996 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17997 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17998 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17999 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18000 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18001 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18002 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18003 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18004 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18005 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18006 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18007 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18008 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18009 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
18010 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
18011 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18012 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18013 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18014 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18015 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18016 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18017 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
18018 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
18019 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
18020 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
18021 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
18022 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
18023 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
18024 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
18025 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18026 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18027 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18028 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18029 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
18030 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18031 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18032 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18033 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18034 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18035 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
18036 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18037 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18038 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
18039 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18040 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18041 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18042 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18043 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18044 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18045 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
18046 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18047 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18048 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18049 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
18050 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
18051 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
18052 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
18053 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
18054 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18055 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18056 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18057 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18058 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18059 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18060 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18061 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18062 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18063 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18064 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18065 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18066 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18067 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18068 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18069 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18070 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18073 LTCFLAGS='$LTCFLAGS'
18074 compiler='$compiler_DEFAULT'
18076 # A function that is used when there is no print builtin or printf.
18077 func_fallback_echo ()
18079 eval 'cat <<_LTECHO_EOF
18084 # Quote evaled strings.
18099 deplibs_check_method \
18104 sharedlib_from_linklib_cmd \
18107 archiver_list_spec \
18113 lt_cv_sys_global_symbol_pipe \
18114 lt_cv_sys_global_symbol_to_cdecl \
18115 lt_cv_sys_global_symbol_to_import \
18116 lt_cv_sys_global_symbol_to_c_name_address \
18117 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18118 lt_cv_nm_interface \
18119 nm_file_list_spec \
18120 lt_cv_truncate_bin \
18121 lt_prog_compiler_no_builtin_flag \
18122 lt_prog_compiler_pic \
18123 lt_prog_compiler_wl \
18124 lt_prog_compiler_static \
18125 lt_cv_prog_compiler_c_o \
18134 export_dynamic_flag_spec \
18135 whole_archive_flag_spec \
18136 compiler_needs_object \
18138 allow_undefined_flag \
18139 no_undefined_flag \
18140 hardcode_libdir_flag_spec \
18141 hardcode_libdir_separator \
18145 variables_saved_for_relink \
18147 library_names_spec \
18149 install_override_mode \
18153 compiler_lib_search_dirs \
18158 compiler_lib_search_path \
18162 lt_prog_compiler_no_builtin_flag_CXX \
18163 lt_prog_compiler_pic_CXX \
18164 lt_prog_compiler_wl_CXX \
18165 lt_prog_compiler_static_CXX \
18166 lt_cv_prog_compiler_c_o_CXX \
18167 export_dynamic_flag_spec_CXX \
18168 whole_archive_flag_spec_CXX \
18169 compiler_needs_object_CXX \
18171 allow_undefined_flag_CXX \
18172 no_undefined_flag_CXX \
18173 hardcode_libdir_flag_spec_CXX \
18174 hardcode_libdir_separator_CXX \
18175 exclude_expsyms_CXX \
18176 include_expsyms_CXX \
18177 file_list_spec_CXX \
18178 compiler_lib_search_dirs_CXX \
18179 predep_objects_CXX \
18180 postdep_objects_CXX \
18183 compiler_lib_search_path_CXX; do
18184 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18185 *[\\\\\\\`\\"\\\$]*)
18186 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18189 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18194 # Double-quote double-evaled strings.
18195 for var in reload_cmds \
18196 old_postinstall_cmds \
18197 old_postuninstall_cmds \
18199 extract_expsyms_cmds \
18200 old_archive_from_new_cmds \
18201 old_archive_from_expsyms_cmds \
18203 archive_expsym_cmds \
18205 module_expsym_cmds \
18206 export_symbols_cmds \
18210 postuninstall_cmds \
18212 sys_lib_search_path_spec \
18213 configure_time_dlsearch_path \
18214 configure_time_lt_sys_library_path \
18216 old_archive_cmds_CXX \
18217 old_archive_from_new_cmds_CXX \
18218 old_archive_from_expsyms_cmds_CXX \
18220 archive_expsym_cmds_CXX \
18222 module_expsym_cmds_CXX \
18223 export_symbols_cmds_CXX \
18225 postlink_cmds_CXX; do
18226 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18227 *[\\\\\\\`\\"\\\$]*)
18228 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18231 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18236 ac_aux_dir='$ac_aux_dir'
18238 # See if we are running on zsh, and set the options that allow our
18239 # commands through without removal of \ escapes INIT.
18240 if test -n "\${ZSH_VERSION+set}"; then
18241 setopt NO_GLOB_SUBST
18257 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18259 # Handling of arguments.
18260 for ac_config_target
in $ac_config_targets
18262 case $ac_config_target in
18263 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
18264 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
18265 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
18266 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
18268 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18273 # If the user did not use the arguments to specify the items to instantiate,
18274 # then the envvar interface is used. Set only those that are not.
18275 # We use the long form for the default assignment because of an extremely
18276 # bizarre bug on SunOS 4.1.3.
18277 if $ac_need_defaults; then
18278 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18279 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18280 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18283 # Have a temporary directory for convenience. Make it in the build tree
18284 # simply because there is no reason against having it here, and in addition,
18285 # creating and moving files from /tmp can sometimes cause problems.
18286 # Hook for its removal unless debugging.
18287 # Note that there is a small window in which the directory will not be cleaned:
18288 # after its creation but before its name has been assigned to `$tmp'.
18292 trap 'exit_status=$?
18293 : "${ac_tmp:=$tmp}"
18294 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18296 trap 'as_fn_exit 1' 1 2 13 15
18298 # Create a (secure) tmp directory for tmp files.
18301 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18305 tmp
=.
/conf$$
-$RANDOM
18306 (umask 077 && mkdir
"$tmp")
18307 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18310 # Set up the scripts for CONFIG_FILES section.
18311 # No need to generate them if there are no CONFIG_FILES.
18312 # This happens for instance with `./config.status config.h'.
18313 if test -n "$CONFIG_FILES"; then
18316 ac_cr
=`echo X | tr X '\015'`
18317 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18318 # But we know of no other shell where ac_cr would be empty at this
18319 # point, so we can use a bashism as a fallback.
18320 if test "x$ac_cr" = x
; then
18321 eval ac_cr
=\$
\'\\r
\'
18323 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18324 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18327 ac_cs_awk_cr
=$ac_cr
18330 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18335 echo "cat >conf$$subs.awk <<_ACEOF" &&
18336 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18338 } >conf$$subs.sh ||
18339 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18340 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18342 for ac_last_try in false false false false false :; do
18343 . ./conf$$subs.sh ||
18344 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18346 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18347 if test $ac_delim_n = $ac_delim_num; then
18349 elif $ac_last_try; then
18350 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18352 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18355 rm -f conf$$subs.sh
18357 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18358 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18362 s/^/S["/; s
/!.
*/"]=/
18372 s/\(.\{148\}\)..*/\1/
18374 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18379 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18386 s/\(.\{148\}\)..*/\1/
18388 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18392 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18397 ' <conf$$subs.awk | sed '
18402 ' >>$CONFIG_STATUS || ac_write_fail=1
18403 rm -f conf$$subs.awk
18404 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18406 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18407 for (key in S) S_is_set[key] = 1
18413 nfields = split(line, field, "@
")
18415 len = length(field[1])
18416 for (i = 2; i < nfields; i++) {
18418 keylen = length(key)
18419 if (S_is_set[key]) {
18421 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18422 len += length(value) + length(field[++i])
18433 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18434 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18435 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18438 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18439 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18442 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18443 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18444 # trailing colons and then remove the whole line if VPATH becomes empty
18445 # (actually we leave an empty line to preserve line numbers).
18446 if test "x
$srcdir" = x.; then
18447 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18465 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18466 fi # test -n "$CONFIG_FILES"
18468 # Set up the scripts for CONFIG_HEADERS section.
18469 # No need to generate them if there are no CONFIG_HEADERS.
18470 # This happens for instance with `./config.status Makefile'.
18471 if test -n "$CONFIG_HEADERS"; then
18472 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18476 # Transform confdefs.h into an awk script `defines.awk', embedded as
18477 # here-document in config.status, that substitutes the proper values into
18478 # config.h.in to produce config.h.
18480 # Create a delimiter string that does not exist in confdefs.h, to ease
18481 # handling of long lines.
18483 for ac_last_try in false false :; do
18484 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18485 if test -z "$ac_tt"; then
18487 elif $ac_last_try; then
18488 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18490 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18494 # For the awk script, D is an array of macro values keyed by name,
18495 # likewise P contains macro parameters if any. Preserve backslash
18496 # newline sequences.
18498 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18500 s/.\{148\}/&'"$ac_delim"'/g
18503 s/^[ ]*#[ ]*define[ ][ ]*/ /
18510 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18512 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18516 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18517 D["\
1"]=" \
3\\\\\\n
"\\/p
18519 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18524 s/.\{148\}/&'"$ac_delim"'/g
18529 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18532 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18534 ' <confdefs.h | sed '
18535 s/'"$ac_delim"'/"\\\
18536 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18538 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18539 for (key in D) D_is_set[key] = 1
18542 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18544 split(line, arg, " ")
18545 if (arg[1] == "#") {
18549 defundef
= substr
(arg
[1], 2)
18552 split(mac1
, mac2
, "(") #)
18554 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18555 if (D_is_set
[macro
]) {
18556 # Preserve the white space surrounding the "#".
18557 print prefix
"define", macro P
[macro
] D
[macro
]
18560 # Replace #undef with comments. This is necessary, for example,
18561 # in the case of _POSIX_SOURCE, which is predefined and required
18562 # on some systems where configure will not decide to define it.
18563 if (defundef
== "undef") {
18564 print
"/*", prefix defundef
, macro
, "*/"
18572 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18573 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18574 fi # test -n "$CONFIG_HEADERS"
18577 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18582 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18584 case $ac_mode$ac_tag in
18586 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18587 :[FH
]-) ac_tag
=-:-;;
18588 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18605 -) ac_f
="$ac_tmp/stdin";;
18606 *) # Look for the file first in the build tree, then in the source tree
18607 # (if the path is not absolute). The absolute path cannot be DOS-style,
18608 # because $ac_f cannot contain `:'.
18612 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18614 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18616 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18617 as_fn_append ac_file_inputs
" '$ac_f'"
18620 # Let's still pretend it is `configure' which instantiates (i.e., don't
18621 # use $as_me), people would be surprised to read:
18622 # /* config.h. Generated by config.status. */
18623 configure_input
='Generated from '`
18624 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18626 if test x
"$ac_file" != x-
; then
18627 configure_input
="$ac_file. $configure_input"
18628 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18629 $as_echo "$as_me: creating $ac_file" >&6;}
18631 # Neutralize special characters interpreted by sed in replacement strings.
18632 case $configure_input in #(
18633 *\
&* |
*\|
* |
*\\* )
18634 ac_sed_conf_input
=`$as_echo "$configure_input" |
18635 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18636 *) ac_sed_conf_input
=$configure_input;;
18640 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18641 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18646 ac_dir
=`$as_dirname -- "$ac_file" ||
18647 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18648 X"$ac_file" : 'X\(//\)[^/]' \| \
18649 X"$ac_file" : 'X\(//\)$' \| \
18650 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18651 $as_echo X"$ac_file" |
18652 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18656 /^X\(\/\/\)[^/].*/{
18669 as_dir
="$ac_dir"; as_fn_mkdir_p
18673 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18675 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18676 # A ".." for each directory in $ac_dir_suffix.
18677 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18678 case $ac_top_builddir_sub in
18679 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18680 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18683 ac_abs_top_builddir
=$ac_pwd
18684 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18685 # for backward compatibility:
18686 ac_top_builddir
=$ac_top_build_prefix
18689 .
) # We are building in place.
18691 ac_top_srcdir
=$ac_top_builddir_sub
18692 ac_abs_top_srcdir
=$ac_pwd ;;
18693 [\\/]* | ?
:[\\/]* ) # Absolute name.
18694 ac_srcdir
=$srcdir$ac_dir_suffix;
18695 ac_top_srcdir
=$srcdir
18696 ac_abs_top_srcdir
=$srcdir ;;
18697 *) # Relative name.
18698 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18699 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18700 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18702 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18712 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18713 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
18715 ac_MKDIR_P
=$MKDIR_P
18717 [\\/$
]* | ?
:[\\/]* ) ;;
18718 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
18722 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18723 # If the template does not know about datarootdir, expand it.
18724 # FIXME: This hack should be removed a few years after 2.60.
18725 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18736 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18737 *datarootdir
*) ac_datarootdir_seen
=yes;;
18738 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18740 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18742 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18743 ac_datarootdir_hack='
18744 s&@datadir@&$datadir&g
18745 s&@docdir@&$docdir&g
18746 s&@infodir@&$infodir&g
18747 s&@localedir@&$localedir&g
18748 s&@mandir@&$mandir&g
18749 s&\\\${datarootdir}&$datarootdir&g' ;;
18753 # Neutralize VPATH when `$srcdir' = `.'.
18754 # Shell code in configure.ac might set extrasub.
18755 # FIXME: do we really want to maintain this feature?
18756 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18757 ac_sed_extra="$ac_vpsub
18760 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18762 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18763 s|@configure_input@|
$ac_sed_conf_input|
;t t
18764 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18765 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18766 s
&@srcdir@
&$ac_srcdir&;t t
18767 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18768 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18769 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18770 s
&@builddir@
&$ac_builddir&;t t
18771 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18772 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18773 s
&@INSTALL@
&$ac_INSTALL&;t t
18774 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18775 $ac_datarootdir_hack
18777 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18778 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18780 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18781 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18782 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18783 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18785 which seems to be undefined. Please make sure it is defined" >&5
18786 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18787 which seems to be undefined. Please make sure it is defined" >&2;}
18789 rm -f "$ac_tmp/stdin"
18791 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18792 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18794 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18800 if test x"$ac_file" != x-; then
18802 $as_echo "/* $configure_input */" \
18803 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18804 } >"$ac_tmp/config.h" \
18805 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18806 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18807 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18808 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18811 mv "$ac_tmp/config.h" "$ac_file" \
18812 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18815 $as_echo "/* $configure_input */" \
18816 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18817 || as_fn_error $? "could not create -" "$LINENO" 5
18819 # Compute "$ac_file"'s index
in $config_headers.
18822 for _am_header
in $config_headers :; do
18823 case $_am_header in
18824 $_am_arg |
$_am_arg:* )
18827 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18830 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18831 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18832 X"$_am_arg" : 'X\(//\)[^/]' \| \
18833 X"$_am_arg" : 'X\(//\)$' \| \
18834 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18835 $as_echo X"$_am_arg" |
18836 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18840 /^X\(\/\/\)[^/].*/{
18852 s/.*/./; q'`/stamp-h
$_am_stamp_count
18855 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18856 $as_echo "$as_me: executing $ac_file commands" >&6;}
18861 case $ac_file$ac_mode in
18862 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
18863 # Older Autoconf quotes --file arguments for eval, but not when files
18864 # are listed without --file. Let's play safe and only enable the eval
18865 # if we detect the quoting.
18866 case $CONFIG_FILES in
18867 *\'*) eval set x
"$CONFIG_FILES" ;;
18868 *) set x
$CONFIG_FILES ;;
18873 # Strip MF so we end up with the name of the file.
18874 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18875 # Check whether this is an Automake generated Makefile or not.
18876 # We used to match only the files named 'Makefile.in', but
18877 # some people rename them; so instead we look at the file content.
18878 # Grep'ing the first line is not enough: some people post-process
18879 # each Makefile.in and add a new line on top of each file to say so.
18880 # Grep'ing the whole file is not good either: AIX grep has a line
18881 # limit of 2048, but all sed's we know have understand at least 4000.
18882 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
18883 dirpart
=`$as_dirname -- "$mf" ||
18884 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18885 X"$mf" : 'X\(//\)[^/]' \| \
18886 X"$mf" : 'X\(//\)$' \| \
18887 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18889 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18893 /^X\(\/\/\)[^/].*/{
18909 # Extract the definition of DEPDIR, am__include, and am__quote
18910 # from the Makefile without running 'make'.
18911 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18912 test -z "$DEPDIR" && continue
18913 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18914 test -z "$am__include" && continue
18915 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18916 # Find all dependency output files, they are included files with
18917 # $(DEPDIR) in their names. We invoke sed twice because it is the
18918 # simplest approach to changing $(DEPDIR) to its actual value in the
18920 for file in `sed -n "
18921 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18922 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18923 # Make sure the directory exists.
18924 test -f "$dirpart/$file" && continue
18925 fdir
=`$as_dirname -- "$file" ||
18926 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18927 X"$file" : 'X\(//\)[^/]' \| \
18928 X"$file" : 'X\(//\)$' \| \
18929 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18930 $as_echo X"$file" |
18931 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18935 /^X\(\/\/\)[^/].*/{
18948 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
18949 # echo "creating $dirpart/$file"
18950 echo '# dummy' > "$dirpart/$file"
18957 # See if we are running on zsh, and set the options that allow our
18958 # commands through without removal of \ escapes.
18959 if test -n "${ZSH_VERSION+set}"; then
18960 setopt NO_GLOB_SUBST
18964 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18967 cat <<_LT_EOF >> "$cfgfile"
18969 # Generated automatically by $as_me ($PACKAGE) $VERSION
18970 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18971 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18973 # Provide generalized library-building support services.
18974 # Written by Gordon Matzigkeit, 1996
18976 # Copyright (C) 2014 Free Software Foundation, Inc.
18977 # This is free software; see the source for copying conditions. There is NO
18978 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18980 # GNU Libtool is free software; you can redistribute it and/or modify
18981 # it under the terms of the GNU General Public License as published by
18982 # the Free Software Foundation; either version 2 of of the License, or
18983 # (at your option) any later version.
18985 # As a special exception to the GNU General Public License, if you
18986 # distribute this file as part of a program or library that is built
18987 # using GNU Libtool, you may include this file under the same
18988 # distribution terms that you use for the rest of that program.
18990 # GNU Libtool is distributed in the hope that it will be useful, but
18991 # WITHOUT ANY WARRANTY; without even the implied warranty of
18992 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18993 # GNU General Public License for more details.
18995 # You should have received a copy of the GNU General Public License
18996 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18999 # The names of the tagged configurations supported by this script.
19000 available_tags='CXX '
19002 # Configured defaults for sys_lib_dlsearch_path munging.
19003 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
19005 # ### BEGIN LIBTOOL CONFIG
19007 # Which release of libtool.m4 was used?
19008 macro_version=$macro_version
19009 macro_revision=$macro_revision
19011 # Whether or not to build shared libraries.
19012 build_libtool_libs=$enable_shared
19014 # Whether or not to build static libraries.
19015 build_old_libs=$enable_static
19017 # What type of objects to build.
19020 # Whether or not to optimize for fast installation.
19021 fast_install=$enable_fast_install
19023 # Shared archive member basename,for filename based shared library versioning on AIX.
19024 shared_archive_member_spec=$shared_archive_member_spec
19026 # Shell to use when invoking shell scripts.
19029 # An echo program that protects backslashes.
19032 # The PATH separator for the build system.
19033 PATH_SEPARATOR=$lt_PATH_SEPARATOR
19036 host_alias=$host_alias
19040 # The build system.
19041 build_alias=$build_alias
19045 # A sed program that does not truncate output.
19048 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19049 Xsed="\$SED -e 1s/^X//"
19051 # A grep program that handles long lines.
19057 # A literal string matcher.
19060 # A BSD- or MS-compatible name lister.
19063 # Whether we need soft or hard links.
19066 # What is the maximum length of a command?
19067 max_cmd_len=$max_cmd_len
19069 # Object file suffix (normally "o").
19072 # Executable file suffix (normally "").
19075 # whether the shell understands "unset".
19078 # turn spaces into newlines.
19081 # turn newlines into spaces.
19084 # convert \$build file names to \$host format.
19085 to_host_file_cmd=$lt_cv_to_host_file_cmd
19087 # convert \$build files to toolchain format.
19088 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19090 # An object symbol dumper.
19091 OBJDUMP=$lt_OBJDUMP
19093 # Method to check whether dependent libraries are shared objects.
19094 deplibs_check_method=$lt_deplibs_check_method
19096 # Command to use when deplibs_check_method = "file_magic".
19097 file_magic_cmd=$lt_file_magic_cmd
19099 # How to find potential files when deplibs_check_method = "file_magic".
19100 file_magic_glob=$lt_file_magic_glob
19102 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19103 want_nocaseglob=$lt_want_nocaseglob
19105 # DLL creation program.
19106 DLLTOOL=$lt_DLLTOOL
19108 # Command to associate shared and link libraries.
19109 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19114 # Flags to create an archive.
19115 AR_FLAGS=$lt_AR_FLAGS
19117 # How to feed a file listing to the archiver.
19118 archiver_list_spec=$lt_archiver_list_spec
19120 # A symbol stripping program.
19123 # Commands used to install an old-style archive.
19125 old_postinstall_cmds=$lt_old_postinstall_cmds
19126 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19128 # Whether to use a lock for old archive extraction.
19129 lock_old_archive_extraction=$lock_old_archive_extraction
19134 # LTCC compiler flags.
19135 LTCFLAGS=$lt_CFLAGS
19137 # Take the output of nm and produce a listing of raw symbols and C names.
19138 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19140 # Transform the output of nm in a proper C declaration.
19141 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19143 # Transform the output of nm into a list of symbols to manually relocate.
19144 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
19146 # Transform the output of nm in a C name address pair.
19147 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19149 # Transform the output of nm in a C name address pair when lib prefix is needed.
19150 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19152 # The name lister interface.
19153 nm_interface=$lt_lt_cv_nm_interface
19155 # Specify filename containing input files for \$NM.
19156 nm_file_list_spec=$lt_nm_file_list_spec
19158 # The root where to search for dependent libraries,and where our libraries should be installed.
19159 lt_sysroot=$lt_sysroot
19161 # Command to truncate a binary pipe.
19162 lt_truncate_bin=$lt_lt_cv_truncate_bin
19164 # The name of the directory that contains temporary libtool files.
19167 # Used to examine libraries when file_magic_cmd begins with "file".
19168 MAGIC_CMD=$MAGIC_CMD
19170 # Must we lock files when doing compilation?
19171 need_locks=$lt_need_locks
19174 MANIFEST_TOOL=$lt_MANIFEST_TOOL
19176 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19177 DSYMUTIL=$lt_DSYMUTIL
19179 # Tool to change global to local symbols on Mac OS X.
19182 # Tool to manipulate fat objects and archives on Mac OS X.
19185 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19188 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19189 OTOOL64=$lt_OTOOL64
19191 # Old archive suffix (normally "a").
19194 # Shared library suffix (normally ".so").
19195 shrext_cmds=$lt_shrext_cmds
19197 # The commands to extract the exported symbol list from a shared archive.
19198 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19200 # Variables whose values should be saved in libtool wrapper scripts and
19201 # restored at link time.
19202 variables_saved_for_relink=$lt_variables_saved_for_relink
19204 # Do we need the "lib" prefix for modules?
19205 need_lib_prefix=$need_lib_prefix
19207 # Do we need a version for libraries?
19208 need_version=$need_version
19210 # Library versioning type.
19211 version_type=$version_type
19213 # Shared library runtime path variable.
19214 runpath_var=$runpath_var
19216 # Shared library path variable.
19217 shlibpath_var=$shlibpath_var
19219 # Is shlibpath searched before the hard-coded library search path?
19220 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19222 # Format of library name prefix.
19223 libname_spec=$lt_libname_spec
19225 # List of archive names. First name is the real one, the rest are links.
19226 # The last name is the one that the linker finds with -lNAME
19227 library_names_spec=$lt_library_names_spec
19229 # The coded name of the library, if different from the real name.
19230 soname_spec=$lt_soname_spec
19232 # Permission mode override for installation of shared libraries.
19233 install_override_mode=$lt_install_override_mode
19235 # Command to use after installation of a shared archive.
19236 postinstall_cmds=$lt_postinstall_cmds
19238 # Command to use after uninstallation of a shared archive.
19239 postuninstall_cmds=$lt_postuninstall_cmds
19241 # Commands used to finish a libtool library installation in a directory.
19242 finish_cmds=$lt_finish_cmds
19244 # As "finish_cmds", except a single script fragment to be evaled but
19246 finish_eval=$lt_finish_eval
19248 # Whether we should hardcode library paths into libraries.
19249 hardcode_into_libs=$hardcode_into_libs
19251 # Compile-time system search path for libraries.
19252 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19254 # Detected run-time system search path for libraries.
19255 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
19257 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
19258 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
19260 # Whether dlopen is supported.
19261 dlopen_support=$enable_dlopen
19263 # Whether dlopen of programs is supported.
19264 dlopen_self=$enable_dlopen_self
19266 # Whether dlopen of statically linked programs is supported.
19267 dlopen_self_static=$enable_dlopen_self_static
19269 # Commands to strip libraries.
19270 old_striplib=$lt_old_striplib
19271 striplib=$lt_striplib
19274 # The linker used to build libraries.
19277 # How to create reloadable object files.
19278 reload_flag=$lt_reload_flag
19279 reload_cmds=$lt_reload_cmds
19281 # Commands used to build an old-style archive.
19282 old_archive_cmds=$lt_old_archive_cmds
19284 # A language specific compiler.
19287 # Is the compiler the GNU compiler?
19290 # Compiler flag to turn off builtin functions.
19291 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19293 # Additional compiler flags for building library objects.
19294 pic_flag=$lt_lt_prog_compiler_pic
19296 # How to pass a linker flag through the compiler.
19297 wl=$lt_lt_prog_compiler_wl
19299 # Compiler flag to prevent dynamic linking.
19300 link_static_flag=$lt_lt_prog_compiler_static
19302 # Does compiler simultaneously support -c and -o options?
19303 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19305 # Whether or not to add -lc for building shared libraries.
19306 build_libtool_need_lc=$archive_cmds_need_lc
19308 # Whether or not to disallow shared libs when runtime libs are static.
19309 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19311 # Compiler flag to allow reflexive dlopens.
19312 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19314 # Compiler flag to generate shared objects directly from archives.
19315 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19317 # Whether the compiler copes with passing no objects directly.
19318 compiler_needs_object=$lt_compiler_needs_object
19320 # Create an old-style archive from a shared archive.
19321 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19323 # Create a temporary old-style archive to link instead of a shared archive.
19324 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19326 # Commands used to build a shared archive.
19327 archive_cmds=$lt_archive_cmds
19328 archive_expsym_cmds=$lt_archive_expsym_cmds
19330 # Commands used to build a loadable module if different from building
19331 # a shared archive.
19332 module_cmds=$lt_module_cmds
19333 module_expsym_cmds=$lt_module_expsym_cmds
19335 # Whether we are building with GNU ld or not.
19336 with_gnu_ld=$lt_with_gnu_ld
19338 # Flag that allows shared libraries with undefined symbols to be built.
19339 allow_undefined_flag=$lt_allow_undefined_flag
19341 # Flag that enforces no undefined symbols.
19342 no_undefined_flag=$lt_no_undefined_flag
19344 # Flag to hardcode \$libdir into a binary during linking.
19345 # This must work even if \$libdir does not exist
19346 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19348 # Whether we need a single "-rpath" flag with a separated argument.
19349 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19351 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19352 # DIR into the resulting binary.
19353 hardcode_direct=$hardcode_direct
19355 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19356 # DIR into the resulting binary and the resulting library dependency is
19357 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
19358 # library is relocated.
19359 hardcode_direct_absolute=$hardcode_direct_absolute
19361 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19362 # into the resulting binary.
19363 hardcode_minus_L=$hardcode_minus_L
19365 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19366 # into the resulting binary.
19367 hardcode_shlibpath_var=$hardcode_shlibpath_var
19369 # Set to "yes" if building a shared library automatically hardcodes DIR
19370 # into the library and all subsequent libraries and executables linked
19372 hardcode_automatic=$hardcode_automatic
19374 # Set to yes if linker adds runtime paths of dependent libraries
19375 # to runtime path list.
19376 inherit_rpath=$inherit_rpath
19378 # Whether libtool must link a program against all its dependency libraries.
19379 link_all_deplibs=$link_all_deplibs
19381 # Set to "yes" if exported symbols are required.
19382 always_export_symbols=$always_export_symbols
19384 # The commands to list exported symbols.
19385 export_symbols_cmds=$lt_export_symbols_cmds
19387 # Symbols that should not be listed in the preloaded symbols.
19388 exclude_expsyms=$lt_exclude_expsyms
19390 # Symbols that must always be exported.
19391 include_expsyms=$lt_include_expsyms
19393 # Commands necessary for linking programs (against libraries) with templates.
19394 prelink_cmds=$lt_prelink_cmds
19396 # Commands necessary for finishing linking programs.
19397 postlink_cmds=$lt_postlink_cmds
19399 # Specify filename containing input files.
19400 file_list_spec=$lt_file_list_spec
19402 # How to hardcode a shared library path into an executable.
19403 hardcode_action=$hardcode_action
19405 # The directories searched by this compiler when creating a shared library.
19406 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19408 # Dependencies to place before and after the objects being linked to
19409 # create a shared library.
19410 predep_objects=$lt_predep_objects
19411 postdep_objects=$lt_postdep_objects
19412 predeps=$lt_predeps
19413 postdeps=$lt_postdeps
19415 # The library search path used internally by the compiler when linking
19416 # a shared library.
19417 compiler_lib_search_path=$lt_compiler_lib_search_path
19419 # ### END LIBTOOL CONFIG
19423 cat <<'_LT_EOF' >> "$cfgfile"
19425 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
19427 # func_munge_path_list VARIABLE PATH
19428 # -----------------------------------
19429 # VARIABLE is name of variable containing _space_ separated list of
19430 # directories to be munged by the contents of PATH, which is string
19433 # string "DIR[ DIR]" will be prepended to VARIABLE
19435 # string "DIR[ DIR]" will be appended to VARIABLE
19436 # "DIRP[:DIRP]::[DIRA:]DIRA"
19437 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
19438 # "DIRA[ DIRA]" will be appended to VARIABLE
19440 # VARIABLE will be replaced by "DIR[ DIR]"
19441 func_munge_path_list ()
19447 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
19450 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
19453 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
19454 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
19457 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
19463 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
19464 func_cc_basename ()
19466 for cc_temp in $*""; do
19468 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19469 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19474 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19478 # ### END FUNCTIONS SHARED WITH CONFIGURE
19484 cat <<\_LT_EOF
>> "$cfgfile"
19485 # AIX sometimes has problems with the GCC collect2 program. For some
19486 # reason, if we set the COLLECT_NAMES environment variable, the problems
19487 # vanish in a puff of smoke.
19488 if test set != "${COLLECT_NAMES+set}"; then
19490 export COLLECT_NAMES
19497 ltmain
=$ac_aux_dir/ltmain.sh
19500 # We use sed instead of cat because bash on DJGPP gets confused if
19501 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19502 # text mode, it properly converts lines to CR/LF. This bash problem
19503 # is reportedly fixed, but why not run on old versions too?
19504 sed '$q' "$ltmain" >> "$cfgfile" \
19505 ||
(rm -f "$cfgfile"; exit 1)
19507 mv -f "$cfgfile" "$ofile" ||
19508 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19512 cat <<_LT_EOF >> "$ofile"
19514 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19516 # The linker used to build libraries.
19519 # How to create reloadable object files.
19520 reload_flag=$lt_reload_flag_CXX
19521 reload_cmds=$lt_reload_cmds_CXX
19523 # Commands used to build an old-style archive.
19524 old_archive_cmds=$lt_old_archive_cmds_CXX
19526 # A language specific compiler.
19527 CC=$lt_compiler_CXX
19529 # Is the compiler the GNU compiler?
19532 # Compiler flag to turn off builtin functions.
19533 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19535 # Additional compiler flags for building library objects.
19536 pic_flag=$lt_lt_prog_compiler_pic_CXX
19538 # How to pass a linker flag through the compiler.
19539 wl=$lt_lt_prog_compiler_wl_CXX
19541 # Compiler flag to prevent dynamic linking.
19542 link_static_flag=$lt_lt_prog_compiler_static_CXX
19544 # Does compiler simultaneously support -c and -o options?
19545 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19547 # Whether or not to add -lc for building shared libraries.
19548 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19550 # Whether or not to disallow shared libs when runtime libs are static.
19551 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19553 # Compiler flag to allow reflexive dlopens.
19554 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19556 # Compiler flag to generate shared objects directly from archives.
19557 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19559 # Whether the compiler copes with passing no objects directly.
19560 compiler_needs_object=$lt_compiler_needs_object_CXX
19562 # Create an old-style archive from a shared archive.
19563 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19565 # Create a temporary old-style archive to link instead of a shared archive.
19566 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19568 # Commands used to build a shared archive.
19569 archive_cmds=$lt_archive_cmds_CXX
19570 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19572 # Commands used to build a loadable module if different from building
19573 # a shared archive.
19574 module_cmds=$lt_module_cmds_CXX
19575 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19577 # Whether we are building with GNU ld or not.
19578 with_gnu_ld=$lt_with_gnu_ld_CXX
19580 # Flag that allows shared libraries with undefined symbols to be built.
19581 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19583 # Flag that enforces no undefined symbols.
19584 no_undefined_flag=$lt_no_undefined_flag_CXX
19586 # Flag to hardcode \$libdir into a binary during linking.
19587 # This must work even if \$libdir does not exist
19588 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19590 # Whether we need a single "-rpath" flag with a separated argument.
19591 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19593 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19594 # DIR into the resulting binary.
19595 hardcode_direct=$hardcode_direct_CXX
19597 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19598 # DIR into the resulting binary and the resulting library dependency is
19599 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
19600 # library is relocated.
19601 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19603 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19604 # into the resulting binary.
19605 hardcode_minus_L=$hardcode_minus_L_CXX
19607 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19608 # into the resulting binary.
19609 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19611 # Set to "yes" if building a shared library automatically hardcodes DIR
19612 # into the library and all subsequent libraries and executables linked
19614 hardcode_automatic=$hardcode_automatic_CXX
19616 # Set to yes if linker adds runtime paths of dependent libraries
19617 # to runtime path list.
19618 inherit_rpath=$inherit_rpath_CXX
19620 # Whether libtool must link a program against all its dependency libraries.
19621 link_all_deplibs=$link_all_deplibs_CXX
19623 # Set to "yes" if exported symbols are required.
19624 always_export_symbols=$always_export_symbols_CXX
19626 # The commands to list exported symbols.
19627 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19629 # Symbols that should not be listed in the preloaded symbols.
19630 exclude_expsyms=$lt_exclude_expsyms_CXX
19632 # Symbols that must always be exported.
19633 include_expsyms=$lt_include_expsyms_CXX
19635 # Commands necessary for linking programs (against libraries) with templates.
19636 prelink_cmds=$lt_prelink_cmds_CXX
19638 # Commands necessary for finishing linking programs.
19639 postlink_cmds=$lt_postlink_cmds_CXX
19641 # Specify filename containing input files.
19642 file_list_spec=$lt_file_list_spec_CXX
19644 # How to hardcode a shared library path into an executable.
19645 hardcode_action=$hardcode_action_CXX
19647 # The directories searched by this compiler when creating a shared library.
19648 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19650 # Dependencies to place before and after the objects being linked to
19651 # create a shared library.
19652 predep_objects=$lt_predep_objects_CXX
19653 postdep_objects=$lt_postdep_objects_CXX
19654 predeps=$lt_predeps_CXX
19655 postdeps=$lt_postdeps_CXX
19657 # The library search path used internally by the compiler when linking
19658 # a shared library.
19659 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19661 # ### END LIBTOOL TAG CONFIG: CXX
19672 ac_clean_files
=$ac_clean_files_save
19674 test $ac_write_fail = 0 ||
19675 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
19678 # configure is writing to config.log, and then calls config.status.
19679 # config.status does its own redirection, appending to config.log.
19680 # Unfortunately, on DOS this fails, as config.log is still kept open
19681 # by configure, so config.status won't be able to write to it; its
19682 # output is simply discarded. So we exec the FD to /dev/null,
19683 # effectively closing config.log, so it can be properly (re)opened and
19684 # appended to by config.status. When coming back to configure, we
19685 # need to make the FD available again.
19686 if test "$no_create" != yes; then
19688 ac_config_status_args
=
19689 test "$silent" = yes &&
19690 ac_config_status_args
="$ac_config_status_args --quiet"
19692 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19694 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19695 # would make configure fail if this is the last instruction.
19696 $ac_cs_success || as_fn_exit
1
19698 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19700 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}