2 # From configure.in OpenLDAP: pkg/ldap/contrib/ldapc++/configure.in,v 1.8.2.7 2008/07/09 21:59:44 quanah Exp .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for ldapcpplib .
6 # Report bugs to <http://www.openldap.org/its/ >.
8 # Copyright 2000-2008 The OpenLDAP Foundation. All rights reserved.
9 # Restrictions apply, see COPYRIGHT and LICENSE files.
11 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
12 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## --------------------- ##
16 ## M4sh Initialization. ##
17 ## --------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
24 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in
30 *posix
*) set -o posix
;;
39 # Avoid depending upon Character Ranges.
40 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
41 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
43 as_cr_digits
='0123456789'
44 as_cr_alnum
=$as_cr_Letters$as_cr_digits
46 # The user is always right.
47 if test "${PATH_SEPARATOR+set}" != set; then
48 echo "#! /bin/sh" >conf$$.sh
49 echo "exit 0" >>conf$$.sh
51 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
59 # Support unset when possible.
60 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
68 # We need space, tab and new line, in precisely that order. Quoting is
69 # there to prevent editors from complaining about space-tab.
70 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
71 # splitting by setting IFS to empty value.)
76 # Find who we are. Look in the path if we contain no directory separator.
78 *[\\/]* ) as_myself
=$0 ;;
79 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
83 test -z "$as_dir" && as_dir
=.
84 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
90 # We did not find ourselves, most probably we were run as `sh COMMAND'
91 # in which case we are not to be found in the path.
92 if test "x$as_myself" = x
; then
95 if test ! -f "$as_myself"; then
96 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
100 # Work around bugs in pre-3.0 UWIN ksh.
101 for as_var
in ENV MAIL MAILPATH
102 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
110 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
111 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
114 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
115 eval $as_var=C
; export $as_var
117 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
121 # Required to use basename.
122 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
123 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
129 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
136 # Name of the executable.
137 as_me
=`$as_basename -- "$0" ||
138 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
139 X"$0" : 'X\(//\)$' \| \
140 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
142 sed '/^.*\/\([^/][^/]*\)\/*$/{
160 if test "x$CONFIG_SHELL" = x
; then
161 if (eval ":") 2>/dev
/null
; then
167 if test $as_have_required = yes && (eval ":
177 as_func_ret_success () {
180 as_func_ret_failure () {
185 if as_func_success; then
189 echo as_func_success failed.
192 if as_func_failure; then
194 echo as_func_failure succeeded.
197 if as_func_ret_success; then
201 echo as_func_ret_success failed.
204 if as_func_ret_failure; then
206 echo as_func_ret_failure succeeded.
209 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
213 echo positional parameters were not saved.
216 test \$exitcode = 0) || { (exit 1); exit 1; }
221 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
222 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
223 ") 2> /dev
/null
; then
227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
228 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
231 test -z "$as_dir" && as_dir
=.
234 for as_base
in sh bash ksh sh5
; do
235 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
242 for as_shell
in $as_candidate_shells $SHELL; do
243 # Try only shells that exist, to save several forks.
244 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
245 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
246 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
249 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
250 # is contrary to our usage. Disable this feature.
251 alias -g '${1+"$@"}'='"$@"'
254 case `(set -o) 2>/dev/null` in
255 *posix
*) set -o posix
;;
264 CONFIG_SHELL
=$as_shell
266 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
267 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
270 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
271 # is contrary to our usage. Disable this feature.
272 alias -g '${1+"$@"}'='"$@"'
275 case `(set -o) 2>/dev/null` in
276 *posix
*) set -o posix
;;
292 as_func_ret_success
() {
295 as_func_ret_failure
() {
300 if as_func_success
; then
304 echo as_func_success failed.
307 if as_func_failure
; then
309 echo as_func_failure succeeded.
312 if as_func_ret_success
; then
316 echo as_func_ret_success failed.
319 if as_func_ret_failure
; then
321 echo as_func_ret_failure succeeded.
324 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
328 echo positional parameters were not saved.
331 test $exitcode = 0) ||
{ (exit 1); exit 1; }
336 test "x$as_lineno_1" != "x$as_lineno_2" &&
337 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
348 if test "x$CONFIG_SHELL" != x
; then
349 for as_var
in BASH_ENV ENV
350 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
353 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
357 if test $as_have_required = no
; then
358 echo This
script requires a shell
more modern than all the
359 echo shells that I found on your system. Please
install a
360 echo modern shell
, or manually run the
script under such a
361 echo shell
if you
do have one.
362 { (exit 1); exit 1; }
372 (eval "as_func_return () {
381 as_func_ret_success () {
384 as_func_ret_failure () {
389 if as_func_success; then
393 echo as_func_success failed.
396 if as_func_failure; then
398 echo as_func_failure succeeded.
401 if as_func_ret_success; then
405 echo as_func_ret_success failed.
408 if as_func_ret_failure; then
410 echo as_func_ret_failure succeeded.
413 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
417 echo positional parameters were not saved.
420 test \$exitcode = 0") ||
{
421 echo No shell found that supports shell functions.
422 echo Please tell autoconf@gnu.org about your system
,
423 echo including any error possibly output before this
431 test "x$as_lineno_1" != "x$as_lineno_2" &&
432 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
434 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
435 # uniformly replaced by the line number. The first 'sed' inserts a
436 # line-number line after each line using $LINENO; the second 'sed'
437 # does the real work. The second script uses 'N' to pair each
438 # line-number line with the line containing $LINENO, and appends
439 # trailing '-' during substitution so that $LINENO is not a special
441 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
442 # scripts with optimization help from Paolo Bonzini. Blame Lee
443 # E. McMahon (1931-1989) for sed's syntax. :-)
455 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
459 chmod +x
"$as_me.lineno" ||
460 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
461 { (exit 1); exit 1; }; }
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
467 # Exit status is that of the last command.
472 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
478 ECHO_C
= ECHO_N
= ECHO_T
=
482 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
489 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
490 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
496 rm -f conf$$ conf$$.exe conf$$.
file
497 if test -d conf$$.dir
; then
498 rm -f conf$$.dir
/conf$$.
file
504 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
506 # ... but there are two gotchas:
507 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
508 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
509 # In both cases, we have to default to `cp -p'.
510 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
512 elif ln conf$$.
file conf$$
2>/dev
/null
; then
517 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
518 rmdir conf$$.dir
2>/dev
/null
520 if mkdir
-p .
2>/dev
/null
; then
523 test -d .
/-p && rmdir .
/-p
527 if test -x / >/dev
/null
2>&1; then
530 if ls -dL / >/dev
/null
2>&1; then
537 if test -d "$1"; then
543 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
544 ???[sx]*):;;*)false;;esac;fi
548 as_executable_p
=$as_test_x
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
559 # Check that we are running under the correct shell.
560 SHELL
=${CONFIG_SHELL-/bin/sh}
564 # Remove one level of quotation (which was required for Make).
565 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
570 if test "X$1" = X--no-reexec
; then
571 # Discard the --no-reexec flag, and continue.
573 elif test "X$1" = X--fallback-echo
; then
574 # Avoid inline document here, it may be left over
576 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
577 # Yippee, $echo works!
580 # Restart under the correct shell.
581 exec $SHELL "$0" --no-reexec ${1+"$@"}
584 if test "X$1" = X--fallback-echo
; then
585 # used as fallback echo
593 # The HP-UX ksh and POSIX shell print the target directory to stdout
595 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
597 if test -z "$ECHO"; then
598 if test "X${echo_test_string+set}" != Xset
; then
599 # find a string as large as possible, as long as the shell can cope with it
600 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
601 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
602 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
603 echo_test_string
=`eval $cmd` &&
604 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
611 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
612 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
613 test "X$echo_testing_string" = "X$echo_test_string"; then
616 # The Solaris, AIX, and Digital Unix default echo programs unquote
617 # backslashes. This makes it impossible to quote backslashes using
618 # echo "$something" | sed 's/\\/\\\\/g'
620 # So, first we look for a working echo in the user's PATH.
622 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
623 for dir
in $PATH /usr
/ucb
; do
625 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
626 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
627 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
628 test "X$echo_testing_string" = "X$echo_test_string"; then
635 if test "X$echo" = Xecho
; then
636 # We didn't find a better echo, so look for alternatives.
637 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
638 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
639 test "X$echo_testing_string" = "X$echo_test_string"; then
640 # This shell has a builtin print -r that does the trick.
642 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
643 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
644 # If we have ksh, try running configure again with it.
645 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
646 export ORIGINAL_CONFIG_SHELL
647 CONFIG_SHELL
=/bin
/ksh
649 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
653 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
654 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
655 test "X$echo_testing_string" = "X$echo_test_string"; then
658 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
659 test "X$echo_testing_string" = 'X\t' &&
660 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
661 test "X$echo_testing_string" = "X$echo_test_string"; then
662 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
664 SHELL
="$CONFIG_SHELL"
666 echo="$CONFIG_SHELL $0 --fallback-echo"
667 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
668 test "X$echo_testing_string" = 'X\t' &&
669 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
670 test "X$echo_testing_string" = "X$echo_test_string"; then
671 echo="$CONFIG_SHELL $0 --fallback-echo"
673 # maybe with a smaller string...
676 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
677 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
684 if test "$prev" != 'sed 50q "$0"'; then
685 echo_test_string
=`eval $prev`
686 export echo_test_string
687 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
689 # Oops. We lost completely, so just stick with echo.
698 # Copy echo and quote the copy suitably for passing to libtool from
699 # the Makefile, instead of quoting the original, which is used later.
701 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
702 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
708 tagnames
=${tagnames+${tagnames},}CXX
710 tagnames
=${tagnames+${tagnames},}F77
712 exec 7<&0 </dev
/null
6>&1
715 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
716 # so uname gets run too.
717 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
722 ac_default_prefix
=/usr
/local
724 ac_config_libobj_dir
=.
730 SHELL
=${CONFIG_SHELL-/bin/sh}
732 # Identity of this package.
733 PACKAGE_NAME
='ldapcpplib'
734 PACKAGE_TARNAME
='ldapcpplib'
736 PACKAGE_STRING
='ldapcpplib '
737 PACKAGE_BUGREPORT
='http://www.openldap.org/its/ '
739 ac_unique_file
="src/LDAPConnection.h"
740 # Factoring default headers for most tests.
741 ac_includes_default
="\
743 #ifdef HAVE_SYS_TYPES_H
744 # include <sys/types.h>
746 #ifdef HAVE_SYS_STAT_H
747 # include <sys/stat.h>
753 # ifdef HAVE_STDLIB_H
758 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
763 #ifdef HAVE_STRINGS_H
764 # include <strings.h>
766 #ifdef HAVE_INTTYPES_H
767 # include <inttypes.h>
785 program_transform_name
827 INSTALL_STRIP_PROGRAM
835 OPENLDAP_CPP_API_VERSION
884 ac_precious_vars
='build_alias
901 # Initialize some variables set by options.
903 ac_init_version
=false
904 # The variables have the same names as the options, with
905 # dashes changed to underlines.
913 program_transform_name
=s
,x
,x
,
921 # Installation directory options.
922 # These are left unexpanded so users can "make install exec_prefix=/foo"
923 # and all the variables that are supposed to be based on exec_prefix
924 # by default will actually change.
925 # Use braces instead of parens because sh, perl, etc. also accept them.
926 # (The list follows the same order as the GNU Coding Standards.)
927 bindir
='${exec_prefix}/bin'
928 sbindir
='${exec_prefix}/sbin'
929 libexecdir
='${exec_prefix}/libexec'
930 datarootdir
='${prefix}/share'
931 datadir
='${datarootdir}'
932 sysconfdir
='${prefix}/etc'
933 sharedstatedir
='${prefix}/com'
934 localstatedir
='${prefix}/var'
935 includedir
='${prefix}/include'
936 oldincludedir
='/usr/include'
937 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
938 infodir
='${datarootdir}/info'
943 libdir
='${exec_prefix}/lib'
944 localedir
='${datarootdir}/locale'
945 mandir
='${datarootdir}/man'
951 # If the previous option needs an argument, assign it.
952 if test -n "$ac_prev"; then
953 eval $ac_prev=\
$ac_option
959 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
963 # Accept the important Cygnus configure options, so we can diagnose typos.
965 case $ac_dashdash$ac_option in
969 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
971 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
974 -build |
--build |
--buil |
--bui |
--bu)
975 ac_prev
=build_alias
;;
976 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
977 build_alias
=$ac_optarg ;;
979 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
980 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
981 ac_prev
=cache_file
;;
982 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
983 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
984 cache_file
=$ac_optarg ;;
987 cache_file
=config.cache
;;
989 -datadir |
--datadir |
--datadi |
--datad)
991 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
992 datadir
=$ac_optarg ;;
994 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
995 |
--dataroo |
--dataro |
--datar)
996 ac_prev
=datarootdir
;;
997 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
998 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
999 datarootdir
=$ac_optarg ;;
1001 -disable-* |
--disable-*)
1002 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1003 # Reject names that are not valid shell variable names.
1004 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1005 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1006 { (exit 1); exit 1; }; }
1007 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1008 eval enable_
$ac_feature=no
;;
1010 -docdir |
--docdir |
--docdi |
--doc |
--do)
1012 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1013 docdir
=$ac_optarg ;;
1015 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1017 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1018 dvidir
=$ac_optarg ;;
1020 -enable-* |
--enable-*)
1021 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1022 # Reject names that are not valid shell variable names.
1023 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1024 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1025 { (exit 1); exit 1; }; }
1026 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1027 eval enable_
$ac_feature=\
$ac_optarg ;;
1029 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1030 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1031 |
--exec |
--exe |
--ex)
1032 ac_prev
=exec_prefix
;;
1033 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1034 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1035 |
--exec=* |
--exe=* |
--ex=*)
1036 exec_prefix
=$ac_optarg ;;
1038 -gas |
--gas |
--ga |
--g)
1039 # Obsolete; use --with-gas.
1042 -help |
--help |
--hel |
--he |
-h)
1043 ac_init_help
=long
;;
1044 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1045 ac_init_help
=recursive
;;
1046 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1047 ac_init_help
=short
;;
1049 -host |
--host |
--hos |
--ho)
1050 ac_prev
=host_alias
;;
1051 -host=* |
--host=* |
--hos=* |
--ho=*)
1052 host_alias
=$ac_optarg ;;
1054 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1056 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1058 htmldir
=$ac_optarg ;;
1060 -includedir |
--includedir |
--includedi |
--included |
--include \
1061 |
--includ |
--inclu |
--incl |
--inc)
1062 ac_prev
=includedir
;;
1063 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1064 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1065 includedir
=$ac_optarg ;;
1067 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1069 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1070 infodir
=$ac_optarg ;;
1072 -libdir |
--libdir |
--libdi |
--libd)
1074 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1075 libdir
=$ac_optarg ;;
1077 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1078 |
--libexe |
--libex |
--libe)
1079 ac_prev
=libexecdir
;;
1080 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1081 |
--libexe=* |
--libex=* |
--libe=*)
1082 libexecdir
=$ac_optarg ;;
1084 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1085 ac_prev
=localedir
;;
1086 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1087 localedir
=$ac_optarg ;;
1089 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1090 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1091 ac_prev
=localstatedir
;;
1092 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1093 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1094 localstatedir
=$ac_optarg ;;
1096 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1098 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1099 mandir
=$ac_optarg ;;
1101 -nfp |
--nfp |
--nf)
1102 # Obsolete; use --without-fp.
1105 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1106 |
--no-cr |
--no-c |
-n)
1109 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1110 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1113 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1114 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1115 |
--oldin |
--oldi |
--old |
--ol |
--o)
1116 ac_prev
=oldincludedir
;;
1117 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1118 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1119 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1120 oldincludedir
=$ac_optarg ;;
1122 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1124 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1125 prefix
=$ac_optarg ;;
1127 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1128 |
--program-pre |
--program-pr |
--program-p)
1129 ac_prev
=program_prefix
;;
1130 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1131 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1132 program_prefix
=$ac_optarg ;;
1134 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1135 |
--program-suf |
--program-su |
--program-s)
1136 ac_prev
=program_suffix
;;
1137 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1138 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1139 program_suffix
=$ac_optarg ;;
1141 -program-transform-name |
--program-transform-name \
1142 |
--program-transform-nam |
--program-transform-na \
1143 |
--program-transform-n |
--program-transform- \
1144 |
--program-transform |
--program-transfor \
1145 |
--program-transfo |
--program-transf \
1146 |
--program-trans |
--program-tran \
1147 |
--progr-tra |
--program-tr |
--program-t)
1148 ac_prev
=program_transform_name
;;
1149 -program-transform-name=* |
--program-transform-name=* \
1150 |
--program-transform-nam=* |
--program-transform-na=* \
1151 |
--program-transform-n=* |
--program-transform-=* \
1152 |
--program-transform=* |
--program-transfor=* \
1153 |
--program-transfo=* |
--program-transf=* \
1154 |
--program-trans=* |
--program-tran=* \
1155 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1156 program_transform_name
=$ac_optarg ;;
1158 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1160 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1161 pdfdir
=$ac_optarg ;;
1163 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1165 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1168 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1169 |
-silent |
--silent |
--silen |
--sile |
--sil)
1172 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1174 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1176 sbindir
=$ac_optarg ;;
1178 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1179 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1180 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1182 ac_prev
=sharedstatedir
;;
1183 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1184 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1185 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1187 sharedstatedir
=$ac_optarg ;;
1189 -site |
--site |
--sit)
1191 -site=* |
--site=* |
--sit=*)
1194 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1196 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1197 srcdir
=$ac_optarg ;;
1199 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1200 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1201 ac_prev
=sysconfdir
;;
1202 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1203 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1204 sysconfdir
=$ac_optarg ;;
1206 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1207 ac_prev
=target_alias
;;
1208 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1209 target_alias
=$ac_optarg ;;
1211 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1214 -version |
--version |
--versio |
--versi |
--vers |
-V)
1215 ac_init_version
=: ;;
1218 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1219 # Reject names that are not valid shell variable names.
1220 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1221 { echo "$as_me: error: invalid package name: $ac_package" >&2
1222 { (exit 1); exit 1; }; }
1223 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1224 eval with_
$ac_package=\
$ac_optarg ;;
1226 -without-* |
--without-*)
1227 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1228 # Reject names that are not valid shell variable names.
1229 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1230 { echo "$as_me: error: invalid package name: $ac_package" >&2
1231 { (exit 1); exit 1; }; }
1232 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1233 eval with_
$ac_package=no
;;
1236 # Obsolete; use --with-x.
1239 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1240 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1241 ac_prev
=x_includes
;;
1242 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1243 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1244 x_includes
=$ac_optarg ;;
1246 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1247 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1248 ac_prev
=x_libraries
;;
1249 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1250 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1251 x_libraries
=$ac_optarg ;;
1253 -*) { echo "$as_me: error: unrecognized option: $ac_option
1254 Try \`$0 --help' for more information." >&2
1255 { (exit 1); exit 1; }; }
1259 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1260 # Reject names that are not valid shell variable names.
1261 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1262 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1263 { (exit 1); exit 1; }; }
1264 eval $ac_envvar=\
$ac_optarg
1265 export $ac_envvar ;;
1268 # FIXME: should be removed in autoconf 3.0.
1269 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1270 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1271 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1272 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1278 if test -n "$ac_prev"; then
1279 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1280 { echo "$as_me: error: missing argument to $ac_option" >&2
1281 { (exit 1); exit 1; }; }
1284 # Be sure to have absolute directory names.
1285 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1286 datadir sysconfdir sharedstatedir localstatedir includedir \
1287 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1288 libdir localedir mandir
1290 eval ac_val
=\$
$ac_var
1292 [\\/$
]* | ?
:[\\/]* ) continue;;
1293 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1295 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1296 { (exit 1); exit 1; }; }
1299 # There might be people who depend on the old broken behavior: `$host'
1300 # used to hold the argument of --host etc.
1301 # FIXME: To remove some day.
1304 target
=$target_alias
1306 # FIXME: To remove some day.
1307 if test "x$host_alias" != x
; then
1308 if test "x$build_alias" = x
; then
1309 cross_compiling
=maybe
1310 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1311 If a cross compiler is detected then cross compile mode will be used." >&2
1312 elif test "x$build_alias" != "x$host_alias"; then
1318 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1320 test "$silent" = yes && exec 6>/dev
/null
1323 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1324 ac_ls_di
=`ls -di .` &&
1325 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1326 { echo "$as_me: error: Working directory cannot be determined" >&2
1327 { (exit 1); exit 1; }; }
1328 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1329 { echo "$as_me: error: pwd does not report name of working directory" >&2
1330 { (exit 1); exit 1; }; }
1333 # Find the source files, if location was not specified.
1334 if test -z "$srcdir"; then
1335 ac_srcdir_defaulted
=yes
1336 # Try the directory containing this script, then the parent directory.
1337 ac_confdir
=`$as_dirname -- "$0" ||
1338 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1339 X"$0" : 'X\(//\)[^/]' \| \
1340 X"$0" : 'X\(//\)$' \| \
1341 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1361 if test ! -r "$srcdir/$ac_unique_file"; then
1365 ac_srcdir_defaulted
=no
1367 if test ! -r "$srcdir/$ac_unique_file"; then
1368 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1369 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1370 { (exit 1); exit 1; }; }
1372 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1374 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1375 { (exit 1); exit 1; }; }
1377 # When building in place, set srcdir=.
1378 if test "$ac_abs_confdir" = "$ac_pwd"; then
1381 # Remove unnecessary trailing slashes from srcdir.
1382 # Double slashes in file names in object file debugging info
1383 # mess up M-x gdb in Emacs.
1385 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1387 for ac_var
in $ac_precious_vars; do
1388 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1389 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1390 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1391 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1395 # Report the --help message.
1397 if test "$ac_init_help" = "long"; then
1398 # Omit some internal or obsolete options to make the list less imposing.
1399 # This message is too long to be a string in the A/UX 3.1 sh.
1401 \`configure' configures ldapcpplib to adapt to many kinds of systems.
1403 Usage: $0 [OPTION]... [VAR=VALUE]...
1405 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1406 VAR=VALUE. See below for descriptions of some of the useful variables.
1408 Defaults for the options are specified in brackets.
1411 -h, --help display this help and exit
1412 --help=short display options specific to this package
1413 --help=recursive display the short help of all the included packages
1414 -V, --version display version information and exit
1415 -q, --quiet, --silent do not print \`checking...' messages
1416 --cache-file=FILE cache test results in FILE [disabled]
1417 -C, --config-cache alias for \`--cache-file=config.cache'
1418 -n, --no-create do not create output files
1419 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1421 Installation directories:
1422 --prefix=PREFIX install architecture-independent files in PREFIX
1423 [$ac_default_prefix]
1424 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1427 By default, \`make install' will install all the files in
1428 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1429 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1430 for instance \`--prefix=\$HOME'.
1432 For better control, use the options below.
1434 Fine tuning of the installation directories:
1435 --bindir=DIR user executables [EPREFIX/bin]
1436 --sbindir=DIR system admin executables [EPREFIX/sbin]
1437 --libexecdir=DIR program executables [EPREFIX/libexec]
1438 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1439 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1440 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1441 --libdir=DIR object code libraries [EPREFIX/lib]
1442 --includedir=DIR C header files [PREFIX/include]
1443 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1444 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1445 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1446 --infodir=DIR info documentation [DATAROOTDIR/info]
1447 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1448 --mandir=DIR man documentation [DATAROOTDIR/man]
1449 --docdir=DIR documentation root [DATAROOTDIR/doc/ldapcpplib]
1450 --htmldir=DIR html documentation [DOCDIR]
1451 --dvidir=DIR dvi documentation [DOCDIR]
1452 --pdfdir=DIR pdf documentation [DOCDIR]
1453 --psdir=DIR ps documentation [DOCDIR]
1459 --program-prefix=PREFIX prepend PREFIX to installed program names
1460 --program-suffix=SUFFIX append SUFFIX to installed program names
1461 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1464 --build=BUILD configure
for building on BUILD
[guessed
]
1465 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1469 if test -n "$ac_init_help"; then
1470 case $ac_init_help in
1471 short | recursive
) echo "Configuration of ldapcpplib :";;
1476 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1477 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1478 --disable-dependency-tracking speeds up one-time build
1479 --enable-dependency-tracking do not reject slow dependency extractors
1480 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1481 --enable-static[=PKGS
] build static libraries
[default
=yes]
1482 --enable-fast-install[=PKGS
]
1483 optimize
for fast installation
[default
=yes]
1484 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1488 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1489 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1490 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1491 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1493 --with-tags[=TAGS
] include additional configurations
[automatic
]
1494 --with-libldap=DIR Path to the libldap library
/usr
/local
/lib
1495 --with-ldap-includes=DIR Path to the libldap include files
/usr
/local
/include
1497 Some influential environment variables
:
1498 CXX C
++ compiler
command
1499 CXXFLAGS C
++ compiler flags
1500 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1501 nonstandard directory
<lib dir
>
1502 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1503 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1504 you have headers
in a nonstandard directory
<include dir
>
1505 CC C compiler
command
1506 CFLAGS C compiler flags
1508 CXXCPP C
++ preprocessor
1509 F77 Fortran
77 compiler
command
1510 FFLAGS Fortran
77 compiler flags
1512 Use these variables to override the choices made by
`configure' or to help
1513 it to find libraries and programs with nonstandard names/locations.
1515 Report bugs to <http://www.openldap.org/its/ >.
1520 if test "$ac_init_help" = "recursive"; then
1521 # If there are subdirs, report their specific --help.
1522 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1523 test -d "$ac_dir" || continue
1527 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1529 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1530 # A ".." for each directory in $ac_dir_suffix.
1531 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1532 case $ac_top_builddir_sub in
1533 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1534 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1537 ac_abs_top_builddir=$ac_pwd
1538 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1539 # for backward compatibility:
1540 ac_top_builddir=$ac_top_build_prefix
1543 .) # We are building in place.
1545 ac_top_srcdir=$ac_top_builddir_sub
1546 ac_abs_top_srcdir=$ac_pwd ;;
1547 [\\/]* | ?:[\\/]* ) # Absolute name.
1548 ac_srcdir=$srcdir$ac_dir_suffix;
1549 ac_top_srcdir=$srcdir
1550 ac_abs_top_srcdir=$srcdir ;;
1552 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1553 ac_top_srcdir=$ac_top_build_prefix$srcdir
1554 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1556 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1558 cd "$ac_dir" || { ac_status=$?; continue; }
1559 # Check for guested configure.
1560 if test -f "$ac_srcdir/configure.gnu"; then
1562 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1563 elif test -f "$ac_srcdir/configure"; then
1565 $SHELL "$ac_srcdir/configure" --help=recursive
1567 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1569 cd "$ac_pwd" || { ac_status=$?; break; }
1573 test -n "$ac_init_help" && exit $ac_status
1574 if $ac_init_version; then
1576 ldapcpplib configure
1577 generated by GNU Autoconf 2.61
1579 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1580 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1581 This configure script is free software; the Free Software Foundation
1582 gives unlimited permission to copy, distribute and modify it.
1584 Copyright 2000-2008 The OpenLDAP Foundation. All rights reserved.
1585 Restrictions apply, see COPYRIGHT and LICENSE files.
1589 cat >config.log <<_ACEOF
1590 This file contains any messages produced by compilers while
1591 running configure, to aid debugging if configure makes a mistake.
1593 It was created by ldapcpplib $as_me , which was
1594 generated by GNU Autoconf 2.61. Invocation command line was
1606 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1607 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1608 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1609 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1610 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1612 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1613 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1615 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1616 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1617 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1618 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1619 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1620 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1621 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1629 test -z "$as_dir" && as_dir=.
1630 echo "PATH: $as_dir"
1646 # Keep a trace of the command line.
1647 # Strip out --no-create and --no-recursion so they do not pile up.
1648 # Strip out --silent because we don't want to record it for future runs.
1649 # Also quote any args containing shell meta-characters.
1650 # Make two passes to allow for proper duplicate-argument suppression.
1654 ac_must_keep_next=false
1660 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1661 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1662 | -silent | --silent | --silen | --sile | --sil)
1665 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1668 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1670 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1671 if test $ac_must_keep_next = true; then
1672 ac_must_keep_next=false # Got value, back to normal.
1675 *=* | --config-cache | -C | -disable-* | --disable-* \
1676 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1677 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1678 | -with-* | --with-* | -without-* | --without-* | --x)
1679 case "$ac_configure_args0 " in
1680 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1683 -* ) ac_must_keep_next=true ;;
1686 ac_configure_args="$ac_configure_args '$ac_arg'"
1691 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1692 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1694 # When interrupted or exit'd, cleanup temporary files, and complete
1695 # config.log. We remove comments because anyway the quotes in there
1696 # would cause problems or look ugly.
1697 # WARNING: Use '\'' to represent an apostrophe within the trap.
1698 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1699 trap 'exit_status=$?
1700 # Save into config.log some information that might help in debugging.
1705 ## ---------------- ##
1706 ## Cache variables. ##
1707 ## ---------------- ##
1710 # The following way of writing the cache mishandles newlines in values,
1712 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1713 eval ac_val=\$$ac_var
1717 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1718 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1721 _ | IFS | as_nl) ;; #(
1722 *) $as_unset $ac_var ;;
1727 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1728 *${as_nl}ac_space=\ *)
1730 "s/'\''/'\''\\\\'\'''\''/g;
1731 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1734 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1742 ## ----------------- ##
1743 ## Output variables. ##
1744 ## ----------------- ##
1747 for ac_var in $ac_subst_vars
1749 eval ac_val=\$$ac_var
1751 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1753 echo "$ac_var='\''$ac_val'\''"
1757 if test -n "$ac_subst_files"; then
1759 ## ------------------- ##
1760 ## File substitutions. ##
1761 ## ------------------- ##
1764 for ac_var in $ac_subst_files
1766 eval ac_val=\$$ac_var
1768 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1770 echo "$ac_var='\''$ac_val'\''"
1775 if test -s confdefs.h; then
1785 test "$ac_signal" != 0 &&
1786 echo "$as_me: caught signal $ac_signal"
1787 echo "$as_me: exit $exit_status"
1789 rm -f core *.core core.conftest.* &&
1790 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1793 for ac_signal in 1 2 13 15; do
1794 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1798 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1799 rm -f -r conftest* confdefs.h
1801 # Predefined preprocessor variables.
1803 cat >>confdefs.h <<_ACEOF
1804 #define PACKAGE_NAME "$PACKAGE_NAME"
1808 cat >>confdefs.h <<_ACEOF
1809 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1813 cat >>confdefs.h <<_ACEOF
1814 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1818 cat >>confdefs.h <<_ACEOF
1819 #define PACKAGE_STRING "$PACKAGE_STRING"
1823 cat >>confdefs.h <<_ACEOF
1824 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1828 # Let the site file select an alternate cache file if it wants to.
1829 # Prefer explicitly selected file to automatically selected ones.
1830 if test -n "$CONFIG_SITE"; then
1831 set x "$CONFIG_SITE"
1832 elif test "x$prefix" != xNONE; then
1833 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1835 set x "$ac_default_prefix/share/config.site" \
1836 "$ac_default_prefix/etc/config.site"
1841 if test -r "$ac_site_file"; then
1842 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1843 echo "$as_me: loading site script $ac_site_file" >&6;}
1844 sed 's/^/| /' "$ac_site_file" >&5
1849 if test -r "$cache_file"; then
1850 # Some versions of bash will fail to source /dev/null (special
1851 # files actually), so we avoid doing that.
1852 if test -f "$cache_file"; then
1853 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1854 echo "$as_me: loading cache $cache_file" >&6;}
1856 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1857 *) . "./$cache_file";;
1861 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1862 echo "$as_me: creating cache $cache_file" >&6;}
1866 # Check that the precious variables saved in the cache have kept the same
1868 ac_cache_corrupted=false
1869 for ac_var in $ac_precious_vars; do
1870 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1871 eval ac_new_set=\$ac_env_${ac_var}_set
1872 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1873 eval ac_new_val=\$ac_env_${ac_var}_value
1874 case $ac_old_set,$ac_new_set in
1876 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1877 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1878 ac_cache_corrupted=: ;;
1880 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1881 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1882 ac_cache_corrupted=: ;;
1885 if test "x$ac_old_val" != "x$ac_new_val"; then
1886 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1887 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1888 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1889 echo "$as_me: former value
: $ac_old_val" >&2;}
1890 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1891 echo "$as_me: current value
: $ac_new_val" >&2;}
1892 ac_cache_corrupted=:
1895 # Pass precious variables to config.status.
1896 if test "$ac_new_set" = set; then
1898 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1899 *) ac_arg=$ac_var=$ac_new_val ;;
1901 case " $ac_configure_args " in
1902 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1903 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1907 if $ac_cache_corrupted; then
1908 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1909 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1910 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1911 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1912 { (exit 1); exit 1; }; }
1940 ac_cpp='$CPP $CPPFLAGS'
1941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1947 am__api_version='1.10'
1950 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1951 if test -f "$ac_dir/install-sh"; then
1953 ac_install_sh="$ac_aux_dir/install-sh -c"
1955 elif test -f "$ac_dir/install.sh"; then
1957 ac_install_sh="$ac_aux_dir/install.sh -c"
1959 elif test -f "$ac_dir/shtool"; then
1961 ac_install_sh="$ac_aux_dir/shtool install -c"
1965 if test -z "$ac_aux_dir"; then
1966 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1967 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1968 { (exit 1); exit 1; }; }
1971 # These three variables are undocumented and unsupported,
1972 # and are intended to be withdrawn in a future Autoconf release.
1973 # They can cause serious problems if a builder's source tree is in a directory
1974 # whose full name contains unusual characters.
1975 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1976 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1977 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1980 # Find a good install program. We prefer a C program (faster),
1981 # so one script is as good as another. But avoid the broken or
1982 # incompatible versions:
1983 # SysV /etc/install, /usr/sbin/install
1984 # SunOS /usr/etc/install
1985 # IRIX /sbin/install
1987 # AmigaOS /C/install, which installs bootblocks on floppy discs
1988 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1989 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1990 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1991 # OS/2's system install, which has a completely different semantic
1992 # ./install, which can be erroneously created by make from ./install.sh.
1993 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1994 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1995 if test -z "$INSTALL"; then
1996 if test "${ac_cv_path_install+set}" = set; then
1997 echo $ECHO_N "(cached) $ECHO_C" >&6
1999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2003 test -z "$as_dir" && as_dir=.
2004 # Account for people who put trailing slashes in PATH elements.
2006 ./ | .// | /cC/* | \
2007 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2008 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2011 # OSF1 and SCO ODT 3.0 have their own names for install.
2012 # Don't use installbsd from OSF since it installs stuff as root
2014 for ac_prog in ginstall scoinst install; do
2015 for ac_exec_ext in '' $ac_executable_extensions; do
2016 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2017 if test $ac_prog = install &&
2018 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2019 # AIX install. It has an incompatible calling convention.
2021 elif test $ac_prog = install &&
2022 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2023 # program-specific install script used by HP pwplus--don't use.
2026 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2039 if test "${ac_cv_path_install+set}" = set; then
2040 INSTALL=$ac_cv_path_install
2042 # As a last resort, use the slow shell script. Don't cache a
2043 # value for INSTALL within a source directory, because that will
2044 # break other packages using the cache if that directory is
2045 # removed, or if the value is a relative name.
2046 INSTALL=$ac_install_sh
2049 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2050 echo "${ECHO_T}$INSTALL" >&6; }
2052 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2053 # It thinks the first close brace ends the variable substitution.
2054 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2056 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2058 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2060 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2061 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2064 echo timestamp > conftest.file
2065 # Do `set' in a subshell so we don't clobber the current shell
's
2066 # arguments. Must try -L first in case configure is actually a
2067 # symlink; some systems play weird games with the mod time of symlinks
2068 # (eg FreeBSD returns the mod time of the symlink's containing
2071 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2072 if test "$*" = "X"; then
2074 set X
`ls -t $srcdir/configure conftest.file`
2077 if test "$*" != "X $srcdir/configure conftest.file" \
2078 && test "$*" != "X conftest.file $srcdir/configure"; then
2080 # If neither matched, then we have a broken ls. This can happen
2081 # if, for instance, CONFIG_SHELL is bash and it inherits a
2082 # broken ls alias from the environment. This has actually
2083 # happened. Such a system could not be considered "sane".
2084 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2085 alias in your environment" >&5
2086 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2087 alias in your environment" >&2;}
2088 { (exit 1); exit 1; }; }
2091 test "$2" = conftest.
file
2097 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2098 Check your system clock" >&5
2099 echo "$as_me: error: newly created file is older than distributed files!
2100 Check your system clock" >&2;}
2101 { (exit 1); exit 1; }; }
2103 { echo "$as_me:$LINENO: result: yes" >&5
2104 echo "${ECHO_T}yes" >&6; }
2105 test "$program_prefix" != NONE
&&
2106 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2107 # Use a double $ so make ignores it.
2108 test "$program_suffix" != NONE
&&
2109 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2110 # Double any \ or $. echo might interpret backslashes.
2111 # By default was `s,x,x', remove it if useless.
2112 cat <<\_ACEOF
>conftest.
sed
2113 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2115 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2118 # expand $ac_aux_dir to an absolute path
2119 am_aux_dir
=`cd $ac_aux_dir && pwd`
2121 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2122 # Use eval to expand $SHELL
2123 if eval "$MISSING --run true"; then
2124 am_missing_run
="$MISSING --run "
2127 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2128 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2131 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2132 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2133 if test -z "$MKDIR_P"; then
2134 if test "${ac_cv_path_mkdir+set}" = set; then
2135 echo $ECHO_N "(cached) $ECHO_C" >&6
2137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2138 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2141 test -z "$as_dir" && as_dir
=.
2142 for ac_prog
in mkdir gmkdir
; do
2143 for ac_exec_ext
in '' $ac_executable_extensions; do
2144 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2145 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2146 'mkdir (GNU coreutils) '* | \
2147 'mkdir (coreutils) '* | \
2148 'mkdir (fileutils) '4.1*)
2149 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2159 if test "${ac_cv_path_mkdir+set}" = set; then
2160 MKDIR_P
="$ac_cv_path_mkdir -p"
2162 # As a last resort, use the slow shell script. Don't cache a
2163 # value for MKDIR_P within a source directory, because that will
2164 # break other packages using the cache if that directory is
2165 # removed, or if the value is a relative name.
2166 test -d .
/--version && rmdir .
/--version
2167 MKDIR_P
="$ac_install_sh -d"
2170 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2171 echo "${ECHO_T}$MKDIR_P" >&6; }
2175 [\\/$
]* | ?
:[\\/]*) ;;
2176 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2179 for ac_prog
in gawk mawk nawk
awk
2181 # Extract the first word of "$ac_prog", so it can be a program name with args.
2182 set dummy
$ac_prog; ac_word
=$2
2183 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2185 if test "${ac_cv_prog_AWK+set}" = set; then
2186 echo $ECHO_N "(cached) $ECHO_C" >&6
2188 if test -n "$AWK"; then
2189 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2195 test -z "$as_dir" && as_dir
=.
2196 for ac_exec_ext
in '' $ac_executable_extensions; do
2197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2198 ac_cv_prog_AWK
="$ac_prog"
2199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2209 if test -n "$AWK"; then
2210 { echo "$as_me:$LINENO: result: $AWK" >&5
2211 echo "${ECHO_T}$AWK" >&6; }
2213 { echo "$as_me:$LINENO: result: no" >&5
2214 echo "${ECHO_T}no" >&6; }
2218 test -n "$AWK" && break
2221 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2222 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2223 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2224 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2225 echo $ECHO_N "(cached) $ECHO_C" >&6
2227 cat >conftest.
make <<\_ACEOF
2230 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2232 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2233 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2235 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2237 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2241 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2242 { echo "$as_me:$LINENO: result: yes" >&5
2243 echo "${ECHO_T}yes" >&6; }
2246 { echo "$as_me:$LINENO: result: no" >&5
2247 echo "${ECHO_T}no" >&6; }
2248 SET_MAKE
="MAKE=${MAKE-make}"
2251 rm -rf .tst
2>/dev
/null
2252 mkdir .tst
2>/dev
/null
2253 if test -d .tst
; then
2258 rmdir .tst
2>/dev
/null
2260 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2261 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2262 # is not polluted with repeated "-I."
2263 am__isrc
=' -I$(srcdir)'
2264 # test to see if srcdir already configured
2265 if test -f $srcdir/config.status
; then
2266 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2267 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2268 { (exit 1); exit 1; }; }
2272 # test whether we have cygpath
2273 if test -z "$CYGPATH_W"; then
2274 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2275 CYGPATH_W
='cygpath -w'
2282 # Define the identity of the package.
2283 PACKAGE
='ldapcpplib'
2287 cat >>confdefs.h
<<_ACEOF
2288 #define PACKAGE "$PACKAGE"
2292 cat >>confdefs.h
<<_ACEOF
2293 #define VERSION "$VERSION"
2296 # Some tools Automake needs.
2298 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2301 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2304 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2307 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2310 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2312 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2314 # Installed binaries are usually stripped using `strip' when the user
2315 # run `make install-strip'. However `strip' might not be the right
2316 # tool to use in cross-compilation environments, therefore Automake
2317 # will honor the `STRIP' environment variable to overrule this program.
2318 if test "$cross_compiling" != no
; then
2319 if test -n "$ac_tool_prefix"; then
2320 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2321 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2322 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2324 if test "${ac_cv_prog_STRIP+set}" = set; then
2325 echo $ECHO_N "(cached) $ECHO_C" >&6
2327 if test -n "$STRIP"; then
2328 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2334 test -z "$as_dir" && as_dir
=.
2335 for ac_exec_ext
in '' $ac_executable_extensions; do
2336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2337 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2347 STRIP
=$ac_cv_prog_STRIP
2348 if test -n "$STRIP"; then
2349 { echo "$as_me:$LINENO: result: $STRIP" >&5
2350 echo "${ECHO_T}$STRIP" >&6; }
2352 { echo "$as_me:$LINENO: result: no" >&5
2353 echo "${ECHO_T}no" >&6; }
2358 if test -z "$ac_cv_prog_STRIP"; then
2360 # Extract the first word of "strip", so it can be a program name with args.
2361 set dummy strip
; ac_word
=$2
2362 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2364 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2365 echo $ECHO_N "(cached) $ECHO_C" >&6
2367 if test -n "$ac_ct_STRIP"; then
2368 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2374 test -z "$as_dir" && as_dir
=.
2375 for ac_exec_ext
in '' $ac_executable_extensions; do
2376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2377 ac_cv_prog_ac_ct_STRIP
="strip"
2378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2387 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2388 if test -n "$ac_ct_STRIP"; then
2389 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2390 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2392 { echo "$as_me:$LINENO: result: no" >&5
2393 echo "${ECHO_T}no" >&6; }
2396 if test "x$ac_ct_STRIP" = x
; then
2399 case $cross_compiling:$ac_tool_warned in
2401 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2402 whose name does not start with the host triplet. If you think this
2403 configuration is useful to you, please write to autoconf@gnu.org." >&5
2404 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2405 whose name does not start with the host triplet. If you think this
2406 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2407 ac_tool_warned
=yes ;;
2412 STRIP
="$ac_cv_prog_STRIP"
2416 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2418 # We need awk for the "check" target. The system "awk" is bad on
2420 # Always define AMTAR for backward compatibility.
2422 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2424 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2430 ac_config_headers
="$ac_config_headers src/config.h"
2433 eval `$ac_aux_dir/version.sh`
2434 if test -z "$OL_CPP_API_RELEASE"; then
2435 { { echo "$as_me:$LINENO: error: could not determine version" >&5
2436 echo "$as_me: error: could not determine version" >&2;}
2437 { (exit 1); exit 1; }; }
2440 VERSION
=$OL_CPP_API_RELEASE
2441 OPENLDAP_CPP_API_VERSION
=$OL_CPP_API_VERSION
2444 # Find a good install program. We prefer a C program (faster),
2445 # so one script is as good as another. But avoid the broken or
2446 # incompatible versions:
2447 # SysV /etc/install, /usr/sbin/install
2448 # SunOS /usr/etc/install
2449 # IRIX /sbin/install
2451 # AmigaOS /C/install, which installs bootblocks on floppy discs
2452 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2453 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2454 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2455 # OS/2's system install, which has a completely different semantic
2456 # ./install, which can be erroneously created by make from ./install.sh.
2457 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2458 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2459 if test -z "$INSTALL"; then
2460 if test "${ac_cv_path_install+set}" = set; then
2461 echo $ECHO_N "(cached) $ECHO_C" >&6
2463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2467 test -z "$as_dir" && as_dir
=.
2468 # Account for people who put trailing slashes in PATH elements.
2470 .
/ | .
// |
/cC
/* | \
2471 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2472 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2475 # OSF1 and SCO ODT 3.0 have their own names for install.
2476 # Don't use installbsd from OSF since it installs stuff as root
2478 for ac_prog
in ginstall scoinst
install; do
2479 for ac_exec_ext
in '' $ac_executable_extensions; do
2480 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2481 if test $ac_prog = install &&
2482 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2483 # AIX install. It has an incompatible calling convention.
2485 elif test $ac_prog = install &&
2486 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2487 # program-specific install script used by HP pwplus--don't use.
2490 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2503 if test "${ac_cv_path_install+set}" = set; then
2504 INSTALL
=$ac_cv_path_install
2506 # As a last resort, use the slow shell script. Don't cache a
2507 # value for INSTALL within a source directory, because that will
2508 # break other packages using the cache if that directory is
2509 # removed, or if the value is a relative name.
2510 INSTALL
=$ac_install_sh
2513 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2514 echo "${ECHO_T}$INSTALL" >&6; }
2516 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2517 # It thinks the first close brace ends the variable substitution.
2518 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2520 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2522 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2525 ac_cpp
='$CXXCPP $CPPFLAGS'
2526 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2527 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2528 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2529 if test -z "$CXX"; then
2530 if test -n "$CCC"; then
2533 if test -n "$ac_tool_prefix"; then
2534 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2536 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2537 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2538 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2540 if test "${ac_cv_prog_CXX+set}" = set; then
2541 echo $ECHO_N "(cached) $ECHO_C" >&6
2543 if test -n "$CXX"; then
2544 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2550 test -z "$as_dir" && as_dir
=.
2551 for ac_exec_ext
in '' $ac_executable_extensions; do
2552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2553 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2564 if test -n "$CXX"; then
2565 { echo "$as_me:$LINENO: result: $CXX" >&5
2566 echo "${ECHO_T}$CXX" >&6; }
2568 { echo "$as_me:$LINENO: result: no" >&5
2569 echo "${ECHO_T}no" >&6; }
2573 test -n "$CXX" && break
2576 if test -z "$CXX"; then
2578 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2580 # Extract the first word of "$ac_prog", so it can be a program name with args.
2581 set dummy
$ac_prog; ac_word
=$2
2582 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2584 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2585 echo $ECHO_N "(cached) $ECHO_C" >&6
2587 if test -n "$ac_ct_CXX"; then
2588 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2594 test -z "$as_dir" && as_dir
=.
2595 for ac_exec_ext
in '' $ac_executable_extensions; do
2596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2597 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2607 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2608 if test -n "$ac_ct_CXX"; then
2609 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2610 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2612 { echo "$as_me:$LINENO: result: no" >&5
2613 echo "${ECHO_T}no" >&6; }
2617 test -n "$ac_ct_CXX" && break
2620 if test "x$ac_ct_CXX" = x
; then
2623 case $cross_compiling:$ac_tool_warned in
2625 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2626 whose name does not start with the host triplet. If you think this
2627 configuration is useful to you, please write to autoconf@gnu.org." >&5
2628 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2629 whose name does not start with the host triplet. If you think this
2630 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2631 ac_tool_warned
=yes ;;
2639 # Provide some information about the compiler.
2640 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2641 ac_compiler
=`set X $ac_compile; echo $2`
2642 { (ac_try
="$ac_compiler --version >&5"
2644 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2645 *) ac_try_echo=$ac_try;;
2647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2648 (eval "$ac_compiler --version >&5") 2>&5
2650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2651 (exit $ac_status); }
2652 { (ac_try="$ac_compiler -v >&5"
2654 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2655 *) ac_try_echo
=$ac_try;;
2657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2658 (eval "$ac_compiler -v >&5") 2>&5
2660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2661 (exit $ac_status); }
2662 { (ac_try
="$ac_compiler -V >&5"
2664 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2665 *) ac_try_echo=$ac_try;;
2667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2668 (eval "$ac_compiler -V >&5") 2>&5
2670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671 (exit $ac_status); }
2673 cat >conftest.$ac_ext <<_ACEOF
2676 cat confdefs.h >>conftest.$ac_ext
2677 cat >>conftest.$ac_ext <<_ACEOF
2678 /* end confdefs.h. */
2688 ac_clean_files_save=$ac_clean_files
2689 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2690 # Try to create an executable without -o first, disregard a.out.
2691 # It will help us diagnose broken compilers, and finding out an intuition
2693 { echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2694 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
2695 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2697 # List of possible output files, starting from the most likely.
2698 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2699 # only as a last resort. b.out is created by i960 compilers.
2700 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2702 # The IRIX 6 linker writes into existing files which may not be
2703 # executable, retaining their permissions. Remove them first so a
2704 # subsequent execution test works.
2706 for ac_file in $ac_files
2709 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2710 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2715 if { (ac_try="$ac_link_default"
2717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2718 *) ac_try_echo=$ac_try;;
2720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2721 (eval "$ac_link_default") 2>&5
2723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724 (exit $ac_status); }; then
2725 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2726 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2727 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2728 # so that the user can short-circuit this test for compilers unknown to
2730 for ac_file
in $ac_files ''
2732 test -f "$ac_file" ||
continue
2734 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2737 # We found the default executable, but exeext='' is most
2741 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2743 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2745 # We set ac_cv_exeext here because the later test for it is not
2746 # safe: cross compilers may not add the suffix if given an `-o'
2747 # argument, so we may need to know it at that point already.
2748 # Even if this section looks crufty: it has the advantage of
2755 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2761 { echo "$as_me:$LINENO: result: $ac_file" >&5
2762 echo "${ECHO_T}$ac_file" >&6; }
2763 if test -z "$ac_file"; then
2764 echo "$as_me: failed program was:" >&5
2765 sed 's/^/| /' conftest.
$ac_ext >&5
2767 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2768 See \`config.log' for more details." >&5
2769 echo "$as_me: error: C++ compiler cannot create executables
2770 See \`config.log' for more details." >&2;}
2771 { (exit 77); exit 77; }; }
2774 ac_exeext
=$ac_cv_exeext
2776 # Check that the compiler produces executables we can run. If not, either
2777 # the compiler is broken, or we cross compile.
2778 { echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2779 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
2780 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2781 # If not cross compiling, check that we can run a simple program.
2782 if test "$cross_compiling" != yes; then
2783 if { ac_try
='./$ac_file'
2784 { (case "(($ac_try" in
2785 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2786 *) ac_try_echo=$ac_try;;
2788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2789 (eval "$ac_try") 2>&5
2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 (exit $ac_status); }; }; then
2795 if test "$cross_compiling" = maybe; then
2798 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2799 If you meant to cross compile, use \`--host'.
2800 See \`config.log' for more details.
" >&5
2801 echo "$as_me: error
: cannot run C
++ compiled programs.
2802 If you meant to cross compile
, use \
`--host'.
2803 See \`config.log
' for more details." >&2;}
2804 { (exit 1); exit 1; }; }
2808 { echo "$as_me:$LINENO: result: yes" >&5
2809 echo "${ECHO_T}yes" >&6; }
2811 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2812 ac_clean_files=$ac_clean_files_save
2813 # Check that the compiler produces executables we can run. If not, either
2814 # the compiler is broken, or we cross compile.
2815 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2816 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2817 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2818 echo "${ECHO_T}$cross_compiling" >&6; }
2820 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2821 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2822 if { (ac_try="$ac_link"
2824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2825 *) ac_try_echo=$ac_try;;
2827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2828 (eval "$ac_link") 2>&5
2830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2831 (exit $ac_status); }; then
2832 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2833 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2834 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2836 for ac_file
in conftest.exe conftest conftest.
*; do
2837 test -f "$ac_file" ||
continue
2839 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2840 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2846 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2847 See \`config.log' for more details." >&5
2848 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2849 See \`config.log' for more details." >&2;}
2850 { (exit 1); exit 1; }; }
2853 rm -f conftest
$ac_cv_exeext
2854 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2855 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2857 rm -f conftest.
$ac_ext
2858 EXEEXT
=$ac_cv_exeext
2860 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2861 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2862 if test "${ac_cv_objext+set}" = set; then
2863 echo $ECHO_N "(cached) $ECHO_C" >&6
2865 cat >conftest.
$ac_ext <<_ACEOF
2868 cat confdefs.h
>>conftest.
$ac_ext
2869 cat >>conftest.
$ac_ext <<_ACEOF
2870 /* end confdefs.h. */
2880 rm -f conftest.o conftest.obj
2881 if { (ac_try
="$ac_compile"
2883 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2884 *) ac_try_echo=$ac_try;;
2886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2887 (eval "$ac_compile") 2>&5
2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890 (exit $ac_status); }; then
2891 for ac_file in conftest.o conftest.obj conftest.*; do
2892 test -f "$ac_file" || continue;
2894 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2895 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2900 echo "$as_me: failed program was:" >&5
2901 sed 's/^/| /' conftest.$ac_ext >&5
2903 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2904 See \`config.log
' for more details." >&5
2905 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2906 See \`config.log' for more details.
" >&2;}
2907 { (exit 1); exit 1; }; }
2910 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2912 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2913 echo "${ECHO_T}$ac_cv_objext" >&6; }
2914 OBJEXT=$ac_cv_objext
2916 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
2917 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
2918 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2919 echo $ECHO_N "(cached
) $ECHO_C" >&6
2921 cat >conftest.$ac_ext <<_ACEOF
2924 cat confdefs.h >>conftest.$ac_ext
2925 cat >>conftest.$ac_ext <<_ACEOF
2926 /* end confdefs.h. */
2939 rm -f conftest.$ac_objext
2940 if { (ac_try="$ac_compile"
2942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2943 *) ac_try_echo=$ac_try;;
2945 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2946 (eval "$ac_compile") 2>conftest.er1
2948 grep -v '^ *+' conftest.er1 >conftest.err
2950 cat conftest.err >&5
2951 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2952 (exit $ac_status); } && {
2953 test -z "$ac_cxx_werror_flag" ||
2954 test ! -s conftest.err
2955 } && test -s conftest.$ac_objext; then
2958 echo "$as_me: failed program was
:" >&5
2959 sed 's/^/| /' conftest.$ac_ext >&5
2964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2965 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2968 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
2969 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
2970 GXX=`test $ac_compiler_gnu = yes && echo yes`
2971 ac_test_CXXFLAGS=${CXXFLAGS+set}
2972 ac_save_CXXFLAGS=$CXXFLAGS
2973 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
2974 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
2975 if test "${ac_cv_prog_cxx_g+set}" = set; then
2976 echo $ECHO_N "(cached
) $ECHO_C" >&6
2978 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2979 ac_cxx_werror_flag=yes
2982 cat >conftest.$ac_ext <<_ACEOF
2985 cat confdefs.h >>conftest.$ac_ext
2986 cat >>conftest.$ac_ext <<_ACEOF
2987 /* end confdefs.h. */
2997 rm -f conftest.$ac_objext
2998 if { (ac_try="$ac_compile"
3000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3001 *) ac_try_echo=$ac_try;;
3003 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3004 (eval "$ac_compile") 2>conftest.er1
3006 grep -v '^ *+' conftest.er1 >conftest.err
3008 cat conftest.err >&5
3009 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3010 (exit $ac_status); } && {
3011 test -z "$ac_cxx_werror_flag" ||
3012 test ! -s conftest.err
3013 } && test -s conftest.$ac_objext; then
3014 ac_cv_prog_cxx_g=yes
3016 echo "$as_me: failed program was
:" >&5
3017 sed 's/^/| /' conftest.$ac_ext >&5
3020 cat >conftest.$ac_ext <<_ACEOF
3023 cat confdefs.h >>conftest.$ac_ext
3024 cat >>conftest.$ac_ext <<_ACEOF
3025 /* end confdefs.h. */
3035 rm -f conftest.$ac_objext
3036 if { (ac_try="$ac_compile"
3038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3039 *) ac_try_echo=$ac_try;;
3041 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3042 (eval "$ac_compile") 2>conftest.er1
3044 grep -v '^ *+' conftest.er1 >conftest.err
3046 cat conftest.err >&5
3047 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3048 (exit $ac_status); } && {
3049 test -z "$ac_cxx_werror_flag" ||
3050 test ! -s conftest.err
3051 } && test -s conftest.$ac_objext; then
3054 echo "$as_me: failed program was
:" >&5
3055 sed 's/^/| /' conftest.$ac_ext >&5
3057 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3059 cat >conftest.$ac_ext <<_ACEOF
3062 cat confdefs.h >>conftest.$ac_ext
3063 cat >>conftest.$ac_ext <<_ACEOF
3064 /* end confdefs.h. */
3074 rm -f conftest.$ac_objext
3075 if { (ac_try="$ac_compile"
3077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3078 *) ac_try_echo=$ac_try;;
3080 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3081 (eval "$ac_compile") 2>conftest.er1
3083 grep -v '^ *+' conftest.er1 >conftest.err
3085 cat conftest.err >&5
3086 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3087 (exit $ac_status); } && {
3088 test -z "$ac_cxx_werror_flag" ||
3089 test ! -s conftest.err
3090 } && test -s conftest.$ac_objext; then
3091 ac_cv_prog_cxx_g=yes
3093 echo "$as_me: failed program was
:" >&5
3094 sed 's/^/| /' conftest.$ac_ext >&5
3099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3106 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3108 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3109 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3110 if test "$ac_test_CXXFLAGS" = set; then
3111 CXXFLAGS=$ac_save_CXXFLAGS
3112 elif test $ac_cv_prog_cxx_g = yes; then
3113 if test "$GXX" = yes; then
3119 if test "$GXX" = yes; then
3126 ac_cpp='$CPP $CPPFLAGS'
3127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3130 DEPDIR="${am__leading_dot}deps
"
3132 ac_config_commands="$ac_config_commands depfiles
"
3135 am_make=${MAKE-make}
3136 cat > confinc << 'END'
3141 # If we don't find an include directive, just comment out the code.
3142 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3143 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3147 # First try GNU make style include.
3148 echo "include confinc" > confmf
3149 # We grep out `Entering directory' and `Leaving directory'
3150 # messages which can occur if `w' ends up in MAKEFLAGS.
3151 # In particular we don't look at `^make:' because GNU make might
3152 # be invoked under some other name (usually "gmake"), in which
3153 # case it prints its new name instead of `make'.
3154 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3159 # Now try BSD make style include.
3160 if test "$am__include" = "#"; then
3161 echo '.include "confinc"' > confmf
3162 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3163 am__include
=.include
3170 { echo "$as_me:$LINENO: result: $_am_result" >&5
3171 echo "${ECHO_T}$_am_result" >&6; }
3172 rm -f confinc confmf
3174 # Check whether --enable-dependency-tracking was given.
3175 if test "${enable_dependency_tracking+set}" = set; then
3176 enableval
=$enable_dependency_tracking;
3179 if test "x$enable_dependency_tracking" != xno
; then
3180 am_depcomp
="$ac_aux_dir/depcomp"
3183 if test "x$enable_dependency_tracking" != xno; then
3193 depcc
="$CXX" am_compiler_list
=
3195 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3196 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3197 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3198 echo $ECHO_N "(cached) $ECHO_C" >&6
3200 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3201 # We make a subdir and do the tests there. Otherwise we can end up
3202 # making bogus files that we don't know about and never remove. For
3203 # instance it was reported that on HP-UX the gcc test will end up
3204 # making a dummy file named `D' -- because `-MD' means `put the output
3207 # Copy depcomp to subdir because otherwise we won't find it if we're
3208 # using a relative directory.
3209 cp "$am_depcomp" conftest.dir
3211 # We will build objects and dependencies in a subdirectory because
3212 # it helps to detect inapplicable dependency modes. For instance
3213 # both Tru64's cc and ICC support -MD to output dependencies as a
3214 # side effect of compilation, but ICC will put the dependencies in
3215 # the current directory while Tru64 will put them in the object
3219 am_cv_CXX_dependencies_compiler_type
=none
3220 if test "$am_compiler_list" = ""; then
3221 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3223 for depmode
in $am_compiler_list; do
3224 # Setup a source with many dependencies, because some compilers
3225 # like to wrap large dependency lists on column 80 (with \), and
3226 # we should not choose a depcomp mode which is confused by this.
3228 # We need to recreate these files for each test, as the compiler may
3229 # overwrite some of them when testing with obscure command lines.
3230 # This happens at least with the AIX C compiler.
3232 for i
in 1 2 3 4 5 6; do
3233 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3234 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3235 # Solaris 8's {/usr,}/bin/sh.
3236 touch sub
/conftst
$i.h
3238 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3242 # after this tag, mechanisms are not by side-effect, so they'll
3243 # only be used when explicitly requested
3244 if test "x$enable_dependency_tracking" = xyes
; then
3252 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3253 # mode. It turns out that the SunPro C++ compiler does not properly
3254 # handle `-M -o', and we need to detect this.
3255 if depmode
=$depmode \
3256 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3257 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3258 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3259 >/dev
/null
2>conftest.err
&&
3260 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3261 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3262 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3263 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3264 # icc doesn't choke on unknown options, it will just issue warnings
3265 # or remarks (even with -Werror). So we grep stderr for any message
3266 # that says an option was ignored or not supported.
3267 # When given -MP, icc 7.0 and 7.1 complain thusly:
3268 # icc: Command line warning: ignoring option '-M'; no argument required
3269 # The diagnosis changed in icc 8.0:
3270 # icc: Command line remark: option '-MP' not supported
3271 if (grep 'ignoring option' conftest.err ||
3272 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3273 am_cv_CXX_dependencies_compiler_type
=$depmode
3282 am_cv_CXX_dependencies_compiler_type
=none
3286 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3287 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3288 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3291 test "x$enable_dependency_tracking" != xno \
3292 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3293 am__fastdepCXX_TRUE
=
3294 am__fastdepCXX_FALSE
='#'
3296 am__fastdepCXX_TRUE
='#'
3297 am__fastdepCXX_FALSE
=
3301 # Check whether --enable-shared was given.
3302 if test "${enable_shared+set}" = set; then
3303 enableval
=$enable_shared; p
=${PACKAGE-default}
3305 yes) enable_shared
=yes ;;
3306 no
) enable_shared
=no
;;
3309 # Look at the argument we got. We use all the common list separators.
3310 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3311 for pkg
in $enableval; do
3313 if test "X$pkg" = "X$p"; then
3325 # Check whether --enable-static was given.
3326 if test "${enable_static+set}" = set; then
3327 enableval
=$enable_static; p
=${PACKAGE-default}
3329 yes) enable_static
=yes ;;
3330 no
) enable_static
=no
;;
3333 # Look at the argument we got. We use all the common list separators.
3334 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3335 for pkg
in $enableval; do
3337 if test "X$pkg" = "X$p"; then
3349 # Check whether --enable-fast-install was given.
3350 if test "${enable_fast_install+set}" = set; then
3351 enableval
=$enable_fast_install; p
=${PACKAGE-default}
3353 yes) enable_fast_install
=yes ;;
3354 no
) enable_fast_install
=no
;;
3356 enable_fast_install
=no
3357 # Look at the argument we got. We use all the common list separators.
3358 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3359 for pkg
in $enableval; do
3361 if test "X$pkg" = "X$p"; then
3362 enable_fast_install
=yes
3369 enable_fast_install
=yes
3373 # Make sure we can run config.sub.
3374 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3375 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3376 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3377 { (exit 1); exit 1; }; }
3379 { echo "$as_me:$LINENO: checking build system type" >&5
3380 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3381 if test "${ac_cv_build+set}" = set; then
3382 echo $ECHO_N "(cached) $ECHO_C" >&6
3384 ac_build_alias
=$build_alias
3385 test "x$ac_build_alias" = x
&&
3386 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3387 test "x$ac_build_alias" = x
&&
3388 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3389 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3390 { (exit 1); exit 1; }; }
3391 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3392 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3393 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3394 { (exit 1); exit 1; }; }
3397 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3398 echo "${ECHO_T}$ac_cv_build" >&6; }
3399 case $ac_cv_build in
3401 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3402 echo "$as_me: error: invalid value of canonical build" >&2;}
3403 { (exit 1); exit 1; }; };;
3406 ac_save_IFS
=$IFS; IFS
='-'
3412 # Remember, the first character of IFS is used to create $*,
3413 # except with old shells:
3416 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3419 { echo "$as_me:$LINENO: checking host system type" >&5
3420 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3421 if test "${ac_cv_host+set}" = set; then
3422 echo $ECHO_N "(cached) $ECHO_C" >&6
3424 if test "x$host_alias" = x
; then
3425 ac_cv_host
=$ac_cv_build
3427 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3428 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3429 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3430 { (exit 1); exit 1; }; }
3434 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3435 echo "${ECHO_T}$ac_cv_host" >&6; }
3438 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3439 echo "$as_me: error: invalid value of canonical host" >&2;}
3440 { (exit 1); exit 1; }; };;
3443 ac_save_IFS
=$IFS; IFS
='-'
3449 # Remember, the first character of IFS is used to create $*,
3450 # except with old shells:
3453 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3457 ac_cpp
='$CPP $CPPFLAGS'
3458 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3459 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3460 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3461 if test -n "$ac_tool_prefix"; then
3462 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3463 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3464 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3466 if test "${ac_cv_prog_CC+set}" = set; then
3467 echo $ECHO_N "(cached) $ECHO_C" >&6
3469 if test -n "$CC"; then
3470 ac_cv_prog_CC
="$CC" # Let the user override the test.
3472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3476 test -z "$as_dir" && as_dir
=.
3477 for ac_exec_ext
in '' $ac_executable_extensions; do
3478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3479 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3490 if test -n "$CC"; then
3491 { echo "$as_me:$LINENO: result: $CC" >&5
3492 echo "${ECHO_T}$CC" >&6; }
3494 { echo "$as_me:$LINENO: result: no" >&5
3495 echo "${ECHO_T}no" >&6; }
3500 if test -z "$ac_cv_prog_CC"; then
3502 # Extract the first word of "gcc", so it can be a program name with args.
3503 set dummy gcc
; ac_word
=$2
3504 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3506 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3507 echo $ECHO_N "(cached) $ECHO_C" >&6
3509 if test -n "$ac_ct_CC"; then
3510 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3516 test -z "$as_dir" && as_dir
=.
3517 for ac_exec_ext
in '' $ac_executable_extensions; do
3518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3519 ac_cv_prog_ac_ct_CC
="gcc"
3520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3529 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3530 if test -n "$ac_ct_CC"; then
3531 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3532 echo "${ECHO_T}$ac_ct_CC" >&6; }
3534 { echo "$as_me:$LINENO: result: no" >&5
3535 echo "${ECHO_T}no" >&6; }
3538 if test "x$ac_ct_CC" = x
; then
3541 case $cross_compiling:$ac_tool_warned in
3543 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3544 whose name does not start with the host triplet. If you think this
3545 configuration is useful to you, please write to autoconf@gnu.org." >&5
3546 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3547 whose name does not start with the host triplet. If you think this
3548 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3549 ac_tool_warned
=yes ;;
3557 if test -z "$CC"; then
3558 if test -n "$ac_tool_prefix"; then
3559 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3560 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3561 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3563 if test "${ac_cv_prog_CC+set}" = set; then
3564 echo $ECHO_N "(cached) $ECHO_C" >&6
3566 if test -n "$CC"; then
3567 ac_cv_prog_CC
="$CC" # Let the user override the test.
3569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3573 test -z "$as_dir" && as_dir
=.
3574 for ac_exec_ext
in '' $ac_executable_extensions; do
3575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3576 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3587 if test -n "$CC"; then
3588 { echo "$as_me:$LINENO: result: $CC" >&5
3589 echo "${ECHO_T}$CC" >&6; }
3591 { echo "$as_me:$LINENO: result: no" >&5
3592 echo "${ECHO_T}no" >&6; }
3598 if test -z "$CC"; then
3599 # Extract the first word of "cc", so it can be a program name with args.
3600 set dummy cc
; ac_word
=$2
3601 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3603 if test "${ac_cv_prog_CC+set}" = set; then
3604 echo $ECHO_N "(cached) $ECHO_C" >&6
3606 if test -n "$CC"; then
3607 ac_cv_prog_CC
="$CC" # Let the user override the test.
3610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3614 test -z "$as_dir" && as_dir
=.
3615 for ac_exec_ext
in '' $ac_executable_extensions; do
3616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3617 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3618 ac_prog_rejected
=yes
3622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3629 if test $ac_prog_rejected = yes; then
3630 # We found a bogon in the path, so make sure we never use it.
3631 set dummy
$ac_cv_prog_CC
3633 if test $# != 0; then
3634 # We chose a different compiler from the bogus one.
3635 # However, it has the same basename, so the bogon will be chosen
3636 # first if we set CC to just the basename; use the full file name.
3638 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3644 if test -n "$CC"; then
3645 { echo "$as_me:$LINENO: result: $CC" >&5
3646 echo "${ECHO_T}$CC" >&6; }
3648 { echo "$as_me:$LINENO: result: no" >&5
3649 echo "${ECHO_T}no" >&6; }
3654 if test -z "$CC"; then
3655 if test -n "$ac_tool_prefix"; then
3656 for ac_prog
in cl.exe
3658 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3659 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3660 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3662 if test "${ac_cv_prog_CC+set}" = set; then
3663 echo $ECHO_N "(cached) $ECHO_C" >&6
3665 if test -n "$CC"; then
3666 ac_cv_prog_CC
="$CC" # Let the user override the test.
3668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3672 test -z "$as_dir" && as_dir
=.
3673 for ac_exec_ext
in '' $ac_executable_extensions; do
3674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3675 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3686 if test -n "$CC"; then
3687 { echo "$as_me:$LINENO: result: $CC" >&5
3688 echo "${ECHO_T}$CC" >&6; }
3690 { echo "$as_me:$LINENO: result: no" >&5
3691 echo "${ECHO_T}no" >&6; }
3695 test -n "$CC" && break
3698 if test -z "$CC"; then
3700 for ac_prog
in cl.exe
3702 # Extract the first word of "$ac_prog", so it can be a program name with args.
3703 set dummy
$ac_prog; ac_word
=$2
3704 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3706 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3707 echo $ECHO_N "(cached) $ECHO_C" >&6
3709 if test -n "$ac_ct_CC"; then
3710 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3716 test -z "$as_dir" && as_dir
=.
3717 for ac_exec_ext
in '' $ac_executable_extensions; do
3718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3719 ac_cv_prog_ac_ct_CC
="$ac_prog"
3720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3729 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3730 if test -n "$ac_ct_CC"; then
3731 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3732 echo "${ECHO_T}$ac_ct_CC" >&6; }
3734 { echo "$as_me:$LINENO: result: no" >&5
3735 echo "${ECHO_T}no" >&6; }
3739 test -n "$ac_ct_CC" && break
3742 if test "x$ac_ct_CC" = x
; then
3745 case $cross_compiling:$ac_tool_warned in
3747 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3748 whose name does not start with the host triplet. If you think this
3749 configuration is useful to you, please write to autoconf@gnu.org." >&5
3750 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3751 whose name does not start with the host triplet. If you think this
3752 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3753 ac_tool_warned
=yes ;;
3762 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3763 See \`config.log' for more details." >&5
3764 echo "$as_me: error: no acceptable C compiler found in \$PATH
3765 See \`config.log' for more details." >&2;}
3766 { (exit 1); exit 1; }; }
3768 # Provide some information about the compiler.
3769 echo "$as_me:$LINENO: checking for C compiler version" >&5
3770 ac_compiler
=`set X $ac_compile; echo $2`
3771 { (ac_try
="$ac_compiler --version >&5"
3773 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3774 *) ac_try_echo=$ac_try;;
3776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3777 (eval "$ac_compiler --version >&5") 2>&5
3779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3780 (exit $ac_status); }
3781 { (ac_try="$ac_compiler -v >&5"
3783 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3784 *) ac_try_echo
=$ac_try;;
3786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3787 (eval "$ac_compiler -v >&5") 2>&5
3789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3790 (exit $ac_status); }
3791 { (ac_try
="$ac_compiler -V >&5"
3793 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3794 *) ac_try_echo=$ac_try;;
3796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3797 (eval "$ac_compiler -V >&5") 2>&5
3799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3800 (exit $ac_status); }
3802 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3803 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3804 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3805 echo $ECHO_N "(cached) $ECHO_C" >&6
3807 cat >conftest.$ac_ext <<_ACEOF
3810 cat confdefs.h >>conftest.$ac_ext
3811 cat >>conftest.$ac_ext <<_ACEOF
3812 /* end confdefs.h. */
3825 rm -f conftest.$ac_objext
3826 if { (ac_try="$ac_compile"
3828 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3829 *) ac_try_echo
=$ac_try;;
3831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3832 (eval "$ac_compile") 2>conftest.er1
3834 grep -v '^ *+' conftest.er1
>conftest.err
3836 cat conftest.err
>&5
3837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3838 (exit $ac_status); } && {
3839 test -z "$ac_c_werror_flag" ||
3840 test ! -s conftest.err
3841 } && test -s conftest.
$ac_objext; then
3844 echo "$as_me: failed program was:" >&5
3845 sed 's/^/| /' conftest.
$ac_ext >&5
3850 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3851 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3854 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3855 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3856 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3857 ac_test_CFLAGS
=${CFLAGS+set}
3858 ac_save_CFLAGS
=$CFLAGS
3859 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3860 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3861 if test "${ac_cv_prog_cc_g+set}" = set; then
3862 echo $ECHO_N "(cached) $ECHO_C" >&6
3864 ac_save_c_werror_flag
=$ac_c_werror_flag
3865 ac_c_werror_flag
=yes
3868 cat >conftest.
$ac_ext <<_ACEOF
3871 cat confdefs.h
>>conftest.
$ac_ext
3872 cat >>conftest.
$ac_ext <<_ACEOF
3873 /* end confdefs.h. */
3883 rm -f conftest.
$ac_objext
3884 if { (ac_try
="$ac_compile"
3886 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3887 *) ac_try_echo=$ac_try;;
3889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3890 (eval "$ac_compile") 2>conftest.er1
3892 grep -v '^ *+' conftest.er1 >conftest.err
3894 cat conftest.err >&5
3895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3896 (exit $ac_status); } && {
3897 test -z "$ac_c_werror_flag" ||
3898 test ! -s conftest.err
3899 } && test -s conftest.$ac_objext; then
3902 echo "$as_me: failed program was:" >&5
3903 sed 's/^/| /' conftest.$ac_ext >&5
3906 cat >conftest.$ac_ext <<_ACEOF
3909 cat confdefs.h >>conftest.$ac_ext
3910 cat >>conftest.$ac_ext <<_ACEOF
3911 /* end confdefs.h. */
3921 rm -f conftest.$ac_objext
3922 if { (ac_try="$ac_compile"
3924 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3925 *) ac_try_echo
=$ac_try;;
3927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3928 (eval "$ac_compile") 2>conftest.er1
3930 grep -v '^ *+' conftest.er1
>conftest.err
3932 cat conftest.err
>&5
3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3934 (exit $ac_status); } && {
3935 test -z "$ac_c_werror_flag" ||
3936 test ! -s conftest.err
3937 } && test -s conftest.
$ac_objext; then
3940 echo "$as_me: failed program was:" >&5
3941 sed 's/^/| /' conftest.
$ac_ext >&5
3943 ac_c_werror_flag
=$ac_save_c_werror_flag
3945 cat >conftest.
$ac_ext <<_ACEOF
3948 cat confdefs.h
>>conftest.
$ac_ext
3949 cat >>conftest.
$ac_ext <<_ACEOF
3950 /* end confdefs.h. */
3960 rm -f conftest.
$ac_objext
3961 if { (ac_try
="$ac_compile"
3963 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3964 *) ac_try_echo=$ac_try;;
3966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3967 (eval "$ac_compile") 2>conftest.er1
3969 grep -v '^ *+' conftest.er1 >conftest.err
3971 cat conftest.err >&5
3972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3973 (exit $ac_status); } && {
3974 test -z "$ac_c_werror_flag" ||
3975 test ! -s conftest.err
3976 } && test -s conftest.$ac_objext; then
3979 echo "$as_me: failed program was:" >&5
3980 sed 's/^/| /' conftest.$ac_ext >&5
3985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3992 ac_c_werror_flag=$ac_save_c_werror_flag
3994 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3995 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3996 if test "$ac_test_CFLAGS" = set; then
3997 CFLAGS=$ac_save_CFLAGS
3998 elif test $ac_cv_prog_cc_g = yes; then
3999 if test "$GCC" = yes; then
4005 if test "$GCC" = yes; then
4011 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4012 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4013 if test "${ac_cv_prog_cc_c89+set}" = set; then
4014 echo $ECHO_N "(cached) $ECHO_C" >&6
4016 ac_cv_prog_cc_c89=no
4018 cat >conftest.$ac_ext <<_ACEOF
4021 cat confdefs.h >>conftest.$ac_ext
4022 cat >>conftest.$ac_ext <<_ACEOF
4023 /* end confdefs.h. */
4026 #include <sys/types.h>
4027 #include <sys/stat.h>
4028 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4029 struct buf { int x; };
4030 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4031 static char *e (p, i)
4037 static char *f (char * (*g) (char **, int), char **p, ...)
4042 s = g (p, va_arg (v,int));
4047 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4048 function prototypes and stuff, but not '\xHH' hex character constants.
4049 These don't provoke an error unfortunately, instead are silently treated
4050 as 'x'. The following induces an error, until -std is added to get
4051 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4052 array size at least. It's necessary to write '\x00'==0 to get something
4053 that's true only with -std. */
4054 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4056 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4057 inside strings and character constants. */
4059 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4061 int test (int i, double x);
4062 struct s1 {int (*f) (int a);};
4063 struct s2 {int (*f) (double a);};
4064 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4070 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4075 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4076 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4078 CC="$ac_save_CC $ac_arg"
4079 rm -f conftest.$ac_objext
4080 if { (ac_try="$ac_compile"
4082 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4083 *) ac_try_echo
=$ac_try;;
4085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4086 (eval "$ac_compile") 2>conftest.er1
4088 grep -v '^ *+' conftest.er1
>conftest.err
4090 cat conftest.err
>&5
4091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4092 (exit $ac_status); } && {
4093 test -z "$ac_c_werror_flag" ||
4094 test ! -s conftest.err
4095 } && test -s conftest.
$ac_objext; then
4096 ac_cv_prog_cc_c89
=$ac_arg
4098 echo "$as_me: failed program was:" >&5
4099 sed 's/^/| /' conftest.
$ac_ext >&5
4104 rm -f core conftest.err conftest.
$ac_objext
4105 test "x$ac_cv_prog_cc_c89" != "xno" && break
4107 rm -f conftest.
$ac_ext
4112 case "x$ac_cv_prog_cc_c89" in
4114 { echo "$as_me:$LINENO: result: none needed" >&5
4115 echo "${ECHO_T}none needed" >&6; } ;;
4117 { echo "$as_me:$LINENO: result: unsupported" >&5
4118 echo "${ECHO_T}unsupported" >&6; } ;;
4120 CC
="$CC $ac_cv_prog_cc_c89"
4121 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4122 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4127 ac_cpp
='$CPP $CPPFLAGS'
4128 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4129 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4130 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4132 depcc
="$CC" am_compiler_list
=
4134 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4135 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4136 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4137 echo $ECHO_N "(cached) $ECHO_C" >&6
4139 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4140 # We make a subdir and do the tests there. Otherwise we can end up
4141 # making bogus files that we don't know about and never remove. For
4142 # instance it was reported that on HP-UX the gcc test will end up
4143 # making a dummy file named `D' -- because `-MD' means `put the output
4146 # Copy depcomp to subdir because otherwise we won't find it if we're
4147 # using a relative directory.
4148 cp "$am_depcomp" conftest.dir
4150 # We will build objects and dependencies in a subdirectory because
4151 # it helps to detect inapplicable dependency modes. For instance
4152 # both Tru64's cc and ICC support -MD to output dependencies as a
4153 # side effect of compilation, but ICC will put the dependencies in
4154 # the current directory while Tru64 will put them in the object
4158 am_cv_CC_dependencies_compiler_type
=none
4159 if test "$am_compiler_list" = ""; then
4160 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4162 for depmode
in $am_compiler_list; do
4163 # Setup a source with many dependencies, because some compilers
4164 # like to wrap large dependency lists on column 80 (with \), and
4165 # we should not choose a depcomp mode which is confused by this.
4167 # We need to recreate these files for each test, as the compiler may
4168 # overwrite some of them when testing with obscure command lines.
4169 # This happens at least with the AIX C compiler.
4171 for i
in 1 2 3 4 5 6; do
4172 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4173 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4174 # Solaris 8's {/usr,}/bin/sh.
4175 touch sub
/conftst
$i.h
4177 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4181 # after this tag, mechanisms are not by side-effect, so they'll
4182 # only be used when explicitly requested
4183 if test "x$enable_dependency_tracking" = xyes
; then
4191 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4192 # mode. It turns out that the SunPro C++ compiler does not properly
4193 # handle `-M -o', and we need to detect this.
4194 if depmode
=$depmode \
4195 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4196 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4197 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4198 >/dev
/null
2>conftest.err
&&
4199 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4200 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4201 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4202 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4203 # icc doesn't choke on unknown options, it will just issue warnings
4204 # or remarks (even with -Werror). So we grep stderr for any message
4205 # that says an option was ignored or not supported.
4206 # When given -MP, icc 7.0 and 7.1 complain thusly:
4207 # icc: Command line warning: ignoring option '-M'; no argument required
4208 # The diagnosis changed in icc 8.0:
4209 # icc: Command line remark: option '-MP' not supported
4210 if (grep 'ignoring option' conftest.err ||
4211 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4212 am_cv_CC_dependencies_compiler_type
=$depmode
4221 am_cv_CC_dependencies_compiler_type
=none
4225 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4226 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4227 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4230 test "x$enable_dependency_tracking" != xno \
4231 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4233 am__fastdepCC_FALSE
='#'
4235 am__fastdepCC_TRUE
='#'
4236 am__fastdepCC_FALSE
=
4240 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4241 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4242 if test "${lt_cv_path_SED+set}" = set; then
4243 echo $ECHO_N "(cached) $ECHO_C" >&6
4245 # Loop through the user's path and test for sed and gsed.
4246 # Then use that list of sed's as ones to test for truncation.
4247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4251 test -z "$as_dir" && as_dir
=.
4252 for lt_ac_prog
in sed gsed
; do
4253 for ac_exec_ext
in '' $ac_executable_extensions; do
4254 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
4255 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4263 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4264 # along with /bin/sed that truncates output.
4265 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4266 test ! -f $lt_ac_sed && continue
4267 cat /dev
/null
> conftest.
in
4269 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4270 # Check for GNU sed and select it if it is found.
4271 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4272 lt_cv_path_SED
=$lt_ac_sed
4276 cat conftest.
in conftest.
in >conftest.tmp
4277 mv conftest.tmp conftest.
in
4278 cp conftest.
in conftest.
nl
4280 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4281 cmp -s conftest.out conftest.
nl ||
break
4282 # 10000 chars as input seems more than enough
4283 test $lt_ac_count -gt 10 && break
4284 lt_ac_count
=`expr $lt_ac_count + 1`
4285 if test $lt_ac_count -gt $lt_ac_max; then
4286 lt_ac_max
=$lt_ac_count
4287 lt_cv_path_SED
=$lt_ac_sed
4296 { echo "$as_me:$LINENO: result: $SED" >&5
4297 echo "${ECHO_T}$SED" >&6; }
4299 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4300 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4301 if test "${ac_cv_path_GREP+set}" = set; then
4302 echo $ECHO_N "(cached) $ECHO_C" >&6
4304 # Extract the first word of "grep ggrep" to use in msg output
4305 if test -z "$GREP"; then
4306 set dummy
grep ggrep
; ac_prog_name
=$2
4307 if test "${ac_cv_path_GREP+set}" = set; then
4308 echo $ECHO_N "(cached) $ECHO_C" >&6
4310 ac_path_GREP_found
=false
4311 # Loop through the user's path and test for each of PROGNAME-LIST
4312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4313 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4316 test -z "$as_dir" && as_dir
=.
4317 for ac_prog
in grep ggrep
; do
4318 for ac_exec_ext
in '' $ac_executable_extensions; do
4319 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4320 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4321 # Check for GNU ac_path_GREP and select it if it is found.
4322 # Check for GNU $ac_path_GREP
4323 case `"$ac_path_GREP" --version 2>&1` in
4325 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4328 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4331 cat "conftest.in" "conftest.in" >"conftest.tmp"
4332 mv "conftest.tmp" "conftest.in"
4333 cp "conftest.in" "conftest.nl"
4334 echo 'GREP' >> "conftest.nl"
4335 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4336 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4337 ac_count
=`expr $ac_count + 1`
4338 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4339 # Best one so far, save it but keep looking for a better one
4340 ac_cv_path_GREP
="$ac_path_GREP"
4341 ac_path_GREP_max
=$ac_count
4343 # 10*(2^10) chars as input seems more than enough
4344 test $ac_count -gt 10 && break
4346 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4350 $ac_path_GREP_found && break 3
4360 GREP
="$ac_cv_path_GREP"
4361 if test -z "$GREP"; then
4362 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4363 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4364 { (exit 1); exit 1; }; }
4368 ac_cv_path_GREP
=$GREP
4373 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4374 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4375 GREP
="$ac_cv_path_GREP"
4378 { echo "$as_me:$LINENO: checking for egrep" >&5
4379 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4380 if test "${ac_cv_path_EGREP+set}" = set; then
4381 echo $ECHO_N "(cached) $ECHO_C" >&6
4383 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4384 then ac_cv_path_EGREP
="$GREP -E"
4386 # Extract the first word of "egrep" to use in msg output
4387 if test -z "$EGREP"; then
4388 set dummy
egrep; ac_prog_name
=$2
4389 if test "${ac_cv_path_EGREP+set}" = set; then
4390 echo $ECHO_N "(cached) $ECHO_C" >&6
4392 ac_path_EGREP_found
=false
4393 # Loop through the user's path and test for each of PROGNAME-LIST
4394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4395 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4398 test -z "$as_dir" && as_dir
=.
4399 for ac_prog
in egrep; do
4400 for ac_exec_ext
in '' $ac_executable_extensions; do
4401 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4402 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4403 # Check for GNU ac_path_EGREP and select it if it is found.
4404 # Check for GNU $ac_path_EGREP
4405 case `"$ac_path_EGREP" --version 2>&1` in
4407 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4410 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4413 cat "conftest.in" "conftest.in" >"conftest.tmp"
4414 mv "conftest.tmp" "conftest.in"
4415 cp "conftest.in" "conftest.nl"
4416 echo 'EGREP' >> "conftest.nl"
4417 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4418 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4419 ac_count
=`expr $ac_count + 1`
4420 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4421 # Best one so far, save it but keep looking for a better one
4422 ac_cv_path_EGREP
="$ac_path_EGREP"
4423 ac_path_EGREP_max
=$ac_count
4425 # 10*(2^10) chars as input seems more than enough
4426 test $ac_count -gt 10 && break
4428 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4432 $ac_path_EGREP_found && break 3
4442 EGREP
="$ac_cv_path_EGREP"
4443 if test -z "$EGREP"; then
4444 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4445 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4446 { (exit 1); exit 1; }; }
4450 ac_cv_path_EGREP
=$EGREP
4456 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4457 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4458 EGREP
="$ac_cv_path_EGREP"
4462 # Check whether --with-gnu-ld was given.
4463 if test "${with_gnu_ld+set}" = set; then
4464 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4470 if test "$GCC" = yes; then
4471 # Check if gcc -print-prog-name=ld gives a path.
4472 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4473 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4476 # gcc leaves a trailing carriage return which upsets mingw
4477 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4479 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4482 # Accept absolute paths.
4484 re_direlt
='/[^/][^/]*/\.\./'
4485 # Canonicalize the pathname of ld
4486 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4487 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4488 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4490 test -z "$LD" && LD
="$ac_prog"
4493 # If it fails, then pretend we aren't using GCC.
4497 # If it is relative, then search for the first ld in PATH.
4501 elif test "$with_gnu_ld" = yes; then
4502 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4503 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4505 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4506 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4508 if test "${lt_cv_path_LD+set}" = set; then
4509 echo $ECHO_N "(cached) $ECHO_C" >&6
4511 if test -z "$LD"; then
4512 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4513 for ac_dir
in $PATH; do
4515 test -z "$ac_dir" && ac_dir
=.
4516 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4517 lt_cv_path_LD
="$ac_dir/$ac_prog"
4518 # Check to see if the program is GNU ld. I'd rather use --version,
4519 # but apparently some variants of GNU ld only accept -v.
4520 # Break only if it was the GNU/non-GNU ld that we prefer.
4521 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4522 *GNU
* |
*'with BFD'*)
4523 test "$with_gnu_ld" != no
&& break
4526 test "$with_gnu_ld" != yes && break
4533 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4538 if test -n "$LD"; then
4539 { echo "$as_me:$LINENO: result: $LD" >&5
4540 echo "${ECHO_T}$LD" >&6; }
4542 { echo "$as_me:$LINENO: result: no" >&5
4543 echo "${ECHO_T}no" >&6; }
4545 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4546 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4547 { (exit 1); exit 1; }; }
4548 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4549 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4550 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4551 echo $ECHO_N "(cached) $ECHO_C" >&6
4553 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4554 case `$LD -v 2>&1 </dev/null` in
4555 *GNU
* |
*'with BFD'*)
4556 lt_cv_prog_gnu_ld
=yes
4559 lt_cv_prog_gnu_ld
=no
4563 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4564 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4565 with_gnu_ld
=$lt_cv_prog_gnu_ld
4568 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4569 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4570 if test "${lt_cv_ld_reload_flag+set}" = set; then
4571 echo $ECHO_N "(cached) $ECHO_C" >&6
4573 lt_cv_ld_reload_flag
='-r'
4575 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4576 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4577 reload_flag
=$lt_cv_ld_reload_flag
4578 case $reload_flag in
4580 *) reload_flag
=" $reload_flag" ;;
4582 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4585 if test "$GCC" = yes; then
4586 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4588 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4593 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4594 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4595 if test "${lt_cv_path_NM+set}" = set; then
4596 echo $ECHO_N "(cached) $ECHO_C" >&6
4598 if test -n "$NM"; then
4599 # Let the user override the test.
4602 lt_nm_to_check
="${ac_tool_prefix}nm"
4603 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4604 lt_nm_to_check
="$lt_nm_to_check nm"
4606 for lt_tmp_nm
in $lt_nm_to_check; do
4607 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4608 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4610 test -z "$ac_dir" && ac_dir
=.
4611 tmp_nm
="$ac_dir/$lt_tmp_nm"
4612 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4613 # Check to see if the nm accepts a BSD-compat flag.
4614 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4615 # nm: unknown option "B" ignored
4616 # Tru64's nm complains that /dev/null is an invalid object file
4617 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4618 */dev
/null
* |
*'Invalid file or object type'*)
4619 lt_cv_path_NM
="$tmp_nm -B"
4623 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4625 lt_cv_path_NM
="$tmp_nm -p"
4629 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4630 continue # so that we can try to find one that supports BSD flags
4639 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4642 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4643 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4646 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4647 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4649 if test "$LN_S" = "ln -s"; then
4650 { echo "$as_me:$LINENO: result: yes" >&5
4651 echo "${ECHO_T}yes" >&6; }
4653 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4654 echo "${ECHO_T}no, using $LN_S" >&6; }
4657 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4658 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4659 if test "${lt_cv_deplibs_check_method+set}" = set; then
4660 echo $ECHO_N "(cached) $ECHO_C" >&6
4662 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4663 lt_cv_file_magic_test_file
=
4664 lt_cv_deplibs_check_method
='unknown'
4665 # Need to set the preceding variable on all platforms that support
4666 # interlibrary dependencies.
4667 # 'none' -- dependencies not supported.
4668 # `unknown' -- same as none, but documents that we really don't know.
4669 # 'pass_all' -- all dependencies passed with no checks.
4670 # 'test_compile' -- check by making test program.
4671 # 'file_magic [[regex]]' -- check by looking for files in library path
4672 # which responds to the $file_magic_cmd with a given extended regex.
4673 # If you have `file' or equivalent on your system and you're not sure
4674 # whether `pass_all' will *always* work, you probably want this one.
4678 lt_cv_deplibs_check_method
=pass_all
4682 lt_cv_deplibs_check_method
=pass_all
4686 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4687 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4688 lt_cv_file_magic_test_file
=/shlib
/libc.so
4692 # func_win32_libid is a shell function defined in ltmain.sh
4693 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4694 lt_cv_file_magic_cmd
='func_win32_libid'
4698 # Base MSYS/MinGW do not provide the 'file' command needed by
4699 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4700 # unless we find 'file', for example because we are cross-compiling.
4701 if ( file / ) >/dev
/null
2>&1; then
4702 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4703 lt_cv_file_magic_cmd
='func_win32_libid'
4705 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4706 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4710 darwin
* | rhapsody
*)
4711 lt_cv_deplibs_check_method
=pass_all
4714 freebsd
* | dragonfly
*)
4715 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4718 # Not sure whether the presence of OpenBSD here was a mistake.
4719 # Let's accept both of them until this is cleared up.
4720 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4721 lt_cv_file_magic_cmd
=/usr
/bin
/file
4722 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4726 lt_cv_deplibs_check_method
=pass_all
4731 lt_cv_deplibs_check_method
=pass_all
4734 hpux10.20
* | hpux11
*)
4735 lt_cv_file_magic_cmd
=/usr
/bin
/file
4738 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4739 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4742 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
4743 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4746 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4747 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4753 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4754 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4757 irix5
* | irix6
* | nonstopux
*)
4759 *-32|
*"-32 ") libmagic
=32-bit;;
4760 *-n32|
*"-n32 ") libmagic
=N32
;;
4761 *-64|
*"-64 ") libmagic
=64-bit;;
4762 *) libmagic
=never-match
;;
4764 lt_cv_deplibs_check_method
=pass_all
4767 # This must be Linux ELF.
4768 linux
* | k
*bsd
*-gnu)
4769 lt_cv_deplibs_check_method
=pass_all
4772 netbsd
* | netbsdelf
*-gnu)
4773 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4774 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4776 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4781 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4782 lt_cv_file_magic_cmd
=/usr
/bin
/file
4783 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4787 lt_cv_deplibs_check_method
=unknown
4791 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4792 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4794 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4798 osf3
* | osf4
* | osf5
*)
4799 lt_cv_deplibs_check_method
=pass_all
4803 lt_cv_deplibs_check_method
=pass_all
4807 lt_cv_deplibs_check_method
=pass_all
4811 case $host_vendor in
4813 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]'
4814 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4817 lt_cv_deplibs_check_method
=pass_all
4820 lt_cv_file_magic_cmd
='/bin/file'
4821 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4824 lt_cv_file_magic_cmd
='/bin/file'
4825 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4826 lt_cv_file_magic_test_file
=/lib
/libc.so
4829 lt_cv_deplibs_check_method
=pass_all
4832 lt_cv_deplibs_check_method
=pass_all
4837 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4838 lt_cv_deplibs_check_method
=pass_all
4843 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4844 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4845 file_magic_cmd
=$lt_cv_file_magic_cmd
4846 deplibs_check_method
=$lt_cv_deplibs_check_method
4847 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4852 # If no C compiler was specified, use CC.
4855 # If no C compiler flags were specified, use CFLAGS.
4856 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4858 # Allow CC to be a program name with arguments.
4862 # Check whether --enable-libtool-lock was given.
4863 if test "${enable_libtool_lock+set}" = set; then
4864 enableval
=$enable_libtool_lock;
4867 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4869 # Some flags need to be propagated to the compiler or linker for good
4873 # Find out which ABI we are using.
4874 echo 'int i;' > conftest.
$ac_ext
4875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4876 (eval $ac_compile) 2>&5
4878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4879 (exit $ac_status); }; then
4880 case `/usr/bin/file conftest.$ac_objext` in
4892 # Find out which ABI we are using.
4893 echo '#line 4893 "configure"' > conftest.
$ac_ext
4894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4895 (eval $ac_compile) 2>&5
4897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4898 (exit $ac_status); }; then
4899 if test "$lt_cv_prog_gnu_ld" = yes; then
4900 case `/usr/bin/file conftest.$ac_objext` in
4902 LD
="${LD-ld} -melf32bsmip"
4905 LD
="${LD-ld} -melf32bmipn32"
4908 LD
="${LD-ld} -melf64bmip"
4912 case `/usr/bin/file conftest.$ac_objext` in
4928 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
4929 s390
*-*linux
*|sparc
*-*linux
*)
4930 # Find out which ABI we are using.
4931 echo 'int i;' > conftest.
$ac_ext
4932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4933 (eval $ac_compile) 2>&5
4935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4936 (exit $ac_status); }; then
4937 case `/usr/bin/file conftest.o` in
4940 x86_64-
*kfreebsd
*-gnu)
4941 LD
="${LD-ld} -m elf_i386_fbsd"
4944 LD
="${LD-ld} -m elf_i386"
4946 ppc64-
*linux
*|powerpc64-
*linux
*)
4947 LD
="${LD-ld} -m elf32ppclinux"
4950 LD
="${LD-ld} -m elf_s390"
4953 LD
="${LD-ld} -m elf32_sparc"
4959 x86_64-
*kfreebsd
*-gnu)
4960 LD
="${LD-ld} -m elf_x86_64_fbsd"
4963 LD
="${LD-ld} -m elf_x86_64"
4965 ppc
*-*linux
*|powerpc
*-*linux
*)
4966 LD
="${LD-ld} -m elf64ppc"
4969 LD
="${LD-ld} -m elf64_s390"
4972 LD
="${LD-ld} -m elf64_sparc"
4982 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4983 SAVE_CFLAGS
="$CFLAGS"
4984 CFLAGS
="$CFLAGS -belf"
4985 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4986 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4987 if test "${lt_cv_cc_needs_belf+set}" = set; then
4988 echo $ECHO_N "(cached) $ECHO_C" >&6
4991 ac_cpp
='$CPP $CPPFLAGS'
4992 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4993 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4994 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4996 cat >conftest.
$ac_ext <<_ACEOF
4999 cat confdefs.h
>>conftest.
$ac_ext
5000 cat >>conftest.
$ac_ext <<_ACEOF
5001 /* end confdefs.h. */
5011 rm -f conftest.
$ac_objext conftest
$ac_exeext
5012 if { (ac_try
="$ac_link"
5014 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5015 *) ac_try_echo=$ac_try;;
5017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5018 (eval "$ac_link") 2>conftest.er1
5020 grep -v '^ *+' conftest.er1 >conftest.err
5022 cat conftest.err >&5
5023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5024 (exit $ac_status); } && {
5025 test -z "$ac_c_werror_flag" ||
5026 test ! -s conftest.err
5027 } && test -s conftest$ac_exeext &&
5028 $as_test_x conftest$ac_exeext; then
5029 lt_cv_cc_needs_belf=yes
5031 echo "$as_me: failed program was:" >&5
5032 sed 's/^/| /' conftest.$ac_ext >&5
5034 lt_cv_cc_needs_belf=no
5037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5038 conftest$ac_exeext conftest.$ac_ext
5040 ac_cpp='$CPP $CPPFLAGS'
5041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5046 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5047 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5048 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5049 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5050 CFLAGS="$SAVE_CFLAGS"
5054 # Find out which ABI we are using.
5055 echo 'int i;' > conftest.$ac_ext
5056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5057 (eval $ac_compile) 2>&5
5059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5060 (exit $ac_status); }; then
5061 case `/usr
/bin
/file conftest.o
` in
5063 case $lt_cv_prog_gnu_ld in
5064 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5066 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5080 need_locks="$enable_libtool_lock"
5084 ac_cpp='$CPP $CPPFLAGS'
5085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5088 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5089 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5090 # On Suns, sometimes $CPP names a directory.
5091 if test -n "$CPP" && test -d "$CPP"; then
5094 if test -z "$CPP"; then
5095 if test "${ac_cv_prog_CPP+set}" = set; then
5096 echo $ECHO_N "(cached) $ECHO_C" >&6
5098 # Double quotes because CPP needs to be expanded
5099 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5102 for ac_c_preproc_warn_flag in '' yes
5104 # Use a header file that comes with gcc, so configuring glibc
5105 # with a fresh cross-compiler works.
5106 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5107 # <limits.h> exists even on freestanding compilers.
5108 # On the NeXT, cc -E runs the code through the compiler's parser,
5109 # not just through cpp. "Syntax error" is here to catch this case.
5110 cat >conftest.$ac_ext <<_ACEOF
5113 cat confdefs.h >>conftest.$ac_ext
5114 cat >>conftest.$ac_ext <<_ACEOF
5115 /* end confdefs.h. */
5117 # include <limits.h>
5119 # include <assert.h>
5123 if { (ac_try="$ac_cpp conftest.$ac_ext"
5125 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5126 *) ac_try_echo
=$ac_try;;
5128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5129 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5131 grep -v '^ *+' conftest.er1
>conftest.err
5133 cat conftest.err
>&5
5134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5135 (exit $ac_status); } >/dev
/null
&& {
5136 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5137 test ! -s conftest.err
5141 echo "$as_me: failed program was:" >&5
5142 sed 's/^/| /' conftest.
$ac_ext >&5
5144 # Broken: fails on valid input.
5148 rm -f conftest.err conftest.
$ac_ext
5150 # OK, works on sane cases. Now check whether nonexistent headers
5151 # can be detected and how.
5152 cat >conftest.
$ac_ext <<_ACEOF
5155 cat confdefs.h
>>conftest.
$ac_ext
5156 cat >>conftest.
$ac_ext <<_ACEOF
5157 /* end confdefs.h. */
5158 #include <ac_nonexistent.h>
5160 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5162 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5163 *) ac_try_echo=$ac_try;;
5165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5166 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5168 grep -v '^ *+' conftest.er1 >conftest.err
5170 cat conftest.err >&5
5171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5172 (exit $ac_status); } >/dev/null && {
5173 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5174 test ! -s conftest.err
5176 # Broken: success on invalid input.
5179 echo "$as_me: failed program was:" >&5
5180 sed 's/^/| /' conftest.$ac_ext >&5
5182 # Passes both tests.
5187 rm -f conftest.err conftest.$ac_ext
5190 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5191 rm -f conftest.err conftest.
$ac_ext
5192 if $ac_preproc_ok; then
5204 { echo "$as_me:$LINENO: result: $CPP" >&5
5205 echo "${ECHO_T}$CPP" >&6; }
5207 for ac_c_preproc_warn_flag
in '' yes
5209 # Use a header file that comes with gcc, so configuring glibc
5210 # with a fresh cross-compiler works.
5211 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5212 # <limits.h> exists even on freestanding compilers.
5213 # On the NeXT, cc -E runs the code through the compiler's parser,
5214 # not just through cpp. "Syntax error" is here to catch this case.
5215 cat >conftest.
$ac_ext <<_ACEOF
5218 cat confdefs.h
>>conftest.
$ac_ext
5219 cat >>conftest.
$ac_ext <<_ACEOF
5220 /* end confdefs.h. */
5222 # include <limits.h>
5224 # include <assert.h>
5228 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5230 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5231 *) ac_try_echo=$ac_try;;
5233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5234 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5236 grep -v '^ *+' conftest.er1 >conftest.err
5238 cat conftest.err >&5
5239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5240 (exit $ac_status); } >/dev/null && {
5241 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5242 test ! -s conftest.err
5246 echo "$as_me: failed program was:" >&5
5247 sed 's/^/| /' conftest.$ac_ext >&5
5249 # Broken: fails on valid input.
5253 rm -f conftest.err conftest.$ac_ext
5255 # OK, works on sane cases. Now check whether nonexistent headers
5256 # can be detected and how.
5257 cat >conftest.$ac_ext <<_ACEOF
5260 cat confdefs.h >>conftest.$ac_ext
5261 cat >>conftest.$ac_ext <<_ACEOF
5262 /* end confdefs.h. */
5263 #include <ac_nonexistent.h>
5265 if { (ac_try="$ac_cpp conftest.$ac_ext"
5267 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5268 *) ac_try_echo
=$ac_try;;
5270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5271 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5273 grep -v '^ *+' conftest.er1
>conftest.err
5275 cat conftest.err
>&5
5276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5277 (exit $ac_status); } >/dev
/null
&& {
5278 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5279 test ! -s conftest.err
5281 # Broken: success on invalid input.
5284 echo "$as_me: failed program was:" >&5
5285 sed 's/^/| /' conftest.
$ac_ext >&5
5287 # Passes both tests.
5292 rm -f conftest.err conftest.
$ac_ext
5295 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5296 rm -f conftest.err conftest.
$ac_ext
5297 if $ac_preproc_ok; then
5300 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5301 See \`config.log' for more details." >&5
5302 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5303 See \`config.log' for more details." >&2;}
5304 { (exit 1); exit 1; }; }
5308 ac_cpp
='$CPP $CPPFLAGS'
5309 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5310 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5311 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5314 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5315 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5316 if test "${ac_cv_header_stdc+set}" = set; then
5317 echo $ECHO_N "(cached) $ECHO_C" >&6
5319 cat >conftest.
$ac_ext <<_ACEOF
5322 cat confdefs.h
>>conftest.
$ac_ext
5323 cat >>conftest.
$ac_ext <<_ACEOF
5324 /* end confdefs.h. */
5338 rm -f conftest.
$ac_objext
5339 if { (ac_try
="$ac_compile"
5341 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5342 *) ac_try_echo=$ac_try;;
5344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5345 (eval "$ac_compile") 2>conftest.er1
5347 grep -v '^ *+' conftest.er1 >conftest.err
5349 cat conftest.err >&5
5350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5351 (exit $ac_status); } && {
5352 test -z "$ac_c_werror_flag" ||
5353 test ! -s conftest.err
5354 } && test -s conftest.$ac_objext; then
5355 ac_cv_header_stdc=yes
5357 echo "$as_me: failed program was:" >&5
5358 sed 's/^/| /' conftest.$ac_ext >&5
5360 ac_cv_header_stdc=no
5363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5365 if test $ac_cv_header_stdc = yes; then
5366 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5367 cat >conftest.$ac_ext <<_ACEOF
5370 cat confdefs.h >>conftest.$ac_ext
5371 cat >>conftest.$ac_ext <<_ACEOF
5372 /* end confdefs.h. */
5376 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5377 $EGREP "memchr" >/dev/null 2>&1; then
5380 ac_cv_header_stdc=no
5386 if test $ac_cv_header_stdc = yes; then
5387 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5388 cat >conftest.$ac_ext <<_ACEOF
5391 cat confdefs.h >>conftest.$ac_ext
5392 cat >>conftest.$ac_ext <<_ACEOF
5393 /* end confdefs.h. */
5397 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5398 $EGREP "free" >/dev/null 2>&1; then
5401 ac_cv_header_stdc=no
5407 if test $ac_cv_header_stdc = yes; then
5408 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5409 if test "$cross_compiling" = yes; then
5412 cat >conftest.$ac_ext <<_ACEOF
5415 cat confdefs.h >>conftest.$ac_ext
5416 cat >>conftest.$ac_ext <<_ACEOF
5417 /* end confdefs.h. */
5420 #if ((' ' & 0x0FF) == 0x020)
5421 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5422 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5424 # define ISLOWER(c) \
5425 (('a' <= (c) && (c) <= 'i') \
5426 || ('j' <= (c) && (c) <= 'r') \
5427 || ('s' <= (c) && (c) <= 'z'))
5428 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5431 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5436 for (i = 0; i < 256; i++)
5437 if (XOR (islower (i), ISLOWER (i))
5438 || toupper (i) != TOUPPER (i))
5443 rm -f conftest$ac_exeext
5444 if { (ac_try="$ac_link"
5446 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5447 *) ac_try_echo
=$ac_try;;
5449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5450 (eval "$ac_link") 2>&5
5452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5453 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5454 { (case "(($ac_try" in
5455 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5456 *) ac_try_echo=$ac_try;;
5458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5459 (eval "$ac_try") 2>&5
5461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5462 (exit $ac_status); }; }; then
5465 echo "$as_me: program exited with status $ac_status" >&5
5466 echo "$as_me: failed program was:" >&5
5467 sed 's/^/| /' conftest.$ac_ext >&5
5470 ac_cv_header_stdc=no
5472 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5478 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5479 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5480 if test $ac_cv_header_stdc = yes; then
5482 cat >>confdefs.h <<\_ACEOF
5483 #define STDC_HEADERS 1
5488 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5498 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5499 inttypes.h stdint.h unistd.h
5501 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5502 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5503 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5504 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5505 echo $ECHO_N "(cached) $ECHO_C" >&6
5507 cat >conftest.$ac_ext <<_ACEOF
5510 cat confdefs.h >>conftest.$ac_ext
5511 cat >>conftest.$ac_ext <<_ACEOF
5512 /* end confdefs.h. */
5513 $ac_includes_default
5515 #include <$ac_header>
5517 rm -f conftest.$ac_objext
5518 if { (ac_try="$ac_compile"
5520 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5521 *) ac_try_echo
=$ac_try;;
5523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5524 (eval "$ac_compile") 2>conftest.er1
5526 grep -v '^ *+' conftest.er1
>conftest.err
5528 cat conftest.err
>&5
5529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5530 (exit $ac_status); } && {
5531 test -z "$ac_c_werror_flag" ||
5532 test ! -s conftest.err
5533 } && test -s conftest.
$ac_objext; then
5534 eval "$as_ac_Header=yes"
5536 echo "$as_me: failed program was:" >&5
5537 sed 's/^/| /' conftest.
$ac_ext >&5
5539 eval "$as_ac_Header=no"
5542 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5544 ac_res
=`eval echo '${'$as_ac_Header'}'`
5545 { echo "$as_me:$LINENO: result: $ac_res" >&5
5546 echo "${ECHO_T}$ac_res" >&6; }
5547 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5548 cat >>confdefs.h
<<_ACEOF
5549 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5558 for ac_header
in dlfcn.h
5560 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5561 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5562 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5563 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5564 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5565 echo $ECHO_N "(cached) $ECHO_C" >&6
5567 ac_res
=`eval echo '${'$as_ac_Header'}'`
5568 { echo "$as_me:$LINENO: result: $ac_res" >&5
5569 echo "${ECHO_T}$ac_res" >&6; }
5571 # Is the header compilable?
5572 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5573 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5574 cat >conftest.
$ac_ext <<_ACEOF
5577 cat confdefs.h
>>conftest.
$ac_ext
5578 cat >>conftest.
$ac_ext <<_ACEOF
5579 /* end confdefs.h. */
5580 $ac_includes_default
5581 #include <$ac_header>
5583 rm -f conftest.
$ac_objext
5584 if { (ac_try
="$ac_compile"
5586 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5587 *) ac_try_echo=$ac_try;;
5589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5590 (eval "$ac_compile") 2>conftest.er1
5592 grep -v '^ *+' conftest.er1 >conftest.err
5594 cat conftest.err >&5
5595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5596 (exit $ac_status); } && {
5597 test -z "$ac_c_werror_flag" ||
5598 test ! -s conftest.err
5599 } && test -s conftest.$ac_objext; then
5600 ac_header_compiler=yes
5602 echo "$as_me: failed program was:" >&5
5603 sed 's/^/| /' conftest.$ac_ext >&5
5605 ac_header_compiler=no
5608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5609 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5610 echo "${ECHO_T}$ac_header_compiler" >&6; }
5612 # Is the header present?
5613 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5614 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5615 cat >conftest.$ac_ext <<_ACEOF
5618 cat confdefs.h >>conftest.$ac_ext
5619 cat >>conftest.$ac_ext <<_ACEOF
5620 /* end confdefs.h. */
5621 #include <$ac_header>
5623 if { (ac_try="$ac_cpp conftest.$ac_ext"
5625 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5626 *) ac_try_echo
=$ac_try;;
5628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5629 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5631 grep -v '^ *+' conftest.er1
>conftest.err
5633 cat conftest.err
>&5
5634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5635 (exit $ac_status); } >/dev
/null
&& {
5636 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5637 test ! -s conftest.err
5639 ac_header_preproc
=yes
5641 echo "$as_me: failed program was:" >&5
5642 sed 's/^/| /' conftest.
$ac_ext >&5
5644 ac_header_preproc
=no
5647 rm -f conftest.err conftest.
$ac_ext
5648 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5649 echo "${ECHO_T}$ac_header_preproc" >&6; }
5651 # So? What about this header?
5652 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5654 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5655 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5656 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5657 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5658 ac_header_preproc
=yes
5661 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5662 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5663 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5664 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5665 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5666 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5667 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5668 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5669 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5670 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5671 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5672 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5674 ## -------------------------------------------- ##
5675 ## Report this to http://www.openldap.org/its/ ##
5676 ## -------------------------------------------- ##
5678 ) |
sed "s/^/$as_me: WARNING: /" >&2
5681 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5682 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5683 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5684 echo $ECHO_N "(cached) $ECHO_C" >&6
5686 eval "$as_ac_Header=\$ac_header_preproc"
5688 ac_res
=`eval echo '${'$as_ac_Header'}'`
5689 { echo "$as_me:$LINENO: result: $ac_res" >&5
5690 echo "${ECHO_T}$ac_res" >&6; }
5693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5694 cat >>confdefs.h
<<_ACEOF
5695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5704 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5705 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5706 (test "X$CXX" != "Xg++"))) ; then
5708 ac_cpp
='$CXXCPP $CPPFLAGS'
5709 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5710 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5711 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5712 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5713 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5714 if test -z "$CXXCPP"; then
5715 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5716 echo $ECHO_N "(cached) $ECHO_C" >&6
5718 # Double quotes because CXXCPP needs to be expanded
5719 for CXXCPP
in "$CXX -E" "/lib/cpp"
5722 for ac_cxx_preproc_warn_flag
in '' yes
5724 # Use a header file that comes with gcc, so configuring glibc
5725 # with a fresh cross-compiler works.
5726 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5727 # <limits.h> exists even on freestanding compilers.
5728 # On the NeXT, cc -E runs the code through the compiler's parser,
5729 # not just through cpp. "Syntax error" is here to catch this case.
5730 cat >conftest.
$ac_ext <<_ACEOF
5733 cat confdefs.h
>>conftest.
$ac_ext
5734 cat >>conftest.
$ac_ext <<_ACEOF
5735 /* end confdefs.h. */
5737 # include <limits.h>
5739 # include <assert.h>
5743 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5745 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5746 *) ac_try_echo=$ac_try;;
5748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5749 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5751 grep -v '^ *+' conftest.er1 >conftest.err
5753 cat conftest.err >&5
5754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5755 (exit $ac_status); } >/dev/null && {
5756 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5757 test ! -s conftest.err
5761 echo "$as_me: failed program was:" >&5
5762 sed 's/^/| /' conftest.$ac_ext >&5
5764 # Broken: fails on valid input.
5768 rm -f conftest.err conftest.$ac_ext
5770 # OK, works on sane cases. Now check whether nonexistent headers
5771 # can be detected and how.
5772 cat >conftest.$ac_ext <<_ACEOF
5775 cat confdefs.h >>conftest.$ac_ext
5776 cat >>conftest.$ac_ext <<_ACEOF
5777 /* end confdefs.h. */
5778 #include <ac_nonexistent.h>
5780 if { (ac_try="$ac_cpp conftest.$ac_ext"
5782 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5783 *) ac_try_echo
=$ac_try;;
5785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5786 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5788 grep -v '^ *+' conftest.er1
>conftest.err
5790 cat conftest.err
>&5
5791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5792 (exit $ac_status); } >/dev
/null
&& {
5793 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5794 test ! -s conftest.err
5796 # Broken: success on invalid input.
5799 echo "$as_me: failed program was:" >&5
5800 sed 's/^/| /' conftest.
$ac_ext >&5
5802 # Passes both tests.
5807 rm -f conftest.err conftest.
$ac_ext
5810 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5811 rm -f conftest.err conftest.
$ac_ext
5812 if $ac_preproc_ok; then
5817 ac_cv_prog_CXXCPP
=$CXXCPP
5820 CXXCPP
=$ac_cv_prog_CXXCPP
5822 ac_cv_prog_CXXCPP
=$CXXCPP
5824 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5825 echo "${ECHO_T}$CXXCPP" >&6; }
5827 for ac_cxx_preproc_warn_flag
in '' yes
5829 # Use a header file that comes with gcc, so configuring glibc
5830 # with a fresh cross-compiler works.
5831 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5832 # <limits.h> exists even on freestanding compilers.
5833 # On the NeXT, cc -E runs the code through the compiler's parser,
5834 # not just through cpp. "Syntax error" is here to catch this case.
5835 cat >conftest.
$ac_ext <<_ACEOF
5838 cat confdefs.h
>>conftest.
$ac_ext
5839 cat >>conftest.
$ac_ext <<_ACEOF
5840 /* end confdefs.h. */
5842 # include <limits.h>
5844 # include <assert.h>
5848 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5850 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5851 *) ac_try_echo=$ac_try;;
5853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5854 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5856 grep -v '^ *+' conftest.er1 >conftest.err
5858 cat conftest.err >&5
5859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5860 (exit $ac_status); } >/dev/null && {
5861 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5862 test ! -s conftest.err
5866 echo "$as_me: failed program was:" >&5
5867 sed 's/^/| /' conftest.$ac_ext >&5
5869 # Broken: fails on valid input.
5873 rm -f conftest.err conftest.$ac_ext
5875 # OK, works on sane cases. Now check whether nonexistent headers
5876 # can be detected and how.
5877 cat >conftest.$ac_ext <<_ACEOF
5880 cat confdefs.h >>conftest.$ac_ext
5881 cat >>conftest.$ac_ext <<_ACEOF
5882 /* end confdefs.h. */
5883 #include <ac_nonexistent.h>
5885 if { (ac_try="$ac_cpp conftest.$ac_ext"
5887 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5888 *) ac_try_echo
=$ac_try;;
5890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5891 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5893 grep -v '^ *+' conftest.er1
>conftest.err
5895 cat conftest.err
>&5
5896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5897 (exit $ac_status); } >/dev
/null
&& {
5898 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5899 test ! -s conftest.err
5901 # Broken: success on invalid input.
5904 echo "$as_me: failed program was:" >&5
5905 sed 's/^/| /' conftest.
$ac_ext >&5
5907 # Passes both tests.
5912 rm -f conftest.err conftest.
$ac_ext
5915 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5916 rm -f conftest.err conftest.
$ac_ext
5917 if $ac_preproc_ok; then
5920 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5921 See \`config.log' for more details." >&5
5922 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5923 See \`config.log' for more details." >&2;}
5924 { (exit 1); exit 1; }; }
5928 ac_cpp
='$CXXCPP $CPPFLAGS'
5929 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5930 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5931 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5937 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5938 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5939 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5940 if test -n "$ac_tool_prefix"; then
5941 for ac_prog
in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
5943 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5944 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5945 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5947 if test "${ac_cv_prog_F77+set}" = set; then
5948 echo $ECHO_N "(cached) $ECHO_C" >&6
5950 if test -n "$F77"; then
5951 ac_cv_prog_F77
="$F77" # Let the user override the test.
5953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5957 test -z "$as_dir" && as_dir
=.
5958 for ac_exec_ext
in '' $ac_executable_extensions; do
5959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5960 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5971 if test -n "$F77"; then
5972 { echo "$as_me:$LINENO: result: $F77" >&5
5973 echo "${ECHO_T}$F77" >&6; }
5975 { echo "$as_me:$LINENO: result: no" >&5
5976 echo "${ECHO_T}no" >&6; }
5980 test -n "$F77" && break
5983 if test -z "$F77"; then
5985 for ac_prog
in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
5987 # Extract the first word of "$ac_prog", so it can be a program name with args.
5988 set dummy
$ac_prog; ac_word
=$2
5989 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5991 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5992 echo $ECHO_N "(cached) $ECHO_C" >&6
5994 if test -n "$ac_ct_F77"; then
5995 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6001 test -z "$as_dir" && as_dir
=.
6002 for ac_exec_ext
in '' $ac_executable_extensions; do
6003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6004 ac_cv_prog_ac_ct_F77
="$ac_prog"
6005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6014 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6015 if test -n "$ac_ct_F77"; then
6016 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6017 echo "${ECHO_T}$ac_ct_F77" >&6; }
6019 { echo "$as_me:$LINENO: result: no" >&5
6020 echo "${ECHO_T}no" >&6; }
6024 test -n "$ac_ct_F77" && break
6027 if test "x$ac_ct_F77" = x
; then
6030 case $cross_compiling:$ac_tool_warned in
6032 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6033 whose name does not start with the host triplet. If you think this
6034 configuration is useful to you, please write to autoconf@gnu.org." >&5
6035 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6036 whose name does not start with the host triplet. If you think this
6037 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6038 ac_tool_warned
=yes ;;
6045 # Provide some information about the compiler.
6046 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6047 ac_compiler
=`set X $ac_compile; echo $2`
6048 { (ac_try
="$ac_compiler --version >&5"
6050 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6051 *) ac_try_echo=$ac_try;;
6053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6054 (eval "$ac_compiler --version >&5") 2>&5
6056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6057 (exit $ac_status); }
6058 { (ac_try="$ac_compiler -v >&5"
6060 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6061 *) ac_try_echo
=$ac_try;;
6063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6064 (eval "$ac_compiler -v >&5") 2>&5
6066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6067 (exit $ac_status); }
6068 { (ac_try
="$ac_compiler -V >&5"
6070 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6071 *) ac_try_echo=$ac_try;;
6073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6074 (eval "$ac_compiler -V >&5") 2>&5
6076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6077 (exit $ac_status); }
6080 # If we don't use `.F
' as extension, the preprocessor is not run on the
6081 # input file. (Note that this only needs to work for GNU compilers.)
6084 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6085 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6086 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6087 echo $ECHO_N "(cached) $ECHO_C" >&6
6089 cat >conftest.$ac_ext <<_ACEOF
6097 rm -f conftest.$ac_objext
6098 if { (ac_try="$ac_compile"
6100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6101 *) ac_try_echo=$ac_try;;
6103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6104 (eval "$ac_compile") 2>conftest.er1
6106 grep -v '^
*+' conftest.er1 >conftest.err
6108 cat conftest.err >&5
6109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6110 (exit $ac_status); } && {
6111 test -z "$ac_f77_werror_flag" ||
6112 test ! -s conftest.err
6113 } && test -s conftest.$ac_objext; then
6116 echo "$as_me: failed program was:" >&5
6117 sed 's
/^
/|
/' conftest.$ac_ext >&5
6122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6123 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6126 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6127 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6129 ac_test_FFLAGS=${FFLAGS+set}
6130 ac_save_FFLAGS=$FFLAGS
6132 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6133 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6134 if test "${ac_cv_prog_f77_g+set}" = set; then
6135 echo $ECHO_N "(cached) $ECHO_C" >&6
6138 cat >conftest.$ac_ext <<_ACEOF
6143 rm -f conftest.$ac_objext
6144 if { (ac_try="$ac_compile"
6146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6147 *) ac_try_echo=$ac_try;;
6149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6150 (eval "$ac_compile") 2>conftest.er1
6152 grep -v '^
*+' conftest.er1 >conftest.err
6154 cat conftest.err >&5
6155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6156 (exit $ac_status); } && {
6157 test -z "$ac_f77_werror_flag" ||
6158 test ! -s conftest.err
6159 } && test -s conftest.$ac_objext; then
6160 ac_cv_prog_f77_g=yes
6162 echo "$as_me: failed program was:" >&5
6163 sed 's
/^
/|
/' conftest.$ac_ext >&5
6168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6171 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6172 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6173 if test "$ac_test_FFLAGS" = set; then
6174 FFLAGS=$ac_save_FFLAGS
6175 elif test $ac_cv_prog_f77_g = yes; then
6176 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6182 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6189 G77=`test $ac_compiler_gnu = yes && echo yes`
6191 ac_cpp='$CPP $CPPFLAGS'
6192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6193 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6198 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6199 # find the maximum length of command line arguments
6200 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6201 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6202 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6203 echo $ECHO_N "(cached) $ECHO_C" >&6
6210 # On DJGPP, this test can blow up pretty badly due to problems in libc
6211 # (any single argument exceeding 2000 bytes causes a buffer overrun
6212 # during glob expansion). Even if it were fixed, the result of this
6213 # check would be larger than it should be.
6214 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6218 # Under GNU Hurd, this test is not required because there is
6219 # no limit to the length of command line arguments.
6220 # Libtool will interpret -1 as no limit whatsoever
6221 lt_cv_sys_max_cmd_len
=-1;
6225 # On Win9x/ME, this test blows up -- it succeeds, but takes
6226 # about 5 minutes as the teststring grows exponentially.
6227 # Worse, since 9x/ME are not pre-emptively multitasking,
6228 # you end up with a "frozen" computer, even though with patience
6229 # the test eventually succeeds (with a max line length of 256k).
6230 # Instead, let's just punt: use the minimum linelength reported by
6231 # all of the supported platforms: 8192 (on NT/2K/XP).
6232 lt_cv_sys_max_cmd_len
=8192;
6236 # On AmigaOS with pdksh, this test takes hours, literally.
6237 # So we just punt and use a minimum line length of 8192.
6238 lt_cv_sys_max_cmd_len
=8192;
6241 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6242 # This has been around since 386BSD, at least. Likely further.
6243 if test -x /sbin
/sysctl
; then
6244 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6245 elif test -x /usr
/sbin
/sysctl
; then
6246 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6248 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6250 # And add a safety zone
6251 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6252 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6256 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6257 lt_cv_sys_max_cmd_len
=196608
6261 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6262 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6263 # nice to cause kernel panics so lets avoid the loop below.
6264 # First set a reasonable default.
6265 lt_cv_sys_max_cmd_len
=16384
6267 if test -x /sbin
/sysconfig
; then
6268 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6269 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6274 lt_cv_sys_max_cmd_len
=102400
6276 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6277 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6278 if test -n "$kargmax"; then
6279 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6281 lt_cv_sys_max_cmd_len
=32768
6285 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6286 if test -n "$lt_cv_sys_max_cmd_len"; then
6287 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6288 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6290 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6291 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6292 = "XX$teststring") >/dev
/null
2>&1 &&
6293 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6294 lt_cv_sys_max_cmd_len
=$new_result &&
6295 test $i != 17 # 1/2 MB should be enough
6298 teststring
=$teststring$teststring
6301 # Add a significant safety factor because C++ compilers can tack on massive
6302 # amounts of additional arguments before passing them to the linker.
6303 # It appears as though 1/2 is a usable value.
6304 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6311 if test -n $lt_cv_sys_max_cmd_len ; then
6312 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6313 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6315 { echo "$as_me:$LINENO: result: none" >&5
6316 echo "${ECHO_T}none" >&6; }
6323 # Check for command to grab the raw symbol name followed by C symbol from nm.
6324 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6325 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6326 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6327 echo $ECHO_N "(cached) $ECHO_C" >&6
6330 # These are sane defaults that work on at least a few old systems.
6331 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6333 # Character class describing NM global symbol codes.
6334 symcode
='[BCDEGRST]'
6336 # Regexp to match symbols that can be accessed directly from C.
6337 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6339 # Transform an extracted symbol line into a proper C declaration
6340 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6342 # Transform an extracted symbol line into symbol name and symbol address
6343 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
6345 # Define system-specific variables.
6350 cygwin
* | mingw
* | pw32
*)
6351 symcode
='[ABCDGISTW]'
6353 hpux
*) # Its linker distinguishes data from code symbols
6354 if test "$host_cpu" = ia64
; then
6355 symcode
='[ABCDEGRST]'
6357 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6358 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
6360 linux
* | k
*bsd
*-gnu)
6361 if test "$host_cpu" = ia64
; then
6362 symcode
='[ABCDGIRSTW]'
6363 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6364 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
6368 symcode
='[BCDEGRST]'
6371 symcode
='[BCDEGQRST]'
6382 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6390 # Handle CRLF in mingw tool chain
6394 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6398 # If we're using GNU nm, then use its standard symbol codes.
6399 case `$NM -V 2>&1` in
6400 *GNU
* |
*'with BFD'*)
6401 symcode
='[ABCDGIRSTW]' ;;
6404 # Try without a prefix undercore, then with it.
6405 for ac_symprfx
in "" "_"; do
6407 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6408 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6410 # Write the raw and C identifiers.
6411 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6413 # Check to see that the pipe works correctly.
6417 cat > conftest.
$ac_ext <<EOF
6422 void nm_test_func(){}
6426 int main(){nm_test_var='a';nm_test_func();return(0);}
6429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6430 (eval $ac_compile) 2>&5
6432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6433 (exit $ac_status); }; then
6434 # Now try to grab the symbols.
6436 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6437 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6440 (exit $ac_status); } && test -s "$nlist"; then
6441 # Try sorting and uniquifying the output.
6442 if sort "$nlist" |
uniq > "$nlist"T
; then
6443 mv -f "$nlist"T
"$nlist"
6448 # Make sure that we snagged all the symbols we need.
6449 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6450 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6451 cat <<EOF > conftest.$ac_ext
6457 # Now generate the symbol file.
6458 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6460 cat <<EOF >> conftest.$ac_ext
6461 #if defined (__STDC__) && __STDC__
6462 # define lt_ptr_t void *
6464 # define lt_ptr_t char *
6468 /* The mapping between symbol names and symbols. */
6473 lt_preloaded_symbols[] =
6476 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6477 cat <<\EOF
>> conftest.
$ac_ext
6485 # Now try linking the two files.
6486 mv conftest.
$ac_objext conftstm.
$ac_objext
6487 lt_save_LIBS
="$LIBS"
6488 lt_save_CFLAGS
="$CFLAGS"
6489 LIBS
="conftstm.$ac_objext"
6490 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6492 (eval $ac_link) 2>&5
6494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6495 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6498 LIBS
="$lt_save_LIBS"
6499 CFLAGS
="$lt_save_CFLAGS"
6501 echo "cannot find nm_test_func in $nlist" >&5
6504 echo "cannot find nm_test_var in $nlist" >&5
6507 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6510 echo "$progname: failed program was:" >&5
6511 cat conftest.
$ac_ext >&5
6513 rm -rf conftest
* conftst
*
6515 # Do not use the global_symbol_pipe unless it works.
6516 if test "$pipe_works" = yes; then
6519 lt_cv_sys_global_symbol_pipe
=
6525 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6526 lt_cv_sys_global_symbol_to_cdecl
=
6528 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6529 { echo "$as_me:$LINENO: result: failed" >&5
6530 echo "${ECHO_T}failed" >&6; }
6532 { echo "$as_me:$LINENO: result: ok" >&5
6533 echo "${ECHO_T}ok" >&6; }
6536 { echo "$as_me:$LINENO: checking for objdir" >&5
6537 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6538 if test "${lt_cv_objdir+set}" = set; then
6539 echo $ECHO_N "(cached) $ECHO_C" >&6
6541 rm -f .libs
2>/dev
/null
6542 mkdir .libs
2>/dev
/null
6543 if test -d .libs
; then
6546 # MS-DOS does not allow filenames that begin with a dot.
6549 rmdir .libs
2>/dev
/null
6551 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6552 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6553 objdir
=$lt_cv_objdir
6561 # AIX sometimes has problems with the GCC collect2 program. For some
6562 # reason, if we set the COLLECT_NAMES environment variable, the problems
6563 # vanish in a puff of smoke.
6564 if test "X${COLLECT_NAMES+set}" != Xset
; then
6566 export COLLECT_NAMES
6571 # Sed substitution that helps us do robust quoting. It backslashifies
6572 # metacharacters that are still active within double-quoted strings.
6573 Xsed
='sed -e 1s/^X//'
6574 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6576 # Same as above, but do not quote variable references.
6577 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6579 # Sed substitution to delay expansion of an escaped shell variable in a
6580 # double_quote_subst'ed string.
6581 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6583 # Sed substitution to avoid accidental globbing in evaled expressions
6584 no_glob_subst
='s/\*/\\\*/g'
6590 default_ofile
=libtool
6591 can_build_shared
=yes
6593 # All known linkers require a `.a' archive for static linking (except MSVC,
6594 # which needs '.lib').
6596 ltmain
="$ac_aux_dir/ltmain.sh"
6597 ofile
="$default_ofile"
6598 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6600 if test -n "$ac_tool_prefix"; then
6601 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6602 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6603 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6605 if test "${ac_cv_prog_AR+set}" = set; then
6606 echo $ECHO_N "(cached) $ECHO_C" >&6
6608 if test -n "$AR"; then
6609 ac_cv_prog_AR
="$AR" # Let the user override the test.
6611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6615 test -z "$as_dir" && as_dir
=.
6616 for ac_exec_ext
in '' $ac_executable_extensions; do
6617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6618 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6629 if test -n "$AR"; then
6630 { echo "$as_me:$LINENO: result: $AR" >&5
6631 echo "${ECHO_T}$AR" >&6; }
6633 { echo "$as_me:$LINENO: result: no" >&5
6634 echo "${ECHO_T}no" >&6; }
6639 if test -z "$ac_cv_prog_AR"; then
6641 # Extract the first word of "ar", so it can be a program name with args.
6642 set dummy
ar; ac_word
=$2
6643 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6645 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6646 echo $ECHO_N "(cached) $ECHO_C" >&6
6648 if test -n "$ac_ct_AR"; then
6649 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6655 test -z "$as_dir" && as_dir
=.
6656 for ac_exec_ext
in '' $ac_executable_extensions; do
6657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6658 ac_cv_prog_ac_ct_AR
="ar"
6659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6668 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6669 if test -n "$ac_ct_AR"; then
6670 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6671 echo "${ECHO_T}$ac_ct_AR" >&6; }
6673 { echo "$as_me:$LINENO: result: no" >&5
6674 echo "${ECHO_T}no" >&6; }
6677 if test "x$ac_ct_AR" = x
; then
6680 case $cross_compiling:$ac_tool_warned in
6682 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6683 whose name does not start with the host triplet. If you think this
6684 configuration is useful to you, please write to autoconf@gnu.org." >&5
6685 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6686 whose name does not start with the host triplet. If you think this
6687 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6688 ac_tool_warned
=yes ;;
6696 if test -n "$ac_tool_prefix"; then
6697 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6698 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6699 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6701 if test "${ac_cv_prog_RANLIB+set}" = set; then
6702 echo $ECHO_N "(cached) $ECHO_C" >&6
6704 if test -n "$RANLIB"; then
6705 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6711 test -z "$as_dir" && as_dir
=.
6712 for ac_exec_ext
in '' $ac_executable_extensions; do
6713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6714 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6724 RANLIB
=$ac_cv_prog_RANLIB
6725 if test -n "$RANLIB"; then
6726 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6727 echo "${ECHO_T}$RANLIB" >&6; }
6729 { echo "$as_me:$LINENO: result: no" >&5
6730 echo "${ECHO_T}no" >&6; }
6735 if test -z "$ac_cv_prog_RANLIB"; then
6736 ac_ct_RANLIB
=$RANLIB
6737 # Extract the first word of "ranlib", so it can be a program name with args.
6738 set dummy ranlib
; ac_word
=$2
6739 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6741 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6742 echo $ECHO_N "(cached) $ECHO_C" >&6
6744 if test -n "$ac_ct_RANLIB"; then
6745 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6751 test -z "$as_dir" && as_dir
=.
6752 for ac_exec_ext
in '' $ac_executable_extensions; do
6753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6754 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6764 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6765 if test -n "$ac_ct_RANLIB"; then
6766 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6767 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6769 { echo "$as_me:$LINENO: result: no" >&5
6770 echo "${ECHO_T}no" >&6; }
6773 if test "x$ac_ct_RANLIB" = x
; then
6776 case $cross_compiling:$ac_tool_warned in
6778 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6779 whose name does not start with the host triplet. If you think this
6780 configuration is useful to you, please write to autoconf@gnu.org." >&5
6781 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6782 whose name does not start with the host triplet. If you think this
6783 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6784 ac_tool_warned
=yes ;;
6786 RANLIB
=$ac_ct_RANLIB
6789 RANLIB
="$ac_cv_prog_RANLIB"
6792 if test -n "$ac_tool_prefix"; then
6793 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6794 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6795 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6797 if test "${ac_cv_prog_STRIP+set}" = set; then
6798 echo $ECHO_N "(cached) $ECHO_C" >&6
6800 if test -n "$STRIP"; then
6801 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6807 test -z "$as_dir" && as_dir
=.
6808 for ac_exec_ext
in '' $ac_executable_extensions; do
6809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6810 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6820 STRIP
=$ac_cv_prog_STRIP
6821 if test -n "$STRIP"; then
6822 { echo "$as_me:$LINENO: result: $STRIP" >&5
6823 echo "${ECHO_T}$STRIP" >&6; }
6825 { echo "$as_me:$LINENO: result: no" >&5
6826 echo "${ECHO_T}no" >&6; }
6831 if test -z "$ac_cv_prog_STRIP"; then
6833 # Extract the first word of "strip", so it can be a program name with args.
6834 set dummy strip
; ac_word
=$2
6835 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6837 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6838 echo $ECHO_N "(cached) $ECHO_C" >&6
6840 if test -n "$ac_ct_STRIP"; then
6841 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6847 test -z "$as_dir" && as_dir
=.
6848 for ac_exec_ext
in '' $ac_executable_extensions; do
6849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6850 ac_cv_prog_ac_ct_STRIP
="strip"
6851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6860 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6861 if test -n "$ac_ct_STRIP"; then
6862 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6863 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6865 { echo "$as_me:$LINENO: result: no" >&5
6866 echo "${ECHO_T}no" >&6; }
6869 if test "x$ac_ct_STRIP" = x
; then
6872 case $cross_compiling:$ac_tool_warned in
6874 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6875 whose name does not start with the host triplet. If you think this
6876 configuration is useful to you, please write to autoconf@gnu.org." >&5
6877 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6878 whose name does not start with the host triplet. If you think this
6879 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6880 ac_tool_warned
=yes ;;
6885 STRIP
="$ac_cv_prog_STRIP"
6890 old_CFLAGS
="$CFLAGS"
6892 # Set sane defaults for various variables
6893 test -z "$AR" && AR
=ar
6894 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6895 test -z "$AS" && AS
=as
6896 test -z "$CC" && CC
=cc
6897 test -z "$LTCC" && LTCC
=$CC
6898 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6899 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6900 test -z "$LD" && LD
=ld
6901 test -z "$LN_S" && LN_S
="ln -s"
6902 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6903 test -z "$NM" && NM
=nm
6904 test -z "$SED" && SED
=sed
6905 test -z "$OBJDUMP" && OBJDUMP
=objdump
6906 test -z "$RANLIB" && RANLIB
=:
6907 test -z "$STRIP" && STRIP
=:
6908 test -z "$ac_objext" && ac_objext
=o
6910 # Determine commands to create old-style static archives.
6911 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6912 old_postinstall_cmds
='chmod 644 $oldlib'
6913 old_postuninstall_cmds
=
6915 if test -n "$RANLIB"; then
6918 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6921 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6924 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6927 for cc_temp
in $compiler""; do
6929 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6930 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6935 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6938 # Only perform the check for file, if the check method requires it
6939 case $deplibs_check_method in
6941 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6942 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6943 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6944 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6945 echo $ECHO_N "(cached) $ECHO_C" >&6
6949 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6952 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6953 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6954 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6955 for ac_dir
in $ac_dummy; do
6957 test -z "$ac_dir" && ac_dir
=.
6958 if test -f $ac_dir/${ac_tool_prefix}file; then
6959 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6960 if test -n "$file_magic_test_file"; then
6961 case $deplibs_check_method in
6963 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6964 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6965 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6966 $EGREP "$file_magic_regex" > /dev
/null
; then
6971 *** Warning: the command libtool uses to detect shared libraries,
6972 *** $file_magic_cmd, produces output that libtool cannot recognize.
6973 *** The result is that libtool may fail to recognize shared libraries
6974 *** as such. This will affect the creation of libtool libraries that
6975 *** depend on shared libraries, but programs linked with such libtool
6976 *** libraries will work regardless of this problem. Nevertheless, you
6977 *** may want to report the problem to your system manager and/or to
6978 *** bug-libtool@gnu.org
6988 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6993 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6994 if test -n "$MAGIC_CMD"; then
6995 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6996 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6998 { echo "$as_me:$LINENO: result: no" >&5
6999 echo "${ECHO_T}no" >&6; }
7002 if test -z "$lt_cv_path_MAGIC_CMD"; then
7003 if test -n "$ac_tool_prefix"; then
7004 { echo "$as_me:$LINENO: checking for file" >&5
7005 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7006 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7007 echo $ECHO_N "(cached) $ECHO_C" >&6
7011 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7014 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7015 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7016 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7017 for ac_dir
in $ac_dummy; do
7019 test -z "$ac_dir" && ac_dir
=.
7020 if test -f $ac_dir/file; then
7021 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7022 if test -n "$file_magic_test_file"; then
7023 case $deplibs_check_method in
7025 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7026 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7027 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7028 $EGREP "$file_magic_regex" > /dev
/null
; then
7033 *** Warning: the command libtool uses to detect shared libraries,
7034 *** $file_magic_cmd, produces output that libtool cannot recognize.
7035 *** The result is that libtool may fail to recognize shared libraries
7036 *** as such. This will affect the creation of libtool libraries that
7037 *** depend on shared libraries, but programs linked with such libtool
7038 *** libraries will work regardless of this problem. Nevertheless, you
7039 *** may want to report the problem to your system manager and/or to
7040 *** bug-libtool@gnu.org
7050 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7055 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7056 if test -n "$MAGIC_CMD"; then
7057 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7058 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7060 { echo "$as_me:$LINENO: result: no" >&5
7061 echo "${ECHO_T}no" >&6; }
7075 rhapsody
* | darwin
*)
7076 if test -n "$ac_tool_prefix"; then
7077 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7078 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7079 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7081 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7082 echo $ECHO_N "(cached) $ECHO_C" >&6
7084 if test -n "$DSYMUTIL"; then
7085 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7091 test -z "$as_dir" && as_dir
=.
7092 for ac_exec_ext
in '' $ac_executable_extensions; do
7093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7094 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7104 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7105 if test -n "$DSYMUTIL"; then
7106 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7107 echo "${ECHO_T}$DSYMUTIL" >&6; }
7109 { echo "$as_me:$LINENO: result: no" >&5
7110 echo "${ECHO_T}no" >&6; }
7115 if test -z "$ac_cv_prog_DSYMUTIL"; then
7116 ac_ct_DSYMUTIL
=$DSYMUTIL
7117 # Extract the first word of "dsymutil", so it can be a program name with args.
7118 set dummy dsymutil
; ac_word
=$2
7119 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7121 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7122 echo $ECHO_N "(cached) $ECHO_C" >&6
7124 if test -n "$ac_ct_DSYMUTIL"; then
7125 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7131 test -z "$as_dir" && as_dir
=.
7132 for ac_exec_ext
in '' $ac_executable_extensions; do
7133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7134 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7144 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7145 if test -n "$ac_ct_DSYMUTIL"; then
7146 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7147 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
7149 { echo "$as_me:$LINENO: result: no" >&5
7150 echo "${ECHO_T}no" >&6; }
7153 if test "x$ac_ct_DSYMUTIL" = x
; then
7156 case $cross_compiling:$ac_tool_warned in
7158 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7159 whose name does not start with the host triplet. If you think this
7160 configuration is useful to you, please write to autoconf@gnu.org." >&5
7161 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7162 whose name does not start with the host triplet. If you think this
7163 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7164 ac_tool_warned
=yes ;;
7166 DSYMUTIL
=$ac_ct_DSYMUTIL
7169 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7172 if test -n "$ac_tool_prefix"; then
7173 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7174 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7175 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7177 if test "${ac_cv_prog_NMEDIT+set}" = set; then
7178 echo $ECHO_N "(cached) $ECHO_C" >&6
7180 if test -n "$NMEDIT"; then
7181 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7187 test -z "$as_dir" && as_dir
=.
7188 for ac_exec_ext
in '' $ac_executable_extensions; do
7189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7190 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7200 NMEDIT
=$ac_cv_prog_NMEDIT
7201 if test -n "$NMEDIT"; then
7202 { echo "$as_me:$LINENO: result: $NMEDIT" >&5
7203 echo "${ECHO_T}$NMEDIT" >&6; }
7205 { echo "$as_me:$LINENO: result: no" >&5
7206 echo "${ECHO_T}no" >&6; }
7211 if test -z "$ac_cv_prog_NMEDIT"; then
7212 ac_ct_NMEDIT
=$NMEDIT
7213 # Extract the first word of "nmedit", so it can be a program name with args.
7214 set dummy nmedit
; ac_word
=$2
7215 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7217 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7218 echo $ECHO_N "(cached) $ECHO_C" >&6
7220 if test -n "$ac_ct_NMEDIT"; then
7221 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7227 test -z "$as_dir" && as_dir
=.
7228 for ac_exec_ext
in '' $ac_executable_extensions; do
7229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7230 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7240 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7241 if test -n "$ac_ct_NMEDIT"; then
7242 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7243 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
7245 { echo "$as_me:$LINENO: result: no" >&5
7246 echo "${ECHO_T}no" >&6; }
7249 if test "x$ac_ct_NMEDIT" = x
; then
7252 case $cross_compiling:$ac_tool_warned in
7254 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7255 whose name does not start with the host triplet. If you think this
7256 configuration is useful to you, please write to autoconf@gnu.org." >&5
7257 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7258 whose name does not start with the host triplet. If you think this
7259 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7260 ac_tool_warned
=yes ;;
7262 NMEDIT
=$ac_ct_NMEDIT
7265 NMEDIT
="$ac_cv_prog_NMEDIT"
7269 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7270 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
7271 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7272 echo $ECHO_N "(cached) $ECHO_C" >&6
7274 lt_cv_apple_cc_single_mod
=no
7275 if test -z "${LT_MULTI_MODULE}"; then
7276 # By default we will add the -single_module flag. You can override
7277 # by either setting the environment variable LT_MULTI_MODULE
7278 # non-empty at configure time, or by adding -multi_module to the
7280 echo "int foo(void){return 1;}" > conftest.c
7281 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7282 -dynamiclib ${wl}-single_module conftest.c
7283 if test -f libconftest.dylib
; then
7284 lt_cv_apple_cc_single_mod
=yes
7285 rm -rf libconftest.dylib
*
7290 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7291 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
7292 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7293 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
7294 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7295 echo $ECHO_N "(cached) $ECHO_C" >&6
7297 lt_cv_ld_exported_symbols_list
=no
7298 save_LDFLAGS
=$LDFLAGS
7299 echo "_main" > conftest.sym
7300 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7301 cat >conftest.
$ac_ext <<_ACEOF
7304 cat confdefs.h
>>conftest.
$ac_ext
7305 cat >>conftest.
$ac_ext <<_ACEOF
7306 /* end confdefs.h. */
7316 rm -f conftest.
$ac_objext conftest
$ac_exeext
7317 if { (ac_try
="$ac_link"
7319 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7320 *) ac_try_echo=$ac_try;;
7322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7323 (eval "$ac_link") 2>conftest.er1
7325 grep -v '^ *+' conftest.er1 >conftest.err
7327 cat conftest.err >&5
7328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7329 (exit $ac_status); } && {
7330 test -z "$ac_c_werror_flag" ||
7331 test ! -s conftest.err
7332 } && test -s conftest$ac_exeext &&
7333 $as_test_x conftest$ac_exeext; then
7334 lt_cv_ld_exported_symbols_list=yes
7336 echo "$as_me: failed program was:" >&5
7337 sed 's/^/| /' conftest.$ac_ext >&5
7339 lt_cv_ld_exported_symbols_list=no
7342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7343 conftest$ac_exeext conftest.$ac_ext
7344 LDFLAGS="$save_LDFLAGS"
7347 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7348 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
7350 rhapsody* | darwin1.[0123])
7351 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7353 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7355 # if running on 10.5 or later, the deployment target defaults
7356 # to the OS version, if on x86, and 10.4, the deployment
7357 # target defaults to 10.4. Don't you love it?
7358 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7359 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7360 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7362 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7364 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7368 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7369 _lt_dar_single_mod='$single_module'
7371 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7372 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7374 _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
7376 if test "$DSYMUTIL" != ":"; then
7377 _lt_dsymutil="~$DSYMUTIL \$lib || :"
7388 # Check whether --enable-libtool-lock was given.
7389 if test "${enable_libtool_lock+set}" = set; then
7390 enableval=$enable_libtool_lock;
7393 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7396 # Check whether --with-pic was given.
7397 if test "${with_pic+set}" = set; then
7398 withval=$with_pic; pic_mode="$withval"
7403 test -z "$pic_mode" && pic_mode=default
7405 # Use C for the default configuration in the libtool script
7409 ac_cpp='$CPP $CPPFLAGS'
7410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7415 # Source file extension for C test sources.
7418 # Object file extension for compiled C test sources.
7422 # Code to be used in simple compile tests
7423 lt_simple_compile_test_code="int some_variable = 0;"
7425 # Code to be used in simple link tests
7426 lt_simple_link_test_code='int main(){return(0);}'
7429 # If no C compiler was specified, use CC.
7432 # If no C compiler flags were specified, use CFLAGS.
7433 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7435 # Allow CC to be a program name with arguments.
7439 # save warnings/boilerplate of simple test code
7440 ac_outfile=conftest.$ac_objext
7441 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7442 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7443 _lt_compiler_boilerplate=`cat conftest.err
`
7446 ac_outfile=conftest.$ac_objext
7447 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7448 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7449 _lt_linker_boilerplate=`cat conftest.err
`
7454 lt_prog_compiler_no_builtin_flag=
7456 if test "$GCC" = yes; then
7457 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7460 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7461 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7462 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7463 echo $ECHO_N "(cached) $ECHO_C" >&6
7465 lt_cv_prog_compiler_rtti_exceptions=no
7466 ac_outfile=conftest.$ac_objext
7467 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7468 lt_compiler_flag="-fno-rtti -fno-exceptions"
7469 # Insert the option either (1) after the last *FLAGS variable, or
7470 # (2) before a word containing "conftest.", or (3) at the end.
7471 # Note that $ac_compile itself does not contain backslashes and begins
7472 # with a dollar sign (not a hyphen), so the echo should work correctly.
7473 # The option is referenced via a variable to avoid confusing sed.
7474 lt_compile=`echo "$ac_compile" |
$SED \
7475 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7476 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7477 -e 's:$: $lt_compiler_flag:'`
7478 (eval echo "\"\$as_me:7478: $lt_compile\"" >&5)
7479 (eval "$lt_compile" 2>conftest.err)
7481 cat conftest.err >&5
7482 echo "$as_me:7482: \$? = $ac_status" >&5
7483 if (exit $ac_status) && test -s "$ac_outfile"; then
7484 # The compiler can only warn and ignore the option if not recognized
7485 # So say no if there are warnings other than the usual output.
7486 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7487 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7488 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7489 lt_cv_prog_compiler_rtti_exceptions=yes
7495 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7496 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7498 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7499 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7506 lt_prog_compiler_wl=
7507 lt_prog_compiler_pic=
7508 lt_prog_compiler_static=
7510 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7511 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7513 if test "$GCC" = yes; then
7514 lt_prog_compiler_wl='-Wl,'
7515 lt_prog_compiler_static='-static'
7519 # All AIX code is PIC.
7520 if test "$host_cpu" = ia64; then
7521 # AIX 5 now supports IA64 processor
7522 lt_prog_compiler_static='-Bstatic'
7527 # FIXME: we need at least 68020 code to build shared libraries, but
7528 # adding the `-m68020' flag to GCC prevents building anything better,
7530 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7533 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7534 # PIC is the default for these OSes.
7537 mingw
* | cygwin
* | pw32
* | os2
*)
7538 # This hack is so that the source file can tell whether it is being
7539 # built for inclusion in a dll (and should export symbols for example).
7540 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7541 # (--disable-auto-import) libraries
7542 lt_prog_compiler_pic
='-DDLL_EXPORT'
7545 darwin
* | rhapsody
*)
7546 # PIC is the default on this platform
7547 # Common symbols not allowed in MH_DYLIB files
7548 lt_prog_compiler_pic
='-fno-common'
7552 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7553 # Instead, we relocate shared libraries at runtime.
7557 # Just because we use GCC doesn't mean we suddenly get shared libraries
7558 # on systems that don't support them.
7559 lt_prog_compiler_can_build_shared
=no
7564 if test -d /usr
/nec
; then
7565 lt_prog_compiler_pic
=-Kconform_pic
7570 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7577 lt_prog_compiler_pic
='-fPIC'
7583 lt_prog_compiler_pic
='-fPIC'
7587 # PORTME Check for flag to pass linker flags through the system compiler.
7590 lt_prog_compiler_wl
='-Wl,'
7591 if test "$host_cpu" = ia64
; then
7592 # AIX 5 now supports IA64 processor
7593 lt_prog_compiler_static
='-Bstatic'
7595 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7599 # PIC is the default on this platform
7600 # Common symbols not allowed in MH_DYLIB files
7601 case $cc_basename in
7603 lt_prog_compiler_pic
='-qnocommon'
7604 lt_prog_compiler_wl
='-Wl,'
7609 mingw
* | cygwin
* | pw32
* | os2
*)
7610 # This hack is so that the source file can tell whether it is being
7611 # built for inclusion in a dll (and should export symbols for example).
7612 lt_prog_compiler_pic
='-DDLL_EXPORT'
7615 hpux9
* | hpux10
* | hpux11
*)
7616 lt_prog_compiler_wl
='-Wl,'
7617 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7624 lt_prog_compiler_pic
='+Z'
7627 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7628 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7631 irix5
* | irix6
* | nonstopux
*)
7632 lt_prog_compiler_wl
='-Wl,'
7633 # PIC (with -KPIC) is the default.
7634 lt_prog_compiler_static
='-non_shared'
7638 lt_prog_compiler_pic
='-KPIC'
7639 lt_prog_compiler_static
='-Bstatic'
7642 linux
* | k
*bsd
*-gnu)
7643 case $cc_basename in
7645 lt_prog_compiler_wl
='-Wl,'
7646 lt_prog_compiler_pic
='-KPIC'
7647 lt_prog_compiler_static
='-static'
7649 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7650 # Portland Group compilers (*not* the Pentium gcc compiler,
7651 # which looks to be a dead project)
7652 lt_prog_compiler_wl
='-Wl,'
7653 lt_prog_compiler_pic
='-fpic'
7654 lt_prog_compiler_static
='-Bstatic'
7657 lt_prog_compiler_wl
='-Wl,'
7658 # All Alpha code is PIC.
7659 lt_prog_compiler_static
='-non_shared'
7662 case `$CC -V 2>&1 | sed 5q` in
7665 lt_prog_compiler_pic
='-KPIC'
7666 lt_prog_compiler_static
='-Bstatic'
7667 lt_prog_compiler_wl
='-Wl,'
7670 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7671 lt_prog_compiler_pic
='-KPIC'
7672 lt_prog_compiler_static
='-Bstatic'
7673 lt_prog_compiler_wl
=''
7680 osf3
* | osf4
* | osf5
*)
7681 lt_prog_compiler_wl
='-Wl,'
7682 # All OSF/1 code is PIC.
7683 lt_prog_compiler_static
='-non_shared'
7687 lt_prog_compiler_static
='-non_shared'
7691 lt_prog_compiler_pic
='-KPIC'
7692 lt_prog_compiler_static
='-Bstatic'
7693 case $cc_basename in
7695 lt_prog_compiler_wl
='-Qoption ld ';;
7697 lt_prog_compiler_wl
='-Wl,';;
7702 lt_prog_compiler_wl
='-Qoption ld '
7703 lt_prog_compiler_pic
='-PIC'
7704 lt_prog_compiler_static
='-Bstatic'
7707 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7708 lt_prog_compiler_wl
='-Wl,'
7709 lt_prog_compiler_pic
='-KPIC'
7710 lt_prog_compiler_static
='-Bstatic'
7714 if test -d /usr
/nec
;then
7715 lt_prog_compiler_pic
='-Kconform_pic'
7716 lt_prog_compiler_static
='-Bstatic'
7720 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7721 lt_prog_compiler_wl
='-Wl,'
7722 lt_prog_compiler_pic
='-KPIC'
7723 lt_prog_compiler_static
='-Bstatic'
7727 lt_prog_compiler_wl
='-Wl,'
7728 lt_prog_compiler_can_build_shared
=no
7732 lt_prog_compiler_pic
='-pic'
7733 lt_prog_compiler_static
='-Bstatic'
7737 lt_prog_compiler_can_build_shared
=no
7742 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7743 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7746 # Check to make sure the PIC flag actually works.
7748 if test -n "$lt_prog_compiler_pic"; then
7750 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7751 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7752 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7753 echo $ECHO_N "(cached) $ECHO_C" >&6
7755 lt_cv_prog_compiler_pic_works
=no
7756 ac_outfile
=conftest.
$ac_objext
7757 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7758 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7759 # Insert the option either (1) after the last *FLAGS variable, or
7760 # (2) before a word containing "conftest.", or (3) at the end.
7761 # Note that $ac_compile itself does not contain backslashes and begins
7762 # with a dollar sign (not a hyphen), so the echo should work correctly.
7763 # The option is referenced via a variable to avoid confusing sed.
7764 lt_compile
=`echo "$ac_compile" | $SED \
7765 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7766 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7767 -e 's:$: $lt_compiler_flag:'`
7768 (eval echo "\"\$as_me:7768: $lt_compile\"" >&5)
7769 (eval "$lt_compile" 2>conftest.err
)
7771 cat conftest.err
>&5
7772 echo "$as_me:7772: \$? = $ac_status" >&5
7773 if (exit $ac_status) && test -s "$ac_outfile"; then
7774 # The compiler can only warn and ignore the option if not recognized
7775 # So say no if there are warnings other than the usual output.
7776 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7777 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7778 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7779 lt_cv_prog_compiler_pic_works
=yes
7785 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7786 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
7788 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7789 case $lt_prog_compiler_pic in
7791 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7794 lt_prog_compiler_pic
=
7795 lt_prog_compiler_can_build_shared
=no
7800 # For platforms which do not support PIC, -DPIC is meaningless:
7802 lt_prog_compiler_pic
=
7805 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7810 # Check to make sure the static flag actually works.
7812 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7813 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7814 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7815 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7816 echo $ECHO_N "(cached) $ECHO_C" >&6
7818 lt_cv_prog_compiler_static_works
=no
7819 save_LDFLAGS
="$LDFLAGS"
7820 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7821 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7822 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7823 # The linker can only warn and ignore the option if not recognized
7824 # So say no if there are warnings
7825 if test -s conftest.err
; then
7826 # Append any errors to the config.log.
7827 cat conftest.err
1>&5
7828 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7829 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7830 if diff conftest.exp conftest.er2
>/dev
/null
; then
7831 lt_cv_prog_compiler_static_works
=yes
7834 lt_cv_prog_compiler_static_works
=yes
7838 LDFLAGS
="$save_LDFLAGS"
7841 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7842 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
7844 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7847 lt_prog_compiler_static
=
7851 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7852 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7853 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7854 echo $ECHO_N "(cached) $ECHO_C" >&6
7856 lt_cv_prog_compiler_c_o
=no
7857 $rm -r conftest
2>/dev
/null
7861 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7863 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7864 # Insert the option either (1) after the last *FLAGS variable, or
7865 # (2) before a word containing "conftest.", or (3) at the end.
7866 # Note that $ac_compile itself does not contain backslashes and begins
7867 # with a dollar sign (not a hyphen), so the echo should work correctly.
7868 lt_compile
=`echo "$ac_compile" | $SED \
7869 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7870 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7871 -e 's:$: $lt_compiler_flag:'`
7872 (eval echo "\"\$as_me:7872: $lt_compile\"" >&5)
7873 (eval "$lt_compile" 2>out
/conftest.err
)
7875 cat out
/conftest.err
>&5
7876 echo "$as_me:7876: \$? = $ac_status" >&5
7877 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7879 # The compiler can only warn and ignore the option if not recognized
7880 # So say no if there are warnings
7881 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7882 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7883 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7884 lt_cv_prog_compiler_c_o
=yes
7889 # SGI C++ compiler will create directory out/ii_files/ for
7890 # template instantiation
7891 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7892 $rm out
/* && rmdir out
7898 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7899 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7902 hard_links
="nottested"
7903 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7904 # do not overwrite the value of need_locks provided by the user
7905 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7906 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7909 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7911 ln conftest.a conftest.b
2>&5 || hard_links
=no
7912 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7913 { echo "$as_me:$LINENO: result: $hard_links" >&5
7914 echo "${ECHO_T}$hard_links" >&6; }
7915 if test "$hard_links" = no
; then
7916 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7917 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7924 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7925 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7928 allow_undefined_flag
=
7929 enable_shared_with_static_runtimes
=no
7931 archive_expsym_cmds
=
7932 old_archive_From_new_cmds
=
7933 old_archive_from_expsyms_cmds
=
7934 export_dynamic_flag_spec
=
7935 whole_archive_flag_spec
=
7936 thread_safe_flag_spec
=
7937 hardcode_libdir_flag_spec
=
7938 hardcode_libdir_flag_spec_ld
=
7939 hardcode_libdir_separator
=
7942 hardcode_shlibpath_var
=unsupported
7943 link_all_deplibs
=unknown
7944 hardcode_automatic
=no
7947 always_export_symbols
=no
7948 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7949 # include_expsyms should be a list of space-separated symbols to be *always*
7950 # included in the symbol list
7952 # exclude_expsyms can be an extended regexp of symbols to exclude
7953 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7954 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7955 # as well as any symbol that contains `d'.
7956 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7957 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7958 # platforms (ab)use it in PIC code, but their linkers get confused if
7959 # the symbol is explicitly referenced. Since portable code cannot
7960 # rely on this symbol name, it's probably fine to never include it in
7961 # preloaded symbol tables.
7962 # Exclude shared library initialization/finalization symbols.
7963 extract_expsyms_cmds
=
7964 # Just being paranoid about ensuring that cc_basename is set.
7965 for cc_temp
in $compiler""; do
7967 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7968 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7973 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7976 cygwin
* | mingw
* | pw32
*)
7977 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7978 # When not using gcc, we currently assume that we are using
7979 # Microsoft Visual C++.
7980 if test "$GCC" != yes; then
7985 # we just hope/assume this is gcc and not c89 (= MSVC++)
7994 if test "$with_gnu_ld" = yes; then
7995 # If archive_cmds runs LD, not CC, wlarc should be empty
7998 # Set some defaults for GNU ld with shared library support. These
7999 # are reset later if shared libraries are not supported. Putting them
8000 # here allows them to be overridden if necessary.
8001 runpath_var
=LD_RUN_PATH
8002 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
8003 export_dynamic_flag_spec
='${wl}--export-dynamic'
8004 # ancient GNU ld didn't support --whole-archive et. al.
8005 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
8006 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8008 whole_archive_flag_spec
=
8010 supports_anon_versioning
=no
8011 case `$LD -v 2>/dev/null` in
8012 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8013 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8014 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8015 *\
2.11.
*) ;; # other 2.11 versions
8016 *) supports_anon_versioning
=yes ;;
8019 # See if GNU ld supports shared libraries.
8022 # On AIX/PPC, the GNU linker is very broken
8023 if test "$host_cpu" != ia64
; then
8027 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8028 *** to be unable to reliably create shared libraries on AIX.
8029 *** Therefore, libtool is disabling shared libraries support. If you
8030 *** really care for shared libraries, you may want to modify your PATH
8031 *** so that a non-GNU linker is found, and then restart.
8038 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)'
8039 hardcode_libdir_flag_spec
='-L$libdir'
8040 hardcode_minus_L
=yes
8042 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8043 # that the semantics of dynamic libraries on AmigaOS, at least up
8044 # to version 4, is to share data among multiple programs linked
8045 # with the same dynamic library. Since this doesn't match the
8046 # behavior of shared libraries on other platforms, we can't use
8052 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8053 allow_undefined_flag
=unsupported
8054 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8055 # support --undefined. This deserves some investigation. FIXME
8056 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8062 cygwin
* | mingw
* | pw32
*)
8063 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8064 # as there is no search path for DLLs.
8065 hardcode_libdir_flag_spec
='-L$libdir'
8066 allow_undefined_flag
=unsupported
8067 always_export_symbols
=no
8068 enable_shared_with_static_runtimes
=yes
8069 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8071 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
8072 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8073 # If the export-symbols file already is a .def file (1st line
8074 # is EXPORTS), use it as is; otherwise, prepend...
8075 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8076 cp $export_symbols $output_objdir/$soname.def;
8078 echo EXPORTS > $output_objdir/$soname.def;
8079 cat $export_symbols >> $output_objdir/$soname.def;
8081 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8089 hardcode_shlibpath_var
=no
8090 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8091 export_dynamic_flag_spec
='${wl}-E'
8092 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8093 # Instead, shared libraries are loaded at an image base (0x10000000 by
8094 # default) and relocated if they conflict, which is a slow very memory
8095 # consuming and fragmenting process. To avoid this, we pick a random,
8096 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8097 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8098 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8099 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'
8102 gnu
* | linux
* | k
*bsd
*-gnu)
8103 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8105 case $cc_basename,$host_cpu in
8106 pgcc
*) # Portland Group C compiler
8107 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
8108 tmp_addflag
=' $pic_flag'
8110 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8111 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
8112 tmp_addflag
=' $pic_flag -Mnomain' ;;
8113 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8114 tmp_addflag
=' -i_dynamic' ;;
8115 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8116 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8117 ifc
* | ifort
*) # Intel Fortran compiler
8118 tmp_addflag
=' -nofor_main' ;;
8120 case `$CC -V 2>&1 | sed 5q` in
8121 *Sun\ C
*) # Sun C 5.9
8122 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
8123 tmp_sharedflag
='-G' ;;
8124 *Sun\ F
*) # Sun Fortran 8.3
8125 tmp_sharedflag
='-G' ;;
8127 tmp_sharedflag
='-shared' ;;
8129 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8131 if test $supports_anon_versioning = yes; then
8132 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
8133 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8134 $echo "local: *; };" >> $output_objdir/$libname.ver~
8135 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8143 netbsd
* | netbsdelf
*-gnu)
8144 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8145 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8148 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8149 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8154 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
8158 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8159 *** create shared libraries on Solaris systems. Therefore, libtool
8160 *** is disabling shared libraries support. We urge you to upgrade GNU
8161 *** binutils to release 2.9.1 or newer. Another option is to modify
8162 *** your PATH or compiler configuration so that the native linker is
8163 *** used, and then restart.
8166 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8167 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8168 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8174 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8175 case `$LD -v 2>&1` in
8176 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8180 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8181 *** reliably create shared libraries on SCO systems. Therefore, libtool
8182 *** is disabling shared libraries support. We urge you to upgrade GNU
8183 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8184 *** your PATH or compiler configuration so that the native linker is
8185 *** used, and then restart.
8190 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8191 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8192 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8193 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8202 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8205 hardcode_shlibpath_var
=no
8209 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8210 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8211 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8218 if test "$ld_shlibs" = no
; then
8220 hardcode_libdir_flag_spec
=
8221 export_dynamic_flag_spec
=
8222 whole_archive_flag_spec
=
8225 # PORTME fill in a description of your system's linker (not GNU ld)
8228 allow_undefined_flag
=unsupported
8229 always_export_symbols
=yes
8230 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'
8231 # Note: this linker hardcodes the directories in LIBPATH if there
8232 # are no directories specified by -L.
8233 hardcode_minus_L
=yes
8234 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8235 # Neither direct hardcoding nor static linking is supported with a
8237 hardcode_direct
=unsupported
8242 if test "$host_cpu" = ia64
; then
8243 # On IA64, the linker does run time linking by default, so we don't
8244 # have to do anything special.
8245 aix_use_runtimelinking
=no
8246 exp_sym_flag
='-Bexport'
8249 # If we're using GNU nm, then we don't want the "-C" option.
8250 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8251 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
8252 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
8254 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
8256 aix_use_runtimelinking
=no
8258 # Test if we are trying to use run time linking or normal
8259 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8260 # need to do runtime linking.
8261 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8262 for ld_flag
in $LDFLAGS; do
8263 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8264 aix_use_runtimelinking
=yes
8271 exp_sym_flag
='-bexport'
8272 no_entry_flag
='-bnoentry'
8275 # When large executables or shared objects are built, AIX ld can
8276 # have problems creating the table of contents. If linking a library
8277 # or program results in "error TOC overflow" add -mminimal-toc to
8278 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8279 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8283 hardcode_libdir_separator
=':'
8284 link_all_deplibs
=yes
8286 if test "$GCC" = yes; then
8287 case $host_os in aix4.
[012]|aix4.
[012].
*)
8288 # We only want to do this on AIX 4.2 and lower, the check
8289 # below for broken collect2 doesn't work under 4.3+
8290 collect2name
=`${CC} -print-prog-name=collect2`
8291 if test -f "$collect2name" && \
8292 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
8294 # We have reworked collect2
8297 # We have old collect2
8298 hardcode_direct
=unsupported
8299 # It fails to find uninstalled libraries when the uninstalled
8300 # path is not listed in the libpath. Setting hardcode_minus_L
8301 # to unsupported forces relinking
8302 hardcode_minus_L
=yes
8303 hardcode_libdir_flag_spec
='-L$libdir'
8304 hardcode_libdir_separator
=
8308 shared_flag
='-shared'
8309 if test "$aix_use_runtimelinking" = yes; then
8310 shared_flag
="$shared_flag "'${wl}-G'
8314 if test "$host_cpu" = ia64
; then
8315 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8316 # chokes on -Wl,-G. The following line is correct:
8319 if test "$aix_use_runtimelinking" = yes; then
8320 shared_flag
='${wl}-G'
8322 shared_flag
='${wl}-bM:SRE'
8327 # It seems that -bexpall does not export symbols beginning with
8328 # underscore (_), so it is better to generate a list of symbols to export.
8329 always_export_symbols
=yes
8330 if test "$aix_use_runtimelinking" = yes; then
8331 # Warning - without using the other runtime loading flags (-brtl),
8332 # -berok will link without error, but may produce a broken library.
8333 allow_undefined_flag
='-berok'
8334 # Determine the default libpath from the value encoded in an empty executable.
8335 cat >conftest.
$ac_ext <<_ACEOF
8338 cat confdefs.h
>>conftest.
$ac_ext
8339 cat >>conftest.
$ac_ext <<_ACEOF
8340 /* end confdefs.h. */
8350 rm -f conftest.
$ac_objext conftest
$ac_exeext
8351 if { (ac_try
="$ac_link"
8353 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8354 *) ac_try_echo=$ac_try;;
8356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8357 (eval "$ac_link") 2>conftest.er1
8359 grep -v '^ *+' conftest.er1 >conftest.err
8361 cat conftest.err >&5
8362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8363 (exit $ac_status); } && {
8364 test -z "$ac_c_werror_flag" ||
8365 test ! -s conftest.err
8366 } && test -s conftest$ac_exeext &&
8367 $as_test_x conftest$ac_exeext; then
8369 lt_aix_libpath_sed='
8370 /Import File Strings/,/^$/ {
8376 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8377 # Check for a 64-bit object if we didn't find anything.
8378 if test -z "$aix_libpath"; then
8379 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8382 echo "$as_me: failed program was:" >&5
8383 sed 's/^/| /' conftest.$ac_ext >&5
8388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8389 conftest$ac_exeext conftest.$ac_ext
8390 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8392 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8393 archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8395 if test "$host_cpu" = ia64; then
8396 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8397 allow_undefined_flag="-z nodefs"
8398 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"
8400 # Determine the default libpath from the value encoded in an empty executable.
8401 cat >conftest.$ac_ext <<_ACEOF
8404 cat confdefs.h >>conftest.$ac_ext
8405 cat >>conftest.$ac_ext <<_ACEOF
8406 /* end confdefs.h. */
8416 rm -f conftest.$ac_objext conftest$ac_exeext
8417 if { (ac_try="$ac_link"
8419 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8420 *) ac_try_echo
=$ac_try;;
8422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8423 (eval "$ac_link") 2>conftest.er1
8425 grep -v '^ *+' conftest.er1
>conftest.err
8427 cat conftest.err
>&5
8428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429 (exit $ac_status); } && {
8430 test -z "$ac_c_werror_flag" ||
8431 test ! -s conftest.err
8432 } && test -s conftest
$ac_exeext &&
8433 $as_test_x conftest
$ac_exeext; then
8435 lt_aix_libpath_sed
='
8436 /Import File Strings/,/^$/ {
8442 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8443 # Check for a 64-bit object if we didn't find anything.
8444 if test -z "$aix_libpath"; then
8445 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8448 echo "$as_me: failed program was:" >&5
8449 sed 's/^/| /' conftest.
$ac_ext >&5
8454 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8455 conftest
$ac_exeext conftest.
$ac_ext
8456 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8458 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8459 # Warning - without using the other run time loading flags,
8460 # -berok will link without error, but may produce a broken library.
8461 no_undefined_flag
=' ${wl}-bernotok'
8462 allow_undefined_flag
=' ${wl}-berok'
8463 # Exported symbols can be pulled into shared objects from archives
8464 whole_archive_flag_spec
='$convenience'
8465 archive_cmds_need_lc
=yes
8466 # This is similar to how AIX traditionally builds its shared libraries.
8467 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8473 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)'
8474 hardcode_libdir_flag_spec
='-L$libdir'
8475 hardcode_minus_L
=yes
8476 # see comment about different semantics on the GNU ld section
8481 export_dynamic_flag_spec
=-rdynamic
8484 cygwin
* | mingw
* | pw32
*)
8485 # When not using gcc, we currently assume that we are using
8486 # Microsoft Visual C++.
8487 # hardcode_libdir_flag_spec is actually meaningless, as there is
8488 # no search path for DLLs.
8489 hardcode_libdir_flag_spec
=' '
8490 allow_undefined_flag
=unsupported
8491 # Tell ltmain to make .lib files, not .a files.
8493 # Tell ltmain to make .dll files, not .so files.
8495 # FIXME: Setting linknames here is a bad hack.
8496 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8497 # The linker will automatically build a .lib file if we build a DLL.
8498 old_archive_From_new_cmds
='true'
8499 # FIXME: Should let the user specify the lib program.
8500 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8501 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8502 enable_shared_with_static_runtimes
=yes
8505 darwin
* | rhapsody
*)
8507 rhapsody
* | darwin1.
[012])
8508 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8511 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8512 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8514 case ${MACOSX_DEPLOYMENT_TARGET} in
8516 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8519 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8525 archive_cmds_need_lc
=no
8527 hardcode_automatic
=yes
8528 hardcode_shlibpath_var
=unsupported
8529 whole_archive_flag_spec
=''
8530 link_all_deplibs
=yes
8531 if test "$GCC" = yes ; then
8532 output_verbose_link_cmd
='echo'
8533 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8534 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8535 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}"
8536 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}"
8538 case $cc_basename in
8540 output_verbose_link_cmd
='echo'
8541 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8542 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8543 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8544 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8545 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8555 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8556 hardcode_libdir_flag_spec
='-L$libdir'
8557 hardcode_shlibpath_var
=no
8564 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8565 # support. Future versions do this automatically, but an explicit c++rt0.o
8566 # does not break anything, and helps significantly (at the cost of a little
8569 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8570 hardcode_libdir_flag_spec
='-R$libdir'
8572 hardcode_shlibpath_var
=no
8575 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8577 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8579 hardcode_minus_L
=yes
8580 hardcode_shlibpath_var
=no
8583 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8584 freebsd
* | dragonfly
*)
8585 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8586 hardcode_libdir_flag_spec
='-R$libdir'
8588 hardcode_shlibpath_var
=no
8592 if test "$GCC" = yes; then
8593 archive_cmds
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8595 archive_cmds
='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8597 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8598 hardcode_libdir_separator
=:
8601 # hardcode_minus_L: Not really in the search PATH,
8602 # but as the default location of the library.
8603 hardcode_minus_L
=yes
8604 export_dynamic_flag_spec
='${wl}-E'
8608 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8609 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8611 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8613 if test "$with_gnu_ld" = no
; then
8614 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8615 hardcode_libdir_separator
=:
8618 export_dynamic_flag_spec
='${wl}-E'
8620 # hardcode_minus_L: Not really in the search PATH,
8621 # but as the default location of the library.
8622 hardcode_minus_L
=yes
8627 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8630 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8633 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8636 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8642 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8645 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8648 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8652 if test "$with_gnu_ld" = no
; then
8653 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8654 hardcode_libdir_separator
=:
8658 hardcode_libdir_flag_spec_ld
='+b $libdir'
8660 hardcode_shlibpath_var
=no
8664 export_dynamic_flag_spec
='${wl}-E'
8666 # hardcode_minus_L: Not really in the search PATH,
8667 # but as the default location of the library.
8668 hardcode_minus_L
=yes
8674 irix5
* | irix6
* | nonstopux
*)
8675 if test "$GCC" = yes; then
8676 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8678 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8679 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8681 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8682 hardcode_libdir_separator
=:
8683 link_all_deplibs
=yes
8686 netbsd
* | netbsdelf
*-gnu)
8687 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8688 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8690 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8692 hardcode_libdir_flag_spec
='-R$libdir'
8694 hardcode_shlibpath_var
=no
8698 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8700 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8701 hardcode_libdir_separator
=:
8702 hardcode_shlibpath_var
=no
8706 if test -f /usr
/libexec
/ld.so
; then
8708 hardcode_shlibpath_var
=no
8709 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8710 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8711 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8712 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8713 export_dynamic_flag_spec
='${wl}-E'
8716 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8717 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8718 hardcode_libdir_flag_spec
='-R$libdir'
8721 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8722 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8732 hardcode_libdir_flag_spec
='-L$libdir'
8733 hardcode_minus_L
=yes
8734 allow_undefined_flag
=unsupported
8735 archive_cmds
='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
8736 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8740 if test "$GCC" = yes; then
8741 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8742 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8744 allow_undefined_flag
=' -expect_unresolved \*'
8745 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8747 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8748 hardcode_libdir_separator
=:
8751 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8752 if test "$GCC" = yes; then
8753 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8754 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8755 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8757 allow_undefined_flag
=' -expect_unresolved \*'
8758 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8759 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8760 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
8762 # Both c and cxx compiler support -rpath directly
8763 hardcode_libdir_flag_spec
='-rpath $libdir'
8765 hardcode_libdir_separator
=:
8769 no_undefined_flag
=' -z text'
8770 if test "$GCC" = yes; then
8772 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8773 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8774 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8777 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8778 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8779 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8781 hardcode_libdir_flag_spec
='-R$libdir'
8782 hardcode_shlibpath_var
=no
8784 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8786 # The compiler driver will combine and reorder linker options,
8787 # but understands `-z linker_flag'. GCC discards it without `$wl',
8788 # but is careful enough not to reorder.
8789 # Supported since Solaris 2.6 (maybe 2.5.1?)
8790 if test "$GCC" = yes; then
8791 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8793 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8797 link_all_deplibs
=yes
8801 if test "x$host_vendor" = xsequent
; then
8802 # Use $CC to link under sequent, because it throws in some extra .o
8803 # files that make .init and .fini sections work.
8804 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8806 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8808 hardcode_libdir_flag_spec
='-L$libdir'
8810 hardcode_minus_L
=yes
8811 hardcode_shlibpath_var
=no
8815 case $host_vendor in
8817 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8818 hardcode_direct
=yes # is this really true???
8821 ## LD is ld it makes a PLAMLIB
8822 ## CC just makes a GrossModule.
8823 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8824 reload_cmds
='$CC -r -o $output$reload_objs'
8828 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8829 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8832 runpath_var
='LD_RUN_PATH'
8833 hardcode_shlibpath_var
=no
8837 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8838 hardcode_shlibpath_var
=no
8839 export_dynamic_flag_spec
='-Bexport'
8843 if test -d /usr
/nec
; then
8844 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8845 hardcode_shlibpath_var
=no
8846 runpath_var
=LD_RUN_PATH
8847 hardcode_runpath_var
=yes
8852 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8853 no_undefined_flag
='${wl}-z,text'
8854 archive_cmds_need_lc
=no
8855 hardcode_shlibpath_var
=no
8856 runpath_var
='LD_RUN_PATH'
8858 if test "$GCC" = yes; then
8859 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8860 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8862 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8863 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8867 sysv5
* | sco3.2v5
* | sco5v6
*)
8868 # Note: We can NOT use -z defs as we might desire, because we do not
8869 # link with -lc, and that would cause any symbols used from libc to
8870 # always be unresolved, which means just about no library would
8871 # ever link correctly. If we're not using GNU ld we use -z text
8872 # though, which does catch some bad symbols but isn't as heavy-handed
8874 no_undefined_flag
='${wl}-z,text'
8875 allow_undefined_flag
='${wl}-z,nodefs'
8876 archive_cmds_need_lc
=no
8877 hardcode_shlibpath_var
=no
8878 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8879 hardcode_libdir_separator
=':'
8880 link_all_deplibs
=yes
8881 export_dynamic_flag_spec
='${wl}-Bexport'
8882 runpath_var
='LD_RUN_PATH'
8884 if test "$GCC" = yes; then
8885 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8886 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8888 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8889 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8894 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8895 hardcode_libdir_flag_spec
='-L$libdir'
8896 hardcode_shlibpath_var
=no
8905 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8906 echo "${ECHO_T}$ld_shlibs" >&6; }
8907 test "$ld_shlibs" = no
&& can_build_shared
=no
8910 # Do we need to explicitly link libc?
8912 case "x$archive_cmds_need_lc" in
8914 # Assume -lc should be added
8915 archive_cmds_need_lc
=yes
8917 if test "$enable_shared" = yes && test "$GCC" = yes; then
8918 case $archive_cmds in
8920 # FIXME: we may have to deal with multi-command sequences.
8923 # Test whether the compiler implicitly links with -lc since on some
8924 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8925 # to ld, don't add -lc before -lgcc.
8926 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8927 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8929 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8932 (eval $ac_compile) 2>&5
8934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8935 (exit $ac_status); } 2>conftest.err
; then
8938 libobjs
=conftest.
$ac_objext
8940 wl
=$lt_prog_compiler_wl
8941 pic_flag
=$lt_prog_compiler_pic
8947 lt_save_allow_undefined_flag
=$allow_undefined_flag
8948 allow_undefined_flag
=
8949 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8950 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8953 (exit $ac_status); }
8955 archive_cmds_need_lc
=no
8957 archive_cmds_need_lc
=yes
8959 allow_undefined_flag
=$lt_save_allow_undefined_flag
8961 cat conftest.err
1>&5
8964 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8965 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8972 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8973 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8975 libname_spec
='lib$name'
8983 shlibpath_overrides_runpath
=unknown
8985 dynamic_linker
="$host_os ld.so"
8986 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8988 if test "$GCC" = yes; then
8990 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8991 *) lt_awk_arg
="/^libraries:/" ;;
8993 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8994 if echo "$lt_search_path_spec" |
grep ';' >/dev
/null
; then
8995 # if the path contains ";" then we assume it to be the separator
8996 # otherwise default to the standard path separator (i.e. ":") - it is
8997 # assumed that no part of a normal pathname contains ";" but that should
8998 # okay in the real world where ";" in dirpaths is itself problematic.
8999 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9001 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9003 # Ok, now we have the path, separated by spaces, we can step through it
9004 # and add multilib dir if necessary.
9005 lt_tmp_lt_search_path_spec
=
9006 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9007 for lt_sys_path
in $lt_search_path_spec; do
9008 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9009 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9011 test -d "$lt_sys_path" && \
9012 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9015 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
9016 BEGIN {RS=" "; FS="/|\n";} {
9019 for (lt_i = NF; lt_i > 0; lt_i--) {
9020 if ($lt_i != "" && $lt_i != ".") {
9021 if ($lt_i == "..") {
9024 if (lt_count == 0) {
9025 lt_foo="/" $lt_i lt_foo;
9032 if (lt_foo != "") { lt_freq[lt_foo]++; }
9033 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9035 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
9037 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9039 need_lib_prefix
=unknown
9040 hardcode_into_libs
=no
9042 # when you set need_version to no, make sure it does not cause -set_version
9043 # flags to be left without arguments
9044 need_version
=unknown
9049 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9050 shlibpath_var
=LIBPATH
9052 # AIX 3 has no versioning support, so we append a major version to the name.
9053 soname_spec
='${libname}${release}${shared_ext}$major'
9060 hardcode_into_libs
=yes
9061 if test "$host_cpu" = ia64
; then
9062 # AIX 5 supports IA64
9063 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9064 shlibpath_var
=LD_LIBRARY_PATH
9066 # With GCC up to 2.95.x, collect2 would create an import file
9067 # for dependence libraries. The import file would start with
9068 # the line `#! .'. This would cause the generated library to
9069 # depend on `.', always an invalid library. This was fixed in
9070 # development snapshots of GCC prior to 3.0.
9072 aix4 | aix4.
[01] | aix4.
[01].
*)
9073 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9075 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
9082 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9083 # soname into executable. Probably we can add versioning support to
9084 # collect2, so additional links can be useful in future.
9085 if test "$aix_use_runtimelinking" = yes; then
9086 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9087 # instead of lib<name>.a to let people know that these are not
9088 # typical AIX shared libraries.
9089 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9091 # We preserve .a as extension for shared libraries through AIX4.2
9092 # and later when we are not doing run time linking.
9093 library_names_spec
='${libname}${release}.a $libname.a'
9094 soname_spec
='${libname}${release}${shared_ext}$major'
9096 shlibpath_var
=LIBPATH
9101 library_names_spec
='$libname.ixlibrary $libname.a'
9102 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9103 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9107 library_names_spec
='${libname}${shared_ext}'
9108 dynamic_linker
="$host_os ld.so"
9109 shlibpath_var
=LIBRARY_PATH
9115 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9116 soname_spec
='${libname}${release}${shared_ext}$major'
9117 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9118 shlibpath_var
=LD_LIBRARY_PATH
9119 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9120 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9121 # the default ld.so.conf also contains /usr/contrib/lib and
9122 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9123 # libtool to hard-code these into programs
9126 cygwin
* | mingw
* | pw32
*)
9127 version_type
=windows
9132 case $GCC,$host_os in
9133 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
9134 library_names_spec
='$libname.dll.a'
9135 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9136 postinstall_cmds
='base_file=`basename \${file}`~
9137 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9138 dldir=$destdir/`dirname \$dlpath`~
9139 test -d \$dldir || mkdir -p \$dldir~
9140 $install_prog $dir/$dlname \$dldir/$dlname~
9141 chmod a+x \$dldir/$dlname'
9142 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9143 dlpath=$dir/\$dldll~
9145 shlibpath_overrides_runpath
=yes
9149 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9150 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9151 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9154 # MinGW DLLs use traditional 'lib' prefix
9155 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9156 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9157 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
9158 # It is most probably a Windows format PATH printed by
9159 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9160 # path with ; separators, and with drive letters. We can handle the
9161 # drive letters (cygwin fileutils understands them), so leave them,
9162 # especially as we might pass files found there to a mingw objdump,
9163 # which wouldn't understand a cygwinified path. Ahh.
9164 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9166 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9170 # pw32 DLLs use 'pw' prefix rather than 'lib'
9171 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9177 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9180 dynamic_linker
='Win32 ld.exe'
9181 # FIXME: first we should search . and the directory the executable is in
9185 darwin
* | rhapsody
*)
9186 dynamic_linker
="$host_os dyld"
9190 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9191 soname_spec
='${libname}${release}${major}$shared_ext'
9192 shlibpath_overrides_runpath
=yes
9193 shlibpath_var
=DYLD_LIBRARY_PATH
9194 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9196 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9197 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9204 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9205 soname_spec
='${libname}${release}${shared_ext}$major'
9206 shlibpath_var
=LD_LIBRARY_PATH
9213 freebsd
* | dragonfly
*)
9214 # DragonFly does not have aout. When/if they implement a new
9215 # versioning mechanism, adjust this.
9216 if test -x /usr
/bin
/objformat
; then
9217 objformat
=`/usr/bin/objformat`
9220 freebsd
[123]*) objformat
=aout
;;
9224 version_type
=freebsd-
$objformat
9225 case $version_type in
9227 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9232 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9236 shlibpath_var
=LD_LIBRARY_PATH
9239 shlibpath_overrides_runpath
=yes
9241 freebsd3.
[01]* | freebsdelf3.
[01]*)
9242 shlibpath_overrides_runpath
=yes
9243 hardcode_into_libs
=yes
9245 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9246 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9247 shlibpath_overrides_runpath
=no
9248 hardcode_into_libs
=yes
9250 *) # from 4.6 on, and DragonFly
9251 shlibpath_overrides_runpath
=yes
9252 hardcode_into_libs
=yes
9261 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9262 soname_spec
='${libname}${release}${shared_ext}$major'
9263 shlibpath_var
=LD_LIBRARY_PATH
9264 hardcode_into_libs
=yes
9267 hpux9
* | hpux10
* | hpux11
*)
9268 # Give a soname corresponding to the major version so that dld.sl refuses to
9269 # link against other versions.
9276 hardcode_into_libs
=yes
9277 dynamic_linker
="$host_os dld.so"
9278 shlibpath_var
=LD_LIBRARY_PATH
9279 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9280 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9281 soname_spec
='${libname}${release}${shared_ext}$major'
9282 if test "X$HPUX_IA64_MODE" = X32
; then
9283 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9285 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9287 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9291 hardcode_into_libs
=yes
9292 dynamic_linker
="$host_os dld.sl"
9293 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9294 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9295 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9296 soname_spec
='${libname}${release}${shared_ext}$major'
9297 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9298 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9302 dynamic_linker
="$host_os dld.sl"
9303 shlibpath_var
=SHLIB_PATH
9304 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9305 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9306 soname_spec
='${libname}${release}${shared_ext}$major'
9309 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9310 postinstall_cmds
='chmod 555 $lib'
9317 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9318 soname_spec
='${libname}${release}${shared_ext}$major'
9319 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9320 shlibpath_var
=LD_LIBRARY_PATH
9321 shlibpath_overrides_runpath
=no
9322 hardcode_into_libs
=yes
9325 irix5
* | irix6
* | nonstopux
*)
9327 nonstopux
*) version_type
=nonstopux
;;
9329 if test "$lt_cv_prog_gnu_ld" = yes; then
9337 soname_spec
='${libname}${release}${shared_ext}$major'
9338 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9340 irix5
* | nonstopux
*)
9344 case $LD in # libtool.m4 will add one of these switches to LD
9345 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9346 libsuff
= shlibsuff
= libmagic
=32-bit;;
9347 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9348 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9349 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9350 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9351 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9355 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9356 shlibpath_overrides_runpath
=no
9357 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9358 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9359 hardcode_into_libs
=yes
9362 # No shared lib support for Linux oldld, aout, or coff.
9363 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9367 # This must be Linux ELF.
9368 linux
* | k
*bsd
*-gnu)
9372 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9373 soname_spec
='${libname}${release}${shared_ext}$major'
9374 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9375 shlibpath_var
=LD_LIBRARY_PATH
9376 shlibpath_overrides_runpath
=no
9377 # This implies no fast_install, which is unacceptable.
9378 # Some rework will be needed to allow for fast_install
9379 # before this can be enabled.
9380 hardcode_into_libs
=yes
9382 # Append ld.so.conf contents to the search path
9383 if test -f /etc
/ld.so.conf
; then
9384 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;/^$/d' | tr '\n' ' '`
9385 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9388 # We used to test for /lib/ld.so.1 and disable shared libraries on
9389 # powerpc, because MkLinux only supported shared libraries with the
9390 # GNU dynamic linker. Since this was broken with cross compilers,
9391 # most powerpc-linux boxes support dynamic linking these days and
9392 # people can always --disable-shared, the test was removed, and we
9393 # assume the GNU/Linux dynamic linker is in use.
9394 dynamic_linker
='GNU/Linux ld.so'
9401 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9402 soname_spec
='${libname}${release}${shared_ext}$major'
9403 shlibpath_var
=LD_LIBRARY_PATH
9404 shlibpath_overrides_runpath
=no
9405 hardcode_into_libs
=yes
9406 dynamic_linker
='NetBSD ld.elf_so'
9413 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9414 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9415 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9416 dynamic_linker
='NetBSD (a.out) ld.so'
9418 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9419 soname_spec
='${libname}${release}${shared_ext}$major'
9420 dynamic_linker
='NetBSD ld.elf_so'
9422 shlibpath_var
=LD_LIBRARY_PATH
9423 shlibpath_overrides_runpath
=yes
9424 hardcode_into_libs
=yes
9429 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9430 shlibpath_var
=LD_LIBRARY_PATH
9431 shlibpath_overrides_runpath
=yes
9438 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9439 soname_spec
='${libname}${release}${shared_ext}$major'
9440 shlibpath_var
=LD_LIBRARY_PATH
9441 shlibpath_overrides_runpath
=yes
9446 sys_lib_dlsearch_path_spec
="/usr/lib"
9448 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9450 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9451 *) need_version
=no
;;
9453 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9454 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9455 shlibpath_var
=LD_LIBRARY_PATH
9456 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9458 openbsd2.
[89] | openbsd2.
[89].
*)
9459 shlibpath_overrides_runpath
=no
9462 shlibpath_overrides_runpath
=yes
9466 shlibpath_overrides_runpath
=yes
9471 libname_spec
='$name'
9474 library_names_spec
='$libname${shared_ext} $libname.a'
9475 dynamic_linker
='OS/2 ld.exe'
9476 shlibpath_var
=LIBPATH
9479 osf3
* | osf4
* | osf5
*)
9483 soname_spec
='${libname}${release}${shared_ext}$major'
9484 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9485 shlibpath_var
=LD_LIBRARY_PATH
9486 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9487 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9498 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9499 soname_spec
='${libname}${release}${shared_ext}$major'
9500 shlibpath_var
=LD_LIBRARY_PATH
9501 shlibpath_overrides_runpath
=yes
9502 hardcode_into_libs
=yes
9503 # ldd complains unless libraries are executable
9504 postinstall_cmds
='chmod +x $lib'
9509 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9510 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9511 shlibpath_var
=LD_LIBRARY_PATH
9512 shlibpath_overrides_runpath
=yes
9513 if test "$with_gnu_ld" = yes; then
9521 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9522 soname_spec
='${libname}${release}${shared_ext}$major'
9523 shlibpath_var
=LD_LIBRARY_PATH
9524 case $host_vendor in
9526 shlibpath_overrides_runpath
=no
9528 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9529 runpath_var
=LD_RUN_PATH
9537 shlibpath_overrides_runpath
=no
9538 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9544 if test -d /usr
/nec
;then
9546 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9547 soname_spec
='$libname${shared_ext}.$major'
9548 shlibpath_var
=LD_LIBRARY_PATH
9552 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9553 version_type
=freebsd-elf
9556 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9557 soname_spec
='${libname}${release}${shared_ext}$major'
9558 shlibpath_var
=LD_LIBRARY_PATH
9559 hardcode_into_libs
=yes
9560 if test "$with_gnu_ld" = yes; then
9561 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9562 shlibpath_overrides_runpath
=no
9564 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9565 shlibpath_overrides_runpath
=yes
9568 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9572 sys_lib_dlsearch_path_spec
='/usr/lib'
9577 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9578 soname_spec
='${libname}${release}${shared_ext}$major'
9579 shlibpath_var
=LD_LIBRARY_PATH
9586 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9587 echo "${ECHO_T}$dynamic_linker" >&6; }
9588 test "$dynamic_linker" = no
&& can_build_shared
=no
9590 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9591 echo $ECHO_N "(cached) $ECHO_C" >&6
9593 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
9596 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9597 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9598 echo $ECHO_N "(cached) $ECHO_C" >&6
9600 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
9603 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9605 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9606 if test "$GCC" = yes; then
9607 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9610 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9611 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9613 if test -n "$hardcode_libdir_flag_spec" || \
9614 test -n "$runpath_var" || \
9615 test "X$hardcode_automatic" = "Xyes" ; then
9617 # We can hardcode non-existant directories.
9618 if test "$hardcode_direct" != no
&&
9619 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9620 # have to relink, otherwise we might link with an installed library
9621 # when we should be linking with a yet-to-be-installed one
9622 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9623 test "$hardcode_minus_L" != no
; then
9624 # Linking always hardcodes the temporary library directory.
9625 hardcode_action
=relink
9627 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9628 hardcode_action
=immediate
9631 # We cannot hardcode anything, or else we can only hardcode existing
9633 hardcode_action
=unsupported
9635 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9636 echo "${ECHO_T}$hardcode_action" >&6; }
9638 if test "$hardcode_action" = relink
; then
9639 # Fast installation is not supported
9640 enable_fast_install
=no
9641 elif test "$shlibpath_overrides_runpath" = yes ||
9642 test "$enable_shared" = no
; then
9643 # Fast installation is not necessary
9644 enable_fast_install
=needless
9649 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9650 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9651 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9652 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9653 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9654 { echo "$as_me:$LINENO: result: yes" >&5
9655 echo "${ECHO_T}yes" >&6; }
9657 # FIXME - insert some real tests, host_os isn't really good enough
9660 if test -n "$STRIP" ; then
9661 striplib
="$STRIP -x"
9662 old_striplib
="$STRIP -S"
9663 { echo "$as_me:$LINENO: result: yes" >&5
9664 echo "${ECHO_T}yes" >&6; }
9666 { echo "$as_me:$LINENO: result: no" >&5
9667 echo "${ECHO_T}no" >&6; }
9671 { echo "$as_me:$LINENO: result: no" >&5
9672 echo "${ECHO_T}no" >&6; }
9677 if test "x$enable_dlopen" != xyes
; then
9678 enable_dlopen
=unknown
9679 enable_dlopen_self
=unknown
9680 enable_dlopen_self_static
=unknown
9687 lt_cv_dlopen
="load_add_on"
9689 lt_cv_dlopen_self
=yes
9693 lt_cv_dlopen
="LoadLibrary"
9698 lt_cv_dlopen
="dlopen"
9703 # if libdl is installed we need to link against it
9704 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9705 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9706 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9707 echo $ECHO_N "(cached) $ECHO_C" >&6
9709 ac_check_lib_save_LIBS
=$LIBS
9711 cat >conftest.
$ac_ext <<_ACEOF
9714 cat confdefs.h
>>conftest.
$ac_ext
9715 cat >>conftest.
$ac_ext <<_ACEOF
9716 /* end confdefs.h. */
9718 /* Override any GCC internal prototype to avoid an error.
9719 Use char because int might match the return type of a GCC
9720 builtin and then its argument prototype would still apply. */
9733 rm -f conftest.
$ac_objext conftest
$ac_exeext
9734 if { (ac_try
="$ac_link"
9736 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9737 *) ac_try_echo=$ac_try;;
9739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9740 (eval "$ac_link") 2>conftest.er1
9742 grep -v '^ *+' conftest.er1 >conftest.err
9744 cat conftest.err >&5
9745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9746 (exit $ac_status); } && {
9747 test -z "$ac_c_werror_flag" ||
9748 test ! -s conftest.err
9749 } && test -s conftest$ac_exeext &&
9750 $as_test_x conftest$ac_exeext; then
9751 ac_cv_lib_dl_dlopen=yes
9753 echo "$as_me: failed program was:" >&5
9754 sed 's/^/| /' conftest.$ac_ext >&5
9756 ac_cv_lib_dl_dlopen=no
9759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9760 conftest$ac_exeext conftest.$ac_ext
9761 LIBS=$ac_check_lib_save_LIBS
9763 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9764 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9765 if test $ac_cv_lib_dl_dlopen = yes; then
9766 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9771 lt_cv_dlopen_self=yes
9778 { echo "$as_me:$LINENO: checking for shl_load" >&5
9779 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9780 if test "${ac_cv_func_shl_load+set}" = set; then
9781 echo $ECHO_N "(cached) $ECHO_C" >&6
9783 cat >conftest.$ac_ext <<_ACEOF
9786 cat confdefs.h >>conftest.$ac_ext
9787 cat >>conftest.$ac_ext <<_ACEOF
9788 /* end confdefs.h. */
9789 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9791 #define shl_load innocuous_shl_load
9793 /* System header to define __stub macros and hopefully few prototypes,
9794 which can conflict with char shl_load (); below.
9795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9796 <limits.h> exists even on freestanding compilers. */
9799 # include <limits.h>
9801 # include <assert.h>
9806 /* Override any GCC internal prototype to avoid an error.
9807 Use char because int might match the return type of a GCC
9808 builtin and then its argument prototype would still apply. */
9813 /* The GNU C library defines this for functions which it implements
9814 to always fail with ENOSYS. Some functions are actually named
9815 something starting with __ and the normal name is an alias. */
9816 #if defined __stub_shl_load || defined __stub___shl_load
9828 rm -f conftest.$ac_objext conftest$ac_exeext
9829 if { (ac_try="$ac_link"
9831 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9832 *) ac_try_echo
=$ac_try;;
9834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9835 (eval "$ac_link") 2>conftest.er1
9837 grep -v '^ *+' conftest.er1
>conftest.err
9839 cat conftest.err
>&5
9840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9841 (exit $ac_status); } && {
9842 test -z "$ac_c_werror_flag" ||
9843 test ! -s conftest.err
9844 } && test -s conftest
$ac_exeext &&
9845 $as_test_x conftest
$ac_exeext; then
9846 ac_cv_func_shl_load
=yes
9848 echo "$as_me: failed program was:" >&5
9849 sed 's/^/| /' conftest.
$ac_ext >&5
9851 ac_cv_func_shl_load
=no
9854 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9855 conftest
$ac_exeext conftest.
$ac_ext
9857 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9858 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9859 if test $ac_cv_func_shl_load = yes; then
9860 lt_cv_dlopen
="shl_load"
9862 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9863 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9864 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9865 echo $ECHO_N "(cached) $ECHO_C" >&6
9867 ac_check_lib_save_LIBS
=$LIBS
9869 cat >conftest.
$ac_ext <<_ACEOF
9872 cat confdefs.h
>>conftest.
$ac_ext
9873 cat >>conftest.
$ac_ext <<_ACEOF
9874 /* end confdefs.h. */
9876 /* Override any GCC internal prototype to avoid an error.
9877 Use char because int might match the return type of a GCC
9878 builtin and then its argument prototype would still apply. */
9891 rm -f conftest.
$ac_objext conftest
$ac_exeext
9892 if { (ac_try
="$ac_link"
9894 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9895 *) ac_try_echo=$ac_try;;
9897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9898 (eval "$ac_link") 2>conftest.er1
9900 grep -v '^ *+' conftest.er1 >conftest.err
9902 cat conftest.err >&5
9903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9904 (exit $ac_status); } && {
9905 test -z "$ac_c_werror_flag" ||
9906 test ! -s conftest.err
9907 } && test -s conftest$ac_exeext &&
9908 $as_test_x conftest$ac_exeext; then
9909 ac_cv_lib_dld_shl_load=yes
9911 echo "$as_me: failed program was:" >&5
9912 sed 's/^/| /' conftest.$ac_ext >&5
9914 ac_cv_lib_dld_shl_load=no
9917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9918 conftest$ac_exeext conftest.$ac_ext
9919 LIBS=$ac_check_lib_save_LIBS
9921 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9922 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9923 if test $ac_cv_lib_dld_shl_load = yes; then
9924 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
9926 { echo "$as_me:$LINENO: checking for dlopen" >&5
9927 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9928 if test "${ac_cv_func_dlopen+set}" = set; then
9929 echo $ECHO_N "(cached) $ECHO_C" >&6
9931 cat >conftest.$ac_ext <<_ACEOF
9934 cat confdefs.h >>conftest.$ac_ext
9935 cat >>conftest.$ac_ext <<_ACEOF
9936 /* end confdefs.h. */
9937 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9939 #define dlopen innocuous_dlopen
9941 /* System header to define __stub macros and hopefully few prototypes,
9942 which can conflict with char dlopen (); below.
9943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9944 <limits.h> exists even on freestanding compilers. */
9947 # include <limits.h>
9949 # include <assert.h>
9954 /* Override any GCC internal prototype to avoid an error.
9955 Use char because int might match the return type of a GCC
9956 builtin and then its argument prototype would still apply. */
9961 /* The GNU C library defines this for functions which it implements
9962 to always fail with ENOSYS. Some functions are actually named
9963 something starting with __ and the normal name is an alias. */
9964 #if defined __stub_dlopen || defined __stub___dlopen
9976 rm -f conftest.$ac_objext conftest$ac_exeext
9977 if { (ac_try="$ac_link"
9979 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9980 *) ac_try_echo
=$ac_try;;
9982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9983 (eval "$ac_link") 2>conftest.er1
9985 grep -v '^ *+' conftest.er1
>conftest.err
9987 cat conftest.err
>&5
9988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9989 (exit $ac_status); } && {
9990 test -z "$ac_c_werror_flag" ||
9991 test ! -s conftest.err
9992 } && test -s conftest
$ac_exeext &&
9993 $as_test_x conftest
$ac_exeext; then
9994 ac_cv_func_dlopen
=yes
9996 echo "$as_me: failed program was:" >&5
9997 sed 's/^/| /' conftest.
$ac_ext >&5
9999 ac_cv_func_dlopen
=no
10002 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10003 conftest
$ac_exeext conftest.
$ac_ext
10005 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10006 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10007 if test $ac_cv_func_dlopen = yes; then
10008 lt_cv_dlopen
="dlopen"
10010 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10011 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10012 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10013 echo $ECHO_N "(cached) $ECHO_C" >&6
10015 ac_check_lib_save_LIBS
=$LIBS
10017 cat >conftest.
$ac_ext <<_ACEOF
10020 cat confdefs.h
>>conftest.
$ac_ext
10021 cat >>conftest.
$ac_ext <<_ACEOF
10022 /* end confdefs.h. */
10024 /* Override any GCC internal prototype to avoid an error.
10025 Use char because int might match the return type of a GCC
10026 builtin and then its argument prototype would still apply. */
10039 rm -f conftest.
$ac_objext conftest
$ac_exeext
10040 if { (ac_try
="$ac_link"
10041 case "(($ac_try" in
10042 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10043 *) ac_try_echo=$ac_try;;
10045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10046 (eval "$ac_link") 2>conftest.er1
10048 grep -v '^ *+' conftest.er1 >conftest.err
10050 cat conftest.err >&5
10051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10052 (exit $ac_status); } && {
10053 test -z "$ac_c_werror_flag" ||
10054 test ! -s conftest.err
10055 } && test -s conftest$ac_exeext &&
10056 $as_test_x conftest$ac_exeext; then
10057 ac_cv_lib_dl_dlopen=yes
10059 echo "$as_me: failed program was:" >&5
10060 sed 's/^/| /' conftest.$ac_ext >&5
10062 ac_cv_lib_dl_dlopen=no
10065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10066 conftest$ac_exeext conftest.$ac_ext
10067 LIBS=$ac_check_lib_save_LIBS
10069 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10070 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10071 if test $ac_cv_lib_dl_dlopen = yes; then
10072 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10074 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10075 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10076 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10077 echo $ECHO_N "(cached) $ECHO_C" >&6
10079 ac_check_lib_save_LIBS=$LIBS
10080 LIBS="-lsvld $LIBS"
10081 cat >conftest.$ac_ext <<_ACEOF
10084 cat confdefs.h >>conftest.$ac_ext
10085 cat >>conftest.$ac_ext <<_ACEOF
10086 /* end confdefs.h. */
10088 /* Override any GCC internal prototype to avoid an error.
10089 Use char because int might match the return type of a GCC
10090 builtin and then its argument prototype would still apply. */
10103 rm -f conftest.$ac_objext conftest$ac_exeext
10104 if { (ac_try="$ac_link"
10105 case "(($ac_try" in
10106 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10107 *) ac_try_echo
=$ac_try;;
10109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10110 (eval "$ac_link") 2>conftest.er1
10112 grep -v '^ *+' conftest.er1
>conftest.err
10114 cat conftest.err
>&5
10115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10116 (exit $ac_status); } && {
10117 test -z "$ac_c_werror_flag" ||
10118 test ! -s conftest.err
10119 } && test -s conftest
$ac_exeext &&
10120 $as_test_x conftest
$ac_exeext; then
10121 ac_cv_lib_svld_dlopen
=yes
10123 echo "$as_me: failed program was:" >&5
10124 sed 's/^/| /' conftest.
$ac_ext >&5
10126 ac_cv_lib_svld_dlopen
=no
10129 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10130 conftest
$ac_exeext conftest.
$ac_ext
10131 LIBS
=$ac_check_lib_save_LIBS
10133 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10134 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10135 if test $ac_cv_lib_svld_dlopen = yes; then
10136 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10138 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10139 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10140 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10141 echo $ECHO_N "(cached) $ECHO_C" >&6
10143 ac_check_lib_save_LIBS
=$LIBS
10145 cat >conftest.
$ac_ext <<_ACEOF
10148 cat confdefs.h
>>conftest.
$ac_ext
10149 cat >>conftest.
$ac_ext <<_ACEOF
10150 /* end confdefs.h. */
10152 /* Override any GCC internal prototype to avoid an error.
10153 Use char because int might match the return type of a GCC
10154 builtin and then its argument prototype would still apply. */
10162 return dld_link ();
10167 rm -f conftest.
$ac_objext conftest
$ac_exeext
10168 if { (ac_try
="$ac_link"
10169 case "(($ac_try" in
10170 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10171 *) ac_try_echo=$ac_try;;
10173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10174 (eval "$ac_link") 2>conftest.er1
10176 grep -v '^ *+' conftest.er1 >conftest.err
10178 cat conftest.err >&5
10179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10180 (exit $ac_status); } && {
10181 test -z "$ac_c_werror_flag" ||
10182 test ! -s conftest.err
10183 } && test -s conftest$ac_exeext &&
10184 $as_test_x conftest$ac_exeext; then
10185 ac_cv_lib_dld_dld_link=yes
10187 echo "$as_me: failed program was:" >&5
10188 sed 's/^/| /' conftest.$ac_ext >&5
10190 ac_cv_lib_dld_dld_link=no
10193 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10194 conftest$ac_exeext conftest.$ac_ext
10195 LIBS=$ac_check_lib_save_LIBS
10197 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10198 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10199 if test $ac_cv_lib_dld_dld_link = yes; then
10200 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10221 if test "x$lt_cv_dlopen" != xno; then
10227 case $lt_cv_dlopen in
10229 save_CPPFLAGS="$CPPFLAGS"
10230 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10232 save_LDFLAGS="$LDFLAGS"
10233 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10236 LIBS="$lt_cv_dlopen_libs $LIBS"
10238 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10239 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10240 if test "${lt_cv_dlopen_self+set}" = set; then
10241 echo $ECHO_N "(cached) $ECHO_C" >&6
10243 if test "$cross_compiling" = yes; then :
10244 lt_cv_dlopen_self=cross
10246 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10247 lt_status=$lt_dlunknown
10248 cat > conftest.$ac_ext <<EOF
10249 #line 10249 "configure"
10250 #include "confdefs.h"
10259 # define LT_DLGLOBAL RTLD_GLOBAL
10262 # define LT_DLGLOBAL DL_GLOBAL
10264 # define LT_DLGLOBAL 0
10268 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10269 find out it does not work in some platform. */
10270 #ifndef LT_DLLAZY_OR_NOW
10272 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10275 # define LT_DLLAZY_OR_NOW DL_LAZY
10278 # define LT_DLLAZY_OR_NOW RTLD_NOW
10281 # define LT_DLLAZY_OR_NOW DL_NOW
10283 # define LT_DLLAZY_OR_NOW 0
10291 extern "C" void exit (int);
10294 void fnord() { int i=42;}
10297 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10298 int status = $lt_dlunknown;
10302 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10303 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10304 /* dlclose (self); */
10312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10313 (eval $ac_link) 2>&5
10315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10316 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10317 (./conftest; exit; ) >&5 2>/dev/null
10319 case x$lt_status in
10320 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10321 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10322 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10325 # compilation failed
10326 lt_cv_dlopen_self=no
10333 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10334 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10336 if test "x$lt_cv_dlopen_self" = xyes; then
10337 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10338 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10339 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10340 if test "${lt_cv_dlopen_self_static+set}" = set; then
10341 echo $ECHO_N "(cached) $ECHO_C" >&6
10343 if test "$cross_compiling" = yes; then :
10344 lt_cv_dlopen_self_static=cross
10346 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10347 lt_status=$lt_dlunknown
10348 cat > conftest.$ac_ext <<EOF
10349 #line 10349 "configure"
10350 #include "confdefs.h"
10359 # define LT_DLGLOBAL RTLD_GLOBAL
10362 # define LT_DLGLOBAL DL_GLOBAL
10364 # define LT_DLGLOBAL 0
10368 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10369 find out it does not work in some platform. */
10370 #ifndef LT_DLLAZY_OR_NOW
10372 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10375 # define LT_DLLAZY_OR_NOW DL_LAZY
10378 # define LT_DLLAZY_OR_NOW RTLD_NOW
10381 # define LT_DLLAZY_OR_NOW DL_NOW
10383 # define LT_DLLAZY_OR_NOW 0
10391 extern "C" void exit (int);
10394 void fnord() { int i=42;}
10397 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10398 int status = $lt_dlunknown;
10402 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10403 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10404 /* dlclose (self); */
10412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10413 (eval $ac_link) 2>&5
10415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10416 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10417 (./conftest; exit; ) >&5 2>/dev/null
10419 case x$lt_status in
10420 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10421 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10422 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10425 # compilation failed
10426 lt_cv_dlopen_self_static=no
10433 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10434 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10437 CPPFLAGS="$save_CPPFLAGS"
10438 LDFLAGS="$save_LDFLAGS"
10443 case $lt_cv_dlopen_self in
10444 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10445 *) enable_dlopen_self=unknown ;;
10448 case $lt_cv_dlopen_self_static in
10449 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10450 *) enable_dlopen_self_static=unknown ;;
10455 # Report which library types will actually be built
10456 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10457 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10458 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10459 echo "${ECHO_T}$can_build_shared" >&6; }
10461 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10462 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10463 test "$can_build_shared" = "no" && enable_shared=no
10465 # On AIX, shared libraries and static libraries use the same namespace, and
10466 # are all built from PIC.
10469 test "$enable_shared" = yes && enable_static=no
10470 if test -n "$RANLIB"; then
10471 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10472 postinstall_cmds='$RANLIB $lib'
10477 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10478 test "$enable_shared" = yes && enable_static=no
10482 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10483 echo "${ECHO_T}$enable_shared" >&6; }
10485 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10486 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10487 # Make sure either enable_shared or enable_static is yes.
10488 test "$enable_shared" = yes || enable_static=yes
10489 { echo "$as_me:$LINENO: result: $enable_static" >&5
10490 echo "${ECHO_T}$enable_static" >&6; }
10492 # The else clause should only fire when bootstrapping the
10493 # libtool distribution, otherwise you forgot to ship ltmain.sh
10494 # with your package, and you will get complaints that there are
10495 # no rules to generate ltmain.sh.
10496 if test -f "$ltmain"; then
10497 # See if we are running on zsh, and set the options which allow our commands through
10498 # without removal of \ escapes.
10499 if test -n "${ZSH_VERSION+set}" ; then
10500 setopt NO_GLOB_SUBST
10502 # Now quote all the things that may contain metacharacters while being
10503 # careful not to overquote the AC_SUBSTed values. We take copies of the
10504 # variables and quote the copies for generation of the libtool script.
10505 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10507 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10508 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10509 deplibs_check_method reload_flag reload_cmds need_locks \
10510 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10511 lt_cv_sys_global_symbol_to_c_name_address \
10512 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10513 old_postinstall_cmds old_postuninstall_cmds \
10517 lt_prog_compiler_wl \
10518 lt_prog_compiler_pic \
10519 lt_prog_compiler_static \
10520 lt_prog_compiler_no_builtin_flag \
10521 export_dynamic_flag_spec \
10522 thread_safe_flag_spec \
10523 whole_archive_flag_spec \
10524 enable_shared_with_static_runtimes \
10526 old_archive_from_new_cmds \
10531 compiler_lib_search_path \
10532 compiler_lib_search_dirs \
10534 archive_expsym_cmds \
10536 postuninstall_cmds \
10537 old_archive_from_expsyms_cmds \
10538 allow_undefined_flag \
10539 no_undefined_flag \
10540 export_symbols_cmds \
10541 hardcode_libdir_flag_spec \
10542 hardcode_libdir_flag_spec_ld \
10543 hardcode_libdir_separator \
10544 hardcode_automatic \
10546 module_expsym_cmds \
10547 lt_cv_prog_compiler_c_o \
10550 include_expsyms; do
10553 old_archive_cmds | \
10554 old_archive_from_new_cmds | \
10556 archive_expsym_cmds | \
10558 module_expsym_cmds | \
10559 old_archive_from_expsyms_cmds | \
10560 export_symbols_cmds | \
10561 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10562 postinstall_cmds | postuninstall_cmds | \
10563 old_postinstall_cmds | old_postuninstall_cmds | \
10564 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10565 # Double-quote double-evaled strings.
10566 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10569 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10575 *'\$0 --fallback-echo"')
10576 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10580 cfgfile="${ofile}T"
10581 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10583 { echo "$as_me:$LINENO: creating $ofile" >&5
10584 echo "$as_me: creating $ofile" >&6;}
10586 cat <<__EOF__ >> "$cfgfile"
10589 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10590 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10591 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10593 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
10594 # Free Software Foundation, Inc.
10596 # This file is part of GNU Libtool:
10597 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10599 # This program is free software; you can redistribute it and/or modify
10600 # it under the terms of the GNU General Public License as published by
10601 # the Free Software Foundation; either version 2 of the License, or
10602 # (at your option) any later version.
10604 # This program is distributed in the hope that it will be useful, but
10605 # WITHOUT ANY WARRANTY; without even the implied warranty of
10606 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10607 # General Public License for more details.
10609 # You should have received a copy of the GNU General Public License
10610 # along with this program; if not, write to the Free Software
10611 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10613 # As a special exception to the GNU General Public License, if you
10614 # distribute this file as part of a program that contains a
10615 # configuration script generated by Autoconf, you may include it under
10616 # the same distribution terms that you use for the rest of that program.
10618 # A sed program that does not truncate output.
10621 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10622 Xsed="$SED -e 1s/^X//"
10624 # The HP-UX ksh and POSIX shell print the target directory to stdout
10625 # if CDPATH is set.
10626 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10628 # The names of the tagged configurations supported by this script.
10631 # ### BEGIN LIBTOOL CONFIG
10633 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10635 # Shell to use when invoking shell scripts.
10638 # Whether or not to build shared libraries.
10639 build_libtool_libs=$enable_shared
10641 # Whether or not to build static libraries.
10642 build_old_libs=$enable_static
10644 # Whether or not to add -lc for building shared libraries.
10645 build_libtool_need_lc=$archive_cmds_need_lc
10647 # Whether or not to disallow shared libs when runtime libs are static
10648 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10650 # Whether or not to optimize for fast installation.
10651 fast_install=$enable_fast_install
10654 host_alias=$host_alias
10658 # The build system.
10659 build_alias=$build_alias
10663 # An echo program that does not interpret backslashes.
10668 AR_FLAGS=$lt_AR_FLAGS
10673 # LTCC compiler flags.
10674 LTCFLAGS=$lt_LTCFLAGS
10676 # A language-specific compiler.
10679 # Is the compiler the GNU C compiler?
10685 # The linker used to build libraries.
10688 # Whether we need hard or soft links.
10691 # A BSD-compatible nm program.
10694 # A symbol stripping program
10697 # Used to examine libraries when file_magic_cmd begins "file"
10698 MAGIC_CMD=$MAGIC_CMD
10700 # Used on cygwin: DLL creation program.
10703 # Used on cygwin: object dumper.
10706 # Used on cygwin: assembler.
10709 # The name of the directory that contains temporary libtool files.
10712 # How to create reloadable object files.
10713 reload_flag=$lt_reload_flag
10714 reload_cmds=$lt_reload_cmds
10716 # How to pass a linker flag through the compiler.
10717 wl=$lt_lt_prog_compiler_wl
10719 # Object file suffix (normally "o").
10720 objext="$ac_objext"
10722 # Old archive suffix (normally "a").
10725 # Shared library suffix (normally ".so").
10726 shrext_cmds='$shrext_cmds'
10728 # Executable file suffix (normally "").
10731 # Additional compiler flags for building library objects.
10732 pic_flag=$lt_lt_prog_compiler_pic
10735 # What is the maximum length of a command?
10736 max_cmd_len=$lt_cv_sys_max_cmd_len
10738 # Does compiler simultaneously support -c and -o options?
10739 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10741 # Must we lock files when doing compilation?
10742 need_locks=$lt_need_locks
10744 # Do we need the lib prefix for modules?
10745 need_lib_prefix=$need_lib_prefix
10747 # Do we need a version for libraries?
10748 need_version=$need_version
10750 # Whether dlopen is supported.
10751 dlopen_support=$enable_dlopen
10753 # Whether dlopen of programs is supported.
10754 dlopen_self=$enable_dlopen_self
10756 # Whether dlopen of statically linked programs is supported.
10757 dlopen_self_static=$enable_dlopen_self_static
10759 # Compiler flag to prevent dynamic linking.
10760 link_static_flag=$lt_lt_prog_compiler_static
10762 # Compiler flag to turn off builtin functions.
10763 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10765 # Compiler flag to allow reflexive dlopens.
10766 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10768 # Compiler flag to generate shared objects directly from archives.
10769 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10771 # Compiler flag to generate thread-safe objects.
10772 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10774 # Library versioning type.
10775 version_type=$version_type
10777 # Format of library name prefix.
10778 libname_spec=$lt_libname_spec
10780 # List of archive names. First name is the real one, the rest are links.
10781 # The last name is the one that the linker finds with -lNAME.
10782 library_names_spec=$lt_library_names_spec
10784 # The coded name of the library, if different from the real name.
10785 soname_spec=$lt_soname_spec
10787 # Commands used to build and install an old-style archive.
10789 old_archive_cmds=$lt_old_archive_cmds
10790 old_postinstall_cmds=$lt_old_postinstall_cmds
10791 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10793 # Create an old-style archive from a shared archive.
10794 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10796 # Create a temporary old-style archive to link instead of a shared archive.
10797 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10799 # Commands used to build and install a shared archive.
10800 archive_cmds=$lt_archive_cmds
10801 archive_expsym_cmds=$lt_archive_expsym_cmds
10802 postinstall_cmds=$lt_postinstall_cmds
10803 postuninstall_cmds=$lt_postuninstall_cmds
10805 # Commands used to build a loadable module (assumed same as above if empty)
10806 module_cmds=$lt_module_cmds
10807 module_expsym_cmds=$lt_module_expsym_cmds
10809 # Commands to strip libraries.
10810 old_striplib=$lt_old_striplib
10811 striplib=$lt_striplib
10813 # Dependencies to place before the objects being linked to create a
10815 predep_objects=$lt_predep_objects
10817 # Dependencies to place after the objects being linked to create a
10819 postdep_objects=$lt_postdep_objects
10821 # Dependencies to place before the objects being linked to create a
10823 predeps=$lt_predeps
10825 # Dependencies to place after the objects being linked to create a
10827 postdeps=$lt_postdeps
10829 # The directories searched by this compiler when creating a shared
10831 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
10833 # The library search path used internally by the compiler when linking
10834 # a shared library.
10835 compiler_lib_search_path=$lt_compiler_lib_search_path
10837 # Method to check whether dependent libraries are shared objects.
10838 deplibs_check_method=$lt_deplibs_check_method
10840 # Command to use when deplibs_check_method == file_magic.
10841 file_magic_cmd=$lt_file_magic_cmd
10843 # Flag that allows shared libraries with undefined symbols to be built.
10844 allow_undefined_flag=$lt_allow_undefined_flag
10846 # Flag that forces no undefined symbols.
10847 no_undefined_flag=$lt_no_undefined_flag
10849 # Commands used to finish a libtool library installation in a directory.
10850 finish_cmds=$lt_finish_cmds
10852 # Same as above, but a single script fragment to be evaled but not shown.
10853 finish_eval=$lt_finish_eval
10855 # Take the output of nm and produce a listing of raw symbols and C names.
10856 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10858 # Transform the output of nm in a proper C declaration
10859 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10861 # Transform the output of nm in a C name address pair
10862 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10864 # This is the shared library runtime path variable.
10865 runpath_var=$runpath_var
10867 # This is the shared library path variable.
10868 shlibpath_var=$shlibpath_var
10870 # Is shlibpath searched before the hard-coded library search path?
10871 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10873 # How to hardcode a shared library path into an executable.
10874 hardcode_action=$hardcode_action
10876 # Whether we should hardcode library paths into libraries.
10877 hardcode_into_libs=$hardcode_into_libs
10879 # Flag to hardcode \$libdir into a binary during linking.
10880 # This must work even if \$libdir does not exist.
10881 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10883 # If ld is used when linking, flag to hardcode \$libdir into
10884 # a binary during linking. This must work even if \$libdir does
10886 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10888 # Whether we need a single -rpath flag with a separated argument.
10889 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10891 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10892 # resulting binary.
10893 hardcode_direct=$hardcode_direct
10895 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10896 # resulting binary.
10897 hardcode_minus_L=$hardcode_minus_L
10899 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10900 # the resulting binary.
10901 hardcode_shlibpath_var=$hardcode_shlibpath_var
10903 # Set to yes if building a shared library automatically hardcodes DIR into the library
10904 # and all subsequent libraries and executables linked against it.
10905 hardcode_automatic=$hardcode_automatic
10907 # Variables whose values should be saved in libtool wrapper scripts and
10908 # restored at relink time.
10909 variables_saved_for_relink="$variables_saved_for_relink"
10911 # Whether libtool must link a program against all its dependency libraries.
10912 link_all_deplibs=$link_all_deplibs
10914 # Compile-time system search path for libraries
10915 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10917 # Run-time system search path for libraries
10918 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10920 # Fix the shell variable \$srcfile for the compiler.
10921 fix_srcfile_path=$lt_fix_srcfile_path
10923 # Set to yes if exported symbols are required.
10924 always_export_symbols=$always_export_symbols
10926 # The commands to list exported symbols.
10927 export_symbols_cmds=$lt_export_symbols_cmds
10929 # The commands to extract the exported symbol list from a shared archive.
10930 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10932 # Symbols that should not be listed in the preloaded symbols.
10933 exclude_expsyms=$lt_exclude_expsyms
10935 # Symbols that must always be exported.
10936 include_expsyms=$lt_include_expsyms
10938 # ### END LIBTOOL CONFIG
10945 cat <<\EOF >> "$cfgfile"
10947 # AIX sometimes has problems with the GCC collect2 program. For some
10948 # reason, if we set the COLLECT_NAMES environment variable, the problems
10949 # vanish in a puff of smoke.
10950 if test "X${COLLECT_NAMES+set}" != Xset; then
10952 export COLLECT_NAMES
10958 # We use sed instead of cat because bash on DJGPP gets confused if
10959 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10960 # text mode, it properly converts lines to CR/LF. This bash problem
10961 # is reportedly fixed, but why not run on old versions too?
10962 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10964 mv -f "$cfgfile" "$ofile" || \
10965 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10969 # If there is no Makefile yet, we rely on a make rule to execute
10970 # `config.status
--recheck' to rerun these tests and create the
10971 # libtool script then.
10972 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10973 if test -f "$ltmain_in"; then
10974 test -f Makefile && make "$ltmain"
10980 ac_cpp='$CPP $CPPFLAGS'
10981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10982 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10988 # Check whether --with-tags was given.
10989 if test "${with_tags+set}" = set; then
10990 withval=$with_tags; tagnames="$withval"
10994 if test -f "$ltmain" && test -n "$tagnames"; then
10995 if test ! -f "${ofile}"; then
10996 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10997 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
11000 if test -z "$LTCC"; then
11001 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
11002 if test -z "$LTCC"; then
11003 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11004 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
11006 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
11007 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
11010 if test -z "$LTCFLAGS"; then
11011 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
11014 # Extract list of available tagged configurations in $ofile.
11015 # Note that this assumes the entire list is on one line.
11016 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11018 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11019 for tagname in $tagnames; do
11021 # Check whether tagname contains only valid characters
11022 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11024 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11025 echo "$as_me: error: invalid tag name: $tagname" >&2;}
11026 { (exit 1); exit 1; }; }
11030 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11032 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11033 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11034 { (exit 1); exit 1; }; }
11037 # Update the list of available tags.
11038 if test -n "$tagname"; then
11039 echo appending configuration tag \"$tagname\" to $ofile
11043 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11044 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
11045 (test "X$CXX" != "Xg++"))) ; then
11047 ac_cpp='$CXXCPP $CPPFLAGS'
11048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11055 archive_cmds_need_lc_CXX=no
11056 allow_undefined_flag_CXX=
11057 always_export_symbols_CXX=no
11058 archive_expsym_cmds_CXX=
11059 export_dynamic_flag_spec_CXX=
11060 hardcode_direct_CXX=no
11061 hardcode_libdir_flag_spec_CXX=
11062 hardcode_libdir_flag_spec_ld_CXX=
11063 hardcode_libdir_separator_CXX=
11064 hardcode_minus_L_CXX=no
11065 hardcode_shlibpath_var_CXX=unsupported
11066 hardcode_automatic_CXX=no
11068 module_expsym_cmds_CXX=
11069 link_all_deplibs_CXX=unknown
11070 old_archive_cmds_CXX=$old_archive_cmds
11071 no_undefined_flag_CXX=
11072 whole_archive_flag_spec_CXX=
11073 enable_shared_with_static_runtimes_CXX=no
11075 # Dependencies to place before and after the object being linked:
11076 predep_objects_CXX=
11077 postdep_objects_CXX=
11080 compiler_lib_search_path_CXX=
11081 compiler_lib_search_dirs_CXX=
11083 # Source file extension for C++ test sources.
11086 # Object file extension for compiled C++ test sources.
11090 # Code to be used in simple compile tests
11091 lt_simple_compile_test_code="int some_variable = 0;"
11093 # Code to be used in simple link tests
11094 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11096 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11098 # If no C compiler was specified, use CC.
11101 # If no C compiler flags were specified, use CFLAGS.
11102 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11104 # Allow CC to be a program name with arguments.
11108 # save warnings/boilerplate of simple test code
11109 ac_outfile=conftest.$ac_objext
11110 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11111 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11112 _lt_compiler_boilerplate=`cat conftest.err
`
11115 ac_outfile=conftest.$ac_objext
11116 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11117 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11118 _lt_linker_boilerplate=`cat conftest.err
`
11122 # Allow CC to be a program name with arguments.
11127 lt_save_with_gnu_ld=$with_gnu_ld
11128 lt_save_path_LD=$lt_cv_path_LD
11129 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11130 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11132 $as_unset lt_cv_prog_gnu_ld
11134 if test -n "${lt_cv_path_LDCXX+set}"; then
11135 lt_cv_path_LD=$lt_cv_path_LDCXX
11137 $as_unset lt_cv_path_LD
11139 test -z "${LDCXX+set}" || LD=$LDCXX
11143 for cc_temp in $compiler""; do
11145 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11146 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11151 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11154 # We don't want -fno-exception wen compiling C++ code, so set the
11155 # no_builtin_flag separately
11156 if test "$GXX" = yes; then
11157 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11159 lt_prog_compiler_no_builtin_flag_CXX=
11162 if test "$GXX" = yes; then
11163 # Set up default GNU C++ configuration
11166 # Check whether --with-gnu-ld was given.
11167 if test "${with_gnu_ld+set}" = set; then
11168 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11174 if test "$GCC" = yes; then
11175 # Check if gcc -print-prog-name=ld gives a path.
11176 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11177 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11180 # gcc leaves a trailing carriage return which upsets mingw
11181 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
11183 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
11186 # Accept absolute paths.
11188 re_direlt='/[^/][^/]*/\.\./'
11189 # Canonicalize the pathname of ld
11190 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
11191 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11192 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
11194 test -z "$LD" && LD="$ac_prog"
11197 # If it fails, then pretend we aren't using GCC.
11201 # If it is relative, then search for the first ld in PATH.
11202 with_gnu_ld=unknown
11205 elif test "$with_gnu_ld" = yes; then
11206 { echo "$as_me:$LINENO: checking for GNU ld" >&5
11207 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11209 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11210 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11212 if test "${lt_cv_path_LD+set}" = set; then
11213 echo $ECHO_N "(cached) $ECHO_C" >&6
11215 if test -z "$LD"; then
11216 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11217 for ac_dir in $PATH; do
11219 test -z "$ac_dir" && ac_dir=.
11220 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11221 lt_cv_path_LD="$ac_dir/$ac_prog"
11222 # Check to see if the program is GNU ld. I'd rather use --version,
11223 # but apparently some variants of GNU ld only accept -v.
11224 # Break only if it was the GNU/non-GNU ld that we prefer.
11225 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
11226 *GNU* | *'with BFD'*)
11227 test "$with_gnu_ld" != no && break
11230 test "$with_gnu_ld" != yes && break
11237 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11241 LD="$lt_cv_path_LD"
11242 if test -n "$LD"; then
11243 { echo "$as_me:$LINENO: result: $LD" >&5
11244 echo "${ECHO_T}$LD" >&6; }
11246 { echo "$as_me:$LINENO: result: no" >&5
11247 echo "${ECHO_T}no" >&6; }
11249 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11250 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11251 { (exit 1); exit 1; }; }
11252 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11253 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11254 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11255 echo $ECHO_N "(cached) $ECHO_C" >&6
11257 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11258 case `$LD -v 2>&1 </dev
/null
` in
11259 *GNU* | *'with BFD'*)
11260 lt_cv_prog_gnu_ld=yes
11263 lt_cv_prog_gnu_ld=no
11267 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11268 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11269 with_gnu_ld=$lt_cv_prog_gnu_ld
11273 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11274 # archiving commands below assume that GNU ld is being used.
11275 if test "$with_gnu_ld" = yes; then
11276 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11277 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11279 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11280 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11282 # If archive_cmds runs LD, not CC, wlarc should be empty
11283 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11284 # investigate it a little bit more. (MM)
11287 # ancient GNU ld didn't support --whole-archive et. al.
11288 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
11289 grep 'no-whole-archive' > /dev/null; then
11290 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11292 whole_archive_flag_spec_CXX=
11298 # A generic and very simple default shared library creation
11299 # command for GNU C++ for the case where it uses the native
11300 # linker, instead of GNU ld. If possible, this setting should
11301 # overridden to take advantage of the native linker features on
11302 # the platform it is being used on.
11303 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11306 # Commands to make compiler produce verbose output that lists
11307 # what "hidden" libraries, object files and flags are used when
11308 # linking a shared library.
11309 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11317 # PORTME: fill in a description of your system's C++ link characteristics
11318 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11319 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11323 # FIXME: insert proper C++ library support
11327 if test "$host_cpu" = ia64; then
11328 # On IA64, the linker does run time linking by default, so we don't
11329 # have to do anything special.
11330 aix_use_runtimelinking=no
11331 exp_sym_flag='-Bexport'
11334 aix_use_runtimelinking=no
11336 # Test if we are trying to use run time linking or normal
11337 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11338 # need to do runtime linking.
11339 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11340 for ld_flag in $LDFLAGS; do
11343 aix_use_runtimelinking=yes
11351 exp_sym_flag='-bexport'
11352 no_entry_flag='-bnoentry'
11355 # When large executables or shared objects are built, AIX ld can
11356 # have problems creating the table of contents. If linking a library
11357 # or program results in "error TOC overflow" add -mminimal-toc to
11358 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11359 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11361 archive_cmds_CXX=''
11362 hardcode_direct_CXX=yes
11363 hardcode_libdir_separator_CXX=':'
11364 link_all_deplibs_CXX=yes
11366 if test "$GXX" = yes; then
11367 case $host_os in aix4.[012]|aix4.[012].*)
11368 # We only want to do this on AIX 4.2 and lower, the check
11369 # below for broken collect2 doesn't work under 4.3+
11370 collect2name=`${CC} -print-prog-name=collect2
`
11371 if test -f "$collect2name" && \
11372 strings "$collect2name" | grep resolve_lib_name >/dev/null
11374 # We have reworked collect2
11377 # We have old collect2
11378 hardcode_direct_CXX=unsupported
11379 # It fails to find uninstalled libraries when the uninstalled
11380 # path is not listed in the libpath. Setting hardcode_minus_L
11381 # to unsupported forces relinking
11382 hardcode_minus_L_CXX=yes
11383 hardcode_libdir_flag_spec_CXX='-L$libdir'
11384 hardcode_libdir_separator_CXX=
11388 shared_flag='-shared'
11389 if test "$aix_use_runtimelinking" = yes; then
11390 shared_flag="$shared_flag "'${wl}-G'
11394 if test "$host_cpu" = ia64; then
11395 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11396 # chokes on -Wl,-G. The following line is correct:
11399 if test "$aix_use_runtimelinking" = yes; then
11400 shared_flag='${wl}-G'
11402 shared_flag='${wl}-bM:SRE'
11407 # It seems that -bexpall does not export symbols beginning with
11408 # underscore (_), so it is better to generate a list of symbols to export.
11409 always_export_symbols_CXX=yes
11410 if test "$aix_use_runtimelinking" = yes; then
11411 # Warning - without using the other runtime loading flags (-brtl),
11412 # -berok will link without error, but may produce a broken library.
11413 allow_undefined_flag_CXX='-berok'
11414 # Determine the default libpath from the value encoded in an empty executable.
11415 cat >conftest.$ac_ext <<_ACEOF
11418 cat confdefs.h >>conftest.$ac_ext
11419 cat >>conftest.$ac_ext <<_ACEOF
11420 /* end confdefs.h. */
11430 rm -f conftest.$ac_objext conftest$ac_exeext
11431 if { (ac_try="$ac_link"
11432 case "(($ac_try" in
11433 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11434 *) ac_try_echo
=$ac_try;;
11436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11437 (eval "$ac_link") 2>conftest.er1
11439 grep -v '^ *+' conftest.er1
>conftest.err
11441 cat conftest.err
>&5
11442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11443 (exit $ac_status); } && {
11444 test -z "$ac_cxx_werror_flag" ||
11445 test ! -s conftest.err
11446 } && test -s conftest
$ac_exeext &&
11447 $as_test_x conftest
$ac_exeext; then
11449 lt_aix_libpath_sed
='
11450 /Import File Strings/,/^$/ {
11456 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11457 # Check for a 64-bit object if we didn't find anything.
11458 if test -z "$aix_libpath"; then
11459 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11462 echo "$as_me: failed program was:" >&5
11463 sed 's/^/| /' conftest.
$ac_ext >&5
11468 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11469 conftest
$ac_exeext conftest.
$ac_ext
11470 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11472 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11474 archive_expsym_cmds_CXX
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11476 if test "$host_cpu" = ia64
; then
11477 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11478 allow_undefined_flag_CXX
="-z nodefs"
11479 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"
11481 # Determine the default libpath from the value encoded in an empty executable.
11482 cat >conftest.
$ac_ext <<_ACEOF
11485 cat confdefs.h
>>conftest.
$ac_ext
11486 cat >>conftest.
$ac_ext <<_ACEOF
11487 /* end confdefs.h. */
11497 rm -f conftest.
$ac_objext conftest
$ac_exeext
11498 if { (ac_try
="$ac_link"
11499 case "(($ac_try" in
11500 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11501 *) ac_try_echo=$ac_try;;
11503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11504 (eval "$ac_link") 2>conftest.er1
11506 grep -v '^ *+' conftest.er1 >conftest.err
11508 cat conftest.err >&5
11509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11510 (exit $ac_status); } && {
11511 test -z "$ac_cxx_werror_flag" ||
11512 test ! -s conftest.err
11513 } && test -s conftest$ac_exeext &&
11514 $as_test_x conftest$ac_exeext; then
11516 lt_aix_libpath_sed='
11517 /Import File Strings/,/^$/ {
11523 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11524 # Check for a 64-bit object if we didn't find anything.
11525 if test -z "$aix_libpath"; then
11526 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11529 echo "$as_me: failed program was:" >&5
11530 sed 's/^/| /' conftest.$ac_ext >&5
11535 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11536 conftest$ac_exeext conftest.$ac_ext
11537 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11539 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11540 # Warning - without using the other run time loading flags,
11541 # -berok will link without error, but may produce a broken library.
11542 no_undefined_flag_CXX=' ${wl}-bernotok'
11543 allow_undefined_flag_CXX=' ${wl}-berok'
11544 # Exported symbols can be pulled into shared objects from archives
11545 whole_archive_flag_spec_CXX='$convenience'
11546 archive_cmds_need_lc_CXX=yes
11547 # This is similar to how AIX traditionally builds its shared libraries.
11548 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
11554 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11555 allow_undefined_flag_CXX=unsupported
11556 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11557 # support --undefined. This deserves some investigation. FIXME
11558 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11565 case $cc_basename in
11567 # FIXME: insert proper C++ library support
11573 cygwin* | mingw* | pw32*)
11574 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11575 # as there is no search path for DLLs.
11576 hardcode_libdir_flag_spec_CXX='-L$libdir'
11577 allow_undefined_flag_CXX=unsupported
11578 always_export_symbols_CXX=no
11579 enable_shared_with_static_runtimes_CXX=yes
11581 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11582 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'
11583 # If the export-symbols file already is a .def file (1st line
11584 # is EXPORTS), use it as is; otherwise, prepend...
11585 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11586 cp $export_symbols $output_objdir/$soname.def;
11588 echo EXPORTS > $output_objdir/$soname.def;
11589 cat $export_symbols >> $output_objdir/$soname.def;
11591 $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'
11596 darwin* | rhapsody*)
11597 archive_cmds_need_lc_CXX=no
11598 hardcode_direct_CXX=no
11599 hardcode_automatic_CXX=yes
11600 hardcode_shlibpath_var_CXX=unsupported
11601 whole_archive_flag_spec_CXX=''
11602 link_all_deplibs_CXX=yes
11603 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
11604 if test "$GXX" = yes ; then
11605 output_verbose_link_cmd='echo'
11606 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}"
11607 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11608 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}"
11609 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}"
11610 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11611 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}"
11612 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}"
11615 case $cc_basename in
11617 output_verbose_link_cmd='echo'
11618 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
11619 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11620 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11621 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11622 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11632 case $cc_basename in
11634 # FIXME: insert proper C++ library support
11638 # Green Hills C++ Compiler
11639 # FIXME: insert proper C++ library support
11643 # FIXME: insert proper C++ library support
11649 # C++ shared libraries reported to be fairly broken before switch to ELF
11653 archive_cmds_need_lc_CXX=no
11655 freebsd* | dragonfly*)
11656 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11663 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11664 hardcode_libdir_separator_CXX=:
11665 export_dynamic_flag_spec_CXX='${wl}-E'
11666 hardcode_direct_CXX=yes
11667 hardcode_minus_L_CXX=yes # Not in the search PATH,
11668 # but as the default
11669 # location of the library.
11671 case $cc_basename in
11673 # FIXME: insert proper C++ library support
11677 archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11678 # Commands to make compiler produce verbose output that lists
11679 # what "hidden" libraries, object files and flags are used when
11680 # linking a shared library.
11682 # There doesn't appear to be a way to prevent this compiler from
11683 # explicitly linking system object files so we need to strip them
11684 # from the output so that they don't get included in the library
11686 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; echo $list'
11689 if test "$GXX" = yes; then
11690 archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11692 # FIXME: insert proper C++ library support
11699 if test $with_gnu_ld = no; then
11700 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11701 hardcode_libdir_separator_CXX=:
11706 export_dynamic_flag_spec_CXX='${wl}-E'
11712 hardcode_direct_CXX=no
11713 hardcode_shlibpath_var_CXX=no
11716 hardcode_direct_CXX=yes
11717 hardcode_minus_L_CXX=yes # Not in the search PATH,
11718 # but as the default
11719 # location of the library.
11723 case $cc_basename in
11725 # FIXME: insert proper C++ library support
11731 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11734 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11737 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11740 # Commands to make compiler produce verbose output that lists
11741 # what "hidden" libraries, object files and flags are used when
11742 # linking a shared library.
11744 # There doesn't appear to be a way to prevent this compiler from
11745 # explicitly linking system object files so we need to strip them
11746 # from the output so that they don't get included in the library
11748 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; echo $list'
11751 if test "$GXX" = yes; then
11752 if test $with_gnu_ld = no; then
11755 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11758 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11761 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11766 # FIXME: insert proper C++ library support
11773 hardcode_direct_CXX=no
11774 hardcode_shlibpath_var_CXX=no
11775 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11776 export_dynamic_flag_spec_CXX='${wl}-E'
11777 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11778 # Instead, shared libraries are loaded at an image base (0x10000000 by
11779 # default) and relocated if they conflict, which is a slow very memory
11780 # consuming and fragmenting process. To avoid this, we pick a random,
11781 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11782 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11783 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'
11784 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'
11787 case $cc_basename in
11790 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11792 # Archives containing C++ object files must be created using
11793 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11794 # necessary to make sure instantiated templates are included
11796 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11799 if test "$GXX" = yes; then
11800 if test "$with_gnu_ld" = no; then
11801 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11803 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
11806 link_all_deplibs_CXX=yes
11809 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11810 hardcode_libdir_separator_CXX=:
11812 linux* | k*bsd*-gnu)
11813 case $cc_basename in
11815 # Kuck and Associates, Inc. (KAI) C++ Compiler
11817 # KCC will only create a shared library if the output file
11818 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11819 # to its proper name (with version) after linking.
11820 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'
11821 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'
11822 # Commands to make compiler produce verbose output that lists
11823 # what "hidden" libraries, object files and flags are used when
11824 # linking a shared library.
11826 # There doesn't appear to be a way to prevent this compiler from
11827 # explicitly linking system object files so we need to strip them
11828 # from the output so that they don't get included in the library
11830 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; echo $list'
11832 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11833 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11835 # Archives containing C++ object files must be created using
11836 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11837 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11842 # version 8.0 and above of icpc choke on multiply defined symbols
11843 # if we add $predep_objects and $postdep_objects, however 7.1 and
11844 # earlier do not add the objects themselves.
11845 case `$CC -V 2>&1` in
11847 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11848 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'
11850 *) # Version 8.0 or newer
11853 ia64
*) tmp_idyn
=' -i_dynamic';;
11855 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11856 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'
11859 archive_cmds_need_lc_CXX
=no
11860 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11861 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11862 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11865 # Portland Group C++ compiler
11866 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11867 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'
11869 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11870 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11871 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11875 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11876 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'
11878 runpath_var
=LD_RUN_PATH
11879 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11880 hardcode_libdir_separator_CXX
=:
11882 # Commands to make compiler produce verbose output that lists
11883 # what "hidden" libraries, object files and flags are used when
11884 # linking a shared library.
11886 # There doesn't appear to be a way to prevent this compiler from
11887 # explicitly linking system object files so we need to strip them
11888 # from the output so that they don't get included in the library
11890 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $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; echo $list'
11893 case `$CC -V 2>&1 | sed 5q` in
11896 no_undefined_flag_CXX
=' -zdefs'
11897 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11898 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'
11899 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11900 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11902 # Not sure whether something based on
11903 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11905 output_verbose_link_cmd
='echo'
11907 # Archives containing C++ object files must be created using
11908 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11909 # necessary to make sure instantiated templates are included
11911 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11918 # FIXME: insert proper C++ library support
11922 # FIXME: insert proper C++ library support
11926 case $cc_basename in
11928 # FIXME: insert proper C++ library support
11932 # FIXME: insert proper C++ library support
11937 netbsd
* | netbsdelf
*-gnu)
11938 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11939 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11941 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11942 hardcode_direct_CXX
=yes
11943 hardcode_shlibpath_var_CXX
=no
11945 # Workaround some broken pre-1.5 toolchains
11946 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11949 # C++ shared libraries are fairly broken
11953 if test -f /usr
/libexec
/ld.so
; then
11954 hardcode_direct_CXX
=yes
11955 hardcode_shlibpath_var_CXX
=no
11956 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11957 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11958 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11959 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11960 export_dynamic_flag_spec_CXX
='${wl}-E'
11961 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11963 output_verbose_link_cmd
='echo'
11969 case $cc_basename in
11971 # Kuck and Associates, Inc. (KAI) C++ Compiler
11973 # KCC will only create a shared library if the output file
11974 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11975 # to its proper name (with version) after linking.
11976 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'
11978 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11979 hardcode_libdir_separator_CXX
=:
11981 # Archives containing C++ object files must be created using
11982 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11983 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11987 # Rational C++ 2.4.1
11988 # FIXME: insert proper C++ library support
11992 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11993 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11995 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11996 hardcode_libdir_separator_CXX
=:
11998 # Commands to make compiler produce verbose output that lists
11999 # what "hidden" libraries, object files and flags are used when
12000 # linking a shared library.
12002 # There doesn't appear to be a way to prevent this compiler from
12003 # explicitly linking system object files so we need to strip them
12004 # from the output so that they don't get included in the library
12006 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $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; echo $list'
12009 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12010 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12011 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12013 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12014 hardcode_libdir_separator_CXX
=:
12016 # Commands to make compiler produce verbose output that lists
12017 # what "hidden" libraries, object files and flags are used when
12018 # linking a shared library.
12019 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12022 # FIXME: insert proper C++ library support
12029 case $cc_basename in
12031 # Kuck and Associates, Inc. (KAI) C++ Compiler
12033 # KCC will only create a shared library if the output file
12034 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12035 # to its proper name (with version) after linking.
12036 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'
12038 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12039 hardcode_libdir_separator_CXX
=:
12041 # Archives containing C++ object files must be created using
12042 # the KAI C++ compiler.
12043 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
12046 # Rational C++ 2.4.1
12047 # FIXME: insert proper C++ library support
12051 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12052 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12053 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12054 echo "-hidden">> $lib.exp~
12055 $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~
12058 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12059 hardcode_libdir_separator_CXX
=:
12061 # Commands to make compiler produce verbose output that lists
12062 # what "hidden" libraries, object files and flags are used when
12063 # linking a shared library.
12065 # There doesn't appear to be a way to prevent this compiler from
12066 # explicitly linking system object files so we need to strip them
12067 # from the output so that they don't get included in the library
12069 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $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; echo $list'
12072 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12073 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12074 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12076 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12077 hardcode_libdir_separator_CXX
=:
12079 # Commands to make compiler produce verbose output that lists
12080 # what "hidden" libraries, object files and flags are used when
12081 # linking a shared library.
12082 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12085 # FIXME: insert proper C++ library support
12092 # FIXME: insert proper C++ library support
12096 case $cc_basename in
12099 # FIXME: insert proper C++ library support
12104 # FIXME: insert proper C++ library support
12108 # FIXME: insert proper C++ library support
12114 case $cc_basename in
12116 # Sun C++ 4.2, 5.x and Centerline C++
12117 archive_cmds_need_lc_CXX
=yes
12118 no_undefined_flag_CXX
=' -zdefs'
12119 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12120 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12121 $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'
12123 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12124 hardcode_shlibpath_var_CXX
=no
12126 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12128 # The compiler driver will combine and reorder linker options,
12129 # but understands `-z linker_flag'.
12130 # Supported since Solaris 2.6 (maybe 2.5.1?)
12131 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12134 link_all_deplibs_CXX
=yes
12136 output_verbose_link_cmd
='echo'
12138 # Archives containing C++ object files must be created using
12139 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12140 # necessary to make sure instantiated templates are included
12142 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12145 # Green Hills C++ Compiler
12146 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12148 # The C++ compiler must be used to create the archive.
12149 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12152 # GNU C++ compiler with Solaris linker
12153 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12154 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12155 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
12156 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12157 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12158 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12160 # Commands to make compiler produce verbose output that lists
12161 # what "hidden" libraries, object files and flags are used when
12162 # linking a shared library.
12163 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12165 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12167 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12168 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12169 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12171 # Commands to make compiler produce verbose output that lists
12172 # what "hidden" libraries, object files and flags are used when
12173 # linking a shared library.
12174 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12177 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12179 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12181 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12188 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12189 no_undefined_flag_CXX
='${wl}-z,text'
12190 archive_cmds_need_lc_CXX
=no
12191 hardcode_shlibpath_var_CXX
=no
12192 runpath_var
='LD_RUN_PATH'
12194 case $cc_basename in
12196 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12197 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12200 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12201 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12205 sysv5
* | sco3.2v5
* | sco5v6
*)
12206 # Note: We can NOT use -z defs as we might desire, because we do not
12207 # link with -lc, and that would cause any symbols used from libc to
12208 # always be unresolved, which means just about no library would
12209 # ever link correctly. If we're not using GNU ld we use -z text
12210 # though, which does catch some bad symbols but isn't as heavy-handed
12212 # For security reasons, it is highly recommended that you always
12213 # use absolute paths for naming shared libraries, and exclude the
12214 # DT_RUNPATH tag from executables and libraries. But doing so
12215 # requires that you compile everything twice, which is a pain.
12216 # So that behaviour is only enabled if SCOABSPATH is set to a
12217 # non-empty value in the environment. Most likely only useful for
12218 # creating official distributions of packages.
12219 # This is a hack until libtool officially supports absolute path
12220 # names for shared libraries.
12221 no_undefined_flag_CXX
='${wl}-z,text'
12222 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12223 archive_cmds_need_lc_CXX
=no
12224 hardcode_shlibpath_var_CXX
=no
12225 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12226 hardcode_libdir_separator_CXX
=':'
12227 link_all_deplibs_CXX
=yes
12228 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12229 runpath_var
='LD_RUN_PATH'
12231 case $cc_basename in
12233 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12234 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12237 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12238 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12243 case $cc_basename in
12245 # NonStop-UX NCC 3.20
12246 # FIXME: insert proper C++ library support
12250 # FIXME: insert proper C++ library support
12256 # FIXME: insert proper C++ library support
12260 # FIXME: insert proper C++ library support
12264 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12265 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12266 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12271 cat > conftest.
$ac_ext <<EOF
12275 Foo (void) { a = 0; }
12281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12282 (eval $ac_compile) 2>&5
12284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12285 (exit $ac_status); }; then
12286 # Parse the compiler output and extract the necessary
12287 # objects, libraries and library flags.
12289 # Sentinel used to keep track of whether or not we are before
12290 # the conftest object file.
12291 pre_test_object_deps_done
=no
12293 # The `*' in the case matches for architectures that use `case' in
12294 # $output_verbose_cmd can trigger glob expansion during the loop
12295 # eval without this substitution.
12296 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12298 for p
in `eval $output_verbose_link_cmd`; do
12302 # Some compilers place space between "-{L,R}" and the path.
12303 # Remove the space.
12304 if test $p = "-L" \
12305 ||
test $p = "-R"; then
12312 if test "$pre_test_object_deps_done" = no
; then
12315 # Internal compiler library paths should come after those
12316 # provided the user. The postdeps already come after the
12317 # user supplied libs so there is no need to process them.
12318 if test -z "$compiler_lib_search_path_CXX"; then
12319 compiler_lib_search_path_CXX
="${prev}${p}"
12321 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12324 # The "-l" case would never come before the object being
12325 # linked, so don't bother handling this case.
12328 if test -z "$postdeps_CXX"; then
12329 postdeps_CXX
="${prev}${p}"
12331 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12337 # This assumes that the test object file only shows up
12338 # once in the compiler output.
12339 if test "$p" = "conftest.$objext"; then
12340 pre_test_object_deps_done
=yes
12344 if test "$pre_test_object_deps_done" = no
; then
12345 if test -z "$predep_objects_CXX"; then
12346 predep_objects_CXX
="$p"
12348 predep_objects_CXX
="$predep_objects_CXX $p"
12351 if test -z "$postdep_objects_CXX"; then
12352 postdep_objects_CXX
="$p"
12354 postdep_objects_CXX
="$postdep_objects_CXX $p"
12359 *) ;; # Ignore the rest.
12367 echo "libtool.m4: error: problem compiling CXX test program"
12370 $rm -f confest.
$objext
12372 compiler_lib_search_dirs_CXX
=
12373 if test -n "$compiler_lib_search_path_CXX"; then
12374 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12377 # PORTME: override above test on systems where it is broken
12380 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12381 # hack all around it, let's just trust "g++" to DTRT.
12382 predep_objects_CXX
=
12383 postdep_objects_CXX
=
12388 case `$CC -V 2>&1 | sed 5q` in
12392 # The more standards-conforming stlport4 library is
12393 # incompatible with the Cstd library. Avoid specifying
12394 # it if it's in CXXFLAGS. Ignore libCrun as
12395 # -library=stlport4 depends on it.
12396 case " $CXX $CXXFLAGS " in
12397 *" -library=stlport4 "*)
12398 solaris_use_stlport4
=yes
12401 if test "$solaris_use_stlport4" != yes; then
12402 postdeps_CXX
='-library=Cstd -library=Crun'
12409 case $cc_basename in
12411 # The more standards-conforming stlport4 library is
12412 # incompatible with the Cstd library. Avoid specifying
12413 # it if it's in CXXFLAGS. Ignore libCrun as
12414 # -library=stlport4 depends on it.
12415 case " $CXX $CXXFLAGS " in
12416 *" -library=stlport4 "*)
12417 solaris_use_stlport4
=yes
12421 # Adding this requires a known-good setup of shared libraries for
12422 # Sun compiler versions before 5.6, else PIC objects from an old
12423 # archive will be linked into the output, leading to subtle bugs.
12424 if test "$solaris_use_stlport4" != yes; then
12425 postdeps_CXX
='-library=Cstd -library=Crun'
12432 case " $postdeps_CXX " in
12433 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12436 lt_prog_compiler_wl_CXX
=
12437 lt_prog_compiler_pic_CXX
=
12438 lt_prog_compiler_static_CXX
=
12440 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12441 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12443 # C++ specific cases for pic, static, wl, etc.
12444 if test "$GXX" = yes; then
12445 lt_prog_compiler_wl_CXX
='-Wl,'
12446 lt_prog_compiler_static_CXX
='-static'
12450 # All AIX code is PIC.
12451 if test "$host_cpu" = ia64
; then
12452 # AIX 5 now supports IA64 processor
12453 lt_prog_compiler_static_CXX
='-Bstatic'
12457 # FIXME: we need at least 68020 code to build shared libraries, but
12458 # adding the `-m68020' flag to GCC prevents building anything better,
12460 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12462 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12463 # PIC is the default for these OSes.
12465 mingw
* | cygwin
* | os2
* | pw32
*)
12466 # This hack is so that the source file can tell whether it is being
12467 # built for inclusion in a dll (and should export symbols for example).
12468 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12469 # (--disable-auto-import) libraries
12470 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12472 darwin
* | rhapsody
*)
12473 # PIC is the default on this platform
12474 # Common symbols not allowed in MH_DYLIB files
12475 lt_prog_compiler_pic_CXX
='-fno-common'
12478 # DJGPP does not support shared libraries at all
12479 lt_prog_compiler_pic_CXX
=
12482 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12483 # Instead, we relocate shared libraries at runtime.
12486 if test -d /usr
/nec
; then
12487 lt_prog_compiler_pic_CXX
=-Kconform_pic
12491 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12492 # not for PA HP-UX.
12497 lt_prog_compiler_pic_CXX
='-fPIC'
12502 lt_prog_compiler_pic_CXX
='-fPIC'
12508 # All AIX code is PIC.
12509 if test "$host_cpu" = ia64
; then
12510 # AIX 5 now supports IA64 processor
12511 lt_prog_compiler_static_CXX
='-Bstatic'
12513 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12517 case $cc_basename in
12519 # Green Hills C++ Compiler
12520 # _LT_AC_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"
12525 # PIC is the default on this platform
12526 # Common symbols not allowed in MH_DYLIB files
12527 case $cc_basename in
12529 lt_prog_compiler_pic_CXX
='-qnocommon'
12530 lt_prog_compiler_wl_CXX
='-Wl,'
12535 case $cc_basename in
12537 lt_prog_compiler_pic_CXX
='-KPIC'
12540 # Green Hills C++ Compiler
12541 lt_prog_compiler_pic_CXX
='-pic'
12547 freebsd
* | dragonfly
*)
12548 # FreeBSD uses GNU C++
12550 hpux9
* | hpux10
* | hpux11
*)
12551 case $cc_basename in
12553 lt_prog_compiler_wl_CXX
='-Wl,'
12554 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12555 if test "$host_cpu" != ia64
; then
12556 lt_prog_compiler_pic_CXX
='+Z'
12560 lt_prog_compiler_wl_CXX
='-Wl,'
12561 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12567 lt_prog_compiler_pic_CXX
='+Z'
12576 # This is c89, which is MS Visual C++ (no shared libs)
12577 # Anyone wants to do a port?
12579 irix5
* | irix6
* | nonstopux
*)
12580 case $cc_basename in
12582 lt_prog_compiler_wl_CXX
='-Wl,'
12583 lt_prog_compiler_static_CXX
='-non_shared'
12584 # CC pic flag -KPIC is the default.
12590 linux
* | k
*bsd
*-gnu)
12591 case $cc_basename in
12594 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12595 lt_prog_compiler_pic_CXX
='-fPIC'
12599 lt_prog_compiler_wl_CXX
='-Wl,'
12600 lt_prog_compiler_pic_CXX
='-KPIC'
12601 lt_prog_compiler_static_CXX
='-static'
12604 # Portland Group C++ compiler.
12605 lt_prog_compiler_wl_CXX
='-Wl,'
12606 lt_prog_compiler_pic_CXX
='-fpic'
12607 lt_prog_compiler_static_CXX
='-Bstatic'
12611 # Make sure the PIC flag is empty. It appears that all Alpha
12612 # Linux and Compaq Tru64 Unix objects are PIC.
12613 lt_prog_compiler_pic_CXX
=
12614 lt_prog_compiler_static_CXX
='-non_shared'
12617 case `$CC -V 2>&1 | sed 5q` in
12620 lt_prog_compiler_pic_CXX
='-KPIC'
12621 lt_prog_compiler_static_CXX
='-Bstatic'
12622 lt_prog_compiler_wl_CXX
='-Qoption ld '
12633 case $cc_basename in
12635 lt_prog_compiler_pic_CXX
='-W c,exportall'
12641 netbsd
* | netbsdelf
*-gnu)
12643 osf3
* | osf4
* | osf5
*)
12644 case $cc_basename in
12646 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12649 # Rational C++ 2.4.1
12650 lt_prog_compiler_pic_CXX
='-pic'
12653 # Digital/Compaq C++
12654 lt_prog_compiler_wl_CXX
='-Wl,'
12655 # Make sure the PIC flag is empty. It appears that all Alpha
12656 # Linux and Compaq Tru64 Unix objects are PIC.
12657 lt_prog_compiler_pic_CXX
=
12658 lt_prog_compiler_static_CXX
='-non_shared'
12667 case $cc_basename in
12669 # Sun C++ 4.2, 5.x and Centerline C++
12670 lt_prog_compiler_pic_CXX
='-KPIC'
12671 lt_prog_compiler_static_CXX
='-Bstatic'
12672 lt_prog_compiler_wl_CXX
='-Qoption ld '
12675 # Green Hills C++ Compiler
12676 lt_prog_compiler_pic_CXX
='-PIC'
12683 case $cc_basename in
12686 lt_prog_compiler_pic_CXX
='-pic'
12687 lt_prog_compiler_static_CXX
='-Bstatic'
12691 lt_prog_compiler_pic_CXX
='-pic'
12698 case $cc_basename in
12700 # NonStop-UX NCC 3.20
12701 lt_prog_compiler_pic_CXX
='-KPIC'
12707 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12708 case $cc_basename in
12710 lt_prog_compiler_wl_CXX
='-Wl,'
12711 lt_prog_compiler_pic_CXX
='-KPIC'
12712 lt_prog_compiler_static_CXX
='-Bstatic'
12719 lt_prog_compiler_can_build_shared_CXX
=no
12724 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12725 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12728 # Check to make sure the PIC flag actually works.
12730 if test -n "$lt_prog_compiler_pic_CXX"; then
12732 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12733 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12734 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
12735 echo $ECHO_N "(cached) $ECHO_C" >&6
12737 lt_cv_prog_compiler_pic_works_CXX
=no
12738 ac_outfile
=conftest.
$ac_objext
12739 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12740 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12741 # Insert the option either (1) after the last *FLAGS variable, or
12742 # (2) before a word containing "conftest.", or (3) at the end.
12743 # Note that $ac_compile itself does not contain backslashes and begins
12744 # with a dollar sign (not a hyphen), so the echo should work correctly.
12745 # The option is referenced via a variable to avoid confusing sed.
12746 lt_compile
=`echo "$ac_compile" | $SED \
12747 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12748 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12749 -e 's:$: $lt_compiler_flag:'`
12750 (eval echo "\"\$as_me:12750: $lt_compile\"" >&5)
12751 (eval "$lt_compile" 2>conftest.err
)
12753 cat conftest.err
>&5
12754 echo "$as_me:12754: \$? = $ac_status" >&5
12755 if (exit $ac_status) && test -s "$ac_outfile"; then
12756 # The compiler can only warn and ignore the option if not recognized
12757 # So say no if there are warnings other than the usual output.
12758 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12759 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12760 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12761 lt_cv_prog_compiler_pic_works_CXX
=yes
12767 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
12768 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
12770 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
12771 case $lt_prog_compiler_pic_CXX in
12773 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12776 lt_prog_compiler_pic_CXX
=
12777 lt_prog_compiler_can_build_shared_CXX
=no
12782 # For platforms which do not support PIC, -DPIC is meaningless:
12784 lt_prog_compiler_pic_CXX
=
12787 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12792 # Check to make sure the static flag actually works.
12794 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12795 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12796 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12797 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
12798 echo $ECHO_N "(cached) $ECHO_C" >&6
12800 lt_cv_prog_compiler_static_works_CXX
=no
12801 save_LDFLAGS
="$LDFLAGS"
12802 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12803 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12804 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12805 # The linker can only warn and ignore the option if not recognized
12806 # So say no if there are warnings
12807 if test -s conftest.err
; then
12808 # Append any errors to the config.log.
12809 cat conftest.err
1>&5
12810 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12811 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12812 if diff conftest.exp conftest.er2
>/dev
/null
; then
12813 lt_cv_prog_compiler_static_works_CXX
=yes
12816 lt_cv_prog_compiler_static_works_CXX
=yes
12820 LDFLAGS
="$save_LDFLAGS"
12823 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
12824 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
12826 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
12829 lt_prog_compiler_static_CXX
=
12833 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12834 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12835 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12836 echo $ECHO_N "(cached) $ECHO_C" >&6
12838 lt_cv_prog_compiler_c_o_CXX
=no
12839 $rm -r conftest
2>/dev
/null
12843 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12845 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12846 # Insert the option either (1) after the last *FLAGS variable, or
12847 # (2) before a word containing "conftest.", or (3) at the end.
12848 # Note that $ac_compile itself does not contain backslashes and begins
12849 # with a dollar sign (not a hyphen), so the echo should work correctly.
12850 lt_compile
=`echo "$ac_compile" | $SED \
12851 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12852 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12853 -e 's:$: $lt_compiler_flag:'`
12854 (eval echo "\"\$as_me:12854: $lt_compile\"" >&5)
12855 (eval "$lt_compile" 2>out
/conftest.err
)
12857 cat out
/conftest.err
>&5
12858 echo "$as_me:12858: \$? = $ac_status" >&5
12859 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12861 # The compiler can only warn and ignore the option if not recognized
12862 # So say no if there are warnings
12863 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12864 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12865 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12866 lt_cv_prog_compiler_c_o_CXX
=yes
12871 # SGI C++ compiler will create directory out/ii_files/ for
12872 # template instantiation
12873 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12874 $rm out
/* && rmdir out
12880 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12881 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12884 hard_links
="nottested"
12885 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12886 # do not overwrite the value of need_locks provided by the user
12887 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12888 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12891 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12893 ln conftest.a conftest.b
2>&5 || hard_links
=no
12894 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12895 { echo "$as_me:$LINENO: result: $hard_links" >&5
12896 echo "${ECHO_T}$hard_links" >&6; }
12897 if test "$hard_links" = no
; then
12898 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12899 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12906 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12907 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12909 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12912 # If we're using GNU nm, then we don't want the "-C" option.
12913 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12914 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12915 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
12917 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
12921 export_symbols_cmds_CXX
="$ltdll_cmds"
12924 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12926 linux
* | k
*bsd
*-gnu)
12927 link_all_deplibs_CXX
=no
12930 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12933 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12935 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12936 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12937 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12940 # Do we need to explicitly link libc?
12942 case "x$archive_cmds_need_lc_CXX" in
12944 # Assume -lc should be added
12945 archive_cmds_need_lc_CXX
=yes
12947 if test "$enable_shared" = yes && test "$GCC" = yes; then
12948 case $archive_cmds_CXX in
12950 # FIXME: we may have to deal with multi-command sequences.
12953 # Test whether the compiler implicitly links with -lc since on some
12954 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12955 # to ld, don't add -lc before -lgcc.
12956 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12957 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12959 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12962 (eval $ac_compile) 2>&5
12964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12965 (exit $ac_status); } 2>conftest.err
; then
12968 libobjs
=conftest.
$ac_objext
12970 wl
=$lt_prog_compiler_wl_CXX
12971 pic_flag
=$lt_prog_compiler_pic_CXX
12977 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12978 allow_undefined_flag_CXX
=
12979 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12980 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12983 (exit $ac_status); }
12985 archive_cmds_need_lc_CXX
=no
12987 archive_cmds_need_lc_CXX
=yes
12989 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12991 cat conftest.err
1>&5
12994 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12995 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
13002 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13003 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
13004 library_names_spec
=
13005 libname_spec
='lib$name'
13009 postuninstall_cmds
=
13013 shlibpath_overrides_runpath
=unknown
13015 dynamic_linker
="$host_os ld.so"
13016 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13018 need_lib_prefix
=unknown
13019 hardcode_into_libs
=no
13021 # when you set need_version to no, make sure it does not cause -set_version
13022 # flags to be left without arguments
13023 need_version
=unknown
13028 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13029 shlibpath_var
=LIBPATH
13031 # AIX 3 has no versioning support, so we append a major version to the name.
13032 soname_spec
='${libname}${release}${shared_ext}$major'
13039 hardcode_into_libs
=yes
13040 if test "$host_cpu" = ia64
; then
13041 # AIX 5 supports IA64
13042 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13043 shlibpath_var
=LD_LIBRARY_PATH
13045 # With GCC up to 2.95.x, collect2 would create an import file
13046 # for dependence libraries. The import file would start with
13047 # the line `#! .'. This would cause the generated library to
13048 # depend on `.', always an invalid library. This was fixed in
13049 # development snapshots of GCC prior to 3.0.
13051 aix4 | aix4.
[01] | aix4.
[01].
*)
13052 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13054 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
13057 can_build_shared
=no
13061 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13062 # soname into executable. Probably we can add versioning support to
13063 # collect2, so additional links can be useful in future.
13064 if test "$aix_use_runtimelinking" = yes; then
13065 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13066 # instead of lib<name>.a to let people know that these are not
13067 # typical AIX shared libraries.
13068 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13070 # We preserve .a as extension for shared libraries through AIX4.2
13071 # and later when we are not doing run time linking.
13072 library_names_spec
='${libname}${release}.a $libname.a'
13073 soname_spec
='${libname}${release}${shared_ext}$major'
13075 shlibpath_var
=LIBPATH
13080 library_names_spec
='$libname.ixlibrary $libname.a'
13081 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13082 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
13086 library_names_spec
='${libname}${shared_ext}'
13087 dynamic_linker
="$host_os ld.so"
13088 shlibpath_var
=LIBRARY_PATH
13094 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13095 soname_spec
='${libname}${release}${shared_ext}$major'
13096 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13097 shlibpath_var
=LD_LIBRARY_PATH
13098 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13099 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13100 # the default ld.so.conf also contains /usr/contrib/lib and
13101 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13102 # libtool to hard-code these into programs
13105 cygwin
* | mingw
* | pw32
*)
13106 version_type
=windows
13111 case $GCC,$host_os in
13112 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
13113 library_names_spec
='$libname.dll.a'
13114 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13115 postinstall_cmds
='base_file=`basename \${file}`~
13116 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13117 dldir=$destdir/`dirname \$dlpath`~
13118 test -d \$dldir || mkdir -p \$dldir~
13119 $install_prog $dir/$dlname \$dldir/$dlname~
13120 chmod a+x \$dldir/$dlname'
13121 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13122 dlpath=$dir/\$dldll~
13124 shlibpath_overrides_runpath
=yes
13128 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13129 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13130 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13133 # MinGW DLLs use traditional 'lib' prefix
13134 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13135 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13136 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
13137 # It is most probably a Windows format PATH printed by
13138 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13139 # path with ; separators, and with drive letters. We can handle the
13140 # drive letters (cygwin fileutils understands them), so leave them,
13141 # especially as we might pass files found there to a mingw objdump,
13142 # which wouldn't understand a cygwinified path. Ahh.
13143 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13145 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13149 # pw32 DLLs use 'pw' prefix rather than 'lib'
13150 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13156 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13159 dynamic_linker
='Win32 ld.exe'
13160 # FIXME: first we should search . and the directory the executable is in
13164 darwin
* | rhapsody
*)
13165 dynamic_linker
="$host_os dyld"
13166 version_type
=darwin
13169 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13170 soname_spec
='${libname}${release}${major}$shared_ext'
13171 shlibpath_overrides_runpath
=yes
13172 shlibpath_var
=DYLD_LIBRARY_PATH
13173 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13175 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13182 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13183 soname_spec
='${libname}${release}${shared_ext}$major'
13184 shlibpath_var
=LD_LIBRARY_PATH
13191 freebsd
* | dragonfly
*)
13192 # DragonFly does not have aout. When/if they implement a new
13193 # versioning mechanism, adjust this.
13194 if test -x /usr
/bin
/objformat
; then
13195 objformat
=`/usr/bin/objformat`
13198 freebsd
[123]*) objformat
=aout
;;
13199 *) objformat
=elf
;;
13202 version_type
=freebsd-
$objformat
13203 case $version_type in
13205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13210 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13214 shlibpath_var
=LD_LIBRARY_PATH
13217 shlibpath_overrides_runpath
=yes
13219 freebsd3.
[01]* | freebsdelf3.
[01]*)
13220 shlibpath_overrides_runpath
=yes
13221 hardcode_into_libs
=yes
13223 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13224 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13225 shlibpath_overrides_runpath
=no
13226 hardcode_into_libs
=yes
13228 *) # from 4.6 on, and DragonFly
13229 shlibpath_overrides_runpath
=yes
13230 hardcode_into_libs
=yes
13239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13240 soname_spec
='${libname}${release}${shared_ext}$major'
13241 shlibpath_var
=LD_LIBRARY_PATH
13242 hardcode_into_libs
=yes
13245 hpux9
* | hpux10
* | hpux11
*)
13246 # Give a soname corresponding to the major version so that dld.sl refuses to
13247 # link against other versions.
13254 hardcode_into_libs
=yes
13255 dynamic_linker
="$host_os dld.so"
13256 shlibpath_var
=LD_LIBRARY_PATH
13257 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13258 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13259 soname_spec
='${libname}${release}${shared_ext}$major'
13260 if test "X$HPUX_IA64_MODE" = X32
; then
13261 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13263 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13265 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13269 hardcode_into_libs
=yes
13270 dynamic_linker
="$host_os dld.sl"
13271 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13272 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13273 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13274 soname_spec
='${libname}${release}${shared_ext}$major'
13275 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13276 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13280 dynamic_linker
="$host_os dld.sl"
13281 shlibpath_var
=SHLIB_PATH
13282 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13283 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13284 soname_spec
='${libname}${release}${shared_ext}$major'
13287 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13288 postinstall_cmds
='chmod 555 $lib'
13295 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13296 soname_spec
='${libname}${release}${shared_ext}$major'
13297 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13298 shlibpath_var
=LD_LIBRARY_PATH
13299 shlibpath_overrides_runpath
=no
13300 hardcode_into_libs
=yes
13303 irix5
* | irix6
* | nonstopux
*)
13305 nonstopux
*) version_type
=nonstopux
;;
13307 if test "$lt_cv_prog_gnu_ld" = yes; then
13315 soname_spec
='${libname}${release}${shared_ext}$major'
13316 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13318 irix5
* | nonstopux
*)
13319 libsuff
= shlibsuff
=
13322 case $LD in # libtool.m4 will add one of these switches to LD
13323 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13324 libsuff
= shlibsuff
= libmagic
=32-bit;;
13325 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13326 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13327 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13328 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13329 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13333 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13334 shlibpath_overrides_runpath
=no
13335 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13336 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13337 hardcode_into_libs
=yes
13340 # No shared lib support for Linux oldld, aout, or coff.
13341 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13345 # This must be Linux ELF.
13346 linux
* | k
*bsd
*-gnu)
13350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13351 soname_spec
='${libname}${release}${shared_ext}$major'
13352 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13353 shlibpath_var
=LD_LIBRARY_PATH
13354 shlibpath_overrides_runpath
=no
13355 # This implies no fast_install, which is unacceptable.
13356 # Some rework will be needed to allow for fast_install
13357 # before this can be enabled.
13358 hardcode_into_libs
=yes
13360 # Append ld.so.conf contents to the search path
13361 if test -f /etc
/ld.so.conf
; then
13362 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;/^$/d' | tr '\n' ' '`
13363 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13366 # We used to test for /lib/ld.so.1 and disable shared libraries on
13367 # powerpc, because MkLinux only supported shared libraries with the
13368 # GNU dynamic linker. Since this was broken with cross compilers,
13369 # most powerpc-linux boxes support dynamic linking these days and
13370 # people can always --disable-shared, the test was removed, and we
13371 # assume the GNU/Linux dynamic linker is in use.
13372 dynamic_linker
='GNU/Linux ld.so'
13379 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13380 soname_spec
='${libname}${release}${shared_ext}$major'
13381 shlibpath_var
=LD_LIBRARY_PATH
13382 shlibpath_overrides_runpath
=no
13383 hardcode_into_libs
=yes
13384 dynamic_linker
='NetBSD ld.elf_so'
13391 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13392 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13393 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13394 dynamic_linker
='NetBSD (a.out) ld.so'
13396 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13397 soname_spec
='${libname}${release}${shared_ext}$major'
13398 dynamic_linker
='NetBSD ld.elf_so'
13400 shlibpath_var
=LD_LIBRARY_PATH
13401 shlibpath_overrides_runpath
=yes
13402 hardcode_into_libs
=yes
13407 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13408 shlibpath_var
=LD_LIBRARY_PATH
13409 shlibpath_overrides_runpath
=yes
13416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13417 soname_spec
='${libname}${release}${shared_ext}$major'
13418 shlibpath_var
=LD_LIBRARY_PATH
13419 shlibpath_overrides_runpath
=yes
13424 sys_lib_dlsearch_path_spec
="/usr/lib"
13426 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13428 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13429 *) need_version
=no
;;
13431 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13432 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13433 shlibpath_var
=LD_LIBRARY_PATH
13434 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13436 openbsd2.
[89] | openbsd2.
[89].
*)
13437 shlibpath_overrides_runpath
=no
13440 shlibpath_overrides_runpath
=yes
13444 shlibpath_overrides_runpath
=yes
13449 libname_spec
='$name'
13452 library_names_spec
='$libname${shared_ext} $libname.a'
13453 dynamic_linker
='OS/2 ld.exe'
13454 shlibpath_var
=LIBPATH
13457 osf3
* | osf4
* | osf5
*)
13461 soname_spec
='${libname}${release}${shared_ext}$major'
13462 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13463 shlibpath_var
=LD_LIBRARY_PATH
13464 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13465 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13476 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13477 soname_spec
='${libname}${release}${shared_ext}$major'
13478 shlibpath_var
=LD_LIBRARY_PATH
13479 shlibpath_overrides_runpath
=yes
13480 hardcode_into_libs
=yes
13481 # ldd complains unless libraries are executable
13482 postinstall_cmds
='chmod +x $lib'
13487 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13488 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13489 shlibpath_var
=LD_LIBRARY_PATH
13490 shlibpath_overrides_runpath
=yes
13491 if test "$with_gnu_ld" = yes; then
13499 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13500 soname_spec
='${libname}${release}${shared_ext}$major'
13501 shlibpath_var
=LD_LIBRARY_PATH
13502 case $host_vendor in
13504 shlibpath_overrides_runpath
=no
13506 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13507 runpath_var
=LD_RUN_PATH
13515 shlibpath_overrides_runpath
=no
13516 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13522 if test -d /usr
/nec
;then
13524 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13525 soname_spec
='$libname${shared_ext}.$major'
13526 shlibpath_var
=LD_LIBRARY_PATH
13530 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13531 version_type
=freebsd-elf
13534 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13535 soname_spec
='${libname}${release}${shared_ext}$major'
13536 shlibpath_var
=LD_LIBRARY_PATH
13537 hardcode_into_libs
=yes
13538 if test "$with_gnu_ld" = yes; then
13539 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13540 shlibpath_overrides_runpath
=no
13542 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13543 shlibpath_overrides_runpath
=yes
13546 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13550 sys_lib_dlsearch_path_spec
='/usr/lib'
13555 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13556 soname_spec
='${libname}${release}${shared_ext}$major'
13557 shlibpath_var
=LD_LIBRARY_PATH
13564 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13565 echo "${ECHO_T}$dynamic_linker" >&6; }
13566 test "$dynamic_linker" = no
&& can_build_shared
=no
13568 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13569 echo $ECHO_N "(cached) $ECHO_C" >&6
13571 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
13574 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
13575 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13576 echo $ECHO_N "(cached) $ECHO_C" >&6
13578 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
13581 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
13583 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13584 if test "$GCC" = yes; then
13585 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13588 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13589 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13590 hardcode_action_CXX
=
13591 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13592 test -n "$runpath_var_CXX" || \
13593 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13595 # We can hardcode non-existant directories.
13596 if test "$hardcode_direct_CXX" != no
&&
13597 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13598 # have to relink, otherwise we might link with an installed library
13599 # when we should be linking with a yet-to-be-installed one
13600 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13601 test "$hardcode_minus_L_CXX" != no
; then
13602 # Linking always hardcodes the temporary library directory.
13603 hardcode_action_CXX
=relink
13605 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13606 hardcode_action_CXX
=immediate
13609 # We cannot hardcode anything, or else we can only hardcode existing
13611 hardcode_action_CXX
=unsupported
13613 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13614 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13616 if test "$hardcode_action_CXX" = relink
; then
13617 # Fast installation is not supported
13618 enable_fast_install
=no
13619 elif test "$shlibpath_overrides_runpath" = yes ||
13620 test "$enable_shared" = no
; then
13621 # Fast installation is not necessary
13622 enable_fast_install
=needless
13626 # The else clause should only fire when bootstrapping the
13627 # libtool distribution, otherwise you forgot to ship ltmain.sh
13628 # with your package, and you will get complaints that there are
13629 # no rules to generate ltmain.sh.
13630 if test -f "$ltmain"; then
13631 # See if we are running on zsh, and set the options which allow our commands through
13632 # without removal of \ escapes.
13633 if test -n "${ZSH_VERSION+set}" ; then
13634 setopt NO_GLOB_SUBST
13636 # Now quote all the things that may contain metacharacters while being
13637 # careful not to overquote the AC_SUBSTed values. We take copies of the
13638 # variables and quote the copies for generation of the libtool script.
13639 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13641 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13642 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13643 deplibs_check_method reload_flag reload_cmds need_locks \
13644 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13645 lt_cv_sys_global_symbol_to_c_name_address \
13646 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13647 old_postinstall_cmds old_postuninstall_cmds \
13651 lt_prog_compiler_wl_CXX \
13652 lt_prog_compiler_pic_CXX \
13653 lt_prog_compiler_static_CXX \
13654 lt_prog_compiler_no_builtin_flag_CXX \
13655 export_dynamic_flag_spec_CXX \
13656 thread_safe_flag_spec_CXX \
13657 whole_archive_flag_spec_CXX \
13658 enable_shared_with_static_runtimes_CXX \
13659 old_archive_cmds_CXX \
13660 old_archive_from_new_cmds_CXX \
13661 predep_objects_CXX \
13662 postdep_objects_CXX \
13665 compiler_lib_search_path_CXX \
13666 compiler_lib_search_dirs_CXX \
13668 archive_expsym_cmds_CXX \
13669 postinstall_cmds_CXX \
13670 postuninstall_cmds_CXX \
13671 old_archive_from_expsyms_cmds_CXX \
13672 allow_undefined_flag_CXX \
13673 no_undefined_flag_CXX \
13674 export_symbols_cmds_CXX \
13675 hardcode_libdir_flag_spec_CXX \
13676 hardcode_libdir_flag_spec_ld_CXX \
13677 hardcode_libdir_separator_CXX \
13678 hardcode_automatic_CXX \
13680 module_expsym_cmds_CXX \
13681 lt_cv_prog_compiler_c_o_CXX \
13682 fix_srcfile_path_CXX \
13683 exclude_expsyms_CXX \
13684 include_expsyms_CXX
; do
13687 old_archive_cmds_CXX | \
13688 old_archive_from_new_cmds_CXX | \
13689 archive_cmds_CXX | \
13690 archive_expsym_cmds_CXX | \
13691 module_cmds_CXX | \
13692 module_expsym_cmds_CXX | \
13693 old_archive_from_expsyms_cmds_CXX | \
13694 export_symbols_cmds_CXX | \
13695 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13696 postinstall_cmds | postuninstall_cmds | \
13697 old_postinstall_cmds | old_postuninstall_cmds | \
13698 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13699 # Double-quote double-evaled strings.
13700 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13703 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13709 *'\$0 --fallback-echo"')
13710 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13716 cat <<__EOF__ >> "$cfgfile"
13717 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13719 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13721 # Shell to use when invoking shell scripts.
13724 # Whether or not to build shared libraries.
13725 build_libtool_libs=$enable_shared
13727 # Whether or not to build static libraries.
13728 build_old_libs=$enable_static
13730 # Whether or not to add -lc for building shared libraries.
13731 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13733 # Whether or not to disallow shared libs when runtime libs are static
13734 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13736 # Whether or not to optimize for fast installation.
13737 fast_install=$enable_fast_install
13740 host_alias=$host_alias
13744 # The build system.
13745 build_alias=$build_alias
13749 # An echo program that does not interpret backslashes.
13754 AR_FLAGS=$lt_AR_FLAGS
13759 # LTCC compiler flags.
13760 LTCFLAGS=$lt_LTCFLAGS
13762 # A language-specific compiler.
13763 CC=$lt_compiler_CXX
13765 # Is the compiler the GNU C compiler?
13771 # The linker used to build libraries.
13774 # Whether we need hard or soft links.
13777 # A BSD-compatible nm program.
13780 # A symbol stripping program
13783 # Used to examine libraries when file_magic_cmd begins "file"
13784 MAGIC_CMD=$MAGIC_CMD
13786 # Used on cygwin: DLL creation program.
13789 # Used on cygwin: object dumper.
13792 # Used on cygwin: assembler.
13795 # The name of the directory that contains temporary libtool files.
13798 # How to create reloadable object files.
13799 reload_flag=$lt_reload_flag
13800 reload_cmds=$lt_reload_cmds
13802 # How to pass a linker flag through the compiler.
13803 wl=$lt_lt_prog_compiler_wl_CXX
13805 # Object file suffix (normally "o").
13806 objext="$ac_objext"
13808 # Old archive suffix (normally "a").
13811 # Shared library suffix (normally ".so").
13812 shrext_cmds='$shrext_cmds'
13814 # Executable file suffix (normally "").
13817 # Additional compiler flags for building library objects.
13818 pic_flag=$lt_lt_prog_compiler_pic_CXX
13821 # What is the maximum length of a command?
13822 max_cmd_len=$lt_cv_sys_max_cmd_len
13824 # Does compiler simultaneously support -c and -o options?
13825 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13827 # Must we lock files when doing compilation?
13828 need_locks=$lt_need_locks
13830 # Do we need the lib prefix for modules?
13831 need_lib_prefix=$need_lib_prefix
13833 # Do we need a version for libraries?
13834 need_version=$need_version
13836 # Whether dlopen is supported.
13837 dlopen_support=$enable_dlopen
13839 # Whether dlopen of programs is supported.
13840 dlopen_self=$enable_dlopen_self
13842 # Whether dlopen of statically linked programs is supported.
13843 dlopen_self_static=$enable_dlopen_self_static
13845 # Compiler flag to prevent dynamic linking.
13846 link_static_flag=$lt_lt_prog_compiler_static_CXX
13848 # Compiler flag to turn off builtin functions.
13849 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13851 # Compiler flag to allow reflexive dlopens.
13852 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13854 # Compiler flag to generate shared objects directly from archives.
13855 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13857 # Compiler flag to generate thread-safe objects.
13858 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13860 # Library versioning type.
13861 version_type=$version_type
13863 # Format of library name prefix.
13864 libname_spec=$lt_libname_spec
13866 # List of archive names. First name is the real one, the rest are links.
13867 # The last name is the one that the linker finds with -lNAME.
13868 library_names_spec=$lt_library_names_spec
13870 # The coded name of the library, if different from the real name.
13871 soname_spec=$lt_soname_spec
13873 # Commands used to build and install an old-style archive.
13875 old_archive_cmds=$lt_old_archive_cmds_CXX
13876 old_postinstall_cmds=$lt_old_postinstall_cmds
13877 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13879 # Create an old-style archive from a shared archive.
13880 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13882 # Create a temporary old-style archive to link instead of a shared archive.
13883 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13885 # Commands used to build and install a shared archive.
13886 archive_cmds=$lt_archive_cmds_CXX
13887 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13888 postinstall_cmds=$lt_postinstall_cmds
13889 postuninstall_cmds=$lt_postuninstall_cmds
13891 # Commands used to build a loadable module (assumed same as above if empty)
13892 module_cmds=$lt_module_cmds_CXX
13893 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13895 # Commands to strip libraries.
13896 old_striplib=$lt_old_striplib
13897 striplib=$lt_striplib
13899 # Dependencies to place before the objects being linked to create a
13901 predep_objects=$lt_predep_objects_CXX
13903 # Dependencies to place after the objects being linked to create a
13905 postdep_objects=$lt_postdep_objects_CXX
13907 # Dependencies to place before the objects being linked to create a
13909 predeps=$lt_predeps_CXX
13911 # Dependencies to place after the objects being linked to create a
13913 postdeps=$lt_postdeps_CXX
13915 # The directories searched by this compiler when creating a shared
13917 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
13919 # The library search path used internally by the compiler when linking
13920 # a shared library.
13921 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13923 # Method to check whether dependent libraries are shared objects.
13924 deplibs_check_method=$lt_deplibs_check_method
13926 # Command to use when deplibs_check_method == file_magic.
13927 file_magic_cmd=$lt_file_magic_cmd
13929 # Flag that allows shared libraries with undefined symbols to be built.
13930 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13932 # Flag that forces no undefined symbols.
13933 no_undefined_flag=$lt_no_undefined_flag_CXX
13935 # Commands used to finish a libtool library installation in a directory.
13936 finish_cmds=$lt_finish_cmds
13938 # Same as above, but a single script fragment to be evaled but not shown.
13939 finish_eval=$lt_finish_eval
13941 # Take the output of nm and produce a listing of raw symbols and C names.
13942 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13944 # Transform the output of nm in a proper C declaration
13945 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13947 # Transform the output of nm in a C name address pair
13948 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13950 # This is the shared library runtime path variable.
13951 runpath_var=$runpath_var
13953 # This is the shared library path variable.
13954 shlibpath_var=$shlibpath_var
13956 # Is shlibpath searched before the hard-coded library search path?
13957 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13959 # How to hardcode a shared library path into an executable.
13960 hardcode_action=$hardcode_action_CXX
13962 # Whether we should hardcode library paths into libraries.
13963 hardcode_into_libs=$hardcode_into_libs
13965 # Flag to hardcode \$libdir into a binary during linking.
13966 # This must work even if \$libdir does not exist.
13967 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13969 # If ld is used when linking, flag to hardcode \$libdir into
13970 # a binary during linking. This must work even if \$libdir does
13972 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13974 # Whether we need a single -rpath flag with a separated argument.
13975 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13977 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13978 # resulting binary.
13979 hardcode_direct=$hardcode_direct_CXX
13981 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13982 # resulting binary.
13983 hardcode_minus_L=$hardcode_minus_L_CXX
13985 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13986 # the resulting binary.
13987 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13989 # Set to yes if building a shared library automatically hardcodes DIR into the library
13990 # and all subsequent libraries and executables linked against it.
13991 hardcode_automatic=$hardcode_automatic_CXX
13993 # Variables whose values should be saved in libtool wrapper scripts and
13994 # restored at relink time.
13995 variables_saved_for_relink="$variables_saved_for_relink"
13997 # Whether libtool must link a program against all its dependency libraries.
13998 link_all_deplibs=$link_all_deplibs_CXX
14000 # Compile-time system search path for libraries
14001 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14003 # Run-time system search path for libraries
14004 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14006 # Fix the shell variable \$srcfile for the compiler.
14007 fix_srcfile_path=$lt_fix_srcfile_path
14009 # Set to yes if exported symbols are required.
14010 always_export_symbols=$always_export_symbols_CXX
14012 # The commands to list exported symbols.
14013 export_symbols_cmds=$lt_export_symbols_cmds_CXX
14015 # The commands to extract the exported symbol list from a shared archive.
14016 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14018 # Symbols that should not be listed in the preloaded symbols.
14019 exclude_expsyms=$lt_exclude_expsyms_CXX
14021 # Symbols that must always be exported.
14022 include_expsyms=$lt_include_expsyms_CXX
14024 # ### END LIBTOOL TAG CONFIG: $tagname
14030 # If there is no Makefile yet, we rely on a make rule to execute
14031 # `config.status --recheck' to rerun these tests and create the
14032 # libtool script then.
14033 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14034 if test -f "$ltmain_in"; then
14035 test -f Makefile
&& make "$ltmain"
14041 ac_cpp
='$CPP $CPPFLAGS'
14042 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14043 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14044 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14050 with_gnu_ldcxx
=$with_gnu_ld
14051 with_gnu_ld
=$lt_save_with_gnu_ld
14052 lt_cv_path_LDCXX
=$lt_cv_path_LD
14053 lt_cv_path_LD
=$lt_save_path_LD
14054 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14055 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14063 if test -n "$F77" && test "X$F77" != "Xno"; then
14066 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14067 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14068 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
14071 archive_cmds_need_lc_F77
=no
14072 allow_undefined_flag_F77
=
14073 always_export_symbols_F77
=no
14074 archive_expsym_cmds_F77
=
14075 export_dynamic_flag_spec_F77
=
14076 hardcode_direct_F77
=no
14077 hardcode_libdir_flag_spec_F77
=
14078 hardcode_libdir_flag_spec_ld_F77
=
14079 hardcode_libdir_separator_F77
=
14080 hardcode_minus_L_F77
=no
14081 hardcode_automatic_F77
=no
14083 module_expsym_cmds_F77
=
14084 link_all_deplibs_F77
=unknown
14085 old_archive_cmds_F77
=$old_archive_cmds
14086 no_undefined_flag_F77
=
14087 whole_archive_flag_spec_F77
=
14088 enable_shared_with_static_runtimes_F77
=no
14090 # Source file extension for f77 test sources.
14093 # Object file extension for compiled f77 test sources.
14097 # Code to be used in simple compile tests
14098 lt_simple_compile_test_code
="\
14104 # Code to be used in simple link tests
14105 lt_simple_link_test_code
="\
14110 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14112 # If no C compiler was specified, use CC.
14115 # If no C compiler flags were specified, use CFLAGS.
14116 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
14118 # Allow CC to be a program name with arguments.
14122 # save warnings/boilerplate of simple test code
14123 ac_outfile
=conftest.
$ac_objext
14124 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
14125 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14126 _lt_compiler_boilerplate
=`cat conftest.err`
14129 ac_outfile
=conftest.
$ac_objext
14130 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
14131 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14132 _lt_linker_boilerplate
=`cat conftest.err`
14136 # Allow CC to be a program name with arguments.
14141 for cc_temp
in $compiler""; do
14143 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14144 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14149 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14152 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14153 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14154 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
14155 echo "${ECHO_T}$can_build_shared" >&6; }
14157 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14158 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14159 test "$can_build_shared" = "no" && enable_shared
=no
14161 # On AIX, shared libraries and static libraries use the same namespace, and
14162 # are all built from PIC.
14165 test "$enable_shared" = yes && enable_static
=no
14166 if test -n "$RANLIB"; then
14167 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14168 postinstall_cmds
='$RANLIB $lib'
14172 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
14173 test "$enable_shared" = yes && enable_static
=no
14177 { echo "$as_me:$LINENO: result: $enable_shared" >&5
14178 echo "${ECHO_T}$enable_shared" >&6; }
14180 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14181 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14182 # Make sure either enable_shared or enable_static is yes.
14183 test "$enable_shared" = yes || enable_static
=yes
14184 { echo "$as_me:$LINENO: result: $enable_static" >&5
14185 echo "${ECHO_T}$enable_static" >&6; }
14190 lt_prog_compiler_wl_F77
=
14191 lt_prog_compiler_pic_F77
=
14192 lt_prog_compiler_static_F77
=
14194 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14195 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14197 if test "$GCC" = yes; then
14198 lt_prog_compiler_wl_F77
='-Wl,'
14199 lt_prog_compiler_static_F77
='-static'
14203 # All AIX code is PIC.
14204 if test "$host_cpu" = ia64
; then
14205 # AIX 5 now supports IA64 processor
14206 lt_prog_compiler_static_F77
='-Bstatic'
14211 # FIXME: we need at least 68020 code to build shared libraries, but
14212 # adding the `-m68020' flag to GCC prevents building anything better,
14214 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
14217 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14218 # PIC is the default for these OSes.
14221 mingw
* | cygwin
* | pw32
* | os2
*)
14222 # This hack is so that the source file can tell whether it is being
14223 # built for inclusion in a dll (and should export symbols for example).
14224 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14225 # (--disable-auto-import) libraries
14226 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14229 darwin
* | rhapsody
*)
14230 # PIC is the default on this platform
14231 # Common symbols not allowed in MH_DYLIB files
14232 lt_prog_compiler_pic_F77
='-fno-common'
14236 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14237 # Instead, we relocate shared libraries at runtime.
14241 # Just because we use GCC doesn't mean we suddenly get shared libraries
14242 # on systems that don't support them.
14243 lt_prog_compiler_can_build_shared_F77
=no
14248 if test -d /usr
/nec
; then
14249 lt_prog_compiler_pic_F77
=-Kconform_pic
14254 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14255 # not for PA HP-UX.
14261 lt_prog_compiler_pic_F77
='-fPIC'
14267 lt_prog_compiler_pic_F77
='-fPIC'
14271 # PORTME Check for flag to pass linker flags through the system compiler.
14274 lt_prog_compiler_wl_F77
='-Wl,'
14275 if test "$host_cpu" = ia64
; then
14276 # AIX 5 now supports IA64 processor
14277 lt_prog_compiler_static_F77
='-Bstatic'
14279 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
14283 # PIC is the default on this platform
14284 # Common symbols not allowed in MH_DYLIB files
14285 case $cc_basename in
14287 lt_prog_compiler_pic_F77
='-qnocommon'
14288 lt_prog_compiler_wl_F77
='-Wl,'
14293 mingw
* | cygwin
* | pw32
* | os2
*)
14294 # This hack is so that the source file can tell whether it is being
14295 # built for inclusion in a dll (and should export symbols for example).
14296 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14299 hpux9
* | hpux10
* | hpux11
*)
14300 lt_prog_compiler_wl_F77
='-Wl,'
14301 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14302 # not for PA HP-UX.
14308 lt_prog_compiler_pic_F77
='+Z'
14311 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14312 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
14315 irix5
* | irix6
* | nonstopux
*)
14316 lt_prog_compiler_wl_F77
='-Wl,'
14317 # PIC (with -KPIC) is the default.
14318 lt_prog_compiler_static_F77
='-non_shared'
14322 lt_prog_compiler_pic_F77
='-KPIC'
14323 lt_prog_compiler_static_F77
='-Bstatic'
14326 linux
* | k
*bsd
*-gnu)
14327 case $cc_basename in
14329 lt_prog_compiler_wl_F77
='-Wl,'
14330 lt_prog_compiler_pic_F77
='-KPIC'
14331 lt_prog_compiler_static_F77
='-static'
14333 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14334 # Portland Group compilers (*not* the Pentium gcc compiler,
14335 # which looks to be a dead project)
14336 lt_prog_compiler_wl_F77
='-Wl,'
14337 lt_prog_compiler_pic_F77
='-fpic'
14338 lt_prog_compiler_static_F77
='-Bstatic'
14341 lt_prog_compiler_wl_F77
='-Wl,'
14342 # All Alpha code is PIC.
14343 lt_prog_compiler_static_F77
='-non_shared'
14346 case `$CC -V 2>&1 | sed 5q` in
14349 lt_prog_compiler_pic_F77
='-KPIC'
14350 lt_prog_compiler_static_F77
='-Bstatic'
14351 lt_prog_compiler_wl_F77
='-Wl,'
14354 # Sun Fortran 8.3 passes all unrecognized flags to the linker
14355 lt_prog_compiler_pic_F77
='-KPIC'
14356 lt_prog_compiler_static_F77
='-Bstatic'
14357 lt_prog_compiler_wl_F77
=''
14364 osf3
* | osf4
* | osf5
*)
14365 lt_prog_compiler_wl_F77
='-Wl,'
14366 # All OSF/1 code is PIC.
14367 lt_prog_compiler_static_F77
='-non_shared'
14371 lt_prog_compiler_static_F77
='-non_shared'
14375 lt_prog_compiler_pic_F77
='-KPIC'
14376 lt_prog_compiler_static_F77
='-Bstatic'
14377 case $cc_basename in
14378 f77
* | f90
* | f95
*)
14379 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14381 lt_prog_compiler_wl_F77
='-Wl,';;
14386 lt_prog_compiler_wl_F77
='-Qoption ld '
14387 lt_prog_compiler_pic_F77
='-PIC'
14388 lt_prog_compiler_static_F77
='-Bstatic'
14391 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14392 lt_prog_compiler_wl_F77
='-Wl,'
14393 lt_prog_compiler_pic_F77
='-KPIC'
14394 lt_prog_compiler_static_F77
='-Bstatic'
14398 if test -d /usr
/nec
;then
14399 lt_prog_compiler_pic_F77
='-Kconform_pic'
14400 lt_prog_compiler_static_F77
='-Bstatic'
14404 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14405 lt_prog_compiler_wl_F77
='-Wl,'
14406 lt_prog_compiler_pic_F77
='-KPIC'
14407 lt_prog_compiler_static_F77
='-Bstatic'
14411 lt_prog_compiler_wl_F77
='-Wl,'
14412 lt_prog_compiler_can_build_shared_F77
=no
14416 lt_prog_compiler_pic_F77
='-pic'
14417 lt_prog_compiler_static_F77
='-Bstatic'
14421 lt_prog_compiler_can_build_shared_F77
=no
14426 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14427 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14430 # Check to make sure the PIC flag actually works.
14432 if test -n "$lt_prog_compiler_pic_F77"; then
14434 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14435 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14436 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
14437 echo $ECHO_N "(cached) $ECHO_C" >&6
14439 lt_cv_prog_compiler_pic_works_F77
=no
14440 ac_outfile
=conftest.
$ac_objext
14441 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14442 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14443 # Insert the option either (1) after the last *FLAGS variable, or
14444 # (2) before a word containing "conftest.", or (3) at the end.
14445 # Note that $ac_compile itself does not contain backslashes and begins
14446 # with a dollar sign (not a hyphen), so the echo should work correctly.
14447 # The option is referenced via a variable to avoid confusing sed.
14448 lt_compile
=`echo "$ac_compile" | $SED \
14449 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14450 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14451 -e 's:$: $lt_compiler_flag:'`
14452 (eval echo "\"\$as_me:14452: $lt_compile\"" >&5)
14453 (eval "$lt_compile" 2>conftest.err
)
14455 cat conftest.err
>&5
14456 echo "$as_me:14456: \$? = $ac_status" >&5
14457 if (exit $ac_status) && test -s "$ac_outfile"; then
14458 # The compiler can only warn and ignore the option if not recognized
14459 # So say no if there are warnings other than the usual output.
14460 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14461 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14462 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14463 lt_cv_prog_compiler_pic_works_F77
=yes
14469 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
14470 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
14472 if test x
"$lt_cv_prog_compiler_pic_works_F77" = xyes
; then
14473 case $lt_prog_compiler_pic_F77 in
14475 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14478 lt_prog_compiler_pic_F77
=
14479 lt_prog_compiler_can_build_shared_F77
=no
14484 # For platforms which do not support PIC, -DPIC is meaningless:
14486 lt_prog_compiler_pic_F77
=
14489 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14494 # Check to make sure the static flag actually works.
14496 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14497 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14498 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14499 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
14500 echo $ECHO_N "(cached) $ECHO_C" >&6
14502 lt_cv_prog_compiler_static_works_F77
=no
14503 save_LDFLAGS
="$LDFLAGS"
14504 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14505 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14506 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14507 # The linker can only warn and ignore the option if not recognized
14508 # So say no if there are warnings
14509 if test -s conftest.err
; then
14510 # Append any errors to the config.log.
14511 cat conftest.err
1>&5
14512 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14513 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14514 if diff conftest.exp conftest.er2
>/dev
/null
; then
14515 lt_cv_prog_compiler_static_works_F77
=yes
14518 lt_cv_prog_compiler_static_works_F77
=yes
14522 LDFLAGS
="$save_LDFLAGS"
14525 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
14526 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
14528 if test x
"$lt_cv_prog_compiler_static_works_F77" = xyes
; then
14531 lt_prog_compiler_static_F77
=
14535 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14536 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14537 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14538 echo $ECHO_N "(cached) $ECHO_C" >&6
14540 lt_cv_prog_compiler_c_o_F77
=no
14541 $rm -r conftest
2>/dev
/null
14545 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14547 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14548 # Insert the option either (1) after the last *FLAGS variable, or
14549 # (2) before a word containing "conftest.", or (3) at the end.
14550 # Note that $ac_compile itself does not contain backslashes and begins
14551 # with a dollar sign (not a hyphen), so the echo should work correctly.
14552 lt_compile
=`echo "$ac_compile" | $SED \
14553 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14554 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14555 -e 's:$: $lt_compiler_flag:'`
14556 (eval echo "\"\$as_me:14556: $lt_compile\"" >&5)
14557 (eval "$lt_compile" 2>out
/conftest.err
)
14559 cat out
/conftest.err
>&5
14560 echo "$as_me:14560: \$? = $ac_status" >&5
14561 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14563 # The compiler can only warn and ignore the option if not recognized
14564 # So say no if there are warnings
14565 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14566 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14567 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14568 lt_cv_prog_compiler_c_o_F77
=yes
14573 # SGI C++ compiler will create directory out/ii_files/ for
14574 # template instantiation
14575 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14576 $rm out
/* && rmdir out
14582 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14583 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14586 hard_links
="nottested"
14587 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14588 # do not overwrite the value of need_locks provided by the user
14589 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14590 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14593 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14595 ln conftest.a conftest.b
2>&5 || hard_links
=no
14596 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14597 { echo "$as_me:$LINENO: result: $hard_links" >&5
14598 echo "${ECHO_T}$hard_links" >&6; }
14599 if test "$hard_links" = no
; then
14600 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14601 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14608 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14609 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14612 allow_undefined_flag_F77
=
14613 enable_shared_with_static_runtimes_F77
=no
14615 archive_expsym_cmds_F77
=
14616 old_archive_From_new_cmds_F77
=
14617 old_archive_from_expsyms_cmds_F77
=
14618 export_dynamic_flag_spec_F77
=
14619 whole_archive_flag_spec_F77
=
14620 thread_safe_flag_spec_F77
=
14621 hardcode_libdir_flag_spec_F77
=
14622 hardcode_libdir_flag_spec_ld_F77
=
14623 hardcode_libdir_separator_F77
=
14624 hardcode_direct_F77
=no
14625 hardcode_minus_L_F77
=no
14626 hardcode_shlibpath_var_F77
=unsupported
14627 link_all_deplibs_F77
=unknown
14628 hardcode_automatic_F77
=no
14630 module_expsym_cmds_F77
=
14631 always_export_symbols_F77
=no
14632 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14633 # include_expsyms should be a list of space-separated symbols to be *always*
14634 # included in the symbol list
14635 include_expsyms_F77
=
14636 # exclude_expsyms can be an extended regexp of symbols to exclude
14637 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14638 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14639 # as well as any symbol that contains `d'.
14640 exclude_expsyms_F77
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14641 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14642 # platforms (ab)use it in PIC code, but their linkers get confused if
14643 # the symbol is explicitly referenced. Since portable code cannot
14644 # rely on this symbol name, it's probably fine to never include it in
14645 # preloaded symbol tables.
14646 # Exclude shared library initialization/finalization symbols.
14647 extract_expsyms_cmds
=
14648 # Just being paranoid about ensuring that cc_basename is set.
14649 for cc_temp
in $compiler""; do
14651 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14652 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14657 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14660 cygwin
* | mingw
* | pw32
*)
14661 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14662 # When not using gcc, we currently assume that we are using
14663 # Microsoft Visual C++.
14664 if test "$GCC" != yes; then
14669 # we just hope/assume this is gcc and not c89 (= MSVC++)
14678 if test "$with_gnu_ld" = yes; then
14679 # If archive_cmds runs LD, not CC, wlarc should be empty
14682 # Set some defaults for GNU ld with shared library support. These
14683 # are reset later if shared libraries are not supported. Putting them
14684 # here allows them to be overridden if necessary.
14685 runpath_var
=LD_RUN_PATH
14686 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14687 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14688 # ancient GNU ld didn't support --whole-archive et. al.
14689 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14690 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14692 whole_archive_flag_spec_F77
=
14694 supports_anon_versioning
=no
14695 case `$LD -v 2>/dev/null` in
14696 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14697 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14698 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14699 *\
2.11.
*) ;; # other 2.11 versions
14700 *) supports_anon_versioning
=yes ;;
14703 # See if GNU ld supports shared libraries.
14706 # On AIX/PPC, the GNU linker is very broken
14707 if test "$host_cpu" != ia64
; then
14711 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14712 *** to be unable to reliably create shared libraries on AIX.
14713 *** Therefore, libtool is disabling shared libraries support. If you
14714 *** really care for shared libraries, you may want to modify your PATH
14715 *** so that a non-GNU linker is found, and then restart.
14722 archive_cmds_F77
='$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)'
14723 hardcode_libdir_flag_spec_F77
='-L$libdir'
14724 hardcode_minus_L_F77
=yes
14726 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14727 # that the semantics of dynamic libraries on AmigaOS, at least up
14728 # to version 4, is to share data among multiple programs linked
14729 # with the same dynamic library. Since this doesn't match the
14730 # behavior of shared libraries on other platforms, we can't use
14736 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14737 allow_undefined_flag_F77
=unsupported
14738 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14739 # support --undefined. This deserves some investigation. FIXME
14740 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14746 cygwin
* | mingw
* | pw32
*)
14747 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14748 # as there is no search path for DLLs.
14749 hardcode_libdir_flag_spec_F77
='-L$libdir'
14750 allow_undefined_flag_F77
=unsupported
14751 always_export_symbols_F77
=no
14752 enable_shared_with_static_runtimes_F77
=yes
14753 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14755 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14756 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14757 # If the export-symbols file already is a .def file (1st line
14758 # is EXPORTS), use it as is; otherwise, prepend...
14759 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14760 cp $export_symbols $output_objdir/$soname.def;
14762 echo EXPORTS > $output_objdir/$soname.def;
14763 cat $export_symbols >> $output_objdir/$soname.def;
14765 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14772 hardcode_direct_F77
=no
14773 hardcode_shlibpath_var_F77
=no
14774 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14775 export_dynamic_flag_spec_F77
='${wl}-E'
14776 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14777 # Instead, shared libraries are loaded at an image base (0x10000000 by
14778 # default) and relocated if they conflict, which is a slow very memory
14779 # consuming and fragmenting process. To avoid this, we pick a random,
14780 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14781 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14782 archive_cmds_F77
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14783 archive_expsym_cmds_F77
='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'
14786 gnu
* | linux
* | k
*bsd
*-gnu)
14787 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14789 case $cc_basename,$host_cpu in
14790 pgcc
*) # Portland Group C compiler
14791 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14792 tmp_addflag
=' $pic_flag'
14794 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14795 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14796 tmp_addflag
=' $pic_flag -Mnomain' ;;
14797 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14798 tmp_addflag
=' -i_dynamic' ;;
14799 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14800 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14801 ifc
* | ifort
*) # Intel Fortran compiler
14802 tmp_addflag
=' -nofor_main' ;;
14804 case `$CC -V 2>&1 | sed 5q` in
14805 *Sun\ C
*) # Sun C 5.9
14806 whole_archive_flag_spec_F77
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14807 tmp_sharedflag
='-G' ;;
14808 *Sun\ F
*) # Sun Fortran 8.3
14809 tmp_sharedflag
='-G' ;;
14811 tmp_sharedflag
='-shared' ;;
14813 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14815 if test $supports_anon_versioning = yes; then
14816 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14817 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14818 $echo "local: *; };" >> $output_objdir/$libname.ver~
14819 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14821 link_all_deplibs_F77
=no
14827 netbsd
* | netbsdelf
*-gnu)
14828 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14829 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14832 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14833 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14838 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14842 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14843 *** create shared libraries on Solaris systems. Therefore, libtool
14844 *** is disabling shared libraries support. We urge you to upgrade GNU
14845 *** binutils to release 2.9.1 or newer. Another option is to modify
14846 *** your PATH or compiler configuration so that the native linker is
14847 *** used, and then restart.
14850 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14851 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14852 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14858 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14859 case `$LD -v 2>&1` in
14860 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14864 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14865 *** reliably create shared libraries on SCO systems. Therefore, libtool
14866 *** is disabling shared libraries support. We urge you to upgrade GNU
14867 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14868 *** your PATH or compiler configuration so that the native linker is
14869 *** used, and then restart.
14874 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14875 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14876 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14877 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14886 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14888 hardcode_direct_F77
=yes
14889 hardcode_shlibpath_var_F77
=no
14893 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14894 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14895 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14902 if test "$ld_shlibs_F77" = no
; then
14904 hardcode_libdir_flag_spec_F77
=
14905 export_dynamic_flag_spec_F77
=
14906 whole_archive_flag_spec_F77
=
14909 # PORTME fill in a description of your system's linker (not GNU ld)
14912 allow_undefined_flag_F77
=unsupported
14913 always_export_symbols_F77
=yes
14914 archive_expsym_cmds_F77
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
14915 # Note: this linker hardcodes the directories in LIBPATH if there
14916 # are no directories specified by -L.
14917 hardcode_minus_L_F77
=yes
14918 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14919 # Neither direct hardcoding nor static linking is supported with a
14921 hardcode_direct_F77
=unsupported
14926 if test "$host_cpu" = ia64
; then
14927 # On IA64, the linker does run time linking by default, so we don't
14928 # have to do anything special.
14929 aix_use_runtimelinking
=no
14930 exp_sym_flag
='-Bexport'
14933 # If we're using GNU nm, then we don't want the "-C" option.
14934 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14935 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14936 export_symbols_cmds_F77
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14938 export_symbols_cmds_F77
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14940 aix_use_runtimelinking
=no
14942 # Test if we are trying to use run time linking or normal
14943 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14944 # need to do runtime linking.
14945 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14946 for ld_flag
in $LDFLAGS; do
14947 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14948 aix_use_runtimelinking
=yes
14955 exp_sym_flag
='-bexport'
14956 no_entry_flag
='-bnoentry'
14959 # When large executables or shared objects are built, AIX ld can
14960 # have problems creating the table of contents. If linking a library
14961 # or program results in "error TOC overflow" add -mminimal-toc to
14962 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14963 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14965 archive_cmds_F77
=''
14966 hardcode_direct_F77
=yes
14967 hardcode_libdir_separator_F77
=':'
14968 link_all_deplibs_F77
=yes
14970 if test "$GCC" = yes; then
14971 case $host_os in aix4.
[012]|aix4.
[012].
*)
14972 # We only want to do this on AIX 4.2 and lower, the check
14973 # below for broken collect2 doesn't work under 4.3+
14974 collect2name
=`${CC} -print-prog-name=collect2`
14975 if test -f "$collect2name" && \
14976 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14978 # We have reworked collect2
14981 # We have old collect2
14982 hardcode_direct_F77
=unsupported
14983 # It fails to find uninstalled libraries when the uninstalled
14984 # path is not listed in the libpath. Setting hardcode_minus_L
14985 # to unsupported forces relinking
14986 hardcode_minus_L_F77
=yes
14987 hardcode_libdir_flag_spec_F77
='-L$libdir'
14988 hardcode_libdir_separator_F77
=
14992 shared_flag
='-shared'
14993 if test "$aix_use_runtimelinking" = yes; then
14994 shared_flag
="$shared_flag "'${wl}-G'
14998 if test "$host_cpu" = ia64
; then
14999 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15000 # chokes on -Wl,-G. The following line is correct:
15003 if test "$aix_use_runtimelinking" = yes; then
15004 shared_flag
='${wl}-G'
15006 shared_flag
='${wl}-bM:SRE'
15011 # It seems that -bexpall does not export symbols beginning with
15012 # underscore (_), so it is better to generate a list of symbols to export.
15013 always_export_symbols_F77
=yes
15014 if test "$aix_use_runtimelinking" = yes; then
15015 # Warning - without using the other runtime loading flags (-brtl),
15016 # -berok will link without error, but may produce a broken library.
15017 allow_undefined_flag_F77
='-berok'
15018 # Determine the default libpath from the value encoded in an empty executable.
15019 cat >conftest.
$ac_ext <<_ACEOF
15024 rm -f conftest.
$ac_objext conftest
$ac_exeext
15025 if { (ac_try
="$ac_link"
15026 case "(($ac_try" in
15027 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15028 *) ac_try_echo=$ac_try;;
15030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15031 (eval "$ac_link") 2>conftest.er1
15033 grep -v '^ *+' conftest.er1 >conftest.err
15035 cat conftest.err >&5
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); } && {
15038 test -z "$ac_f77_werror_flag" ||
15039 test ! -s conftest.err
15040 } && test -s conftest$ac_exeext &&
15041 $as_test_x conftest$ac_exeext; then
15043 lt_aix_libpath_sed='
15044 /Import File Strings/,/^$/ {
15050 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
15051 # Check for a 64-bit object if we didn't find anything.
15052 if test -z "$aix_libpath"; then
15053 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
15056 echo "$as_me: failed program was:" >&5
15057 sed 's/^/| /' conftest.$ac_ext >&5
15062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15063 conftest$ac_exeext conftest.$ac_ext
15064 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15066 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15067 archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
15069 if test "$host_cpu" = ia64; then
15070 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15071 allow_undefined_flag_F77="-z nodefs"
15072 archive_expsym_cmds_F77="\$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"
15074 # Determine the default libpath from the value encoded in an empty executable.
15075 cat >conftest.$ac_ext <<_ACEOF
15080 rm -f conftest.$ac_objext conftest$ac_exeext
15081 if { (ac_try="$ac_link"
15082 case "(($ac_try" in
15083 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15084 *) ac_try_echo
=$ac_try;;
15086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15087 (eval "$ac_link") 2>conftest.er1
15089 grep -v '^ *+' conftest.er1
>conftest.err
15091 cat conftest.err
>&5
15092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15093 (exit $ac_status); } && {
15094 test -z "$ac_f77_werror_flag" ||
15095 test ! -s conftest.err
15096 } && test -s conftest
$ac_exeext &&
15097 $as_test_x conftest
$ac_exeext; then
15099 lt_aix_libpath_sed
='
15100 /Import File Strings/,/^$/ {
15106 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15107 # Check for a 64-bit object if we didn't find anything.
15108 if test -z "$aix_libpath"; then
15109 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15112 echo "$as_me: failed program was:" >&5
15113 sed 's/^/| /' conftest.
$ac_ext >&5
15118 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15119 conftest
$ac_exeext conftest.
$ac_ext
15120 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15122 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
15123 # Warning - without using the other run time loading flags,
15124 # -berok will link without error, but may produce a broken library.
15125 no_undefined_flag_F77
=' ${wl}-bernotok'
15126 allow_undefined_flag_F77
=' ${wl}-berok'
15127 # Exported symbols can be pulled into shared objects from archives
15128 whole_archive_flag_spec_F77
='$convenience'
15129 archive_cmds_need_lc_F77
=yes
15130 # This is similar to how AIX traditionally builds its shared libraries.
15131 archive_expsym_cmds_F77
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
15137 archive_cmds_F77
='$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)'
15138 hardcode_libdir_flag_spec_F77
='-L$libdir'
15139 hardcode_minus_L_F77
=yes
15140 # see comment about different semantics on the GNU ld section
15145 export_dynamic_flag_spec_F77
=-rdynamic
15148 cygwin
* | mingw
* | pw32
*)
15149 # When not using gcc, we currently assume that we are using
15150 # Microsoft Visual C++.
15151 # hardcode_libdir_flag_spec is actually meaningless, as there is
15152 # no search path for DLLs.
15153 hardcode_libdir_flag_spec_F77
=' '
15154 allow_undefined_flag_F77
=unsupported
15155 # Tell ltmain to make .lib files, not .a files.
15157 # Tell ltmain to make .dll files, not .so files.
15159 # FIXME: Setting linknames here is a bad hack.
15160 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15161 # The linker will automatically build a .lib file if we build a DLL.
15162 old_archive_From_new_cmds_F77
='true'
15163 # FIXME: Should let the user specify the lib program.
15164 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
15165 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
15166 enable_shared_with_static_runtimes_F77
=yes
15169 darwin
* | rhapsody
*)
15171 rhapsody
* | darwin1.
[012])
15172 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
15175 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15176 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15178 case ${MACOSX_DEPLOYMENT_TARGET} in
15180 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15183 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
15189 archive_cmds_need_lc_F77
=no
15190 hardcode_direct_F77
=no
15191 hardcode_automatic_F77
=yes
15192 hardcode_shlibpath_var_F77
=unsupported
15193 whole_archive_flag_spec_F77
=''
15194 link_all_deplibs_F77
=yes
15195 if test "$GCC" = yes ; then
15196 output_verbose_link_cmd
='echo'
15197 archive_cmds_F77
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
15198 module_cmds_F77
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15199 archive_expsym_cmds_F77
="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}"
15200 module_expsym_cmds_F77
="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}"
15202 case $cc_basename in
15204 output_verbose_link_cmd
='echo'
15205 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15206 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15207 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15208 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15209 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15219 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15220 hardcode_libdir_flag_spec_F77
='-L$libdir'
15221 hardcode_shlibpath_var_F77
=no
15228 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15229 # support. Future versions do this automatically, but an explicit c++rt0.o
15230 # does not break anything, and helps significantly (at the cost of a little
15233 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15234 hardcode_libdir_flag_spec_F77
='-R$libdir'
15235 hardcode_direct_F77
=yes
15236 hardcode_shlibpath_var_F77
=no
15239 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15241 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15242 hardcode_direct_F77
=yes
15243 hardcode_minus_L_F77
=yes
15244 hardcode_shlibpath_var_F77
=no
15247 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15248 freebsd
* | dragonfly
*)
15249 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15250 hardcode_libdir_flag_spec_F77
='-R$libdir'
15251 hardcode_direct_F77
=yes
15252 hardcode_shlibpath_var_F77
=no
15256 if test "$GCC" = yes; then
15257 archive_cmds_F77
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15259 archive_cmds_F77
='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15261 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15262 hardcode_libdir_separator_F77
=:
15263 hardcode_direct_F77
=yes
15265 # hardcode_minus_L: Not really in the search PATH,
15266 # but as the default location of the library.
15267 hardcode_minus_L_F77
=yes
15268 export_dynamic_flag_spec_F77
='${wl}-E'
15272 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15273 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15275 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15277 if test "$with_gnu_ld" = no
; then
15278 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15279 hardcode_libdir_separator_F77
=:
15281 hardcode_direct_F77
=yes
15282 export_dynamic_flag_spec_F77
='${wl}-E'
15284 # hardcode_minus_L: Not really in the search PATH,
15285 # but as the default location of the library.
15286 hardcode_minus_L_F77
=yes
15291 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15294 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15297 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15300 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15306 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15309 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15312 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15316 if test "$with_gnu_ld" = no
; then
15317 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15318 hardcode_libdir_separator_F77
=:
15322 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
15323 hardcode_direct_F77
=no
15324 hardcode_shlibpath_var_F77
=no
15327 hardcode_direct_F77
=yes
15328 export_dynamic_flag_spec_F77
='${wl}-E'
15330 # hardcode_minus_L: Not really in the search PATH,
15331 # but as the default location of the library.
15332 hardcode_minus_L_F77
=yes
15338 irix5
* | irix6
* | nonstopux
*)
15339 if test "$GCC" = yes; then
15340 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15342 archive_cmds_F77
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15343 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15345 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15346 hardcode_libdir_separator_F77
=:
15347 link_all_deplibs_F77
=yes
15350 netbsd
* | netbsdelf
*-gnu)
15351 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15352 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15354 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15356 hardcode_libdir_flag_spec_F77
='-R$libdir'
15357 hardcode_direct_F77
=yes
15358 hardcode_shlibpath_var_F77
=no
15362 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15363 hardcode_direct_F77
=yes
15364 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15365 hardcode_libdir_separator_F77
=:
15366 hardcode_shlibpath_var_F77
=no
15370 if test -f /usr
/libexec
/ld.so
; then
15371 hardcode_direct_F77
=yes
15372 hardcode_shlibpath_var_F77
=no
15373 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15374 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15375 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15376 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15377 export_dynamic_flag_spec_F77
='${wl}-E'
15380 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15381 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15382 hardcode_libdir_flag_spec_F77
='-R$libdir'
15385 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15386 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15396 hardcode_libdir_flag_spec_F77
='-L$libdir'
15397 hardcode_minus_L_F77
=yes
15398 allow_undefined_flag_F77
=unsupported
15399 archive_cmds_F77
='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
15400 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15404 if test "$GCC" = yes; then
15405 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15406 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15408 allow_undefined_flag_F77
=' -expect_unresolved \*'
15409 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15411 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15412 hardcode_libdir_separator_F77
=:
15415 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15416 if test "$GCC" = yes; then
15417 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15418 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15419 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15421 allow_undefined_flag_F77
=' -expect_unresolved \*'
15422 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15423 archive_expsym_cmds_F77
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15424 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
15426 # Both c and cxx compiler support -rpath directly
15427 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15429 hardcode_libdir_separator_F77
=:
15433 no_undefined_flag_F77
=' -z text'
15434 if test "$GCC" = yes; then
15436 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15437 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15438 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15441 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15442 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15443 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15445 hardcode_libdir_flag_spec_F77
='-R$libdir'
15446 hardcode_shlibpath_var_F77
=no
15448 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15450 # The compiler driver will combine and reorder linker options,
15451 # but understands `-z linker_flag'. GCC discards it without `$wl',
15452 # but is careful enough not to reorder.
15453 # Supported since Solaris 2.6 (maybe 2.5.1?)
15454 if test "$GCC" = yes; then
15455 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15457 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
15461 link_all_deplibs_F77
=yes
15465 if test "x$host_vendor" = xsequent
; then
15466 # Use $CC to link under sequent, because it throws in some extra .o
15467 # files that make .init and .fini sections work.
15468 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15470 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15472 hardcode_libdir_flag_spec_F77
='-L$libdir'
15473 hardcode_direct_F77
=yes
15474 hardcode_minus_L_F77
=yes
15475 hardcode_shlibpath_var_F77
=no
15479 case $host_vendor in
15481 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15482 hardcode_direct_F77
=yes # is this really true???
15485 ## LD is ld it makes a PLAMLIB
15486 ## CC just makes a GrossModule.
15487 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15488 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15489 hardcode_direct_F77
=no
15492 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15493 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15496 runpath_var
='LD_RUN_PATH'
15497 hardcode_shlibpath_var_F77
=no
15501 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15502 hardcode_shlibpath_var_F77
=no
15503 export_dynamic_flag_spec_F77
='-Bexport'
15507 if test -d /usr
/nec
; then
15508 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15509 hardcode_shlibpath_var_F77
=no
15510 runpath_var
=LD_RUN_PATH
15511 hardcode_runpath_var
=yes
15516 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15517 no_undefined_flag_F77
='${wl}-z,text'
15518 archive_cmds_need_lc_F77
=no
15519 hardcode_shlibpath_var_F77
=no
15520 runpath_var
='LD_RUN_PATH'
15522 if test "$GCC" = yes; then
15523 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15524 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15526 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15527 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15531 sysv5
* | sco3.2v5
* | sco5v6
*)
15532 # Note: We can NOT use -z defs as we might desire, because we do not
15533 # link with -lc, and that would cause any symbols used from libc to
15534 # always be unresolved, which means just about no library would
15535 # ever link correctly. If we're not using GNU ld we use -z text
15536 # though, which does catch some bad symbols but isn't as heavy-handed
15538 no_undefined_flag_F77
='${wl}-z,text'
15539 allow_undefined_flag_F77
='${wl}-z,nodefs'
15540 archive_cmds_need_lc_F77
=no
15541 hardcode_shlibpath_var_F77
=no
15542 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15543 hardcode_libdir_separator_F77
=':'
15544 link_all_deplibs_F77
=yes
15545 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15546 runpath_var
='LD_RUN_PATH'
15548 if test "$GCC" = yes; then
15549 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15550 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15552 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15553 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15558 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15559 hardcode_libdir_flag_spec_F77
='-L$libdir'
15560 hardcode_shlibpath_var_F77
=no
15569 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15570 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15571 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15574 # Do we need to explicitly link libc?
15576 case "x$archive_cmds_need_lc_F77" in
15578 # Assume -lc should be added
15579 archive_cmds_need_lc_F77
=yes
15581 if test "$enable_shared" = yes && test "$GCC" = yes; then
15582 case $archive_cmds_F77 in
15584 # FIXME: we may have to deal with multi-command sequences.
15587 # Test whether the compiler implicitly links with -lc since on some
15588 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15589 # to ld, don't add -lc before -lgcc.
15590 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15591 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15593 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15596 (eval $ac_compile) 2>&5
15598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15599 (exit $ac_status); } 2>conftest.err
; then
15602 libobjs
=conftest.
$ac_objext
15604 wl
=$lt_prog_compiler_wl_F77
15605 pic_flag
=$lt_prog_compiler_pic_F77
15611 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15612 allow_undefined_flag_F77
=
15613 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15614 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15617 (exit $ac_status); }
15619 archive_cmds_need_lc_F77
=no
15621 archive_cmds_need_lc_F77
=yes
15623 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15625 cat conftest.err
1>&5
15628 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15629 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15636 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15637 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15638 library_names_spec
=
15639 libname_spec
='lib$name'
15643 postuninstall_cmds
=
15647 shlibpath_overrides_runpath
=unknown
15649 dynamic_linker
="$host_os ld.so"
15650 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15652 need_lib_prefix
=unknown
15653 hardcode_into_libs
=no
15655 # when you set need_version to no, make sure it does not cause -set_version
15656 # flags to be left without arguments
15657 need_version
=unknown
15662 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15663 shlibpath_var
=LIBPATH
15665 # AIX 3 has no versioning support, so we append a major version to the name.
15666 soname_spec
='${libname}${release}${shared_ext}$major'
15673 hardcode_into_libs
=yes
15674 if test "$host_cpu" = ia64
; then
15675 # AIX 5 supports IA64
15676 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15677 shlibpath_var
=LD_LIBRARY_PATH
15679 # With GCC up to 2.95.x, collect2 would create an import file
15680 # for dependence libraries. The import file would start with
15681 # the line `#! .'. This would cause the generated library to
15682 # depend on `.', always an invalid library. This was fixed in
15683 # development snapshots of GCC prior to 3.0.
15685 aix4 | aix4.
[01] | aix4.
[01].
*)
15686 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15688 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15691 can_build_shared
=no
15695 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15696 # soname into executable. Probably we can add versioning support to
15697 # collect2, so additional links can be useful in future.
15698 if test "$aix_use_runtimelinking" = yes; then
15699 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15700 # instead of lib<name>.a to let people know that these are not
15701 # typical AIX shared libraries.
15702 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15704 # We preserve .a as extension for shared libraries through AIX4.2
15705 # and later when we are not doing run time linking.
15706 library_names_spec
='${libname}${release}.a $libname.a'
15707 soname_spec
='${libname}${release}${shared_ext}$major'
15709 shlibpath_var
=LIBPATH
15714 library_names_spec
='$libname.ixlibrary $libname.a'
15715 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15716 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15720 library_names_spec
='${libname}${shared_ext}'
15721 dynamic_linker
="$host_os ld.so"
15722 shlibpath_var
=LIBRARY_PATH
15728 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15729 soname_spec
='${libname}${release}${shared_ext}$major'
15730 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15731 shlibpath_var
=LD_LIBRARY_PATH
15732 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15733 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15734 # the default ld.so.conf also contains /usr/contrib/lib and
15735 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15736 # libtool to hard-code these into programs
15739 cygwin
* | mingw
* | pw32
*)
15740 version_type
=windows
15745 case $GCC,$host_os in
15746 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15747 library_names_spec
='$libname.dll.a'
15748 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15749 postinstall_cmds
='base_file=`basename \${file}`~
15750 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15751 dldir=$destdir/`dirname \$dlpath`~
15752 test -d \$dldir || mkdir -p \$dldir~
15753 $install_prog $dir/$dlname \$dldir/$dlname~
15754 chmod a+x \$dldir/$dlname'
15755 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15756 dlpath=$dir/\$dldll~
15758 shlibpath_overrides_runpath
=yes
15762 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15763 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15764 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15767 # MinGW DLLs use traditional 'lib' prefix
15768 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15769 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15770 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15771 # It is most probably a Windows format PATH printed by
15772 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15773 # path with ; separators, and with drive letters. We can handle the
15774 # drive letters (cygwin fileutils understands them), so leave them,
15775 # especially as we might pass files found there to a mingw objdump,
15776 # which wouldn't understand a cygwinified path. Ahh.
15777 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15779 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15783 # pw32 DLLs use 'pw' prefix rather than 'lib'
15784 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15790 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15793 dynamic_linker
='Win32 ld.exe'
15794 # FIXME: first we should search . and the directory the executable is in
15798 darwin
* | rhapsody
*)
15799 dynamic_linker
="$host_os dyld"
15800 version_type
=darwin
15803 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15804 soname_spec
='${libname}${release}${major}$shared_ext'
15805 shlibpath_overrides_runpath
=yes
15806 shlibpath_var
=DYLD_LIBRARY_PATH
15807 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15809 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15816 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15817 soname_spec
='${libname}${release}${shared_ext}$major'
15818 shlibpath_var
=LD_LIBRARY_PATH
15825 freebsd
* | dragonfly
*)
15826 # DragonFly does not have aout. When/if they implement a new
15827 # versioning mechanism, adjust this.
15828 if test -x /usr
/bin
/objformat
; then
15829 objformat
=`/usr/bin/objformat`
15832 freebsd
[123]*) objformat
=aout
;;
15833 *) objformat
=elf
;;
15836 version_type
=freebsd-
$objformat
15837 case $version_type in
15839 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15844 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15848 shlibpath_var
=LD_LIBRARY_PATH
15851 shlibpath_overrides_runpath
=yes
15853 freebsd3.
[01]* | freebsdelf3.
[01]*)
15854 shlibpath_overrides_runpath
=yes
15855 hardcode_into_libs
=yes
15857 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15858 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15859 shlibpath_overrides_runpath
=no
15860 hardcode_into_libs
=yes
15862 *) # from 4.6 on, and DragonFly
15863 shlibpath_overrides_runpath
=yes
15864 hardcode_into_libs
=yes
15873 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15874 soname_spec
='${libname}${release}${shared_ext}$major'
15875 shlibpath_var
=LD_LIBRARY_PATH
15876 hardcode_into_libs
=yes
15879 hpux9
* | hpux10
* | hpux11
*)
15880 # Give a soname corresponding to the major version so that dld.sl refuses to
15881 # link against other versions.
15888 hardcode_into_libs
=yes
15889 dynamic_linker
="$host_os dld.so"
15890 shlibpath_var
=LD_LIBRARY_PATH
15891 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15892 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15893 soname_spec
='${libname}${release}${shared_ext}$major'
15894 if test "X$HPUX_IA64_MODE" = X32
; then
15895 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15897 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15899 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15903 hardcode_into_libs
=yes
15904 dynamic_linker
="$host_os dld.sl"
15905 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15906 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15907 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15908 soname_spec
='${libname}${release}${shared_ext}$major'
15909 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15910 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15914 dynamic_linker
="$host_os dld.sl"
15915 shlibpath_var
=SHLIB_PATH
15916 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15917 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15918 soname_spec
='${libname}${release}${shared_ext}$major'
15921 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15922 postinstall_cmds
='chmod 555 $lib'
15929 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15930 soname_spec
='${libname}${release}${shared_ext}$major'
15931 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15932 shlibpath_var
=LD_LIBRARY_PATH
15933 shlibpath_overrides_runpath
=no
15934 hardcode_into_libs
=yes
15937 irix5
* | irix6
* | nonstopux
*)
15939 nonstopux
*) version_type
=nonstopux
;;
15941 if test "$lt_cv_prog_gnu_ld" = yes; then
15949 soname_spec
='${libname}${release}${shared_ext}$major'
15950 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15952 irix5
* | nonstopux
*)
15953 libsuff
= shlibsuff
=
15956 case $LD in # libtool.m4 will add one of these switches to LD
15957 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15958 libsuff
= shlibsuff
= libmagic
=32-bit;;
15959 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15960 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15961 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15962 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15963 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15967 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15968 shlibpath_overrides_runpath
=no
15969 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15970 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15971 hardcode_into_libs
=yes
15974 # No shared lib support for Linux oldld, aout, or coff.
15975 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15979 # This must be Linux ELF.
15980 linux
* | k
*bsd
*-gnu)
15984 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15985 soname_spec
='${libname}${release}${shared_ext}$major'
15986 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15987 shlibpath_var
=LD_LIBRARY_PATH
15988 shlibpath_overrides_runpath
=no
15989 # This implies no fast_install, which is unacceptable.
15990 # Some rework will be needed to allow for fast_install
15991 # before this can be enabled.
15992 hardcode_into_libs
=yes
15994 # Append ld.so.conf contents to the search path
15995 if test -f /etc
/ld.so.conf
; then
15996 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;/^$/d' | tr '\n' ' '`
15997 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16000 # We used to test for /lib/ld.so.1 and disable shared libraries on
16001 # powerpc, because MkLinux only supported shared libraries with the
16002 # GNU dynamic linker. Since this was broken with cross compilers,
16003 # most powerpc-linux boxes support dynamic linking these days and
16004 # people can always --disable-shared, the test was removed, and we
16005 # assume the GNU/Linux dynamic linker is in use.
16006 dynamic_linker
='GNU/Linux ld.so'
16013 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16014 soname_spec
='${libname}${release}${shared_ext}$major'
16015 shlibpath_var
=LD_LIBRARY_PATH
16016 shlibpath_overrides_runpath
=no
16017 hardcode_into_libs
=yes
16018 dynamic_linker
='NetBSD ld.elf_so'
16025 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16026 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16027 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16028 dynamic_linker
='NetBSD (a.out) ld.so'
16030 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16031 soname_spec
='${libname}${release}${shared_ext}$major'
16032 dynamic_linker
='NetBSD ld.elf_so'
16034 shlibpath_var
=LD_LIBRARY_PATH
16035 shlibpath_overrides_runpath
=yes
16036 hardcode_into_libs
=yes
16041 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16042 shlibpath_var
=LD_LIBRARY_PATH
16043 shlibpath_overrides_runpath
=yes
16050 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16051 soname_spec
='${libname}${release}${shared_ext}$major'
16052 shlibpath_var
=LD_LIBRARY_PATH
16053 shlibpath_overrides_runpath
=yes
16058 sys_lib_dlsearch_path_spec
="/usr/lib"
16060 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16062 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16063 *) need_version
=no
;;
16065 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16066 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16067 shlibpath_var
=LD_LIBRARY_PATH
16068 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16070 openbsd2.
[89] | openbsd2.
[89].
*)
16071 shlibpath_overrides_runpath
=no
16074 shlibpath_overrides_runpath
=yes
16078 shlibpath_overrides_runpath
=yes
16083 libname_spec
='$name'
16086 library_names_spec
='$libname${shared_ext} $libname.a'
16087 dynamic_linker
='OS/2 ld.exe'
16088 shlibpath_var
=LIBPATH
16091 osf3
* | osf4
* | osf5
*)
16095 soname_spec
='${libname}${release}${shared_ext}$major'
16096 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16097 shlibpath_var
=LD_LIBRARY_PATH
16098 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16099 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16110 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16111 soname_spec
='${libname}${release}${shared_ext}$major'
16112 shlibpath_var
=LD_LIBRARY_PATH
16113 shlibpath_overrides_runpath
=yes
16114 hardcode_into_libs
=yes
16115 # ldd complains unless libraries are executable
16116 postinstall_cmds
='chmod +x $lib'
16121 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16122 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16123 shlibpath_var
=LD_LIBRARY_PATH
16124 shlibpath_overrides_runpath
=yes
16125 if test "$with_gnu_ld" = yes; then
16133 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16134 soname_spec
='${libname}${release}${shared_ext}$major'
16135 shlibpath_var
=LD_LIBRARY_PATH
16136 case $host_vendor in
16138 shlibpath_overrides_runpath
=no
16140 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16141 runpath_var
=LD_RUN_PATH
16149 shlibpath_overrides_runpath
=no
16150 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16156 if test -d /usr
/nec
;then
16158 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16159 soname_spec
='$libname${shared_ext}.$major'
16160 shlibpath_var
=LD_LIBRARY_PATH
16164 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16165 version_type
=freebsd-elf
16168 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16169 soname_spec
='${libname}${release}${shared_ext}$major'
16170 shlibpath_var
=LD_LIBRARY_PATH
16171 hardcode_into_libs
=yes
16172 if test "$with_gnu_ld" = yes; then
16173 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16174 shlibpath_overrides_runpath
=no
16176 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16177 shlibpath_overrides_runpath
=yes
16180 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16184 sys_lib_dlsearch_path_spec
='/usr/lib'
16189 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16190 soname_spec
='${libname}${release}${shared_ext}$major'
16191 shlibpath_var
=LD_LIBRARY_PATH
16198 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16199 echo "${ECHO_T}$dynamic_linker" >&6; }
16200 test "$dynamic_linker" = no
&& can_build_shared
=no
16202 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16203 echo $ECHO_N "(cached) $ECHO_C" >&6
16205 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
16208 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16209 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16210 echo $ECHO_N "(cached) $ECHO_C" >&6
16212 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
16215 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16217 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16218 if test "$GCC" = yes; then
16219 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16222 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16223 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16224 hardcode_action_F77
=
16225 if test -n "$hardcode_libdir_flag_spec_F77" || \
16226 test -n "$runpath_var_F77" || \
16227 test "X$hardcode_automatic_F77" = "Xyes" ; then
16229 # We can hardcode non-existant directories.
16230 if test "$hardcode_direct_F77" != no
&&
16231 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16232 # have to relink, otherwise we might link with an installed library
16233 # when we should be linking with a yet-to-be-installed one
16234 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16235 test "$hardcode_minus_L_F77" != no
; then
16236 # Linking always hardcodes the temporary library directory.
16237 hardcode_action_F77
=relink
16239 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16240 hardcode_action_F77
=immediate
16243 # We cannot hardcode anything, or else we can only hardcode existing
16245 hardcode_action_F77
=unsupported
16247 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16248 echo "${ECHO_T}$hardcode_action_F77" >&6; }
16250 if test "$hardcode_action_F77" = relink
; then
16251 # Fast installation is not supported
16252 enable_fast_install
=no
16253 elif test "$shlibpath_overrides_runpath" = yes ||
16254 test "$enable_shared" = no
; then
16255 # Fast installation is not necessary
16256 enable_fast_install
=needless
16260 # The else clause should only fire when bootstrapping the
16261 # libtool distribution, otherwise you forgot to ship ltmain.sh
16262 # with your package, and you will get complaints that there are
16263 # no rules to generate ltmain.sh.
16264 if test -f "$ltmain"; then
16265 # See if we are running on zsh, and set the options which allow our commands through
16266 # without removal of \ escapes.
16267 if test -n "${ZSH_VERSION+set}" ; then
16268 setopt NO_GLOB_SUBST
16270 # Now quote all the things that may contain metacharacters while being
16271 # careful not to overquote the AC_SUBSTed values. We take copies of the
16272 # variables and quote the copies for generation of the libtool script.
16273 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16275 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16276 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16277 deplibs_check_method reload_flag reload_cmds need_locks \
16278 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16279 lt_cv_sys_global_symbol_to_c_name_address \
16280 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16281 old_postinstall_cmds old_postuninstall_cmds \
16285 lt_prog_compiler_wl_F77 \
16286 lt_prog_compiler_pic_F77 \
16287 lt_prog_compiler_static_F77 \
16288 lt_prog_compiler_no_builtin_flag_F77 \
16289 export_dynamic_flag_spec_F77 \
16290 thread_safe_flag_spec_F77 \
16291 whole_archive_flag_spec_F77 \
16292 enable_shared_with_static_runtimes_F77 \
16293 old_archive_cmds_F77 \
16294 old_archive_from_new_cmds_F77 \
16295 predep_objects_F77 \
16296 postdep_objects_F77 \
16299 compiler_lib_search_path_F77 \
16300 compiler_lib_search_dirs_F77 \
16302 archive_expsym_cmds_F77 \
16303 postinstall_cmds_F77 \
16304 postuninstall_cmds_F77 \
16305 old_archive_from_expsyms_cmds_F77 \
16306 allow_undefined_flag_F77 \
16307 no_undefined_flag_F77 \
16308 export_symbols_cmds_F77 \
16309 hardcode_libdir_flag_spec_F77 \
16310 hardcode_libdir_flag_spec_ld_F77 \
16311 hardcode_libdir_separator_F77 \
16312 hardcode_automatic_F77 \
16314 module_expsym_cmds_F77 \
16315 lt_cv_prog_compiler_c_o_F77 \
16316 fix_srcfile_path_F77 \
16317 exclude_expsyms_F77 \
16318 include_expsyms_F77
; do
16321 old_archive_cmds_F77 | \
16322 old_archive_from_new_cmds_F77 | \
16323 archive_cmds_F77 | \
16324 archive_expsym_cmds_F77 | \
16325 module_cmds_F77 | \
16326 module_expsym_cmds_F77 | \
16327 old_archive_from_expsyms_cmds_F77 | \
16328 export_symbols_cmds_F77 | \
16329 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16330 postinstall_cmds | postuninstall_cmds | \
16331 old_postinstall_cmds | old_postuninstall_cmds | \
16332 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
16333 # Double-quote double-evaled strings.
16334 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16337 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16343 *'\$0 --fallback-echo"')
16344 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16350 cat <<__EOF__ >> "$cfgfile"
16351 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16353 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16355 # Shell to use when invoking shell scripts.
16358 # Whether or not to build shared libraries.
16359 build_libtool_libs=$enable_shared
16361 # Whether or not to build static libraries.
16362 build_old_libs=$enable_static
16364 # Whether or not to add -lc for building shared libraries.
16365 build_libtool_need_lc=$archive_cmds_need_lc_F77
16367 # Whether or not to disallow shared libs when runtime libs are static
16368 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16370 # Whether or not to optimize for fast installation.
16371 fast_install=$enable_fast_install
16374 host_alias=$host_alias
16378 # The build system.
16379 build_alias=$build_alias
16383 # An echo program that does not interpret backslashes.
16388 AR_FLAGS=$lt_AR_FLAGS
16393 # LTCC compiler flags.
16394 LTCFLAGS=$lt_LTCFLAGS
16396 # A language-specific compiler.
16397 CC=$lt_compiler_F77
16399 # Is the compiler the GNU C compiler?
16405 # The linker used to build libraries.
16408 # Whether we need hard or soft links.
16411 # A BSD-compatible nm program.
16414 # A symbol stripping program
16417 # Used to examine libraries when file_magic_cmd begins "file"
16418 MAGIC_CMD=$MAGIC_CMD
16420 # Used on cygwin: DLL creation program.
16423 # Used on cygwin: object dumper.
16426 # Used on cygwin: assembler.
16429 # The name of the directory that contains temporary libtool files.
16432 # How to create reloadable object files.
16433 reload_flag=$lt_reload_flag
16434 reload_cmds=$lt_reload_cmds
16436 # How to pass a linker flag through the compiler.
16437 wl=$lt_lt_prog_compiler_wl_F77
16439 # Object file suffix (normally "o").
16440 objext="$ac_objext"
16442 # Old archive suffix (normally "a").
16445 # Shared library suffix (normally ".so").
16446 shrext_cmds='$shrext_cmds'
16448 # Executable file suffix (normally "").
16451 # Additional compiler flags for building library objects.
16452 pic_flag=$lt_lt_prog_compiler_pic_F77
16455 # What is the maximum length of a command?
16456 max_cmd_len=$lt_cv_sys_max_cmd_len
16458 # Does compiler simultaneously support -c and -o options?
16459 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16461 # Must we lock files when doing compilation?
16462 need_locks=$lt_need_locks
16464 # Do we need the lib prefix for modules?
16465 need_lib_prefix=$need_lib_prefix
16467 # Do we need a version for libraries?
16468 need_version=$need_version
16470 # Whether dlopen is supported.
16471 dlopen_support=$enable_dlopen
16473 # Whether dlopen of programs is supported.
16474 dlopen_self=$enable_dlopen_self
16476 # Whether dlopen of statically linked programs is supported.
16477 dlopen_self_static=$enable_dlopen_self_static
16479 # Compiler flag to prevent dynamic linking.
16480 link_static_flag=$lt_lt_prog_compiler_static_F77
16482 # Compiler flag to turn off builtin functions.
16483 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16485 # Compiler flag to allow reflexive dlopens.
16486 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16488 # Compiler flag to generate shared objects directly from archives.
16489 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16491 # Compiler flag to generate thread-safe objects.
16492 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16494 # Library versioning type.
16495 version_type=$version_type
16497 # Format of library name prefix.
16498 libname_spec=$lt_libname_spec
16500 # List of archive names. First name is the real one, the rest are links.
16501 # The last name is the one that the linker finds with -lNAME.
16502 library_names_spec=$lt_library_names_spec
16504 # The coded name of the library, if different from the real name.
16505 soname_spec=$lt_soname_spec
16507 # Commands used to build and install an old-style archive.
16509 old_archive_cmds=$lt_old_archive_cmds_F77
16510 old_postinstall_cmds=$lt_old_postinstall_cmds
16511 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16513 # Create an old-style archive from a shared archive.
16514 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16516 # Create a temporary old-style archive to link instead of a shared archive.
16517 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16519 # Commands used to build and install a shared archive.
16520 archive_cmds=$lt_archive_cmds_F77
16521 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16522 postinstall_cmds=$lt_postinstall_cmds
16523 postuninstall_cmds=$lt_postuninstall_cmds
16525 # Commands used to build a loadable module (assumed same as above if empty)
16526 module_cmds=$lt_module_cmds_F77
16527 module_expsym_cmds=$lt_module_expsym_cmds_F77
16529 # Commands to strip libraries.
16530 old_striplib=$lt_old_striplib
16531 striplib=$lt_striplib
16533 # Dependencies to place before the objects being linked to create a
16535 predep_objects=$lt_predep_objects_F77
16537 # Dependencies to place after the objects being linked to create a
16539 postdep_objects=$lt_postdep_objects_F77
16541 # Dependencies to place before the objects being linked to create a
16543 predeps=$lt_predeps_F77
16545 # Dependencies to place after the objects being linked to create a
16547 postdeps=$lt_postdeps_F77
16549 # The directories searched by this compiler when creating a shared
16551 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
16553 # The library search path used internally by the compiler when linking
16554 # a shared library.
16555 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16557 # Method to check whether dependent libraries are shared objects.
16558 deplibs_check_method=$lt_deplibs_check_method
16560 # Command to use when deplibs_check_method == file_magic.
16561 file_magic_cmd=$lt_file_magic_cmd
16563 # Flag that allows shared libraries with undefined symbols to be built.
16564 allow_undefined_flag=$lt_allow_undefined_flag_F77
16566 # Flag that forces no undefined symbols.
16567 no_undefined_flag=$lt_no_undefined_flag_F77
16569 # Commands used to finish a libtool library installation in a directory.
16570 finish_cmds=$lt_finish_cmds
16572 # Same as above, but a single script fragment to be evaled but not shown.
16573 finish_eval=$lt_finish_eval
16575 # Take the output of nm and produce a listing of raw symbols and C names.
16576 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16578 # Transform the output of nm in a proper C declaration
16579 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16581 # Transform the output of nm in a C name address pair
16582 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16584 # This is the shared library runtime path variable.
16585 runpath_var=$runpath_var
16587 # This is the shared library path variable.
16588 shlibpath_var=$shlibpath_var
16590 # Is shlibpath searched before the hard-coded library search path?
16591 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16593 # How to hardcode a shared library path into an executable.
16594 hardcode_action=$hardcode_action_F77
16596 # Whether we should hardcode library paths into libraries.
16597 hardcode_into_libs=$hardcode_into_libs
16599 # Flag to hardcode \$libdir into a binary during linking.
16600 # This must work even if \$libdir does not exist.
16601 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16603 # If ld is used when linking, flag to hardcode \$libdir into
16604 # a binary during linking. This must work even if \$libdir does
16606 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16608 # Whether we need a single -rpath flag with a separated argument.
16609 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16611 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16612 # resulting binary.
16613 hardcode_direct=$hardcode_direct_F77
16615 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16616 # resulting binary.
16617 hardcode_minus_L=$hardcode_minus_L_F77
16619 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16620 # the resulting binary.
16621 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16623 # Set to yes if building a shared library automatically hardcodes DIR into the library
16624 # and all subsequent libraries and executables linked against it.
16625 hardcode_automatic=$hardcode_automatic_F77
16627 # Variables whose values should be saved in libtool wrapper scripts and
16628 # restored at relink time.
16629 variables_saved_for_relink="$variables_saved_for_relink"
16631 # Whether libtool must link a program against all its dependency libraries.
16632 link_all_deplibs=$link_all_deplibs_F77
16634 # Compile-time system search path for libraries
16635 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16637 # Run-time system search path for libraries
16638 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16640 # Fix the shell variable \$srcfile for the compiler.
16641 fix_srcfile_path=$lt_fix_srcfile_path
16643 # Set to yes if exported symbols are required.
16644 always_export_symbols=$always_export_symbols_F77
16646 # The commands to list exported symbols.
16647 export_symbols_cmds=$lt_export_symbols_cmds_F77
16649 # The commands to extract the exported symbol list from a shared archive.
16650 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16652 # Symbols that should not be listed in the preloaded symbols.
16653 exclude_expsyms=$lt_exclude_expsyms_F77
16655 # Symbols that must always be exported.
16656 include_expsyms=$lt_include_expsyms_F77
16658 # ### END LIBTOOL TAG CONFIG: $tagname
16664 # If there is no Makefile yet, we rely on a make rule to execute
16665 # `config.status --recheck' to rerun these tests and create the
16666 # libtool script then.
16667 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16668 if test -f "$ltmain_in"; then
16669 test -f Makefile
&& make "$ltmain"
16675 ac_cpp
='$CPP $CPPFLAGS'
16676 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16677 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16678 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16688 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16691 # Source file extension for Java test sources.
16694 # Object file extension for compiled Java test sources.
16698 # Code to be used in simple compile tests
16699 lt_simple_compile_test_code
="class foo {}"
16701 # Code to be used in simple link tests
16702 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
16704 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16706 # If no C compiler was specified, use CC.
16709 # If no C compiler flags were specified, use CFLAGS.
16710 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16712 # Allow CC to be a program name with arguments.
16716 # save warnings/boilerplate of simple test code
16717 ac_outfile
=conftest.
$ac_objext
16718 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
16719 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16720 _lt_compiler_boilerplate
=`cat conftest.err`
16723 ac_outfile
=conftest.
$ac_objext
16724 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
16725 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16726 _lt_linker_boilerplate
=`cat conftest.err`
16730 # Allow CC to be a program name with arguments.
16735 for cc_temp
in $compiler""; do
16737 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16738 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16743 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16746 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16747 archive_cmds_need_lc_GCJ
=no
16749 old_archive_cmds_GCJ
=$old_archive_cmds
16752 lt_prog_compiler_no_builtin_flag_GCJ
=
16754 if test "$GCC" = yes; then
16755 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16758 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16759 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16760 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16761 echo $ECHO_N "(cached) $ECHO_C" >&6
16763 lt_cv_prog_compiler_rtti_exceptions
=no
16764 ac_outfile
=conftest.
$ac_objext
16765 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16766 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16767 # Insert the option either (1) after the last *FLAGS variable, or
16768 # (2) before a word containing "conftest.", or (3) at the end.
16769 # Note that $ac_compile itself does not contain backslashes and begins
16770 # with a dollar sign (not a hyphen), so the echo should work correctly.
16771 # The option is referenced via a variable to avoid confusing sed.
16772 lt_compile
=`echo "$ac_compile" | $SED \
16773 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16774 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16775 -e 's:$: $lt_compiler_flag:'`
16776 (eval echo "\"\$as_me:16776: $lt_compile\"" >&5)
16777 (eval "$lt_compile" 2>conftest.err
)
16779 cat conftest.err
>&5
16780 echo "$as_me:16780: \$? = $ac_status" >&5
16781 if (exit $ac_status) && test -s "$ac_outfile"; then
16782 # The compiler can only warn and ignore the option if not recognized
16783 # So say no if there are warnings other than the usual output.
16784 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16785 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16786 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16787 lt_cv_prog_compiler_rtti_exceptions
=yes
16793 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16794 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16796 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16797 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16804 lt_prog_compiler_wl_GCJ
=
16805 lt_prog_compiler_pic_GCJ
=
16806 lt_prog_compiler_static_GCJ
=
16808 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16809 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16811 if test "$GCC" = yes; then
16812 lt_prog_compiler_wl_GCJ
='-Wl,'
16813 lt_prog_compiler_static_GCJ
='-static'
16817 # All AIX code is PIC.
16818 if test "$host_cpu" = ia64
; then
16819 # AIX 5 now supports IA64 processor
16820 lt_prog_compiler_static_GCJ
='-Bstatic'
16825 # FIXME: we need at least 68020 code to build shared libraries, but
16826 # adding the `-m68020' flag to GCC prevents building anything better,
16828 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16831 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16832 # PIC is the default for these OSes.
16835 mingw
* | cygwin
* | pw32
* | os2
*)
16836 # This hack is so that the source file can tell whether it is being
16837 # built for inclusion in a dll (and should export symbols for example).
16838 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16839 # (--disable-auto-import) libraries
16843 darwin
* | rhapsody
*)
16844 # PIC is the default on this platform
16845 # Common symbols not allowed in MH_DYLIB files
16846 lt_prog_compiler_pic_GCJ
='-fno-common'
16850 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16851 # Instead, we relocate shared libraries at runtime.
16855 # Just because we use GCC doesn't mean we suddenly get shared libraries
16856 # on systems that don't support them.
16857 lt_prog_compiler_can_build_shared_GCJ
=no
16862 if test -d /usr
/nec
; then
16863 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16868 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16869 # not for PA HP-UX.
16875 lt_prog_compiler_pic_GCJ
='-fPIC'
16881 lt_prog_compiler_pic_GCJ
='-fPIC'
16885 # PORTME Check for flag to pass linker flags through the system compiler.
16888 lt_prog_compiler_wl_GCJ
='-Wl,'
16889 if test "$host_cpu" = ia64
; then
16890 # AIX 5 now supports IA64 processor
16891 lt_prog_compiler_static_GCJ
='-Bstatic'
16893 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16897 # PIC is the default on this platform
16898 # Common symbols not allowed in MH_DYLIB files
16899 case $cc_basename in
16901 lt_prog_compiler_pic_GCJ
='-qnocommon'
16902 lt_prog_compiler_wl_GCJ
='-Wl,'
16907 mingw
* | cygwin
* | pw32
* | os2
*)
16908 # This hack is so that the source file can tell whether it is being
16909 # built for inclusion in a dll (and should export symbols for example).
16913 hpux9
* | hpux10
* | hpux11
*)
16914 lt_prog_compiler_wl_GCJ
='-Wl,'
16915 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16916 # not for PA HP-UX.
16922 lt_prog_compiler_pic_GCJ
='+Z'
16925 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16926 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16929 irix5
* | irix6
* | nonstopux
*)
16930 lt_prog_compiler_wl_GCJ
='-Wl,'
16931 # PIC (with -KPIC) is the default.
16932 lt_prog_compiler_static_GCJ
='-non_shared'
16936 lt_prog_compiler_pic_GCJ
='-KPIC'
16937 lt_prog_compiler_static_GCJ
='-Bstatic'
16940 linux
* | k
*bsd
*-gnu)
16941 case $cc_basename in
16943 lt_prog_compiler_wl_GCJ
='-Wl,'
16944 lt_prog_compiler_pic_GCJ
='-KPIC'
16945 lt_prog_compiler_static_GCJ
='-static'
16947 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16948 # Portland Group compilers (*not* the Pentium gcc compiler,
16949 # which looks to be a dead project)
16950 lt_prog_compiler_wl_GCJ
='-Wl,'
16951 lt_prog_compiler_pic_GCJ
='-fpic'
16952 lt_prog_compiler_static_GCJ
='-Bstatic'
16955 lt_prog_compiler_wl_GCJ
='-Wl,'
16956 # All Alpha code is PIC.
16957 lt_prog_compiler_static_GCJ
='-non_shared'
16960 case `$CC -V 2>&1 | sed 5q` in
16963 lt_prog_compiler_pic_GCJ
='-KPIC'
16964 lt_prog_compiler_static_GCJ
='-Bstatic'
16965 lt_prog_compiler_wl_GCJ
='-Wl,'
16968 # Sun Fortran 8.3 passes all unrecognized flags to the linker
16969 lt_prog_compiler_pic_GCJ
='-KPIC'
16970 lt_prog_compiler_static_GCJ
='-Bstatic'
16971 lt_prog_compiler_wl_GCJ
=''
16978 osf3
* | osf4
* | osf5
*)
16979 lt_prog_compiler_wl_GCJ
='-Wl,'
16980 # All OSF/1 code is PIC.
16981 lt_prog_compiler_static_GCJ
='-non_shared'
16985 lt_prog_compiler_static_GCJ
='-non_shared'
16989 lt_prog_compiler_pic_GCJ
='-KPIC'
16990 lt_prog_compiler_static_GCJ
='-Bstatic'
16991 case $cc_basename in
16992 f77
* | f90
* | f95
*)
16993 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16995 lt_prog_compiler_wl_GCJ
='-Wl,';;
17000 lt_prog_compiler_wl_GCJ
='-Qoption ld '
17001 lt_prog_compiler_pic_GCJ
='-PIC'
17002 lt_prog_compiler_static_GCJ
='-Bstatic'
17005 sysv4 | sysv4.2uw2
* | sysv4.3
*)
17006 lt_prog_compiler_wl_GCJ
='-Wl,'
17007 lt_prog_compiler_pic_GCJ
='-KPIC'
17008 lt_prog_compiler_static_GCJ
='-Bstatic'
17012 if test -d /usr
/nec
;then
17013 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
17014 lt_prog_compiler_static_GCJ
='-Bstatic'
17018 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
17019 lt_prog_compiler_wl_GCJ
='-Wl,'
17020 lt_prog_compiler_pic_GCJ
='-KPIC'
17021 lt_prog_compiler_static_GCJ
='-Bstatic'
17025 lt_prog_compiler_wl_GCJ
='-Wl,'
17026 lt_prog_compiler_can_build_shared_GCJ
=no
17030 lt_prog_compiler_pic_GCJ
='-pic'
17031 lt_prog_compiler_static_GCJ
='-Bstatic'
17035 lt_prog_compiler_can_build_shared_GCJ
=no
17040 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17041 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
17044 # Check to make sure the PIC flag actually works.
17046 if test -n "$lt_prog_compiler_pic_GCJ"; then
17048 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17049 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
17050 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
17051 echo $ECHO_N "(cached) $ECHO_C" >&6
17053 lt_cv_prog_compiler_pic_works_GCJ
=no
17054 ac_outfile
=conftest.
$ac_objext
17055 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17056 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
17057 # Insert the option either (1) after the last *FLAGS variable, or
17058 # (2) before a word containing "conftest.", or (3) at the end.
17059 # Note that $ac_compile itself does not contain backslashes and begins
17060 # with a dollar sign (not a hyphen), so the echo should work correctly.
17061 # The option is referenced via a variable to avoid confusing sed.
17062 lt_compile
=`echo "$ac_compile" | $SED \
17063 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17064 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17065 -e 's:$: $lt_compiler_flag:'`
17066 (eval echo "\"\$as_me:17066: $lt_compile\"" >&5)
17067 (eval "$lt_compile" 2>conftest.err
)
17069 cat conftest.err
>&5
17070 echo "$as_me:17070: \$? = $ac_status" >&5
17071 if (exit $ac_status) && test -s "$ac_outfile"; then
17072 # The compiler can only warn and ignore the option if not recognized
17073 # So say no if there are warnings other than the usual output.
17074 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
17075 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17076 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17077 lt_cv_prog_compiler_pic_works_GCJ
=yes
17083 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
17084 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
17086 if test x
"$lt_cv_prog_compiler_pic_works_GCJ" = xyes
; then
17087 case $lt_prog_compiler_pic_GCJ in
17089 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
17092 lt_prog_compiler_pic_GCJ
=
17093 lt_prog_compiler_can_build_shared_GCJ
=no
17098 # For platforms which do not support PIC, -DPIC is meaningless:
17100 lt_prog_compiler_pic_GCJ
=
17103 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
17108 # Check to make sure the static flag actually works.
17110 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
17111 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17112 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17113 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
17114 echo $ECHO_N "(cached) $ECHO_C" >&6
17116 lt_cv_prog_compiler_static_works_GCJ
=no
17117 save_LDFLAGS
="$LDFLAGS"
17118 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
17119 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
17120 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
17121 # The linker can only warn and ignore the option if not recognized
17122 # So say no if there are warnings
17123 if test -s conftest.err
; then
17124 # Append any errors to the config.log.
17125 cat conftest.err
1>&5
17126 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
17127 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17128 if diff conftest.exp conftest.er2
>/dev
/null
; then
17129 lt_cv_prog_compiler_static_works_GCJ
=yes
17132 lt_cv_prog_compiler_static_works_GCJ
=yes
17136 LDFLAGS
="$save_LDFLAGS"
17139 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
17140 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
17142 if test x
"$lt_cv_prog_compiler_static_works_GCJ" = xyes
; then
17145 lt_prog_compiler_static_GCJ
=
17149 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17150 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17151 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17152 echo $ECHO_N "(cached) $ECHO_C" >&6
17154 lt_cv_prog_compiler_c_o_GCJ
=no
17155 $rm -r conftest
2>/dev
/null
17159 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17161 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17162 # Insert the option either (1) after the last *FLAGS variable, or
17163 # (2) before a word containing "conftest.", or (3) at the end.
17164 # Note that $ac_compile itself does not contain backslashes and begins
17165 # with a dollar sign (not a hyphen), so the echo should work correctly.
17166 lt_compile
=`echo "$ac_compile" | $SED \
17167 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17168 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17169 -e 's:$: $lt_compiler_flag:'`
17170 (eval echo "\"\$as_me:17170: $lt_compile\"" >&5)
17171 (eval "$lt_compile" 2>out
/conftest.err
)
17173 cat out
/conftest.err
>&5
17174 echo "$as_me:17174: \$? = $ac_status" >&5
17175 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17177 # The compiler can only warn and ignore the option if not recognized
17178 # So say no if there are warnings
17179 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
17180 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17181 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17182 lt_cv_prog_compiler_c_o_GCJ
=yes
17187 # SGI C++ compiler will create directory out/ii_files/ for
17188 # template instantiation
17189 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
17190 $rm out
/* && rmdir out
17196 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17197 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17200 hard_links
="nottested"
17201 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17202 # do not overwrite the value of need_locks provided by the user
17203 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17204 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17207 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17209 ln conftest.a conftest.b
2>&5 || hard_links
=no
17210 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17211 { echo "$as_me:$LINENO: result: $hard_links" >&5
17212 echo "${ECHO_T}$hard_links" >&6; }
17213 if test "$hard_links" = no
; then
17214 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17215 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17222 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17223 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17226 allow_undefined_flag_GCJ
=
17227 enable_shared_with_static_runtimes_GCJ
=no
17229 archive_expsym_cmds_GCJ
=
17230 old_archive_From_new_cmds_GCJ
=
17231 old_archive_from_expsyms_cmds_GCJ
=
17232 export_dynamic_flag_spec_GCJ
=
17233 whole_archive_flag_spec_GCJ
=
17234 thread_safe_flag_spec_GCJ
=
17235 hardcode_libdir_flag_spec_GCJ
=
17236 hardcode_libdir_flag_spec_ld_GCJ
=
17237 hardcode_libdir_separator_GCJ
=
17238 hardcode_direct_GCJ
=no
17239 hardcode_minus_L_GCJ
=no
17240 hardcode_shlibpath_var_GCJ
=unsupported
17241 link_all_deplibs_GCJ
=unknown
17242 hardcode_automatic_GCJ
=no
17244 module_expsym_cmds_GCJ
=
17245 always_export_symbols_GCJ
=no
17246 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17247 # include_expsyms should be a list of space-separated symbols to be *always*
17248 # included in the symbol list
17249 include_expsyms_GCJ
=
17250 # exclude_expsyms can be an extended regexp of symbols to exclude
17251 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17252 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17253 # as well as any symbol that contains `d'.
17254 exclude_expsyms_GCJ
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17255 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17256 # platforms (ab)use it in PIC code, but their linkers get confused if
17257 # the symbol is explicitly referenced. Since portable code cannot
17258 # rely on this symbol name, it's probably fine to never include it in
17259 # preloaded symbol tables.
17260 # Exclude shared library initialization/finalization symbols.
17261 extract_expsyms_cmds
=
17262 # Just being paranoid about ensuring that cc_basename is set.
17263 for cc_temp
in $compiler""; do
17265 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17266 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17271 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17274 cygwin
* | mingw
* | pw32
*)
17275 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17276 # When not using gcc, we currently assume that we are using
17277 # Microsoft Visual C++.
17278 if test "$GCC" != yes; then
17283 # we just hope/assume this is gcc and not c89 (= MSVC++)
17292 if test "$with_gnu_ld" = yes; then
17293 # If archive_cmds runs LD, not CC, wlarc should be empty
17296 # Set some defaults for GNU ld with shared library support. These
17297 # are reset later if shared libraries are not supported. Putting them
17298 # here allows them to be overridden if necessary.
17299 runpath_var
=LD_RUN_PATH
17300 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
17301 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17302 # ancient GNU ld didn't support --whole-archive et. al.
17303 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
17304 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17306 whole_archive_flag_spec_GCJ
=
17308 supports_anon_versioning
=no
17309 case `$LD -v 2>/dev/null` in
17310 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17311 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17312 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17313 *\
2.11.
*) ;; # other 2.11 versions
17314 *) supports_anon_versioning
=yes ;;
17317 # See if GNU ld supports shared libraries.
17320 # On AIX/PPC, the GNU linker is very broken
17321 if test "$host_cpu" != ia64
; then
17325 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17326 *** to be unable to reliably create shared libraries on AIX.
17327 *** Therefore, libtool is disabling shared libraries support. If you
17328 *** really care for shared libraries, you may want to modify your PATH
17329 *** so that a non-GNU linker is found, and then restart.
17336 archive_cmds_GCJ
='$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)'
17337 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17338 hardcode_minus_L_GCJ
=yes
17340 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17341 # that the semantics of dynamic libraries on AmigaOS, at least up
17342 # to version 4, is to share data among multiple programs linked
17343 # with the same dynamic library. Since this doesn't match the
17344 # behavior of shared libraries on other platforms, we can't use
17350 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17351 allow_undefined_flag_GCJ
=unsupported
17352 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17353 # support --undefined. This deserves some investigation. FIXME
17354 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17360 cygwin
* | mingw
* | pw32
*)
17361 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17362 # as there is no search path for DLLs.
17363 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17364 allow_undefined_flag_GCJ
=unsupported
17365 always_export_symbols_GCJ
=no
17366 enable_shared_with_static_runtimes_GCJ
=yes
17367 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17369 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17370 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17371 # If the export-symbols file already is a .def file (1st line
17372 # is EXPORTS), use it as is; otherwise, prepend...
17373 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17374 cp $export_symbols $output_objdir/$soname.def;
17376 echo EXPORTS > $output_objdir/$soname.def;
17377 cat $export_symbols >> $output_objdir/$soname.def;
17379 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17386 hardcode_direct_GCJ
=no
17387 hardcode_shlibpath_var_GCJ
=no
17388 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17389 export_dynamic_flag_spec_GCJ
='${wl}-E'
17390 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17391 # Instead, shared libraries are loaded at an image base (0x10000000 by
17392 # default) and relocated if they conflict, which is a slow very memory
17393 # consuming and fragmenting process. To avoid this, we pick a random,
17394 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17395 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17396 archive_cmds_GCJ
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17397 archive_expsym_cmds_GCJ
='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'
17400 gnu
* | linux
* | k
*bsd
*-gnu)
17401 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17403 case $cc_basename,$host_cpu in
17404 pgcc
*) # Portland Group C compiler
17405 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17406 tmp_addflag
=' $pic_flag'
17408 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17409 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17410 tmp_addflag
=' $pic_flag -Mnomain' ;;
17411 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17412 tmp_addflag
=' -i_dynamic' ;;
17413 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17414 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17415 ifc
* | ifort
*) # Intel Fortran compiler
17416 tmp_addflag
=' -nofor_main' ;;
17418 case `$CC -V 2>&1 | sed 5q` in
17419 *Sun\ C
*) # Sun C 5.9
17420 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17421 tmp_sharedflag
='-G' ;;
17422 *Sun\ F
*) # Sun Fortran 8.3
17423 tmp_sharedflag
='-G' ;;
17425 tmp_sharedflag
='-shared' ;;
17427 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17429 if test $supports_anon_versioning = yes; then
17430 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17431 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17432 $echo "local: *; };" >> $output_objdir/$libname.ver~
17433 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17435 link_all_deplibs_GCJ
=no
17441 netbsd
* | netbsdelf
*-gnu)
17442 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17443 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17446 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17447 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17452 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17456 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17457 *** create shared libraries on Solaris systems. Therefore, libtool
17458 *** is disabling shared libraries support. We urge you to upgrade GNU
17459 *** binutils to release 2.9.1 or newer. Another option is to modify
17460 *** your PATH or compiler configuration so that the native linker is
17461 *** used, and then restart.
17464 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17465 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17466 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17472 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17473 case `$LD -v 2>&1` in
17474 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17478 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17479 *** reliably create shared libraries on SCO systems. Therefore, libtool
17480 *** is disabling shared libraries support. We urge you to upgrade GNU
17481 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17482 *** your PATH or compiler configuration so that the native linker is
17483 *** used, and then restart.
17488 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17489 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17490 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17491 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17500 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17502 hardcode_direct_GCJ
=yes
17503 hardcode_shlibpath_var_GCJ
=no
17507 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17508 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17509 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17516 if test "$ld_shlibs_GCJ" = no
; then
17518 hardcode_libdir_flag_spec_GCJ
=
17519 export_dynamic_flag_spec_GCJ
=
17520 whole_archive_flag_spec_GCJ
=
17523 # PORTME fill in a description of your system's linker (not GNU ld)
17526 allow_undefined_flag_GCJ
=unsupported
17527 always_export_symbols_GCJ
=yes
17528 archive_expsym_cmds_GCJ
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
17529 # Note: this linker hardcodes the directories in LIBPATH if there
17530 # are no directories specified by -L.
17531 hardcode_minus_L_GCJ
=yes
17532 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17533 # Neither direct hardcoding nor static linking is supported with a
17535 hardcode_direct_GCJ
=unsupported
17540 if test "$host_cpu" = ia64
; then
17541 # On IA64, the linker does run time linking by default, so we don't
17542 # have to do anything special.
17543 aix_use_runtimelinking
=no
17544 exp_sym_flag
='-Bexport'
17547 # If we're using GNU nm, then we don't want the "-C" option.
17548 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17549 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17550 export_symbols_cmds_GCJ
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17552 export_symbols_cmds_GCJ
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17554 aix_use_runtimelinking
=no
17556 # Test if we are trying to use run time linking or normal
17557 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17558 # need to do runtime linking.
17559 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
17560 for ld_flag
in $LDFLAGS; do
17561 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17562 aix_use_runtimelinking
=yes
17569 exp_sym_flag
='-bexport'
17570 no_entry_flag
='-bnoentry'
17573 # When large executables or shared objects are built, AIX ld can
17574 # have problems creating the table of contents. If linking a library
17575 # or program results in "error TOC overflow" add -mminimal-toc to
17576 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17577 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17579 archive_cmds_GCJ
=''
17580 hardcode_direct_GCJ
=yes
17581 hardcode_libdir_separator_GCJ
=':'
17582 link_all_deplibs_GCJ
=yes
17584 if test "$GCC" = yes; then
17585 case $host_os in aix4.
[012]|aix4.
[012].
*)
17586 # We only want to do this on AIX 4.2 and lower, the check
17587 # below for broken collect2 doesn't work under 4.3+
17588 collect2name
=`${CC} -print-prog-name=collect2`
17589 if test -f "$collect2name" && \
17590 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17592 # We have reworked collect2
17595 # We have old collect2
17596 hardcode_direct_GCJ
=unsupported
17597 # It fails to find uninstalled libraries when the uninstalled
17598 # path is not listed in the libpath. Setting hardcode_minus_L
17599 # to unsupported forces relinking
17600 hardcode_minus_L_GCJ
=yes
17601 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17602 hardcode_libdir_separator_GCJ
=
17606 shared_flag
='-shared'
17607 if test "$aix_use_runtimelinking" = yes; then
17608 shared_flag
="$shared_flag "'${wl}-G'
17612 if test "$host_cpu" = ia64
; then
17613 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17614 # chokes on -Wl,-G. The following line is correct:
17617 if test "$aix_use_runtimelinking" = yes; then
17618 shared_flag
='${wl}-G'
17620 shared_flag
='${wl}-bM:SRE'
17625 # It seems that -bexpall does not export symbols beginning with
17626 # underscore (_), so it is better to generate a list of symbols to export.
17627 always_export_symbols_GCJ
=yes
17628 if test "$aix_use_runtimelinking" = yes; then
17629 # Warning - without using the other runtime loading flags (-brtl),
17630 # -berok will link without error, but may produce a broken library.
17631 allow_undefined_flag_GCJ
='-berok'
17632 # Determine the default libpath from the value encoded in an empty executable.
17633 cat >conftest.
$ac_ext <<_ACEOF
17636 cat confdefs.h
>>conftest.
$ac_ext
17637 cat >>conftest.
$ac_ext <<_ACEOF
17638 /* end confdefs.h. */
17648 rm -f conftest.
$ac_objext conftest
$ac_exeext
17649 if { (ac_try
="$ac_link"
17650 case "(($ac_try" in
17651 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17652 *) ac_try_echo=$ac_try;;
17654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17655 (eval "$ac_link") 2>conftest.er1
17657 grep -v '^ *+' conftest.er1 >conftest.err
17659 cat conftest.err >&5
17660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17661 (exit $ac_status); } && {
17662 test -z "$ac_c_werror_flag" ||
17663 test ! -s conftest.err
17664 } && test -s conftest$ac_exeext &&
17665 $as_test_x conftest$ac_exeext; then
17667 lt_aix_libpath_sed='
17668 /Import File Strings/,/^$/ {
17674 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17675 # Check for a 64-bit object if we didn't find anything.
17676 if test -z "$aix_libpath"; then
17677 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17680 echo "$as_me: failed program was:" >&5
17681 sed 's/^/| /' conftest.$ac_ext >&5
17686 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17687 conftest$ac_exeext conftest.$ac_ext
17688 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17690 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17691 archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17693 if test "$host_cpu" = ia64; then
17694 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17695 allow_undefined_flag_GCJ="-z nodefs"
17696 archive_expsym_cmds_GCJ="\$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"
17698 # Determine the default libpath from the value encoded in an empty executable.
17699 cat >conftest.$ac_ext <<_ACEOF
17702 cat confdefs.h >>conftest.$ac_ext
17703 cat >>conftest.$ac_ext <<_ACEOF
17704 /* end confdefs.h. */
17714 rm -f conftest.$ac_objext conftest$ac_exeext
17715 if { (ac_try="$ac_link"
17716 case "(($ac_try" in
17717 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17718 *) ac_try_echo
=$ac_try;;
17720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17721 (eval "$ac_link") 2>conftest.er1
17723 grep -v '^ *+' conftest.er1
>conftest.err
17725 cat conftest.err
>&5
17726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17727 (exit $ac_status); } && {
17728 test -z "$ac_c_werror_flag" ||
17729 test ! -s conftest.err
17730 } && test -s conftest
$ac_exeext &&
17731 $as_test_x conftest
$ac_exeext; then
17733 lt_aix_libpath_sed
='
17734 /Import File Strings/,/^$/ {
17740 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17741 # Check for a 64-bit object if we didn't find anything.
17742 if test -z "$aix_libpath"; then
17743 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17746 echo "$as_me: failed program was:" >&5
17747 sed 's/^/| /' conftest.
$ac_ext >&5
17752 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17753 conftest
$ac_exeext conftest.
$ac_ext
17754 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17756 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17757 # Warning - without using the other run time loading flags,
17758 # -berok will link without error, but may produce a broken library.
17759 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17760 allow_undefined_flag_GCJ
=' ${wl}-berok'
17761 # Exported symbols can be pulled into shared objects from archives
17762 whole_archive_flag_spec_GCJ
='$convenience'
17763 archive_cmds_need_lc_GCJ
=yes
17764 # This is similar to how AIX traditionally builds its shared libraries.
17765 archive_expsym_cmds_GCJ
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
17771 archive_cmds_GCJ
='$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)'
17772 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17773 hardcode_minus_L_GCJ
=yes
17774 # see comment about different semantics on the GNU ld section
17779 export_dynamic_flag_spec_GCJ
=-rdynamic
17782 cygwin
* | mingw
* | pw32
*)
17783 # When not using gcc, we currently assume that we are using
17784 # Microsoft Visual C++.
17785 # hardcode_libdir_flag_spec is actually meaningless, as there is
17786 # no search path for DLLs.
17787 hardcode_libdir_flag_spec_GCJ
=' '
17788 allow_undefined_flag_GCJ
=unsupported
17789 # Tell ltmain to make .lib files, not .a files.
17791 # Tell ltmain to make .dll files, not .so files.
17793 # FIXME: Setting linknames here is a bad hack.
17794 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17795 # The linker will automatically build a .lib file if we build a DLL.
17796 old_archive_From_new_cmds_GCJ
='true'
17797 # FIXME: Should let the user specify the lib program.
17798 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
17799 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17800 enable_shared_with_static_runtimes_GCJ
=yes
17803 darwin
* | rhapsody
*)
17805 rhapsody
* | darwin1.
[012])
17806 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17809 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17810 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17812 case ${MACOSX_DEPLOYMENT_TARGET} in
17814 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17817 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17823 archive_cmds_need_lc_GCJ
=no
17824 hardcode_direct_GCJ
=no
17825 hardcode_automatic_GCJ
=yes
17826 hardcode_shlibpath_var_GCJ
=unsupported
17827 whole_archive_flag_spec_GCJ
=''
17828 link_all_deplibs_GCJ
=yes
17829 if test "$GCC" = yes ; then
17830 output_verbose_link_cmd
='echo'
17831 archive_cmds_GCJ
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
17832 module_cmds_GCJ
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
17833 archive_expsym_cmds_GCJ
="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}"
17834 module_expsym_cmds_GCJ
="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}"
17836 case $cc_basename in
17838 output_verbose_link_cmd
='echo'
17839 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17840 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17841 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17842 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17843 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17853 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17854 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17855 hardcode_shlibpath_var_GCJ
=no
17862 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17863 # support. Future versions do this automatically, but an explicit c++rt0.o
17864 # does not break anything, and helps significantly (at the cost of a little
17867 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17868 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17869 hardcode_direct_GCJ
=yes
17870 hardcode_shlibpath_var_GCJ
=no
17873 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17875 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17876 hardcode_direct_GCJ
=yes
17877 hardcode_minus_L_GCJ
=yes
17878 hardcode_shlibpath_var_GCJ
=no
17881 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17882 freebsd
* | dragonfly
*)
17883 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17884 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17885 hardcode_direct_GCJ
=yes
17886 hardcode_shlibpath_var_GCJ
=no
17890 if test "$GCC" = yes; then
17891 archive_cmds_GCJ
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17893 archive_cmds_GCJ
='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17895 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17896 hardcode_libdir_separator_GCJ
=:
17897 hardcode_direct_GCJ
=yes
17899 # hardcode_minus_L: Not really in the search PATH,
17900 # but as the default location of the library.
17901 hardcode_minus_L_GCJ
=yes
17902 export_dynamic_flag_spec_GCJ
='${wl}-E'
17906 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17907 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17909 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17911 if test "$with_gnu_ld" = no
; then
17912 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17913 hardcode_libdir_separator_GCJ
=:
17915 hardcode_direct_GCJ
=yes
17916 export_dynamic_flag_spec_GCJ
='${wl}-E'
17918 # hardcode_minus_L: Not really in the search PATH,
17919 # but as the default location of the library.
17920 hardcode_minus_L_GCJ
=yes
17925 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17928 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17931 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17934 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17940 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17943 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17946 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17950 if test "$with_gnu_ld" = no
; then
17951 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17952 hardcode_libdir_separator_GCJ
=:
17956 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17957 hardcode_direct_GCJ
=no
17958 hardcode_shlibpath_var_GCJ
=no
17961 hardcode_direct_GCJ
=yes
17962 export_dynamic_flag_spec_GCJ
='${wl}-E'
17964 # hardcode_minus_L: Not really in the search PATH,
17965 # but as the default location of the library.
17966 hardcode_minus_L_GCJ
=yes
17972 irix5
* | irix6
* | nonstopux
*)
17973 if test "$GCC" = yes; then
17974 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17976 archive_cmds_GCJ
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17977 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17979 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17980 hardcode_libdir_separator_GCJ
=:
17981 link_all_deplibs_GCJ
=yes
17984 netbsd
* | netbsdelf
*-gnu)
17985 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17986 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17988 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17990 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17991 hardcode_direct_GCJ
=yes
17992 hardcode_shlibpath_var_GCJ
=no
17996 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17997 hardcode_direct_GCJ
=yes
17998 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17999 hardcode_libdir_separator_GCJ
=:
18000 hardcode_shlibpath_var_GCJ
=no
18004 if test -f /usr
/libexec
/ld.so
; then
18005 hardcode_direct_GCJ
=yes
18006 hardcode_shlibpath_var_GCJ
=no
18007 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18008 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18009 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18010 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18011 export_dynamic_flag_spec_GCJ
='${wl}-E'
18014 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
18015 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18016 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18019 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18020 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18030 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18031 hardcode_minus_L_GCJ
=yes
18032 allow_undefined_flag_GCJ
=unsupported
18033 archive_cmds_GCJ
='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
18034 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18038 if test "$GCC" = yes; then
18039 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18040 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18042 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18043 archive_cmds_GCJ
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18045 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18046 hardcode_libdir_separator_GCJ
=:
18049 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
18050 if test "$GCC" = yes; then
18051 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18052 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18053 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18055 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18056 archive_cmds_GCJ
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18057 archive_expsym_cmds_GCJ
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
18058 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
18060 # Both c and cxx compiler support -rpath directly
18061 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
18063 hardcode_libdir_separator_GCJ
=:
18067 no_undefined_flag_GCJ
=' -z text'
18068 if test "$GCC" = yes; then
18070 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18071 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18072 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18075 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18076 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18077 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18079 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18080 hardcode_shlibpath_var_GCJ
=no
18082 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18084 # The compiler driver will combine and reorder linker options,
18085 # but understands `-z linker_flag'. GCC discards it without `$wl',
18086 # but is careful enough not to reorder.
18087 # Supported since Solaris 2.6 (maybe 2.5.1?)
18088 if test "$GCC" = yes; then
18089 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18091 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
18095 link_all_deplibs_GCJ
=yes
18099 if test "x$host_vendor" = xsequent
; then
18100 # Use $CC to link under sequent, because it throws in some extra .o
18101 # files that make .init and .fini sections work.
18102 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18104 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18106 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18107 hardcode_direct_GCJ
=yes
18108 hardcode_minus_L_GCJ
=yes
18109 hardcode_shlibpath_var_GCJ
=no
18113 case $host_vendor in
18115 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18116 hardcode_direct_GCJ
=yes # is this really true???
18119 ## LD is ld it makes a PLAMLIB
18120 ## CC just makes a GrossModule.
18121 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18122 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
18123 hardcode_direct_GCJ
=no
18126 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18127 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
18130 runpath_var
='LD_RUN_PATH'
18131 hardcode_shlibpath_var_GCJ
=no
18135 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18136 hardcode_shlibpath_var_GCJ
=no
18137 export_dynamic_flag_spec_GCJ
='-Bexport'
18141 if test -d /usr
/nec
; then
18142 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18143 hardcode_shlibpath_var_GCJ
=no
18144 runpath_var
=LD_RUN_PATH
18145 hardcode_runpath_var
=yes
18150 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
18151 no_undefined_flag_GCJ
='${wl}-z,text'
18152 archive_cmds_need_lc_GCJ
=no
18153 hardcode_shlibpath_var_GCJ
=no
18154 runpath_var
='LD_RUN_PATH'
18156 if test "$GCC" = yes; then
18157 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18158 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18160 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18161 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18165 sysv5
* | sco3.2v5
* | sco5v6
*)
18166 # Note: We can NOT use -z defs as we might desire, because we do not
18167 # link with -lc, and that would cause any symbols used from libc to
18168 # always be unresolved, which means just about no library would
18169 # ever link correctly. If we're not using GNU ld we use -z text
18170 # though, which does catch some bad symbols but isn't as heavy-handed
18172 no_undefined_flag_GCJ
='${wl}-z,text'
18173 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
18174 archive_cmds_need_lc_GCJ
=no
18175 hardcode_shlibpath_var_GCJ
=no
18176 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18177 hardcode_libdir_separator_GCJ
=':'
18178 link_all_deplibs_GCJ
=yes
18179 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
18180 runpath_var
='LD_RUN_PATH'
18182 if test "$GCC" = yes; then
18183 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18184 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18186 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18187 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18192 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18193 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18194 hardcode_shlibpath_var_GCJ
=no
18203 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18204 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18205 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18208 # Do we need to explicitly link libc?
18210 case "x$archive_cmds_need_lc_GCJ" in
18212 # Assume -lc should be added
18213 archive_cmds_need_lc_GCJ
=yes
18215 if test "$enable_shared" = yes && test "$GCC" = yes; then
18216 case $archive_cmds_GCJ in
18218 # FIXME: we may have to deal with multi-command sequences.
18221 # Test whether the compiler implicitly links with -lc since on some
18222 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18223 # to ld, don't add -lc before -lgcc.
18224 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18225 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18227 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18230 (eval $ac_compile) 2>&5
18232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18233 (exit $ac_status); } 2>conftest.err
; then
18236 libobjs
=conftest.
$ac_objext
18238 wl
=$lt_prog_compiler_wl_GCJ
18239 pic_flag
=$lt_prog_compiler_pic_GCJ
18245 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18246 allow_undefined_flag_GCJ
=
18247 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18248 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18251 (exit $ac_status); }
18253 archive_cmds_need_lc_GCJ
=no
18255 archive_cmds_need_lc_GCJ
=yes
18257 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18259 cat conftest.err
1>&5
18262 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18263 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18270 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18271 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18272 library_names_spec
=
18273 libname_spec
='lib$name'
18277 postuninstall_cmds
=
18281 shlibpath_overrides_runpath
=unknown
18283 dynamic_linker
="$host_os ld.so"
18284 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18286 need_lib_prefix
=unknown
18287 hardcode_into_libs
=no
18289 # when you set need_version to no, make sure it does not cause -set_version
18290 # flags to be left without arguments
18291 need_version
=unknown
18296 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
18297 shlibpath_var
=LIBPATH
18299 # AIX 3 has no versioning support, so we append a major version to the name.
18300 soname_spec
='${libname}${release}${shared_ext}$major'
18307 hardcode_into_libs
=yes
18308 if test "$host_cpu" = ia64
; then
18309 # AIX 5 supports IA64
18310 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18311 shlibpath_var
=LD_LIBRARY_PATH
18313 # With GCC up to 2.95.x, collect2 would create an import file
18314 # for dependence libraries. The import file would start with
18315 # the line `#! .'. This would cause the generated library to
18316 # depend on `.', always an invalid library. This was fixed in
18317 # development snapshots of GCC prior to 3.0.
18319 aix4 | aix4.
[01] | aix4.
[01].
*)
18320 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18322 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
18325 can_build_shared
=no
18329 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18330 # soname into executable. Probably we can add versioning support to
18331 # collect2, so additional links can be useful in future.
18332 if test "$aix_use_runtimelinking" = yes; then
18333 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18334 # instead of lib<name>.a to let people know that these are not
18335 # typical AIX shared libraries.
18336 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18338 # We preserve .a as extension for shared libraries through AIX4.2
18339 # and later when we are not doing run time linking.
18340 library_names_spec
='${libname}${release}.a $libname.a'
18341 soname_spec
='${libname}${release}${shared_ext}$major'
18343 shlibpath_var
=LIBPATH
18348 library_names_spec
='$libname.ixlibrary $libname.a'
18349 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18350 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
18354 library_names_spec
='${libname}${shared_ext}'
18355 dynamic_linker
="$host_os ld.so"
18356 shlibpath_var
=LIBRARY_PATH
18362 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18363 soname_spec
='${libname}${release}${shared_ext}$major'
18364 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18365 shlibpath_var
=LD_LIBRARY_PATH
18366 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18367 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18368 # the default ld.so.conf also contains /usr/contrib/lib and
18369 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18370 # libtool to hard-code these into programs
18373 cygwin
* | mingw
* | pw32
*)
18374 version_type
=windows
18379 case $GCC,$host_os in
18380 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18381 library_names_spec
='$libname.dll.a'
18382 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18383 postinstall_cmds
='base_file=`basename \${file}`~
18384 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18385 dldir=$destdir/`dirname \$dlpath`~
18386 test -d \$dldir || mkdir -p \$dldir~
18387 $install_prog $dir/$dlname \$dldir/$dlname~
18388 chmod a+x \$dldir/$dlname'
18389 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18390 dlpath=$dir/\$dldll~
18392 shlibpath_overrides_runpath
=yes
18396 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18397 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18398 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18401 # MinGW DLLs use traditional 'lib' prefix
18402 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18403 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18404 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18405 # It is most probably a Windows format PATH printed by
18406 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18407 # path with ; separators, and with drive letters. We can handle the
18408 # drive letters (cygwin fileutils understands them), so leave them,
18409 # especially as we might pass files found there to a mingw objdump,
18410 # which wouldn't understand a cygwinified path. Ahh.
18411 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18413 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18417 # pw32 DLLs use 'pw' prefix rather than 'lib'
18418 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18424 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18427 dynamic_linker
='Win32 ld.exe'
18428 # FIXME: first we should search . and the directory the executable is in
18432 darwin
* | rhapsody
*)
18433 dynamic_linker
="$host_os dyld"
18434 version_type
=darwin
18437 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18438 soname_spec
='${libname}${release}${major}$shared_ext'
18439 shlibpath_overrides_runpath
=yes
18440 shlibpath_var
=DYLD_LIBRARY_PATH
18441 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18443 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18450 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18451 soname_spec
='${libname}${release}${shared_ext}$major'
18452 shlibpath_var
=LD_LIBRARY_PATH
18459 freebsd
* | dragonfly
*)
18460 # DragonFly does not have aout. When/if they implement a new
18461 # versioning mechanism, adjust this.
18462 if test -x /usr
/bin
/objformat
; then
18463 objformat
=`/usr/bin/objformat`
18466 freebsd
[123]*) objformat
=aout
;;
18467 *) objformat
=elf
;;
18470 version_type
=freebsd-
$objformat
18471 case $version_type in
18473 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18478 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18482 shlibpath_var
=LD_LIBRARY_PATH
18485 shlibpath_overrides_runpath
=yes
18487 freebsd3.
[01]* | freebsdelf3.
[01]*)
18488 shlibpath_overrides_runpath
=yes
18489 hardcode_into_libs
=yes
18491 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18492 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18493 shlibpath_overrides_runpath
=no
18494 hardcode_into_libs
=yes
18496 *) # from 4.6 on, and DragonFly
18497 shlibpath_overrides_runpath
=yes
18498 hardcode_into_libs
=yes
18507 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18508 soname_spec
='${libname}${release}${shared_ext}$major'
18509 shlibpath_var
=LD_LIBRARY_PATH
18510 hardcode_into_libs
=yes
18513 hpux9
* | hpux10
* | hpux11
*)
18514 # Give a soname corresponding to the major version so that dld.sl refuses to
18515 # link against other versions.
18522 hardcode_into_libs
=yes
18523 dynamic_linker
="$host_os dld.so"
18524 shlibpath_var
=LD_LIBRARY_PATH
18525 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18526 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18527 soname_spec
='${libname}${release}${shared_ext}$major'
18528 if test "X$HPUX_IA64_MODE" = X32
; then
18529 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18531 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18533 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18537 hardcode_into_libs
=yes
18538 dynamic_linker
="$host_os dld.sl"
18539 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18540 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18541 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18542 soname_spec
='${libname}${release}${shared_ext}$major'
18543 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18544 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18548 dynamic_linker
="$host_os dld.sl"
18549 shlibpath_var
=SHLIB_PATH
18550 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18551 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18552 soname_spec
='${libname}${release}${shared_ext}$major'
18555 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18556 postinstall_cmds
='chmod 555 $lib'
18563 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18564 soname_spec
='${libname}${release}${shared_ext}$major'
18565 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18566 shlibpath_var
=LD_LIBRARY_PATH
18567 shlibpath_overrides_runpath
=no
18568 hardcode_into_libs
=yes
18571 irix5
* | irix6
* | nonstopux
*)
18573 nonstopux
*) version_type
=nonstopux
;;
18575 if test "$lt_cv_prog_gnu_ld" = yes; then
18583 soname_spec
='${libname}${release}${shared_ext}$major'
18584 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18586 irix5
* | nonstopux
*)
18587 libsuff
= shlibsuff
=
18590 case $LD in # libtool.m4 will add one of these switches to LD
18591 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18592 libsuff
= shlibsuff
= libmagic
=32-bit;;
18593 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18594 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18595 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18596 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18597 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18601 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18602 shlibpath_overrides_runpath
=no
18603 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18604 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18605 hardcode_into_libs
=yes
18608 # No shared lib support for Linux oldld, aout, or coff.
18609 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18613 # This must be Linux ELF.
18614 linux
* | k
*bsd
*-gnu)
18618 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18619 soname_spec
='${libname}${release}${shared_ext}$major'
18620 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18621 shlibpath_var
=LD_LIBRARY_PATH
18622 shlibpath_overrides_runpath
=no
18623 # This implies no fast_install, which is unacceptable.
18624 # Some rework will be needed to allow for fast_install
18625 # before this can be enabled.
18626 hardcode_into_libs
=yes
18628 # Append ld.so.conf contents to the search path
18629 if test -f /etc
/ld.so.conf
; then
18630 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;/^$/d' | tr '\n' ' '`
18631 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
18634 # We used to test for /lib/ld.so.1 and disable shared libraries on
18635 # powerpc, because MkLinux only supported shared libraries with the
18636 # GNU dynamic linker. Since this was broken with cross compilers,
18637 # most powerpc-linux boxes support dynamic linking these days and
18638 # people can always --disable-shared, the test was removed, and we
18639 # assume the GNU/Linux dynamic linker is in use.
18640 dynamic_linker
='GNU/Linux ld.so'
18647 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18648 soname_spec
='${libname}${release}${shared_ext}$major'
18649 shlibpath_var
=LD_LIBRARY_PATH
18650 shlibpath_overrides_runpath
=no
18651 hardcode_into_libs
=yes
18652 dynamic_linker
='NetBSD ld.elf_so'
18659 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18660 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18661 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18662 dynamic_linker
='NetBSD (a.out) ld.so'
18664 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18665 soname_spec
='${libname}${release}${shared_ext}$major'
18666 dynamic_linker
='NetBSD ld.elf_so'
18668 shlibpath_var
=LD_LIBRARY_PATH
18669 shlibpath_overrides_runpath
=yes
18670 hardcode_into_libs
=yes
18675 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18676 shlibpath_var
=LD_LIBRARY_PATH
18677 shlibpath_overrides_runpath
=yes
18684 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18685 soname_spec
='${libname}${release}${shared_ext}$major'
18686 shlibpath_var
=LD_LIBRARY_PATH
18687 shlibpath_overrides_runpath
=yes
18692 sys_lib_dlsearch_path_spec
="/usr/lib"
18694 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18696 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18697 *) need_version
=no
;;
18699 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18700 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18701 shlibpath_var
=LD_LIBRARY_PATH
18702 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18704 openbsd2.
[89] | openbsd2.
[89].
*)
18705 shlibpath_overrides_runpath
=no
18708 shlibpath_overrides_runpath
=yes
18712 shlibpath_overrides_runpath
=yes
18717 libname_spec
='$name'
18720 library_names_spec
='$libname${shared_ext} $libname.a'
18721 dynamic_linker
='OS/2 ld.exe'
18722 shlibpath_var
=LIBPATH
18725 osf3
* | osf4
* | osf5
*)
18729 soname_spec
='${libname}${release}${shared_ext}$major'
18730 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18731 shlibpath_var
=LD_LIBRARY_PATH
18732 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18733 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18744 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18745 soname_spec
='${libname}${release}${shared_ext}$major'
18746 shlibpath_var
=LD_LIBRARY_PATH
18747 shlibpath_overrides_runpath
=yes
18748 hardcode_into_libs
=yes
18749 # ldd complains unless libraries are executable
18750 postinstall_cmds
='chmod +x $lib'
18755 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18756 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18757 shlibpath_var
=LD_LIBRARY_PATH
18758 shlibpath_overrides_runpath
=yes
18759 if test "$with_gnu_ld" = yes; then
18767 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18768 soname_spec
='${libname}${release}${shared_ext}$major'
18769 shlibpath_var
=LD_LIBRARY_PATH
18770 case $host_vendor in
18772 shlibpath_overrides_runpath
=no
18774 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18775 runpath_var
=LD_RUN_PATH
18783 shlibpath_overrides_runpath
=no
18784 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18790 if test -d /usr
/nec
;then
18792 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18793 soname_spec
='$libname${shared_ext}.$major'
18794 shlibpath_var
=LD_LIBRARY_PATH
18798 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18799 version_type
=freebsd-elf
18802 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18803 soname_spec
='${libname}${release}${shared_ext}$major'
18804 shlibpath_var
=LD_LIBRARY_PATH
18805 hardcode_into_libs
=yes
18806 if test "$with_gnu_ld" = yes; then
18807 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18808 shlibpath_overrides_runpath
=no
18810 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18811 shlibpath_overrides_runpath
=yes
18814 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18818 sys_lib_dlsearch_path_spec
='/usr/lib'
18823 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18824 soname_spec
='${libname}${release}${shared_ext}$major'
18825 shlibpath_var
=LD_LIBRARY_PATH
18832 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18833 echo "${ECHO_T}$dynamic_linker" >&6; }
18834 test "$dynamic_linker" = no
&& can_build_shared
=no
18836 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
18837 echo $ECHO_N "(cached) $ECHO_C" >&6
18839 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
18842 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
18843 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
18844 echo $ECHO_N "(cached) $ECHO_C" >&6
18846 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
18849 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
18851 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18852 if test "$GCC" = yes; then
18853 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18856 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18857 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18858 hardcode_action_GCJ
=
18859 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18860 test -n "$runpath_var_GCJ" || \
18861 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18863 # We can hardcode non-existant directories.
18864 if test "$hardcode_direct_GCJ" != no
&&
18865 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18866 # have to relink, otherwise we might link with an installed library
18867 # when we should be linking with a yet-to-be-installed one
18868 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18869 test "$hardcode_minus_L_GCJ" != no
; then
18870 # Linking always hardcodes the temporary library directory.
18871 hardcode_action_GCJ
=relink
18873 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18874 hardcode_action_GCJ
=immediate
18877 # We cannot hardcode anything, or else we can only hardcode existing
18879 hardcode_action_GCJ
=unsupported
18881 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18882 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18884 if test "$hardcode_action_GCJ" = relink
; then
18885 # Fast installation is not supported
18886 enable_fast_install
=no
18887 elif test "$shlibpath_overrides_runpath" = yes ||
18888 test "$enable_shared" = no
; then
18889 # Fast installation is not necessary
18890 enable_fast_install
=needless
18894 # The else clause should only fire when bootstrapping the
18895 # libtool distribution, otherwise you forgot to ship ltmain.sh
18896 # with your package, and you will get complaints that there are
18897 # no rules to generate ltmain.sh.
18898 if test -f "$ltmain"; then
18899 # See if we are running on zsh, and set the options which allow our commands through
18900 # without removal of \ escapes.
18901 if test -n "${ZSH_VERSION+set}" ; then
18902 setopt NO_GLOB_SUBST
18904 # Now quote all the things that may contain metacharacters while being
18905 # careful not to overquote the AC_SUBSTed values. We take copies of the
18906 # variables and quote the copies for generation of the libtool script.
18907 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18909 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18910 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18911 deplibs_check_method reload_flag reload_cmds need_locks \
18912 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18913 lt_cv_sys_global_symbol_to_c_name_address \
18914 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18915 old_postinstall_cmds old_postuninstall_cmds \
18919 lt_prog_compiler_wl_GCJ \
18920 lt_prog_compiler_pic_GCJ \
18921 lt_prog_compiler_static_GCJ \
18922 lt_prog_compiler_no_builtin_flag_GCJ \
18923 export_dynamic_flag_spec_GCJ \
18924 thread_safe_flag_spec_GCJ \
18925 whole_archive_flag_spec_GCJ \
18926 enable_shared_with_static_runtimes_GCJ \
18927 old_archive_cmds_GCJ \
18928 old_archive_from_new_cmds_GCJ \
18929 predep_objects_GCJ \
18930 postdep_objects_GCJ \
18933 compiler_lib_search_path_GCJ \
18934 compiler_lib_search_dirs_GCJ \
18936 archive_expsym_cmds_GCJ \
18937 postinstall_cmds_GCJ \
18938 postuninstall_cmds_GCJ \
18939 old_archive_from_expsyms_cmds_GCJ \
18940 allow_undefined_flag_GCJ \
18941 no_undefined_flag_GCJ \
18942 export_symbols_cmds_GCJ \
18943 hardcode_libdir_flag_spec_GCJ \
18944 hardcode_libdir_flag_spec_ld_GCJ \
18945 hardcode_libdir_separator_GCJ \
18946 hardcode_automatic_GCJ \
18948 module_expsym_cmds_GCJ \
18949 lt_cv_prog_compiler_c_o_GCJ \
18950 fix_srcfile_path_GCJ \
18951 exclude_expsyms_GCJ \
18952 include_expsyms_GCJ
; do
18955 old_archive_cmds_GCJ | \
18956 old_archive_from_new_cmds_GCJ | \
18957 archive_cmds_GCJ | \
18958 archive_expsym_cmds_GCJ | \
18959 module_cmds_GCJ | \
18960 module_expsym_cmds_GCJ | \
18961 old_archive_from_expsyms_cmds_GCJ | \
18962 export_symbols_cmds_GCJ | \
18963 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18964 postinstall_cmds | postuninstall_cmds | \
18965 old_postinstall_cmds | old_postuninstall_cmds | \
18966 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18967 # Double-quote double-evaled strings.
18968 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18971 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18977 *'\$0 --fallback-echo"')
18978 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18984 cat <<__EOF__ >> "$cfgfile"
18985 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18987 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18989 # Shell to use when invoking shell scripts.
18992 # Whether or not to build shared libraries.
18993 build_libtool_libs=$enable_shared
18995 # Whether or not to build static libraries.
18996 build_old_libs=$enable_static
18998 # Whether or not to add -lc for building shared libraries.
18999 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19001 # Whether or not to disallow shared libs when runtime libs are static
19002 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19004 # Whether or not to optimize for fast installation.
19005 fast_install=$enable_fast_install
19008 host_alias=$host_alias
19012 # The build system.
19013 build_alias=$build_alias
19017 # An echo program that does not interpret backslashes.
19022 AR_FLAGS=$lt_AR_FLAGS
19027 # LTCC compiler flags.
19028 LTCFLAGS=$lt_LTCFLAGS
19030 # A language-specific compiler.
19031 CC=$lt_compiler_GCJ
19033 # Is the compiler the GNU C compiler?
19039 # The linker used to build libraries.
19042 # Whether we need hard or soft links.
19045 # A BSD-compatible nm program.
19048 # A symbol stripping program
19051 # Used to examine libraries when file_magic_cmd begins "file"
19052 MAGIC_CMD=$MAGIC_CMD
19054 # Used on cygwin: DLL creation program.
19057 # Used on cygwin: object dumper.
19060 # Used on cygwin: assembler.
19063 # The name of the directory that contains temporary libtool files.
19066 # How to create reloadable object files.
19067 reload_flag=$lt_reload_flag
19068 reload_cmds=$lt_reload_cmds
19070 # How to pass a linker flag through the compiler.
19071 wl=$lt_lt_prog_compiler_wl_GCJ
19073 # Object file suffix (normally "o").
19074 objext="$ac_objext"
19076 # Old archive suffix (normally "a").
19079 # Shared library suffix (normally ".so").
19080 shrext_cmds='$shrext_cmds'
19082 # Executable file suffix (normally "").
19085 # Additional compiler flags for building library objects.
19086 pic_flag=$lt_lt_prog_compiler_pic_GCJ
19089 # What is the maximum length of a command?
19090 max_cmd_len=$lt_cv_sys_max_cmd_len
19092 # Does compiler simultaneously support -c and -o options?
19093 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19095 # Must we lock files when doing compilation?
19096 need_locks=$lt_need_locks
19098 # Do we need the lib prefix for modules?
19099 need_lib_prefix=$need_lib_prefix
19101 # Do we need a version for libraries?
19102 need_version=$need_version
19104 # Whether dlopen is supported.
19105 dlopen_support=$enable_dlopen
19107 # Whether dlopen of programs is supported.
19108 dlopen_self=$enable_dlopen_self
19110 # Whether dlopen of statically linked programs is supported.
19111 dlopen_self_static=$enable_dlopen_self_static
19113 # Compiler flag to prevent dynamic linking.
19114 link_static_flag=$lt_lt_prog_compiler_static_GCJ
19116 # Compiler flag to turn off builtin functions.
19117 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19119 # Compiler flag to allow reflexive dlopens.
19120 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19122 # Compiler flag to generate shared objects directly from archives.
19123 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19125 # Compiler flag to generate thread-safe objects.
19126 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19128 # Library versioning type.
19129 version_type=$version_type
19131 # Format of library name prefix.
19132 libname_spec=$lt_libname_spec
19134 # List of archive names. First name is the real one, the rest are links.
19135 # The last name is the one that the linker finds with -lNAME.
19136 library_names_spec=$lt_library_names_spec
19138 # The coded name of the library, if different from the real name.
19139 soname_spec=$lt_soname_spec
19141 # Commands used to build and install an old-style archive.
19143 old_archive_cmds=$lt_old_archive_cmds_GCJ
19144 old_postinstall_cmds=$lt_old_postinstall_cmds
19145 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19147 # Create an old-style archive from a shared archive.
19148 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19150 # Create a temporary old-style archive to link instead of a shared archive.
19151 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19153 # Commands used to build and install a shared archive.
19154 archive_cmds=$lt_archive_cmds_GCJ
19155 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19156 postinstall_cmds=$lt_postinstall_cmds
19157 postuninstall_cmds=$lt_postuninstall_cmds
19159 # Commands used to build a loadable module (assumed same as above if empty)
19160 module_cmds=$lt_module_cmds_GCJ
19161 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19163 # Commands to strip libraries.
19164 old_striplib=$lt_old_striplib
19165 striplib=$lt_striplib
19167 # Dependencies to place before the objects being linked to create a
19169 predep_objects=$lt_predep_objects_GCJ
19171 # Dependencies to place after the objects being linked to create a
19173 postdep_objects=$lt_postdep_objects_GCJ
19175 # Dependencies to place before the objects being linked to create a
19177 predeps=$lt_predeps_GCJ
19179 # Dependencies to place after the objects being linked to create a
19181 postdeps=$lt_postdeps_GCJ
19183 # The directories searched by this compiler when creating a shared
19185 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
19187 # The library search path used internally by the compiler when linking
19188 # a shared library.
19189 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19191 # Method to check whether dependent libraries are shared objects.
19192 deplibs_check_method=$lt_deplibs_check_method
19194 # Command to use when deplibs_check_method == file_magic.
19195 file_magic_cmd=$lt_file_magic_cmd
19197 # Flag that allows shared libraries with undefined symbols to be built.
19198 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19200 # Flag that forces no undefined symbols.
19201 no_undefined_flag=$lt_no_undefined_flag_GCJ
19203 # Commands used to finish a libtool library installation in a directory.
19204 finish_cmds=$lt_finish_cmds
19206 # Same as above, but a single script fragment to be evaled but not shown.
19207 finish_eval=$lt_finish_eval
19209 # Take the output of nm and produce a listing of raw symbols and C names.
19210 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19212 # Transform the output of nm in a proper C declaration
19213 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19215 # Transform the output of nm in a C name address pair
19216 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19218 # This is the shared library runtime path variable.
19219 runpath_var=$runpath_var
19221 # This is the shared library path variable.
19222 shlibpath_var=$shlibpath_var
19224 # Is shlibpath searched before the hard-coded library search path?
19225 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19227 # How to hardcode a shared library path into an executable.
19228 hardcode_action=$hardcode_action_GCJ
19230 # Whether we should hardcode library paths into libraries.
19231 hardcode_into_libs=$hardcode_into_libs
19233 # Flag to hardcode \$libdir into a binary during linking.
19234 # This must work even if \$libdir does not exist.
19235 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19237 # If ld is used when linking, flag to hardcode \$libdir into
19238 # a binary during linking. This must work even if \$libdir does
19240 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19242 # Whether we need a single -rpath flag with a separated argument.
19243 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19245 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19246 # resulting binary.
19247 hardcode_direct=$hardcode_direct_GCJ
19249 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19250 # resulting binary.
19251 hardcode_minus_L=$hardcode_minus_L_GCJ
19253 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19254 # the resulting binary.
19255 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19257 # Set to yes if building a shared library automatically hardcodes DIR into the library
19258 # and all subsequent libraries and executables linked against it.
19259 hardcode_automatic=$hardcode_automatic_GCJ
19261 # Variables whose values should be saved in libtool wrapper scripts and
19262 # restored at relink time.
19263 variables_saved_for_relink="$variables_saved_for_relink"
19265 # Whether libtool must link a program against all its dependency libraries.
19266 link_all_deplibs=$link_all_deplibs_GCJ
19268 # Compile-time system search path for libraries
19269 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19271 # Run-time system search path for libraries
19272 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19274 # Fix the shell variable \$srcfile for the compiler.
19275 fix_srcfile_path=$lt_fix_srcfile_path
19277 # Set to yes if exported symbols are required.
19278 always_export_symbols=$always_export_symbols_GCJ
19280 # The commands to list exported symbols.
19281 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19283 # The commands to extract the exported symbol list from a shared archive.
19284 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19286 # Symbols that should not be listed in the preloaded symbols.
19287 exclude_expsyms=$lt_exclude_expsyms_GCJ
19289 # Symbols that must always be exported.
19290 include_expsyms=$lt_include_expsyms_GCJ
19292 # ### END LIBTOOL TAG CONFIG: $tagname
19298 # If there is no Makefile yet, we rely on a make rule to execute
19299 # `config.status --recheck' to rerun these tests and create the
19300 # libtool script then.
19301 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19302 if test -f "$ltmain_in"; then
19303 test -f Makefile
&& make "$ltmain"
19309 ac_cpp
='$CPP $CPPFLAGS'
19310 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19311 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19312 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19324 # Source file extension for RC test sources.
19327 # Object file extension for compiled RC test sources.
19331 # Code to be used in simple compile tests
19332 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19334 # Code to be used in simple link tests
19335 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19337 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19339 # If no C compiler was specified, use CC.
19342 # If no C compiler flags were specified, use CFLAGS.
19343 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
19345 # Allow CC to be a program name with arguments.
19349 # save warnings/boilerplate of simple test code
19350 ac_outfile
=conftest.
$ac_objext
19351 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
19352 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19353 _lt_compiler_boilerplate
=`cat conftest.err`
19356 ac_outfile
=conftest.
$ac_objext
19357 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
19358 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19359 _lt_linker_boilerplate
=`cat conftest.err`
19363 # Allow CC to be a program name with arguments.
19368 for cc_temp
in $compiler""; do
19370 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19371 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19376 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19378 lt_cv_prog_compiler_c_o_RC
=yes
19380 # The else clause should only fire when bootstrapping the
19381 # libtool distribution, otherwise you forgot to ship ltmain.sh
19382 # with your package, and you will get complaints that there are
19383 # no rules to generate ltmain.sh.
19384 if test -f "$ltmain"; then
19385 # See if we are running on zsh, and set the options which allow our commands through
19386 # without removal of \ escapes.
19387 if test -n "${ZSH_VERSION+set}" ; then
19388 setopt NO_GLOB_SUBST
19390 # Now quote all the things that may contain metacharacters while being
19391 # careful not to overquote the AC_SUBSTed values. We take copies of the
19392 # variables and quote the copies for generation of the libtool script.
19393 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19395 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19396 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19397 deplibs_check_method reload_flag reload_cmds need_locks \
19398 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19399 lt_cv_sys_global_symbol_to_c_name_address \
19400 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19401 old_postinstall_cmds old_postuninstall_cmds \
19405 lt_prog_compiler_wl_RC \
19406 lt_prog_compiler_pic_RC \
19407 lt_prog_compiler_static_RC \
19408 lt_prog_compiler_no_builtin_flag_RC \
19409 export_dynamic_flag_spec_RC \
19410 thread_safe_flag_spec_RC \
19411 whole_archive_flag_spec_RC \
19412 enable_shared_with_static_runtimes_RC \
19413 old_archive_cmds_RC \
19414 old_archive_from_new_cmds_RC \
19415 predep_objects_RC \
19416 postdep_objects_RC \
19419 compiler_lib_search_path_RC \
19420 compiler_lib_search_dirs_RC \
19422 archive_expsym_cmds_RC \
19423 postinstall_cmds_RC \
19424 postuninstall_cmds_RC \
19425 old_archive_from_expsyms_cmds_RC \
19426 allow_undefined_flag_RC \
19427 no_undefined_flag_RC \
19428 export_symbols_cmds_RC \
19429 hardcode_libdir_flag_spec_RC \
19430 hardcode_libdir_flag_spec_ld_RC \
19431 hardcode_libdir_separator_RC \
19432 hardcode_automatic_RC \
19434 module_expsym_cmds_RC \
19435 lt_cv_prog_compiler_c_o_RC \
19436 fix_srcfile_path_RC \
19437 exclude_expsyms_RC \
19438 include_expsyms_RC
; do
19441 old_archive_cmds_RC | \
19442 old_archive_from_new_cmds_RC | \
19443 archive_cmds_RC | \
19444 archive_expsym_cmds_RC | \
19446 module_expsym_cmds_RC | \
19447 old_archive_from_expsyms_cmds_RC | \
19448 export_symbols_cmds_RC | \
19449 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19450 postinstall_cmds | postuninstall_cmds | \
19451 old_postinstall_cmds | old_postuninstall_cmds | \
19452 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19453 # Double-quote double-evaled strings.
19454 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19457 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19463 *'\$0 --fallback-echo"')
19464 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19470 cat <<__EOF__ >> "$cfgfile"
19471 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19473 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19475 # Shell to use when invoking shell scripts.
19478 # Whether or not to build shared libraries.
19479 build_libtool_libs=$enable_shared
19481 # Whether or not to build static libraries.
19482 build_old_libs=$enable_static
19484 # Whether or not to add -lc for building shared libraries.
19485 build_libtool_need_lc=$archive_cmds_need_lc_RC
19487 # Whether or not to disallow shared libs when runtime libs are static
19488 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19490 # Whether or not to optimize for fast installation.
19491 fast_install=$enable_fast_install
19494 host_alias=$host_alias
19498 # The build system.
19499 build_alias=$build_alias
19503 # An echo program that does not interpret backslashes.
19508 AR_FLAGS=$lt_AR_FLAGS
19513 # LTCC compiler flags.
19514 LTCFLAGS=$lt_LTCFLAGS
19516 # A language-specific compiler.
19519 # Is the compiler the GNU C compiler?
19525 # The linker used to build libraries.
19528 # Whether we need hard or soft links.
19531 # A BSD-compatible nm program.
19534 # A symbol stripping program
19537 # Used to examine libraries when file_magic_cmd begins "file"
19538 MAGIC_CMD=$MAGIC_CMD
19540 # Used on cygwin: DLL creation program.
19543 # Used on cygwin: object dumper.
19546 # Used on cygwin: assembler.
19549 # The name of the directory that contains temporary libtool files.
19552 # How to create reloadable object files.
19553 reload_flag=$lt_reload_flag
19554 reload_cmds=$lt_reload_cmds
19556 # How to pass a linker flag through the compiler.
19557 wl=$lt_lt_prog_compiler_wl_RC
19559 # Object file suffix (normally "o").
19560 objext="$ac_objext"
19562 # Old archive suffix (normally "a").
19565 # Shared library suffix (normally ".so").
19566 shrext_cmds='$shrext_cmds'
19568 # Executable file suffix (normally "").
19571 # Additional compiler flags for building library objects.
19572 pic_flag=$lt_lt_prog_compiler_pic_RC
19575 # What is the maximum length of a command?
19576 max_cmd_len=$lt_cv_sys_max_cmd_len
19578 # Does compiler simultaneously support -c and -o options?
19579 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19581 # Must we lock files when doing compilation?
19582 need_locks=$lt_need_locks
19584 # Do we need the lib prefix for modules?
19585 need_lib_prefix=$need_lib_prefix
19587 # Do we need a version for libraries?
19588 need_version=$need_version
19590 # Whether dlopen is supported.
19591 dlopen_support=$enable_dlopen
19593 # Whether dlopen of programs is supported.
19594 dlopen_self=$enable_dlopen_self
19596 # Whether dlopen of statically linked programs is supported.
19597 dlopen_self_static=$enable_dlopen_self_static
19599 # Compiler flag to prevent dynamic linking.
19600 link_static_flag=$lt_lt_prog_compiler_static_RC
19602 # Compiler flag to turn off builtin functions.
19603 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19605 # Compiler flag to allow reflexive dlopens.
19606 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19608 # Compiler flag to generate shared objects directly from archives.
19609 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19611 # Compiler flag to generate thread-safe objects.
19612 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19614 # Library versioning type.
19615 version_type=$version_type
19617 # Format of library name prefix.
19618 libname_spec=$lt_libname_spec
19620 # List of archive names. First name is the real one, the rest are links.
19621 # The last name is the one that the linker finds with -lNAME.
19622 library_names_spec=$lt_library_names_spec
19624 # The coded name of the library, if different from the real name.
19625 soname_spec=$lt_soname_spec
19627 # Commands used to build and install an old-style archive.
19629 old_archive_cmds=$lt_old_archive_cmds_RC
19630 old_postinstall_cmds=$lt_old_postinstall_cmds
19631 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19633 # Create an old-style archive from a shared archive.
19634 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19636 # Create a temporary old-style archive to link instead of a shared archive.
19637 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19639 # Commands used to build and install a shared archive.
19640 archive_cmds=$lt_archive_cmds_RC
19641 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19642 postinstall_cmds=$lt_postinstall_cmds
19643 postuninstall_cmds=$lt_postuninstall_cmds
19645 # Commands used to build a loadable module (assumed same as above if empty)
19646 module_cmds=$lt_module_cmds_RC
19647 module_expsym_cmds=$lt_module_expsym_cmds_RC
19649 # Commands to strip libraries.
19650 old_striplib=$lt_old_striplib
19651 striplib=$lt_striplib
19653 # Dependencies to place before the objects being linked to create a
19655 predep_objects=$lt_predep_objects_RC
19657 # Dependencies to place after the objects being linked to create a
19659 postdep_objects=$lt_postdep_objects_RC
19661 # Dependencies to place before the objects being linked to create a
19663 predeps=$lt_predeps_RC
19665 # Dependencies to place after the objects being linked to create a
19667 postdeps=$lt_postdeps_RC
19669 # The directories searched by this compiler when creating a shared
19671 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
19673 # The library search path used internally by the compiler when linking
19674 # a shared library.
19675 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19677 # Method to check whether dependent libraries are shared objects.
19678 deplibs_check_method=$lt_deplibs_check_method
19680 # Command to use when deplibs_check_method == file_magic.
19681 file_magic_cmd=$lt_file_magic_cmd
19683 # Flag that allows shared libraries with undefined symbols to be built.
19684 allow_undefined_flag=$lt_allow_undefined_flag_RC
19686 # Flag that forces no undefined symbols.
19687 no_undefined_flag=$lt_no_undefined_flag_RC
19689 # Commands used to finish a libtool library installation in a directory.
19690 finish_cmds=$lt_finish_cmds
19692 # Same as above, but a single script fragment to be evaled but not shown.
19693 finish_eval=$lt_finish_eval
19695 # Take the output of nm and produce a listing of raw symbols and C names.
19696 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19698 # Transform the output of nm in a proper C declaration
19699 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19701 # Transform the output of nm in a C name address pair
19702 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19704 # This is the shared library runtime path variable.
19705 runpath_var=$runpath_var
19707 # This is the shared library path variable.
19708 shlibpath_var=$shlibpath_var
19710 # Is shlibpath searched before the hard-coded library search path?
19711 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19713 # How to hardcode a shared library path into an executable.
19714 hardcode_action=$hardcode_action_RC
19716 # Whether we should hardcode library paths into libraries.
19717 hardcode_into_libs=$hardcode_into_libs
19719 # Flag to hardcode \$libdir into a binary during linking.
19720 # This must work even if \$libdir does not exist.
19721 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19723 # If ld is used when linking, flag to hardcode \$libdir into
19724 # a binary during linking. This must work even if \$libdir does
19726 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19728 # Whether we need a single -rpath flag with a separated argument.
19729 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19731 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19732 # resulting binary.
19733 hardcode_direct=$hardcode_direct_RC
19735 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19736 # resulting binary.
19737 hardcode_minus_L=$hardcode_minus_L_RC
19739 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19740 # the resulting binary.
19741 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19743 # Set to yes if building a shared library automatically hardcodes DIR into the library
19744 # and all subsequent libraries and executables linked against it.
19745 hardcode_automatic=$hardcode_automatic_RC
19747 # Variables whose values should be saved in libtool wrapper scripts and
19748 # restored at relink time.
19749 variables_saved_for_relink="$variables_saved_for_relink"
19751 # Whether libtool must link a program against all its dependency libraries.
19752 link_all_deplibs=$link_all_deplibs_RC
19754 # Compile-time system search path for libraries
19755 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19757 # Run-time system search path for libraries
19758 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19760 # Fix the shell variable \$srcfile for the compiler.
19761 fix_srcfile_path=$lt_fix_srcfile_path
19763 # Set to yes if exported symbols are required.
19764 always_export_symbols=$always_export_symbols_RC
19766 # The commands to list exported symbols.
19767 export_symbols_cmds=$lt_export_symbols_cmds_RC
19769 # The commands to extract the exported symbol list from a shared archive.
19770 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19772 # Symbols that should not be listed in the preloaded symbols.
19773 exclude_expsyms=$lt_exclude_expsyms_RC
19775 # Symbols that must always be exported.
19776 include_expsyms=$lt_include_expsyms_RC
19778 # ### END LIBTOOL TAG CONFIG: $tagname
19784 # If there is no Makefile yet, we rely on a make rule to execute
19785 # `config.status --recheck' to rerun these tests and create the
19786 # libtool script then.
19787 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19788 if test -f "$ltmain_in"; then
19789 test -f Makefile
&& make "$ltmain"
19795 ac_cpp
='$CPP $CPPFLAGS'
19796 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19797 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19798 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19805 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19806 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19807 { (exit 1); exit 1; }; }
19811 # Append the new tag name to the list of available tags.
19812 if test -n "$tagname" ; then
19813 available_tags
="$available_tags $tagname"
19819 # Now substitute the updated list of available tags.
19820 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19821 mv "${ofile}T" "$ofile"
19825 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19826 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19827 { (exit 1); exit 1; }; }
19833 # This can be used to rebuild libtool when needed
19834 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19836 # Always use our own libtool.
19837 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19839 # Prevent multiple expansion
19860 # Check whether --enable-debug was given.
19861 if test "${enable_debug+set}" = set; then
19862 enableval
=$enable_debug;
19863 CXXFLAGS
="-g -O0 -Wall"
19865 cat >>confdefs.h
<<\_ACEOF
19874 # Check whether --with-libldap was given.
19875 if test "${with_libldap+set}" = set; then
19876 withval
=$with_libldap;
19877 LIBS
="-L$with_libldap $LIBS "
19881 LIBS
="-L/usr/local/lib $LIBS "
19888 # Check whether --with-ldap-includes was given.
19889 if test "${with_ldap_includes+set}" = set; then
19890 withval
=$with_ldap_includes;
19891 CPPFLAGS
="-I$with_ldap_includes $CPPFLAGS "
19895 CPPFLAGS
="-I/usr/local/include $CPPFLAGS "
19901 { echo "$as_me:$LINENO: checking for main in -lresolv" >&5
19902 echo $ECHO_N "checking for main in -lresolv... $ECHO_C" >&6; }
19903 if test "${ac_cv_lib_resolv_main+set}" = set; then
19904 echo $ECHO_N "(cached) $ECHO_C" >&6
19906 ac_check_lib_save_LIBS
=$LIBS
19907 LIBS
="-lresolv $LIBS"
19908 cat >conftest.
$ac_ext <<_ACEOF
19911 cat confdefs.h
>>conftest.
$ac_ext
19912 cat >>conftest.
$ac_ext <<_ACEOF
19913 /* end confdefs.h. */
19924 rm -f conftest.
$ac_objext conftest
$ac_exeext
19925 if { (ac_try
="$ac_link"
19926 case "(($ac_try" in
19927 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19928 *) ac_try_echo=$ac_try;;
19930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19931 (eval "$ac_link") 2>conftest.er1
19933 grep -v '^ *+' conftest.er1 >conftest.err
19935 cat conftest.err >&5
19936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937 (exit $ac_status); } && {
19938 test -z "$ac_c_werror_flag" ||
19939 test ! -s conftest.err
19940 } && test -s conftest$ac_exeext &&
19941 $as_test_x conftest$ac_exeext; then
19942 ac_cv_lib_resolv_main=yes
19944 echo "$as_me: failed program was:" >&5
19945 sed 's/^/| /' conftest.$ac_ext >&5
19947 ac_cv_lib_resolv_main=no
19950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19951 conftest$ac_exeext conftest.$ac_ext
19952 LIBS=$ac_check_lib_save_LIBS
19954 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_main" >&5
19955 echo "${ECHO_T}$ac_cv_lib_resolv_main" >&6; }
19956 if test $ac_cv_lib_resolv_main = yes; then
19957 cat >>confdefs.h <<_ACEOF
19958 #define HAVE_LIBRESOLV 1
19961 LIBS="-lresolv $LIBS"
19965 { echo "$as_me:$LINENO: checking for ber_strdup in -llber" >&5
19966 echo $ECHO_N "checking for ber_strdup in -llber... $ECHO_C" >&6; }
19967 if test "${ac_cv_lib_lber_ber_strdup+set}" = set; then
19968 echo $ECHO_N "(cached) $ECHO_C" >&6
19970 ac_check_lib_save_LIBS=$LIBS
19971 LIBS="-llber $LIBS"
19972 cat >conftest.$ac_ext <<_ACEOF
19975 cat confdefs.h >>conftest.$ac_ext
19976 cat >>conftest.$ac_ext <<_ACEOF
19977 /* end confdefs.h. */
19979 /* Override any GCC internal prototype to avoid an error.
19980 Use char because int might match the return type of a GCC
19981 builtin and then its argument prototype would still apply. */
19985 char ber_strdup ();
19989 return ber_strdup ();
19994 rm -f conftest.$ac_objext conftest$ac_exeext
19995 if { (ac_try="$ac_link"
19996 case "(($ac_try" in
19997 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19998 *) ac_try_echo
=$ac_try;;
20000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20001 (eval "$ac_link") 2>conftest.er1
20003 grep -v '^ *+' conftest.er1
>conftest.err
20005 cat conftest.err
>&5
20006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20007 (exit $ac_status); } && {
20008 test -z "$ac_c_werror_flag" ||
20009 test ! -s conftest.err
20010 } && test -s conftest
$ac_exeext &&
20011 $as_test_x conftest
$ac_exeext; then
20012 ac_cv_lib_lber_ber_strdup
=yes
20014 echo "$as_me: failed program was:" >&5
20015 sed 's/^/| /' conftest.
$ac_ext >&5
20017 ac_cv_lib_lber_ber_strdup
=no
20020 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20021 conftest
$ac_exeext conftest.
$ac_ext
20022 LIBS
=$ac_check_lib_save_LIBS
20024 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_strdup" >&5
20025 echo "${ECHO_T}$ac_cv_lib_lber_ber_strdup" >&6; }
20026 if test $ac_cv_lib_lber_ber_strdup = yes; then
20032 echo " didn't find ber_strdup in liblber !";
20033 echo " Check for the right version (>= 2.0) of the OpenLDAP libraries";
20034 echo " or try the --with-libldap option.";
20039 { echo "$as_me:$LINENO: checking for ldap_add_ext in -lldap" >&5
20040 echo $ECHO_N "checking for ldap_add_ext in -lldap... $ECHO_C" >&6; }
20041 if test "${ac_cv_lib_ldap_ldap_add_ext+set}" = set; then
20042 echo $ECHO_N "(cached) $ECHO_C" >&6
20044 ac_check_lib_save_LIBS
=$LIBS
20048 cat >conftest.
$ac_ext <<_ACEOF
20051 cat confdefs.h
>>conftest.
$ac_ext
20052 cat >>conftest.
$ac_ext <<_ACEOF
20053 /* end confdefs.h. */
20055 /* Override any GCC internal prototype to avoid an error.
20056 Use char because int might match the return type of a GCC
20057 builtin and then its argument prototype would still apply. */
20061 char ldap_add_ext ();
20065 return ldap_add_ext ();
20070 rm -f conftest.
$ac_objext conftest
$ac_exeext
20071 if { (ac_try
="$ac_link"
20072 case "(($ac_try" in
20073 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20074 *) ac_try_echo=$ac_try;;
20076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20077 (eval "$ac_link") 2>conftest.er1
20079 grep -v '^ *+' conftest.er1 >conftest.err
20081 cat conftest.err >&5
20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083 (exit $ac_status); } && {
20084 test -z "$ac_c_werror_flag" ||
20085 test ! -s conftest.err
20086 } && test -s conftest$ac_exeext &&
20087 $as_test_x conftest$ac_exeext; then
20088 ac_cv_lib_ldap_ldap_add_ext=yes
20090 echo "$as_me: failed program was:" >&5
20091 sed 's/^/| /' conftest.$ac_ext >&5
20093 ac_cv_lib_ldap_ldap_add_ext=no
20096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20097 conftest$ac_exeext conftest.$ac_ext
20098 LIBS=$ac_check_lib_save_LIBS
20100 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_add_ext" >&5
20101 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_add_ext" >&6; }
20102 if test $ac_cv_lib_ldap_ldap_add_ext = yes; then
20108 echo " didn't find ldap_add_ext in libldap !";
20109 echo " Check for the right version (>= 2.0) of the OpenLDAP libraries";
20110 echo " or try the --with-libldap option.";
20115 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20116 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
20117 if test "${ac_cv_header_time+set}" = set; then
20118 echo $ECHO_N "(cached) $ECHO_C" >&6
20120 cat >conftest.$ac_ext <<_ACEOF
20123 cat confdefs.h >>conftest.$ac_ext
20124 cat >>conftest.$ac_ext <<_ACEOF
20125 /* end confdefs.h. */
20126 #include <sys/types.h>
20127 #include <sys/time.h>
20133 if ((struct tm *) 0)
20139 rm -f conftest.$ac_objext
20140 if { (ac_try="$ac_compile"
20141 case "(($ac_try" in
20142 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20143 *) ac_try_echo
=$ac_try;;
20145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20146 (eval "$ac_compile") 2>conftest.er1
20148 grep -v '^ *+' conftest.er1
>conftest.err
20150 cat conftest.err
>&5
20151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20152 (exit $ac_status); } && {
20153 test -z "$ac_c_werror_flag" ||
20154 test ! -s conftest.err
20155 } && test -s conftest.
$ac_objext; then
20156 ac_cv_header_time
=yes
20158 echo "$as_me: failed program was:" >&5
20159 sed 's/^/| /' conftest.
$ac_ext >&5
20161 ac_cv_header_time
=no
20164 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20166 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20167 echo "${ECHO_T}$ac_cv_header_time" >&6; }
20168 if test $ac_cv_header_time = yes; then
20170 cat >>confdefs.h
<<\_ACEOF
20171 #define TIME_WITH_SYS_TIME 1
20178 for ac_header
in termios.h ldap.h
20180 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20181 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20182 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20183 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20184 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20185 echo $ECHO_N "(cached) $ECHO_C" >&6
20187 ac_res
=`eval echo '${'$as_ac_Header'}'`
20188 { echo "$as_me:$LINENO: result: $ac_res" >&5
20189 echo "${ECHO_T}$ac_res" >&6; }
20191 # Is the header compilable?
20192 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
20193 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20194 cat >conftest.
$ac_ext <<_ACEOF
20197 cat confdefs.h
>>conftest.
$ac_ext
20198 cat >>conftest.
$ac_ext <<_ACEOF
20199 /* end confdefs.h. */
20200 $ac_includes_default
20201 #include <$ac_header>
20203 rm -f conftest.
$ac_objext
20204 if { (ac_try
="$ac_compile"
20205 case "(($ac_try" in
20206 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20207 *) ac_try_echo=$ac_try;;
20209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20210 (eval "$ac_compile") 2>conftest.er1
20212 grep -v '^ *+' conftest.er1 >conftest.err
20214 cat conftest.err >&5
20215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20216 (exit $ac_status); } && {
20217 test -z "$ac_c_werror_flag" ||
20218 test ! -s conftest.err
20219 } && test -s conftest.$ac_objext; then
20220 ac_header_compiler=yes
20222 echo "$as_me: failed program was:" >&5
20223 sed 's/^/| /' conftest.$ac_ext >&5
20225 ac_header_compiler=no
20228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20229 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20230 echo "${ECHO_T}$ac_header_compiler" >&6; }
20232 # Is the header present?
20233 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
20234 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20235 cat >conftest.$ac_ext <<_ACEOF
20238 cat confdefs.h >>conftest.$ac_ext
20239 cat >>conftest.$ac_ext <<_ACEOF
20240 /* end confdefs.h. */
20241 #include <$ac_header>
20243 if { (ac_try="$ac_cpp conftest.$ac_ext"
20244 case "(($ac_try" in
20245 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20246 *) ac_try_echo
=$ac_try;;
20248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20249 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20251 grep -v '^ *+' conftest.er1
>conftest.err
20253 cat conftest.err
>&5
20254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20255 (exit $ac_status); } >/dev
/null
&& {
20256 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20257 test ! -s conftest.err
20259 ac_header_preproc
=yes
20261 echo "$as_me: failed program was:" >&5
20262 sed 's/^/| /' conftest.
$ac_ext >&5
20264 ac_header_preproc
=no
20267 rm -f conftest.err conftest.
$ac_ext
20268 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20269 echo "${ECHO_T}$ac_header_preproc" >&6; }
20271 # So? What about this header?
20272 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20274 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20275 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20276 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20277 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20278 ac_header_preproc
=yes
20281 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20282 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20283 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20284 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20285 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20286 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20287 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20288 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20289 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20290 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20291 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20292 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20294 ## -------------------------------------------- ##
20295 ## Report this to http://www.openldap.org/its/ ##
20296 ## -------------------------------------------- ##
20298 ) |
sed "s/^/$as_me: WARNING: /" >&2
20301 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20302 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20303 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20304 echo $ECHO_N "(cached) $ECHO_C" >&6
20306 eval "$as_ac_Header=\$ac_header_preproc"
20308 ac_res
=`eval echo '${'$as_ac_Header'}'`
20309 { echo "$as_me:$LINENO: result: $ac_res" >&5
20310 echo "${ECHO_T}$ac_res" >&6; }
20313 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20314 cat >>confdefs.h
<<_ACEOF
20315 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20322 cat >conftest.
$ac_ext <<_ACEOF
20325 cat confdefs.h
>>conftest.
$ac_ext
20326 cat >>conftest.
$ac_ext <<_ACEOF
20327 /* end confdefs.h. */
20331 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20332 $EGREP "ldap_add_ext" >/dev
/null
2>&1; then
20338 echo " didn't find ldap_add_ext in ldap.h!";
20339 echo " Check for the right version (>= 2.0) of the OpenLDAP includes";
20340 echo " or try --with-ldap-includes option.";
20346 if test "${ac_cv_header_lber_h+set}" = set; then
20347 { echo "$as_me:$LINENO: checking for lber.h" >&5
20348 echo $ECHO_N "checking for lber.h... $ECHO_C" >&6; }
20349 if test "${ac_cv_header_lber_h+set}" = set; then
20350 echo $ECHO_N "(cached) $ECHO_C" >&6
20352 { echo "$as_me:$LINENO: result: $ac_cv_header_lber_h" >&5
20353 echo "${ECHO_T}$ac_cv_header_lber_h" >&6; }
20355 # Is the header compilable?
20356 { echo "$as_me:$LINENO: checking lber.h usability" >&5
20357 echo $ECHO_N "checking lber.h usability... $ECHO_C" >&6; }
20358 cat >conftest.
$ac_ext <<_ACEOF
20361 cat confdefs.h
>>conftest.
$ac_ext
20362 cat >>conftest.
$ac_ext <<_ACEOF
20363 /* end confdefs.h. */
20364 $ac_includes_default
20367 rm -f conftest.
$ac_objext
20368 if { (ac_try
="$ac_compile"
20369 case "(($ac_try" in
20370 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20371 *) ac_try_echo=$ac_try;;
20373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20374 (eval "$ac_compile") 2>conftest.er1
20376 grep -v '^ *+' conftest.er1 >conftest.err
20378 cat conftest.err >&5
20379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20380 (exit $ac_status); } && {
20381 test -z "$ac_c_werror_flag" ||
20382 test ! -s conftest.err
20383 } && test -s conftest.$ac_objext; then
20384 ac_header_compiler=yes
20386 echo "$as_me: failed program was:" >&5
20387 sed 's/^/| /' conftest.$ac_ext >&5
20389 ac_header_compiler=no
20392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20393 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20394 echo "${ECHO_T}$ac_header_compiler" >&6; }
20396 # Is the header present?
20397 { echo "$as_me:$LINENO: checking lber.h presence" >&5
20398 echo $ECHO_N "checking lber.h presence... $ECHO_C" >&6; }
20399 cat >conftest.$ac_ext <<_ACEOF
20402 cat confdefs.h >>conftest.$ac_ext
20403 cat >>conftest.$ac_ext <<_ACEOF
20404 /* end confdefs.h. */
20407 if { (ac_try="$ac_cpp conftest.$ac_ext"
20408 case "(($ac_try" in
20409 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20410 *) ac_try_echo
=$ac_try;;
20412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20413 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20415 grep -v '^ *+' conftest.er1
>conftest.err
20417 cat conftest.err
>&5
20418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20419 (exit $ac_status); } >/dev
/null
&& {
20420 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20421 test ! -s conftest.err
20423 ac_header_preproc
=yes
20425 echo "$as_me: failed program was:" >&5
20426 sed 's/^/| /' conftest.
$ac_ext >&5
20428 ac_header_preproc
=no
20431 rm -f conftest.err conftest.
$ac_ext
20432 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20433 echo "${ECHO_T}$ac_header_preproc" >&6; }
20435 # So? What about this header?
20436 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20438 { echo "$as_me:$LINENO: WARNING: lber.h: accepted by the compiler, rejected by the preprocessor!" >&5
20439 echo "$as_me: WARNING: lber.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20440 { echo "$as_me:$LINENO: WARNING: lber.h: proceeding with the compiler's result" >&5
20441 echo "$as_me: WARNING: lber.h: proceeding with the compiler's result" >&2;}
20442 ac_header_preproc
=yes
20445 { echo "$as_me:$LINENO: WARNING: lber.h: present but cannot be compiled" >&5
20446 echo "$as_me: WARNING: lber.h: present but cannot be compiled" >&2;}
20447 { echo "$as_me:$LINENO: WARNING: lber.h: check for missing prerequisite headers?" >&5
20448 echo "$as_me: WARNING: lber.h: check for missing prerequisite headers?" >&2;}
20449 { echo "$as_me:$LINENO: WARNING: lber.h: see the Autoconf documentation" >&5
20450 echo "$as_me: WARNING: lber.h: see the Autoconf documentation" >&2;}
20451 { echo "$as_me:$LINENO: WARNING: lber.h: section \"Present But Cannot Be Compiled\"" >&5
20452 echo "$as_me: WARNING: lber.h: section \"Present But Cannot Be Compiled\"" >&2;}
20453 { echo "$as_me:$LINENO: WARNING: lber.h: proceeding with the preprocessor's result" >&5
20454 echo "$as_me: WARNING: lber.h: proceeding with the preprocessor's result" >&2;}
20455 { echo "$as_me:$LINENO: WARNING: lber.h: in the future, the compiler will take precedence" >&5
20456 echo "$as_me: WARNING: lber.h: in the future, the compiler will take precedence" >&2;}
20458 ## -------------------------------------------- ##
20459 ## Report this to http://www.openldap.org/its/ ##
20460 ## -------------------------------------------- ##
20462 ) |
sed "s/^/$as_me: WARNING: /" >&2
20465 { echo "$as_me:$LINENO: checking for lber.h" >&5
20466 echo $ECHO_N "checking for lber.h... $ECHO_C" >&6; }
20467 if test "${ac_cv_header_lber_h+set}" = set; then
20468 echo $ECHO_N "(cached) $ECHO_C" >&6
20470 ac_cv_header_lber_h
=$ac_header_preproc
20472 { echo "$as_me:$LINENO: result: $ac_cv_header_lber_h" >&5
20473 echo "${ECHO_T}$ac_cv_header_lber_h" >&6; }
20478 cat >conftest.
$ac_ext <<_ACEOF
20481 cat confdefs.h
>>conftest.
$ac_ext
20482 cat >>conftest.
$ac_ext <<_ACEOF
20483 /* end confdefs.h. */
20487 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20488 $EGREP "ber_strdup" >/dev
/null
2>&1; then
20494 echo " didn't find ber_strdup in lber.h!";
20495 echo " Check for the right version (>= 2.0) of the OpenLDAP includes";
20496 echo " or try --with-ldap-includes option.";
20505 ac_config_files
="$ac_config_files Makefile src/Makefile examples/Makefile"
20507 cat >confcache
<<\_ACEOF
20508 # This file is a shell script that caches the results of configure
20509 # tests run on this system so they can be shared between configure
20510 # scripts and configure runs, see configure's option --config-cache.
20511 # It is not useful on other systems. If it contains results you don't
20512 # want to keep, you may remove or edit it.
20514 # config.status only pays attention to the cache file if you give it
20515 # the --recheck option to rerun configure.
20517 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20518 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20519 # following values.
20523 # The following way of writing the cache mishandles newlines in values,
20524 # but we know of no workaround that is simple, portable, and efficient.
20525 # So, we kill variables containing newlines.
20526 # Ultrix sh set writes to stderr and can't be redirected directly,
20527 # and sets the high bit in the cache file unless we assign to the vars.
20529 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20530 eval ac_val
=\$
$ac_var
20534 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20535 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20538 _ | IFS | as_nl
) ;; #(
20539 *) $as_unset $ac_var ;;
20545 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20546 *${as_nl}ac_space
=\
*)
20547 # `set' does not quote correctly, so add quotes (double-quote
20548 # substitution turns \\\\ into \\, and sed turns \\ into \).
20551 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20554 # `set' quotes correctly as required by POSIX, so do not add quotes.
20555 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20564 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20566 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20568 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20569 if test -w "$cache_file"; then
20570 test "x$cache_file" != "x/dev/null" &&
20571 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20572 echo "$as_me: updating cache $cache_file" >&6;}
20573 cat confcache
>$cache_file
20575 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20576 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20581 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20582 # Let make expand exec_prefix.
20583 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20585 DEFS
=-DHAVE_CONFIG_H
20589 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20590 # 1. Remove the extension, and $U if already installed.
20591 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20592 ac_i
=`echo "$ac_i" | sed "$ac_script"`
20593 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20594 # will be set to the directory where LIBOBJS objects are built.
20595 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20596 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20598 LIBOBJS
=$ac_libobjs
20600 LTLIBOBJS
=$ac_ltlibobjs
20603 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20604 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20605 Usually this means the macro was only invoked conditionally." >&5
20606 echo "$as_me: error: conditional \"AMDEP\" was never defined.
20607 Usually this means the macro was only invoked conditionally." >&2;}
20608 { (exit 1); exit 1; }; }
20610 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20611 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20612 Usually this means the macro was only invoked conditionally." >&5
20613 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20614 Usually this means the macro was only invoked conditionally." >&2;}
20615 { (exit 1); exit 1; }; }
20617 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20618 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20619 Usually this means the macro was only invoked conditionally." >&5
20620 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20621 Usually this means the macro was only invoked conditionally." >&2;}
20622 { (exit 1); exit 1; }; }
20625 : ${CONFIG_STATUS=./config.status}
20626 ac_clean_files_save
=$ac_clean_files
20627 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20628 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20629 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20630 cat >$CONFIG_STATUS <<_ACEOF
20632 # Generated by $as_me.
20633 # Run this file to recreate the current configuration.
20634 # Compiler output produced by configure, useful for debugging
20635 # configure, is in config.log if it exists.
20638 ac_cs_recheck=false
20640 SHELL=\${CONFIG_SHELL-$SHELL}
20643 cat >>$CONFIG_STATUS <<\_ACEOF
20644 ## --------------------- ##
20645 ## M4sh Initialization. ##
20646 ## --------------------- ##
20648 # Be more Bourne compatible
20649 DUALCASE
=1; export DUALCASE
# for MKS sh
20650 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20653 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20654 # is contrary to our usage. Disable this feature.
20655 alias -g '${1+"$@"}'='"$@"'
20656 setopt NO_GLOB_SUBST
20658 case `(set -o) 2>/dev/null` in
20659 *posix
*) set -o posix
;;
20668 # Avoid depending upon Character Ranges.
20669 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20670 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20671 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20672 as_cr_digits
='0123456789'
20673 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20675 # The user is always right.
20676 if test "${PATH_SEPARATOR+set}" != set; then
20677 echo "#! /bin/sh" >conf$$.sh
20678 echo "exit 0" >>conf$$.sh
20680 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20688 # Support unset when possible.
20689 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20697 # We need space, tab and new line, in precisely that order. Quoting is
20698 # there to prevent editors from complaining about space-tab.
20699 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20700 # splitting by setting IFS to empty value.)
20705 # Find who we are. Look in the path if we contain no directory separator.
20707 *[\\/]* ) as_myself
=$0 ;;
20708 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20709 for as_dir
in $PATH
20712 test -z "$as_dir" && as_dir
=.
20713 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20719 # We did not find ourselves, most probably we were run as `sh COMMAND'
20720 # in which case we are not to be found in the path.
20721 if test "x$as_myself" = x
; then
20724 if test ! -f "$as_myself"; then
20725 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20726 { (exit 1); exit 1; }
20729 # Work around bugs in pre-3.0 UWIN ksh.
20730 for as_var
in ENV MAIL MAILPATH
20731 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20739 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20740 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20741 LC_TELEPHONE LC_TIME
20743 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20744 eval $as_var=C
; export $as_var
20746 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20750 # Required to use basename.
20751 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20752 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20758 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20759 as_basename
=basename
20765 # Name of the executable.
20766 as_me
=`$as_basename -- "$0" ||
20767 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20768 X"$0" : 'X\(//\)$' \| \
20769 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20771 sed '/^.*\/\([^/][^/]*\)\/*$/{
20790 as_lineno_1
=$LINENO
20791 as_lineno_2
=$LINENO
20792 test "x$as_lineno_1" != "x$as_lineno_2" &&
20793 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
20795 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20796 # uniformly replaced by the line number. The first 'sed' inserts a
20797 # line-number line after each line using $LINENO; the second 'sed'
20798 # does the real work. The second script uses 'N' to pair each
20799 # line-number line with the line containing $LINENO, and appends
20800 # trailing '-' during substitution so that $LINENO is not a special
20801 # case at line end.
20802 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20803 # scripts with optimization help from Paolo Bonzini. Blame Lee
20804 # E. McMahon (1931-1989) for sed's syntax. :-)
20816 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20819 ' >$as_me.lineno
&&
20820 chmod +x
"$as_me.lineno" ||
20821 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20822 { (exit 1); exit 1; }; }
20824 # Don't try to exec as it changes $[0], causing all sort of problems
20825 # (the dirname of $[0] is not the place where we might find the
20826 # original and so on. Autoconf is especially sensitive to this).
20827 .
"./$as_me.lineno"
20828 # Exit status is that of the last command.
20833 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20839 ECHO_C
= ECHO_N
= ECHO_T
=
20840 case `echo -n x` in
20842 case `echo 'x\c'` in
20843 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20850 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20851 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20857 rm -f conf$$ conf$$.exe conf$$.
file
20858 if test -d conf$$.dir
; then
20859 rm -f conf$$.dir
/conf$$.
file
20865 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20867 # ... but there are two gotchas:
20868 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20869 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20870 # In both cases, we have to default to `cp -p'.
20871 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20873 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20878 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20879 rmdir conf$$.dir
2>/dev
/null
20881 if mkdir
-p .
2>/dev
/null
; then
20884 test -d .
/-p && rmdir .
/-p
20888 if test -x / >/dev
/null
2>&1; then
20889 as_test_x
='test -x'
20891 if ls -dL / >/dev
/null
2>&1; then
20898 if test -d "$1"; then
20904 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
20905 ???[sx]*):;;*)false;;esac;fi
20909 as_executable_p
=$as_test_x
20911 # Sed expression to map a string onto a valid CPP name.
20912 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20914 # Sed expression to map a string onto a valid variable name.
20915 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20920 # Save the log message, to keep $[0] and so on meaningful, and to
20921 # report actual input values of CONFIG_FILES etc. instead of their
20922 # values after options handling.
20924 This file was extended by ldapcpplib $as_me , which was
20925 generated by GNU Autoconf 2.61. Invocation command line was
20927 CONFIG_FILES = $CONFIG_FILES
20928 CONFIG_HEADERS = $CONFIG_HEADERS
20929 CONFIG_LINKS = $CONFIG_LINKS
20930 CONFIG_COMMANDS = $CONFIG_COMMANDS
20933 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20938 cat >>$CONFIG_STATUS <<_ACEOF
20939 # Files that config.status was made for.
20940 config_files="$ac_config_files"
20941 config_headers="$ac_config_headers"
20942 config_commands="$ac_config_commands"
20946 cat >>$CONFIG_STATUS <<\_ACEOF
20948 \`$as_me' instantiates files from templates according to the
20949 current configuration.
20951 Usage: $0 [OPTIONS] [FILE]...
20953 -h, --help print this help, then exit
20954 -V, --version print version number and configuration settings, then exit
20955 -q, --quiet do not print progress messages
20956 -d, --debug don't remove temporary files
20957 --recheck update $as_me by reconfiguring in the same conditions
20958 --file=FILE[:TEMPLATE]
20959 instantiate the configuration file FILE
20960 --header=FILE[:TEMPLATE]
20961 instantiate the configuration header FILE
20963 Configuration files:
20966 Configuration headers:
20969 Configuration commands:
20972 Report bugs to <bug-autoconf@gnu.org>."
20975 cat >>$CONFIG_STATUS <<_ACEOF
20977 ldapcpplib config.status
20978 configured by $0, generated by GNU Autoconf 2.61,
20979 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
20981 Copyright (C) 2006 Free Software Foundation, Inc.
20982 This config.status script is free software; the Free Software Foundation
20983 gives unlimited permission to copy, distribute and modify it."
20991 cat >>$CONFIG_STATUS <<\_ACEOF
20992 # If no file are specified by the user, then we need to provide default
20993 # value. By we need to know if files were specified by the user.
20999 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21000 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21011 # Handling of the options.
21012 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21014 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21015 echo "$ac_cs_version"; exit ;;
21016 --debug |
--debu |
--deb |
--de |
--d |
-d )
21018 --file |
--fil |
--fi |
--f )
21020 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21021 ac_need_defaults
=false
;;
21022 --header |
--heade |
--head |
--hea )
21024 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21025 ac_need_defaults
=false
;;
21027 # Conflict between --help and --header
21028 { echo "$as_me: error: ambiguous option: $1
21029 Try \`$0 --help' for more information." >&2
21030 { (exit 1); exit 1; }; };;
21031 --help |
--hel |
-h )
21032 echo "$ac_cs_usage"; exit ;;
21033 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21034 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21037 # This is an error.
21038 -*) { echo "$as_me: error: unrecognized option: $1
21039 Try \`$0 --help' for more information." >&2
21040 { (exit 1); exit 1; }; } ;;
21042 *) ac_config_targets
="$ac_config_targets $1"
21043 ac_need_defaults
=false
;;
21049 ac_configure_extra_args
=
21051 if $ac_cs_silent; then
21053 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21057 cat >>$CONFIG_STATUS <<_ACEOF
21058 if \$ac_cs_recheck; then
21059 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21060 CONFIG_SHELL=$SHELL
21061 export CONFIG_SHELL
21062 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21066 cat >>$CONFIG_STATUS <<\_ACEOF
21070 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21071 ## Running $as_me. ##
21077 cat >>$CONFIG_STATUS <<_ACEOF
21081 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21085 cat >>$CONFIG_STATUS <<\_ACEOF
21087 # Handling of arguments.
21088 for ac_config_target
in $ac_config_targets
21090 case $ac_config_target in
21091 "src/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS src/config.h" ;;
21092 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21093 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21094 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
21095 "examples/Makefile") CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
21097 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21098 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21099 { (exit 1); exit 1; }; };;
21104 # If the user did not use the arguments to specify the items to instantiate,
21105 # then the envvar interface is used. Set only those that are not.
21106 # We use the long form for the default assignment because of an extremely
21107 # bizarre bug on SunOS 4.1.3.
21108 if $ac_need_defaults; then
21109 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21110 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21111 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21114 # Have a temporary directory for convenience. Make it in the build tree
21115 # simply because there is no reason against having it here, and in addition,
21116 # creating and moving files from /tmp can sometimes cause problems.
21117 # Hook for its removal unless debugging.
21118 # Note that there is a small window in which the directory will not be cleaned:
21119 # after its creation but before its name has been assigned to `$tmp'.
21123 trap 'exit_status=$?
21124 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21126 trap '{ (exit 1); exit 1; }' 1 2 13 15
21128 # Create a (secure) tmp directory for tmp files.
21131 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21132 test -n "$tmp" && test -d "$tmp"
21135 tmp
=.
/conf$$
-$RANDOM
21136 (umask 077 && mkdir
"$tmp")
21139 echo "$me: cannot create a temporary directory in ." >&2
21140 { (exit 1); exit 1; }
21144 # Set up the sed scripts for CONFIG_FILES section.
21147 # No need to generate the scripts if there are no CONFIG_FILES.
21148 # This happens for instance when ./config.status config.h
21149 if test -n "$CONFIG_FILES"; then
21156 for ac_last_try
in false false false false false
:; do
21157 cat >conf$
$subs.
sed <<_ACEOF
21158 SHELL!$SHELL$ac_delim
21159 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21160 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21161 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21162 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21163 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21164 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21165 exec_prefix!$exec_prefix$ac_delim
21166 prefix!$prefix$ac_delim
21167 program_transform_name!$program_transform_name$ac_delim
21168 bindir!$bindir$ac_delim
21169 sbindir!$sbindir$ac_delim
21170 libexecdir!$libexecdir$ac_delim
21171 datarootdir!$datarootdir$ac_delim
21172 datadir!$datadir$ac_delim
21173 sysconfdir!$sysconfdir$ac_delim
21174 sharedstatedir!$sharedstatedir$ac_delim
21175 localstatedir!$localstatedir$ac_delim
21176 includedir!$includedir$ac_delim
21177 oldincludedir!$oldincludedir$ac_delim
21178 docdir!$docdir$ac_delim
21179 infodir!$infodir$ac_delim
21180 htmldir!$htmldir$ac_delim
21181 dvidir!$dvidir$ac_delim
21182 pdfdir!$pdfdir$ac_delim
21183 psdir!$psdir$ac_delim
21184 libdir!$libdir$ac_delim
21185 localedir!$localedir$ac_delim
21186 mandir!$mandir$ac_delim
21187 DEFS!$DEFS$ac_delim
21188 ECHO_C!$ECHO_C$ac_delim
21189 ECHO_N!$ECHO_N$ac_delim
21190 ECHO_T!$ECHO_T$ac_delim
21191 LIBS!$LIBS$ac_delim
21192 build_alias!$build_alias$ac_delim
21193 host_alias!$host_alias$ac_delim
21194 target_alias!$target_alias$ac_delim
21195 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21196 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21197 INSTALL_DATA!$INSTALL_DATA$ac_delim
21198 am__isrc!$am__isrc$ac_delim
21199 CYGPATH_W!$CYGPATH_W$ac_delim
21200 PACKAGE!$PACKAGE$ac_delim
21201 VERSION!$VERSION$ac_delim
21202 ACLOCAL!$ACLOCAL$ac_delim
21203 AUTOCONF!$AUTOCONF$ac_delim
21204 AUTOMAKE!$AUTOMAKE$ac_delim
21205 AUTOHEADER!$AUTOHEADER$ac_delim
21206 MAKEINFO!$MAKEINFO$ac_delim
21207 install_sh!$install_sh$ac_delim
21208 STRIP!$STRIP$ac_delim
21209 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
21210 mkdir_p!$mkdir_p$ac_delim
21212 SET_MAKE!$SET_MAKE$ac_delim
21213 am__leading_dot!$am__leading_dot$ac_delim
21214 AMTAR!$AMTAR$ac_delim
21215 am__tar!$am__tar$ac_delim
21216 am__untar!$am__untar$ac_delim
21217 OPENLDAP_CPP_API_VERSION!$OPENLDAP_CPP_API_VERSION$ac_delim
21219 CXXFLAGS!$CXXFLAGS$ac_delim
21220 LDFLAGS!$LDFLAGS$ac_delim
21221 CPPFLAGS!$CPPFLAGS$ac_delim
21222 ac_ct_CXX!$ac_ct_CXX$ac_delim
21223 EXEEXT!$EXEEXT$ac_delim
21224 OBJEXT!$OBJEXT$ac_delim
21225 DEPDIR!$DEPDIR$ac_delim
21226 am__include!$am__include$ac_delim
21227 am__quote!$am__quote$ac_delim
21228 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
21229 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
21230 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
21231 CXXDEPMODE!$CXXDEPMODE$ac_delim
21232 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
21233 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
21234 build!$build$ac_delim
21235 build_cpu!$build_cpu$ac_delim
21236 build_vendor!$build_vendor$ac_delim
21237 build_os!$build_os$ac_delim
21238 host!$host$ac_delim
21239 host_cpu!$host_cpu$ac_delim
21240 host_vendor!$host_vendor$ac_delim
21241 host_os!$host_os$ac_delim
21243 CFLAGS!$CFLAGS$ac_delim
21244 ac_ct_CC!$ac_ct_CC$ac_delim
21245 CCDEPMODE!$CCDEPMODE$ac_delim
21246 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
21247 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
21249 GREP!$GREP$ac_delim
21250 EGREP!$EGREP$ac_delim
21251 LN_S!$LN_S$ac_delim
21252 ECHO!$ECHO$ac_delim
21254 RANLIB!$RANLIB$ac_delim
21257 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
21259 elif $ac_last_try; then
21260 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21261 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21262 { (exit 1); exit 1; }; }
21264 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21268 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21269 if test -n "$ac_eof"; then
21270 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21271 ac_eof
=`expr $ac_eof + 1`
21274 cat >>$CONFIG_STATUS <<_ACEOF
21275 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21276 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21279 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21280 s/^/s,@/; s/!/@,|#_!!_#|/
21283 s/'"$ac_delim"'$/,g/; t
21285 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21286 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21287 rm -f conf$
$subs.
sed
21288 cat >>$CONFIG_STATUS <<_ACEOF
21294 for ac_last_try
in false false false false false
:; do
21295 cat >conf$
$subs.
sed <<_ACEOF
21296 DSYMUTIL!$DSYMUTIL$ac_delim
21297 NMEDIT!$NMEDIT$ac_delim
21299 CXXCPP!$CXXCPP$ac_delim
21301 FFLAGS!$FFLAGS$ac_delim
21302 ac_ct_F77!$ac_ct_F77$ac_delim
21303 LIBTOOL!$LIBTOOL$ac_delim
21304 LIBOBJS!$LIBOBJS$ac_delim
21305 LTLIBOBJS!$LTLIBOBJS$ac_delim
21308 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then
21310 elif $ac_last_try; then
21311 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21312 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21313 { (exit 1); exit 1; }; }
21315 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21319 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21320 if test -n "$ac_eof"; then
21321 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21322 ac_eof
=`expr $ac_eof + 1`
21325 cat >>$CONFIG_STATUS <<_ACEOF
21326 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
21327 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
21330 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21331 s/^/s,@/; s/!/@,|#_!!_#|/
21334 s/'"$ac_delim"'$/,g/; t
21336 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21337 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21338 rm -f conf$
$subs.
sed
21339 cat >>$CONFIG_STATUS <<_ACEOF
21346 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21347 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21348 # trailing colons and then remove the whole line if VPATH becomes empty
21349 # (actually we leave an empty line to preserve line numbers).
21350 if test "x$srcdir" = x.
; then
21351 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
21352 s/:*\$(srcdir):*/:/
21353 s/:*\${srcdir}:*/:/
21355 s/^\([^=]*=[ ]*\):*/\1/
21361 cat >>$CONFIG_STATUS <<\_ACEOF
21362 fi # test -n "$CONFIG_FILES"
21365 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
21368 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21370 case $ac_mode$ac_tag in
21372 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
21373 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
21374 { (exit 1); exit 1; }; };;
21375 :[FH
]-) ac_tag
=-:-;;
21376 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21393 -) ac_f
="$tmp/stdin";;
21394 *) # Look for the file first in the build tree, then in the source tree
21395 # (if the path is not absolute). The absolute path cannot be DOS-style,
21396 # because $ac_f cannot contain `:'.
21400 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21402 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21403 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21404 { (exit 1); exit 1; }; };;
21406 ac_file_inputs
="$ac_file_inputs $ac_f"
21409 # Let's still pretend it is `configure' which instantiates (i.e., don't
21410 # use $as_me), people would be surprised to read:
21411 # /* config.h. Generated by config.status. */
21412 configure_input
="Generated from "`IFS=:
21413 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
21414 if test x
"$ac_file" != x-
; then
21415 configure_input
="$ac_file. $configure_input"
21416 { echo "$as_me:$LINENO: creating $ac_file" >&5
21417 echo "$as_me: creating $ac_file" >&6;}
21421 *:-:* |
*:-) cat >"$tmp/stdin";;
21426 ac_dir
=`$as_dirname -- "$ac_file" ||
21427 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21428 X"$ac_file" : 'X\(//\)[^/]' \| \
21429 X"$ac_file" : 'X\(//\)$' \| \
21430 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21432 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21436 /^X\(\/\/\)[^/].*/{
21451 -*) as_dir
=.
/$as_dir;;
21453 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21457 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21458 *) as_qdir
=$as_dir;;
21460 as_dirs
="'$as_qdir' $as_dirs"
21461 as_dir
=`$as_dirname -- "$as_dir" ||
21462 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21463 X"$as_dir" : 'X\(//\)[^/]' \| \
21464 X"$as_dir" : 'X\(//\)$' \| \
21465 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21467 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21471 /^X\(\/\/\)[^/].*/{
21484 test -d "$as_dir" && break
21486 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21487 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21488 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21489 { (exit 1); exit 1; }; }; }
21493 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21495 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21496 # A ".." for each directory in $ac_dir_suffix.
21497 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
21498 case $ac_top_builddir_sub in
21499 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21500 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21503 ac_abs_top_builddir
=$ac_pwd
21504 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21505 # for backward compatibility:
21506 ac_top_builddir
=$ac_top_build_prefix
21509 .
) # We are building in place.
21511 ac_top_srcdir
=$ac_top_builddir_sub
21512 ac_abs_top_srcdir
=$ac_pwd ;;
21513 [\\/]* | ?
:[\\/]* ) # Absolute name.
21514 ac_srcdir
=$srcdir$ac_dir_suffix;
21515 ac_top_srcdir
=$srcdir
21516 ac_abs_top_srcdir
=$srcdir ;;
21517 *) # Relative name.
21518 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21519 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21520 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21522 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21532 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21533 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21535 ac_MKDIR_P
=$MKDIR_P
21537 [\\/$
]* | ?
:[\\/]* ) ;;
21538 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21542 cat >>$CONFIG_STATUS <<\_ACEOF
21543 # If the template does not know about datarootdir, expand it.
21544 # FIXME: This hack should be removed a few years after 2.60.
21545 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21547 case `sed -n '/datarootdir/ {
21556 ' $ac_file_inputs` in
21557 *datarootdir
*) ac_datarootdir_seen
=yes;;
21558 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21559 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21560 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21562 cat >>$CONFIG_STATUS <<_ACEOF
21563 ac_datarootdir_hack='
21564 s&@datadir@&$datadir&g
21565 s&@docdir@&$docdir&g
21566 s&@infodir@&$infodir&g
21567 s&@localedir@&$localedir&g
21568 s&@mandir@&$mandir&g
21569 s&\\\${datarootdir}&$datarootdir&g' ;;
21573 # Neutralize VPATH when `$srcdir' = `.'.
21574 # Shell code in configure.ac might set extrasub.
21575 # FIXME: do we really want to maintain this feature?
21576 cat >>$CONFIG_STATUS <<_ACEOF
21580 cat >>$CONFIG_STATUS <<\_ACEOF
21582 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21583 s
&@configure_input@
&$configure_input&;t t
21584 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21585 s
&@srcdir@
&$ac_srcdir&;t t
21586 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21587 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21588 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21589 s
&@builddir@
&$ac_builddir&;t t
21590 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21591 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21592 s
&@INSTALL@
&$ac_INSTALL&;t t
21593 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21594 $ac_datarootdir_hack
21595 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
21597 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21598 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
21599 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
21600 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21601 which seems to be undefined. Please make sure it is defined." >&5
21602 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21603 which seems to be undefined. Please make sure it is defined." >&2;}
21607 -) cat "$tmp/out"; rm -f "$tmp/out";;
21608 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
21617 # Transform confdefs.h into a sed script `conftest.defines', that
21618 # substitutes the proper values into config.h.in to produce config.h.
21619 rm -f conftest.defines conftest.
tail
21620 # First, append a space to every undef/define line, to ease matching.
21621 echo 's/$/ /' >conftest.defines
21622 # Then, protect against being on the right side of a sed subst, or in
21623 # an unquoted here document, in config.status. If some macros were
21624 # called several times there might be several #defines for the same
21625 # symbol, which is useless. But do not sort them, since the last
21626 # AC_DEFINE must be honored.
21627 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
21628 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
21629 # NAME is the cpp macro being defined, VALUE is the value it is being given.
21630 # PARAMS is the parameter list in the macro definition--in most cases, it's
21631 # just an empty string.
21632 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
21633 ac_dB
='\\)[ (].*,\\1define\\2'
21641 s/^[ ]*#[ ]*define[ ][ ]*//
21646 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
21647 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
21648 ' >>conftest.defines
21650 # Remove the space that was appended to ease matching.
21651 # Then replace #undef with comments. This is necessary, for
21652 # example, in the case of _POSIX_SOURCE, which is predefined and required
21653 # on some systems where configure will not decide to define it.
21654 # (The regexp can be short, since the line contains either #define or #undef.)
21656 s,^[ #]*u.*,/* & */,' >>conftest.defines
21658 # Break up conftest.defines:
21659 ac_max_sed_lines
=50
21661 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
21662 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
21663 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
21665 ac_in
='$ac_file_inputs'
21666 ac_out
='"$tmp/out1"'
21667 ac_nxt
='"$tmp/out2"'
21671 # Write a here document:
21672 cat >>$CONFIG_STATUS <<_ACEOF
21673 # First, check the format of the line:
21674 cat >"\$tmp/defines.sed" <<\\CEOF
21675 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
21676 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
21680 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
21682 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
21683 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
21684 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
21685 grep . conftest.
tail >/dev
/null ||
break
21686 rm -f conftest.defines
21687 mv conftest.
tail conftest.defines
21689 rm -f conftest.defines conftest.
tail
21691 echo "ac_result=$ac_in" >>$CONFIG_STATUS
21692 cat >>$CONFIG_STATUS <<\_ACEOF
21693 if test x
"$ac_file" != x-
; then
21694 echo "/* $configure_input */" >"$tmp/config.h"
21695 cat "$ac_result" >>"$tmp/config.h"
21696 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
21697 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21698 echo "$as_me: $ac_file is unchanged" >&6;}
21701 mv "$tmp/config.h" $ac_file
21704 echo "/* $configure_input */"
21708 # Compute $ac_file's index in $config_headers.
21711 for _am_header
in $config_headers :; do
21712 case $_am_header in
21713 $_am_arg |
$_am_arg:* )
21716 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21719 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21720 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21721 X"$_am_arg" : 'X\(//\)[^/]' \| \
21722 X"$_am_arg" : 'X\(//\)$' \| \
21723 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21725 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21729 /^X\(\/\/\)[^/].*/{
21741 s/.*/./; q'`/stamp-h
$_am_stamp_count
21744 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
21745 echo "$as_me: executing $ac_file commands" >&6;}
21750 case $ac_file$ac_mode in
21751 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
21752 # Strip MF so we end up with the name of the file.
21753 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21754 # Check whether this is an Automake generated Makefile or not.
21755 # We used to match only the files named `Makefile.in', but
21756 # some people rename them; so instead we look at the file content.
21757 # Grep'ing the first line is not enough: some people post-process
21758 # each Makefile.in and add a new line on top of each file to say so.
21759 # Grep'ing the whole file is not good either: AIX grep has a line
21760 # limit of 2048, but all sed's we know have understand at least 4000.
21761 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
21762 dirpart
=`$as_dirname -- "$mf" ||
21763 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21764 X"$mf" : 'X\(//\)[^/]' \| \
21765 X"$mf" : 'X\(//\)$' \| \
21766 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21768 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21772 /^X\(\/\/\)[^/].*/{
21788 # Extract the definition of DEPDIR, am__include, and am__quote
21789 # from the Makefile without running `make'.
21790 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21791 test -z "$DEPDIR" && continue
21792 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21793 test -z "am__include" && continue
21794 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21795 # When using ansi2knr, U may be empty or an underscore; expand it
21796 U
=`sed -n 's/^U = //p' < "$mf"`
21797 # Find all dependency output files, they are included files with
21798 # $(DEPDIR) in their names. We invoke sed twice because it is the
21799 # simplest approach to changing $(DEPDIR) to its actual value in the
21801 for file in `sed -n "
21802 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21803 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21804 # Make sure the directory exists.
21805 test -f "$dirpart/$file" && continue
21806 fdir
=`$as_dirname -- "$file" ||
21807 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21808 X"$file" : 'X\(//\)[^/]' \| \
21809 X"$file" : 'X\(//\)$' \| \
21810 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21812 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21816 /^X\(\/\/\)[^/].*/{
21829 { as_dir
=$dirpart/$fdir
21831 -*) as_dir
=.
/$as_dir;;
21833 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21837 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21838 *) as_qdir
=$as_dir;;
21840 as_dirs
="'$as_qdir' $as_dirs"
21841 as_dir
=`$as_dirname -- "$as_dir" ||
21842 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21843 X"$as_dir" : 'X\(//\)[^/]' \| \
21844 X"$as_dir" : 'X\(//\)$' \| \
21845 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21847 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21851 /^X\(\/\/\)[^/].*/{
21864 test -d "$as_dir" && break
21866 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21867 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21868 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21869 { (exit 1); exit 1; }; }; }
21870 # echo "creating $dirpart/$file"
21871 echo '# dummy' > "$dirpart/$file"
21880 { (exit 0); exit 0; }
21882 chmod +x
$CONFIG_STATUS
21883 ac_clean_files
=$ac_clean_files_save
21886 # configure is writing to config.log, and then calls config.status.
21887 # config.status does its own redirection, appending to config.log.
21888 # Unfortunately, on DOS this fails, as config.log is still kept open
21889 # by configure, so config.status won't be able to write to it; its
21890 # output is simply discarded. So we exec the FD to /dev/null,
21891 # effectively closing config.log, so it can be properly (re)opened and
21892 # appended to by config.status. When coming back to configure, we
21893 # need to make the FD available again.
21894 if test "$no_create" != yes; then
21896 ac_config_status_args
=
21897 test "$silent" = yes &&
21898 ac_config_status_args
="$ac_config_status_args --quiet"
21900 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21902 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21903 # would make configure fail if this is the last instruction.
21904 $ac_cs_success ||
{ (exit 1); exit 1; }